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

4.9 1.0.x imx stable merge #22

Merged
merged 731 commits into from
Jan 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
731 commits
Select commit Hold shift + click to select a range
ec38fb4
netfilter: nfnl_cthelper: fix runtime expectation policy updates
ummakynes Mar 21, 2017
0f0ac21
netfilter: nfnl_cthelper: Fix memory leak
JeffyCN Mar 21, 2017
7171aa2
iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
mszyprow Mar 20, 2017
bfb38fb
r8152: fix the rx early size of RTL8153
hayesorz Mar 20, 2017
e6e8067
tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
ying-xue Mar 21, 2017
7656871
inet: frag: release spinlock before calling icmp_send()
Mar 22, 2017
0f4aa1f
pinctrl: st: add irq_request/release_resources callbacks
pchotard Mar 16, 2017
3bd2017
scsi: lpfc: Fix PT2PT PRLI reject
Mar 23, 2017
8386ff5
kvm: vmx: Flush TLB when the APIC-access address changes
jsmattsonjr Mar 16, 2017
e0249c0
KVM: x86: correct async page present tracepoint
Wanpeng-Li Mar 21, 2017
2df1969
KVM: VMX: Fix enable VPID conditions
Wanpeng-Li Mar 23, 2017
5700ffc
ARM: dts: ti: fix PCI bus dtc warnings
robherring Mar 22, 2017
afa055f
hwmon: (asus_atk0110) fix uninitialized data access
arndb Mar 23, 2017
347848e
HID: xinmo: fix for out of range for THT 2P arcade controller.
stuntstein Feb 17, 2017
b89e229
ASoC: STI: Fix reader substream pointer set
arnopo Mar 23, 2017
60d5982
r8152: prevent the driver from transmitting packets with carrier off
hayesorz Mar 23, 2017
118b040
s390/qeth: size calculation outbound buffers
julianwiedmann Mar 23, 2017
51533c4
s390/qeth: no ETH header for outbound AF_IUCV
julianwiedmann Mar 23, 2017
102a8a1
bna: avoid writing uninitialized data into hw registers
arndb Mar 23, 2017
26452a5
i40iw: Receive netdev events post INET_NOTIFIER state
shirazsaleem Mar 17, 2017
cd083d5
IB/core: Protect against self-requeue of a cq work item
sagigrimberg Mar 8, 2017
f4fcc56
infiniband: Fix alignment of mmap cookies to support VIPT caching
jgunthorpe Mar 10, 2017
521a7e3
nbd: set queue timeout properly
Mar 24, 2017
7f077af
net: Do not allow negative values for busy_read and busy_poll sysctl …
Mar 24, 2017
2f0e39f
IB/rxe: double free on error
Mar 8, 2017
2eb783a
IB/rxe: increment msn only when completing a request
Feb 24, 2017
661f534
i40e: Do not enable NAPI on q_vectors that have no rings
Mar 24, 2017
37f41da
RDMA/iser: Fix possible mr leak on device removal event
sagigrimberg Feb 27, 2017
9e63981
irda: vlsi_ir: fix check for DMA mapping errors
khoroshilov Mar 24, 2017
01060ac
netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash …
Mar 25, 2017
b5ed572
netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to regi…
gfreewind Mar 25, 2017
e0d1315
ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
eyalreizer Mar 26, 2017
e9a1ba2
cpufreq: Fix creation of symbolic links to policy directories
rafaeljw Mar 27, 2017
29c4f51
net: ipconfig: fix ic_close_devs() use-after-free
Mar 27, 2017
808ed3b
KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
Mar 27, 2017
c6f9090
virtio-balloon: use actual number of stats for stats queue buffers
ladipro Mar 28, 2017
bb011a4
virtio_balloon: prevent uninitialized variable use
arndb Mar 28, 2017
ce19146
isdn: kcapi: avoid uninitialized data
arndb Mar 28, 2017
55b6a5d
net: moxa: fix TX overrun memory leak
Kasreyn Mar 28, 2017
54420c1
xhci: plat: Register shutdown for xhci_plat
Mar 28, 2017
0708a47
netfilter: nfnetlink_queue: fix secctx memory leak
Mar 28, 2017
9c1433b
Btrfs: fix an integer overflow check
Mar 17, 2017
5460e46
ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed m…
Mar 29, 2017
9e17713
cpuidle: powernv: Pass correct drv->cpumask for registration
svaidy Mar 23, 2017
d14718c
bnxt_en: Fix NULL pointer dereference in reopen failure path
Mar 28, 2017
291c7e4
backlight: pwm_bl: Fix overflow condition
dbasehore Aug 29, 2017
1525e33
crypto: crypto4xx - increase context and scatter ring buffer elements
chunkeey Oct 3, 2017
bdb33bb
rtc: pl031: make interrupt optional
Sep 29, 2017
206e162
kvm, mm: account kvm related kmem slabs to kmemcg
shakeelb Oct 6, 2017
d3469e6
net: phy: at803x: Change error to EINVAL for invalid MAC
Oct 10, 2017
241833a
PCI: Avoid bus reset if bridge itself is broken
daviddaney Sep 8, 2017
fd1d9dc
scsi: cxgb4i: fix Tx skb leak
Oct 11, 2017
b40eeea
scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 …
sreekanthbrcm Oct 10, 2017
164a941
PCI: Create SR-IOV virtfn/physfn links before attaching driver
Oct 4, 2017
c236525
PM / OPP: Move error message to debug level
Sep 29, 2017
700053c
igb: check memory allocation failure
tititiou36 Aug 27, 2017
2141182
ixgbe: fix use of uninitialized padding
etantilov Sep 11, 2017
1d4b32b
IB/rxe: check for allocation failure on elem
Sep 8, 2017
fbb2d72
PCI/AER: Report non-fatal errors only to the affected endpoint
g00308965 Sep 28, 2017
6af9b18
tracing: Exclude 'generic fields' from histograms
tzanussi Sep 22, 2017
bd0feaa
ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
ed-blake1 Oct 2, 2017
fc9d638
fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
jacob-keller Aug 11, 2017
b438d2f
scsi: lpfc: Fix secure firmware updates
Sep 30, 2017
de5a4c8
scsi: lpfc: PLOGI failures during NPIV testing
Sep 30, 2017
76d83bf
vfio/pci: Virtualize Maximum Payload Size
awilliam Oct 2, 2017
52d0a60
fm10k: ensure we process SM mbx when processing VF mbx
jacob-keller Oct 2, 2017
4bf42a2
net: ipv6: send NS for DAD when link operationally up
Sep 25, 2017
bb0618a
staging: greybus: light: Release memory obtained by kasprintf
ArvindYadavCs Sep 23, 2017
5859027
clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
wens Sep 29, 2017
acc9672
tcp: fix under-evaluated ssthresh in TCP Vegas
hoang-tranviet Sep 27, 2017
15319d2
rtc: set the alarm to the next expiring timer
alexandrebelloni Sep 28, 2017
b86c7b8
cpuidle: fix broadcast control when broadcast can not be entered
npiggin Sep 1, 2017
82bf76a
thermal: hisilicon: Handle return value of clk_prepare_enable
ArvindYadavCs Jun 6, 2017
b679b8d
thermal/drivers/hisi: Fix missing interrupt enablement
dlezcano Oct 19, 2017
2dac559
thermal/drivers/hisi: Fix kernel panic on alarm interrupt
dlezcano Oct 19, 2017
1b2c46a
thermal/drivers/hisi: Simplify the temperature/step computation
dlezcano Oct 19, 2017
3cff907
thermal/drivers/hisi: Fix multiple alarm interrupts firing
dlezcano Oct 19, 2017
00ecb4b
MIPS: math-emu: Fix final emulation phase for certain instructions
AMarkovic Nov 2, 2017
dbeb719
platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state …
whot Dec 4, 2017
3b6c84b
Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
gregkh Dec 22, 2017
565f012
bpf: adjust insn_aux_data when patching insns
borkmann Dec 22, 2017
7b5b73e
bpf: fix branch pruning logic
borkmann Dec 22, 2017
d75d3ee
bpf: reject out-of-bounds stack pointer calculation
borkmann Dec 22, 2017
3695b3b
bpf: fix incorrect sign extension in check_alu_op()
borkmann Dec 22, 2017
6430e16
sparc32: Export vac_cache_size to fix build error
groeck Apr 1, 2017
2df3979
Linux 4.9.72
gregkh Dec 25, 2017
54c74d3
ACPI: APEI / ERST: Fix missing error handling in erst_reader()
tiwai Dec 14, 2017
d31a207
acpi, nfit: fix health event notification
djbw Dec 1, 2017
e81cff1
crypto: mcryptd - protect the per-CPU queue with a lock
Nov 30, 2017
2db85cb
mfd: cros ec: spi: Don't send first message too soon
jonhunter Nov 14, 2017
f4c0796
mfd: twl4030-audio: Fix sibling-node lookup
jhovold Nov 11, 2017
becf7d8
mfd: twl6040: Fix child-node lookup
jhovold Nov 11, 2017
cec9244
ALSA: rawmidi: Avoid racy info ioctl via ctl device
tiwai Dec 14, 2017
beab14a
ALSA: usb-audio: Add native DSD support for Esoteric D-05X
jlaako Dec 7, 2017
3176065
ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
tiwai Dec 18, 2017
10b4a62
PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
rafaeljw Dec 15, 2017
373386e
parisc: Hide Diva-built-in serial aux and graphics card
hdeller Dec 12, 2017
cb8b2fd
spi: xilinx: Detect stall with Unknown commands
ribalda Nov 21, 2017
418dfce
pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
westeri Dec 4, 2017
e5c73b3
KVM: X86: Fix load RFLAGS w/o the fixed bit
Wanpeng-Li Dec 7, 2017
18276e9
kvm: x86: fix RSM when PCID is non-zero
bonzini Dec 20, 2017
2635a64
clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
wens Dec 18, 2017
77b318a
powerpc/perf: Dereference BHRB entries safely
Dec 12, 2017
423716c
libnvdimm, pfn: fix start_pad handling for aligned namespaces
djbw Dec 19, 2017
405f3d7
net: mvneta: clear interface link status on port disable
yelenaKr Dec 19, 2017
a57f99f
net: mvneta: use proper rxq_number in loop on rx queues
yelenaKr Dec 19, 2017
69cf72b
net: mvneta: eliminate wrong call to handle rx descriptor error
yelenaKr Dec 19, 2017
37435f7
bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
bwhacks Dec 23, 2017
b3e8821
Linux 4.9.73
gregkh Dec 29, 2017
3d16a13
sync objtool's copy of x86-opcode-map.txt
gregkh Dec 31, 2017
6edea15
tracing: Remove extra zeroing out of the ring buffer page
rostedt Dec 23, 2017
5dc4cd2
tracing: Fix possible double free on failure of allocating trace buffer
rostedt Dec 27, 2017
81e155e
tracing: Fix crash when it fails to alloc ring buffer
Dec 26, 2017
2e0d458
ring-buffer: Mask out the info bits when returning buffer page length
rostedt Dec 23, 2017
72d5e02
iw_cxgb4: Only validate the MSN for successful completions
Dec 18, 2017
125e81b
ASoC: wm_adsp: Fix validation of firmware and coeff lengths
bwh-ct Dec 8, 2017
35f87d4
ASoC: da7218: fix fix child-node lookup
jhovold Nov 13, 2017
00add00
ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
maciejsszmigiero Nov 20, 2017
b04640a
ASoC: twl4030: fix child-node lookup
jhovold Nov 13, 2017
d30d176
ASoC: tlv320aic31xx: Fix GPIO1 register definition
glneo Nov 29, 2017
a1dbcd8
ALSA: hda: Drop useless WARN_ON()
tiwai Dec 22, 2017
65ca46e
ALSA: hda - fix headset mic detection issue on a Dell machine
jason77-wang Dec 22, 2017
72b812d
x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
amluto Apr 22, 2017
219aced
x86/mm: Remove flush_tlb() and flush_tlb_current_task()
amluto Apr 22, 2017
113980c
x86/mm: Make flush_tlb_mm_range() more predictable
amluto Apr 22, 2017
a94af05
x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
amluto May 22, 2017
3e5daac
x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) …
amluto May 28, 2017
1e7f3d8
x86/mm: Disable PCID on 32-bit kernels
amluto Jun 29, 2017
e6a2932
x86/mm: Add the 'nopcid' boot option to turn off PCID
amluto Jun 29, 2017
b52f937
x86/mm: Enable CR4.PCIDE on supported systems
amluto Jun 29, 2017
04bdf71
x86/mm/64: Fix reboot interaction with CR4.PCIDE
amluto Oct 9, 2017
b929ccc
kbuild: add '-fno-stack-check' to kernel build options
torvalds Dec 30, 2017
c2f78bf
ipv4: igmp: guard against silly MTU values
Dec 11, 2017
f6d7cdb
ipv6: mcast: better catch silly mtu values
Dec 11, 2017
930882f
net: fec: unmap the xmit buffer that are not transferred by DMA
fugangduan Dec 22, 2017
2c1a0b2
net: igmp: Use correct source address on IGMPv3 reports
Dec 11, 2017
0b18782
netlink: Add netns check on taps
Dec 6, 2017
8baa58c
net: qmi_wwan: add Sierra EM7565 1199:9091
ssjoholm Dec 11, 2017
b3b5603
net: reevalulate autoflowlabel setting after sysctl setting
shligit Dec 20, 2017
8b032bd
ptr_ring: add barriers
mstsirkin Dec 5, 2017
53288d8
RDS: Check cmsg_len before dereferencing CMSG_DATA
Dec 22, 2017
a4bf8ef
tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
nealcardwell Dec 7, 2017
7887a70
tcp md5sig: Use skb's saddr when replying to an incoming segment
cpaasch Dec 11, 2017
484369f
tg3: Fix rx hang on MTU change with 5717/5719
bjking1 Dec 15, 2017
f75f910
net: ipv4: fix for a race condition in raw_sendmsg
0x36 Dec 10, 2017
99cf2da
net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
Dec 6, 2017
ae67e54
sctp: Replace use of sockets_allocated with specified macro.
xpu22 Dec 22, 2017
e51abae
adding missing rcu_read_unlock in ipxip6_rcv
Dec 7, 2017
e4f6698
ipv4: Fix use-after-free when flushing FIB tables
idosch Dec 20, 2017
243adaa
net: bridge: fix early call to br_stp_change_bridge_id and plug newli…
Dec 18, 2017
8c38f31
net: fec: Allow reception of frames bigger than 1522 bytes
lunn Jul 30, 2017
03c9329
net: Fix double free and memory corruption in get_net_ns_by_id()
ebiederm Dec 19, 2017
a746fad
net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg work…
grygoriyS Dec 21, 2017
58f6ebb
sock: free skb in skb_complete_tx_timestamp on error
wdebruij Dec 13, 2017
e74fe72
tcp: invalidate rate samples during SACK reneging
yousukseung Dec 7, 2017
1387239
net/mlx5: Fix rate limit packet pacing naming and struct
Nov 13, 2017
9424a79
net/mlx5e: Fix features check of IPv6 traffic
Nov 21, 2017
d1614fd
net/mlx5e: Fix possible deadlock of VXLAN lock
Nov 23, 2017
6042258
net/mlx5e: Add refcount to VXLAN structure
Dec 3, 2017
c844a45
net/mlx5e: Prevent possible races in VXLAN control flow
Dec 4, 2017
7493d98
net/mlx5: Fix error flow in CREATE_QP command
monis410 Dec 4, 2017
6ed7c48
s390/qeth: apply takeover changes when mode is toggled
julianwiedmann Dec 13, 2017
475018c
s390/qeth: don't apply takeover changes to RXIP
julianwiedmann Dec 13, 2017
476d7d6
s390/qeth: lock IP table while applying takeover changes
julianwiedmann Dec 13, 2017
67b539c
s390/qeth: update takeover IPs after configuration change
julianwiedmann Dec 13, 2017
3c579d0
usbip: fix usbip bind writing random string after command in match_busid
Dec 15, 2017
1ef5c43
usbip: prevent leaking socket pointer address in messages
Dec 15, 2017
9e9f425
usbip: stub: stop printing kernel pointer addresses in messages
Dec 19, 2017
03dce05
usbip: vhci: stop printing kernel pointer addresses in messages
Dec 19, 2017
0af1aeb
USB: serial: ftdi_sio: add id for Airbus DS P8GR
Dec 20, 2017
6ab3d87
USB: serial: qcserial: add Sierra Wireless EM7565
Dec 14, 2017
192cdf5
USB: serial: option: add support for Telit ME910 PID 0x1101
dnlplm Dec 14, 2017
d98f4d4
USB: serial: option: adding support for YUGA CLM920-NC5
Dec 19, 2017
0f2e9cb
usb: Add device quirk for Logitech HD Pro Webcam C925e
dmitryfleytman Dec 19, 2017
425d2f1
usb: add RESET_RESUME for ELSA MicroLink 56K
oneukum Dec 12, 2017
ab1fbfe
USB: Fix off by one in type-specific length check of BOS SSP capability
matnyman Dec 19, 2017
09d3e69
usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
daniel-thompson Dec 21, 2017
d840687
timers: Use deferrable base independent of base::nohz_active
anna-marialx Dec 22, 2017
574e543
timers: Invoke timer_start_debug() where it makes sense
KAGA-KOKO Dec 22, 2017
249d4a9
timers: Reinitialize per cpu bases on hotplug
KAGA-KOKO Dec 27, 2017
e8119ac
nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
KAGA-KOKO Dec 22, 2017
404ae54
x86/smpboot: Remove stale TLB flush invocations
KAGA-KOKO Dec 30, 2017
00fc57a
n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
torvalds Dec 21, 2017
d76dabb
tty: fix tty_ldisc_receive_buf() documentation
jhovold Nov 3, 2017
181a832
mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
amluto Jun 5, 2017
07bcb24
Linux 4.9.74
gregkh Jan 2, 2018
61c51da
tcp_bbr: reset full pipe detection on loss recovery undo
nealcardwell Dec 7, 2017
8824b2d
tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
nealcardwell Dec 7, 2017
b5fd58e
x86/boot: Add early cmdline parsing for options with arguments
tlendacky Jul 17, 2017
13be448
KAISER: Kernel Address Isolation
RiAF- May 4, 2017
8f0baad
kaiser: merged update
hansendc Aug 30, 2017
ac2f101
kaiser: do not set _PAGE_NX on pgd_none
Sep 5, 2017
0994a2c
kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
Sep 4, 2017
7a92e20
kaiser: fix build and FIXME in alloc_ldt_struct()
Sep 4, 2017
639c005
kaiser: KAISER depends on SMP
Sep 13, 2017
1937794
kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
Sep 22, 2017
f881e62
kaiser: fix perf crashes
Aug 23, 2017
f43f386
kaiser: ENOMEM if kaiser_pagetable_walk() NULL
Sep 4, 2017
67fab0d
kaiser: tidied up asm/kaiser.h somewhat
Sep 4, 2017
be6bf01
kaiser: tidied up kaiser_add/remove_mapping slightly
Sep 4, 2017
604db49
kaiser: align addition to x86/mm/Makefile
Sep 4, 2017
61b7a40
kaiser: cleanups while trying for gold link
Aug 22, 2017
c27cdea
kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
Sep 10, 2017
1ce27de
kaiser: delete KAISER_REAL_SWITCH option
Sep 4, 2017
1972bb9
kaiser: vmstat show NR_KAISERTABLE as nr_overhead
Sep 10, 2017
2684b12
kaiser: enhanced by kernel and user PCIDs
Aug 30, 2017
0b5ca9d
kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
Aug 17, 2017
6a2b411
kaiser: PCID 0 for kernel and 128 for user
Sep 9, 2017
d0142ce
kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
Aug 27, 2017
05ddad1
kaiser: paranoid_entry pass cr3 need to paranoid_exit
Sep 27, 2017
3df1461
kaiser: kaiser_remove_mapping() move along the pgd
Oct 2, 2017
cb7d8d7
kaiser: fix unlikely error in alloc_ldt_struct()
Dec 5, 2017
23e0943
kaiser: add "nokaiser" boot option, using ALTERNATIVE
Sep 24, 2017
50624dd
x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
suryasaimadhu Jan 2, 2018
8018307
x86/kaiser: Check boottime cmdline params
suryasaimadhu Jan 2, 2018
169b369
kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
Oct 4, 2017
8c2f8a5
kaiser: drop is_atomic arg to kaiser_pagetable_walk()
Oct 29, 2017
b72c26e
kaiser: asm/tlbflush.h handle noPGE at lower level
Nov 5, 2017
fe5cb75
kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
Nov 5, 2017
1817d2c
x86/paravirt: Dont patch flush_tlb_single
KAGA-KOKO Dec 4, 2017
2c27217
x86/kaiser: Reenable PARAVIRT
suryasaimadhu Jan 2, 2018
402e63d
kaiser: disabled on Xen PV
Jan 2, 2018
59094fa
x86/kaiser: Move feature detection up
suryasaimadhu Dec 25, 2017
e71fac0
KPTI: Rename to PAGE_TABLE_ISOLATION
kees Jan 3, 2018
ea6cd39
KPTI: Report when enabled
kees Jan 3, 2018
92fd81f
kaiser: Set _PAGE_NX only if supported
Jan 4, 2018
9f74755
Linux 4.9.75
gregkh Jan 5, 2018
790080c
kernel/acct.c: fix the acct->needcheck check in check_free_space()
oleg-nesterov Jan 5, 2018
f6db86f
crypto: n2 - cure use after free
jengelh Dec 19, 2017
868f50b
crypto: chacha20poly1305 - validate the digest size
ebiggers Dec 11, 2017
c195a4c
crypto: pcrypt - fix freeing pcrypt instances
ebiggers Dec 20, 2017
34fa2ee
sunxi-rsb: Include OF based modalias in device uevent
StefanBruens Nov 27, 2017
2b9b200
fscache: Fix the default for fscache_maybe_release_page()
dhowells Jan 2, 2018
3a381ab
nbd: fix use-after-free of rq/bio in the xmit path
axboe Nov 17, 2016
79258d9
kernel: make groups_sort calling a responsibility group_info allocators
trbecker Dec 14, 2017
1453b3a
kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
oleg-nesterov Nov 17, 2017
794ac8e
kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel…
oleg-nesterov Nov 17, 2017
4d53eb4
kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check …
oleg-nesterov Nov 17, 2017
03975fa
iommu/arm-smmu-v3: Don't free page table ops twice
Dec 14, 2017
e6a897a
iommu/arm-smmu-v3: Cope with duplicated Stream IDs
rmurphy-arm Jan 2, 2018
cc1349f
ARC: uaccess: dont use "l" gcc inline asm constraint modifier
vineetgarc Dec 8, 2017
2b009d3
Input: elantech - add new icbody type 15
pyma1 Nov 26, 2017
dd43c46
x86/microcode/AMD: Add support for fam17h microcode loading
tlendacky Nov 30, 2017
14c0620
parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
hdeller Jan 2, 2018
91dfc41
parisc: qemu idle sleep support
hdeller Jan 5, 2018
47f3cea
x86/tlb: Drop the _GPL from the cpu_tlbstate export
KAGA-KOKO Jan 4, 2018
beca4e2
Map the vsyscall page with _PAGE_USER
suryasaimadhu Jan 4, 2018
5e1f377
mtd: nand: pxa3xx: Fix READOOB implementation
Dec 18, 2017
7bbc6ca
Linux 4.9.76
gregkh Jan 10, 2018
0710597
Merge tag 'v4.9.76' into 4.9-1.0.x-imx-stable-merge
Jan 24, 2018
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/usb-device.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Required properties:
be used, but a device adhering to this binding may leave out all except
for usbVID,PID.
- reg: the port number which this device is connecting to, the range
is 1-31.
is 1-255.

Example:

Expand Down
10 changes: 10 additions & 0 deletions Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2763,6 +2763,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.

nojitter [IA-64] Disables jitter checking for ITC timers.

nopti [X86-64] Disable KAISER isolation of kernel from user.

no-kvmclock [X86,KVM] Disable paravirtualized KVM clock driver

no-kvmapf [X86,KVM] Disable paravirtualized asynchronous page
Expand Down Expand Up @@ -2795,6 +2797,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
nopat [X86] Disable PAT (page attribute table extension of
pagetables) support.

nopcid [X86-64] Disable the PCID cpu feature.

norandmaps Don't use address space randomization. Equivalent to
echo 0 > /proc/sys/kernel/randomize_va_space

Expand Down Expand Up @@ -3323,6 +3327,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
pt. [PARIDE]
See Documentation/blockdev/paride.txt.

pti= [X86_64]
Control KAISER user/kernel address space isolation:
on - enable
off - disable
auto - default setting

pty.legacy_count=
[KNL] Number of legacy pty's. Overwrites compiled-in
default number.
Expand Down
26 changes: 15 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 67
SUBLEVEL = 76
EXTRAVERSION =
NAME = Roaring Lionus

Expand Down Expand Up @@ -370,9 +370,6 @@ LDFLAGS_MODULE =
CFLAGS_KERNEL =
AFLAGS_KERNEL =
LDFLAGS_vmlinux =
CFLAGS_GCOV := -fprofile-arcs -ftest-coverage -fno-tree-loop-im $(call cc-disable-warning,maybe-uninitialized,)
CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,)


# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE := \
Expand All @@ -393,21 +390,19 @@ LINUXINCLUDE := \

LINUXINCLUDE += $(filter-out $(LINUXINCLUDE),$(USERINCLUDE))

KBUILD_CPPFLAGS := -D__KERNEL__

KBUILD_AFLAGS := -D__ASSEMBLY__
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
-std=gnu89 $(call cc-option,-fno-PIE)


-std=gnu89
KBUILD_CPPFLAGS := -D__KERNEL__
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__ $(call cc-option,-fno-PIE)
KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
GCC_PLUGINS_CFLAGS :=

# Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
Expand All @@ -420,7 +415,7 @@ export MAKE AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE
export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS

export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE CFLAGS_GCOV CFLAGS_KCOV CFLAGS_KASAN CFLAGS_UBSAN
export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE CFLAGS_KASAN CFLAGS_UBSAN
export KBUILD_AFLAGS AFLAGS_KERNEL AFLAGS_MODULE
export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE KBUILD_LDFLAGS_MODULE
export KBUILD_AFLAGS_KERNEL KBUILD_CFLAGS_KERNEL
Expand Down Expand Up @@ -620,6 +615,12 @@ endif
# Defaults to vmlinux, but the arch makefile usually adds further targets
all: vmlinux

KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
KBUILD_AFLAGS += $(call cc-option,-fno-PIE)
CFLAGS_GCOV := -fprofile-arcs -ftest-coverage -fno-tree-loop-im $(call cc-disable-warning,maybe-uninitialized,)
CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,)
export CFLAGS_GCOV CFLAGS_KCOV

# The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
# values of the respective KBUILD_* variables
ARCH_CPPFLAGS :=
Expand Down Expand Up @@ -787,6 +788,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)

# Make sure -fstack-check isn't enabled (like gentoo apparently did)
KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,)

# conserve stack if available
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)

Expand Down
5 changes: 3 additions & 2 deletions arch/arc/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ __arc_strncpy_from_user(char *dst, const char __user *src, long count)
return 0;

__asm__ __volatile__(
" mov lp_count, %5 \n"
" lp 3f \n"
"1: ldb.ab %3, [%2, 1] \n"
" breq.d %3, 0, 3f \n"
Expand All @@ -689,8 +690,8 @@ __arc_strncpy_from_user(char *dst, const char __user *src, long count)
" .word 1b, 4b \n"
" .previous \n"
: "+r"(res), "+r"(dst), "+r"(src), "=r"(val)
: "g"(-EFAULT), "l"(count)
: "memory");
: "g"(-EFAULT), "r"(count)
: "lp_count", "lp_start", "lp_end", "memory");

return res;
}
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/am335x-evmsk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@
ti,non-removable;
bus-width = <4>;
cap-power-off-card;
keep-power-in-suspend;
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/dra7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
device_type = "pci";
ranges = <0x81000000 0 0 0x03000 0 0x00010000
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
bus-range = <0x00 0xff>;
#interrupt-cells = <1>;
num-lanes = <1>;
linux,pci-domain = <0>;
Expand Down Expand Up @@ -318,6 +319,7 @@
device_type = "pci";
ranges = <0x81000000 0 0 0x03000 0 0x00010000
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
bus-range = <0x00 0xff>;
#interrupt-cells = <1>;
num-lanes = <1>;
linux,pci-domain = <1>;
Expand Down
18 changes: 18 additions & 0 deletions arch/arm/include/asm/assembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -516,4 +516,22 @@ THUMB( orr \reg , \reg , #PSR_T_BIT )
#endif
.endm

.macro bug, msg, line
#ifdef CONFIG_THUMB2_KERNEL
1: .inst 0xde02
#else
1: .inst 0xe7f001f2
#endif
#ifdef CONFIG_DEBUG_BUGVERBOSE
.pushsection .rodata.str, "aMS", %progbits, 1
2: .asciz "\msg"
.popsection
.pushsection __bug_table, "aw"
.align 2
.word 1b, 2b
.hword \line
.popsection
#endif
.endm

#endif /* __ASM_ASSEMBLER_H__ */
4 changes: 2 additions & 2 deletions arch/arm/include/asm/kvm_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@
#else
#define VTTBR_X (5 - KVM_T0SZ)
#endif
#define VTTBR_BADDR_SHIFT (VTTBR_X - 1)
#define VTTBR_BADDR_MASK (((_AC(1, ULL) << (40 - VTTBR_X)) - 1) << VTTBR_BADDR_SHIFT)
#define VTTBR_BADDR_MASK (((_AC(1, ULL) << (40 - VTTBR_X)) - 1) << VTTBR_X)
#define VTTBR_VMID_SHIFT _AC(48, ULL)
#define VTTBR_VMID_MASK(size) (_AT(u64, (1 << size) - 1) << VTTBR_VMID_SHIFT)

Expand Down Expand Up @@ -209,6 +208,7 @@
#define HSR_EC_IABT_HYP (0x21)
#define HSR_EC_DABT (0x24)
#define HSR_EC_DABT_HYP (0x25)
#define HSR_EC_MAX (0x3f)

#define HSR_WFI_IS_WFE (_AC(1, UL) << 0)

Expand Down
44 changes: 32 additions & 12 deletions arch/arm/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,10 @@ extern unsigned long __must_check
arm_copy_from_user(void *to, const void __user *from, unsigned long n);

static inline unsigned long __must_check
__copy_from_user(void *to, const void __user *from, unsigned long n)
__arch_copy_from_user(void *to, const void __user *from, unsigned long n)
{
unsigned int __ua_flags;

check_object_size(to, n, false);
__ua_flags = uaccess_save_and_enable();
n = arm_copy_from_user(to, from, n);
uaccess_restore(__ua_flags);
Expand All @@ -495,18 +494,15 @@ extern unsigned long __must_check
__copy_to_user_std(void __user *to, const void *from, unsigned long n);

static inline unsigned long __must_check
__copy_to_user(void __user *to, const void *from, unsigned long n)
__arch_copy_to_user(void __user *to, const void *from, unsigned long n)
{
#ifndef CONFIG_UACCESS_WITH_MEMCPY
unsigned int __ua_flags;

check_object_size(from, n, true);
__ua_flags = uaccess_save_and_enable();
n = arm_copy_to_user(to, from, n);
uaccess_restore(__ua_flags);
return n;
#else
check_object_size(from, n, true);
return arm_copy_to_user(to, from, n);
#endif
}
Expand All @@ -526,25 +522,49 @@ __clear_user(void __user *addr, unsigned long n)
}

#else
#define __copy_from_user(to, from, n) (memcpy(to, (void __force *)from, n), 0)
#define __copy_to_user(to, from, n) (memcpy((void __force *)to, from, n), 0)
#define __arch_copy_from_user(to, from, n) \
(memcpy(to, (void __force *)from, n), 0)
#define __arch_copy_to_user(to, from, n) \
(memcpy((void __force *)to, from, n), 0)
#define __clear_user(addr, n) (memset((void __force *)addr, 0, n), 0)
#endif

static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
static inline unsigned long __must_check
__copy_from_user(void *to, const void __user *from, unsigned long n)
{
check_object_size(to, n, false);
return __arch_copy_from_user(to, from, n);
}

static inline unsigned long __must_check
copy_from_user(void *to, const void __user *from, unsigned long n)
{
unsigned long res = n;

check_object_size(to, n, false);

if (likely(access_ok(VERIFY_READ, from, n)))
res = __copy_from_user(to, from, n);
res = __arch_copy_from_user(to, from, n);
if (unlikely(res))
memset(to + (n - res), 0, res);
return res;
}

static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
static inline unsigned long __must_check
__copy_to_user(void __user *to, const void *from, unsigned long n)
{
check_object_size(from, n, true);

return __arch_copy_to_user(to, from, n);
}

static inline unsigned long __must_check
copy_to_user(void __user *to, const void *from, unsigned long n)
{
check_object_size(from, n, true);

if (access_ok(VERIFY_WRITE, to, n))
n = __copy_to_user(to, from, n);
n = __arch_copy_to_user(to, from, n);
return n;
}

Expand Down
6 changes: 6 additions & 0 deletions arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@
mov r2, sp
ldr r1, [r2, #\offset + S_PSR] @ get calling cpsr
ldr lr, [r2, #\offset + S_PC]! @ get pc
tst r1, #PSR_I_BIT | 0x0f
bne 1f
msr spsr_cxsf, r1 @ save in spsr_svc
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
@ We must avoid clrex due to Cortex-A15 erratum #830321
Expand All @@ -313,6 +315,7 @@
@ after ldm {}^
add sp, sp, #\offset + PT_REGS_SIZE
movs pc, lr @ return & move spsr_svc into cpsr
1: bug "Returning to usermode but unexpected PSR bits set?", \@
#elif defined(CONFIG_CPU_V7M)
@ V7M restore.
@ Note that we don't need to do clrex here as clearing the local
Expand All @@ -328,6 +331,8 @@
ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr
ldr lr, [sp, #\offset + S_PC] @ get pc
add sp, sp, #\offset + S_SP
tst r1, #PSR_I_BIT | 0x0f
bne 1f
msr spsr_cxsf, r1 @ save in spsr_svc

@ We must avoid clrex due to Cortex-A15 erratum #830321
Expand All @@ -340,6 +345,7 @@
.endif
add sp, sp, #PT_REGS_SIZE - S_SP
movs pc, lr @ return & move spsr_svc into cpsr
1: bug "Returning to usermode but unexpected PSR bits set?", \@
#endif /* !CONFIG_THUMB2_KERNEL */
.endm

Expand Down
19 changes: 12 additions & 7 deletions arch/arm/kvm/handle_exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,19 @@ static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run)
return 1;
}

static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run)
{
u32 hsr = kvm_vcpu_get_hsr(vcpu);

kvm_pr_unimpl("Unknown exception class: hsr: %#08x\n",
hsr);

kvm_inject_undefined(vcpu);
return 1;
}

static exit_handle_fn arm_exit_handlers[] = {
[0 ... HSR_EC_MAX] = kvm_handle_unknown_ec,
[HSR_EC_WFI] = kvm_handle_wfx,
[HSR_EC_CP15_32] = kvm_handle_cp15_32,
[HSR_EC_CP15_64] = kvm_handle_cp15_64,
Expand All @@ -98,13 +110,6 @@ static exit_handle_fn kvm_get_exit_handler(struct kvm_vcpu *vcpu)
{
u8 hsr_ec = kvm_vcpu_trap_get_class(vcpu);

if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) ||
!arm_exit_handlers[hsr_ec]) {
kvm_err("Unknown exception class: hsr: %#08x\n",
(unsigned int)kvm_vcpu_get_hsr(vcpu));
BUG();
}

return arm_exit_handlers[hsr_ec];
}

Expand Down
16 changes: 7 additions & 9 deletions arch/arm/mach-omap1/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "soc.h"

#define OMAP1_DMA_BASE (0xfffed800)
#define OMAP1_LOGICAL_DMA_CH_COUNT 17

static u32 enable_1510_mode;

Expand Down Expand Up @@ -348,8 +347,6 @@ static int __init omap1_system_dma_init(void)
goto exit_iounmap;
}

d->lch_count = OMAP1_LOGICAL_DMA_CH_COUNT;

/* Valid attributes for omap1 plus processors */
if (cpu_is_omap15xx())
d->dev_caps = ENABLE_1510_MODE;
Expand All @@ -366,13 +363,14 @@ static int __init omap1_system_dma_init(void)
d->dev_caps |= CLEAR_CSR_ON_READ;
d->dev_caps |= IS_WORD_16;

if (cpu_is_omap15xx())
d->chan_count = 9;
else if (cpu_is_omap16xx() || cpu_is_omap7xx()) {
if (!(d->dev_caps & ENABLE_1510_MODE))
d->chan_count = 16;
/* available logical channels */
if (cpu_is_omap15xx()) {
d->lch_count = 9;
} else {
if (d->dev_caps & ENABLE_1510_MODE)
d->lch_count = 9;
else
d->chan_count = 9;
d->lch_count = 16;
}

p = dma_plat_info;
Expand Down
Loading