Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Upstream #3

Merged
merged 4,492 commits into from
Jan 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4492 commits
Select commit Hold shift + click to select a range
1f29331
speakup: fix uninitialized flush_lock
Nov 17, 2020
98cd60a
nfsd: Fix message level for normal termination
Nov 27, 2020
e22c631
nfs_common: need lock during iterate through the list
chenglin130 Dec 1, 2020
81f30bc
x86/kprobes: Restore BTF if the single-stepping is cancelled
mhiramat Oct 28, 2020
db0734c
bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
Dec 4, 2020
91ee0a7
clk: tegra: Fix duplicated SE clock entry
digetx Oct 25, 2020
96e6b14
extcon: max77693: Fix modalias string
mszyprow Dec 8, 2020
b152a36
mac80211: don't set set TDLS STA bandwidth wider than possible
jmberg-intel Dec 6, 2020
294de78
ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_cont…
Dec 9, 2020
92303ec
irqchip/alpine-msi: Fix freeing of interrupts on allocation error path
Nov 29, 2020
35ee327
watchdog: sirfsoc: Add missing dependency on HAS_IOMEM
groeck Nov 8, 2020
53475ad
watchdog: sprd: remove watchdog disable from resume fail path
Oct 29, 2020
eb325da
watchdog: sprd: check busy bit before new loading rather than after that
Nov 9, 2020
c833d61
watchdog: Fix potential dereferencing of null pointer
Nov 9, 2020
8f3d03d
um: Monitor error events in IRQ controller
Dec 7, 2020
1e6466d
um: tty: Fix handling of close in tty lines
Dec 7, 2020
4ed9aba
um: chan_xterm: Fix fd leak
Dec 7, 2020
2b5e7bc
nfc: s3fwrn5: Release the nfc firmware
Dec 13, 2020
869eefe
powerpc/ps3: use dma_mapping_error()
vstehle Dec 13, 2020
14bad05
checkpatch: fix unescaped left brace
raydwaipayan Dec 16, 2020
e4e77a1
net: bcmgenet: Fix a resource leak in an error handling path in the p…
tititiou36 Dec 12, 2020
a7304bf
net: allwinner: Fix some resources leak in the error handling path of…
tititiou36 Dec 14, 2020
3c313f2
net: korina: fix return value
vstehle Dec 14, 2020
394b101
libnvdimm/label: Return -ENXIO for no slot in __blk_label_update
Dec 5, 2020
5b03b83
watchdog: qcom: Avoid context switch in restart handler
Mani-Sadhasivam Dec 7, 2020
cb79041
watchdog: coh901327: add COMMON_CLK dependency
arndb Dec 3, 2020
0e6f174
clk: ti: Fix memleak in ti_fapll_synth_setup
Nov 13, 2020
433471a
pwm: zx: Add missing cleanup in error path
Oct 13, 2020
56b2c8a
pwm: lp3943: Dynamically allocate PWM chip base
lokeshvutla Oct 30, 2020
33fb7cc
perf record: Fix memory leak when using '--user-regs=?' to list regis…
Zhengzengkai Jul 3, 2020
6e6c43d
qlcnic: Fix error code in probe
Dec 16, 2020
22fcc7e
clk: s2mps11: Fix a resource leak in error handling paths in the prob…
tititiou36 Dec 12, 2020
1298915
clk: sunxi-ng: Make sure divider tables have sentinel
jernejsk Dec 2, 2020
ce07f33
kconfig: fix return value of do_error_if()
masahir0y Dec 19, 2020
43e968f
ARM: sunxi: Add machine match for the Allwinner V3 SoC
paulkocialkowski Oct 31, 2020
fe0884b
cfg80211: initialize rekey_data
sara-s Nov 29, 2020
2373aea
fix namespaced fscaps when !CONFIG_SECURITY
hallyn Nov 16, 2020
93249fa
lwt: Disable BH too in run_lwt_bpf()
Dongdong-Wang Dec 5, 2020
0e59fdd
Input: cros_ec_keyb - send 'scancodes' in addition to key events
dtor Dec 10, 2020
30ccde9
Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
simonmicro Dec 12, 2020
9f29973
media: gspca: Fix memory leak in probe
AlanStern Dec 2, 2020
5a8823c
media: sunxi-cir: ensure IR is handled when it is continuous
seanyoung Nov 9, 2020
aebcfb0
media: netup_unidvb: Don't leak SPI master in probe error path
l1k Dec 7, 2020
7c447a5
media: ipu3-cio2: Remove traces of returned buffers
Oct 12, 2020
2049532
media: ipu3-cio2: Return actual subdev format
Oct 8, 2020
83e19ef
media: ipu3-cio2: Serialise access to pad format
Oct 8, 2020
6b1b11f
media: ipu3-cio2: Validate mbus format in setting subdev format
Oct 8, 2020
c3f6855
media: ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE
Oct 9, 2020
cff2889
Input: cyapa_gen6 - fix out-of-bounds stack access
arndb Dec 14, 2020
648b935
ALSA: hda/ca0132 - Change Input Source enum strings.
Conmanx360 Dec 10, 2020
f295cdc
PM: ACPI: PCI: Drop acpi_pm_set_bridge_wakeup()
rafaeljw Nov 24, 2020
e7b4279
Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resource…
djrscally Dec 5, 2020
465bf4c
ACPI: PNP: compare the string length in the matching_id()
jason77-wang Dec 11, 2020
4de399f
ALSA: hda: Fix regressions on clear and reconfig sysfs
tiwai Dec 9, 2020
f1c0960
ALSA: hda/realtek - Enable headset mic of ASUS X430UN with ALC256
Dec 7, 2020
6fe6040
ALSA: hda/realtek - Enable headset mic of ASUS Q524UQK with ALC255
Dec 9, 2020
71d02c3
ALSA: pcm: oss: Fix a few more UBSAN fixes
tiwai Dec 18, 2020
771993e
ALSA: hda/realtek: Add quirk for MSI-GP73
tiwai Dec 20, 2020
bbd2e4a
ALSA: hda/realtek: Apply jack fixup for Quanta NL3
Dec 22, 2020
53546b6
ALSA: usb-audio: Add VID to support native DSD reproduction on FiiO d…
amadejkastelic Dec 15, 2020
e5562a8
ALSA: usb-audio: Disable sample read check if firmware doesn't give back
tiwai Dec 18, 2020
958029b
s390/smp: perform initial CPU reset also for SMT siblings
svens-s390 Dec 8, 2020
a48ad9c
s390/kexec_file: fix diag308 subcode when loading crash kernel
Nov 26, 2020
27343c3
s390/dasd: fix hanging device offline processing
Dec 17, 2020
416cbb3
s390/dasd: prevent inconsistent LCU device data
Dec 17, 2020
2435ce6
s390/dasd: fix list corruption of pavgroup group list
Dec 17, 2020
48d7a6d
s390/dasd: fix list corruption of lcu list
Dec 17, 2020
7c3746c
staging: comedi: mf6x4: Fix AI end-of-conversion detection
ian-abbott Dec 7, 2020
71f5ff8
powerpc/perf: Exclude kernel samples while counting events in user sp…
athira-rajeev Nov 25, 2020
9d440d6
crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
ardbiesheuvel Nov 24, 2020
d1b4847
EDAC/amd64: Fix PCI component registration
suryasaimadhu Nov 22, 2020
dcd04ad
USB: serial: mos7720: fix parallel-port state restore
jhovold Nov 4, 2020
e1ca411
USB: serial: digi_acceleport: fix write-wakeup deadlocks
jhovold Oct 26, 2020
8a393e6
USB: serial: keyspan_pda: fix dropped unthrottle interrupts
jhovold Oct 25, 2020
e914a84
USB: serial: keyspan_pda: fix write deadlock
jhovold Oct 25, 2020
5530e90
USB: serial: keyspan_pda: fix stalled writes
jhovold Oct 25, 2020
9ba17e7
USB: serial: keyspan_pda: fix write-wakeup use-after-free
jhovold Oct 25, 2020
4ec2bce
USB: serial: keyspan_pda: fix tx-unthrottle use-after-free
jhovold Oct 25, 2020
29c0ae8
USB: serial: keyspan_pda: fix write unthrottling
jhovold Oct 25, 2020
1526bd4
ext4: fix a memory leak of ext4_free_data
brookxu-tx Nov 7, 2020
9179b26
ext4: fix deadlock with fs freezing and EA inodes
jankara Nov 27, 2020
22db572
KVM: arm64: Introduce handling of AArch32 TTBCR2 traps
Nov 10, 2020
786959a
ARM: dts: pandaboard: fix pinmux for gpio user button of Pandaboard ES
goldelico Oct 3, 2020
25b9bca
ARM: dts: at91: sama5d2: fix CAN message ram offset and size
noglitch Dec 3, 2020
e6bcdad
powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at
compudj Oct 22, 2020
6bea1e6
powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter
tyreld Dec 8, 2020
28a920f
powerpc/xmon: Change printk() to pr_cont()
chleroy Dec 4, 2020
f6faaeb
powerpc/powernv/memtrace: Don't leak kernel memory to user space
davidhildenbrand Nov 11, 2020
acdcf1b
powerpc/powernv/memtrace: Fix crashing the kernel when enabling concu…
davidhildenbrand Nov 11, 2020
d64e028
ima: Don't modify file descriptor mode on the fly
robertosassu Nov 26, 2020
d79e887
ceph: fix race in concurrent __ceph_remove_cap invocations
Nov 12, 2020
a308198
SMB3: avoid confusing warning message on mount to Azure
Dec 9, 2020
b703b02
SMB3.1.1: do not log warning message if server doesn't populate salt
Dec 10, 2020
d057abc
ubifs: wbuf: Don't leak kernel memory to flash
richardweinberger Nov 16, 2020
44b20fd
jffs2: Fix GC exit abnormally
May 29, 2020
6c67e8e
jfs: Fix array index bounds check in dbAdjTree
kleikamp Nov 13, 2020
2d3e003
drm/dp_aux_dev: check aux_dev before use in drm_dp_aux_dev_get_by_min…
zmyosper Oct 13, 2020
1b9a240
spi: spi-sh: Fix use-after-free on unbind
l1k Dec 7, 2020
5ef6e42
spi: davinci: Fix use-after-free on unbind
l1k Dec 7, 2020
8a112c3
spi: pic32: Don't leak DMA channels in probe error path
l1k Nov 8, 2020
fa83a23
spi: rb4xx: Don't leak SPI master in probe error path
l1k Dec 7, 2020
6830068
spi: sc18is602: Don't leak SPI master in probe error path
l1k Dec 7, 2020
0ce4b1b
spi: st-ssc4: Fix unbalanced pm_runtime_disable() in probe error path
l1k Nov 8, 2020
44c7492
spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_s…
Nov 3, 2020
e6c660c
soc: qcom: smp2p: Safely acquire spinlock without IRQs
Sep 29, 2020
37c2218
mtd: spinand: Fix OOB read
miquelraynal Oct 1, 2020
759005f
mtd: parser: cmdline: Fix parsing of part-names with colons
ecsv Nov 24, 2020
618b07d
mtd: rawnand: qcom: Fix DMA sync on FLASH_STATUS register read
Oct 9, 2020
56ebdf6
scsi: lpfc: Fix invalid sleeping context in lpfc_sli4_nvmet_alloc()
Oct 20, 2020
5b115a5
scsi: lpfc: Re-fix use after free in lpfc_rq_buf_free()
Oct 20, 2020
5080ea7
iio: buffer: Fix demux update
nunojsa Nov 12, 2020
6d1685d
iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on err…
Nov 3, 2020
af875f8
iio:light:rpr0521: Fix timestamp alignment and prevent data leak.
jic23 Sep 20, 2020
e53360f
iio:light:st_uvis25: Fix timestamp alignment and prevent data leak.
jic23 Sep 20, 2020
103cc05
iio:pressure:mpl3115: Force alignment of buffer
jic23 Sep 20, 2020
1ac869f
iio:imu:bmi160: Fix too large a buffer.
jic23 Sep 20, 2020
6fad43a
md/cluster: block reshape with remote resync job
zhaohem Nov 19, 2020
12b3f6d
md/cluster: fix deadlock when node is doing resync job
zhaohem Nov 19, 2020
cad1ee9
pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctr…
Nov 10, 2020
84ab756
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
mvbjzhou Nov 6, 2020
6458862
xen-blkback: set ring->xenblkd to NULL after kthread_stop()
wipawel Dec 14, 2020
adf048f
xen/xenbus: Allow watches discard events before queueing
sj-aws Dec 14, 2020
34d40a3
xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
sj-aws Dec 14, 2020
db0c160
xen/xenbus/xen_bus_type: Support will_handle watch callback
sj-aws Dec 14, 2020
222570a
xen/xenbus: Count pending messages for each watch
sj-aws Dec 14, 2020
31f9e0d
xenbus/xenbus_backend: Disallow pending watch messages
sj-aws Dec 14, 2020
4557e79
libnvdimm/namespace: Fix reaping of invalidated block-window-namespac…
djbw Nov 20, 2020
2b921fa
platform/x86: intel-vbtn: Allow switch events on Acer Switch Alpha 12
garnacho Dec 1, 2020
a01bb3c
PCI: Fix pci_slot_release() NULL pointer dereference
Dec 2, 2020
2577b1e
platform/x86: mlx-platform: remove an unused variable
arndb Dec 3, 2020
4d2a0fe
Linux 4.19.164
gregkh Dec 30, 2020
2d91c5c
md/raid10: initialize r10_bio->read_slot before use.
kevin-vigor Nov 6, 2020
b4cb503
fscrypt: add fscrypt_is_nokey_name()
ebiggers Dec 28, 2020
c9e7d86
ext4: prevent creating duplicate encrypted filenames
ebiggers Dec 28, 2020
9ad062e
f2fs: prevent creating duplicate encrypted filenames
ebiggers Dec 28, 2020
1c47ed2
ubifs: prevent creating duplicate encrypted filenames
ebiggers Dec 28, 2020
408f85f
vfio/pci: Move dummy_resources_list init in vfio_pci_probe()
eauger Nov 13, 2020
7c2b61b
ext4: don't remount read-only with errors=continue on reboot
jankara Nov 27, 2020
5a431da
uapi: move constants from <linux/kernel.h> to <linux/const.h>
pevik Dec 15, 2020
1471c03
KVM: SVM: relax conditions for allowing MSR_IA32_SPEC_CTRL accesses
bonzini Feb 5, 2020
dc92869
KVM: x86: reinstate vendor-agnostic check on SPEC_CTRL cpuid bits
bonzini Dec 3, 2020
49ddc94
powerpc/bitops: Fix possible undefined behaviour with fls() and fls64()
chleroy Oct 22, 2020
0748d25
xen/gntdev.c: Mark pages as dirty
Sep 6, 2020
79c6a79
null_blk: Fix zone size initialization
damien-lemoal Nov 20, 2020
9c4401a
of: fix linker-section match-table corruption
jhovold Nov 23, 2020
a7f0a47
Bluetooth: hci_h5: close serdev device and free hu in h5_close
thazhemadam Sep 29, 2020
afc6e7c
reiserfs: add check for an invalid ih_entry_count
rustylife Nov 1, 2020
0042269
misc: vmw_vmci: fix kernel info-leak by initializing dbells in vmci_c…
thazhemadam Nov 22, 2020
24c4b8e
media: gp8psk: initialize stats at power control logic
mchehab Nov 27, 2020
4b06545
ALSA: seq: Use bool for snd_seq_queue internal flags
tiwai Dec 6, 2020
c8a1516
ALSA: rawmidi: Access runtime->avail always in spinlock
tiwai Dec 6, 2020
8fec9eb
fcntl: Fix potential deadlock in send_sig{io, urg}()
fbq Nov 5, 2020
8e957a0
rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
dinghaoliu Oct 20, 2020
0d424d0
module: set MODULE_STATE_GOING state when a module fails to load
mirab Oct 27, 2020
51499fb
quota: Don't overflow quota file offsets
jankara Nov 2, 2020
9dae54a
powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
Oct 28, 2020
207f6f0
NFSv4: Fix a pNFS layout related use-after-free race when freeing the…
Nov 25, 2020
3be24c6
module: delay kobject uevent until after module init call
Nov 27, 2020
acce3e5
ALSA: pcm: Clear the full allocated memory at hw_params
tiwai Dec 18, 2020
280d5dc
dm verity: skip verity work if I/O error when system is shutting down
hyeongseok-kim901 Dec 3, 2020
b764b7f
Linux 4.19.165
gregkh Jan 6, 2021
e4913ff
Linux 4.19.165
gregkh Jan 6, 2021
6a4f296
Revert "mtd: spinand: Fix OOB read"
nbd168 Jan 5, 2021
6a8dc01
dmaengine: at_hdmac: Substitute kzalloc with kmalloc
ambarus Jan 23, 2020
034adbc
dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()
YuKuai-huawei Aug 17, 2020
9244004
dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
YuKuai-huawei Aug 17, 2020
33f6ca5
kdev_t: always inline major/minor helper functions
jpoimboe Dec 29, 2020
99f5d4e
iio:imu:bmi160: Fix alignment and data leak issues
jic23 Sep 20, 2020
a10855b
iio:magnetometer:mag3110: Fix alignment and data leak issues.
jic23 Sep 20, 2020
d659a44
mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_s…
Dec 6, 2020
3bc2797
Linux 4.19.166
gregkh Jan 9, 2021
3afc964
kbuild: don't hardcode depmod path
martinetd Dec 1, 2020
e1c3de2
workqueue: Kick a worker based on the actual activation of delayed works
yeyunfeng-dev Nov 19, 2020
0dd3d7b
scsi: ufs: Fix wrong print message in dev_err()
beanhuo Dec 7, 2020
b56eba4
scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-…
ahunter6 Dec 7, 2020
683b2ac
scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
bvanassche Dec 9, 2020
afb630e
scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
bvanassche Dec 9, 2020
f0950b0
lib/genalloc: fix the overflow when size is too big
Dec 29, 2020
5c141aa
depmod: handle the case of /sbin/depmod without /sbin in PATH
torvalds Dec 28, 2020
526b910
proc: change ->nlink under proc_subdir_lock
Dec 5, 2019
f6b5e74
proc: fix lookup in /proc/net subdirectories after setns(2)
Dec 16, 2020
0a49dcb
i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
sylwesterdziedziuch Oct 22, 2020
05bc435
net: mvpp2: Add TCAM entry to drop flow control pause frames
stefanchulski Dec 17, 2020
c34d9a0
net: mvpp2: prs: fix PPPoE with ipv6 packet parse
stefanchulski Dec 17, 2020
c6fe0df
ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
Dec 18, 2020
3dd3a2c
ethernet: ucc_geth: set dev->max_mtu to 1518
Dec 18, 2020
cb6b813
atm: idt77252: call pci_disable_device() on error path
Dec 19, 2020
342dfbf
net: mvpp2: Fix GoP port 3 Networking Complex Control configurations
stefanchulski Dec 20, 2020
84faa9e
qede: fix offload for IPIP tunnel packets
manishc88 Dec 21, 2020
0e537b6
virtio_net: Fix recursive call to cpus_read_lock()
jdike Dec 23, 2020
536570d
net/ncsi: Use real net-device for response handler
Dec 23, 2020
aee91e2
net: ethernet: Fix memleak in ethoc_probe
dinghaoliu Dec 23, 2020
d446d45
net-sysfs: take the rtnl lock when storing xps_cpus
atenart Dec 23, 2020
d24237e
net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
atenart Dec 23, 2020
bac107a
net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered
grygoriyS Dec 24, 2020
e7874f6
tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
wyjwang Dec 25, 2020
4485c9a
ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
Dec 24, 2020
5e1bcb0
net: hns: fix return value check in __lb_other_process()
wyjwang Dec 26, 2020
418c872
erspan: fix version 1 check in gre_parse_header()
Dec 26, 2020
1c9dd82
net: hdlc_ppp: Fix issues when mod_timer is called while timer is run…
Dec 28, 2020
bd2b7f0
CDC-NCM: remove "connected" log message
rolandd Dec 24, 2020
a51933e
net: usb: qmi_wwan: add Quectel EM160R-GL
bmork Dec 30, 2020
09f9562
r8169: work around power-saving bug on some chip versions
hkallweit Dec 30, 2020
c1c2800
vhost_net: fix ubuf refcount incorrectly when sendmsg fails
wyjwang Dec 29, 2020
a9b1497
net: sched: prevent invalid Scell_log shift count
rddunlap Dec 25, 2020
e26b89c
net-sysfs: take the rtnl lock when storing xps_rxqs
atenart Dec 23, 2020
47d2cea
net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
atenart Dec 23, 2020
c5869a9
net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE
ffainelli Dec 18, 2020
8455076
Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
jwrdegoede Nov 22, 2020
db78218
video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
dcui Jan 9, 2021
c868c45
crypto: ecdh - avoid buffer overflow in ecdh_set_secret()
ardbiesheuvel Jan 2, 2021
9510cf7
staging: mt7621-dma: Fix a resource leak in an error handling path
tititiou36 Dec 13, 2020
cf9eb00
usb: gadget: enable super speed plus
cth2996 Jan 6, 2021
3085a50
USB: cdc-acm: blacklist another IR Droid device
seanyoung Dec 27, 2020
2d7a79f
USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().
Dec 19, 2020
02fd5b1
usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion
fancer Dec 10, 2020
54206f5
usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_…
YuKuai-huawei Nov 17, 2020
fd55951
USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk…
mgrzeschik Dec 15, 2020
848fd64
usb: usbip: vhci_hcd: protect shift size
rddunlap Dec 29, 2020
a5ab05d
usb: uas: Add PNY USB Portable SSD to unusual_uas
Jan 5, 2021
019bda1
USB: serial: iuu_phoenix: fix DMA from stack
jhovold Jan 4, 2021
8ca7511
USB: serial: option: add LongSung M5710 module support
fifteenhex Dec 27, 2020
09f3ee2
USB: serial: option: add Quectel EM160R-GL
bmork Dec 30, 2020
0291d2d
USB: yurex: fix control-URB timeout handling
jhovold Dec 14, 2020
82a9163
USB: usblp: fix DMA to stack
jhovold Jan 4, 2021
cac0989
ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
tiwai Dec 23, 2020
a180aeb
usb: gadget: select CONFIG_CRC32
arndb Jan 3, 2021
962406c
usb: gadget: f_uac2: reset wMaxPacketSize
jbrun3t Dec 21, 2020
4b16cce
usb: gadget: function: printer: Fix a memory leak for interface descr…
Zqiang1211 Dec 10, 2020
269f7c8
usb: gadget: u_ether: Fix MTU size mismatch with RX packet size
mnarani Nov 17, 2020
de1612b
USB: gadget: legacy: fix return error code in acm_ms_bind()
Nov 17, 2020
791da9f
usb: gadget: Fix spinlock lockup on usb_function_deactivate
Dec 2, 2020
00e0755
usb: gadget: configfs: Preserve function ordering after bind failure
Dec 29, 2020
5fad384
usb: gadget: configfs: Fix use-after-free issue with udc_name
Dec 29, 2020
8622b23
USB: serial: keyspan_pda: remove unused variable
jhovold Jan 8, 2021
57a2d2e
x86/mm: Fix leak of pmd ptlock
djbw Dec 3, 2020
177a721
ALSA: hda/via: Fix runtime PM for Clevo W35xSS
tiwai Jan 4, 2021
9676824
ALSA: hda/conexant: add a new hda codec CX11970
Dec 29, 2020
0f58f41
ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
KailangYang Oct 23, 2020
7ee3fd7
btrfs: send: fix wrong file path when there is an inode with a pendin…
fdmanana Dec 10, 2020
b7949ca
Revert "device property: Keep secondary firmware node secondary by type"
bardliao Jan 5, 2021
1af269e
xen/pvh: correctly setup the PV EFI interface for dom0
royger Apr 23, 2019
747ea0f
netfilter: x_tables: Update remaining dereference to RCU
Dec 17, 2020
98ecc6d
netfilter: ipset: fix shift-out-of-bounds in htable_bits()
vaverin Dec 17, 2020
594f02b
netfilter: xt_RATEEST: reject non-null terminated string from userspace
Dec 22, 2020
a16030b
x86/mtrr: Correct the range check before performing MTRR type lookups
Dec 15, 2020
62f95b7
KVM: x86: fix shift out of bounds reported by UBSAN
bonzini Dec 22, 2020
24d7375
scsi: target: Fix XCOPY NAA identifier lookup
ddiss Nov 3, 2020
d332b7c
Linux 4.19.167
gregkh Jan 12, 2021
1e0f2a6
Merge branch 'testing-1.9.0' into upstream
Jimbo77 Jan 17, 2021
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.
3 changes: 2 additions & 1 deletion Documentation/ABI/testing/sysfs-bus-iio
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,8 @@ What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
KernelVersion: 4.3
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no offset etc.) percentage reading of a substance.
Raw (unscaled no offset etc.) reading of a substance. Units
after application of scale and offset are percents.

What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
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 @@ -478,6 +478,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
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
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.
38 changes: 37 additions & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
loops can be debugged more effectively on production
systems.

clearcpuid=BITNUM [X86]
clearcpuid=BITNUM[,BITNUM...] [X86]
Disable CPUID feature X for the kernel. See
arch/x86/include/asm/cpufeatures.h for the valid bit
numbers. Note the Linux specific bits are not necessarily
Expand Down Expand Up @@ -2576,6 +2576,8 @@
mds=off [X86]
tsx_async_abort=off [X86]
kvm.nx_huge_pages=off [X86]
no_entry_flush [PPC]
no_uaccess_flush [PPC]

Exceptions:
This does not have any effect on
Expand Down Expand Up @@ -2886,6 +2888,8 @@

noefi Disable EFI runtime services support.

no_entry_flush [PPC] Don't flush the L1-D cache when entering the kernel.

noexec [IA-64]

noexec [X86]
Expand Down Expand Up @@ -2935,6 +2939,9 @@
nospec_store_bypass_disable
[HW] Disable all mitigations for the Speculative Store Bypass vulnerability

no_uaccess_flush
[PPC] Don't flush the L1-D cache after accessing user data.

noxsave [BUGS=X86] Disables x86 extended register state save
and restore using xsave. The kernel will fallback to
enabling legacy floating-point and sse state.
Expand Down Expand Up @@ -4443,6 +4450,26 @@
spia_pedr=
spia_peddr=

srbds= [X86,INTEL]
Control the Special Register Buffer Data Sampling
(SRBDS) mitigation.

Certain CPUs are vulnerable to an MDS-like
exploit which can leak bits from the random
number generator.

By default, this issue is mitigated by
microcode. However, the microcode fix can cause
the RDRAND and RDSEED instructions to become
much slower. Among other effects, this will
result in reduced throughput from /dev/urandom.

The microcode mitigation can be disabled with
the following option:

off: Disable mitigation and remove
performance impact to RDRAND and RDSEED

srcutree.counter_wrap_check [KNL]
Specifies how frequently to check for
grace-period sequence counter wrap for the
Expand Down Expand Up @@ -4999,6 +5026,7 @@
device);
j = NO_REPORT_LUNS (don't use report luns
command, uas only);
k = NO_SAME (do not use WRITE_SAME, uas only)
l = NOT_LOCKABLE (don't try to lock and
unlock ejectable media, not on uas);
m = MAX_SECTORS_64 (don't transfer more
Expand Down Expand Up @@ -5278,6 +5306,14 @@
with /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.

xen.event_eoi_delay= [XEN]
How long to delay EOI handling in case of event
storms (jiffies). Default is 10.

xen.event_loop_timeout= [XEN]
After which time (jiffies) the event handling loop
should start to delay EOI handling. Default is 2.

xirc2ps_cs= [NET,PCMCIA]
Format:
<irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arm64/silicon-errata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ stable kernels.
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
| ARM | Cortex-A55 | #1024718 | ARM64_ERRATUM_1024718 |
| ARM | Cortex-A76 | #1463225 | ARM64_ERRATUM_1463225 |
| ARM | Cortex-A77 | #1542418 | ARM64_ERRATUM_1542418 |
| ARM | Neoverse-N1 | #1542419 | ARM64_ERRATUM_1542419 |
| ARM | MMU-500 | #841119,#826419 | N/A |
| | | | |
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |
Expand Down
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings

This file was deleted.

119 changes: 119 additions & 0 deletions Documentation/devicetree/bindings/usb/dwc3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
synopsys DWC3 CORE

DWC3- USB3 CONTROLLER. Complies to the generic USB binding properties
as described in 'usb/generic.txt'

Required properties:
- compatible: must be "snps,dwc3"
- reg : Address and length of the register set for the device
- interrupts: Interrupts used by the dwc3 controller.
- clock-names: should contain "ref", "bus_early", "suspend"
- clocks: list of phandle and clock specifier pairs corresponding to
entries in the clock-names property.

Exception for clocks:
clocks are optional if the parent node (i.e. glue-layer) is compatible to
one of the following:
"amlogic,meson-axg-dwc3"
"amlogic,meson-gxl-dwc3"
"cavium,octeon-7130-usb-uctl"
"qcom,dwc3"
"samsung,exynos5250-dwusb3"
"samsung,exynos7-dwusb3"
"sprd,sc9860-dwc3"
"st,stih407-dwc3"
"ti,am437x-dwc3"
"ti,dwc3"
"ti,keystone-dwc3"
"rockchip,rk3399-dwc3"
"xlnx,zynqmp-dwc3"

Optional properties:
- usb-phy : array of phandle for the PHY device. The first element
in the array is expected to be a handle to the USB2/HS PHY and
the second element is expected to be a handle to the USB3/SS PHY
- phys: from the *Generic PHY* bindings
- phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy"
or "usb3-phy".
- resets: a single pair of phandle and reset specifier
- snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
- snps,disable_scramble_quirk: true when SW should disable data scrambling.
Only really useful for FPGA builds.
- snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
- snps,lpm-nyet-threshold: LPM NYET threshold
- snps,u2exit_lfps_quirk: set if we want to enable u2exit lfps quirk
- snps,u2ss_inp3_quirk: set if we enable P3 OK for U2/SS Inactive quirk
- snps,req_p1p2p3_quirk: when set, the core will always request for
P1/P2/P3 transition sequence.
- snps,del_p1p2p3_quirk: when set core will delay P1/P2/P3 until a certain
amount of 8B10B errors occur.
- snps,del_phy_power_chg_quirk: when set core will delay PHY power change
from P0 to P1/P2/P3.
- snps,lfps_filter_quirk: when set core will filter LFPS reception.
- snps,rx_detect_poll_quirk: when set core will disable a 400us delay to start
Polling LFPS after RX.Detect.
- snps,tx_de_emphasis_quirk: when set core will set Tx de-emphasis value.
- snps,tx_de_emphasis: the value driven to the PHY is controlled by the
LTSSM during USB3 Compliance mode.
- snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy.
- snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy.
- snps,dis_enblslpm_quirk: when set clears the enblslpm in GUSB2PHYCFG,
disabling the suspend signal to the PHY.
- snps,dis_rxdet_inp3_quirk: when set core will disable receiver detection
in PHY P3 power state.
- snps,dis-u2-freeclk-exists-quirk: when set, clear the u2_freeclk_exists
in GUSB2PHYCFG, specify that USB2 PHY doesn't provide
a free-running PHY clock.
- snps,dis-del-phy-power-chg-quirk: when set core will change PHY power
from P0 to P1/P2/P3 without delay.
- snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check
during HS transmit.
- snps,parkmode-disable-ss-quirk: when set, all SuperSpeed bus instances in
park mode are disabled.
- snps,dis_metastability_quirk: when set, disable metastability workaround.
CAUTION: use only if you are absolutely sure of it.
- snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
utmi_l1_suspend_n, false when asserts utmi_sleep_n
- snps,hird-threshold: HIRD threshold
- snps,hsphy_interface: High-Speed PHY interface selection between "utmi" for
UTMI+ and "ulpi" for ULPI when the DWC_USB3_HSPHY_INTERFACE has value 3.
- snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ
register for post-silicon frame length adjustment when the
fladj_30mhz_sdbnd signal is invalid or incorrect.
- snps,rx-thr-num-pkt-prd: periodic ESS RX packet threshold count - host mode
only. Set this and rx-max-burst-prd to a valid,
non-zero value 1-16 (DWC_usb31 programming guide
section 1.2.4) to enable periodic ESS RX threshold.
- snps,rx-max-burst-prd: max periodic ESS RX burst size - host mode only. Set
this and rx-thr-num-pkt-prd to a valid, non-zero value
1-16 (DWC_usb31 programming guide section 1.2.4) to
enable periodic ESS RX threshold.
- snps,tx-thr-num-pkt-prd: periodic ESS TX packet threshold count - host mode
only. Set this and tx-max-burst-prd to a valid,
non-zero value 1-16 (DWC_usb31 programming guide
section 1.2.3) to enable periodic ESS TX threshold.
- snps,tx-max-burst-prd: max periodic ESS TX burst size - host mode only. Set
this and tx-thr-num-pkt-prd to a valid, non-zero value
1-16 (DWC_usb31 programming guide section 1.2.3) to
enable periodic ESS TX threshold.

- <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated.
- snps,incr-burst-type-adjustment: Value for INCR burst type of GSBUSCFG0
register, undefined length INCR burst type enable and INCRx type.
When just one value, which means INCRX burst mode enabled. When
more than one value, which means undefined length INCR burst type
enabled. The values can be 1, 4, 8, 16, 32, 64, 128 and 256.

- in addition all properties from usb-xhci.txt from the current directory are
supported as well


This is usually a subnode to DWC3 glue to which it is connected.

dwc3@4a030000 {
compatible = "snps,dwc3";
reg = <0x4a030000 0xcfff>;
interrupts = <0 92 4>
usb-phy = <&usb2_phy>, <&usb3,phy>;
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
};
Loading