Skip to content

[5.4] Track bcache patches #4

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

Closed
wants to merge 7,108 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7108 commits
Select commit Hold shift + click to select a range
0edfdef
xtensa: update *pos in cpuinfo_op.next
jcmvbkbc Jul 2, 2020
0eced76
scsi: mpt3sas: Fix unlock imbalance
damien-lemoal Jul 1, 2020
e50116e
drivers/net/wan/lapbether: Fixed the value of hard_header_len
Jul 6, 2020
b439714
ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
kv2019i Jul 3, 2020
fb50c5c
net: sky2: initialize return of gm_phy_read
Jul 3, 2020
0c1337e
drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
Jun 23, 2020
3959567
scsi: mpt3sas: Fix error returns in BRM_status_show
morbidrsa Jul 1, 2020
0ff9fce
scsi: dh: Add Fujitsu device to devinfo and dh lists
Jul 7, 2020
d0e40e5
dm: use bio_uninit instead of bio_disassociate_blkg
Jun 27, 2020
96002e7
drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
Jun 30, 2020
8676732
fuse: fix weird page warning
Jul 21, 2020
36f7355
irqdomain/treewide: Keep firmware node unconditionally allocated
KAGA-KOKO Jul 9, 2020
593221c
ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'
fabioestevam Sep 11, 2019
44838b9
ARM: dts: imx6qdl-gw551x: fix audio SSI
Gateworks Jun 23, 2020
722c6e9
dmabuf: use spinlock to access dmabuf->name
Jun 19, 2020
02140e8
drm/amd/display: Check DMCU Exists Before Loading
Apr 24, 2020
cb12257
SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direc…
olgakorn1 Jul 15, 2020
044ca91
btrfs: reloc: fix reloc root leak and NULL pointer dereference
adam900710 May 19, 2020
ee08663
btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent r…
adam900710 May 20, 2020
ee2f6a6
uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL,…
oleg-nesterov Jul 23, 2020
aad343d
ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung…
Jul 18, 2020
0f87dab
ALSA: info: Drop WARN_ON() from buffer NULL sanity check
tiwai Jul 17, 2020
f668e82
ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
jwrdegoede Jun 28, 2020
e333df0
btrfs: fix double free on ulist after backref resolution failure
fdmanana Jul 13, 2020
b04805a
btrfs: fix mount failure caused by race with umount
boryas Jul 16, 2020
38a66f3
btrfs: fix page leaks after failure to lock page for delalloc
Jul 20, 2020
9cc3227
bnxt_en: Fix race when modifying pause settings.
Jul 12, 2020
57393e6
bnxt_en: Fix completion ring sizing with TPA enabled.
Jul 12, 2020
c731882
fpga: dfl: pci: reduce the scope of variable 'ret'
yilunxu1984 Jul 13, 2020
570b1c9
fpga: dfl: fix bug in port reset handshake
matthew-gerlach Jul 13, 2020
f826efa
hippi: Fix a size used in a 'pci_free_consistent()' in an error handl…
tititiou36 Jul 14, 2020
ad49d76
vsock/virtio: annotate 'the_virtio_vsock' RCU pointer
stefano-garzarella Jul 10, 2020
d0d394c
ax88172a: fix ax88172a_unbind() failures
gkennedy12 Jul 15, 2020
613e7c5
RDMA/mlx5: Use xa_lock_irq when access to SRQ table
Jul 12, 2020
e2e31a0
ASoC: Intel: bytcht_es8316: Add missed put_device()
hiss2018 Jul 14, 2020
7bf93c9
net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual conf…
sorganov Jul 15, 2020
988e5d2
ieee802154: fix one possible memleak in adf7242_probe
liujian56 Jul 17, 2020
a2cdb4e
drm: sun4i: hdmi: Fix inverted HPD result
wens Jul 11, 2020
d11a274
net: smc91x: Fix possible memory leak in smc_drv_probe()
Jul 16, 2020
9b52f23
bonding: check error value of register_netdevice() immediately
TaeheeYoo Jul 19, 2020
eac8754
mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
liujian56 Jul 20, 2020
42f5c49
ionic: use offset for ethtool regs data
emusln Jul 20, 2020
34e9338
ionic: fix up filter locks and debug msgs
emusln Jul 20, 2020
107ea66
net: ag71xx: add missed clk_disable_unprepare in error path of probe
Jul 20, 2020
4997b31
net: hns3: fix error handling for desc filling
Jul 21, 2020
99a5e86
net: dsa: microchip: call phy_remove_link_mode during probe
Jul 21, 2020
8d416c0
netdevsim: fix unbalaced locking in nsim_create()
TaeheeYoo Jul 21, 2020
641bd96
qed: suppress "don't support RoCE & iWARP" flooding on HW init
solbjorn Jul 21, 2020
5926149
qed: suppress false-positives interrupt error messages on HW init
solbjorn Jul 21, 2020
eb2c32d
ipvs: fix the connection sync failed in some cases
guodeqing-hw Jul 16, 2020
9e3e96a
net: ethernet: ave: Fix error returns in ave_init
Jul 17, 2020
a44625d
Revert "PCI/PM: Assume ports without DLL Link Active train links in 1…
bjorn-helgaas Jul 17, 2020
9f2c292
nfsd4: fix NULL dereference in nfsd/clients display code
Jul 15, 2020
e8b86b4
enetc: Remove the mdio bus on PF probe bailout
claudiu-m Jul 22, 2020
58637b3
i2c: rcar: always clear ICSAR to avoid side effects
Jul 4, 2020
93bb40b
i2c: i2c-qcom-geni: Fix DMA transfer race
dianders Jul 22, 2020
89b4f20
bonding: check return value of register_netdevice() in bond_newlink()
congwang Jul 22, 2020
a86abef
geneve: fix an uninitialized value in geneve_changelink()
congwang Jul 23, 2020
1e63d56
serial: exar: Fix GPIO configuration for Sealevel cards based on XR17…
11matt556 Jul 22, 2020
22508bc
scripts/decode_stacktrace: strip basepath from all paths
peter50216 Jul 24, 2020
9ab9cfc
scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
stefano-garzarella Jul 24, 2020
08696a4
HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override
funder7 Jun 15, 2020
5d273c5
HID: alps: support devices with report id 2
May 22, 2020
2c179ec
HID: steam: fixes race in handling device list.
rodrigorc Jun 16, 2020
5cbe437
HID: apple: Disable Fn-key key-re-mapping on clone keyboards
jwrdegoede Jun 20, 2020
db886ec
dmaengine: tegra210-adma: Fix runtime PM imbalance on error
dinghaoliu Jun 24, 2020
80fed40
Input: add `SW_MACHINE_COVER`
MerlijnWajer Jun 30, 2020
126a0ab
ARM: dts: n900: remove mmc1 card detect gpio
MerlijnWajer Jun 30, 2020
bbc0b6e
spi: mediatek: use correct SPI_CFG2_REG MACRO
leilkliu Jul 1, 2020
01d7bd8
regmap: dev_get_regmap_match(): fix string comparison
marckleinebudde Jul 3, 2020
6a3015a
hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow
eunovm Jul 3, 2020
493aed3
dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu
adureghello-ts Jul 1, 2020
460c0da
dmaengine: ioat setting ioat timeout as module parameter
Jul 1, 2020
186d3fe
Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen
K900 Jul 6, 2020
4f5eb27
Input: elan_i2c - only increment wakeup count on touch
dbasehore Jul 7, 2020
c4c6363
usb: dwc3: pci: add support for the Intel Tiger Lake PCH -H variant
Jun 25, 2020
74ec2cc
usb: dwc3: pci: add support for the Intel Jasper Lake
Jun 30, 2020
89fe6eb
usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep…
eunovm Jun 26, 2020
103a90a
usb: cdns3: ep0: fix some endian issues
Jun 3, 2020
a2a380b
usb: cdns3: trace: fix some endian issues
Jun 3, 2020
c04a482
hwmon: (adm1275) Make sure we are reading enough data for different c…
linchuyuan Jul 9, 2020
ffb5604
drm/amdgpu/gfx10: fix race condition for kiq
Jul 10, 2020
6627a26
drm/amdgpu: fix preemption unit test
Jul 10, 2020
ace6e8b
hwmon: (nct6775) Accept PECI Calibration as temperature source for NC…
groeck Jul 14, 2020
41a7fdf
platform/x86: ISST: Add new PCI device ids
spandruvada Jun 24, 2020
76361ed
platform/x86: asus-wmi: allow BAT1 battery name
rublag Jun 30, 2020
30a17b5
hwmon: (scmi) Fix potential buffer overflow in scmi_hwmon_probe()
cris-ma Jul 15, 2020
347f735
ALSA: hda/realtek - fixup for yet another Intel reference board
Jul 16, 2020
7fc7942
drivers/perf: Fix kernel panic when rmmod PMU modules during perf sam…
77liuqi Jul 16, 2020
679fe09
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
willdeacon Feb 13, 2020
90e78ec
x86: math-emu: Fix up 'cmp' insn for clang ias
arndb May 27, 2020
0821295
asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()
willdeacon Jul 16, 2020
5345ede
drivers/perf: Prevent forced unbinding of PMU drivers
77liuqi Jul 17, 2020
35728ca
RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw
palmer-dabbelt Jul 16, 2020
93f1e16
binder: Don't use mmput() from shrinker function.
Jul 16, 2020
1d91547
usb: xhci-mtk: fix the failure of bandwidth allocation
Jul 10, 2020
86894c3
usb: xhci: Fix ASM2142/ASM3142 DMA addressing
cyrozap Jul 17, 2020
3e84602
Revert "cifs: Fix the target file was deleted when rename failed."
Jul 23, 2020
f32718c
iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU
jmberg-intel Apr 3, 2020
a44c859
tty: xilinx_uartps: Really fix id assignment
Jul 13, 2020
c9afe42
staging: wlan-ng: properly check endpoint types
rustylife Jul 22, 2020
747558b
staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
7ee8d78
staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
ian-abbott Jul 17, 2020
178a09b
staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
c76a1da
staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
fb8d832
serial: tegra: fix CREAD handling for PIO
jhovold Jul 10, 2020
af81186
serial: 8250: fix null-ptr-deref in serial8250_start_tx()
Jul 21, 2020
3c52751
serial: 8250_mtk: Fix high-speed baud rates clamping
fancer Jul 14, 2020
bf331ef
/dev/mem: Add missing memory barriers for devmem_inode
ebiggers Jul 16, 2020
028b478
fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.
Jul 15, 2020
23e8b74
vt: Reject zero-sized screen buffer size.
Jul 12, 2020
5835e6d
Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
MaskRay Jul 21, 2020
549bfc1
mm/mmap.c: close race between munmap() and expand_upwards()/downwards()
kiryl Jul 24, 2020
db949f6
mm/memcg: fix refcount error while moving and swapping
Jul 24, 2020
95750e1
mm: memcg/slab: fix memory leak at non-root kmem_cache destroy
Jul 24, 2020
40c5836
khugepaged: fix null-pointer dereference due to race
kiryl Jul 24, 2020
615f44e
io-mapping: indicate mapping failure
mjruhl Jul 24, 2020
c3de966
mmc: sdhci-of-aspeed: Fix clock divider calculation
Jul 9, 2020
33ab3f2
drm/amdgpu: Fix NULL dereference in dpm sysfs handlers
vvoland Jul 19, 2020
d1bab3c
drm/amd/powerplay: fix a crash when overclocking Vega M
crab2313 Jul 17, 2020
c89af82
parisc: Add atomic64_set_release() define to avoid CPU soft lockups
danglin44 Jul 21, 2020
697bd3e
x86, vmlinux.lds: Page-align end of ..page_aligned sections
joergroedel Jul 21, 2020
8f64dc9
ASoC: rt5670: Add new gpio1_is_ext_spk_en quirk and enable it on the …
jwrdegoede Jun 28, 2020
e60e53e
ASoC: qcom: Drop HAS_DMA dependency to fix link failure
geertu Jun 29, 2020
a4fd00d
ASoC: topology: fix kernel oops on route addition error
plbossart Jul 7, 2020
2ca71b8
ASoC: topology: fix tlvs in error handling for widget_dmixer
plbossart Jul 7, 2020
6d4448c
dm integrity: fix integrity recalculation that is improperly skipped
Jul 23, 2020
e6eb815
ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
Apr 4, 2020
c15d59b
ath9k: Fix regression with Atheros 9271
shiftee Jul 11, 2020
58a12e3
Linux 5.4.54
gregkh Jul 29, 2020
2f1624f
AX.25: Fix out-of-bounds read in ax25_connect()
peilin-ye Jul 22, 2020
52aeeec
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
peilin-ye Jul 22, 2020
d109acd
dev: Defer free of skbs in flush_backlog
Jul 23, 2020
fbcd85c
drivers/net/wan/x25_asy: Fix to make it work
Jul 16, 2020
8d9f13d
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Jul 13, 2020
274b40b
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
fenghusthu Jul 21, 2020
2bf797a
net: udp: Fix wrong clean up for IS_UDPLITE macro
MiaoheLin Jul 21, 2020
b7d3d6d
qrtr: orphan socket in qrtr_release()
congwang Jul 24, 2020
01c9283
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Jul 15, 2020
e2f904f
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
dhowells Jul 20, 2020
182ffc6
tcp: allow at most one TLP probe per flight
yuchungcheng Jul 23, 2020
bbf6af4
AX.25: Prevent integer overflows in connect and sendmsg
Jul 23, 2020
46e7c7e
sctp: shrink stream outq only when new outcnt < old outcnt
lxin Jul 22, 2020
86512c6
sctp: shrink stream outq when fails to do addstream reconf
lxin Jul 22, 2020
6735c12
udp: Copy has_conns in reuseport_grow().
q2ven Jul 21, 2020
df89c1e
udp: Improve load balancing for SO_REUSEPORT.
q2ven Jul 21, 2020
59242fa
regmap: debugfs: check count when read regmap file
MrVan Mar 13, 2020
4918285
PM: wakeup: Show statistics for deleted wakeup sources again
Dec 9, 2019
909dbf0
Revert "dpaa_eth: fix usage as DSA master, try 3"
vladimiroltean Jun 24, 2020
169b938
Linux 5.4.55
gregkh Jul 31, 2020
ecfa7fa
crypto: ccp - Release all allocated memory if sha type is invalid
Navidem Sep 19, 2019
84da977
media: rc: prevent memory leak in cx23888_ir_probe
Navidem Sep 25, 2019
98cef10
sunrpc: check that domain table is empty at module unload.
Jul 30, 2020
2ff6558
ath10k: enable transmit data ack RSSI for QCA9884
Oct 3, 2019
1402105
PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
robhancock Jul 22, 2020
47e2093
mm/filemap.c: don't bother dropping mmap_sem for zero size readahead
jankara Apr 2, 2020
6d84a8c
ALSA: usb-audio: Add implicit feedback quirk for SSL2
ltratt Jun 21, 2020
cd76d30
ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502)…
Jul 24, 2020
e9f147c
ALSA: hda/realtek: typo_fix: enable headset mic of ASUS ROG Zephyrus …
Jul 24, 2020
09832a9
ALSA: hda/realtek: Fix add a "ultra_low_power" function for intel ref…
Jul 27, 2020
6a67b05
ALSA: hda/realtek - Fixed HP right speaker no sound
KailangYang Jul 29, 2020
dc731d2
ALSA: hda/hdmi: Fix keep_power assignment for non-component devices
tiwai Jul 28, 2020
951117a
IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE
mmarcini Jul 28, 2020
96f1059
vhost/scsi: fix up req type endian-ness
mstsirkin Jul 10, 2020
d3472f7
9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_re…
Jun 12, 2020
b8fa0b0
wireless: Use offsetof instead of custom macro.
peter50216 Dec 4, 2019
3b7e4a5
ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess …
willdeacon Jun 18, 2020
c4738c6
ARM: dts: imx6sx-sabreauto: Fix the phy-mode on fec2
fabioestevam Jul 13, 2020
b927461
ARM: dts: imx6sx-sdb: Fix the phy-mode on fec2
fabioestevam Jul 13, 2020
c2f787f
ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect
panicking Jul 17, 2020
cea6633
virtio_balloon: fix up endian-ness for free cmd id
mstsirkin Jul 27, 2020
22d3202
Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"
alexdeucher Jul 30, 2020
f1b4bdd
drm/amd/display: Clear dm_state for fast updates
Jul 27, 2020
8ea180f
drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
peilin-ye Jul 28, 2020
7eef3b4
drm/dbi: Fix SPI Type 1 (9-bit) transfer
pcercuei Jul 3, 2020
6a94284
drm: hold gem reference until object is no longer accessed
Jul 20, 2020
2ec6949
rds: Prevent kernel-infoleak in rds_notify_queue_get()
peilin-ye Jul 30, 2020
c2fd34d
libtraceevent: Fix build with binutils 2.35
bwhacks Jul 25, 2020
69cd304
net/x25: Fix x25_neigh refcnt leak when x25 disconnect
sherlly Apr 25, 2020
bbb13ad
net/x25: Fix null-ptr-deref in x25_disconnect
Apr 28, 2020
0307da6
xfrm: policy: match with both mark and mask on user interfaces
lxin Jun 22, 2020
a4c9028
ARM: dts sunxi: Relax a bit the CMA pool allocation range
mripard Jul 4, 2020
731e013
xfrm: Fix crash when the hold queue is used.
klassert Jul 17, 2020
9a1d008
ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds
Jul 21, 2020
831c904
nvme-tcp: fix possible hang waiting for icresp response
sagigrimberg Jul 23, 2020
22f84cc
selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
tannerlove Jul 27, 2020
d817b2c
selftests/net: psock_fanout: fix clang issues for target arch PowerPC
tannerlove Jul 27, 2020
222dbec
selftests/net: so_txtime: fix clang issues for target arch PowerPC
tannerlove Jul 27, 2020
2f26749
sh/tlb: Fix PGTABLE_LEVELS > 2
Jul 17, 2020
5fc02e8
sh: Fix validation of system call number
Jul 22, 2020
475b8d6
net: hns3: fix a TX timeout issue
liuyonglong86 Jul 28, 2020
d70f9a3
net: hns3: fix aRFS FD rules leftover after add a user FD rule
Jul 28, 2020
00bedd7
net/mlx5: E-switch, Destroy TSAR when fail to enable the mode
paravmellanox Jun 27, 2020
8901896
net/mlx5e: Fix error path of device attach
ayalevin123 Jul 1, 2020
4360837
net/mlx5: Verify Hardware supports requested ptp function on a given pin
Jul 8, 2020
475cbce
net/mlx5e: Modify uplink state on interface up/down
Apr 5, 2020
32ec444
net/mlx5e: Fix kernel crash when setting vf VLANID on a VF dev
alaahl Jul 15, 2020
9db3040
net: lan78xx: add missing endpoint sanity check
jhovold Jul 28, 2020
b1d629d
net: lan78xx: fix transfer-buffer memory leak
jhovold Jul 28, 2020
c388387
rhashtable: Fix unprotected RCU dereference in __rht_ptr
herbertx Jul 24, 2020
0f424ed
mlx4: disable device on shutdown
kuba-moo Jul 24, 2020
57f498c
mlxsw: core: Increase scope of RCU read-side critical section
idosch Jul 29, 2020
ea55913
mlxsw: core: Free EMAD transactions using kfree_rcu()
idosch Jul 29, 2020
43c390b
ibmvnic: Fix IRQ mapping disposal in error path
tlfalcon Jul 29, 2020
fe58e3d
bpf: Fix map leak in HASH_OF_MAPS map
anakryiko Jul 29, 2020
3f15e3e
mac80211: mesh: Free ie data when leaving mesh
repk Jul 4, 2020
4a50753
mac80211: mesh: Free pending skb when destroying a mpath
repk Jul 4, 2020
8a90b43
arm64/alternatives: move length validation inside the subsection
samitolvanen Jul 30, 2020
3bb2f52
arm64: csum: Fix handling of bad packets
rmurphy-arm Jul 30, 2020
9acd96f
Bluetooth: fix kernel oops in store_pending_adv_report
Jul 27, 2020
1158aa7
net: nixge: fix potential memory leak in nixge_probe()
Jul 29, 2020
e68b7b9
net: gemini: Fix missing clk_disable_unprepare() in error path of gem…
Jul 30, 2020
568995f
net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq
Conchy-Conchy Jul 30, 2020
1df0000
perf tools: Fix record failure when mixed with ARM SPE event
stkid Jul 24, 2020
cac2b7a
vxlan: fix memleak of fdb
TaeheeYoo Aug 1, 2020
5b235c1
usb: hso: Fix debug compile warning on sparc32
geertu Jul 13, 2020
6e4620d
selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion
piso77 Jul 14, 2020
78c7532
qed: Disable "MFW indication via attention" SPAM every 5 minutes
loberman Jul 14, 2020
50c5f89
selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support
piso77 Jul 16, 2020
0ac155d
nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
Navidem Jul 18, 2020
a0ba413
scsi: core: Run queue in case of I/O resource contention failure
Jul 20, 2020
ac7c3b8
parisc: add support for cmpxchg on u8 pointers
liambeguin Jul 18, 2020
df366ab
net: ethernet: ravb: exit if re-initialization fails in tx timeout
shimoday Jul 21, 2020
a14d6a9
Revert "i2c: cadence: Fix the hold bit setting"
Jul 3, 2020
32344d2
x86/unwind/orc: Fix ORC for newly forked tasks
jpoimboe Jul 17, 2020
5f4e6b8
x86/stacktrace: Fix reliable check for empty user task stacks
jpoimboe Jul 17, 2020
a7b488d
cxgb4: add missing release on skb in uld_send()
Navidem Jul 23, 2020
e3043ab
xen-netfront: fix potential deadlock in xennet_remove()
Jul 24, 2020
f88c909
RISC-V: Set maximum number of mapped pages correctly
atishp04 Jul 15, 2020
1aff512
drivers/net/wan: lapb: Corrected the usage of skb_cow
Jul 24, 2020
fd41284
KVM: arm64: Don't inherit exec permission across page-table levels
willdeacon Jul 23, 2020
01ac46c
KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw …
Jul 31, 2020
3956854
x86/i8259: Use printk_deferred() to prevent deadlock
KAGA-KOKO Jul 29, 2020
73d2d6b
perf tests bp_account: Make global variable static
acmel Mar 2, 2020
702d1b2
perf env: Do not return pointers to local variables
acmel Mar 2, 2020
df35e87
perf bench: Share some global variables to fix build with gcc 10
acmel Mar 2, 2020
1b940bb
Linux 5.4.56
gregkh Aug 5, 2020
c15a77b
random32: update the net random state on interrupt and activity
wtarreau Jul 10, 2020
50bf896
ARM: percpu.h: fix build error
grygoriyS Jul 30, 2020
7471f32
random: fix circular include dependency on arm64 after addition of pe…
wtarreau Jul 30, 2020
c131009
random32: remove net_rand_state from the latent entropy gcc plugin
torvalds Jul 30, 2020
f06d60f
random32: move the pseudo-random 32-bit definitions to prandom.h
torvalds Jul 31, 2020
6330b0c
arm64: Workaround circular dependency in pointer_auth.h
Aug 5, 2020
c776104
ext4: fix direct I/O read error
xinxinhaier Aug 5, 2020
9fe975a
selftests: bpf: Fix detach from sockmap tests
lmb Jul 9, 2020
ca7ace8
bpf: sockmap: Require attach_bpf_fd when detaching a program
lmb Jun 29, 2020
d993928
Linux 5.4.57
gregkh Aug 7, 2020
212ef12
bcache: introduce bcache sysfs entries for ioprio-based bypass/writeb…
Oct 11, 2016
7c827eb
bcache: documentation for sysfs entries describing bcache cache hinting
Oct 11, 2016
0d9b0c8
bcache: Only skip data request in io_prio bypass mode
kakra Oct 3, 2020
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 11 additions & 2 deletions Documentation/ABI/stable/sysfs-driver-mlxreg-io
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Description: This file shows the system fans direction:

The files are read only.

What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version

Date: November 2018
KernelVersion: 5.0
Contact: Vadim Pasternak <vadimpmellanox.com>
Description: These files show with which CPLD versions have been burned
on LED board.
on LED or Gearbox board.

The files are read only.

Expand Down Expand Up @@ -121,6 +121,15 @@ Description: These files show the system reset cause, as following: ComEx

The files are read only.

What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
Date: November 2018
KernelVersion: 5.0
Contact: Vadim Pasternak <vadimpmellanox.com>
Description: These files show with which CPLD versions have been burned
on LED board.

The files are read only.

Date: June 2019
KernelVersion: 5.3
Contact: Vadim Pasternak <vadimpmellanox.com>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-bus-mei
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ KernelVersion: 3.10
Contact: Samuel Ortiz <[email protected]>
[email protected]
Description: Stores the same MODALIAS value emitted by uevent
Format: mei:<mei device name>:<device uuid>:
Format: mei:<mei device name>:<device uuid>:<protocol version>

What: /sys/bus/mei/devices/.../name
Date: May 2015
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ABI/testing/sysfs-class-devfreq
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Description:
The name of devfreq object denoted as ... is same as the
name of device using devfreq.

What: /sys/class/devfreq/.../name
Date: November 2019
Contact: Chanwoo Choi <[email protected]>
Description:
The /sys/class/devfreq/.../name shows the name of device
of the corresponding devfreq object.

What: /sys/class/devfreq/.../governor
Date: September 2011
Contact: MyungJoo Ham <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions Documentation/ABI/testing/sysfs-devices-system-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ What: /sys/devices/system/cpu/vulnerabilities
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
/sys/devices/system/cpu/vulnerabilities/l1tf
/sys/devices/system/cpu/vulnerabilities/mds
/sys/devices/system/cpu/vulnerabilities/srbds
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort
/sys/devices/system/cpu/vulnerabilities/itlb_multihit
Date: January 2018
Expand Down
80 changes: 80 additions & 0 deletions Documentation/admin-guide/bcache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,86 @@ the backing devices to passthrough mode.
writeback mode). It currently doesn't do anything intelligent if it fails to
read some of the dirty data, though.

SSD LONGEVITY: PER-PROCESS CACHE HINTING WITH IO PRIORITY
---------------------------------------------------------

Processes can be assigned an IO priority using `ionice` and bcache will
either try to writeback or bypass the cache based on the IO priority
level assigned to the process and the configuration of the syfs ioprio
hints. If configured properly for your workload, this can both increase
performance and reduce SSD wear (erase/write cycles).

Having idle IOs bypass the cache can increase performance elsewhere
since you probably don't care about their performance. In addition,
this prevents idle IOs from promoting into (polluting) your cache and
evicting blocks that are more important elsewhere.

Default sysfs values:
2,7: ioprio_bypass is hinted for process IOs at-or-below best-effort-7.
0,0: ioprio_writeback hinting is disabled by default.

Cache hinting is configured by writing 'class,level' pairs to sysfs.
In this example, we write the following:

echo 2,7 > /sys/block/bcache0/bcache/ioprio_bypass
echo 2,0 > /sys/block/bcache0/bcache/ioprio_writeback

Thus, processes with the following IO class (ionice -c) and level (-n)
will the behave as shown in this table:

(-c) IO Class (-n) Class level Action
-----------------------------------------------------
(1) Realtime 0-7 Writeback
(2) Best-effort 0 Writeback
(2) Best-effort 1-6 Normal, as if hinting were disabled
(2) Best-effort 7 Bypass cache
(3) Idle n/a Bypass cache

For processes at-or-below best-effort-7 (ionice -c2 -n7), the
ioprio_bypass behavior is as follows:

* Reads will come from the backing device and will not promote into
(pollute) your cache. If the block being read was already in the cache,
then it will be read from the cache (and remain cached).

* If you are using writeback mode, then low-priority bypass-hinted writes
will go directly to the backing device. If the write was dirty in
cache, it will cache-invalidate and write directly to the backing
device. If a high-priority task later writes the same block then it
will writeback so no performance is lost for write-after-write.

For read-after-bypassed-write, the block will be read from the backing
device (not cached) so there may be a miss penalty when a low-priority
process write bypasses the cache followed by a high-priority read that
would otherwise have hit. In practice, this is not an issue; to date,
none have wanted low-priority writes and high-priority reads of the
same block.

For processes in our example at-or-above best-effort-0 (ionice -c2 -n0),
the ioprio_writeback behavior is as follows:

* The writeback hint has no effect unless your 'cache_mode' is writeback.
Assuming writeback mode, all writes at this priority will writeback.
Of course this will increase SSD wear, so only use writeback hinting
if you need it.

* Reads are unaffected by ioprio_writeback, except that read-after-write
will of course read from the cache.

Linux assigns processes the best-effort class with a level of 4 if
no process is assigned Thus, without `ionice` your processes will
follow normal bcache should_writeback/should_bypass symantecs as if the
ioprio_writeback/ioprio_bypass sysfs flags were disabled.

Also note that in order to be hinted by ioprio_writeback/ioprio_bypass,
the process must have a valid ioprio setting as returned by
get_task_io_context()->ioprio. Thus, a process without an IO context
will be ignored by the ioprio_writeback/ioprio_bypass hints even if your
sysfs hints specify that best-effort-4 should be flagged for bypass
or writeback. If in doubt, explicitly set the process IO priority with
`ionice`.

See `man ionice` for more detail about per-process IO priority in Linux.

Howto/cookbook
--------------
Expand Down
1 change: 1 addition & 0 deletions Documentation/admin-guide/device-mapper/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Device Mapper
cache-policies
cache
delay
dm-clone
dm-crypt
dm-flakey
dm-init
Expand Down
1 change: 1 addition & 0 deletions Documentation/admin-guide/hw-vuln/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ are configurable at compile, boot or run time.
mds
tsx_async_abort
multihit.rst
special-register-buffer-data-sampling.rst
7 changes: 5 additions & 2 deletions Documentation/admin-guide/hw-vuln/mds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,11 @@ time with the option "mds=". The valid arguments for this option are:

============ =============================================================

Not specifying this option is equivalent to "mds=full".

Not specifying this option is equivalent to "mds=full". For processors
that are affected by both TAA (TSX Asynchronous Abort) and MDS,
specifying just "mds=off" without an accompanying "tsx_async_abort=off"
will have no effect as the same mitigation is used for both
vulnerabilities.

Mitigation selection guide
--------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
.. SPDX-License-Identifier: GPL-2.0

SRBDS - Special Register Buffer Data Sampling
=============================================

SRBDS is a hardware vulnerability that allows MDS :doc:`mds` techniques to
infer values returned from special register accesses. Special register
accesses are accesses to off core registers. According to Intel's evaluation,
the special register reads that have a security expectation of privacy are
RDRAND, RDSEED and SGX EGETKEY.

When RDRAND, RDSEED and EGETKEY instructions are used, the data is moved
to the core through the special register mechanism that is susceptible
to MDS attacks.

Affected processors
--------------------
Core models (desktop, mobile, Xeon-E3) that implement RDRAND and/or RDSEED may
be affected.

A processor is affected by SRBDS if its Family_Model and stepping is
in the following list, with the exception of the listed processors
exporting MDS_NO while Intel TSX is available yet not enabled. The
latter class of processors are only affected when Intel TSX is enabled
by software using TSX_CTRL_MSR otherwise they are not affected.

============= ============ ========
common name Family_Model Stepping
============= ============ ========
IvyBridge 06_3AH All

Haswell 06_3CH All
Haswell_L 06_45H All
Haswell_G 06_46H All

Broadwell_G 06_47H All
Broadwell 06_3DH All

Skylake_L 06_4EH All
Skylake 06_5EH All

Kabylake_L 06_8EH <= 0xC
Kabylake 06_9EH <= 0xD
============= ============ ========

Related CVEs
------------

The following CVE entry is related to this SRBDS issue:

============== ===== =====================================
CVE-2020-0543 SRBDS Special Register Buffer Data Sampling
============== ===== =====================================

Attack scenarios
----------------
An unprivileged user can extract values returned from RDRAND and RDSEED
executed on another core or sibling thread using MDS techniques.


Mitigation mechanism
-------------------
Intel will release microcode updates that modify the RDRAND, RDSEED, and
EGETKEY instructions to overwrite secret special register data in the shared
staging buffer before the secret data can be accessed by another logical
processor.

During execution of the RDRAND, RDSEED, or EGETKEY instructions, off-core
accesses from other logical processors will be delayed until the special
register read is complete and the secret data in the shared staging buffer is
overwritten.

This has three effects on performance:

#. RDRAND, RDSEED, or EGETKEY instructions have higher latency.

#. Executing RDRAND at the same time on multiple logical processors will be
serialized, resulting in an overall reduction in the maximum RDRAND
bandwidth.

#. Executing RDRAND, RDSEED or EGETKEY will delay memory accesses from other
logical processors that miss their core caches, with an impact similar to
legacy locked cache-line-split accesses.

The microcode updates provide an opt-out mechanism (RNGDS_MITG_DIS) to disable
the mitigation for RDRAND and RDSEED instructions executed outside of Intel
Software Guard Extensions (Intel SGX) enclaves. On logical processors that
disable the mitigation using this opt-out mechanism, RDRAND and RDSEED do not
take longer to execute and do not impact performance of sibling logical
processors memory accesses. The opt-out mechanism does not affect Intel SGX
enclaves (including execution of RDRAND or RDSEED inside an enclave, as well
as EGETKEY execution).

IA32_MCU_OPT_CTRL MSR Definition
--------------------------------
Along with the mitigation for this issue, Intel added a new thread-scope
IA32_MCU_OPT_CTRL MSR, (address 0x123). The presence of this MSR and
RNGDS_MITG_DIS (bit 0) is enumerated by CPUID.(EAX=07H,ECX=0).EDX[SRBDS_CTRL =
9]==1. This MSR is introduced through the microcode update.

Setting IA32_MCU_OPT_CTRL[0] (RNGDS_MITG_DIS) to 1 for a logical processor
disables the mitigation for RDRAND and RDSEED executed outside of an Intel SGX
enclave on that logical processor. Opting out of the mitigation for a
particular logical processor does not affect the RDRAND and RDSEED mitigations
for other logical processors.

Note that inside of an Intel SGX enclave, the mitigation is applied regardless
of the value of RNGDS_MITG_DS.

Mitigation control on the kernel command line
---------------------------------------------
The kernel command line allows control over the SRBDS mitigation at boot time
with the option "srbds=". The option for this is:

============= =============================================================
off This option disables SRBDS mitigation for RDRAND and RDSEED on
affected platforms.
============= =============================================================

SRBDS System Information
-----------------------
The Linux kernel provides vulnerability status information through sysfs. For
SRBDS this can be accessed by the following sysfs file:
/sys/devices/system/cpu/vulnerabilities/srbds

The possible values contained in this file are:

============================== =============================================
Not affected Processor not vulnerable
Vulnerable Processor vulnerable and mitigation disabled
Vulnerable: No microcode Processor vulnerable and microcode is missing
mitigation
Mitigation: Microcode Processor is vulnerable and mitigation is in
effect.
Mitigation: TSX disabled Processor is only vulnerable when TSX is
enabled while this system was booted with TSX
disabled.
Unknown: Dependent on
hypervisor status Running on virtual guest processor that is
affected but with no way to know if host
processor is mitigated or vulnerable.
============================== =============================================

SRBDS Default mitigation
------------------------
This new microcode serializes processor access during execution of RDRAND,
RDSEED ensures that the shared buffer is overwritten before it is released for
reuse. Use the "srbds=off" kernel command line to disable the mitigation for
RDRAND and RDSEED.
5 changes: 4 additions & 1 deletion Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ the option "tsx_async_abort=". The valid arguments for this option are:
CPU is not vulnerable to cross-thread TAA attacks.
============ =============================================================

Not specifying this option is equivalent to "tsx_async_abort=full".
Not specifying this option is equivalent to "tsx_async_abort=full". For
processors that are affected by both TAA and MDS, specifying just
"tsx_async_abort=off" without an accompanying "mds=off" will have no
effect as the same mitigation is used for both vulnerabilities.

The kernel command line also allows to control the TSX feature using the
parameter "tsx=" on CPUs which support TSX control. MSR_IA32_TSX_CTRL is used
Expand Down
Loading