2020-02-21 08:39:33

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 000/344] 5.4.22-stable review

This is the start of the stable review cycle for the 5.4.22 release.
There are 344 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 5.4.22-rc1

Coly Li <[email protected]>
bcache: properly initialize 'path' and 'err' in register_bcache()

Alex Deucher <[email protected]>
drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)

Niklas Schnelle <[email protected]>
s390/pci: Recover handle in clp_set_pci_fn()

Ido Schimmel <[email protected]>
mlxsw: spectrum_dpipe: Add missing error path

Miklos Szeredi <[email protected]>
fuse: don't overflow LLONG_MAX with end offset

Michael S. Tsirkin <[email protected]>
virtio_balloon: prevent pfn array overflow

Steve French <[email protected]>
cifs: log warning message (once) if out of disk space

Maciej Fijalkowski <[email protected]>
i40e: Relax i40e_xsk_wakeup's return value when PF is busy

Vasily Averin <[email protected]>
help_next should increase position index

Wenwen Wang <[email protected]>
NFS: Fix memory leaks

Alex Deucher <[email protected]>
drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage

Alex Deucher <[email protected]>
drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency

Zhiqiang Liu <[email protected]>
brd: check and limit max_part par

Shubhrajyoti Datta <[email protected]>
microblaze: Prevent the overflow of the start

Peter Zijlstra <[email protected]>
asm-generic/tlb: add missing CONFIG symbol

Andrei Otcheretianski <[email protected]>
iwlwifi: mvm: Check the sta is not NULL in iwl_mvm_cfg_he_sta()

Andrei Otcheretianski <[email protected]>
iwlwifi: mvm: Fix thermal zone registration

Christoph Hellwig <[email protected]>
nvme-pci: remove nvmeq->tags

Amol Grover <[email protected]>
nvmet: Pass lockdep expression to RCU lists

Zenghui Yu <[email protected]>
irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL

Coly Li <[email protected]>
bcache: fix incorrect data type usage in btree_flush_write()

Coly Li <[email protected]>
bcache: explicity type cast in bset_bkey_last()

Coly Li <[email protected]>
bcache: fix memory corruption in bch_cache_accounting_clear()

Yunfeng Ye <[email protected]>
reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()

Nathan Chancellor <[email protected]>
lib/scatterlist.c: adjust indentation in __sg_alloc_table

wangyan <[email protected]>
ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()

Masahiro Yamada <[email protected]>
ocfs2: make local header paths relative to C files

Josef Bacik <[email protected]>
btrfs: do not do delalloc reservation under page lock

Alexandre Ghiti <[email protected]>
powerpc: Do not consider weak unresolved symbol relocations as bad

Daniel Vetter <[email protected]>
radeon: insert 10ms sleep in dce5_crtc_load_lut

Vasily Averin <[email protected]>
trigger_next should increase position index

Vasily Averin <[email protected]>
ftrace: fpid_next() should increase position index

Gustavo A. R. Silva <[email protected]>
char: hpet: Fix out-of-bounds read bug

Ben Skeggs <[email protected]>
drm/nouveau/disp/nv50-: prevent oops when no channel method map provided

Marc Zyngier <[email protected]>
irqchip/gic-v3: Only provision redistributors that are enabled in ACPI

Dor Askayo <[email protected]>
drm/amd/display: do not allocate display_mode_lib unnecessarily

Arnd Bergmann <[email protected]>
rbd: work around -Wuninitialized warning

Xiubo Li <[email protected]>
ceph: check availability of mds cluster on mount after wait timeout

Christophe Leroy <[email protected]>
powerpc/mm: Don't log user reads to 0xffffffff

Vasily Averin <[email protected]>
bpf: map_seq_next should always increase position index

Ronnie Sahlberg <[email protected]>
cifs: fix NULL dereference in match_prepath

Paulo Alcantara (SUSE) <[email protected]>
cifs: Fix mount options set in automount

Steve French <[email protected]>
cifs: fix unitialized variable poential problem with network I/O cache lock patch

Colin Ian King <[email protected]>
iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop

Yan-Hsuan Chuang <[email protected]>
rtw88: fix potential NULL skb access in TX ISR

Nathan Chancellor <[email protected]>
hostap: Adjust indentation in prism2_hostapd_add_sta

Nicola Lunghi <[email protected]>
ALSA: usb-audio: add quirks for Line6 Helix devices fw>=2.82

Vincenzo Frascino <[email protected]>
ARM: 8951/1: Fix Kexec compilation issue.

Oliver O'Halloran <[email protected]>
selftests/eeh: Bump EEH wait time to 60s

Michael Bringmann <[email protected]>
powerpc/pseries/lparcfg: Fix display of Maximum Memory

zhangyi (F) <[email protected]>
jbd2: make sure ESHUTDOWN to be recorded in the journal superblock

zhangyi (F) <[email protected]>
jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record

Lorenz Bauer <[email protected]>
selftests: bpf: Reset global state between reuseport test runs

Stephen Boyd <[email protected]>
alarmtimer: Make alarmtimer platform device child of RTC device

Lu Baolu <[email protected]>
iommu/vt-d: Remove unnecessary WARN_ON_ONCE()

Coly Li <[email protected]>
bcache: fix use-after-free in register_bcache()

Christoph Hellwig <[email protected]>
bcache: rework error unwinding in register_bcache

Liang Chen <[email protected]>
bcache: cached_dev_free needs to put the sb page

Nikolay Borisov <[email protected]>
btrfs: Fix split-brain handling when changing FSID to metadata uuid

David Sterba <[email protected]>
btrfs: separate definition of assertion failure handlers

Sergey Zakharchenko <[email protected]>
media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value

Oliver O'Halloran <[email protected]>
powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV

Ben Skeggs <[email protected]>
drm/nouveau/mmu: fix comptag memory leak

Trond Myklebust <[email protected]>
sunrpc: Fix potential leaks in sunrpc_cache_unhash()

Peter Große <[email protected]>
ALSA: hda - Add docking station support for Lenovo Thinkpad T420s

Chris Down <[email protected]>
bpf, btf: Always output invariant hit in pahole DWARF to BTF transform

Colin Ian King <[email protected]>
driver core: platform: fix u32 greater or equal to zero comparison

Vasily Gorbik <[email protected]>
s390/ftrace: generate traced function stack frame

Vasily Gorbik <[email protected]>
s390: adjust -mpacked-stack support check for clang 10

Masami Hiramatsu <[email protected]>
x86/decoder: Add TEST opcode to Group3-2

Shile Zhang <[email protected]>
objtool: Fix ARCH=x86_64 build error

Masahiro Yamada <[email protected]>
kbuild: use -S instead of -E for precise cc-option test in Kconfig

Michael Walle <[email protected]>
spi: spi-fsl-qspi: Ensure width is respected in spi-mem operations

Kai Vehmanen <[email protected]>
ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()

John Garry <[email protected]>
irqchip/mbigen: Set driver .suppress_bind_attrs to avoid remove problems

Enric Balletbo i Serra <[email protected]>
regulator: core: Fix exported symbols to the exported GPL version

Brandon Maier <[email protected]>
remoteproc: Initialize rproc_class before use

Jessica Yu <[email protected]>
module: avoid setting info->name early in case we can fall back to info->mod->name

Anand Jain <[email protected]>
btrfs: device stats, log when stats are zeroed

David Sterba <[email protected]>
btrfs: safely advance counter when looking up bio csums

Johannes Thumshirn <[email protected]>
btrfs: fix possible NULL-pointer dereference in integrity checks

yu kuai <[email protected]>
pwm: Remove set but not set variable 'pwm'

Dan Carpenter <[email protected]>
ide: serverworks: potential overflow in svwks_set_pio_mode()

Dan Carpenter <[email protected]>
cmd64x: potential buffer overflow in cmd64x_program_timings()

Uwe Kleine-König <[email protected]>
pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional

Ard Biesheuvel <[email protected]>
x86/mm: Fix NX bit clearing issue in kernel_map_pages_in_pgd

Chao Yu <[email protected]>
f2fs: fix memleak of kobject

Enric Balletbo i Serra <[email protected]>
regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage

Cezary Rojewski <[email protected]>
ASoC: SOF: Intel: hda: Fix SKL dai count

Marco Elver <[email protected]>
debugobjects: Fix various data races

Hanjun Guo <[email protected]>
ACPI/IORT: Fix 'Number of IDs' handling in iort_id_map()

Thomas Gleixner <[email protected]>
watchdog/softlockup: Enforce that timestamp is valid on boot

Kim Phillips <[email protected]>
perf/x86/amd: Constrain Large Increment per Cycle events

Valentin Schneider <[email protected]>
sched/topology: Assert non-NUMA topology masks don't (partially) overlap

Li Guanglei <[email protected]>
sched/core: Fix size of rq::uclamp initialization

Lokesh Vutla <[email protected]>
arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu

zhengbin <[email protected]>
KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'

Wei Yongjun <[email protected]>
EDAC/sifive: Fix return value check in ecc_register()

Jun Lei <[email protected]>
drm/amd/display: fixup DML dependencies

Sami Tolvanen <[email protected]>
arm64: fix alternatives with LLVM's integrated assembler

Sami Tolvanen <[email protected]>
arm64: lse: fix LSE atomics with LLVM's integrated assembler

Leon Romanovsky <[email protected]>
RDMA/mlx5: Don't fake udata for kernel path

Alexander Tsoy <[email protected]>
ALSA: usb-audio: add implicit fb quirk for MOTU M Series

Geert Uytterhoeven <[email protected]>
crypto: essiv - fix AEAD capitalization and preposition use in help text

Nick Black <[email protected]>
scsi: iscsi: Don't destroy session if there are outstanding connections

Stanley Chu <[email protected]>
scsi: ufs-mediatek: add apply_dev_quirks variant operation

Stanley Chu <[email protected]>
scsi: ufs: pass device information to apply_dev_quirks

Jaegeuk Kim <[email protected]>
f2fs: free sysfs kobject

Jaegeuk Kim <[email protected]>
f2fs: set I_LINKABLE early to avoid wrong access by vfs

Dan Carpenter <[email protected]>
ALSA: usb-audio: unlock on error in probe

Will Deacon <[email protected]>
iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE

Masahiro Yamada <[email protected]>
kbuild: remove *.tmp file when filechk fails

Tony Lindgren <[email protected]>
usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue

Leonard Crestez <[email protected]>
perf/imx_ddr: Fix cpu hotplug state cleanup

Navid Emamdoost <[email protected]>
drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add

Stephen Boyd <[email protected]>
gpiolib: Set lockdep class for hierarchical irq domains

Mikulas Patocka <[email protected]>
dm thin: don't allow changing data device during thin-pool reload

Ben Skeggs <[email protected]>
drm/nouveau/fault/gv100-: fix memory leak on module unload

YueHaibing <[email protected]>
drm/nouveau/drm/ttm: Remove set but not used variable 'mem'

YueHaibing <[email protected]>
drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler

Ben Skeggs <[email protected]>
drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw

Dan Carpenter <[email protected]>
drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()

Arnd Bergmann <[email protected]>
vme: bridges: reduce stack usage

Li RongQing <[email protected]>
bpf: Return -EBADRQC for invalid map type in __bpf_tx_xdp_map

Pierre-Louis Bossart <[email protected]>
ASoC: SOF: Intel: hda-dai: fix compilation warning in pcm_prepare

Geert Uytterhoeven <[email protected]>
driver core: Print device when resources present in really_probe()

Simon Schwartz <[email protected]>
driver core: platform: Prevent resouce overflow from causing infinite loops

Arnd Bergmann <[email protected]>
visorbus: fix uninitialized variable access

Luc Van Oostenryck <[email protected]>
misc: xilinx_sdfec: fix xsdfec_poll()'s return type

Nathan Chancellor <[email protected]>
tty: synclink_gt: Adjust indentation in several functions

Nathan Chancellor <[email protected]>
tty: synclinkmp: Adjust indentation in several functions

Jason Gunthorpe <[email protected]>
RDMA/uverbs: Remove needs_kfree_rcu from uverbs_obj_type_class

Zhengyuan Liu <[email protected]>
raid6/test: fix a compilation warning

Chen Zhou <[email protected]>
ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m

Alexander Tsoy <[email protected]>
ALSA: usb-audio: Add boot quirk for MOTU M Series

Johan Jonker <[email protected]>
ARM: dts: rockchip: add reg property to brcmf sub node for rk3188-bqedison2qc

Johan Jonker <[email protected]>
arm64: dts: rockchip: add reg property to brcmf sub-nodes

Johan Jonker <[email protected]>
arm64: dts: rockchip: fix dwmmc clock name for px30

Bartosz Golaszewski <[email protected]>
clocksource: davinci: only enable clockevents once tim34 is initialized

Arnd Bergmann <[email protected]>
wan: ixp4xx_hss: fix compile-testing on 64-bit

Changbin Du <[email protected]>
x86/nmi: Remove irq_work from the long duration NMI handler

Jonathan Lemon <[email protected]>
bnxt: Detach page from page pool before sending up the stack

Philipp Zabel <[email protected]>
Input: edt-ft5x06 - work around first register access error

Paul E. McKenney <[email protected]>
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls

Ard Biesheuvel <[email protected]>
efi/x86: Don't panic or BUG() on non-critical error conditions

Dmitry Osipenko <[email protected]>
soc/tegra: fuse: Correct straps' address for older Tegra124 device trees

Mike Marciniszyn <[email protected]>
IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats

Mike Marciniszyn <[email protected]>
IB/hfi1: Add software counter for ctxt0 seq drop

Arnd Bergmann <[email protected]>
staging: rtl8188: avoid excessive stack usage

Yongqiang Niu <[email protected]>
drm/mediatek: Add gamma property according to hardware capability

Jan Kara <[email protected]>
udf: Fix free space reporting for metadata and virtual partitions

Shuah Khan <[email protected]>
usbip: Fix unsafe unaligned pointer usage

Benjamin Gaignard <[email protected]>
ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco

Dmitry Torokhov <[email protected]>
usb: dwc3: use proper initializers for property entries

Dingchen Zhang <[email protected]>
drm: remove the newline for CRC source name.

Wenpeng Liang <[email protected]>
RDMA/hns: Avoid printing address of mtt page

Arnd Bergmann <[email protected]>
mlx5: work around high stack usage with gcc

Felix Kuehling <[email protected]>
drm/amdkfd: Fix permissions of hang_hws

Jacob Pan <[email protected]>
iommu/vt-d: Avoid sending invalid page response

Jacob Pan <[email protected]>
iommu/vt-d: Match CPU and IOMMU paging mode

Jason Ekstrand <[email protected]>
ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch

Shile Zhang <[email protected]>
x86/unwind/orc: Fix !CONFIG_MODULES build warning

Sam McNally <[email protected]>
ASoC: Intel: sof_rt5682: Ignore the speaker amp when there isn't one.

Alexey Kardashevskiy <[email protected]>
vfio/spapr/nvlink2: Skip unpinning pages on error exit

Andrey Zhizhikin <[email protected]>
tools lib api fs: Fix gcc9 stringop-truncation compilation error

Dmitry Torokhov <[email protected]>
net: phy: fixed_phy: fix use-after-free when checking link GPIO

Takashi Iwai <[email protected]>
ALSA: sh: Fix compile warning wrt const

Takashi Iwai <[email protected]>
ALSA: hda/realtek - Apply mic mute LED quirk for Dell E7xx laptops, too

Kunihiko Hayashi <[email protected]>
clk: uniphier: Add SCSSI clock gate for each channel

Stephen Boyd <[email protected]>
clk: Use parent node pointer during registration if necessary

Takashi Iwai <[email protected]>
ALSA: sh: Fix unused variable warnings

Icenowy Zheng <[email protected]>
clk: sunxi-ng: add mux and pll notifiers for A64 CPU clock

Jiewei Ke <[email protected]>
RDMA/rxe: Fix error type of mmap_offset

Peter Rosin <[email protected]>
fbdev: fix numbering of fbcon options

Pierre-Louis Bossart <[email protected]>
ASoC: soc-topology: fix endianness issues

Kunihiko Hayashi <[email protected]>
reset: uniphier: Add SCSSI reset control for each channel

Geert Uytterhoeven <[email protected]>
pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs

Manasi Navare <[email protected]>
drm/fbdev: Fallback to non tiled mode if all tiles not present

Chanwoo Choi <[email protected]>
PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency

Arnd Bergmann <[email protected]>
PM / devfreq: exynos-ppmu: Fix excessive stack usage

Valdis Kletnieks <[email protected]>
x86/vdso: Provide missing include file

Vinay Kumar Yadav <[email protected]>
crypto: chtls - Fixed memory leak

Martin Blumenstingl <[email protected]>
net: phy: realtek: add logging for the RGMII TX delay configuration

Hechao Li <[email protected]>
bpf: Print error message for bpftool cgroup show

Sascha Hauer <[email protected]>
dmaengine: imx-sdma: Fix memory leak

Logan Gunthorpe <[email protected]>
dmaengine: Store module owner in dma_device struct

Jerome Brunet <[email protected]>
clk: actually call the clock init before any other callback of the clock

Qian Cai <[email protected]>
iommu/iova: Silence warnings under memory pressure

Suravee Suthikulpanit <[email protected]>
iommu/amd: Only support x2APIC with IVHD type 11h/40h

Suravee Suthikulpanit <[email protected]>
iommu/amd: Check feature support bit before accessing MSI capability registers

Bjorn Andersson <[email protected]>
arm64: dts: qcom: db845c: Enable ath10k 8bit host-cap quirk

James Smart <[email protected]>
scsi: lpfc: Fix: Rework setting of fdmi symbolic node name registration

Jaihind Yadav <[email protected]>
selinux: ensure we cleanup the internal AVC counters on error in avc_update()

Geert Uytterhoeven <[email protected]>
ARM: dts: r8a7779: Add device node for ARM global timer

Sergei Shtylyov <[email protected]>
clk: renesas: rcar-gen3: Allow changing the RPC[D2] clocks

Bibby Hsieh <[email protected]>
drm/mediatek: handle events when enabling/disabling crtc

Brendan Higgins <[email protected]>
crypto: inside-secure - add unspecified HAS_IOMEM dependency

Nathan Chancellor <[email protected]>
scsi: aic7xxx: Adjust indentation in ahc_find_syncrate

Can Guo <[email protected]>
scsi: ufs: Complete pending requests in host reset and restore path

Trond Myklebust <[email protected]>
nfsd: Clone should commit src file metadata too

Erik Kaneda <[email protected]>
ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1

Jeffrey Hugo <[email protected]>
clk: qcom: smd: Add missing bimc clock

Monk Liu <[email protected]>
drm/amdgpu: fix KIQ ring test fail in TDR of SRIOV

Aditya Pakki <[email protected]>
orinoco: avoid assertion in case of NULL pointer

Phong Tran <[email protected]>
rtlwifi: rtl_pci: Fix -Wcast-function-type

Phong Tran <[email protected]>
iwlegacy: Fix -Wcast-function-type

Phong Tran <[email protected]>
ipw2x00: Fix -Wcast-function-type

Phong Tran <[email protected]>
b43legacy: Fix -Wcast-function-type

James Sewart <[email protected]>
PCI: Add DMA alias quirk for PLX PEX NTB

James Sewart <[email protected]>
PCI: Add nr_devfns parameter to pci_add_dma_alias()

Nathan Chancellor <[email protected]>
ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status

Xin Long <[email protected]>
netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy

Tero Kristo <[email protected]>
ARM: OMAP2+: pdata-quirks: add PRM data for reset support

Arnd Bergmann <[email protected]>
isdn: don't mark kcapi_proc_exit as __exit

Aditya Pakki <[email protected]>
fore200e: Fix incorrect checks of NULL pointer dereference

Heiner Kallweit <[email protected]>
r8169: check that Realtek PHY driver module is loaded

Toke Høiland-Jørgensen <[email protected]>
samples/bpf: Set -fno-stack-protector when building BPF programs

Jan Kara <[email protected]>
reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling

Nathan Chancellor <[email protected]>
media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros

Willem de Bruijn <[email protected]>
selftests/net: make so_txtime more robust to timer variance

Paul Cercueil <[email protected]>
gpu/drm: ingenic: Avoid null pointer deference in plane atomic update

Jakub Kicinski <[email protected]>
Revert "nfp: abm: fix memory leak in nfp_abm_u32_knode_replace"

Daniel Drake <[email protected]>
PCI: Increase D3 delay for AMD Ryzen5/7 XHCI controllers

Daniel Drake <[email protected]>
PCI: Add generic quirk for increasing D3hot delay

Forest Crossman <[email protected]>
media: cx23885: Add support for AVerMedia CE310B

Wei Liu <[email protected]>
PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in

Tony Lindgren <[email protected]>
bus: ti-sysc: Implement quirk handling for CLKDM_NOAUTO

Andrey Smirnov <[email protected]>
ARM: dts: imx6: rdu2: Limit USBH1 to Full Speed

Andrey Smirnov <[email protected]>
ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3

Krzysztof Kozlowski <[email protected]>
ARM: exynos_defconfig: Bring back explicitly wanted options

Abel Vesa <[email protected]>
clk: imx: Add correct failure handling for clk based helpers

Daniel Jordan <[email protected]>
padata: always acquire cpu_hotplug_lock before pinst->lock

Daniel Jordan <[email protected]>
padata: validate cpumask without removed CPU during offline

Manu Gautam <[email protected]>
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

Paul Moore <[email protected]>
selinux: ensure we cleanup the internal AVC counters on error in avc_insert()

Viresh Kumar <[email protected]>
opp: Free static OPPs on errors while adding them

Andre Przywara <[email protected]>
arm: dts: allwinner: H3: Add PMU node

Andre Przywara <[email protected]>
arm64: dts: allwinner: H5: Add PMU node

Andre Przywara <[email protected]>
arm64: dts: allwinner: H6: Add PMU mode

Mao Wenan <[email protected]>
NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().

Rasmus Villemoes <[email protected]>
net/wan/fsl_ucc_hdlc: reject muram offsets above 64K

Miquel Raynal <[email protected]>
regulator: rk808: Lower log level on optional GPIOs being not available

Sathyanarayana Nujella <[email protected]>
ASoC: intel: sof_rt5682: Add support for tgl-max98357a-rt5682

Sathyanarayana Nujella <[email protected]>
ASoC: intel: sof_rt5682: Add quirk for number of HDMI DAI's

Masami Hiramatsu <[email protected]>
modules: lockdep: Suppress suspicious RCU usage warning

Robin Murphy <[email protected]>
arm64: dts: rockchip: Fix NanoPC-T4 cooling maps

Adam Ford <[email protected]>
drm/panel: simple: Add Logic PD Type 28 display support

Nathan Chancellor <[email protected]>
drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG

Wen Gong <[email protected]>
ath10k: correct the tlv len of ath10k_wmi_tlv_op_gen_config_pno_start

yu kuai <[email protected]>
drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table

Jakub Sitnicki <[email protected]>
bpf, sockhash: Synchronize_rcu before free'ing map

Yong Zhao <[email protected]>
drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode

Douglas Anderson <[email protected]>
clk: qcom: rcg2: Don't crash if our parent can't be found; return an error

Stephen Boyd <[email protected]>
clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()

Masahiro Yamada <[email protected]>
kconfig: fix broken dependency in randconfig-generated .config

Paolo Valente <[email protected]>
block, bfq: do not plug I/O for bfq_queues with no proc refs

Colin Ian King <[email protected]>
drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store

Chris Mason <[email protected]>
Btrfs: keep pages dirty when using btrfs_writepage_fixup_worker

Christian Borntraeger <[email protected]>
KVM: s390: ENOTSUPP -> EOPNOTSUPP fixups

Sun Ke <[email protected]>
nbd: add a flush_workqueue in nbd_start_device

Tom Zanussi <[email protected]>
tracing: Simplify assignment parsing for hist triggers

Harry Wentland <[email protected]>
drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero

Geert Uytterhoeven <[email protected]>
rtc: i2c/spi: Avoid inclusion of REGMAP support when not needed

Matthieu Baerts <[email protected]>
selftests: settings: tests can be in subsubdirs

Jean-Philippe Brucker <[email protected]>
brcmfmac: sdio: Fix OOB interrupt initialization on brcm43362

Ping-Ke Shih <[email protected]>
rtw88: fix rate mask for 1SS chip

Rakesh Pillai <[email protected]>
ath10k: Correct the DMA direction for management tx buffers

zhangyi (F) <[email protected]>
ext4, jbd2: ensure panic when aborting with zero errno

Vincenzo Frascino <[email protected]>
ARM: 8952/1: Disable kmemleak on XIP kernels

Steven Rostedt (VMware) <[email protected]>
tracing: Fix very unlikely race of registering two stat tracers

Luis Henriques <[email protected]>
tracing: Fix tracing_stat return values in error handling paths

Oliver O'Halloran <[email protected]>
powerpc/iov: Move VF pdev fixup into pcibios_fixup_iov()

Niklas Schnelle <[email protected]>
s390/pci: Fix possible deadlock in recover_store()

Martin Schiller <[email protected]>
wan/hdlc_x25: fix skb handling

Chen Zhou <[email protected]>
dmaengine: fsl-qdma: fix duplicated argument to &&

Jan Kara <[email protected]>
udf: Allow writing to 'Rewritable' partitions

Uwe Kleine-König <[email protected]>
pwm: omap-dmtimer: Simplify error handling

Arvind Sankar <[email protected]>
x86/sysfb: Fix check for bad VRAM size

Grygorii Strashko <[email protected]>
clk: ti: dra7: fix parent for gmac_clkctrl

Eric Biggers <[email protected]>
ext4: fix deadlock allocating bio_post_read_ctx from mempool

Kai Li <[email protected]>
jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal

Siddhesh Poyarekar <[email protected]>
kselftest: Minimise dependency of get_size on C library interfaces

Amanda Liu <[email protected]>
drm/amd/display: Clear state after exiting fixed active VRR state

Colin Ian King <[email protected]>
clocksource/drivers/bcm2835_timer: Fix memory leak of timer

John Keeping <[email protected]>
usb: dwc2: Fix IN FIFO allocation

Jia-Ju Bai <[email protected]>
usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()

Colin Ian King <[email protected]>
drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst

Philippe Schenker <[email protected]>
spi: fsl-lpspi: fix only one cs-gpio working

Tiecheng Zhou <[email protected]>
drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov

Jia-Ju Bai <[email protected]>
uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()

Zhengyuan Liu <[email protected]>
raid6/test: fix a compilation error

Linus Walleij <[email protected]>
net: ethernet: ixp4xx: Standard module init

David S. Miller <[email protected]>
sparc: Add .exit.data section.

Tiezhu Yang <[email protected]>
MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()

Ard Biesheuvel <[email protected]>
efi/x86: Map the entire EFI vendor string before copying it

Hans de Goede <[email protected]>
pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins

Parav Pandit <[email protected]>
IB/core: Let IB core distribute cache update events

YueHaibing <[email protected]>
kernel/module: Fix memleak in module_add_modinfo_attrs()

Jia-Ju Bai <[email protected]>
media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()

Sergey Senozhatsky <[email protected]>
char/random: silence a lockdep splat with printk()

Sebastian Andrzej Siewior <[email protected]>
x86/fpu: Deactivate FPU state after failure during state load

Jacob Pan <[email protected]>
iommu/vt-d: Fix off-by-one in PASID allocation

Jia-Ju Bai <[email protected]>
gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_irq_map/unmap()

Martin Blumenstingl <[email protected]>
clk: meson: meson8b: make the CCF use the glitch-free mali mux

Oliver O'Halloran <[email protected]>
powerpc/powernv/iov: Ensure the pdn for VFs always contains a valid PE number

Eugen Hristev <[email protected]>
clk: at91: sam9x60: fix programmable clock prescaler

Chen-Yu Tsai <[email protected]>
media: sun4i-csi: Fix [HV]sync polarity handling

Chen-Yu Tsai <[email protected]>
media: sun4i-csi: Fix data sampling polarity handling

Chen-Yu Tsai <[email protected]>
media: sun4i-csi: Deal with DRAM offset

Eugen Hristev <[email protected]>
media: i2c: mt9v032: fix enum mbus codes and frame sizes

Adam Ford <[email protected]>
media: ov5640: Fix check for PLL1 exceeding max allowed rate

Christophe JAILLET <[email protected]>
pxa168fb: Fix the function used to release some memory in an error handling path

Rob Clark <[email protected]>
drm/msm/adreno: fix zap vs no-zap handling

Geert Uytterhoeven <[email protected]>
drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()

John Ogness <[email protected]>
printk: fix exclusive_console replaying

Geert Uytterhoeven <[email protected]>
pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs

Vladimir Oltean <[email protected]>
gianfar: Fix TX timestamping with a stacked DSA driver

Takashi Sakamoto <[email protected]>
ALSA: ctl: allow TLV read operation for callback type of element in locked case

Ritesh Harjani <[email protected]>
ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT

Zahari Petkov <[email protected]>
leds: pca963x: Fix open-drain initialization

Nikola Cornij <[email protected]>
drm/amd/display: Map ODM memory correctly when doing ODM combine

James Sewart <[email protected]>
PCI: Fix pci_add_dma_alias() bitmask size

Dan Carpenter <[email protected]>
brcmfmac: Fix use after free in brcmf_sdio_readframes()

Navid Emamdoost <[email protected]>
brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()

Peter Zijlstra <[email protected]>
cpu/hotplug, stop_machine: Fix stop_machine vs hotplug order

Remi Pommarel <[email protected]>
clk: meson: pll: Fix by 0 division in __pll_params_to_rate()

Colin Ian King <[email protected]>
media: meson: add missing allocation failure check on new_buf

Jaegeuk Kim <[email protected]>
f2fs: call f2fs_balance_fs outside of locked page

Jaegeuk Kim <[email protected]>
f2fs: preallocate DIO blocks when forcing buffered_io

Marco Elver <[email protected]>
rcu: Fix data-race due to atomic_t copy-by-value

Rasmus Villemoes <[email protected]>
soc: fsl: qe: change return type of cpm_muram_alloc() to s32

Neeraj Upadhyay <[email protected]>
rcu: Fix missed wakeup of exp_wq waiters

Stefan Reiter <[email protected]>
rcu/nocb: Fix dump_tree hierarchy print always active

J. Bruce Fields <[email protected]>
nfsd4: avoid NULL deference on strange COPY compounds

Markus Elfring <[email protected]>
drm/qxl: Complete exception handling in qxl_device_init()

Colin Ian King <[email protected]>
wil6210: fix break that is never reached because of zero'ing of a retry counter

Jeffrey Hugo <[email protected]>
ath10k: Fix qmi init error handling

Paul Kocialkowski <[email protected]>
drm/gma500: Fixup fbdev stolen size usage evaluation

Davide Caratti <[email protected]>
net/sched: flower: add missing validation of TCA_FLOWER_FLAGS

Davide Caratti <[email protected]>
net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS

Per Forlin <[email protected]>
net: dsa: tag_qca: Make sure there is headroom for tag

Eric Dumazet <[email protected]>
net/smc: fix leak of kernel memory to user space

Firo Yang <[email protected]>
enic: prevent waking up stopped tx queues over watchdog reset

Toke Høiland-Jørgensen <[email protected]>
core: Don't skip generic XDP program execution for cloned SKBs


-------------

Diffstat:

Documentation/fb/fbcon.rst | 8 +-
Makefile | 4 +-
arch/Kconfig | 3 +
arch/arm/Kconfig | 4 +-
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 7 +-
arch/arm/boot/dts/r8a7779.dtsi | 8 ++
arch/arm/boot/dts/rk3188-bqedison2qc.dts | 3 +
arch/arm/boot/dts/stm32f469-disco.dts | 8 ++
arch/arm/boot/dts/sun8i-h3.dtsi | 15 ++-
arch/arm/configs/exynos_defconfig | 6 +
arch/arm/mach-omap2/pdata-quirks.c | 8 ++
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 16 ++-
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++
arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 +
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +
arch/arm64/boot/dts/rockchip/px30.dtsi | 6 +-
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 3 +
.../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 3 +
arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts | 27 -----
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts | 3 +
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 +
arch/arm64/include/asm/alternative.h | 32 ++++--
arch/arm64/include/asm/atomic_lse.h | 19 ++++
arch/arm64/include/asm/lse.h | 6 +-
arch/microblaze/kernel/cpu/cache.c | 3 +-
arch/mips/loongson64/loongson-3/platform.c | 3 +
arch/powerpc/Makefile.postlink | 4 +-
arch/powerpc/kernel/eeh_driver.c | 6 -
arch/powerpc/kernel/pci_dn.c | 15 ++-
arch/powerpc/kvm/emulate_loadstore.c | 5 -
arch/powerpc/mm/fault.c | 3 +
arch/powerpc/platforms/powernv/pci-ioda.c | 48 ++++++--
arch/powerpc/platforms/powernv/pci.c | 18 ---
arch/powerpc/platforms/pseries/lparcfg.c | 4 +-
arch/powerpc/tools/relocs_check.sh | 20 ++--
arch/s390/Makefile | 2 +-
arch/s390/include/asm/pci.h | 2 +-
arch/s390/kernel/mcount.S | 15 ++-
arch/s390/kvm/interrupt.c | 6 +-
arch/s390/pci/pci.c | 2 +-
arch/s390/pci/pci_clp.c | 48 ++++----
arch/s390/pci/pci_sysfs.c | 63 +++++++----
arch/sh/include/cpu-sh2a/cpu/sh7269.h | 11 +-
arch/sparc/kernel/vmlinux.lds.S | 6 +-
arch/x86/entry/vdso/vdso32-setup.c | 1 +
arch/x86/events/amd/core.c | 91 +++++++++++-----
arch/x86/events/perf_event.h | 2 +
arch/x86/include/asm/nmi.h | 1 -
arch/x86/kernel/fpu/signal.c | 3 +
arch/x86/kernel/nmi.c | 20 ++--
arch/x86/kernel/sysfb_simplefb.c | 2 +-
arch/x86/kernel/unwind_orc.c | 3 +-
arch/x86/lib/x86-opcode-map.txt | 2 +-
arch/x86/mm/pageattr.c | 8 +-
arch/x86/platform/efi/efi.c | 41 +++----
arch/x86/platform/efi/efi_64.c | 9 +-
block/bfq-iosched.c | 12 ++
crypto/Kconfig | 4 +-
drivers/acpi/acpica/dsfield.c | 2 +-
drivers/acpi/acpica/dswload.c | 21 ++++
drivers/acpi/arm64/iort.c | 57 +++++++++-
drivers/acpi/button.c | 11 ++
drivers/atm/fore200e.c | 25 +++--
drivers/base/dd.c | 5 +-
drivers/base/platform.c | 12 +-
drivers/block/brd.c | 22 +++-
drivers/block/nbd.c | 10 ++
drivers/block/rbd.c | 2 +-
drivers/block/zram/zram_drv.c | 3 +-
drivers/bus/ti-sysc.c | 10 +-
drivers/char/hpet.c | 2 +-
drivers/char/random.c | 5 +-
drivers/clk/at91/sam9x60.c | 1 +
drivers/clk/clk.c | 53 ++++++---
drivers/clk/imx/clk.h | 37 ++++---
drivers/clk/meson/clk-pll.c | 9 ++
drivers/clk/meson/meson8b.c | 11 +-
drivers/clk/qcom/clk-rcg2.c | 11 +-
drivers/clk/qcom/clk-smd-rpm.c | 3 +
drivers/clk/renesas/rcar-gen3-cpg.c | 6 +-
drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 28 ++++-
drivers/clk/ti/clk-7xx.c | 2 +-
drivers/clk/uniphier/clk-uniphier-peri.c | 13 ++-
drivers/clocksource/bcm2835_timer.c | 5 +-
drivers/clocksource/timer-davinci.c | 8 +-
drivers/crypto/Kconfig | 2 +-
drivers/crypto/chelsio/chtls/chtls_cm.c | 27 ++---
drivers/crypto/chelsio/chtls/chtls_cm.h | 21 ++++
drivers/crypto/chelsio/chtls/chtls_hw.c | 3 +
drivers/devfreq/Kconfig | 3 +-
drivers/devfreq/event/Kconfig | 2 +-
drivers/devfreq/event/exynos-ppmu.c | 13 ++-
drivers/dma/dmaengine.c | 4 +-
drivers/dma/fsl-qdma.c | 2 +-
drivers/dma/imx-sdma.c | 19 ++--
drivers/edac/sifive_edac.c | 4 +-
drivers/gpio/gpio-grgpio.c | 10 +-
drivers/gpio/gpiolib.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 19 +---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 -
drivers/gpu/drm/amd/amdgpu/nv.c | 6 +
drivers/gpu/drm/amd/amdgpu/soc15_common.h | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 2 +-
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 10 +-
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 34 ++++--
drivers/gpu/drm/amd/display/dc/core/dc.c | 17 +--
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 3 +-
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c | 16 ++-
.../gpu/drm/amd/display/dc/dml/dml_common_defs.c | 2 +-
.../gpu/drm/amd/display/dc/dml/dml_inline_defs.h | 2 +-
.../amd/display/dc/{calcs => inc}/dcn_calc_math.h | 0
.../drm/amd/display/modules/freesync/freesync.c | 2 +
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 23 ++--
drivers/gpu/drm/drm_client_modeset.c | 72 ++++++++++++
drivers/gpu/drm/drm_debugfs_crc.c | 4 +-
drivers/gpu/drm/drm_mipi_dbi.c | 4 +-
drivers/gpu/drm/gma500/framebuffer.c | 8 +-
drivers/gpu/drm/ingenic/ingenic-drm.c | 16 ++-
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 18 ++-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 11 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 11 +-
drivers/gpu/drm/nouveau/nouveau_dmem.c | 4 +-
drivers/gpu/drm/nouveau/nouveau_fence.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_ttm.c | 4 -
drivers/gpu/drm/nouveau/nvkm/core/memory.c | 2 +-
.../gpu/drm/nouveau/nvkm/engine/disp/channv50.c | 2 +
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c | 21 ++--
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c | 1 +
.../gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c | 5 +-
drivers/gpu/drm/panel/panel-simple.c | 37 +++++++
drivers/gpu/drm/qxl/qxl_kms.c | 2 +-
drivers/gpu/drm/radeon/radeon_display.c | 2 +
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +-
drivers/ide/cmd64x.c | 3 +
drivers/ide/serverworks.c | 6 +
drivers/infiniband/core/cache.c | 121 +++++++++++++--------
drivers/infiniband/core/core_priv.h | 1 +
drivers/infiniband/core/device.c | 33 ++----
drivers/infiniband/core/rdma_core.c | 23 +---
drivers/infiniband/hw/hfi1/chip.c | 11 ++
drivers/infiniband/hw/hfi1/chip.h | 2 +
drivers/infiniband/hw/hfi1/chip_registers.h | 1 +
drivers/infiniband/hw/hfi1/driver.c | 1 +
drivers/infiniband/hw/hfi1/hfi.h | 2 +
drivers/infiniband/hw/hns/hns_roce_mr.c | 4 +-
drivers/infiniband/hw/mlx5/main.c | 34 +++---
drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +-
drivers/input/touchscreen/edt-ft5x06.c | 7 ++
drivers/iommu/amd_iommu.c | 7 +-
drivers/iommu/amd_iommu_init.c | 19 ++--
drivers/iommu/amd_iommu_types.h | 2 +-
drivers/iommu/arm-smmu-v3.c | 3 +-
drivers/iommu/dmar.c | 1 -
drivers/iommu/intel-iommu.c | 3 +-
drivers/iommu/intel-pasid.c | 12 +-
drivers/iommu/intel-svm.c | 9 +-
drivers/iommu/iova.c | 2 +-
drivers/irqchip/irq-gic-v3-its.c | 2 +-
drivers/irqchip/irq-gic-v3.c | 9 +-
drivers/irqchip/irq-mbigen.c | 1 +
drivers/isdn/capi/kcapi_proc.c | 2 +-
drivers/leds/leds-pca963x.c | 8 +-
drivers/md/bcache/bset.h | 3 +-
drivers/md/bcache/journal.c | 3 +-
drivers/md/bcache/stats.c | 10 +-
drivers/md/bcache/super.c | 79 +++++++++-----
drivers/md/dm-thin.c | 18 ++-
drivers/media/i2c/mt9v032.c | 10 +-
drivers/media/i2c/ov5640.c | 2 +-
drivers/media/pci/cx23885/cx23885-cards.c | 24 ++++
drivers/media/pci/cx23885/cx23885-video.c | 3 +-
drivers/media/pci/cx23885/cx23885.h | 1 +
drivers/media/platform/sti/bdisp/bdisp-hw.c | 6 +-
drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c | 22 ++++
drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h | 4 +-
drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c | 20 +++-
drivers/media/usb/uvc/uvc_driver.c | 25 +++++
drivers/media/usb/uvc/uvcvideo.h | 1 +
drivers/misc/xilinx_sdfec.c | 10 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 1 +
drivers/net/ethernet/cisco/enic/enic_main.c | 2 +-
drivers/net/ethernet/freescale/gianfar.c | 10 +-
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | 3 +
.../net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 3 +-
drivers/net/ethernet/netronome/nfp/abm/cls.c | 14 +--
drivers/net/ethernet/realtek/r8169_main.c | 9 ++
drivers/net/ethernet/xscale/ixp4xx_eth.c | 96 ++++++++--------
drivers/net/phy/fixed_phy.c | 7 +-
drivers/net/phy/realtek.c | 19 +++-
drivers/net/wan/fsl_ucc_hdlc.c | 5 +
drivers/net/wan/hdlc_x25.c | 13 ++-
drivers/net/wan/ixp4xx_hss.c | 4 +-
drivers/net/wireless/ath/ath10k/snoc.c | 5 +-
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 5 +-
drivers/net/wireless/ath/ath10k/wmi.c | 2 +-
drivers/net/wireless/ath/wil6210/txrx_edma.c | 3 +-
drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
.../net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 3 +-
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 13 ++-
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 7 +-
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 5 +-
drivers/net/wireless/intel/iwlegacy/3945-mac.c | 5 +-
drivers/net/wireless/intel/iwlegacy/4965-mac.c | 5 +-
drivers/net/wireless/intel/iwlegacy/common.c | 2 +-
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 8 +-
drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 4 +-
drivers/net/wireless/intersil/hostap/hostap_ap.c | 2 +-
.../net/wireless/intersil/orinoco/orinoco_usb.c | 3 +-
drivers/net/wireless/realtek/rtlwifi/pci.c | 10 +-
drivers/net/wireless/realtek/rtw88/main.c | 12 +-
drivers/net/wireless/realtek/rtw88/pci.c | 5 +
drivers/nfc/port100.c | 2 +-
drivers/nvme/host/pci.c | 23 ++--
drivers/nvme/target/core.c | 6 +-
drivers/opp/of.c | 17 ++-
drivers/pci/controller/pcie-iproc.c | 24 ++++
drivers/pci/pci.c | 24 +++-
drivers/pci/pci.h | 3 +
drivers/pci/quirks.c | 99 +++++++++--------
drivers/pci/search.c | 4 +-
drivers/perf/fsl_imx8_ddr_perf.c | 16 ++-
drivers/pinctrl/intel/pinctrl-baytrail.c | 8 +-
drivers/pinctrl/sh-pfc/pfc-sh7264.c | 9 +-
drivers/pinctrl/sh-pfc/pfc-sh7269.c | 39 +++++--
drivers/pwm/pwm-omap-dmtimer.c | 35 ++++--
drivers/pwm/pwm-pca9685.c | 4 -
drivers/regulator/core.c | 2 +
drivers/regulator/rk808-regulator.c | 2 +-
drivers/regulator/vctrl-regulator.c | 38 ++++---
drivers/remoteproc/remoteproc_core.c | 2 +-
drivers/reset/reset-uniphier.c | 13 ++-
drivers/rtc/Kconfig | 8 +-
drivers/scsi/aic7xxx/aic7xxx_core.c | 2 +-
drivers/scsi/iscsi_tcp.c | 4 +
drivers/scsi/lpfc/lpfc_ct.c | 42 +++----
drivers/scsi/scsi_transport_iscsi.c | 26 ++++-
drivers/scsi/ufs/ufs-mediatek.c | 11 ++
drivers/scsi/ufs/ufs-qcom.c | 3 +-
drivers/scsi/ufs/ufshcd.c | 32 +++---
drivers/scsi/ufs/ufshcd.h | 9 +-
drivers/soc/fsl/qe/qe_common.c | 29 ++---
drivers/soc/tegra/fuse/tegra-apbmisc.c | 2 +-
drivers/spi/spi-fsl-lpspi.c | 32 +++---
drivers/spi/spi-fsl-qspi.c | 2 +-
drivers/staging/media/meson/vdec/vdec.c | 2 +
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 9 +-
drivers/tty/synclink_gt.c | 18 +--
drivers/tty/synclinkmp.c | 24 ++--
drivers/uio/uio_dmem_genirq.c | 6 +-
drivers/usb/dwc2/gadget.c | 3 +-
drivers/usb/dwc3/host.c | 6 +-
drivers/usb/gadget/udc/gr_udc.c | 16 +--
drivers/usb/musb/omap2430.c | 2 -
drivers/vfio/pci/vfio_pci_nvlink2.c | 6 +-
drivers/video/fbdev/pxa168fb.c | 6 +-
drivers/virtio/virtio_balloon.c | 2 +
drivers/visorbus/visorchipset.c | 11 +-
drivers/vme/bridges/vme_fake.c | 30 +++--
fs/btrfs/check-integrity.c | 3 +-
fs/btrfs/ctree.h | 20 ++--
fs/btrfs/file-item.c | 3 +-
fs/btrfs/inode.c | 121 ++++++++++++++++-----
fs/btrfs/volumes.c | 44 +++++++-
fs/ceph/mds_client.c | 3 +-
fs/ceph/super.c | 5 +
fs/cifs/cifs_dfs_ref.c | 97 ++++++++---------
fs/cifs/connect.c | 6 +-
fs/cifs/dfs_cache.c | 2 +-
fs/cifs/smb2pdu.c | 3 +
fs/ext4/file.c | 10 +-
fs/ext4/readpage.c | 17 ++-
fs/f2fs/data.c | 13 ---
fs/f2fs/file.c | 50 ++++++---
fs/f2fs/namei.c | 27 +++--
fs/f2fs/sysfs.c | 12 +-
fs/fuse/file.c | 12 ++
fs/jbd2/checkpoint.c | 2 +-
fs/jbd2/commit.c | 4 +-
fs/jbd2/journal.c | 24 ++--
fs/nfs/nfs42proc.c | 4 +-
fs/nfsd/nfs4proc.c | 3 +-
fs/nfsd/vfs.c | 19 +++-
fs/ocfs2/dlm/Makefile | 2 -
fs/ocfs2/dlm/dlmast.c | 8 +-
fs/ocfs2/dlm/dlmconvert.c | 8 +-
fs/ocfs2/dlm/dlmdebug.c | 8 +-
fs/ocfs2/dlm/dlmdomain.c | 8 +-
fs/ocfs2/dlm/dlmlock.c | 8 +-
fs/ocfs2/dlm/dlmmaster.c | 8 +-
fs/ocfs2/dlm/dlmrecovery.c | 8 +-
fs/ocfs2/dlm/dlmthread.c | 8 +-
fs/ocfs2/dlm/dlmunlock.c | 8 +-
fs/ocfs2/dlmfs/Makefile | 2 -
fs/ocfs2/dlmfs/dlmfs.c | 4 +-
fs/ocfs2/dlmfs/userdlm.c | 6 +-
fs/ocfs2/journal.h | 8 +-
fs/orangefs/orangefs-debugfs.c | 1 +
fs/reiserfs/stree.c | 3 +-
fs/reiserfs/super.c | 2 +-
fs/udf/super.c | 23 +++-
include/linux/cpuhotplug.h | 1 +
include/linux/dmaengine.h | 2 +
include/linux/list_nulls.h | 8 +-
include/linux/pci.h | 2 +-
include/linux/platform_data/ti-sysc.h | 1 +
include/linux/raid/pq.h | 3 +-
include/linux/rculist_nulls.h | 8 +-
include/media/v4l2-device.h | 12 +-
include/rdma/ib_verbs.h | 9 +-
include/rdma/uverbs_types.h | 1 -
include/soc/fsl/qe/qe.h | 16 +--
include/trace/events/rcu.h | 4 +-
kernel/bpf/inode.c | 3 +-
kernel/cpu.c | 13 ++-
kernel/module.c | 20 ++--
kernel/padata.c | 34 +++---
kernel/printk/printk.c | 4 +-
kernel/rcu/tree.c | 11 +-
kernel/rcu/tree_exp.h | 2 +-
kernel/rcu/tree_plugin.h | 22 +++-
kernel/sched/core.c | 3 +-
kernel/sched/topology.c | 39 +++++++
kernel/time/alarmtimer.c | 20 ++--
kernel/trace/ftrace.c | 5 +-
kernel/trace/trace_events_hist.c | 70 +++++-------
kernel/trace/trace_events_trigger.c | 5 +-
kernel/trace/trace_stat.c | 31 +++---
kernel/watchdog.c | 10 +-
lib/debugobjects.c | 46 ++++----
lib/raid6/mktables.c | 2 +-
lib/scatterlist.c | 2 +-
net/core/dev.c | 4 +-
net/core/filter.c | 2 +-
net/core/sock_map.c | 3 +
net/dsa/tag_qca.c | 2 +-
net/netfilter/nft_tunnel.c | 3 +-
net/sched/cls_flower.c | 1 +
net/sched/cls_matchall.c | 1 +
net/smc/smc_diag.c | 5 +-
net/sunrpc/cache.c | 2 +
samples/bpf/Makefile | 1 +
scripts/Kbuild.include | 15 ++-
scripts/Kconfig.include | 2 +-
scripts/kconfig/confdata.c | 2 +-
scripts/link-vmlinux.sh | 4 +-
security/selinux/avc.c | 53 +++++----
sound/core/control.c | 5 +-
sound/pci/hda/patch_conexant.c | 1 +
sound/pci/hda/patch_hdmi.c | 7 +-
sound/pci/hda/patch_realtek.c | 10 +-
sound/sh/aica.c | 4 +-
sound/sh/sh_dac_audio.c | 3 -
sound/soc/atmel/Kconfig | 2 +
sound/soc/intel/boards/sof_rt5682.c | 43 +++++++-
sound/soc/soc-topology.c | 42 +++----
sound/soc/sof/intel/hda-dai.c | 3 -
sound/soc/sof/intel/hda.h | 2 +-
sound/usb/card.c | 4 +
sound/usb/format.c | 3 +
sound/usb/pcm.c | 4 +
sound/usb/quirks.c | 38 +++++++
sound/usb/quirks.h | 5 +
sound/usb/usx2y/usX2Yhwdep.c | 2 +-
tools/arch/x86/lib/x86-opcode-map.txt | 2 +-
tools/bpf/bpftool/cgroup.c | 56 +++++++---
tools/lib/api/fs/fs.c | 4 +-
tools/objtool/Makefile | 6 +-
.../testing/selftests/bpf/test_select_reuseport.c | 16 ++-
tools/testing/selftests/kselftest/runner.sh | 2 +-
tools/testing/selftests/net/so_txtime.c | 84 +++++++++++++-
tools/testing/selftests/net/so_txtime.sh | 9 +-
.../testing/selftests/powerpc/eeh/eeh-functions.sh | 10 +-
tools/testing/selftests/size/get_size.c | 24 +++-
tools/usb/usbip/src/usbip_network.c | 40 ++++---
tools/usb/usbip/src/usbip_network.h | 12 +-
376 files changed, 3093 insertions(+), 1606 deletions(-)



2020-02-21 08:39:37

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 003/344] net/smc: fix leak of kernel memory to user space

From: Eric Dumazet <[email protected]>

[ Upstream commit 457fed775c97ac2c0cd1672aaf2ff2c8a6235e87 ]

As nlmsg_put() does not clear the memory that is reserved,
it this the caller responsability to make sure all of this
memory will be written, in order to not reveal prior content.

While we are at it, we can provide the socket cookie even
if clsock is not set.

syzbot reported :

BUG: KMSAN: uninit-value in __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline]
BUG: KMSAN: uninit-value in __fswab32 include/uapi/linux/swab.h:59 [inline]
BUG: KMSAN: uninit-value in __swab32p include/uapi/linux/swab.h:179 [inline]
BUG: KMSAN: uninit-value in __be32_to_cpup include/uapi/linux/byteorder/little_endian.h:82 [inline]
BUG: KMSAN: uninit-value in get_unaligned_be32 include/linux/unaligned/access_ok.h:30 [inline]
BUG: KMSAN: uninit-value in ____bpf_skb_load_helper_32 net/core/filter.c:240 [inline]
BUG: KMSAN: uninit-value in ____bpf_skb_load_helper_32_no_cache net/core/filter.c:255 [inline]
BUG: KMSAN: uninit-value in bpf_skb_load_helper_32_no_cache+0x14a/0x390 net/core/filter.c:252
CPU: 1 PID: 5262 Comm: syz-executor.5 Not tainted 5.5.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1c9/0x220 lib/dump_stack.c:118
kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118
__msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
__arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline]
__fswab32 include/uapi/linux/swab.h:59 [inline]
__swab32p include/uapi/linux/swab.h:179 [inline]
__be32_to_cpup include/uapi/linux/byteorder/little_endian.h:82 [inline]
get_unaligned_be32 include/linux/unaligned/access_ok.h:30 [inline]
____bpf_skb_load_helper_32 net/core/filter.c:240 [inline]
____bpf_skb_load_helper_32_no_cache net/core/filter.c:255 [inline]
bpf_skb_load_helper_32_no_cache+0x14a/0x390 net/core/filter.c:252

Uninit was created at:
kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline]
kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127
kmsan_kmalloc_large+0x73/0xc0 mm/kmsan/kmsan_hooks.c:128
kmalloc_large_node_hook mm/slub.c:1406 [inline]
kmalloc_large_node+0x282/0x2c0 mm/slub.c:3841
__kmalloc_node_track_caller+0x44b/0x1200 mm/slub.c:4368
__kmalloc_reserve net/core/skbuff.c:141 [inline]
__alloc_skb+0x2fd/0xac0 net/core/skbuff.c:209
alloc_skb include/linux/skbuff.h:1049 [inline]
netlink_dump+0x44b/0x1ab0 net/netlink/af_netlink.c:2224
__netlink_dump_start+0xbb2/0xcf0 net/netlink/af_netlink.c:2352
netlink_dump_start include/linux/netlink.h:233 [inline]
smc_diag_handler_dump+0x2ba/0x300 net/smc/smc_diag.c:242
sock_diag_rcv_msg+0x211/0x610 net/core/sock_diag.c:256
netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2477
sock_diag_rcv+0x63/0x80 net/core/sock_diag.c:275
netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
netlink_unicast+0xf9e/0x1100 net/netlink/af_netlink.c:1328
netlink_sendmsg+0x1248/0x14d0 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:639 [inline]
sock_sendmsg net/socket.c:659 [inline]
kernel_sendmsg+0x433/0x440 net/socket.c:679
sock_no_sendpage+0x235/0x300 net/core/sock.c:2740
kernel_sendpage net/socket.c:3776 [inline]
sock_sendpage+0x1e1/0x2c0 net/socket.c:937
pipe_to_sendpage+0x38c/0x4c0 fs/splice.c:458
splice_from_pipe_feed fs/splice.c:512 [inline]
__splice_from_pipe+0x539/0xed0 fs/splice.c:636
splice_from_pipe fs/splice.c:671 [inline]
generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:844
do_splice_from fs/splice.c:863 [inline]
do_splice fs/splice.c:1170 [inline]
__do_sys_splice fs/splice.c:1447 [inline]
__se_sys_splice+0x2380/0x3350 fs/splice.c:1427
__x64_sys_splice+0x6e/0x90 fs/splice.c:1427
do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x44/0xa9

Fixes: f16a7dd5cf27 ("smc: netlink interface for SMC sockets")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/smc/smc_diag.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

--- a/net/smc/smc_diag.c
+++ b/net/smc/smc_diag.c
@@ -39,16 +39,15 @@ static void smc_diag_msg_common_fill(str
{
struct smc_sock *smc = smc_sk(sk);

+ memset(r, 0, sizeof(*r));
r->diag_family = sk->sk_family;
+ sock_diag_save_cookie(sk, r->id.idiag_cookie);
if (!smc->clcsock)
return;
r->id.idiag_sport = htons(smc->clcsock->sk->sk_num);
r->id.idiag_dport = smc->clcsock->sk->sk_dport;
r->id.idiag_if = smc->clcsock->sk->sk_bound_dev_if;
- sock_diag_save_cookie(sk, r->id.idiag_cookie);
if (sk->sk_protocol == SMCPROTO_SMC) {
- memset(&r->id.idiag_src, 0, sizeof(r->id.idiag_src));
- memset(&r->id.idiag_dst, 0, sizeof(r->id.idiag_dst));
r->id.idiag_src[0] = smc->clcsock->sk->sk_rcv_saddr;
r->id.idiag_dst[0] = smc->clcsock->sk->sk_daddr;
#if IS_ENABLED(CONFIG_IPV6)


2020-02-21 08:39:40

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 027/344] ALSA: ctl: allow TLV read operation for callback type of element in locked case

From: Takashi Sakamoto <[email protected]>

[ Upstream commit d61fe22c2ae42d9fd76c34ef4224064cca4b04b0 ]

A design of ALSA control core allows applications to execute three
operations for TLV feature; read, write and command. Furthermore, it
allows driver developers to process the operations by two ways; allocated
array or callback function. In the former, read operation is just allowed,
thus developers uses the latter when device driver supports variety of
models or the target model is expected to dynamically change information
stored in TLV container.

The core also allows applications to lock any element so that the other
applications can't perform write operation to the element for element
value and TLV information. When the element is locked, write and command
operation for TLV information are prohibited as well as element value.
Any read operation should be allowed in the case.

At present, when an element has callback function for TLV information,
TLV read operation returns EPERM if the element is locked. On the
other hand, the read operation is success when an element has allocated
array for TLV information. In both cases, read operation is success for
element value expectedly.

This commit fixes the bug. This change can be backported to v4.14
kernel or later.

Signed-off-by: Takashi Sakamoto <[email protected]>
Reviewed-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
sound/core/control.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/core/control.c b/sound/core/control.c
index 7a4d8690ce41f..08ca7666e84cf 100644
--- a/sound/core/control.c
+++ b/sound/core/control.c
@@ -1430,8 +1430,9 @@ static int call_tlv_handler(struct snd_ctl_file *file, int op_flag,
if (kctl->tlv.c == NULL)
return -ENXIO;

- /* When locked, this is unavailable. */
- if (vd->owner != NULL && vd->owner != file)
+ /* Write and command operations are not allowed for locked element. */
+ if (op_flag != SNDRV_CTL_TLV_OP_READ &&
+ vd->owner != NULL && vd->owner != file)
return -EPERM;

return kctl->tlv.c(kctl, op_flag, size, buf);
--
2.20.1



2020-02-21 08:39:44

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 021/344] brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()

From: Navid Emamdoost <[email protected]>

[ Upstream commit 5cc509aa83c6acd2c5cd94f99065c39d2bd0a490 ]

In the implementation of brcmf_p2p_create_p2pdev() the allocated memory
for p2p_vif is leaked when the mac address is the same as primary
interface. To fix this, go to error path to release p2p_vif via
brcmf_free_vif().

Fixes: cb746e47837a ("brcmfmac: check p2pdev mac address uniqueness")
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
index 7ba9f6a686459..1f5deea5a288e 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
@@ -2092,7 +2092,8 @@ static struct wireless_dev *brcmf_p2p_create_p2pdev(struct brcmf_p2p_info *p2p,
/* firmware requires unique mac address for p2pdev interface */
if (addr && ether_addr_equal(addr, pri_ifp->mac_addr)) {
bphy_err(drvr, "discovery vif must be different from primary interface\n");
- return ERR_PTR(-EINVAL);
+ err = -EINVAL;
+ goto fail;
}

brcmf_p2p_generate_bss_mac(p2p, addr);
--
2.20.1



2020-02-21 08:39:55

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 057/344] spi: fsl-lpspi: fix only one cs-gpio working

From: Philippe Schenker <[email protected]>

[ Upstream commit bc3a8b295e5bca9d1ec2622a6ba38289f9fd3d8a ]

Why it does not work at the moment:
- num_chipselect sets the number of cs-gpios that are in the DT.
This comes from drivers/spi/spi.c
- num_chipselect gets set with devm_spi_register_controller, that is
called in drivers/spi/spi.c
- devm_spi_register_controller got called after num_chipselect has
been used.

How this commit fixes the issue:
- devm_spi_register_controller gets called before num_chipselect is
being used.

Fixes: c7a402599504 ("spi: lpspi: use the core way to implement cs-gpio function")
Signed-off-by: Philippe Schenker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/spi/spi-fsl-lpspi.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c
index 3528ed5eea9b5..92e460d4f3d10 100644
--- a/drivers/spi/spi-fsl-lpspi.c
+++ b/drivers/spi/spi-fsl-lpspi.c
@@ -862,6 +862,22 @@ static int fsl_lpspi_probe(struct platform_device *pdev)
fsl_lpspi->dev = &pdev->dev;
fsl_lpspi->is_slave = is_slave;

+ controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32);
+ controller->transfer_one = fsl_lpspi_transfer_one;
+ controller->prepare_transfer_hardware = lpspi_prepare_xfer_hardware;
+ controller->unprepare_transfer_hardware = lpspi_unprepare_xfer_hardware;
+ controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
+ controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX;
+ controller->dev.of_node = pdev->dev.of_node;
+ controller->bus_num = pdev->id;
+ controller->slave_abort = fsl_lpspi_slave_abort;
+
+ ret = devm_spi_register_controller(&pdev->dev, controller);
+ if (ret < 0) {
+ dev_err(&pdev->dev, "spi_register_controller error.\n");
+ goto out_controller_put;
+ }
+
if (!fsl_lpspi->is_slave) {
for (i = 0; i < controller->num_chipselect; i++) {
int cs_gpio = of_get_named_gpio(np, "cs-gpios", i);
@@ -885,16 +901,6 @@ static int fsl_lpspi_probe(struct platform_device *pdev)
controller->prepare_message = fsl_lpspi_prepare_message;
}

- controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32);
- controller->transfer_one = fsl_lpspi_transfer_one;
- controller->prepare_transfer_hardware = lpspi_prepare_xfer_hardware;
- controller->unprepare_transfer_hardware = lpspi_unprepare_xfer_hardware;
- controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
- controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX;
- controller->dev.of_node = pdev->dev.of_node;
- controller->bus_num = pdev->id;
- controller->slave_abort = fsl_lpspi_slave_abort;
-
init_completion(&fsl_lpspi->xfer_done);

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -952,12 +958,6 @@ static int fsl_lpspi_probe(struct platform_device *pdev)
if (ret < 0)
dev_err(&pdev->dev, "dma setup error %d, use pio\n", ret);

- ret = devm_spi_register_controller(&pdev->dev, controller);
- if (ret < 0) {
- dev_err(&pdev->dev, "spi_register_controller error.\n");
- goto out_controller_put;
- }
-
return 0;

out_controller_put:
--
2.20.1



2020-02-21 08:40:00

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 049/344] pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins

From: Hans de Goede <[email protected]>

[ Upstream commit a23680594da7a9e2696dbcf4f023e9273e2fa40b ]

Suspending Goodix touchscreens requires changing the interrupt pin to
output before sending them a power-down command. Followed by wiggling
the interrupt pin to wake the device up, after which it is put back
in input mode.

On Bay Trail devices with a Goodix touchscreen direct-irq mode is used
in combination with listing the pin as a normal GpioIo resource.

This works fine, until the goodix driver gets rmmod-ed and then insmod-ed
again. In this case byt_gpio_disable_free() calls
byt_gpio_clear_triggering() which clears the IRQ flags and after that the
(direct) IRQ no longer triggers.

This commit fixes this by adding a check for the BYT_DIRECT_IRQ_EN flag
to byt_gpio_clear_triggering().

Note that byt_gpio_clear_triggering() only gets called from
byt_gpio_disable_free() for direct-irq enabled pins, as these are excluded
from the irq_valid mask by byt_init_irq_valid_mask().

Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/pinctrl/intel/pinctrl-baytrail.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c
index 7d658e6627e7a..606fe216f902a 100644
--- a/drivers/pinctrl/intel/pinctrl-baytrail.c
+++ b/drivers/pinctrl/intel/pinctrl-baytrail.c
@@ -752,7 +752,13 @@ static void byt_gpio_clear_triggering(struct byt_gpio *vg, unsigned int offset)

raw_spin_lock_irqsave(&byt_lock, flags);
value = readl(reg);
- value &= ~(BYT_TRIG_POS | BYT_TRIG_NEG | BYT_TRIG_LVL);
+
+ /* Do not clear direct-irq enabled IRQs (from gpio_disable_free) */
+ if (value & BYT_DIRECT_IRQ_EN)
+ /* nothing to do */ ;
+ else
+ value &= ~(BYT_TRIG_POS | BYT_TRIG_NEG | BYT_TRIG_LVL);
+
writel(value, reg);
raw_spin_unlock_irqrestore(&byt_lock, flags);
}
--
2.20.1



2020-02-21 08:40:02

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 012/344] rcu/nocb: Fix dump_tree hierarchy print always active

From: Stefan Reiter <[email protected]>

[ Upstream commit 610dea36d3083a977e4f156206cbe1eaa2a532f0 ]

Commit 18cd8c93e69e ("rcu/nocb: Print gp/cb kthread hierarchy if
dump_tree") added print statements to rcu_organize_nocb_kthreads for
debugging, but incorrectly guarded them, causing the function to always
spew out its message.

This patch fixes it by guarding both pr_alert statements with dump_tree,
while also changing the second pr_alert to a pr_cont, to print the
hierarchy in a single line (assuming that's how it was supposed to
work).

Fixes: 18cd8c93e69e ("rcu/nocb: Print gp/cb kthread hierarchy if dump_tree")
Signed-off-by: Stefan Reiter <[email protected]>
[ paulmck: Make single-nocbs-CPU GP kthreads look less erroneous. ]
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
kernel/rcu/tree_plugin.h | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index f849e7429816f..f7118842a2b88 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -2322,6 +2322,8 @@ static void __init rcu_organize_nocb_kthreads(void)
{
int cpu;
bool firsttime = true;
+ bool gotnocbs = false;
+ bool gotnocbscbs = true;
int ls = rcu_nocb_gp_stride;
int nl = 0; /* Next GP kthread. */
struct rcu_data *rdp;
@@ -2344,21 +2346,31 @@ static void __init rcu_organize_nocb_kthreads(void)
rdp = per_cpu_ptr(&rcu_data, cpu);
if (rdp->cpu >= nl) {
/* New GP kthread, set up for CBs & next GP. */
+ gotnocbs = true;
nl = DIV_ROUND_UP(rdp->cpu + 1, ls) * ls;
rdp->nocb_gp_rdp = rdp;
rdp_gp = rdp;
- if (!firsttime && dump_tree)
- pr_cont("\n");
- firsttime = false;
- pr_alert("%s: No-CB GP kthread CPU %d:", __func__, cpu);
+ if (dump_tree) {
+ if (!firsttime)
+ pr_cont("%s\n", gotnocbscbs
+ ? "" : " (self only)");
+ gotnocbscbs = false;
+ firsttime = false;
+ pr_alert("%s: No-CB GP kthread CPU %d:",
+ __func__, cpu);
+ }
} else {
/* Another CB kthread, link to previous GP kthread. */
+ gotnocbscbs = true;
rdp->nocb_gp_rdp = rdp_gp;
rdp_prev->nocb_next_cb_rdp = rdp;
- pr_alert(" %d", cpu);
+ if (dump_tree)
+ pr_cont(" %d", cpu);
}
rdp_prev = rdp;
}
+ if (gotnocbs && dump_tree)
+ pr_cont("%s\n", gotnocbscbs ? "" : " (self only)");
}

/*
--
2.20.1



2020-02-21 08:40:52

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.4 016/344] f2fs: preallocate DIO blocks when forcing buffered_io

From: Jaegeuk Kim <[email protected]>

[ Upstream commit 47501f87c61ad2aa234add63e1ae231521dbc3f5 ]

The previous preallocation and DIO decision like below.

allow_outplace_dio !allow_outplace_dio
f2fs_force_buffered_io (*) No_Prealloc / Buffered_IO Prealloc / Buffered_IO
!f2fs_force_buffered_io No_Prealloc / DIO Prealloc / DIO

But, Javier reported Case (*) where zoned device bypassed preallocation but
fell back to buffered writes in f2fs_direct_IO(), resulting in stale data
being read.

In order to fix the issue, actually we need to preallocate blocks whenever
we fall back to buffered IO like this. No change is made in the other cases.

allow_outplace_dio !allow_outplace_dio
f2fs_force_buffered_io (*) Prealloc / Buffered_IO Prealloc / Buffered_IO
!f2fs_force_buffered_io No_Prealloc / DIO Prealloc / DIO

Reported-and-tested-by: Javier Gonzalez <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Tested-by: Shin'ichiro Kawasaki <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
fs/f2fs/data.c | 13 -------------
fs/f2fs/file.c | 43 +++++++++++++++++++++++++++++++++----------
2 files changed, 33 insertions(+), 23 deletions(-)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 2e9c731658008..5d6fd940aab2e 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1074,19 +1074,6 @@ int f2fs_preallocate_blocks(struct kiocb *iocb, struct iov_iter *from)
int err = 0;
bool direct_io = iocb->ki_flags & IOCB_DIRECT;

- /* convert inline data for Direct I/O*/
- if (direct_io) {
- err = f2fs_convert_inline_inode(inode);
- if (err)
- return err;
- }
-
- if (direct_io && allow_outplace_dio(inode, iocb, from))
- return 0;
-
- if (is_inode_flag_set(inode, FI_NO_PREALLOC))
- return 0;
-
map.m_lblk = F2FS_BLK_ALIGN(iocb->ki_pos);
map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from));
if (map.m_len > map.m_lblk)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 72f308790a8e5..44bc5f4a9ce19 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -3348,18 +3348,41 @@ static ssize_t f2fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
ret = -EAGAIN;
goto out;
}
- } else {
- preallocated = true;
- target_size = iocb->ki_pos + iov_iter_count(from);
+ goto write;
+ }

- err = f2fs_preallocate_blocks(iocb, from);
- if (err) {
- clear_inode_flag(inode, FI_NO_PREALLOC);
- inode_unlock(inode);
- ret = err;
- goto out;
- }
+ if (is_inode_flag_set(inode, FI_NO_PREALLOC))
+ goto write;
+
+ if (iocb->ki_flags & IOCB_DIRECT) {
+ /*
+ * Convert inline data for Direct I/O before entering
+ * f2fs_direct_IO().
+ */
+ err = f2fs_convert_inline_inode(inode);
+ if (err)
+ goto out_err;
+ /*
+ * If force_buffere_io() is true, we have to allocate
+ * blocks all the time, since f2fs_direct_IO will fall
+ * back to buffered IO.
+ */
+ if (!f2fs_force_buffered_io(inode, iocb, from) &&
+ allow_outplace_dio(inode, iocb, from))
+ goto write;
+ }
+ preallocated = true;
+ target_size = iocb->ki_pos + iov_iter_count(from);
+
+ err = f2fs_preallocate_blocks(iocb, from);
+ if (err) {
+out_err:
+ clear_inode_flag(inode, FI_NO_PREALLOC);
+ inode_unlock(inode);
+ ret = err;
+ goto out;
}
+write:
ret = __generic_file_write_iter(iocb, from);
clear_inode_flag(inode, FI_NO_PREALLOC);

--
2.20.1



2020-02-21 10:04:47

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review


On 21/02/2020 07:36, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:

...

> Tero Kristo <[email protected]>
> ARM: OMAP2+: pdata-quirks: add PRM data for reset support


The above commit is generating the following build error on ARM systems ...

dvs/git/dirty/git-master_l4t-upstream/kernel/arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error: linux/platform_data/ti-prm.h: No such file or directory
#include <linux/platform_data/ti-prm.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cheers
Jon

--
nvpublic

2020-02-21 11:18:26

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, 21 Feb 2020 at 15:34, Jon Hunter <[email protected]> wrote:
>
>
> On 21/02/2020 07:36, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.22 release.
> > There are 344 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> >
> > -------------
> > Pseudo-Shortlog of commits:
>
> ...
>
> > Tero Kristo <[email protected]>
> > ARM: OMAP2+: pdata-quirks: add PRM data for reset support
>
>
> The above commit is generating the following build error on ARM systems ...
>
> dvs/git/dirty/git-master_l4t-upstream/kernel/arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error: linux/platform_data/ti-prm.h: No such file or directory
> #include <linux/platform_data/ti-prm.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

build error:

../arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error:
linux/platform_data/ti-prm.h: No such file or directory
27 | #include <linux/platform_data/ti-prm.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../scripts/Makefile.build:265:
arch/arm/mach-omap2/pdata-quirks.o] Error 1

With these below three patches, it applies cleanly and builds.
But I'm not sure these are not expected to get into stable rc 5.4 branch.

3e99cb214f03 ("soc: ti: add initial PRM driver with reset control support")
c5117a78dd88 ("soc: ti: omap-prm: poll for reset complete during de-assert")
d30cd83f6853 ("soc: ti: omap-prm: add support for denying idle for
reset clockdomain")

However, it's only patch
d30cd83f6853 ("soc: ti: omap-prm: add support for denying idle for
reset clockdomain")
that introduces file linux/platform_data/ti-prm.h

--
Linaro LKFT
https://lkft.linaro.org

2020-02-21 11:58:49

by Tero Kristo

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On 21/02/2020 13:17, Naresh Kamboju wrote:
> On Fri, 21 Feb 2020 at 15:34, Jon Hunter <[email protected]> wrote:
>>
>>
>> On 21/02/2020 07:36, Greg Kroah-Hartman wrote:
>>> This is the start of the stable review cycle for the 5.4.22 release.
>>> There are 344 patches in this series, all will be posted as a response
>>> to this one. If anyone has any issues with these being applied, please
>>> let me know.
>>>
>>> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
>>> Anything received after that time might be too late.
>>>
>>> The whole patch series can be found in one patch at:
>>> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
>>> or in the git tree and branch at:
>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
>>> and the diffstat can be found below.
>>>
>>> thanks,
>>>
>>> greg k-h
>>>
>>> -------------
>>> Pseudo-Shortlog of commits:
>>
>> ...
>>
>>> Tero Kristo <[email protected]>
>>> ARM: OMAP2+: pdata-quirks: add PRM data for reset support
>>
>>
>> The above commit is generating the following build error on ARM systems ...
>>
>> dvs/git/dirty/git-master_l4t-upstream/kernel/arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error: linux/platform_data/ti-prm.h: No such file or directory
>> #include <linux/platform_data/ti-prm.h>
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> build error:
>
> ../arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error:
> linux/platform_data/ti-prm.h: No such file or directory
> 27 | #include <linux/platform_data/ti-prm.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[2]: *** [../scripts/Makefile.build:265:
> arch/arm/mach-omap2/pdata-quirks.o] Error 1
>
> With these below three patches, it applies cleanly and builds.
> But I'm not sure these are not expected to get into stable rc 5.4 branch.

Yeah, without PRM driver the pdata-quirk patch should not have been
picked up. I wonder why it ended up in stable. Tony, any ideas?

-Tero

>
> 3e99cb214f03 ("soc: ti: add initial PRM driver with reset control support")
> c5117a78dd88 ("soc: ti: omap-prm: poll for reset complete during de-assert")
> d30cd83f6853 ("soc: ti: omap-prm: add support for denying idle for
> reset clockdomain")
>
> However, it's only patch
> d30cd83f6853 ("soc: ti: omap-prm: add support for denying idle for
> reset clockdomain")
> that introduces file linux/platform_data/ti-prm.h
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

2020-02-21 14:23:14

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On 2/20/20 11:36 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>

Build reference: v5.4.21-345-gbae6e9bf73af
gcc version: x86_64-linux-gcc (GCC) 9.2.0

Building x86_64:allnoconfig ... failed
--------------
Error log:
arch/x86/kernel/unwind_orc.c: In function 'unwind_init':
arch/x86/kernel/unwind_orc.c:278:56: error: 'orc_sort_cmp' undeclared (first use in this function)

Affects v{4.14,4.19,5,4,5,5}.y.queue.


2020-02-21 14:28:41

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On 2/20/20 11:36 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>

As already reported:

Build reference: v5.4.21-345-gbae6e9bf73af
gcc version: arm-linux-gnueabi-gcc (GCC) 9.2.0

Building arm:allmodconfig ... failed
Building arm:omap2plus_defconfig ... failed
--------------
Error log:
arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error: linux/platform_data/ti-prm.h: No such file or directory

Also:

Building powerpc:defconfig ... failed
Building powerpc:mpc83xx_defconfig ... failed
--------------
Error log:
drivers/rtc/rtc-ds1307.c:1570:21: error: variable 'regmap_config' has initializer but incomplete type

as well as various follow-up errors.

The second problem affects both v5.4.y and v5.5.y.

Guenter

2020-02-21 15:15:31

by Ben Hutchings

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, 2020-02-21 at 06:22 -0800, Guenter Roeck wrote:
> On 2/20/20 11:36 PM, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.22 release.
> > There are 344 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> > Anything received after that time might be too late.
> >
>
> Build reference: v5.4.21-345-gbae6e9bf73af
> gcc version: x86_64-linux-gcc (GCC) 9.2.0
>
> Building x86_64:allnoconfig ... failed
> --------------
> Error log:
> arch/x86/kernel/unwind_orc.c: In function 'unwind_init':
> arch/x86/kernel/unwind_orc.c:278:56: error: 'orc_sort_cmp' undeclared (first use in this function)
>
> Affects v{4.14,4.19,5,4,5,5}.y.queue.

This seems to be due to commit 22a7fa8848c5 (x86-unwind-orc-fix-
config_modules-build-warning.patch), which is only valid after commit
f14bf6a350df "x86/unwind/orc: Remove boot-time ORC unwind tables
sorting".

Ben.

>
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom

2020-02-21 15:22:05

by Ben Hutchings

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, 2020-02-21 at 06:28 -0800, Guenter Roeck wrote:
[...]
> Building powerpc:defconfig ... failed
> Building powerpc:mpc83xx_defconfig ... failed
> --------------
> Error log:
> drivers/rtc/rtc-ds1307.c:1570:21: error: variable 'regmap_config' has initializer but incomplete type
>
> as well as various follow-up errors.
>
> The second problem affects both v5.4.y and v5.5.y.

This seems to be caused by commit 34719de919af (rtc-i2c-spi-avoid-
inclusion-of-regmap-support-when-n.patch). These branches will need
commit 578c2b661e2b "rtc: Kconfig: select REGMAP_I2C when necessary" as
well.

Ben.

--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom

2020-02-21 15:55:38

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 03:21:30PM +0000, Ben Hutchings wrote:
> On Fri, 2020-02-21 at 06:28 -0800, Guenter Roeck wrote:
> [...]
> > Building powerpc:defconfig ... failed
> > Building powerpc:mpc83xx_defconfig ... failed
> > --------------
> > Error log:
> > drivers/rtc/rtc-ds1307.c:1570:21: error: variable 'regmap_config' has initializer but incomplete type
> >
> > as well as various follow-up errors.
> >
> > The second problem affects both v5.4.y and v5.5.y.
>
> This seems to be caused by commit 34719de919af (rtc-i2c-spi-avoid-
> inclusion-of-regmap-support-when-n.patch). These branches will need
> commit 578c2b661e2b "rtc: Kconfig: select REGMAP_I2C when necessary" as
> well.
>

Yes, I recall we had the same problem before, and the offending patch
was removed from the queue. Wonder how it made it back in without the
context patch (which either you or someone else also reported at the time).

Guenter

2020-02-21 18:57:13

by Sasha Levin

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 07:55:07AM -0800, Guenter Roeck wrote:
>On Fri, Feb 21, 2020 at 03:21:30PM +0000, Ben Hutchings wrote:
>> On Fri, 2020-02-21 at 06:28 -0800, Guenter Roeck wrote:
>> [...]
>> > Building powerpc:defconfig ... failed
>> > Building powerpc:mpc83xx_defconfig ... failed
>> > --------------
>> > Error log:
>> > drivers/rtc/rtc-ds1307.c:1570:21: error: variable 'regmap_config' has initializer but incomplete type
>> >
>> > as well as various follow-up errors.
>> >
>> > The second problem affects both v5.4.y and v5.5.y.
>>
>> This seems to be caused by commit 34719de919af (rtc-i2c-spi-avoid-
>> inclusion-of-regmap-support-when-n.patch). These branches will need
>> commit 578c2b661e2b "rtc: Kconfig: select REGMAP_I2C when necessary" as
>> well.
>>
>
>Yes, I recall we had the same problem before, and the offending patch
>was removed from the queue. Wonder how it made it back in without the
>context patch (which either you or someone else also reported at the time).

The first time was Greg picking it up, the second time it was me :)

My build bot is busted, and I'm working on repairing it, appologies for
the noise.

I've grabbed 578c2b661e2b for both 5.5 and 5.4.

--
Thanks,
Sasha

2020-02-21 19:52:26

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On 2/21/20 12:36 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

Compiled and booted on test system. No dmesg regressions.

thanks,
-- Shuah

2020-02-22 20:31:57

by Dan Rue

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 08:36:39AM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.

Results from Linaro’s test farm.
Regression detected - no results for 32-bit arm due to build failure
reported at
https://lore.kernel.org/lkml/[email protected].

No regressions on arm64, x86_64, and i386.


Summary
------------------------------------------------------------------------

kernel: 5.4.22-rc1
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-5.4.y
git commit: bae6e9bf73af8cae01e99a54d0bedee266637ff8
git describe: v5.4.21-345-gbae6e9bf73af
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-5.4-oe/build/v5.4.21-345-gbae6e9bf73af

Regressions (compared to build v5.4.21)
------------------------------------------------------------------------

x15:
build:
* build_process


No fixes (compared to build v5.4.21)

Ran 25765 total tests in the following environments and test suites.

Environments
--------------
- dragonboard-410c
- hi6220-hikey
- i386
- juno-r2
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15
- x86

Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* libgpiod
* libhugetlbfs
* linux-log-parser
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-cpuhotplug-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
* ltp-fs-tests
* network-basic-tests
* ltp-open-posix-tests
* kvm-unit-tests
* ltp-cap_bounds-64k-page_size-tests
* ltp-cap_bounds-kasan-tests
* ltp-commands-64k-page_size-tests
* ltp-commands-kasan-tests
* ltp-containers-64k-page_size-tests
* ltp-containers-kasan-tests
* ltp-cpuhotplug-64k-page_size-tests
* ltp-cpuhotplug-kasan-tests
* ltp-cve-64k-page_size-tests
* ltp-cve-kasan-tests
* ltp-dio-64k-page_size-tests
* ltp-dio-kasan-tests
* ltp-fcntl-locktests-64k-page_size-tests
* ltp-fcntl-locktests-kasan-tests
* ltp-filecaps-64k-page_size-tests
* ltp-filecaps-kasan-tests
* ltp-fs-64k-page_size-tests
* ltp-fs-kasan-tests
* ltp-fs_bind-64k-page_size-tests
* ltp-fs_bind-kasan-tests
* ltp-fs_perms_simple-64k-page_size-tests
* ltp-fs_perms_simple-kasan-tests
* ltp-fsx-64k-page_size-tests
* ltp-fsx-kasan-tests
* ltp-hugetlb-64k-page_size-tests
* ltp-hugetlb-kasan-tests
* ltp-io-64k-page_size-tests
* ltp-io-kasan-tests
* ltp-ipc-64k-page_size-tests
* ltp-ipc-kasan-tests
* ltp-math-64k-page_size-tests
* ltp-math-kasan-tests
* ltp-mm-kasan-tests
* ltp-nptl-64k-page_size-tests
* ltp-nptl-kasan-tests
* ltp-pty-64k-page_size-tests
* ltp-pty-kasan-tests
* ltp-sched-64k-page_size-tests
* ltp-sched-kasan-tests
* ltp-securebits-64k-page_size-tests
* ltp-securebits-kasan-tests
* ltp-syscalls-64k-page_size-tests
* ltp-syscalls-compat-tests
* ltp-syscalls-kasan-tests
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none
* ssuite

--
Linaro LKFT
https://lkft.linaro.org

2020-02-23 15:41:30

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 08:36:39AM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.

-rc2 is out to hopefully resolve the reported problems:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc2.gz


2020-02-23 17:11:49

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 03:15:02PM +0000, Ben Hutchings wrote:
> On Fri, 2020-02-21 at 06:22 -0800, Guenter Roeck wrote:
> > On 2/20/20 11:36 PM, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.4.22 release.
> > > There are 344 patches in this series, all will be posted as a response
> > > to this one. If anyone has any issues with these being applied, please
> > > let me know.
> > >
> > > Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> > > Anything received after that time might be too late.
> > >
> >
> > Build reference: v5.4.21-345-gbae6e9bf73af
> > gcc version: x86_64-linux-gcc (GCC) 9.2.0
> >
> > Building x86_64:allnoconfig ... failed
> > --------------
> > Error log:
> > arch/x86/kernel/unwind_orc.c: In function 'unwind_init':
> > arch/x86/kernel/unwind_orc.c:278:56: error: 'orc_sort_cmp' undeclared (first use in this function)
> >
> > Affects v{4.14,4.19,5,4,5,5}.y.queue.
>
> This seems to be due to commit 22a7fa8848c5 (x86-unwind-orc-fix-
> config_modules-build-warning.patch), which is only valid after commit
> f14bf6a350df "x86/unwind/orc: Remove boot-time ORC unwind tables
> sorting".

Ugh, sorry about that, now dropped from everywhere. I'll push out a
-rc3 soon...

greg k-h

2020-02-23 17:26:33

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Fri, Feb 21, 2020 at 01:57:20PM +0200, Tero Kristo wrote:
> On 21/02/2020 13:17, Naresh Kamboju wrote:
> > On Fri, 21 Feb 2020 at 15:34, Jon Hunter <[email protected]> wrote:
> > >
> > >
> > > On 21/02/2020 07:36, Greg Kroah-Hartman wrote:
> > > > This is the start of the stable review cycle for the 5.4.22 release.
> > > > There are 344 patches in this series, all will be posted as a response
> > > > to this one. If anyone has any issues with these being applied, please
> > > > let me know.
> > > >
> > > > Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> > > > Anything received after that time might be too late.
> > > >
> > > > The whole patch series can be found in one patch at:
> > > > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> > > > or in the git tree and branch at:
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> > > > and the diffstat can be found below.
> > > >
> > > > thanks,
> > > >
> > > > greg k-h
> > > >
> > > > -------------
> > > > Pseudo-Shortlog of commits:
> > >
> > > ...
> > >
> > > > Tero Kristo <[email protected]>
> > > > ARM: OMAP2+: pdata-quirks: add PRM data for reset support
> > >
> > >
> > > The above commit is generating the following build error on ARM systems ...
> > >
> > > dvs/git/dirty/git-master_l4t-upstream/kernel/arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error: linux/platform_data/ti-prm.h: No such file or directory
> > > #include <linux/platform_data/ti-prm.h>
> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > build error:
> >
> > ../arch/arm/mach-omap2/pdata-quirks.c:27:10: fatal error:
> > linux/platform_data/ti-prm.h: No such file or directory
> > 27 | #include <linux/platform_data/ti-prm.h>
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
> > make[2]: *** [../scripts/Makefile.build:265:
> > arch/arm/mach-omap2/pdata-quirks.o] Error 1
> >
> > With these below three patches, it applies cleanly and builds.
> > But I'm not sure these are not expected to get into stable rc 5.4 branch.
>
> Yeah, without PRM driver the pdata-quirk patch should not have been picked
> up. I wonder why it ended up in stable. Tony, any ideas?

I've dropped the offending patch now, sorry about that.

greg k-h

2020-02-23 17:32:08

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Sun, Feb 23, 2020 at 04:40:49PM +0100, Greg Kroah-Hartman wrote:
> On Fri, Feb 21, 2020 at 08:36:39AM +0100, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.22 release.
> > There are 344 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> > and the diffstat can be found below.
>
> -rc2 is out to hopefully resolve the reported problems:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc2.gz

-rc3 is out:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc3.gz

2020-02-24 00:18:08

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On 2/20/20 11:36 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.22 release.
> There are 344 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 23 Feb 2020 07:19:49 +0000.
> Anything received after that time might be too late.
>

For v5.4.21-338-g3b5dde2478ad:

Build results:
total: 158 pass: 158 fail: 0
Qemu test results:
total: 411 pass: 411 fail: 0

Guenter

2020-02-24 04:25:17

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review

On Sun, 23 Feb 2020 at 23:01, Greg Kroah-Hartman
<[email protected]> wrote:
>
> -rc3 is out:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.22-rc3.gz

Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

Summary
------------------------------------------------------------------------

kernel: 5.4.22-rc3
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-5.4.y
git commit: 3b5dde2478ad5b400cc44737c1a26e9503608360
git describe: v5.4.21-338-g3b5dde2478ad
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-5.4-oe/build/v5.4.21-338-g3b5dde2478ad

No regressions (compared to build v5.4.21)

No fixes (compared to build v5.4.21)


Ran 27869 total tests in the following environments and test suites.

Environments
--------------
- dragonboard-410c
- hi6220-hikey
- i386
- juno-r2
- qemu_arm
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15
- x86

Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* libgpiod
* libhugetlbfs
* linux-log-parser
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-cpuhotplug-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
* ltp-fs-tests
* ltp-fsx-tests
* network-basic-tests
* ltp-open-posix-tests
* kvm-unit-tests
* ltp-cap_bounds-64k-page_size-tests
* ltp-cap_bounds-kasan-tests
* ltp-commands-64k-page_size-tests
* ltp-commands-kasan-tests
* ltp-containers-64k-page_size-tests
* ltp-containers-kasan-tests
* ltp-cpuhotplug-64k-page_size-tests
* ltp-cpuhotplug-kasan-tests
* ltp-cve-64k-page_size-tests
* ltp-dio-64k-page_size-tests
* ltp-dio-kasan-tests
* ltp-fcntl-locktests-64k-page_size-tests
* ltp-fcntl-locktests-kasan-tests
* ltp-filecaps-64k-page_size-tests
* ltp-filecaps-kasan-tests
* ltp-fs-64k-page_size-tests
* ltp-fs-kasan-tests
* ltp-fs_bind-64k-page_size-tests
* ltp-fs_bind-kasan-tests
* ltp-fs_perms_simple-64k-page_size-tests
* ltp-fs_perms_simple-kasan-tests
* ltp-fsx-64k-page_size-tests
* ltp-fsx-kasan-tests
* ltp-hugetlb-64k-page_size-tests
* ltp-hugetlb-kasan-tests
* ltp-io-64k-page_size-tests
* ltp-io-kasan-tests
* ltp-ipc-64k-page_size-tests
* ltp-ipc-kasan-tests
* ltp-math-64k-page_size-tests
* ltp-math-kasan-tests
* ltp-mm-kasan-tests
* ltp-nptl-64k-page_size-tests
* ltp-nptl-kasan-tests
* ltp-pty-64k-page_size-tests
* ltp-pty-kasan-tests
* ltp-sched-64k-page_size-tests
* ltp-sched-kasan-tests
* ltp-securebits-64k-page_size-tests
* ltp-securebits-kasan-tests
* ltp-syscalls-64k-page_size-tests
* ltp-syscalls-compat-tests
* ltp-syscalls-kasan-tests
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none
* ssuite

--
Linaro LKFT
https://lkft.linaro.org

2020-02-24 11:21:26

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/344] 5.4.22-stable review


On 23/02/2020 17:26, Greg Kroah-Hartman wrote:

...

> I've dropped the offending patch now, sorry about that.
>
> greg k-h


Thanks. I know that it is already out but FWIW, looks good to me ...


Test results for stable-v5.4:
13 builds: 13 pass, 0 fail
22 boots: 22 pass, 0 fail
40 tests: 40 pass, 0 fail

Linux version: 5.4.22-gf22dcb31727e
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra20-ventana,
tegra210-p2371-2180, tegra210-p3450-0000,
tegra30-cardhu-a04

Cheers
Jon

--
nvpublic