Skip to content

4.9 2.3.x imx #46

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

Merged
merged 1,123 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1123 commits
Select commit Hold shift + click to select a range
3001a9c
applicom: Fix potential Spectre v1 vulnerabilities
GustavoARSilva Jan 9, 2019
2ffcbeb
MIPS: irq: Allocate accurate order pages for irq stack
Feb 16, 2019
b010e03
hugetlbfs: fix races and page leaks during migration
mjkravetz Mar 1, 2019
dd6734e
exec: Fix mem leak in kernel_read_file
Feb 19, 2019
47d77d4
media: uvcvideo: Fix 'type' check leading to overflow
Dec 19, 2018
d2a6df7
vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel
suyj-fnst Jan 7, 2019
3d3916f
perf core: Fix perf_proc_update_handler() bug
Jan 11, 2019
70ffacb
perf tools: Handle TOPOLOGY headers with no CPU
Jan 19, 2019
8c310cd
IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM
brianwelty Jan 17, 2019
8a6c9f6
iommu/amd: Call free_iova_fast with pfn in map_sg
snits Jan 17, 2019
50c382e
iommu/amd: Unmap all mapped pages in error path of map_sg
snits Jan 19, 2019
304e1f0
ipvs: Fix signed integer overflow when setsockopt timeout
z00467499 Jan 10, 2019
2efa79e
iommu/amd: Fix IOMMU page flush when detach device from a domain
ssuthiku-amd Jan 24, 2019
aa9b819
xtensa: SMP: fix ccount_timer_shutdown
jcmvbkbc Jan 29, 2018
e2f3fd4
xtensa: SMP: fix secondary CPU initialization
jcmvbkbc Dec 21, 2018
db325a3
xtensa: smp_lx200_defconfig: fix vectors clash
jcmvbkbc Jan 25, 2019
11a4dc8
xtensa: SMP: mark each possible CPU as present
jcmvbkbc Jan 19, 2019
7d1ef64
xtensa: SMP: limit number of possible CPUs by NR_CPUS
jcmvbkbc Jan 27, 2019
cdf3d54
net: altera_tse: fix msgdma_tx_completion on non-zero fill_level case
t-saki Jan 25, 2019
1e8e523
net: hns: Fix for missing of_node_put() after of_parse_phandle()
liuyonglong86 Jan 26, 2019
91500a8
net: hns: Fix wrong read accesses via Clause 45 MDIO protocol
liuyonglong86 Jan 26, 2019
7e63308
net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup()
khoroshilov Jan 26, 2019
7f6a663
gpio: vf610: Mask all GPIO interrupts
lunn Jan 27, 2019
6f976ec
nfs: Fix NULL pointer dereference of dev_name
Jan 28, 2019
f85469e
qed: Fix VF probe failure while FLR
manishc88 Jan 28, 2019
5224c78
scsi: libfc: free skb when receiving invalid flogi resp
minglumlu Jan 24, 2019
4a2e5c5
platform/x86: Fix unmet dependency warning for SAMSUNG_Q10
Jan 24, 2019
2b0ac76
cifs: fix computation for MAX_SMB2_HDR_SIZE
Jan 29, 2019
32d14df
arm64: kprobe: Always blacklist the KVM world-switch code
Jan 24, 2019
1c2ca09
x86/kexec: Don't setup EFI info if EFI runtime is not enabled
ryncsn Jan 18, 2019
42813d9
x86_64: increase stack size for KASAN_EXTRA
Feb 1, 2019
61fdbbb
mm, memory_hotplug: is_mem_section_removable do not pass the end of a…
Feb 1, 2019
3016e96
mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zone
mzaslonk Feb 1, 2019
c3ce520
fs/drop_caches.c: avoid softlockups in drop_pagecache_sb()
jankara Feb 1, 2019
07f67e6
autofs: drop dentry reference only when it is never used
SinkFinder Feb 1, 2019
37b6ac5
autofs: fix error return in autofs_fill_super()
raven-au Feb 1, 2019
d31765e
soc: fsl: qbman: avoid race in clearing QMan interrupt
madalinbucur Dec 21, 2018
06e777e
ARM: pxa: ssp: unneeded to free devm_ allocated data
Dec 29, 2018
7538927
arm64: dts: add msm8996 compatible to gicv3
Srinivas-Kandagatla Dec 10, 2018
9ae6eb6
usb: phy: fix link errors
roxell Jan 22, 2019
1573281
irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable
lkundrak Jan 28, 2019
d82c7e8
drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init
paulkocialkowski Jan 31, 2019
b498cfe
dmaengine: at_xdmac: Fix wrongfull report of a channel as in use
codrin989 Jan 23, 2019
5c9e72b
vsock/virtio: fix kernel panic after device hot-unplug
stefano-garzarella Feb 1, 2019
4c870d3
vsock/virtio: reset connected sockets on device removal
stefano-garzarella Feb 1, 2019
ad30393
dmaengine: dmatest: Abort test in case of mapping error
andy-shev Jan 30, 2019
78dbfc5
selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET
Jan 29, 2019
9b060e0
selftests: netfilter: add simple masq/redirect test cases
Jan 29, 2019
9204492
netfilter: nf_nat: skip nat clash resolution for same-origin entries
Jan 29, 2019
78335ed
s390/qeth: fix use-after-free in error path
julianwiedmann Feb 4, 2019
ce42bb1
perf symbols: Filter out hidden symbols from labels
Jan 28, 2019
a189410
MIPS: Remove function size check in get_frame_info()
jrjang Jan 29, 2019
579acda
fs: ratelimit __find_get_block_slow() failure message.
Jan 21, 2019
1a2403a
Input: wacom_serial4 - add support for Wacom ArtPad II tablet
jigpu Mar 9, 2019
3b5ed2c
Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
vbatts Mar 9, 2019
6263e82
iscsi_ibft: Fix missing break in switch statement
GustavoARSilva Feb 11, 2019
1dd5254
scsi: aacraid: Fix missing break in switch statement
GustavoARSilva Feb 15, 2019
ce81355
futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock()
Mar 22, 2017
cf04883
ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid…
mszyprow Jan 24, 2019
a844f79
ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
mszyprow Feb 15, 2019
660e1bf
drm: disable uncached DMA optimization for ARM and arm64
Jan 24, 2019
88bc59c
ARM: 8781/1: Fix Thumb-2 syscall return for binutils 2.29+
vwax Jul 13, 2018
dd25a76
ARM: dts: exynos: Do not ignore real-world fuse values for thermal zo…
krzk Feb 11, 2017
0ac343a
perf/x86/intel: Make cpuc allocations consistent
Mar 5, 2019
c34730d
perf/x86/intel: Generalize dynamic constraint creation
Mar 5, 2019
3596b45
x86: Add TSX Force Abort CPUID/MSR
Mar 5, 2019
b834331
Linux 4.9.163
gregkh Mar 13, 2019
45eaae2
ACPICA: Reference Counts: increase max to 0x4000 for large servers
Aug 10, 2018
ccc2aae
KEYS: restrict /proc/keys by credentials at open time
ebiggers Sep 18, 2017
e0c435a
l2tp: fix infoleak in l2tp_ip6_recvmsg()
edumazet Mar 12, 2019
a582b20
net: hsr: fix memory leak in hsr_dev_finalize()
Mar 6, 2019
8aad233
net/hsr: fix possible crash in add_timer()
edumazet Mar 7, 2019
b89d3ce
net: sit: fix UBSAN Undefined behaviour in check_6rd
MiaoheLin Mar 11, 2019
3123545
net/x25: fix use-after-free in x25_device_event()
edumazet Mar 10, 2019
0651889
net/x25: reset state in x25_connect()
edumazet Mar 11, 2019
3b3ce4c
pptp: dst_release sk_dst_cache in pptp_sock_destruct
lxin Mar 13, 2019
a0f1f55
ravb: Decrease TxFIFO depth of Q3 and Q2 to one
mnagai Mar 7, 2019
e8273ce
route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
lxin Mar 8, 2019
40852d5
tcp: handle inet_csk_reqsk_queue_add() failures
Mar 8, 2019
9b0e9c2
vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
edumazet Mar 10, 2019
de42e2e
net/mlx4_core: Fix reset flow when in command polling mode
Mar 12, 2019
038a48c
net/mlx4_core: Fix locking in SRIOV mode when switching between event…
Mar 12, 2019
f46dc15
net/mlx4_core: Fix qp mtt size calculation
Mar 12, 2019
92382cd
net/x25: fix a race in x25_bind()
edumazet Feb 23, 2019
c4bec92
mdio_bus: Fix use-after-free on device_register fails
Feb 21, 2019
2f3d0e9
net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
Feb 21, 2019
713b91c
missing barriers in some of unix_sock ->addr and ->path accesses
Feb 15, 2019
510c625
ipvlan: disallow userns cap_net_admin to change global mode/flags
borkmann Feb 19, 2019
8fa3e87
vxlan: Fix GRO cells race condition between receive and link delete
sbrivio-rh Mar 8, 2019
0bea382
rxrpc: Fix client call queueing, waiting for channel
dhowells Mar 9, 2019
7cbb0ab
gro_cells: make sure device is up in gro_cells_receive()
edumazet Mar 10, 2019
83fe873
tcp/dccp: remove reqsk_put() from inet_child_forget()
edumazet Sep 11, 2017
4f964aa
perf/x86: Fixup typo in stub functions
Mar 15, 2019
a3a870c
ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O agai…
takaswie Feb 26, 2019
3decc9d
It's wrong to add len to sector_nr in raid10 reshape twice
XiaoNi87 Mar 8, 2019
883f7c3
mmc: tmio_mmc_core: don't claim spurious interrupts
Feb 18, 2019
0da773c
of: Support const and non-const use for to_of_node()
May 24, 2017
5ebcee9
vhost/vsock: fix vhost vsock cid hashing inconsistent
zhabinecho Jan 8, 2019
f5fd34f
Linux 4.9.164
gregkh Mar 19, 2019
7f422aa
media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
Nov 19, 2018
0a97dbd
9p: use inode->i_lock to protect i_size_write() under 32-bit
Jan 24, 2019
b5d6f47
9p/net: fix memory leak in p9_client_create
zhengbin13 Mar 13, 2019
3492ee4
ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
TE-N-ShengjiuWang Feb 18, 2019
ffe5a99
iio: adc: exynos-adc: Fix NULL pointer exception on unbind
krzk Feb 8, 2019
03750aa
stm class: Fix an endless loop in channel allocation
zjin7 Sep 6, 2018
a475fe3
crypto: caam - fixed handling of sg list
pangupta Feb 1, 2019
38605cc
crypto: ahash - fix another early termination in hash walk
ebiggers Feb 1, 2019
7052282
gpu: ipu-v3: Fix i.MX51 CSI control registers offset
shcgit Dec 20, 2018
06d73d1
gpu: ipu-v3: Fix CSI offsets for imx53
slongerbeam Oct 17, 2018
6a5cda4
s390/dasd: fix using offset into zero size array error
Nov 21, 2018
e9ecab0
ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be…
Jan 26, 2019
3c8b39a
Input: cap11xx - switch to using set_brightness_blocking()
dtor Feb 5, 2019
8faa6f2
Input: matrix_keypad - use flush_delayed_work()
dtor Feb 7, 2019
489a9ab
floppy: check_events callback should not return a negative number
Jan 29, 2019
c133d8e
mm/gup: fix gup_pmd_range() for dax
yuzhaogoogle Feb 12, 2019
484e89a
mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
thejh Feb 13, 2019
4d8854a
net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
Feb 14, 2019
9f7ae2d
i2c: cadence: Fix the hold bit setting
Feb 5, 2019
2e0e73d
Input: st-keyscan - fix potential zalloc NULL dereference
Gabriel-Fernandez-stm Feb 17, 2019
2c304e4
clk: sunxi: A31: Fix wrong AHB gate number
Andre-ARM Jan 23, 2019
6256557
ARM: 8824/1: fix a migrating irq bug when hotplug cpu
deggeman Jan 21, 2019
740f4ae
assoc_array: Fix shortcut creation
dhowells Feb 14, 2019
8d7045a
scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
anoobs Feb 13, 2019
72c50b0
net: systemport: Fix reception of BPDUs
ffainelli Feb 15, 2019
6faf692
pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
xdarklight Feb 9, 2019
d299d2c
qmi_wwan: apply SET_DTR quirk to Sierra WP7607
bengal Feb 15, 2019
449bb94
net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_pro…
khoroshilov Feb 15, 2019
5772f03
ASoC: topology: free created components in tplg load error
bardliao Feb 17, 2019
46043c1
arm64: Relax GIC version check during early boot
murzinv Feb 20, 2019
eda2912
net: marvell: mvneta: fix DMA debug warning
Feb 15, 2019
eb85c84
tmpfs: fix link accounting when a tmpfile is linked in
djwong Feb 21, 2019
c29505f
ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
Jan 30, 2019
f8a845c
ARC: uacces: remove lp_start, lp_end from clobber list
vineetgarc Feb 5, 2019
3dc60d4
phonet: fix building with clang
arndb Feb 19, 2019
703473b
mac80211_hwsim: propagate genlmsg_reply return code
lrq-max Feb 19, 2019
cdccf12
net: thunderx: make CFG_DONE message to run through generic send-ack …
Feb 20, 2019
cb986f5
nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
Feb 22, 2019
b2743d8
nfp: bpf: fix ALU32 high bits clearance bug
Feb 22, 2019
10a81a1
net: set static variable an initial value in atl2_probe()
Feb 22, 2019
2484aab
tmpfs: fix uninitialized return value in shmem_link
djwong Feb 23, 2019
a9624ba
stm class: Prevent division by zero
virtuoso Feb 21, 2019
4465532
libnvdimm/label: Clear 'updating' flag after label-set update
djbw Jan 15, 2019
9f98f27
libnvdimm/pmem: Honor force_raw for legacy pmem regions
djbw Jan 25, 2019
f45c6c3
libnvdimm: Fix altmap reservation size calculation
oohal Feb 6, 2019
dd39aff
crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
ebiggers Jan 7, 2019
9a0eec8
crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
Jan 24, 2019
f8a0d9c
CIFS: Do not reset lease state to NONE on lease break
piastry Feb 13, 2019
776f01e
CIFS: Fix read after write for files with read caching
piastry Mar 5, 2019
286ffaa
tracing: Use strncpy instead of memcpy for string keys in hist triggers
tzanussi Feb 4, 2019
037a6cf
tracing: Do not free iter->trace in fail path of tracing_open_pipe()
zhangyi089 Feb 13, 2019
d74bc74
ACPI / device_sysfs: Avoid OF modalias creation for removed device
andy-shev Mar 11, 2019
1a3f244
spi: ti-qspi: Fix mmap read when more than one CS in use
r-vignesh Jan 29, 2019
b8a8115
spi: pxa2xx: Setup maximum supported DMA transfer length
andy-shev Feb 19, 2019
686ca7f
regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
krzk Feb 9, 2019
e24432b
regulator: s2mpa01: Fix step values for some LDOs
Feb 12, 2019
c83aa58
clocksource/drivers/exynos_mct: Move one-shot check from tick clear t…
Feb 10, 2019
c7a897a
clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
Feb 10, 2019
ffcad0a
s390/virtio: handle find on invalid queue gracefully
halil-pasic Jan 21, 2019
85af500
scsi: virtio_scsi: don't send sc payload with tmfs
franciozzy Feb 27, 2019
98a5238
scsi: sd: Optimal I/O size should be a multiple of physical block size
martinkpetersen Feb 12, 2019
1ef34b9
scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
bvanassche Jan 25, 2019
8c93709
fs/devpts: always delete dcache dentry-s in dput()
Jan 24, 2019
943ebf4
splice: don't merge into linked buffers
thejh Jan 23, 2019
9cfc01b
m68k: Add -ffreestanding to CFLAGS
Jan 16, 2019
0284f46
btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
Feb 18, 2019
fc3a73f
Btrfs: fix corruption reading shared and compressed extents after hol…
fdmanana Feb 14, 2019
a329c15
crypto: pcbc - remove bogus memcpy()s with src == dest
ebiggers Jan 4, 2019
b9ad2da
libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
lkundrak Feb 10, 2019
4ddd617
cpufreq: tegra124: add missing of_node_put()
TinyWindzz Feb 4, 2019
05b6516
cpufreq: pxa2xx: remove incorrect __init annotation
arndb Mar 7, 2019
14a0bfd
ext4: fix crash during online resizing
jankara Feb 11, 2019
4b5f060
ext2: Fix underflow in ext2_max_size()
jankara Jan 29, 2019
51e197b
clk: clk-twl6040: Fix imprecise external abort for pdmclk
tmlind Feb 11, 2019
febc1a3
clk: ingenic: Fix round_rate misbehaving with non-integer dividers
pcercuei Jan 28, 2019
b1fc27d
clk: ingenic: Fix doc of ingenic_cgu_div_info
pcercuei Jan 28, 2019
55bfb2a
nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
dcui Jan 30, 2019
78f42f1
mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
xiongzhongjiang Mar 5, 2019
5b4e779
mm/vmalloc: fix size check for remap_vmalloc_range_partial()
Mar 5, 2019
45a67f1
kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
zevweiss Mar 12, 2019
4b0a5e8
device property: Fix the length used in PROPERTY_ENTRY_STRING()
Jan 23, 2019
6e7a860
intel_th: Don't reference unassigned outputs
virtuoso Jan 24, 2019
c281b04
parport_pc: fix find_superio io compare code, should use equal test.
qiaomartin Feb 9, 2019
5458907
i2c: tegra: fix maximum transfer size
Feb 12, 2019
bf20b9d
drm/i915: Relax mmap VMA check
tursulin Mar 5, 2019
03b0466
serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
anssih Feb 15, 2019
0cfe116
serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
lkundrak Feb 24, 2019
a3a6508
8250: FIX Fourth port offset of Pericom PI7C9X7954 boards
buttisoft Nov 7, 2016
1c1919e
serial: 8250_pci: Fix number of ports for ACCES serial cards
Feb 13, 2019
16afcc3
serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7…
Feb 13, 2019
6713df7
jbd2: clear dirty flag when revoking a buffer from an older transaction
zhangyi089 Feb 11, 2019
241f3e3
jbd2: fix compile warning when using JBUFFER_TRACE
zhangyi089 Feb 21, 2019
9b53d04
powerpc/32: Clear on-stack exception marker upon exception return
chleroy Feb 27, 2019
abd8c86
powerpc/wii: properly disable use of BATs when requested.
chleroy Feb 21, 2019
f3b4d46
powerpc/powernv: Make opal log only readable by root
iamjpn Feb 27, 2019
5d8fff6
powerpc/83xx: Also save/restore SPRG4-7 during suspend
chleroy Jan 25, 2019
b8f072b
powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
mcayland Feb 8, 2019
380960e
powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
mpe Feb 14, 2019
a331023
ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
GustavoARSilva Jan 3, 2019
e393365
dm: fix to_sector() for 32bit
neilbrown Jan 6, 2019
0da4596
NFS: Fix I/O request leakages
Feb 13, 2019
18ae814
NFS: Fix an I/O request leakage in nfs_do_recoalesce
Feb 15, 2019
7ed6082
NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
Feb 15, 2019
e4ea22f
nfsd: fix memory corruption caused by readdir
Mar 4, 2019
33c164d
nfsd: fix wrong check in write_v4_end_grace()
Mar 6, 2019
6f76eec
PM / wakeup: Rework wakeup source timer cancellation
vireshk Mar 8, 2019
7fb9a25
bcache: never writeback a discard operation
daxtens Feb 9, 2019
d07d516
perf intel-pt: Fix CYC timestamp calculation after OVF
ahunter6 Feb 6, 2019
300ef83
perf auxtrace: Define auxtrace record alignment
ahunter6 Feb 6, 2019
4f7c16b
perf intel-pt: Fix overlap calculation for padding
ahunter6 Feb 6, 2019
5ed7a8f
perf intel-pt: Fix divide by zero when TSC is not available
ahunter6 Mar 1, 2019
f61b68e
md: Fix failed allocation of md_register_thread
Mar 4, 2019
3b2bbd1
rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
zhangjun0718 Dec 18, 2018
7e1b580
media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
Jan 30, 2019
45fe916
drm/radeon/evergreen_cs: fix missing break in switch statement
GustavoARSilva Feb 15, 2019
9748354
KVM: nVMX: Sign extend displacements of VMX instr's mem operands
Jan 23, 2019
7b3c6c4
KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
Jan 23, 2019
5e29da0
KVM: X86: Fix residual mmio emulation request to userspace
Aug 10, 2017
1c453af
Linux 4.9.165
gregkh Mar 23, 2019
c179e6d
mmc: pxamci: fix enum type confusion
arndb Mar 7, 2019
eea23ca
drm/vmwgfx: Don't double-free the mode stored in par->set_mode
Mar 18, 2019
cfa2d25
iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
Mar 13, 2019
9c32ada
libceph: wait for latest osdmap in ceph_monc_blacklist_add()
idryomov Mar 20, 2019
9247706
udf: Fix crash on IO error during truncate
jankara Mar 11, 2019
f6b55e7
mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
biergaizi Mar 4, 2019
c7ac334
MIPS: Ensure ELF appended dtb is relocated
yashac3 Mar 8, 2019
b84089b
MIPS: Fix kernel crash for R6 in jump label branch function
Mar 8, 2019
726c28f
futex: Ensure that futex address is aligned in handle_futex_death()
Mar 15, 2019
c818b2f
objtool: Move objtool_file struct off the stack
jpoimboe Mar 19, 2019
d9f0ce8
ext4: fix NULL pointer dereference while journal is aborted
Mar 15, 2019
8651fa1
ext4: fix data corruption caused by unaligned direct AIO
Mar 15, 2019
7002d0e
ext4: brelse all indirect buffer in ext4_ind_remove_space()
zhangyi089 Mar 23, 2019
d54a396
media: v4l2-ctrls.c/uvc: zero v4l2_event
hverkuil Dec 18, 2018
bd140b0
Bluetooth: Fix decrementing reference count twice in releasing socket
myunghoj Feb 3, 2019
670d934
locking/lockdep: Add debug_locks check in __lock_downgrade()
Waiman-Long Jan 10, 2019
5ee8694
ALSA: hda - Record the current power state before suspend/resume calls
tiwai Jan 29, 2019
9e9e3a4
ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
jason77-wang Mar 19, 2019
dfe4f69
tcp/dccp: drop SYN packets if accept queue is full
edumazet Oct 26, 2016
356b5e1
serial: sprd: adjust TIMEOUT to a big value
Mar 27, 2017
1987172
Hang/soft lockup in d_invalidate with simultaneous calls
Jun 3, 2017
fc42149
arm64: traps: disable irq in die()
Jul 7, 2017
503b4ca
serial: sprd: clear timeout interrupt only rather than all interrupts
Jul 18, 2017
e6008a0
lib/int_sqrt: optimize small argument
Nov 17, 2017
6969767
USB: core: only clean up what we allocated
xairy Dec 11, 2017
321c5ad
scsi: ufs: fix wrong command type of UTRD for UFSHCI v2.1
Sep 6, 2017
018ea3f
rtc: Fix overflow when converting time64_t to rtc_time
wangbaolin719 Dec 25, 2017
4061695
pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.
Mar 28, 2018
d746cb4
power: supply: charger-manager: Fix incorrect return value
wangbaolin719 Nov 16, 2018
8d78505
ath10k: avoid possible string overflow
arndb Mar 28, 2018
60771fc
Linux 4.9.166
gregkh Mar 27, 2019
32aca03
Merge tag 'v4.9.166' into 4.9-2.3.x-imx
ziswiler Mar 28, 2019
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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions Documentation/devicetree/bindings/eeprom/eeprom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Required properties:

"atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04",
"atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64",
"atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024"
"atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024",
"atmel,24c2048"

"catalyst,24c32"

Expand All @@ -17,7 +18,7 @@ Required properties:
If there is no specific driver for <manufacturer>, a generic
driver based on <type> is selected. Possible types are:
"24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
"24c128", "24c256", "24c512", "24c1024", "spd"
"24c128", "24c256", "24c512", "24c1024", "24c2048", "spd"

- reg : the I2C address of the EEPROM

Expand Down
4 changes: 3 additions & 1 deletion Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,9 @@ manner. The codes are the following:

Note that there is no guarantee that every flag and associated mnemonic will
be present in all further kernel releases. Things get changed, the flags may
be vanished or the reverse -- new added.
be vanished or the reverse -- new added. Interpretation of their meaning
might change in future as well. So each consumer of these flags has to
follow each specific kernel version for the exact semantic.

This file is only present if the CONFIG_MMU kernel configuration option is
enabled.
Expand Down
60 changes: 29 additions & 31 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 144
SUBLEVEL = 166
EXTRAVERSION =
NAME = Roaring Lionus

Expand Down Expand Up @@ -306,11 +306,6 @@ HOSTCXX = g++
HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
HOSTCXXFLAGS = -O2

ifeq ($(shell $(HOSTCC) -v 2>&1 | grep -c "clang version"), 1)
HOSTCFLAGS += -Wno-unused-value -Wno-unused-parameter \
-Wno-missing-field-initializers -fno-delete-null-pointer-checks
endif

# Decide whether to build built-in, modular, or both.
# Normally, just do built-in.

Expand Down Expand Up @@ -511,34 +506,17 @@ endif

ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TARGET := -target $(notdir $(CROSS_COMPILE:%-=%))
GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..)
CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%))
GCC_TOOLCHAIN_DIR := $(dir $(shell which $(LD)))
CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)
GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..)
endif
ifneq ($(GCC_TOOLCHAIN),)
CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN)
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
endif
KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
# Quiet clang warning: comparison of unsigned expression < 0 is always false
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)
KBUILD_AFLAGS += $(call cc-option, -no-integrated-as)
else

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.build)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
CLANG_FLAGS += -no-integrated-as
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
endif


Expand Down Expand Up @@ -737,6 +715,26 @@ ifdef CONFIG_CC_STACKPROTECTOR
endif
KBUILD_CFLAGS += $(stackp-flag)

ifeq ($(cc-name),clang)
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
# Quiet clang warning: comparison of unsigned expression < 0 is always false
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
else

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
endif

KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
else
Expand Down
6 changes: 3 additions & 3 deletions arch/alpha/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@

#elif defined(CONFIG_ALPHA_DP264) || \
defined(CONFIG_ALPHA_LYNX) || \
defined(CONFIG_ALPHA_SHARK) || \
defined(CONFIG_ALPHA_EIGER)
defined(CONFIG_ALPHA_SHARK)
# define NR_IRQS 64

#elif defined(CONFIG_ALPHA_TITAN)
#define NR_IRQS 80

#elif defined(CONFIG_ALPHA_RAWHIDE) || \
defined(CONFIG_ALPHA_TAKARA)
defined(CONFIG_ALPHA_TAKARA) || \
defined(CONFIG_ALPHA_EIGER)
# define NR_IRQS 128

#elif defined(CONFIG_ALPHA_WILDFIRE)
Expand Down
2 changes: 1 addition & 1 deletion arch/alpha/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ __load_new_mm_context(struct mm_struct *next_mm)
/* Macro for exception fixup code to access integer registers. */
#define dpf_reg(r) \
(((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 : \
(r) <= 18 ? (r)+8 : (r)-10])
(r) <= 18 ? (r)+10 : (r)-10])

asmlinkage void
do_page_fault(unsigned long address, unsigned long mmcsr,
Expand Down
1 change: 0 additions & 1 deletion arch/arc/configs/zebu_hs_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
CONFIG_EXPERT=y
CONFIG_PERF_EVENTS=y
# CONFIG_COMPAT_BRK is not set
Expand Down
1 change: 0 additions & 1 deletion arch/arc/configs/zebu_hs_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
# CONFIG_VM_EVENT_COUNTERS is not set
Expand Down
6 changes: 3 additions & 3 deletions arch/arc/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static inline __attribute__ ((const)) int __fls(unsigned long x)
/*
* __ffs: Similar to ffs, but zero based (0-31)
*/
static inline __attribute__ ((const)) int __ffs(unsigned long word)
static inline __attribute__ ((const)) unsigned long __ffs(unsigned long word)
{
if (!word)
return word;
Expand Down Expand Up @@ -400,9 +400,9 @@ static inline __attribute__ ((const)) int ffs(unsigned long x)
/*
* __ffs: Similar to ffs, but zero based (0-31)
*/
static inline __attribute__ ((const)) int __ffs(unsigned long x)
static inline __attribute__ ((const)) unsigned long __ffs(unsigned long x)
{
int n;
unsigned long n;

asm volatile(
" ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */
Expand Down
11 changes: 11 additions & 0 deletions arch/arc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@

#define ARCH_DMA_MINALIGN L1_CACHE_BYTES

/*
* Make sure slab-allocated buffers are 64-bit aligned when atomic64_t uses
* ARCv2 64-bit atomics (LLOCKD/SCONDD). This guarantess runtime 64-bit
* alignment for any atomic64_t embedded in buffer.
* Default ARCH_SLAB_MINALIGN is __alignof__(long long) which has a relaxed
* value of 4 (and not 8) in ARC ABI.
*/
#if defined(CONFIG_ARC_HAS_LL64) && defined(CONFIG_ARC_HAS_LLSC)
#define ARCH_SLAB_MINALIGN 8
#endif

extern void arc_cache_init(void);
extern char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len);
extern void read_decode_cache_bcr(void);
Expand Down
72 changes: 72 additions & 0 deletions arch/arc/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/types.h>
#include <asm/byteorder.h>
#include <asm/page.h>
#include <asm/unaligned.h>

#ifdef CONFIG_ISA_ARCV2
#include <asm/barrier.h>
Expand Down Expand Up @@ -94,6 +95,42 @@ static inline u32 __raw_readl(const volatile void __iomem *addr)
return w;
}

/*
* {read,write}s{b,w,l}() repeatedly access the same IO address in
* native endianness in 8-, 16-, 32-bit chunks {into,from} memory,
* @count times
*/
#define __raw_readsx(t,f) \
static inline void __raw_reads##f(const volatile void __iomem *addr, \
void *ptr, unsigned int count) \
{ \
bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \
u##t *buf = ptr; \
\
if (!count) \
return; \
\
/* Some ARC CPU's don't support unaligned accesses */ \
if (is_aligned) { \
do { \
u##t x = __raw_read##f(addr); \
*buf++ = x; \
} while (--count); \
} else { \
do { \
u##t x = __raw_read##f(addr); \
put_unaligned(x, buf++); \
} while (--count); \
} \
}

#define __raw_readsb __raw_readsb
__raw_readsx(8, b)
#define __raw_readsw __raw_readsw
__raw_readsx(16, w)
#define __raw_readsl __raw_readsl
__raw_readsx(32, l)

#define __raw_writeb __raw_writeb
static inline void __raw_writeb(u8 b, volatile void __iomem *addr)
{
Expand Down Expand Up @@ -126,6 +163,35 @@ static inline void __raw_writel(u32 w, volatile void __iomem *addr)

}

#define __raw_writesx(t,f) \
static inline void __raw_writes##f(volatile void __iomem *addr, \
const void *ptr, unsigned int count) \
{ \
bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \
const u##t *buf = ptr; \
\
if (!count) \
return; \
\
/* Some ARC CPU's don't support unaligned accesses */ \
if (is_aligned) { \
do { \
__raw_write##f(*buf++, addr); \
} while (--count); \
} else { \
do { \
__raw_write##f(get_unaligned(buf++), addr); \
} while (--count); \
} \
}

#define __raw_writesb __raw_writesb
__raw_writesx(8, b)
#define __raw_writesw __raw_writesw
__raw_writesx(16, w)
#define __raw_writesl __raw_writesl
__raw_writesx(32, l)

/*
* MMIO can also get buffered/optimized in micro-arch, so barriers needed
* Based on ARM model for the typical use case
Expand All @@ -141,10 +207,16 @@ static inline void __raw_writel(u32 w, volatile void __iomem *addr)
#define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
#define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; })
#define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; })
#define readsb(p,d,l) ({ __raw_readsb(p,d,l); __iormb(); })
#define readsw(p,d,l) ({ __raw_readsw(p,d,l); __iormb(); })
#define readsl(p,d,l) ({ __raw_readsl(p,d,l); __iormb(); })

#define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
#define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); })
#define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); })
#define writesb(p,d,l) ({ __iowmb(); __raw_writesb(p,d,l); })
#define writesw(p,d,l) ({ __iowmb(); __raw_writesw(p,d,l); })
#define writesl(p,d,l) ({ __iowmb(); __raw_writesl(p,d,l); })

/*
* Relaxed API for drivers which can handle barrier ordering themselves
Expand Down
3 changes: 2 additions & 1 deletion arch/arc/include/asm/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ static const char * const arc_pmu_ev_hw_map[] = {

/* counts condition */
[PERF_COUNT_HW_INSTRUCTIONS] = "iall",
[PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = "ijmp", /* Excludes ZOL jumps */
/* All jump instructions that are taken */
[PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = "ijmptak",
[PERF_COUNT_ARC_BPOK] = "bpok", /* NP-NT, PT-T, PNT-NT */
#ifdef CONFIG_ISA_ARCV2
[PERF_COUNT_HW_BRANCH_MISSES] = "bpmp",
Expand Down
8 changes: 4 additions & 4 deletions arch/arc/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ __arc_copy_from_user(void *to, const void __user *from, unsigned long n)
*/
"=&r" (tmp), "+r" (to), "+r" (from)
:
: "lp_count", "lp_start", "lp_end", "memory");
: "lp_count", "memory");

return n;
}
Expand Down Expand Up @@ -438,7 +438,7 @@ __arc_copy_to_user(void __user *to, const void *from, unsigned long n)
*/
"=&r" (tmp), "+r" (to), "+r" (from)
:
: "lp_count", "lp_start", "lp_end", "memory");
: "lp_count", "memory");

return n;
}
Expand Down Expand Up @@ -658,7 +658,7 @@ static inline unsigned long __arc_clear_user(void __user *to, unsigned long n)
" .previous \n"
: "+r"(d_char), "+r"(res)
: "i"(0)
: "lp_count", "lp_start", "lp_end", "memory");
: "lp_count", "memory");

return res;
}
Expand Down Expand Up @@ -691,7 +691,7 @@ __arc_strncpy_from_user(char *dst, const char __user *src, long count)
" .previous \n"
: "+r"(res), "+r"(dst), "+r"(src), "=r"(val)
: "g"(-EFAULT), "r"(count)
: "lp_count", "lp_start", "lp_end", "memory");
: "lp_count", "memory");

return res;
}
Expand Down
14 changes: 12 additions & 2 deletions arch/arc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <asm/entry.h>
#include <asm/arcregs.h>
#include <asm/cache.h>
#include <asm/irqflags.h>

.macro CPU_EARLY_SETUP

Expand Down Expand Up @@ -47,6 +48,15 @@
sr r5, [ARC_REG_DC_CTRL]

1:

#ifdef CONFIG_ISA_ARCV2
; Unaligned access is disabled at reset, so re-enable early as
; gcc 7.3.1 (ARC GNU 2018.03) onwards generates unaligned access
; by default
lr r5, [status32]
bset r5, r5, STATUS_AD_BIT
kflag r5
#endif
.endm

.section .init.text, "ax",@progbits
Expand Down Expand Up @@ -93,9 +103,9 @@ ENTRY(stext)
#ifdef CONFIG_ARC_UBOOT_SUPPORT
; Uboot - kernel ABI
; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
; r1 = magic number (board identity, unused as of now
; r1 = magic number (always zero as of now)
; r2 = pointer to uboot provided cmdline or external DTB in mem
; These are handled later in setup_arch()
; These are handled later in handle_uboot_args()
st r0, [@uboot_tag]
st r2, [@uboot_arg]
#endif
Expand Down
Loading