Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest 4.9.y stable patches (4.9.43) #11

Closed
wants to merge 1,591 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1591 commits
Select commit Hold shift + click to select a range
5b50e0e
Input: i8042 - fix crash at boot time
kedi1982 Jul 2, 2017
5c2717f
IB/iser: Fix connection teardown race condition
VladimirNey May 21, 2017
dd0d650
IB/core: Namespace is mandatory input for address resolution
monis410 May 23, 2017
4dd0aa9
sunrpc: use constant time memory comparison for mac
zx2c4 Jun 10, 2017
9ebfb4f
NFS: only invalidate dentrys that are clearly invalid.
Jul 5, 2017
fa67ac1
udf: Fix deadlock between writeback and udf_setsize()
jankara Jun 13, 2017
672145d
target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce
jiangyilism Jun 25, 2017
d5f9cd0
iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_…
Jun 30, 2017
6141541
perf annotate: Fix broken arrow at row 0 connecting jmp instruction t…
Jun 8, 2017
a76a032
Revert "perf/core: Drop kernel samples even though :u is specified"
Jul 11, 2017
964a21a
staging: rtl8188eu: add TL-WN722N v2 support
Jul 17, 2017
2bc5240
staging: comedi: ni_mio_common: fix AO timer off-by-one regression
ian-abbott Jun 30, 2017
85643f6
staging: sm750fb: avoid conflicting vesafb
teddywlq Jun 30, 2017
d42f9c7
staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code
arndb Jul 15, 2017
acccf01
ceph: fix race in concurrent readdir
ukernel Jul 6, 2017
db29753
RDMA/core: Initialize port_num in qp_attr
mustafakismail Jul 14, 2017
bc3bd64
drm/mst: Fix error handling during MST sideband message reception
ideak Jul 19, 2017
48376e6
drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
ideak Jul 19, 2017
a440425
drm/mst: Avoid processing partially received up/down message transact…
ideak Jul 19, 2017
b33da55
mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array
Apr 24, 2017
5cf8443
hfsplus: Don't clear SGID when inheriting ACLs
jankara Jun 21, 2017
97de6f3
ovl: fix random return value on mount
amir73il Jul 11, 2017
6b50bca
acpi/nfit: Fix memory corruption/Unregister mce decoder on failure
prarit May 31, 2017
a18935b
of: device: Export of_device_{get_modalias, uvent_modalias} to modules
bebarino Dec 28, 2016
1c7e5ca
spmi: Include OF based modalias in device uevent
andersson Jun 29, 2017
69fbb44
reiserfs: Don't clear SGID when inheriting ACLs
jankara Jun 22, 2017
7bd804a
PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succe…
sudeep-holla Jul 14, 2017
919e481
tracing: Fix kmemleak in instance_rmdir
Chunyu-Hu Jul 20, 2017
91af5f0
alarmtimer: don't rate limit one-shot timers
greghackmann Jul 24, 2017
efcfbfb
Linux 4.9.40
gregkh Jul 27, 2017
0f94b36
af_key: Add lock to key dump
syjcnss Mar 31, 2017
d97aff4
pstore: Make spinlock per zone instead of global
Oct 20, 2016
26d01aa
net: reduce skb_warn_bad_offload() noise
Jan 31, 2017
3a79e1c
jfs: Don't clear SGID when inheriting ACLs
jankara Jun 22, 2017
3d95509
ALSA: fm801: Initialize chip after IRQ handler is registered
andy-shev Jul 16, 2017
5f8bdd5
ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table
dadap Jul 14, 2017
afe9fc0
parisc: Prevent TLB speculation on flushed pages on CPUs that only su…
danglin44 Jul 25, 2017
f0d23fa
parisc: Extend disabled preemption in copy_user_page
danglin44 Jul 25, 2017
fa2aa76
parisc: Suspend lockup detectors before system halt
hdeller Jul 25, 2017
6d3d93c
powerpc/pseries: Fix of_node_put() underflow during reconfig remove
vivier Jul 21, 2017
b087b8b
NFS: invalidate file size when taking a lock.
Jul 24, 2017
7d2a354
NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter
Jul 28, 2017
9eb088e
crypto: authencesn - Fix digest_null crash
herbertx Jul 17, 2017
d745f0f
KVM: PPC: Book3S HV: Enable TM before accessing TM registers
paulusmack Jul 21, 2017
fabc7df
md/raid5: add thread_group worker async_tx_issue_pending_all
oferhz Jul 24, 2017
e417798
drm/vmwgfx: Fix gcc-7.1.1 warning
Jul 18, 2017
34da5f7
drm/nouveau/disp/nv50-: bump max chans to 21
imirkin Jun 28, 2017
ae8faca
drm/nouveau/bar/gf100: fix access to upper half of BAR2
Jul 25, 2017
e5cd34d
KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit
paulusmack Jun 15, 2017
c39c3ae
KVM: PPC: Book3S HV: Save/restore host values of debug registers
paulusmack Jun 16, 2017
0f31691
Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"
gregkh Aug 3, 2017
9bf0d78
Staging: comedi: comedi_fops: Avoid orphaned proc entry
Dec 30, 2016
755f655
drm: rcar-du: Simplify and fix probe error handling
Oct 18, 2016
7b4e4b1
smp/hotplug: Move unparking of percpu threads to the control CPU
KAGA-KOKO Jul 4, 2017
6b3d13f
smp/hotplug: Replace BUG_ON and react useful
KAGA-KOKO Jul 11, 2017
35bdf9a
nfc: Fix hangup of RC-S380* in port100_send_ack()
OGAWAHirofumi Feb 4, 2017
57154f0
nfc: fdp: fix NULL pointer dereference
sudipm-mukherjee Dec 20, 2016
6c78197
net: phy: Do not perform software reset for Generic PHY
ffainelli Mar 5, 2017
b756862
isdn: Fix a sleep-in-atomic bug
XidianGeneral May 31, 2017
7b3a667
isdn/i4l: fix buffer overflow
anniecherk Jul 15, 2017
59153e6
ath10k: fix null deref on wmi-tlv when trying spectral scan
Nov 14, 2016
2f16bcd
wil6210: fix deadlock when using fw_no_recovery option
Nov 23, 2016
a23fba8
mailbox: always wait in mbox_send_message for blocking Tx mode
sudeep-holla Mar 21, 2017
abe9090
mailbox: skip complete wait event if timer expired
sudeep-holla Mar 21, 2017
016a638
mailbox: handle empty message in tx_tick
sudeep-holla Mar 21, 2017
62b5776
sched/cgroup: Move sched_online_group() back into css_online() to fix…
koct9i Feb 8, 2017
1965536
RDMA/uverbs: Fix the check for port number
mustafakismail Jul 14, 2017
d933777
ipmi/watchdog: fix watchdog timeout set on reboot
May 5, 2017
ad25f11
dentry name snapshots
Jul 7, 2017
5463a3d
v4l: s5c73m3: fix negation operator
Jan 5, 2017
4693080
pstore: Allow prz to control need for locking
Oct 20, 2016
a084027
pstore: Correctly initialize spinlock and flags
kees Feb 9, 2017
e10f7bd
pstore: Use dynamic spinlock initializer
kees Mar 6, 2017
48a70be
net: skb_needs_check() accepts CHECKSUM_NONE for tx
Feb 3, 2017
a3ff460
device-dax: fix sysfs duplicate warnings
djbw Jul 19, 2017
34fae9c
x86/mce/AMD: Make the init code more robust
KAGA-KOKO Dec 26, 2016
82338e9
r8169: add support for RTL8168 series add-on card.
Dec 27, 2016
0686a9b
ARM: omap2+: fixing wrong strcat for Non-NULL terminated string
maninder42 Dec 8, 2016
b116469
dt-bindings: power/supply: Update TPS65217 properties
woogyom Dec 9, 2016
2bc4d1c
dt-bindings: input: Specify the interrupt number of TPS65217 power bu…
woogyom Dec 9, 2016
0ce84ef
ARM: dts: am57xx-idk: Put USB2 port in peripheral mode
Dec 12, 2016
a0a4dd4
ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
pali Dec 14, 2016
ea703cb
net/mlx5: Disable RoCE on the e-switch management port under switchde…
ogerlitz Dec 28, 2016
aeb2303
ipv6: Should use consistent conditional judgement for ip6 fragment be…
Dec 28, 2016
a882067
net/mlx4_core: Use-after-free causes a resource leak in flow-steering…
Dec 29, 2016
7e150f7
net/mlx4: Remove BUG_ON from ICM allocation routine
Dec 29, 2016
237652f
net/mlx4_core: Fix raw qp flow steering rules under SRIOV
Dec 29, 2016
e0d5bb9
drm/msm: Ensure that the hardware write pointer is valid
Dec 20, 2016
50e3950
drm/msm: Put back the vaddr in submit_reloc()
Dec 20, 2016
7d33b41
drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set
Dec 20, 2016
c7d0c0d
vfio-pci: use 32-bit comparisons for register address for gcc-4.5
arndb Dec 30, 2016
ca40b2d
irqchip/keystone: Fix "scheduling while atomic" on rt
grygoriyS Dec 8, 2016
ed788dc
ASoC: tlv320aic3x: Mark the RESET register as volatile
Dec 23, 2016
14e5c8c
spi: dw: Make debugfs name unique between instances
reid-p Dec 22, 2016
c612bba
ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL
John-Hsu Dec 20, 2016
033d5ce
irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
lategoodbye Dec 27, 2016
88a86f8
openrisc: Add _text symbol to fix ksym build error
stffrdhrn Dec 14, 2016
2987ce1
dmaengine: ioatdma: Add Skylake PCI Dev ID
davejiang Dec 13, 2016
c2804b2
dmaengine: ioatdma: workaround SKX ioatdma version
davejiang Dec 13, 2016
000224c
l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
Dec 30, 2016
29e0adf
dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.
tititiou36 Dec 19, 2016
8af0937
usb: dwc3: omap: fix race of pm runtime with irq handler in probe
grygoriyS Dec 12, 2016
e360353
ARM64: zynqmp: Fix W=1 dtc 1.4 warnings
Nov 15, 2016
3209f3f
ARM64: zynqmp: Fix i2c node's compatible string
mfischer Dec 22, 2016
69f3df1
perf probe: Fix to get correct modname from elf header
mhiramat Jan 2, 2017
ebd4642
ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*
krzk Dec 29, 2016
a15a3d9
ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
rafaeljw Dec 30, 2016
92d6a81
usb: gadget: Fix copy/pasted error message
dlech Jan 2, 2017
78418b8
Btrfs: use down_read_nested to make lockdep silent
Dec 1, 2016
6731212
Btrfs: fix lockdep warning about log_mutex
Dec 1, 2016
49fc90b
benet: stricter vxlan offloading check in be_features_check
qsn Jan 3, 2017
f76ddff
Btrfs: adjust outstanding_extents counter properly when dio write is …
Dec 23, 2016
704a6d7
Xen: ARM: Zero reserved fields of xatp before making hypervisor call
Dec 28, 2016
ab5e7df
tools lib traceevent: Fix prev/next_prio for deadline tasks
Jan 3, 2017
0b86564
xfrm: Don't use sk_family for socket policy lookups
klassert Feb 14, 2017
d8086c3
perf tools: Install tools/lib/traceevent plugins with install-bin
acmel Jan 3, 2017
ddc0ec3
perf symbols: Robustify reading of build-id from sysfs
acmel Jan 3, 2017
a417ea5
video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
ArvindYadavCs Dec 13, 2016
812a7df
vfio-pci: Handle error from pci_iomap
ArvindYadavCs Jan 3, 2017
e95ec35
arm64: mm: fix show_pte KERN_CONT fallout
Jan 3, 2017
a752672
nvmem: imx-ocotp: Fix wrong register size
dnltz Jan 4, 2017
2548d89
net: usb: asix_devices: add .reset_resume for USB PM
Jan 3, 2017
2909c9c
ASoC: fsl_ssi: set fifo watermark to more reliable value
ccrome Jan 3, 2017
f10e206
sh_eth: enable RX descriptor word 0 shift on SH7734
Jan 4, 2017
301681d
ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP
kolerov Dec 28, 2016
12dac5f
ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
10ne1 Jan 4, 2017
efa2252
x86/platform/intel-mid: Rename 'spidev' to 'mrfld_spidev'
andy-shev Jan 2, 2017
b899142
perf/x86: Set pmu->module in Intel PMU modules
Dec 23, 2016
3f0dfa1
ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
plbossart Jan 4, 2017
3b6f4e2
HID: ignore Petzl USB headlamp
Jan 5, 2017
2803ea7
scsi: fnic: Avoid sending reset to firmware when another reset is in …
Dec 14, 2016
5f70407
scsi: snic: Return error code on memory allocation failure
Dec 21, 2016
23ab274
scsi: bfa: Increase requested firmware version to 3.2.5.1
gobenji Dec 24, 2016
27ef028
ASoC: Intel: Skylake: Release FW ctx in cleanup
kpjeeja Jan 2, 2017
007dffc
ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused
Jan 1, 2017
db397d9
Linux 4.9.41
gregkh Aug 7, 2017
5d23e4f
parisc: Handle vma's whose context is not current in flush_cache_range
danglin44 Jul 30, 2017
4a99eac
cgroup: create dfl_root files on subsys registration
htejun Jul 18, 2017
445ee6c
cgroup: fix error return value from cgroup_subtree_control()
htejun Jul 23, 2017
804b1a9
libata: array underflow in ata_find_dev()
Jul 19, 2017
61a0adb
workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
htejun Jul 18, 2017
de8c332
iwlwifi: dvm: prevent an out of bounds access
egrumbach Jun 8, 2017
f5214eb
brcmfmac: fix memleak due to calling brcmf_sdiod_sgtable_alloc() twice
Jul 26, 2017
f7d3e54
NFSv4: Fix EXCHANGE_ID corrupt verifier issue
trondmypd Aug 1, 2017
347be00
mmc: sdhci-of-at91: force card detect value for non removable devices
ldesroches Jul 26, 2017
1f32e67
device property: Make dev_fwnode() public
Mar 28, 2017
943281e
mmc: core: Fix access to HS400-ES devices
groeck Mar 1, 2017
5a1eef7
mm, mprotect: flush TLB if potentially racing with a parallel reclaim…
Aug 2, 2017
45a636e
cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()
dimaz-waymo Aug 2, 2017
c531a24
ALSA: hda - Fix speaker output from VAIO VPCL14M1R
STrusov Aug 2, 2017
69f15ff
drm/amdgpu: Fix undue fallthroughs in golden registers initialization
jdelvare Jul 30, 2017
650c763
ASoC: do not close shared backend dailink
Jul 15, 2017
0c609d3
KVM: async_pf: make rcu irq exit if not triggered from idle task
Wanpeng-Li Aug 1, 2017
7b95b74
mm/page_alloc: Remove kernel address exposure in free_reserved_area()
jpoimboe Oct 25, 2016
9ef8b23
timers: Fix overflow in get_next_timer_interrupt
matijaGP Aug 1, 2017
8164692
powerpc/tm: Fix saving of TM SPRs in core dump
Jul 19, 2017
03ebdd1
powerpc/64: Fix __check_irq_replay missing decrementer interrupt
npiggin Aug 1, 2017
be5c6ef
iommu/amd: Enable ga_log_intr when enabling guest_mode
ssuthiku-amd Jul 6, 2017
b680e22
gpiolib: skip unwanted events, don't convert them to opposite edge
brgl Jul 3, 2017
0814c3a
ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
jankara Aug 5, 2017
12353a0
ext4: fix overflow caused by missing cast in ext4_resize_fs()
Aug 6, 2017
ff603e0
ARM: dts: armada-38x: Fix irq type for pca955
gclement Jul 12, 2017
4f35448
ARM: dts: tango4: Request RGMII RX and TX clock delays
Jul 28, 2017
733d7ab
media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARA…
prabhakarlad Jul 20, 2017
bdabf09
iscsi-target: Fix initial login PDU asynchronous socket close OOPs
May 25, 2017
baf4ad0
mmc: dw_mmc: Use device_property_read instead of of_property_read
dwoods2 May 26, 2017
e92add2
mmc: core: Use device_property_read instead of of_property_read
dwoods2 May 26, 2017
c14e327
media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
seanyoung Jul 7, 2017
0f442c5
f2fs: sanity check checkpoint segno and blkoff
May 15, 2017
3a63729
Btrfs: fix early ENOSPC due to delalloc
osandov Jul 20, 2017
12d17d7
saa7164: fix double fetch PCIe access condition
stoth68000 Jun 6, 2017
73520d3
tcp_bbr: cut pacing rate only if filled pipe
nealcardwell Jul 14, 2017
ec78968
tcp_bbr: introduce bbr_bw_to_pacing_rate() helper
nealcardwell Jul 14, 2017
0c0ede3
tcp_bbr: introduce bbr_init_pacing_rate_from_rtt() helper
nealcardwell Jul 14, 2017
2e6b237
tcp_bbr: remove sk_pacing_rate=0 transient during init
nealcardwell Jul 14, 2017
0cd73c4
tcp_bbr: init pacing rate on first RTT sample
nealcardwell Jul 14, 2017
a62bc8d
ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
ramosian-glider Jul 17, 2017
0b83249
net: Zero terminate ifr_name in dev_ifname().
davem330 Jul 19, 2017
4a2ffe1
ipv6: avoid overflow of offset in ip6_find_1stfragopt
qsn Jul 19, 2017
5a2d511
net: dsa: b53: Add missing ARL entries for BCM53125
ffainelli Jul 20, 2017
0c47f11
ipv4: initialize fib_trie prior to register_netdev_notifier call.
Jul 19, 2017
cda2bc9
rtnetlink: allocate more memory for dev_set_mac_address()
congwang Jul 20, 2017
59e76ed
mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
thomasjfox Jul 22, 2017
d53ff38
openvswitch: fix potential out of bound access in parse_ct
Jul 23, 2017
47f3bf6
packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
congwang Jul 24, 2017
23a91c8
ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
sbrivio-rh Jul 24, 2017
c0c8688
net: ethernet: nb8800: Handle all 4 RGMII modes identically
Jul 25, 2017
9ffa672
dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
lxin Jul 26, 2017
4d938b6
dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
lxin Jul 26, 2017
bb21d2e
dccp: fix a memleak for dccp_feat_init err process
lxin Jul 26, 2017
cc6f148
sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
ramosian-glider Jul 14, 2017
df32d08
sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
lxin Jul 26, 2017
fca84d6
net/mlx5: Consider tx_enabled in all modes on remap
Jul 2, 2017
d19d0ac
net/mlx5: Fix command bad flow on command entry allocation failure
Jun 25, 2017
d704979
net/mlx5e: Fix outer_header_zero() check size
ilantayari Jul 5, 2017
862ade9
net/mlx5e: Fix wrong delay calculation for overflow check scheduling
Jul 12, 2017
33e25b2
net/mlx5e: Schedule overflow check work to mlx5e workqueue
Jul 12, 2017
38e71ea
net: phy: Correctly process PHY_HALTED in phy_stop_machine()
ffainelli Jul 28, 2017
816843a
xen-netback: correctly schedule rate-limited queues
Jun 21, 2017
bfafa56
sparc64: Measure receiver forward progress to avoid send mondo timeout
jchu314atgithub Jul 11, 2017
b9d68cd
sparc64: Fix exception handling in UltraSPARC-III memcpy.
davem330 Aug 4, 2017
b871452
wext: handle NULL extra data in iwe_stream_add_point better
arndb Jan 11, 2017
2d4fef7
sh_eth: fix EESIPR values for SH77{34|63}
Jan 4, 2017
bfe384e
sh_eth: R8A7740 supports packet shecksumming
Jan 4, 2017
5f7eeee
net: phy: dp83867: fix irq generation
grygoriyS Jan 5, 2017
1042bd4
tg3: Fix race condition in tg3_get_stats64().
Jan 6, 2017
f897e9a
x86/boot: Add missing declaration of string functions
Jan 7, 2017
c77512d
spi: spi-axi: Free resources on error path
tititiou36 Jan 9, 2017
2e2a390
ASoC: rt5645: set sel_i2s_pre_div1 to 2
Dec 27, 2016
9acfb31
netfilter: use fwmark_reflect in nf_send_reset
pespin Jan 6, 2017
0bbbbae
phy state machine: failsafe leave invalid RUNNING state
zefir-kurtisi Jan 6, 2017
ee96797
ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int
Snorch Jan 9, 2017
99eb27d
clk/samsung: exynos542x: mark some clocks as critical
mszyprow Dec 22, 2016
2a60965
scsi: qla2xxx: Get mutex lock before checking optrom_state
mpg-rh Dec 24, 2016
61cf0af
drm/virtio: fix framebuffer sparse warning
kraxel Nov 28, 2016
1e9e717
ARM: dts: sun8i: Support DTB build for NanoPi M1
woogyom Dec 12, 2016
984922f
ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc
evadot Dec 14, 2016
44d5283
iw_cxgb4: do not send RX_DATA_ACK CPLs after close/abort
Dec 22, 2016
952d07a
nbd: blk_mq_init_queue returns an error code on failure, not NULL
JeffMoyer Jan 9, 2017
e6d53f5
virtio_blk: fix panic in initialization error path
osandov Jan 9, 2017
bebbe84
ARM: 8632/1: ftrace: fix syscall name matching
vwax Nov 23, 2016
c736011
mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
Jan 11, 2017
d12824c
lib/Kconfig.debug: fix frv build failure
sudipm-mukherjee Jan 11, 2017
916a05b
signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
jamieiles Jan 11, 2017
22cccef
mm: don't dereference struct page fields of invalid pages
Jan 11, 2017
a69f0d5
net/mlx5: E-Switch, Re-enable RoCE on mode change only after FDB destroy
ogerlitz Jan 15, 2017
f102bb7
ipv4: Should use consistent conditional judgement for ip fragment in …
Dec 12, 2016
ef09c9f
net: account for current skb length when deciding about UFO
mkubecek Jun 19, 2017
c3c9471
net: phy: Fix PHY unbind crash
ffainelli Feb 18, 2017
f9636c9
workqueue: implicit ordered attribute should be overridable
htejun Jul 23, 2017
4c666b0
Linux 4.9.42
gregkh Aug 11, 2017
3b25bfc
ppp: Fix false xmit recursion detect with two ppp devices
gfreewind Jul 17, 2017
6ec6ec3
ppp: fix xmit recursion detection on ppp channels
Aug 8, 2017
3914a7e
tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
yuchungcheng Aug 1, 2017
05046af
net: fix keepalive code vs TCP_FASTOPEN_CONNECT
Aug 3, 2017
1b582a2
bpf, s390: fix jit branch offset related to ldimm64
borkmann Aug 4, 2017
35d9014
net/mlx4_en: don't set CHECKSUM_COMPLETE on SCTP packets
dcaratti Aug 3, 2017
e392e30
net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
lxin Aug 9, 2017
87fdcfe
tcp: fastopen: tcp_connect() must refresh the route
Aug 8, 2017
69ffc96
net: avoid skb_warn_bad_offload false positives on UFO
wdebruij Aug 8, 2017
f628c9d
igmp: Fix regression caused by igmp sysctl namespace code.
lorddoskias Aug 9, 2017
e584135
packet: fix tp_reserve race in packet_set_ring
wdebruij Aug 10, 2017
53eed8a
revert "net: account for current skb length when deciding about UFO"
gregkh Aug 11, 2017
4688f04
revert "ipv4: Should use consistent conditional judgement for ip frag…
gregkh Aug 11, 2017
33dc6a6
udp: consistently apply ufo or fragmentation
wdebruij Aug 10, 2017
6309eb7
sparc64: Prevent perf from running during super critical sections
Jul 17, 2017
3f0075c
KVM: arm/arm64: Handle hva aging while destroying the vm
Jul 5, 2017
1166e3e
Revert "ARM: dts: sun8i: Support DTB build for NanoPi M1"
gregkh Aug 12, 2017
6da35f4
Linux 4.9.43
gregkh Aug 13, 2017
dcccd72
Merge tag 'v4.9.43' into 4.9.x+fslc
gibsson Aug 14, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 47 additions & 15 deletions Documentation/arm64/tagged-pointers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,56 @@ in AArch64 Linux.
The kernel configures the translation tables so that translations made
via TTBR0 (i.e. userspace mappings) have the top byte (bits 63:56) of
the virtual address ignored by the translation hardware. This frees up
this byte for application use, with the following caveats:
this byte for application use.

(1) The kernel requires that all user addresses passed to EL1
are tagged with tag 0x00. This means that any syscall
parameters containing user virtual addresses *must* have
their top byte cleared before trapping to the kernel.

(2) Non-zero tags are not preserved when delivering signals.
This means that signal handlers in applications making use
of tags cannot rely on the tag information for user virtual
addresses being maintained for fields inside siginfo_t.
One exception to this rule is for signals raised in response
to watchpoint debug exceptions, where the tag information
will be preserved.
Passing tagged addresses to the kernel
--------------------------------------

(3) Special care should be taken when using tagged pointers,
since it is likely that C compilers will not hazard two
virtual addresses differing only in the upper byte.
All interpretation of userspace memory addresses by the kernel assumes
an address tag of 0x00.

This includes, but is not limited to, addresses found in:

- pointer arguments to system calls, including pointers in structures
passed to system calls,

- the stack pointer (sp), e.g. when interpreting it to deliver a
signal,

- the frame pointer (x29) and frame records, e.g. when interpreting
them to generate a backtrace or call graph.

Using non-zero address tags in any of these locations may result in an
error code being returned, a (fatal) signal being raised, or other modes
of failure.

For these reasons, passing non-zero address tags to the kernel via
system calls is forbidden, and using a non-zero address tag for sp is
strongly discouraged.

Programs maintaining a frame pointer and frame records that use non-zero
address tags may suffer impaired or inaccurate debug and profiling
visibility.


Preserving tags
---------------

Non-zero tags are not preserved when delivering signals. This means that
signal handlers in applications making use of tags cannot rely on the
tag information for user virtual addresses being maintained for fields
inside siginfo_t. One exception to this rule is for signals raised in
response to watchpoint debug exceptions, where the tag information will
be preserved.

The architecture prevents the use of a tagged PC, so the upper byte will
be set to a sign-extension of bit 55 on exception return.


Other considerations
--------------------

Special care should be taken when using tagged pointers, since it is
likely that C compilers will not hazard two virtual addresses differing
only in the upper byte.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ This driver provides a simple power button event via an Interrupt.
Required properties:
- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"

Required properties for TPS65218:
Required properties:
- interrupts: should be one of the following
- <2>: For controllers compatible with tps65217
- <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218

Examples:

&tps {
tps65217-pwrbutton {
compatible = "ti,tps65217-pwrbutton";
interrupts = <2>;
};
};

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/net/mediatek-net.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ have dual GMAC each represented by a child node..
* Ethernet controller node

Required properties:
- compatible: Should be "mediatek,mt7623-eth"
- compatible: Should be "mediatek,mt2701-eth"
- reg: Address and length of the register set for the device
- interrupts: Should contain the three frame engines interrupts in numeric
order. These are fe_int0, fe_int1 and fe_int2.
Expand Down
9 changes: 9 additions & 0 deletions Documentation/devicetree/bindings/net/phy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ Optional Properties:
- broken-turn-around: If set, indicates the PHY device does not correctly
release the turn around line low at the end of a MDIO transaction.

- eee-broken-100tx:
- eee-broken-1000t:
- eee-broken-10gt:
- eee-broken-1000kx:
- eee-broken-10gkx4:
- eee-broken-10gkr:
Mark the corresponding energy efficient ethernet mode as broken and
request the ethernet to stop advertising it.

Example:

ethernet-phy@0 {
Expand Down
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/net/ti,dp83867.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
Required properties:
- reg - The ID number for the phy, usually a small integer
- ti,rx-internal-delay - RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values
for applicable values. Required only if interface type is
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID
- ti,tx-internal-delay - RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values
for applicable values. Required only if interface type is
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_TXID
- ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h
for applicable values

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ TPS65217 Charger

Required Properties:
-compatible: "ti,tps65217-charger"
-interrupts: TPS65217 interrupt numbers for the AC and USB charger input change.
Should be <0> for the USB charger and <1> for the AC adapter.
-interrupt-names: Should be "USB" and "AC"

This node is a subnode of the tps65217 PMIC.

Example:

tps65217-charger {
compatible = "ti,tps65090-charger";
compatible = "ti,tps65217-charger";
interrupts = <0>, <1>;
interrupt-names = "USB", "AC";
};
7 changes: 7 additions & 0 deletions Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3932,6 +3932,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
spia_pedr=
spia_peddr=

stack_guard_gap= [MM]
override the default stack gap protection. The value
is in page units and it defines how many pages prior
to (for stacks growing down) resp. after (for stacks
growing up) the main stack are reserved for no other
mapping. Default value is 256 pages.

stacktrace [FTRACE]
Enabled the stack tracer on boot up.

Expand Down
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 23
SUBLEVEL = 43
EXTRAVERSION =
NAME = Roaring Lionus

Expand Down Expand Up @@ -629,6 +629,9 @@ include arch/$(SRCARCH)/Makefile

KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)

ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
KBUILD_CFLAGS += $(call cc-option,-ffunction-sections,)
Expand All @@ -651,6 +654,12 @@ KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \
# Tell gcc to never replace conditional load with a non-conditional one
KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)

# check for 'asm goto'
ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y)
KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO
KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO
endif

include scripts/Makefile.gcc-plugins

ifdef CONFIG_READABLE_ASM
Expand Down Expand Up @@ -796,12 +805,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)

# check for 'asm goto'
ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC)), y)
KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO
KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO
endif

include scripts/Makefile.kasan
include scripts/Makefile.extrawarn
include scripts/Makefile.ubsan
Expand Down
6 changes: 4 additions & 2 deletions arch/alpha/kernel/osf_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,10 @@ SYSCALL_DEFINE4(osf_wait4, pid_t, pid, int __user *, ustatus, int, options,
if (!access_ok(VERIFY_WRITE, ur, sizeof(*ur)))
return -EFAULT;

err = 0;
err |= put_user(status, ustatus);
err = put_user(status, ustatus);
if (ret < 0)
return err ? err : ret;

err |= __put_user(r.ru_utime.tv_sec, &ur->ru_utime.tv_sec);
err |= __put_user(r.ru_utime.tv_usec, &ur->ru_utime.tv_usec);
err |= __put_user(r.ru_stime.tv_sec, &ur->ru_stime.tv_sec);
Expand Down
3 changes: 2 additions & 1 deletion arch/arc/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
#include <asm/barrier.h>
#include <asm/smp.h>

#define ATOMIC_INIT(i) { (i) }

#ifndef CONFIG_ARC_PLAT_EZNPS

#define atomic_read(v) READ_ONCE((v)->counter)
#define ATOMIC_INIT(i) { (i) }

#ifdef CONFIG_ARC_HAS_LLSC

Expand Down
2 changes: 2 additions & 0 deletions arch/arc/include/asm/entry-arcv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
;
; Now manually save: r12, sp, fp, gp, r25

PUSH r30
PUSH r12

; Saving pt_regs->sp correctly requires some extra work due to the way
Expand Down Expand Up @@ -72,6 +73,7 @@
POPAX AUX_USER_SP
1:
POP r12
POP r30

.endm

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct pt_regs {
unsigned long fp;
unsigned long sp; /* user/kernel sp depending on where we came from */

unsigned long r12;
unsigned long r12, r30;

/*------- Below list auto saved by h/w -----------*/
unsigned long r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11;
Expand Down
14 changes: 7 additions & 7 deletions arch/arc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ ENTRY(stext)
GET_CPU_ID r5
cmp r5, 0
mov.nz r0, r5
#ifdef CONFIG_ARC_SMP_HALT_ON_RESET
; Non-Master can proceed as system would be booted sufficiently
jnz first_lines_of_secondary
#else
bz .Lmaster_proceed

; Non-Masters wait for Master to boot enough and bring them up
jnz arc_platform_smp_wait_to_boot
#endif
; Master falls thru
; when they resume, tail-call to entry point
mov blink, @first_lines_of_secondary
j arc_platform_smp_wait_to_boot

.Lmaster_proceed:
#endif

; Clear BSS before updating any globals
Expand Down
4 changes: 4 additions & 0 deletions arch/arc/kernel/mcip.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <linux/smp.h>
#include <linux/irq.h>
#include <linux/irqchip/chained_irq.h>
#include <linux/spinlock.h>
#include <asm/irqflags-arcv2.h>
#include <asm/mcip.h>
Expand Down Expand Up @@ -221,10 +222,13 @@ static irq_hw_number_t idu_first_hwirq;
static void idu_cascade_isr(struct irq_desc *desc)
{
struct irq_domain *idu_domain = irq_desc_get_handler_data(desc);
struct irq_chip *core_chip = irq_desc_get_chip(desc);
irq_hw_number_t core_hwirq = irqd_to_hwirq(irq_desc_get_irq_data(desc));
irq_hw_number_t idu_hwirq = core_hwirq - idu_first_hwirq;

chained_irq_enter(core_chip, desc);
generic_handle_irq(irq_find_mapping(idu_domain, idu_hwirq));
chained_irq_exit(core_chip, desc);
}

static int idu_irq_map(struct irq_domain *d, unsigned int virq, irq_hw_number_t hwirq)
Expand Down
25 changes: 20 additions & 5 deletions arch/arc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,37 @@ void __init smp_cpus_done(unsigned int max_cpus)
*/
static volatile int wake_flag;

#ifdef CONFIG_ISA_ARCOMPACT

#define __boot_read(f) f
#define __boot_write(f, v) f = v

#else

#define __boot_read(f) arc_read_uncached_32(&f)
#define __boot_write(f, v) arc_write_uncached_32(&f, v)

#endif

static void arc_default_smp_cpu_kick(int cpu, unsigned long pc)
{
BUG_ON(cpu == 0);
wake_flag = cpu;

__boot_write(wake_flag, cpu);
}

void arc_platform_smp_wait_to_boot(int cpu)
{
while (wake_flag != cpu)
/* for halt-on-reset, we've waited already */
if (IS_ENABLED(CONFIG_ARC_SMP_HALT_ON_RESET))
return;

while (__boot_read(wake_flag) != cpu)
;

wake_flag = 0;
__asm__ __volatile__("j @first_lines_of_secondary \n");
__boot_write(wake_flag, 0);
}


const char *arc_platform_smp_cpuinfo(void)
{
return plat_smp_ops.info ? : "";
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,

vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
(!vma || addr + len <= vma->vm_start))
(!vma || addr + len <= vm_start_gap(vma)))
return addr;
}

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/am57xx-idk-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
};

&usb2 {
dr_mode = "otg";
dr_mode = "peripheral";
};

&mmc2 {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/armada-388-gp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pca0_pins>;
interrupt-parent = <&gpio0>;
interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
Expand All @@ -87,7 +87,7 @@
compatible = "nxp,pca9555";
pinctrl-names = "default";
interrupt-parent = <&gpio0>;
interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
Expand Down
Loading