Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
935 commits
Select commit Hold shift + click to select a range
6f8348f
net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
wens Aug 29, 2019
6f31263
tcp: inherit timestamp on mtu probe
wdebruij Aug 27, 2019
5977bc1
tcp: remove empty skb from write queue in error cases
edumazet Aug 26, 2019
9484203
net/rds: Fix info leak in rds6_inc_info_copy()
kcp-git Aug 26, 2019
ee271ea
x86/boot: Preserve boot_params.secure_boot from sanitizing
jsjgruber Sep 1, 2019
a4a9ee7
spi: bcm2835aux: unifying code between polling and interrupt driven code
msperl Mar 30, 2019
fe49c3d
spi: bcm2835aux: remove dangerous uncontrolled read of fifo
msperl Mar 30, 2019
3ddda4f
spi: bcm2835aux: fix corruptions for longer spi transfers
msperl Mar 30, 2019
d22ed7b
net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq i…
Yellow-Pay Aug 9, 2019
5776970
netfilter: nf_tables: use-after-free in failing rule with bound set
ummakynes Aug 9, 2019
463d87b
tools: bpftool: fix error message (prog -> object)
Aug 7, 2019
752832f
hv_netvsc: Fix a warning of suspicious RCU usage
dcui Aug 9, 2019
7b7a115
net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
nathanchance Aug 12, 2019
32e912b
Bluetooth: btqca: Add a short delay before downloading the NVM
Jul 9, 2019
cc8aa61
ibmveth: Convert multicast list size for little-endian system
tlfalcon Aug 12, 2019
6052090
gpio: Fix build error of function redefinition
Jul 31, 2019
a54fa5d
netfilter: nft_flow_offload: skip tcp rst and fin packets
ummakynes Aug 13, 2019
c9f5954
drm/mediatek: use correct device to import PRIME buffers
Gnurou Jul 29, 2019
b349636
drm/mediatek: set DMA max segment size
Gnurou Jul 29, 2019
6c9a1e1
scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
bkstratus Aug 14, 2019
b8cd0b7
scsi: target: tcmu: avoid use-after-free after command timeout
dmitry-fomichev Aug 11, 2019
2c3dd20
cxgb4: fix a memory leak bug
wenwenwang1 Aug 13, 2019
f13b7ec
liquidio: add cleanup in octeon_setup_iq()
wenwenwang1 Aug 14, 2019
375ab44
net: myri10ge: fix memory leaks
wenwenwang1 Aug 14, 2019
9ea1fea
lan78xx: Fix memory leaks
wenwenwang1 Aug 14, 2019
ac3cc25
vfs: fix page locking deadlocks when deduping files
djwong Aug 11, 2019
1ad45d0
cx82310_eth: fix a memory leak bug
wenwenwang1 Aug 14, 2019
4fcb9b3
net: kalmia: fix memory leaks
wenwenwang1 Aug 14, 2019
ea78dc8
ibmvnic: Unmap DMA address of TX descriptor buffers after use
tlfalcon Aug 14, 2019
7506e8c
net: cavium: fix driver name
shemminger Aug 15, 2019
54eac39
wimax/i2400m: fix a memory leak bug
wenwenwang1 Aug 15, 2019
a5839b6
ravb: Fix use-after-free ravb_tstamp_skb
thohuongtranvu Aug 16, 2019
5e1d50a
kprobes: Fix potential deadlock in kprobe_optimizer()
Aug 12, 2019
05d611c
HID: cp2112: prevent sleeping function called from invalid context
bentiss Aug 12, 2019
e02aac3
x86/boot/compressed/64: Fix boot on machines with broken E820 table
kiryl Aug 13, 2019
1d42e40
Input: hyperv-keyboard: Use in-place iterator API in the channel call…
dcui Aug 20, 2019
5bbebce
Tools: hv: kvp: eliminate 'may be used uninitialized' warning
vittyvk Aug 19, 2019
5e416b1
nvme-multipath: fix possible I/O hang when paths are updated
anton-lb Aug 12, 2019
adb8702
IB/mlx4: Fix memory leaks
wenwenwang1 Aug 18, 2019
d1b7f32
infiniband: hfi1: fix a memory leak bug
wenwenwang1 Aug 18, 2019
08c2052
infiniband: hfi1: fix memory leaks
wenwenwang1 Aug 18, 2019
6cb9f8d
selftests: kvm: fix state save/load on processors without XSAVE
bonzini Aug 20, 2019
ddb55cc
selftests/kvm: make platform_info_test pass on AMD
vittyvk Jun 10, 2019
dfb8712
ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
Jul 19, 2019
5cd1e35
ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattr…
Jul 19, 2019
b84817d
ceph: fix buffer free while holding i_ceph_lock in fill_inode()
Jul 19, 2019
111d36b
KVM: arm/arm64: Only skip MMIO insn once
Aug 22, 2019
1a31b0d
afs: Fix leak in afs_lookup_cell_rcu()
dhowells Aug 22, 2019
b8727df
KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
Andre-ARM Aug 23, 2019
5049632
x86/boot/compressed/64: Fix missing initialization in find_trampoline…
kiryl Aug 26, 2019
0f134f6
libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
Jul 19, 2019
991467a
Revert "x86/apic: Include the LDR when clearing out APIC registers"
torvalds Sep 7, 2019
ee809c7
Linux 4.19.72
gregkh Sep 10, 2019
216dcce
Merge tag 'v4.19.71' into lts2018/android
kumarkan Sep 10, 2019
637aa4a
media: update ti960 gpio pin to the default setting
yangz1x Sep 5, 2019
22b0e4c
fs: userfaultfd.c - Fix compilation error
kumarkan Sep 11, 2019
86d0af7
Merge "media: update ti960 gpio pin to the default setting" into lts2…
krispan-intel Sep 16, 2019
2c4d2ce
ALSA: hda - Fix potential endless loop at applying quirks
tiwai Aug 29, 2019
d11ca2d
ALSA: hda/realtek - Fix overridden device-specific initialization
tiwai Aug 30, 2019
a956998
ALSA: hda/realtek - Add quirk for HP Pavilion 15
sambazley Sep 1, 2019
849f85b
ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX4…
starnight Sep 2, 2019
044ab47
ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
jason77-wang Sep 4, 2019
38d38d1
sched/fair: Don't assign runtime for throttled cfs_rq
Aug 26, 2019
dcd22e1
drm/vmwgfx: Fix double free in vmw_recv_msg()
Aug 15, 2019
4f45483
vhost/test: fix build for vhost test
Aug 28, 2019
6e7040d
vhost/test: fix build for vhost test - again
Aug 28, 2019
47a0f70
powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
Sep 4, 2019
4b5fee4
batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
edumazet Aug 12, 2019
86d5ae2
batman-adv: Only read OGM tvlv_len after buffer len check
ecsv Aug 22, 2019
91a71a6
hv_sock: Fix hang when a connection is closed
dcui Jul 31, 2019
5f33e81
Blk-iolatency: warn on negative inflight IO counter
liubogithub Jan 25, 2019
178d133
blk-iolatency: fix STS_AGAIN handling
dennisszhou Jul 5, 2019
1aa38ec
{nl,mac}80211: fix interface combinations on crypto controlled devices
Jul 22, 2019
6882925
timekeeping: Use proper ktime_add when adding nsecs in coarse offset
zx2c4 Jun 21, 2019
b93aed7
selftests: fib_rule_tests: use pre-defined DEV_ADDR
liuhangbin May 21, 2019
85a2482
x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace…
rostedt Mar 4, 2019
7f8b236
powerpc/64: mark start_here_multiplatform as __ref
chleroy May 10, 2019
5733701
media: stm32-dcmi: fix irq = 0 case
FDESTM May 31, 2019
6c550a5
arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-ro…
dvoytik Jan 22, 2019
8d23872
scripts/decode_stacktrace: match basepath using shell prefix operator…
drinkcat Jul 12, 2019
5f14715
riscv: remove unused variable in ftrace
davidlt Dec 6, 2018
480101a
nvme-fc: use separate work queue to avoid warning
hreinecke May 3, 2019
56944c0
clk: s2mps11: Add used attribute to s2mps11_dt_match
nathanchance Oct 18, 2018
84ba9ae
remoteproc: qcom: q6v5: shore up resource probe handling
computersforpeace Oct 9, 2018
9c49f78
modules: always page-align module section allocations
Jul 23, 2019
3015291
kernel/module: Fix mem leak in module_add_modinfo_attrs
Jun 11, 2019
c09d675
drm/i915: Re-apply "Perform link quality check, unconditionally durin…
jmglogow Aug 25, 2018
8513084
media: cec/v4l2: move V4L2 specific CEC functions to V4L2
Sep 13, 2018
6e087ea
media: cec: remove cec-edid.c
Sep 13, 2018
bac1c4e
scsi: qla2xxx: Move log messages before issuing command to firmware
Sep 27, 2018
3f3beae
keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
dhowells Sep 27, 2018
805e0e4
Drivers: hv: kvp: Fix two "this statement may fall through" warnings
dcui Sep 23, 2018
4d97075
x86, hibernate: Fix nosave_regions setup for hibernation
gu-zhimin Sep 21, 2018
2c2cf22
remoteproc: qcom: q6v5-mss: add SCM probe dependency
computersforpeace Oct 9, 2018
bcc3bd7
drm/amdgpu/gfx9: Update gfx9 golden settings.
Jul 26, 2018
8e91cc7
drm/amdgpu: Update gc_9_0 golden settings.
Oct 16, 2018
0b535f7
KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS
vittyvk Aug 22, 2018
f031fd0
KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv'…
vittyvk Sep 26, 2018
b0d9043
KVM: x86: hyperv: keep track of mismatched VP indexes
vittyvk Sep 26, 2018
cdad0f6
KVM: hyperv: define VP assist page helpers
ladipro Oct 16, 2018
796469e
x86/kvm/lapic: preserve gfn_to_hva_cache len on cache reinit
vittyvk Oct 16, 2018
4b2dfc0
drm/i915: Fix intel_dp_mst_best_encoder()
Lyude Oct 8, 2018
8ccbb1d
drm/i915: Rename PLANE_CTL_DECOMPRESSION_ENABLE
dhnkrn Aug 22, 2018
cff9e1e
drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
ideak Oct 16, 2018
e352d8e
drm/atomic_helper: Disallow new modesets on unregistered connectors
Lyude Oct 8, 2018
74ff258
Drivers: hv: kvp: Fix the indentation of some "break" statements
dcui Sep 23, 2018
11bedb2
Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
dcui Oct 18, 2018
5faabd2
powerplay: Respect units on max dcfclk watermark
fdavid-amd Oct 18, 2018
853dc07
drm/amd/pp: Fix truncated clock value when set watermark
Nov 13, 2018
016218e
drm/amd/dm: Understand why attaching path/tile properties are needed
Lyude Nov 19, 2018
0a6c3bd
ARM: davinci: da8xx: define gpio interrupts as separate resources
brgl Nov 21, 2018
4883e9e
ARM: davinci: dm365: define gpio interrupts as separate resources
brgl Nov 21, 2018
d31f2b6
ARM: davinci: dm646x: define gpio interrupts as separate resources
brgl Nov 21, 2018
8d6b2b2
ARM: davinci: dm355: define gpio interrupts as separate resources
brgl Nov 21, 2018
a4f404a
ARM: davinci: dm644x: define gpio interrupts as separate resources
brgl Nov 21, 2018
e432a58
s390/zcrypt: reinit ap queue state machine during device probe
hfreude Nov 9, 2018
a7b6f95
media: vim2m: use workqueue
May 21, 2018
f999485
media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_…
Nov 7, 2018
b185bde
drm/i915: Restore sane defaults for KMS on GEM error load
ickle Jul 26, 2018
d88b01d
drm/i915: Cleanup gt powerstate from gem
ickle Aug 12, 2018
d3984e8
KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mod…
paulusmack Nov 16, 2018
fac8034
Btrfs: clean up scrub is_dev_replace parameter
osandov Aug 14, 2018
338a528
Btrfs: fix deadlock with memory reclaim during scrub
fdmanana Nov 26, 2018
1669d1d
btrfs: Remove extent_io_ops::fill_delalloc
lorddoskias Nov 1, 2018
eb124aa
btrfs: Fix error handling in btrfs_cleanup_ordered_extents
lorddoskias Nov 21, 2018
dc4e3ec
scsi: megaraid_sas: Fix combined reply queue mode detection
shivasharan-s Oct 17, 2018
3263f78
scsi: megaraid_sas: Add check for reset adapter bit
shivasharan-s Oct 17, 2018
2ad95be
scsi: megaraid_sas: Use 63-bit DMA addressing
shivasharan-s Dec 18, 2018
cfbf227
powerpc/pkeys: Fix handling of pkey state across fork()
Dec 20, 2018
a2790b9
btrfs: volumes: Make sure no dev extent is beyond device boundary
adam900710 Oct 5, 2018
be77686
btrfs: Use real device structure to verify dev extent
adam900710 Jan 8, 2019
424b75b
media: vim2m: only cancel work if it is for right context
hverkuil Jan 11, 2019
96af7d9
ARC: show_regs: lockdep: re-enable preemption
vineetgarc Dec 18, 2018
8c6fb55
ARC: mm: do_page_fault fixes #1: relinquish mmap_sem if signal arrive…
vineetgarc Dec 11, 2018
f0e2865
IB/uverbs: Fix OOPs upon device disassociation
yishaih Jan 24, 2019
72eec6b
crypto: ccree - fix resume race condition on init
Feb 7, 2019
71f7191
crypto: ccree - add missing inline qualifier
Feb 11, 2019
2b4f567
drm/vblank: Allow dynamic per-crtc max_vblank_count
vsyrjala Nov 27, 2018
6fd5e50
drm/i915/ilk: Fix warning when reading emon_status with no output
zehortigoza Nov 19, 2018
c207ac6
mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
jhnikula Jan 21, 2019
ee30121
tpm: Fix some name collisions with drivers/char/tpm.h
Feb 5, 2019
d1cec66
bcache: replace hard coded number with BUCKET_GC_GEN_MAX
Oct 8, 2018
687e470
bcache: treat stale && dirty keys as bad keys
Feb 9, 2019
cd490d4
KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
Sep 2, 2019
7f588a7
iio: adc: exynos-adc: Add S5PV210 variant
xc-racer99 Dec 7, 2018
4e516b7
dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant
xc-racer99 Dec 7, 2018
0d7f329
iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
krzk Feb 12, 2019
173b655
mt76: fix corrupted software generated tx CCMP PN
nbd168 Sep 2, 2019
2b76fcb
drm/nouveau: Don't WARN_ON VCPI allocation failures
Lyude Jan 28, 2019
213566a
iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules
lucacoelho Aug 15, 2018
716b0cf
iwlwifi: add new card for 9260 series
Feb 4, 2019
1d60902
x86/kvmclock: set offset for kvm unstable clock
soleen Jan 26, 2019
b3f864b
spi: spi-gpio: fix SPI_CS_HIGH capability
Feb 21, 2019
915c9d0
powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
mpe Feb 22, 2019
df73292
mmc: renesas_sdhi: Fix card initialization failure in high speed mode
tasaito Jan 29, 2019
8ba3169
btrfs: scrub: pass fs_info to scrub_setup_ctx
kdave Dec 4, 2018
ff55333
btrfs: scrub: move scrub_setup_ctx allocation out of device_list_mutex
kdave Dec 4, 2018
936690b
btrfs: scrub: fix circular locking dependency warning
asj Jan 30, 2019
476ecc1
btrfs: init csum_list before possible free
dlrobertson Feb 19, 2019
be905d0
PCI: qcom: Fix error handling in runtime PM support
andersson Aug 31, 2018
e1a12c3
PCI: qcom: Don't deassert reset GPIO during probe
andersson Jan 25, 2019
e407b58
drm: add __user attribute to ptr_to_compat()
bjdooks-ct Mar 1, 2019
fb2dabe
CIFS: Fix error paths in writeback code
piastry Jan 8, 2019
778d626
CIFS: Fix leaking locked VFS cache pages in writeback retry
piastry Jan 30, 2019
6423a2a
drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
jlahtine-intel Feb 7, 2019
fba4f7c
drm/i915: Sanity check mmap length against object size
ickle Mar 14, 2019
3cfce8b
usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
jwrdegoede Mar 16, 2019
37222ea
arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
Mar 13, 2019
feced62
IB/mlx5: Reset access mask when looping inside page fault handler
monis410 Sep 2, 2019
163b24b
kvm: mmu: Fix overflow on kvm mmu page limit calculation
Apr 8, 2019
7a74d80
x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
wcwxyz Apr 12, 2019
df5d4ea
KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels
Apr 2, 2019
4061e66
cifs: Fix lease buffer length error
z00467499 Apr 6, 2019
f10a923
media: i2c: tda1997x: select V4L2_FWNODE
Mar 18, 2019
2fd4629
ext4: protect journal inode's blocks using block_validity
tytso Apr 10, 2019
df1216d
ARM: dts: qcom: ipq4019: fix PCI range
mkresin Jul 25, 2018
445a78e
ARM: dts: qcom: ipq4019: Fix MSI IRQ type
Jan 24, 2019
0a0176f
ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
chunkeey Feb 26, 2019
eb83f9f
dt-bindings: mmc: Add supports-cqe property
Jan 23, 2019
e4ba157
dt-bindings: mmc: Add disable-cqe-dcmd property.
cmuellner Mar 22, 2019
5659dfc
PCI: Add macro for Switchtec quirk declarations
lsgunth Oct 10, 2018
0fe0970
PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
Lyude Feb 12, 2019
6940985
dm mpath: fix missing call of path selector type->end_io
Apr 24, 2019
e238e6d
blk-mq: free hw queue's resource in hctx's release handler
Apr 30, 2019
842da8f
mmc: sdhci-pci: Add support for Intel CML
ahunter6 Apr 8, 2019
3f27a14
PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
rvosk Mar 29, 2019
96b44c2
cifs: smbd: take an array of reqeusts when sending upper layer data
longlimsft Apr 15, 2019
fcb2f1e
dm crypt: move detailed message into debug level
mbroz May 15, 2019
0828438
signal/arc: Use force_sig_fault where appropriate
ebiederm Aug 1, 2017
7edfa9c
ARC: mm: fix uninitialised signal code in do_page_fault
Nov 7, 2018
cacbc85
ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
May 13, 2019
90772cf
drm/amdkfd: Add missing Polaris10 ID
kentrussell May 13, 2019
d5f6539
kvm: Check irqchip mode before assign irqfd
xzpeter May 5, 2019
7abefff
drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
ChingShihLi May 24, 2019
f276beb
drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
ShirishSh Jun 4, 2019
1d06487
Btrfs: fix race between block group removal and block group allocation
fdmanana Jun 12, 2019
acc0794
cifs: add spinlock for the openFileList to cifsInodeInfo
Jun 5, 2019
350503c
clk: tegra: Fix maximum audio sync clock for Tegra124/210
jonhunter Dec 3, 2018
fa717fc
clk: tegra210: Fix default rates for HDA clocks
jonhunter Jun 5, 2019
90ca491
IB/hfi1: Avoid hardlockup with flushlist_lock
Jun 14, 2019
1711103
apparmor: reset pos on failure to unpack for various functions
mssalvatore Jun 12, 2019
ba52842
scsi: target/core: Use the SECTOR_SHIFT constant
bvanassche Oct 15, 2018
60b856d
scsi: target/iblock: Fix overrun in WRITE SAME emulation
Jul 2, 2019
ba8701d
staging: wilc1000: fix error path cleanup in wilc_wlan_initialize()
ajaykathat Jun 26, 2019
d85e830
scsi: zfcp: fix request object use-after-free in send path causing wr…
Benjamin-Block Jul 2, 2019
987564c
cifs: Properly handle auto disabling of serverino option
Jun 18, 2019
42fa0e3
ALSA: hda - Don't resume forcibly i915 HDMI/DP codec
tiwai Jul 16, 2019
8128103
ceph: use ceph_evict_inode to cleanup inode's resource
ukernel Jun 2, 2019
74fd8aa
KVM: x86: optimize check for valid PAT value
bonzini Apr 10, 2019
74ce133
KVM: VMX: Always signal #GP on WRMSR to MSR_IA32_CR_PAT with bad value
May 7, 2019
891011c
KVM: VMX: Fix handling of #MC that occurs during VM-Entry
Sep 2, 2019
beeeead
KVM: VMX: check CPUID before allowing read/write of IA32_XSS
Sep 2, 2019
3ac7180
KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
paulusmack Oct 8, 2018
3a1b79a
KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
mikey Jun 20, 2019
bab0ff2
ARM: dts: gemini: Set DIR-685 SPI CS as active low
Jul 15, 2019
9541604
RDMA/srp: Document srp_parse_in() arguments
bvanassche Dec 17, 2018
0ca2688
RDMA/srp: Accept again source addresses that do not have a port number
bvanassche May 29, 2019
1c13c9c
btrfs: correctly validate compression type
Jun 6, 2019
9a80dfc
resource: Include resource end in walk_*() interfaces
bjorn-helgaas Sep 27, 2018
485bcc2
resource: Fix find_next_iomem_res() iteration issue
bjorn-helgaas Sep 27, 2018
192b9af
resource: fix locking in find_next_iomem_res()
anadav Jul 18, 2019
5e9a2ce
pstore: Fix double-free in pstore_mkfile() failure path
nmanthey Jul 5, 2019
ecf99cd
dm thin metadata: check if in fail_io mode when setting needs_check
snitm Jul 2, 2019
87c3692
drm/panel: Add support for Armadeus ST0700 Adapt
sebszymanski May 7, 2019
5b9a6ba
ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
tiwai Jul 19, 2019
c4fc7cb
powerpc/mm: Limit rma_size to 1TB when running without HV mode
sjitindarsingh Jul 10, 2019
a532a12
iommu/iova: Remove stale cached32_node
ickle Jul 20, 2019
c9c9071
gpio: don't WARN() on NULL descs if gpiolib is disabled
brgl Jul 8, 2019
4c9170b
i2c: at91: disable TXRDY interrupt after sending data
osctobe Jul 22, 2019
b8ad18a
i2c: at91: fix clk_offset for sama5d2
osctobe Jul 22, 2019
2e7e7c8
mm/migrate.c: initialize pud_entry in migrate_vma()
Aug 3, 2019
5026932
iio: adc: gyroadc: fix uninitialized return code
arndb Jul 18, 2019
652993a
NFSv4: Fix delegation state recovery
Jul 19, 2019
7989a50
bcache: only clear BTREE_NODE_dirty bit when it is set
Jun 28, 2019
f73c35d
bcache: add comments for mutex_lock(&b->write_lock)
Jun 28, 2019
b113f98
bcache: fix race in btree_flush_write()
Jun 28, 2019
057cdb6
drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
vsyrjala Jul 17, 2019
b1dd1d0
virtio/s390: fix race on airq_areas[]
halil-pasic Jul 23, 2019
1e88a1f
drm/atomic_helper: Allow DPMS On<->Off changes for unregistered conne…
Lyude Oct 9, 2018
97fbf57
ext4: don't perform block validity checks on the journal inode
tytso May 22, 2019
292666d
ext4: fix block validity checks for journal inodes using indirect blocks
tytso May 15, 2019
ff69322
ext4: unsigned int compared against zero
May 11, 2019
f193e02
PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
Lyude Aug 1, 2019
052bc38
powerpc/tm: Remove msr_tm_active()
leitao Aug 16, 2018
569775b
powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
Sep 4, 2019
ba03ee6
vhost: make sure log_num < in_num
yongduan Sep 11, 2019
db2d0b7
Linux 4.19.73
gregkh Sep 16, 2019
73f6450
USB: Fix configuration selection issues introduced in v4.20.0
lierdakil Jan 15, 2019
b7e633a
Merge tag 'v4.19.73' into lts2018/android
kumarkan Sep 17, 2019
31dd8c1
Merge "USB: Fix configuration selection issues introduced in v4.20.0"…
krispan-intel Sep 19, 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
  •  
  •  
  •  
88 changes: 80 additions & 8 deletions Documentation/admin-guide/hw-vuln/spectre.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ Related CVEs

The following CVE entries describe Spectre variants:

============= ======================= =================
============= ======================= ==========================
CVE-2017-5753 Bounds check bypass Spectre variant 1
CVE-2017-5715 Branch target injection Spectre variant 2
============= ======================= =================
CVE-2019-1125 Spectre v1 swapgs Spectre variant 1 (swapgs)
============= ======================= ==========================

Problem
-------
Expand Down Expand Up @@ -78,6 +79,13 @@ There are some extensions of Spectre variant 1 attacks for reading data
over the network, see :ref:`[12] <spec_ref12>`. However such attacks
are difficult, low bandwidth, fragile, and are considered low risk.

Note that, despite "Bounds Check Bypass" name, Spectre variant 1 is not
only about user-controlled array bounds checks. It can affect any
conditional checks. The kernel entry code interrupt, exception, and NMI
handlers all have conditional swapgs checks. Those may be problematic
in the context of Spectre v1, as kernel code can speculatively run with
a user GS.

Spectre variant 2 (Branch Target Injection)
-------------------------------------------

Expand Down Expand Up @@ -132,6 +140,9 @@ not cover all possible attack vectors.
1. A user process attacking the kernel
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Spectre variant 1
~~~~~~~~~~~~~~~~~

The attacker passes a parameter to the kernel via a register or
via a known address in memory during a syscall. Such parameter may
be used later by the kernel as an index to an array or to derive
Expand All @@ -144,7 +155,40 @@ not cover all possible attack vectors.
potentially be influenced for Spectre attacks, new "nospec" accessor
macros are used to prevent speculative loading of data.

Spectre variant 2 attacker can :ref:`poison <poison_btb>` the branch
Spectre variant 1 (swapgs)
~~~~~~~~~~~~~~~~~~~~~~~~~~

An attacker can train the branch predictor to speculatively skip the
swapgs path for an interrupt or exception. If they initialize
the GS register to a user-space value, if the swapgs is speculatively
skipped, subsequent GS-related percpu accesses in the speculation
window will be done with the attacker-controlled GS value. This
could cause privileged memory to be accessed and leaked.

For example:

::

if (coming from user space)
swapgs
mov %gs:<percpu_offset>, %reg
mov (%reg), %reg1

When coming from user space, the CPU can speculatively skip the
swapgs, and then do a speculative percpu load using the user GS
value. So the user can speculatively force a read of any kernel
value. If a gadget exists which uses the percpu value as an address
in another load/store, then the contents of the kernel value may
become visible via an L1 side channel attack.

A similar attack exists when coming from kernel space. The CPU can
speculatively do the swapgs, causing the user GS to get used for the
rest of the speculative window.

Spectre variant 2
~~~~~~~~~~~~~~~~~

A spectre variant 2 attacker can :ref:`poison <poison_btb>` the branch
target buffer (BTB) before issuing syscall to launch an attack.
After entering the kernel, the kernel could use the poisoned branch
target buffer on indirect jump and jump to gadget code in speculative
Expand Down Expand Up @@ -280,11 +324,18 @@ The sysfs file showing Spectre variant 1 mitigation status is:

The possible values in this file are:

======================================= =================================
'Mitigation: __user pointer sanitation' Protection in kernel on a case by
case base with explicit pointer
sanitation.
======================================= =================================
.. list-table::

* - 'Not affected'
- The processor is not vulnerable.
* - 'Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers'
- The swapgs protections are disabled; otherwise it has
protection in the kernel on a case by case base with explicit
pointer sanitation and usercopy LFENCE barriers.
* - 'Mitigation: usercopy/swapgs barriers and __user pointer sanitization'
- Protection in the kernel on a case by case base with explicit
pointer sanitation, usercopy LFENCE barriers, and swapgs LFENCE
barriers.

However, the protections are put in place on a case by case basis,
and there is no guarantee that all possible attack vectors for Spectre
Expand Down Expand Up @@ -366,12 +417,27 @@ Turning on mitigation for Spectre variant 1 and Spectre variant 2
1. Kernel mitigation
^^^^^^^^^^^^^^^^^^^^

Spectre variant 1
~~~~~~~~~~~~~~~~~

For the Spectre variant 1, vulnerable kernel code (as determined
by code audit or scanning tools) is annotated on a case by case
basis to use nospec accessor macros for bounds clipping :ref:`[2]
<spec_ref2>` to avoid any usable disclosure gadgets. However, it may
not cover all attack vectors for Spectre variant 1.

Copy-from-user code has an LFENCE barrier to prevent the access_ok()
check from being mis-speculated. The barrier is done by the
barrier_nospec() macro.

For the swapgs variant of Spectre variant 1, LFENCE barriers are
added to interrupt, exception and NMI entry where needed. These
barriers are done by the FENCE_SWAPGS_KERNEL_ENTRY and
FENCE_SWAPGS_USER_ENTRY macros.

Spectre variant 2
~~~~~~~~~~~~~~~~~

For Spectre variant 2 mitigation, the compiler turns indirect calls or
jumps in the kernel into equivalent return trampolines (retpolines)
:ref:`[3] <spec_ref3>` :ref:`[9] <spec_ref9>` to go to the target
Expand Down Expand Up @@ -473,6 +539,12 @@ Mitigation control on the kernel command line
Spectre variant 2 mitigation can be disabled or force enabled at the
kernel command line.

nospectre_v1

[X86,PPC] Disable mitigations for Spectre Variant 1
(bounds check bypass). With this option data leaks are
possible in the system.

nospectre_v2

[X86] Disable all mitigations for the Spectre variant 2
Expand Down
14 changes: 11 additions & 3 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2522,6 +2522,7 @@
Equivalent to: nopti [X86,PPC]
nospectre_v1 [PPC]
nobp=0 [S390]
nospectre_v1 [X86]
nospectre_v2 [X86,PPC,S390]
spectre_v2_user=off [X86]
spec_store_bypass_disable=off [X86,PPC]
Expand Down Expand Up @@ -2868,9 +2869,9 @@
nosmt=force: Force disable SMT, cannot be undone
via the sysfs control file.

nospectre_v1 [PPC] Disable mitigations for Spectre Variant 1 (bounds
check bypass). With this option data leaks are possible
in the system.
nospectre_v1 [X66, PPC] Disable mitigations for Spectre Variant 1
(bounds check bypass). With this option data leaks
are possible in the system.

nospectre_v2 [X86,PPC_FSL_BOOK3E] Disable all mitigations for the Spectre variant 2
(indirect branch prediction) vulnerability. System may
Expand Down Expand Up @@ -3962,6 +3963,13 @@
Run specified binary instead of /init from the ramdisk,
used for early userspace startup. See initrd.

rdrand= [X86]
force - Override the decision by the kernel to hide the
advertisement of RDRAND support (this affects
certain AMD processors because of buggy BIOS
support, specifically around the suspend/resume
path).

rdt= [HW,X86,RDT]
Turn on/off individual RDT features. List is:
cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Armadeus ST0700 Adapt. A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with
an adapter board.

Required properties:
- compatible: "armadeus,st0700-adapt"
- power-supply: see panel-common.txt

Optional properties:
- backlight: see panel-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ New driver handles the following

Required properties:
- compatible: Must be "samsung,exynos-adc-v1"
for exynos4412/5250 and s5pv210 controllers.
for Exynos5250 controllers.
Must be "samsung,exynos-adc-v2" for
future controllers.
Must be "samsung,exynos3250-adc" for
controllers compatible with ADC of Exynos3250.
Must be "samsung,exynos4212-adc" for
controllers compatible with ADC of Exynos4212 and Exynos4412.
Must be "samsung,exynos7-adc" for
the ADC in Exynos7 and compatibles
Must be "samsung,s3c2410-adc" for
Expand All @@ -28,6 +30,8 @@ Required properties:
the ADC in s3c2443 and compatibles
Must be "samsung,s3c6410-adc" for
the ADC in s3c6410 and compatibles
Must be "samsung,s5pv210-adc" for
the ADC in s5pv210 and compatibles
- reg: List of ADC register address range
- The base address and range of ADC register
- The base address and range of ADC_PHY register (every
Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/mmc/mmc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ Optional properties:
be referred to mmc-pwrseq-simple.txt. But now it's reused as a tunable delay
waiting for I/O signalling and card power supply to be stable, regardless of
whether pwrseq-simple is used. Default to 10ms if no available.
- supports-cqe : The presence of this property indicates that the corresponding
MMC host controller supports HW command queue feature.
- disable-cqe-dcmd: This property indicates that the MMC controller's command
queue engine (CQE) does not support direct commands (DCMDs).

*NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line
polarity properties, we have to fix the meaning of the "normal" and "inverted"
Expand Down
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 19
SUBLEVEL = 62
SUBLEVEL = 73
EXTRAVERSION =
NAME = "People's Front"

Expand Down Expand Up @@ -430,6 +430,7 @@ KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
KBUILD_LDFLAGS :=
GCC_PLUGINS_CFLAGS :=
CLANG_FLAGS :=

export ARCH SRCARCH CONFIG_SHELL HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS
Expand Down Expand Up @@ -483,7 +484,7 @@ endif
ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TRIPLE ?= $(CROSS_COMPILE)
CLANG_FLAGS := --target=$(notdir $(CLANG_TRIPLE:%-=%))
CLANG_FLAGS += --target=$(notdir $(CLANG_TRIPLE:%-=%))
GCC_TOOLCHAIN_DIR := $(dir $(shell which $(LD)))
CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)
GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..)
Expand All @@ -492,6 +493,7 @@ ifneq ($(GCC_TOOLCHAIN),)
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
endif
CLANG_FLAGS += -no-integrated-as
CLANG_FLAGS += -Werror=unknown-warning-option
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
export CLANG_FLAGS
Expand Down Expand Up @@ -698,11 +700,8 @@ 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)
<<<<<<< HEAD
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
KBUILD_CFLAGS += $(call cc-disable-warning, duplicate-decl-specifier)
=======
>>>>>>> v4.19.57
# 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
Expand Down
13 changes: 0 additions & 13 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ config NR_CPUS

config ARC_SMP_HALT_ON_RESET
bool "Enable Halt-on-reset boot mode"
default y if ARC_UBOOT_SUPPORT
help
In SMP configuration cores can be configured as Halt-on-reset
or they could all start at same time. For Halt-on-reset, non
Expand Down Expand Up @@ -539,18 +538,6 @@ config ARC_DBG_TLB_PARANOIA

endif

config ARC_UBOOT_SUPPORT
bool "Support uboot arg Handling"
default n
help
ARC Linux by default checks for uboot provided args as pointers to
external cmdline or DTB. This however breaks in absence of uboot,
when booting from Metaware debugger directly, as the registers are
not zeroed out on reset by mdb and/or ARCv2 based cores. The bogus
registers look like uboot args to kernel which then chokes.
So only enable the uboot arg checking/processing if users are sure
of uboot being in play.

config ARC_BUILTIN_DTB_NAME
string "Built in DTB"
help
Expand Down
1 change: 0 additions & 1 deletion arch/arc/configs/nps_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ CONFIG_ARC_CACHE_LINE_SHIFT=5
# CONFIG_ARC_HAS_LLSC is not set
CONFIG_ARC_KVADDR_SIZE=402
CONFIG_ARC_EMUL_UNALIGNED=y
CONFIG_ARC_UBOOT_SUPPORT=y
CONFIG_PREEMPT=y
CONFIG_NET=y
CONFIG_UNIX=y
Expand Down
1 change: 0 additions & 1 deletion arch/arc/configs/vdk_hs38_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CONFIG_PARTITION_ADVANCED=y
CONFIG_ARC_PLAT_AXS10X=y
CONFIG_AXS103=y
CONFIG_ISA_ARCV2=y
CONFIG_ARC_UBOOT_SUPPORT=y
CONFIG_ARC_BUILTIN_DTB_NAME="vdk_hs38"
CONFIG_PREEMPT=y
CONFIG_NET=y
Expand Down
2 changes: 0 additions & 2 deletions arch/arc/configs/vdk_hs38_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ CONFIG_AXS103=y
CONFIG_ISA_ARCV2=y
CONFIG_SMP=y
# CONFIG_ARC_TIMERS_64BIT is not set
# CONFIG_ARC_SMP_HALT_ON_RESET is not set
CONFIG_ARC_UBOOT_SUPPORT=y
CONFIG_ARC_BUILTIN_DTB_NAME="vdk_hs38_smp"
CONFIG_PREEMPT=y
CONFIG_NET=y
Expand Down
2 changes: 0 additions & 2 deletions arch/arc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ ENTRY(stext)
st.ab 0, [r5, 4]
1:

#ifdef CONFIG_ARC_UBOOT_SUPPORT
; Uboot - kernel ABI
; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
; r1 = magic number (always zero as of now)
Expand All @@ -109,7 +108,6 @@ ENTRY(stext)
st r0, [@uboot_tag]
st r1, [@uboot_magic]
st r2, [@uboot_arg]
#endif

; setup "current" tsk and optionally cache it in dedicated r25
mov r9, @init_task
Expand Down
2 changes: 0 additions & 2 deletions arch/arc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ void __init handle_uboot_args(void)
bool use_embedded_dtb = true;
bool append_cmdline = false;

#ifdef CONFIG_ARC_UBOOT_SUPPORT
/* check that we know this tag */
if (uboot_tag != UBOOT_TAG_NONE &&
uboot_tag != UBOOT_TAG_CMDLINE &&
Expand Down Expand Up @@ -525,7 +524,6 @@ void __init handle_uboot_args(void)
append_cmdline = true;

ignore_uboot_args:
#endif

if (use_embedded_dtb) {
machine_desc = setup_machine_fdt(__dtb_start);
Expand Down
8 changes: 8 additions & 0 deletions arch/arc/kernel/troubleshoot.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ void show_regs(struct pt_regs *regs)
struct task_struct *tsk = current;
struct callee_regs *cregs;

/*
* generic code calls us with preemption disabled, but some calls
* here could sleep, so re-enable to avoid lockdep splat
*/
preempt_enable();

print_task_path_n_nm(tsk);
show_regs_print_info(KERN_INFO);

Expand Down Expand Up @@ -221,6 +227,8 @@ void show_regs(struct pt_regs *regs)
cregs = (struct callee_regs *)current->thread.callee_reg;
if (cregs)
show_callee_regs(cregs);

preempt_disable();
}

void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
Expand Down
Loading