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

Merge tag 'v5.4.33' into 5.4-1.0.0-imx #64

Merged
merged 239 commits into from
Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
7092cc4
ARM: dts: sun8i-a83t-tbs-a711: HM5065 doesn't like such a high voltage
Feb 22, 2020
d04ffa5
bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads
Feb 21, 2020
5c23431
ARM: dts: Fix dm814x Ethernet by changing to use rgmii-id mode
tmlind Mar 3, 2020
fd29a02
bpf: Fix deadlock with rq_lock in bpf_send_signal()
yonghong-song Mar 4, 2020
ed1c4d2
iwlwifi: mvm: Fix rate scale NSS configuration
ilanpeer2 Mar 6, 2020
10e15e1
Input: tm2-touchkey - add support for Coreriver TC360 variant
AffeAli Feb 15, 2020
96860db
soc: fsl: dpio: register dpio irq handlers after dpio create
Mar 10, 2020
f8da7f4
rxrpc: Abstract out the calculation of whether there's Tx space
dhowells Mar 13, 2020
f96f2c8
rxrpc: Fix call interruptibility handling
dhowells Mar 13, 2020
b9c9619
net: stmmac: platform: Fix misleading interrupt error msg
mklntf Mar 6, 2020
ad4ad82
net: vxge: fix wrong __VA_ARGS__ usage
Mar 16, 2020
d63fac8
hinic: fix a bug of waitting for IO stopped
Mar 20, 2020
5edd115
hinic: fix the bug of clearing event queue
Mar 20, 2020
243ebc2
hinic: fix out-of-order excution in arm cpu
Mar 20, 2020
a8f9fe7
hinic: fix wrong para of wait_for_completion_timeout
Mar 20, 2020
9a3f55f
hinic: fix wrong value of MIN_SKB_LEN
Mar 20, 2020
d2037f6
selftests/net: add definition for SOL_DCCP to fix compilation errors …
alan-maguire Mar 18, 2020
f5429ec
cxgb4/ptp: pass the sign of offset delta in FW CMD
RajuRangoju Mar 24, 2020
0681684
drm/scheduler: fix rare NULL ptr race
Mar 23, 2020
d7f6f2b
cfg80211: Do not warn on same channel at the end of CSA
ilanpeer2 Mar 26, 2020
28f5b6e
qlcnic: Fix bad kzalloc null test
ISCAS-Vulab Mar 26, 2020
54d09aa
i2c: st: fix missing struct parameter description
Mar 26, 2020
a5ef462
i2c: pca-platform: Use platform_irq_get_optional
cpackham-atlnz Mar 26, 2020
33dbe58
media: rc: add keymap for Videostrong KII Pro
moham96 Jan 10, 2020
d5bc44e
cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
cniedermaier Feb 11, 2020
0d3d868
staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex
ajaykathat Feb 21, 2020
7bf2c31
media: venus: hfi_parser: Ignore HEVC encoding for V1
stephan-gh Dec 9, 2019
f9ee512
firmware: arm_sdei: fix double-lock on hibernate with shared events
Feb 21, 2020
becd9a9
null_blk: Fix the null_add_dev() error path
bvanassche Mar 10, 2020
38c1299
null_blk: Handle null_add_dev() failures properly
bvanassche Mar 10, 2020
502b83e
null_blk: fix spurious IO errors after failed past-wp access
Feb 12, 2020
dd051f1
media: imx: imx7_mipi_csis: Power off the source when stopping streaming
pinchartl Mar 10, 2020
61ed3dc
media: imx: imx7-media-csi: Fix video field handling
pinchartl Mar 10, 2020
99e20a7
xhci: bail out early if driver can't accress host in resume
matnyman Mar 12, 2020
ce7a61a
ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()
rafaeljw Mar 5, 2020
aa04e8d
x86: Don't let pgprot_modify() change the page encryption bit
thomashvmw Mar 4, 2020
e88ee28
dma-mapping: Fix dma_pgprot() for unencrypted coherent pages
thomashvmw Mar 4, 2020
fd66df9
block: keep bdi->io_pages in sync with max_sectors_kb for stacked dev…
koct9i Feb 28, 2020
c8b81c3
debugfs: Check module state before warning in {full/open}_proxy_open()
TaeheeYoo Feb 18, 2020
3f755f5
irqchip/versatile-fpga: Handle chained IRQs properly
mans0n Mar 19, 2020
2902207
time/sched_clock: Expire timer in hardirq context
a-darwish Mar 9, 2020
f755707
media: allegro: fix type of gop_length in channel_create message
tretter Mar 16, 2020
dd39ead
sched: Avoid scale real weight down to zero
wangyun2137 Mar 18, 2020
75434bc
selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
amluto Mar 12, 2020
d1d846f
PCI/switchtec: Fix init_completion race condition with poll_wait()
lsgunth Mar 21, 2020
fb80a18
block, bfq: move forward the getting of an extra ref in bfq_bfqq_move
Algodev-github Mar 21, 2020
288761c
media: i2c: video-i2c: fix build errors due to 'imply hwmon'
mranostay Mar 24, 2020
347f091
libata: Remove extra scsi_host_put() in ata_scsi_add_hosts()
Feb 28, 2020
aa547b9
pstore/platform: fix potential mem leak if pstore_init_fs failed
qiwuchen Feb 7, 2020
46bbc55
gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
AstralBob Nov 13, 2019
c5bcaac
gfs2: Don't demote a glock until its revokes are written
AstralBob Nov 13, 2019
f6bb3ea
cpufreq: imx6q: fix error handling
MrVan Mar 3, 2020
fc427b7
x86/boot: Use unsigned comparison for addresses
nivedita76 Mar 8, 2020
bceda1d
efi/x86: Ignore the memory attributes table on i386
ardbiesheuvel Mar 8, 2020
b9d5ced
genirq/irqdomain: Check pointer in irq_domain_alloc_irqs_hierarchy()
asverdlin Mar 6, 2020
510b4e0
block: Fix use-after-free issue accessing struct io_cq
Mar 11, 2020
b625783
media: i2c: ov5695: Fix power on and off sequences
Mar 11, 2020
80e85ab
usb: dwc3: core: add support for disabling SS instances in park mode
superna9999 Feb 21, 2020
6420b2e
irqchip/gic-v4: Provide irq_retrigger to avoid circular locking depen…
Mar 10, 2020
2d29a61
md: check arrays is suspended in mddev_detach before call quiesce ope…
Feb 11, 2020
64a9738
firmware: fix a double abort case with fw_load_sysfs_fallback
sunjy516 Mar 3, 2020
b9da72c
spi: spi-fsl-dspi: Replace interruptible wait queue with a simple com…
vladimiroltean Mar 18, 2020
bd9afea
locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()
fbq Mar 12, 2020
b37de1b
block, bfq: fix use-after-free in bfq_idle_slice_timer_body
ZhiqiangLiu26 Mar 19, 2020
6798851
btrfs: qgroup: ensure qgroup_rescan_running is only set when the work…
adam900710 Feb 7, 2020
ddc25a3
btrfs: remove a BUG_ON() from merge_reloc_roots()
josefbacik Mar 4, 2020
9632851
btrfs: restart relocate_tree_blocks properly
josefbacik Mar 13, 2020
acec0e9
btrfs: track reloc roots based on their commit root bytenr
josefbacik Mar 13, 2020
803db8a
ASoC: fix regwmask
gt82lee Mar 30, 2020
af0b76f
ASoC: dapm: connect virtual mux with default value
gt82lee Mar 31, 2020
f467e05
ASoC: dpcm: allow start or stop during pause for backend
gt82lee Apr 1, 2020
9a8b1ba
ASoC: topology: use name_prefix for new kcontrol
gt82lee Apr 1, 2020
a385ebd
usb: gadget: f_fs: Fix use after free issue as part of queue failure
Mar 26, 2020
78a9275
usb: gadget: composite: Inform controller driver of self-powered
Feb 4, 2020
1ee0023
ALSA: usb-audio: Add mixer workaround for TRX40 and co
tiwai Apr 8, 2020
f4f0a1f
ALSA: hda: Add driver blacklist
tiwai Apr 8, 2020
6a9ba56
ALSA: hda: Fix potential access overflow in beep helper
tiwai Apr 7, 2020
e3ab9c5
ALSA: ice1724: Fix invalid access for enumerated ctl items
tiwai Apr 7, 2020
1dfcd70
ALSA: pcm: oss: Fix regression by buffer overflow fix
tiwai Apr 3, 2020
faea949
ALSA: hda/realtek: Enable mute LED on an HP system
khfeng Mar 27, 2020
3e71674
ALSA: hda/realtek - a fake key event is triggered by running shutup
jason77-wang Mar 29, 2020
0f18192
ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
tchebb Mar 30, 2020
a92931d
ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
tchebb Mar 30, 2020
f546266
ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
tchebb Mar 30, 2020
09e7b67
ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
jwrdegoede Apr 2, 2020
be9956b
ALSA: hda/realtek - Add quirk for MSI GL63
tiwai Apr 8, 2020
7ac962c
media: venus: firmware: Ignore secure call error on first resume
Mar 4, 2020
46b0e29
media: hantro: Read be32 words starting at every fourth byte
andrzejtp Jan 27, 2020
3a59d98
media: ti-vpe: cal: fix disable_irqs to only the intended target
bparrot Mar 2, 2020
15ae94f
media: ti-vpe: cal: fix a kernel oops when unloading module
bparrot Mar 6, 2020
52e6985
seccomp: Add missing compat_ioctl for notify
svens-s390 Mar 10, 2020
1efd20e
acpi/x86: ignore unspecified bit positions in the ACPI global lock field
jengelh Mar 5, 2020
dd993e2
ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE
rafaeljw Mar 25, 2020
e7251a8
ACPI: PM: s2idle: Refine active GPEs check
rafaeljw Mar 25, 2020
b3c7227
thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
xdarklight Apr 3, 2020
0eb4d8b
nvmet-tcp: fix maxh2cdata icresp parameter
sagigrimberg Feb 26, 2020
91bed1f
nvme-fc: Revert "add module to ops template to allow module references"
jsmart-gh Apr 3, 2020
c755ca3
efi/x86: Add TPM related EFI tables to unencrypted mapping checks
tlendacky Feb 28, 2020
463181e
PCI: pciehp: Fix indefinite wait on sysfs requests
l1k Mar 18, 2020
72d52a7
PCI/ASPM: Clear the correct bits when enabling L1 substates
Mar 13, 2020
55b61a0
PCI: Add boot interrupt quirk mechanism for Xeon chipsets
Feb 20, 2020
9684334
PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
andersson Dec 27, 2019
8b6f861
PCI: endpoint: Fix for concurrent memory allocation in OB address region
kishon Feb 24, 2020
524089f
sched/fair: Fix enqueue_task_fair warning
vingu-linaro Mar 6, 2020
96e05bb
tpm: Don't make log failures fatal
Jan 2, 2020
27544e1
tpm: tpm1_bios_measurements_next should increase position index
vaverin Feb 25, 2020
f7384f9
tpm: tpm2_bios_measurements_next should increase position index
vaverin Feb 25, 2020
4b67e5a
KEYS: reaching the keys quotas correctly
xuyang0410 Feb 28, 2020
6ecc37d
cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()
KAGA-KOKO Mar 27, 2020
3f3700c
genirq/debugfs: Add missing sanity checks to interrupt injection
KAGA-KOKO Mar 6, 2020
6124e10
irqchip/versatile-fpga: Apply clear-mask earlier
mans0n Mar 21, 2020
38119a6
io_uring: remove bogus RLIMIT_NOFILE check in file registration
axboe Apr 3, 2020
4acbbe9
pstore: pstore_ftrace_seq_next should increase position index
vaverin Feb 25, 2020
ed374ee
MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3
chenhuacai Mar 25, 2020
5bd5307
MIPS: OCTEON: irq: Fix potential NULL pointer dereference
GustavoARSilva Jan 22, 2019
4fcbc35
PM / Domains: Allow no domain-idle-states DT property in genpd when p…
storulf Mar 10, 2020
d941b33
PM: sleep: wakeup: Skip wakeup_source_sysfs_remove() if device is not…
Mar 23, 2020
0a993df
ath9k: Handle txpower changes even when TPC is disabled
repk Feb 29, 2020
5f2d041
signal: Extend exec_id to 64bits
ebiederm Mar 31, 2020
6c63cf1
x86/tsc_msr: Use named struct initializers
jwrdegoede Feb 23, 2020
41a7f84
x86/tsc_msr: Fix MSR_FSB_FREQ mask for Cherry Trail devices
jwrdegoede Feb 23, 2020
3dc0626
x86/tsc_msr: Make MSR derived TSC frequency more accurate
jwrdegoede Feb 23, 2020
bd90b96
x86/entry/32: Add missing ASM_CLAC to general_protection entry
KAGA-KOKO Feb 25, 2020
99a890e
platform/x86: asus-wmi: Support laptops where the first battery is na…
klausenbusk Mar 3, 2020
2c5bfcd
KVM: nVMX: Properly handle userspace interrupt window request
Mar 3, 2020
654b70e
KVM: s390: vsie: Fix region 1 ASCE sanity shadow address checks
davidhildenbrand Apr 3, 2020
0c7fb8c
KVM: s390: vsie: Fix delivery of addressing exceptions
davidhildenbrand Apr 3, 2020
bcd1d74
KVM: x86: Allocate new rmap and large page tracking when moving memslot
Feb 18, 2020
455f37a
KVM: VMX: Always VMCLEAR in-use VMCSes during crash with kexec support
Mar 21, 2020
771b937
KVM: x86: Gracefully handle __vmalloc() failure during VM allocation
Jan 27, 2020
93a2b73
KVM: VMX: Add a trampoline to fix VMREAD error handling
Mar 26, 2020
40888c3
KVM: VMX: fix crash cleanup when KVM wasn't used
vittyvk Apr 1, 2020
9b35348
smb3: fix performance regression with setting mtime
Feb 24, 2020
c138ad0
CIFS: Fix bug which the return value by asynchronous read is error
Mar 18, 2020
4da7c98
mtd: spinand: Stop using spinand->oobbuf for buffering bad block markers
fschrempf Feb 18, 2020
0297b7f
mtd: spinand: Do not erase the block before writing a bad block marker
fschrempf Feb 18, 2020
941dabd
btrfs: Don't submit any btree write bio if the fs has errors
adam900710 Feb 12, 2020
1bd44ca
Btrfs: fix crash during unmount due to race with delayed inode workers
fdmanana Feb 28, 2020
441b83a
btrfs: reloc: clean dirty subvols if we fail to start a transaction
josefbacik Mar 4, 2020
dd68ba0
btrfs: set update the uuid generation as soon as possible
josefbacik Feb 14, 2020
b436fbf
btrfs: drop block from cache on error in relocation
josefbacik Mar 4, 2020
098d3da
btrfs: fix missing file extent item for hole after ranged fsync
fdmanana Mar 9, 2020
08e69ab
btrfs: unset reloc control if we fail to recover
josefbacik Mar 4, 2020
0425813
btrfs: fix missing semaphore unlock in btrfs_sync_file
Mar 17, 2020
87a9058
btrfs: use nofs allocations for running delayed items
josefbacik Mar 19, 2020
241f681
remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown
andersson Mar 4, 2020
5b677ed
remoteproc: qcom_q6v5_mss: Reload the mba region on coredump
Mar 4, 2020
6b936b1
remoteproc: Fix NULL pointer dereference in rproc_virtio_notify
maquefel Mar 6, 2020
248414f
crypto: rng - Fix a refcounting bug in crypto_rng_reset()
Jan 20, 2020
433868b
crypto: mxs-dcp - fix scatterlist linearization for hash
Feb 25, 2020
a181a74
erofs: correct the remaining shrink objects
Feb 26, 2020
7661469
io_uring: honor original task RLIMIT_FSIZE
axboe Mar 20, 2020
e0ae9da
mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions
yangbolu1991 Jan 8, 2020
a0f079a
powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()
Feb 18, 2019
add09c8
tools: gpio: Fix out-of-tree build regression
anssih Mar 25, 2020
27dbb36
net: qualcomm: rmnet: Allow configuration updates to existing devices
Apr 1, 2020
8b06804
arm64: dts: allwinner: h6: Fix PMU compatible
mripard Feb 10, 2020
1dbfae0
sched/core: Remove duplicate assignment in sched_tick_remote()
crwood-rh Feb 4, 2020
935e87b
arm64: dts: allwinner: h5: Fix PMU compatible
mripard Feb 10, 2020
5c84ab9
mm, memcg: do not high throttle allocators based on wraparound
kuba-moo Apr 10, 2020
bef0d2f
dm writecache: add cond_resched to avoid CPU hangs
Mar 27, 2020
833309f
dm integrity: fix a crash with unusually large tag size
Mar 22, 2020
2e70305
dm verity fec: fix memory leak in verity_fec_dtr
Mar 17, 2020
996f8f1
dm clone: Add overflow check for number of regions
ntsiron Mar 27, 2020
a1ffc47
dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions()
ntsiron Mar 27, 2020
8f4c8e9
XArray: Fix xas_pause for large multi-index entries
Jan 31, 2020
07378b0
xarray: Fix early termination of xas_for_each_marked
Mar 12, 2020
bc8413b
crypto: caam/qi2 - fix chacha20 data size error
horiag Feb 28, 2020
f3f13f9
crypto: caam - update xts sector size for large input length
andreibotila Feb 28, 2020
a867446
crypto: ccree - protect against empty or NULL scatterlists
gby Jan 29, 2020
9135cd1
crypto: ccree - only try to map auth tag if needed
gby Jan 29, 2020
8179a26
crypto: ccree - dec auth tag size from cryptlen map
gby Feb 2, 2020
0ad68e6
scsi: zfcp: fix missing erp_lock in port recovery trigger for point-t…
steffen-maier Mar 12, 2020
73a122c
scsi: ufs: fix Auto-Hibern8 error detection
Jan 29, 2020
e5b9c10
scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 err…
jsmart-gh Jan 28, 2020
9d971b0
ARM: dts: exynos: Fix polarity of the LCD SPI bus on UniversalC210 board
mszyprow Mar 4, 2020
3d66a67
arm64: dts: ti: k3-am65: Add clocks to dwc3 nodes
dgerlach Mar 11, 2020
20a62e9
arm64: armv8_deprecated: Fix undef_hook mask for thumb setend
frestr Apr 8, 2020
336b96a
selftests: vm: drop dependencies on page flags from mlock2 tests
Apr 2, 2020
e1ec78f
selftests/vm: fix map_hugetlb length used for testing read and write
chleroy Apr 2, 2020
b5eec37
selftests/powerpc: Add tlbie_test in .gitignore
chleroy Feb 28, 2020
cda1eda
vfio: platform: Switch to platform_get_irq_optional()
eauger Mar 24, 2020
463a2dd
drm/i915/gem: Flush all the reloc_gpu batch
ickle Apr 6, 2020
b716a5f
drm/etnaviv: rework perfmon query infrastructure
austriancoder Feb 28, 2020
fe0ec6f
drm: Remove PageReserved manipulation from drm_pci_alloc
ickle Feb 2, 2020
45bc323
drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
Apr 1, 2020
4e4c676
drm/amdgpu: unify fw_write_wait for new gfx9 asics
aaliuamd Apr 7, 2020
2799336
powerpc/pseries: Avoid NULL pointer dereference when drmem is unavail…
Jan 31, 2020
98a817e
nfsd: fsnotify on rmdir under nfsd/clients/
Mar 19, 2020
6b64cbd
NFS: Fix use-after-free issues in nfs_pageio_add_request()
Mar 29, 2020
699d2c4
NFS: Fix a page leak in nfs_destroy_unlinked_subrequests()
Apr 1, 2020
6772387
ext4: fix a data race at inode->i_blocks
Feb 22, 2020
47199f4
fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once()
ebiggers Apr 10, 2020
beb3ef5
ocfs2: no need try to truncate file beyond i_size
changweige Apr 10, 2020
453fb8b
perf tools: Support Python 3.8+ in Makefile
Jan 31, 2020
efb9e9f
s390/diag: fix display of diagnose call statistics
Mar 3, 2020
7dad5be
Input: i8042 - add Acer Aspire 5738z to nomux list
jwrdegoede Apr 1, 2020
7bcca67
ftrace/kprobe: Show the maxactive number on kprobe_events
mhiramat Mar 24, 2020
9e8388f
clk: ingenic/jz4770: Exit with error if CGU init failed
pcercuei Feb 13, 2020
bf4fcd5
clk: ingenic/TCU: Fix round_rate returning error
pcercuei Feb 13, 2020
9cc4f52
kmod: make request_module() return an error when autoloading is disabled
ebiggers Apr 10, 2020
af80e6f
cpufreq: powernv: Fix use-after-free
oohal Feb 6, 2020
ec2c054
hfsplus: fix crash and filesystem corruption when deleting files
Apr 10, 2020
d0b9bd4
libata: Return correct status in sata_pmp_eh_recover_pm() when ATA_DF…
khfeng Mar 27, 2019
5fdf011
ipmi: fix hung processes in __get_guid()
taskset Apr 3, 2020
0abc07d
xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()
jgross1 Apr 3, 2020
38aa7f3
powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
mpe Mar 31, 2020
81b9336
powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
tudorl Jan 23, 2020
bd0fa14
powerpc/hash64/devmap: Use H_PAGE_THP_HUGE when setting up huge devma…
kvaneesh Mar 13, 2020
9240f83
powerpc/xive: Use XIVE_BAD_IRQ instead of zero to catch non configure…
legoater Mar 6, 2020
1ab730b
powerpc/64: Setup a paca before parsing device tree etc.
daxtens Mar 20, 2020
ed6f6b2
powerpc/xive: Fix xmon support on the PowerNV platform
legoater Mar 6, 2020
fc8755d
powerpc/kprobes: Ignore traps that happened in real mode
chleroy Feb 18, 2020
e294f8a
powerpc/64: Prevent stack protection in early boot
mpe Mar 20, 2020
3457b22
scsi: mpt3sas: Fix kernel panic observed on soft HBA unplug
sreekanthbrcm Mar 27, 2020
ba7581b
powerpc: Make setjmp/longjmp signature standard
legrosbuffle Mar 30, 2020
1ba26c2
arm64: Always force a branch protection mode when the compiler has one
broonie Mar 31, 2020
fddfa59
dm zoned: remove duplicate nr_rnd_zones increase in dmz_init_zone()
Mar 24, 2020
dcf2f00
dm clone: replace spin_lock_irqsave with spin_lock_irq
Oct 4, 2019
2d7eb7e
dm clone: Fix handling of partial region discards
ntsiron Mar 27, 2020
33344a7
dm clone: Add missing casts to prevent overflows and data corruption
ntsiron Mar 27, 2020
f48e759
scsi: lpfc: Add registration for CPU Offline/Online events
jsmart-gh Nov 5, 2019
037b0b5
scsi: lpfc: Fix Fabric hostname registration if system hostname changes
jsmart-gh Dec 18, 2019
33ebae4
scsi: lpfc: Fix configuration of BB credit recovery in service parame…
jsmart-gh Nov 5, 2019
ba74ab0
scsi: lpfc: Fix broken Credit Recovery after driver load
jsmart-gh Jan 28, 2020
7676e69
Revert "drm/dp_mst: Remove VCPI while disabling topology mgr"
Apr 16, 2020
d1bbdf0
drm/dp_mst: Fix clearing payload state on topology disable
Lyude Jan 22, 2020
bdac1d7
drm/amdgpu: fix gfx hang during suspend with video playback (v2)
Apr 7, 2020
36b0b1f
drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode
ideak Mar 30, 2020
c1f3e1d
powerpc/kasan: Fix kasan_remap_early_shadow_ro()
chleroy Mar 6, 2020
56a2966
mmc: sdhci: Convert sdhci_set_timeout_irq() to non-static
Faiz-Abbas Jan 16, 2020
26711cc
mmc: sdhci: Refactor sdhci_set_timeout()
Faiz-Abbas Jan 16, 2020
b70eb42
bpf: Fix tnum constraints for 32-bit comparisons
thejh Mar 30, 2020
0c839ee
mfd: dln2: Fix sanity checking for endpoints
andy-shev Feb 26, 2020
aed5ee6
efi/x86: Fix the deletion of variables in mixed mode
lcp Apr 9, 2020
8dead2c
ASoC: stm32: sai: Add missing cleanup
JuliaLawall Apr 5, 2020
484cc15
scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list()
jsmart-gh Nov 11, 2019
dc4059d
Linux 5.4.33
gregkh Apr 17, 2020
4b462e0
Merge tag 'v5.4.33' into 5.4-1.0.0-imx
gibsson Apr 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Documentation/sound/hd-audio/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ HD-Audio
models
controls
dp-mst
realtek-pc-beep
2 changes: 0 additions & 2 deletions Documentation/sound/hd-audio/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ alc298-dell-aio
ALC298 fixups on Dell AIO machines
alc275-dell-xps
ALC275 fixups on Dell XPS models
alc256-dell-xps13
ALC256 fixups on Dell XPS13
lenovo-spk-noise
Workaround for speaker noise on Lenovo machines
lenovo-hotkey
Expand Down
129 changes: 129 additions & 0 deletions Documentation/sound/hd-audio/realtek-pc-beep.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
===============================
Realtek PC Beep Hidden Register
===============================

This file documents the "PC Beep Hidden Register", which is present in certain
Realtek HDA codecs and controls a muxer and pair of passthrough mixers that can
route audio between pins but aren't themselves exposed as HDA widgets. As far
as I can tell, these hidden routes are designed to allow flexible PC Beep output
for codecs that don't have mixer widgets in their output paths. Why it's easier
to hide a mixer behind an undocumented vendor register than to just expose it
as a widget, I have no idea.

Register Description
====================

The register is accessed via processing coefficient 0x36 on NID 20h. Bits not
identified below have no discernible effect on my machine, a Dell XPS 13 9350::

MSB LSB
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |h|S|L| | B |R| | Known bits
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
|0|0|1|1| 0x7 |0|0x0|1| 0x7 | Reset value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

1Ah input select (B): 2 bits
When zero, expose the PC Beep line (from the internal beep generator, when
enabled with the Set Beep Generation verb on NID 01h, or else from the
external PCBEEP pin) on the 1Ah pin node. When nonzero, expose the headphone
jack (or possibly Line In on some machines) input instead. If PC Beep is
selected, the 1Ah boost control has no effect.

Amplify 1Ah loopback, left (L): 1 bit
Amplify the left channel of 1Ah before mixing it into outputs as specified
by h and S bits. Does not affect the level of 1Ah exposed to other widgets.

Amplify 1Ah loopback, right (R): 1 bit
Amplify the right channel of 1Ah before mixing it into outputs as specified
by h and S bits. Does not affect the level of 1Ah exposed to other widgets.

Loopback 1Ah to 21h [active low] (h): 1 bit
When zero, mix 1Ah (possibly with amplification, depending on L and R bits)
into 21h (headphone jack on my machine). Mixed signal respects the mute
setting on 21h.

Loopback 1Ah to 14h (S): 1 bit
When one, mix 1Ah (possibly with amplification, depending on L and R bits)
into 14h (internal speaker on my machine). Mixed signal **ignores** the mute
setting on 14h and is present whenever 14h is configured as an output.

Path diagrams
=============

1Ah input selection (DIV is the PC Beep divider set on NID 01h)::

<Beep generator> <PCBEEP pin> <Headphone jack>
| | |
+--DIV--+--!DIV--+ {1Ah boost control}
| |
+--(b == 0)--+--(b != 0)--+
|
>1Ah (Beep/Headphone Mic/Line In)<

Loopback of 1Ah to 21h/14h::

<1Ah (Beep/Headphone Mic/Line In)>
|
{amplify if L/R}
|
+-----!h-----+-----S-----+
| |
{21h mute control} |
| |
>21h (Headphone)< >14h (Internal Speaker)<

Background
==========

All Realtek HDA codecs have a vendor-defined widget with node ID 20h which
provides access to a bank of registers that control various codec functions.
Registers are read and written via the standard HDA processing coefficient
verbs (Set/Get Coefficient Index, Set/Get Processing Coefficient). The node is
named "Realtek Vendor Registers" in public datasheets' verb listings and,
apart from that, is entirely undocumented.

This particular register, exposed at coefficient 0x36 and named in commits from
Realtek, is of note: unlike most registers, which seem to control detailed
amplifier parameters not in scope of the HDA specification, it controls audio
routing which could just as easily have been defined using standard HDA mixer
and selector widgets.

Specifically, it selects between two sources for the input pin widget with Node
ID (NID) 1Ah: the widget's signal can come either from an audio jack (on my
laptop, a Dell XPS 13 9350, it's the headphone jack, but comments in Realtek
commits indicate that it might be a Line In on some machines) or from the PC
Beep line (which is itself multiplexed between the codec's internal beep
generator and external PCBEEP pin, depending on if the beep generator is
enabled via verbs on NID 01h). Additionally, it can mix (with optional
amplification) that signal onto the 21h and/or 14h output pins.

The register's reset value is 0x3717, corresponding to PC Beep on 1Ah that is
then amplified and mixed into both the headphones and the speakers. Not only
does this violate the HDA specification, which says that "[a vendor defined
beep input pin] connection may be maintained *only* while the Link reset
(**RST#**) is asserted", it means that we cannot ignore the register if we care
about the input that 1Ah would otherwise expose or if the PCBEEP trace is
poorly shielded and picks up chassis noise (both of which are the case on my
machine).

Unfortunately, there are lots of ways to get this register configuration wrong.
Linux, it seems, has gone through most of them. For one, the register resets
after S3 suspend: judging by existing code, this isn't the case for all vendor
registers, and it's led to some fixes that improve behavior on cold boot but
don't last after suspend. Other fixes have successfully switched the 1Ah input
away from PC Beep but have failed to disable both loopback paths. On my
machine, this means that the headphone input is amplified and looped back to
the headphone output, which uses the exact same pins! As you might expect, this
causes terrible headphone noise, the character of which is controlled by the
1Ah boost control. (If you've seen instructions online to fix XPS 13 headphone
noise by changing "Headphone Mic Boost" in ALSA, now you know why.)

The information here has been obtained through black-box reverse engineering of
the ALC256 codec's behavior and is not guaranteed to be correct. It likely
also applies for the ALC255, ALC257, ALC235, and ALC236, since those codecs
seem to be close relatives of the ALC256. (They all share one initialization
function.) Additionally, other codecs like the ALC225 and ALC285 also have this
register, judging by existing fixups in ``patch_realtek.c``, but specific
data (e.g. node IDs, bit positions, pin mappings) for those codecs may differ
from what I've described here.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 4
SUBLEVEL = 32
SUBLEVEL = 33
EXTRAVERSION =
NAME = Kleptomaniac Octopus

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/dm8148-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

&cpsw_emac0 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&cpsw_emac1 {
phy-handle = <&ethphy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&davinci_mdio {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/dm8148-t410.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@

&cpsw_emac0 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&cpsw_emac1 {
phy-handle = <&ethphy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&davinci_mdio {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/dra62x-j5eco-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

&cpsw_emac0 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&cpsw_emac1 {
phy-handle = <&ethphy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
};

&davinci_mdio {
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/exynos4210-universal_c210.dts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>;
gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>;
num-chipselects = <1>;
cs-gpios = <&gpy4 3 GPIO_ACTIVE_HIGH>;
cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;

lcd@0 {
compatible = "samsung,ld9040";
Expand All @@ -124,8 +124,6 @@
vci-supply = <&ldo17_reg>;
reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
spi-max-frequency = <1200000>;
spi-cpol;
spi-cpha;
power-on-delay = <10>;
reset-delay = <10>;
panel-width-mm = <90>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@
};

&reg_dldo3 {
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vdd-csi";
};

Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ stack_protector_prepare: prepare0
include/generated/asm-offsets.h))
endif

# Ensure that if the compiler supports branch protection we default it
# off.
KBUILD_CFLAGS += $(call cc-option,-mbranch-protection=none)

ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)
KBUILD_CPPFLAGS += -mbig-endian
CHECKFLAGS += -D__AARCH64EB__
Expand Down
3 changes: 1 addition & 2 deletions arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
};

pmu {
compatible = "arm,cortex-a53-pmu",
"arm,armv8-pmuv3";
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
Expand Down
3 changes: 1 addition & 2 deletions arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
};

pmu {
compatible = "arm,cortex-a53-pmu",
"arm,armv8-pmuv3";
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/ti/k3-am65-main.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
dma-coherent;
power-domains = <&k3_pds 151 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
assigned-clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
<&k3_clks 151 9>; /* set PIPE3_TXB_CLK to CLK_12M_RC/256 (for HS only) */
Expand Down Expand Up @@ -346,6 +347,7 @@
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
dma-coherent;
power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 152 2>;
assigned-clocks = <&k3_clks 152 2>;
assigned-clock-parents = <&k3_clks 152 4>; /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */

Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/kernel/armv8_deprecated.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ static struct undef_hook setend_hooks[] = {
},
{
/* Thumb mode */
.instr_mask = 0x0000fff7,
.instr_mask = 0xfffffff7,
.instr_val = 0x0000b650,
.pstate_mask = (PSR_AA32_T_BIT | PSR_AA32_MODE_MASK),
.pstate_val = (PSR_AA32_T_BIT | PSR_AA32_MODE_USR),
Expand Down
3 changes: 3 additions & 0 deletions arch/mips/cavium-octeon/octeon-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,9 @@ static int octeon_irq_cib_map(struct irq_domain *d,
}

cd = kzalloc(sizeof(*cd), GFP_KERNEL);
if (!cd)
return -ENOMEM;

cd->host_data = host_data;
cd->bit = hw;

Expand Down
5 changes: 4 additions & 1 deletion arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,7 @@ static void build_r4000_tlb_refill_handler(void)

static void setup_pw(void)
{
unsigned int pwctl;
unsigned long pgd_i, pgd_w;
#ifndef __PAGETABLE_PMD_FOLDED
unsigned long pmd_i, pmd_w;
Expand All @@ -1506,6 +1507,7 @@ static void setup_pw(void)

pte_i = ilog2(_PAGE_GLOBAL);
pte_w = 0;
pwctl = 1 << 30; /* Set PWDirExt */

#ifndef __PAGETABLE_PMD_FOLDED
write_c0_pwfield(pgd_i << 24 | pmd_i << 12 | pt_i << 6 | pte_i);
Expand All @@ -1516,8 +1518,9 @@ static void setup_pw(void)
#endif

#ifdef CONFIG_MIPS_HUGE_TLB_SUPPORT
write_c0_pwctl(1 << 6 | psn);
pwctl |= (1 << 6 | psn);
#endif
write_c0_pwctl(pwctl);
write_c0_kpgd((long)swapper_pg_dir);
kscratch_used_mask |= (1 << 7); /* KScratch6 is used for KPGD */
}
Expand Down
6 changes: 6 additions & 0 deletions arch/powerpc/include/asm/book3s/64/hash-4k.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ extern pmd_t hash__pmdp_huge_get_and_clear(struct mm_struct *mm,
extern int hash__has_transparent_hugepage(void);
#endif

static inline pmd_t hash__pmd_mkdevmap(pmd_t pmd)
{
BUG();
return pmd;
}

#endif /* !__ASSEMBLY__ */

#endif /* _ASM_POWERPC_BOOK3S_64_HASH_4K_H */
8 changes: 7 additions & 1 deletion arch/powerpc/include/asm/book3s/64/hash-64k.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array,
*/
static inline int hash__pmd_trans_huge(pmd_t pmd)
{
return !!((pmd_val(pmd) & (_PAGE_PTE | H_PAGE_THP_HUGE)) ==
return !!((pmd_val(pmd) & (_PAGE_PTE | H_PAGE_THP_HUGE | _PAGE_DEVMAP)) ==
(_PAGE_PTE | H_PAGE_THP_HUGE));
}

Expand All @@ -272,6 +272,12 @@ extern pmd_t hash__pmdp_huge_get_and_clear(struct mm_struct *mm,
unsigned long addr, pmd_t *pmdp);
extern int hash__has_transparent_hugepage(void);
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */

static inline pmd_t hash__pmd_mkdevmap(pmd_t pmd)
{
return __pmd(pmd_val(pmd) | (_PAGE_PTE | H_PAGE_THP_HUGE | _PAGE_DEVMAP));
}

#endif /* __ASSEMBLY__ */

#endif /* _ASM_POWERPC_BOOK3S_64_HASH_64K_H */
4 changes: 3 additions & 1 deletion arch/powerpc/include/asm/book3s/64/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,9 @@ extern void serialize_against_pte_lookup(struct mm_struct *mm);

static inline pmd_t pmd_mkdevmap(pmd_t pmd)
{
return __pmd(pmd_val(pmd) | (_PAGE_PTE | _PAGE_DEVMAP));
if (radix_enabled())
return radix__pmd_mkdevmap(pmd);
return hash__pmd_mkdevmap(pmd);
}

static inline int pmd_devmap(pmd_t pmd)
Expand Down
5 changes: 5 additions & 0 deletions arch/powerpc/include/asm/book3s/64/radix.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@ static inline int radix__has_transparent_hugepage(void)
}
#endif

static inline pmd_t radix__pmd_mkdevmap(pmd_t pmd)
{
return __pmd(pmd_val(pmd) | (_PAGE_PTE | _PAGE_DEVMAP));
}

extern int __meminit radix__vmemmap_create_mapping(unsigned long start,
unsigned long page_size,
unsigned long phys);
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/include/asm/drmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ struct drmem_lmb_info {
extern struct drmem_lmb_info *drmem_info;

#define for_each_drmem_lmb_in_range(lmb, start, end) \
for ((lmb) = (start); (lmb) <= (end); (lmb)++)
for ((lmb) = (start); (lmb) < (end); (lmb)++)

#define for_each_drmem_lmb(lmb) \
for_each_drmem_lmb_in_range((lmb), \
&drmem_info->lmbs[0], \
&drmem_info->lmbs[drmem_info->n_lmbs - 1])
&drmem_info->lmbs[drmem_info->n_lmbs])

/*
* The of_drconf_cell_v1 struct defines the layout of the LMB data
Expand Down
Loading