This is the start of the stable review cycle for the 5.16.10 release.
There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 5.16.10-rc1
Vijayanand Jitta <[email protected]>
iommu: Fix potential use-after-free during probe
Chia-Wei Wang <[email protected]>
docs/ABI: testing: aspeed-uart-routing: Escape asterisk
Masahiro Yamada <[email protected]>
kconfig: fix missing fclose() on error paths
Song Liu <[email protected]>
perf: Fix list corruption in perf_cgroup_switch()
Alexander Stein <[email protected]>
arm64: dts: imx8mq: fix lcdif port node
Thomas Bogendoerfer <[email protected]>
MIPS: octeon: Fix missed PTR->PTR_WD conversion
James Smart <[email protected]>
scsi: lpfc: Reduce log messages seen after firmware download
James Smart <[email protected]>
scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
Nathan Chancellor <[email protected]>
Makefile.extrawarn: Move -Wunaligned-access to W=1
Tadeusz Struk <[email protected]>
sched/fair: Fix fault in reweight_entity
Reinette Chatre <[email protected]>
x86/sgx: Silence softlockup detection when releasing large enclaves
Slark Xiao <[email protected]>
bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
Slark Xiao <[email protected]>
bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
Vineeth Vijayan <[email protected]>
s390/cio: verify the driver availability for path_event call
Kees Cook <[email protected]>
signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
Kees Cook <[email protected]>
seccomp: Invalidate seccomp mode to catch death failures
Roman Gushchin <[email protected]>
mm: memcg: synchronize objcg lists with a dedicated spinlock
Mel Gorman <[email protected]>
mm: vmscan: remove deadlock due to throttling failing to make progress
Yang Shi <[email protected]>
fs/proc: task_mmu.c: don't read mapcount for migration entry
Mathias Krause <[email protected]>
iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
Kishon Vijay Abraham I <[email protected]>
phy: ti: Fix missing sentinel for clk_div_table
Samuel Thibault <[email protected]>
speakup-dectlk: Restore pitch setting
Johan Hovold <[email protected]>
USB: serial: cp210x: add CPI Bulk Coin Recycler id
Johan Hovold <[email protected]>
USB: serial: cp210x: add NCR Retail IO box id
Stephan Brunner <[email protected]>
USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
Pawel Dembicki <[email protected]>
USB: serial: option: add ZTE MF286D modem
Cameron Williams <[email protected]>
USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
Jann Horn <[email protected]>
usb: raw-gadget: fix handling of dual-direction-capable endpoints
Pavel Hofman <[email protected]>
usb: gadget: f_uac2: Define specific wTerminalType
Greg Kroah-Hartman <[email protected]>
usb: gadget: rndis: check size of RNDIS_MSG_SET command
Szymon Heidrich <[email protected]>
USB: gadget: validate interface OS descriptor requests
Adam Ford <[email protected]>
usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
Udipto Goswami <[email protected]>
usb: dwc3: gadget: Prevent core from processing stale TRBs
Sean Anderson <[email protected]>
usb: ulpi: Call of_node_put correctly
Sean Anderson <[email protected]>
usb: ulpi: Move of_node_put to ulpi_dev_release
Jann Horn <[email protected]>
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
Greg Kroah-Hartman <[email protected]>
Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
Fabrice Gasnier <[email protected]>
usb: dwc2: drd: fix soft connect when gadget is unconfigured
Jonas Malaco <[email protected]>
eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
TATSUKAWA KOSUKE (立川 江介) <[email protected]>
n_tty: wake up poll(POLLRDNORM) on receiving data
Jakob Koschel <[email protected]>
vt_ioctl: add array_index_nospec to VT_ACTIVATE
Jakob Koschel <[email protected]>
vt_ioctl: fix array_index_nospec in vt_setactivate
Vladimir Oltean <[email protected]>
net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
Colin Foster <[email protected]>
net: mscc: ocelot: fix mutex lock error during ethtool stats read
Dave Ertman <[email protected]>
ice: Avoid RTNL lock when re-creating auxiliary device
Dave Ertman <[email protected]>
ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
Jesse Brandeburg <[email protected]>
ice: fix IPIP and SIT TSO offload
Dan Carpenter <[email protected]>
ice: fix an error code in ice_cfg_phy_fec()
Robert-Ionut Alexa <[email protected]>
dpaa2-eth: unregister the netdev before disconnecting from the PHY
Kishen Maloor <[email protected]>
mptcp: netlink: process IPv6 addrs in creating listening sockets
Yang Wang <[email protected]>
drm/amd/pm: fix hwmon node of power1_label create issue
Vladimir Oltean <[email protected]>
net: dsa: fix panic when DSA master device unbinds on shutdown
Raju Rangoju <[email protected]>
net: amd-xgbe: disable interrupts during pci removal
Jon Maloy <[email protected]>
tipc: rate limit warning for received illegal binding update
Joel Stanley <[email protected]>
net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
Eric Dumazet <[email protected]>
veth: fix races around rq->rx_notify_masked
Antoine Tenart <[email protected]>
net: fix a memleak when uncloning an skb dst and its metadata
Antoine Tenart <[email protected]>
net: do not keep the dst cache when uncloning an skb dst and its metadata
Louis Peens <[email protected]>
nfp: flower: fix ida_idx not being released
Eric Dumazet <[email protected]>
ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
Cai Huoqing <[email protected]>
net: ethernet: litex: Add the dependency on HAS_IOMEM
Sukadev Bhattiprolu <[email protected]>
ibmvnic: don't release napi in __ibmvnic_open()
Vladimir Oltean <[email protected]>
net: dsa: lantiq_gswip: don't use devres for mdiobus
Vladimir Oltean <[email protected]>
net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
Vladimir Oltean <[email protected]>
net: dsa: seville: register the mdiobus under devres
Colin Foster <[email protected]>
net: dsa: ocelot: seville: utilize of_mdiobus_register
Vladimir Oltean <[email protected]>
net: dsa: felix: don't use devres for mdiobus
Vladimir Oltean <[email protected]>
net: dsa: bcm_sf2: don't use devres for mdiobus
Vladimir Oltean <[email protected]>
net: dsa: ar9331: register the mdiobus under devres
Vladimir Oltean <[email protected]>
net: dsa: mv88e6xxx: don't use devres for mdiobus
Mahesh Bandewar <[email protected]>
bonding: pair enable_port with slave_arr_updates
Tao Liu <[email protected]>
gve: Recording rx queue before sending to napi
NeilBrown <[email protected]>
SUNRPC: lock against ->sock changing during sysfs read
Helge Deller <[email protected]>
fbcon: Avoid 'cap' set but not used warning
Niklas Cassel <[email protected]>
gpio: sifive: use the correct register to read output values
Andy Shevchenko <[email protected]>
gpiolib: Never return internal error codes to user space
Rafael J. Wysocki <[email protected]>
ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
Ilya Leoshkevich <[email protected]>
s390/module: fix building test_modules_helpers.o with clang
Christoph Niedermaier <[email protected]>
drm/panel: simple: Assign data from panel_dpi_probe() correctly
Vladimir Oltean <[email protected]>
net: mscc: ocelot: fix all IP traffic getting trapped to CPU with PTP over IP
Eric Dumazet <[email protected]>
tcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case
Samuel Mendoza-Jonas <[email protected]>
ixgbevf: Require large buffers for build_skb on 82599VF
Lutz Koschorreck <[email protected]>
arm64: dts: meson-sm1-odroid: fix boot loop after reboot
Dongjin Kim <[email protected]>
arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
Lutz Koschorreck <[email protected]>
arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
Dongjin Kim <[email protected]>
arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
Florian Westphal <[email protected]>
netfilter: ctnetlink: disable helper autoassign
Florian Westphal <[email protected]>
netfilter: nft_payload: don't allow th access for fragments
Steen Hegelund <[email protected]>
net: sparx5: Fix get_stat64 crash in tcpdump
Mathias Krause <[email protected]>
misc: fastrpc: avoid double fput() on failed usercopy
Dave Stevenson <[email protected]>
drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
Trond Myklebust <[email protected]>
NFS: Avoid duplicate uncached readdir calls on eof
[email protected] <[email protected]>
NFS: Don't skip directory entries when doing uncached readdir
[email protected] <[email protected]>
NFS: Don't overfill uncached readdir pages
Geert Uytterhoeven <[email protected]>
gpio: aggregator: Fix calling into sleeping GPIO controllers
Liu Ying <[email protected]>
phy: dphy: Correct clk_pre parameter
Mark Brown <[email protected]>
arm64: Enable Cortex-A510 erratum 2051678 by default
Udipto Goswami <[email protected]>
usb: f_fs: Fix use-after-free for epfile
Martin Kepplinger <[email protected]>
arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
Rob Herring <[email protected]>
ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
Dan Carpenter <[email protected]>
phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
Robert Hancock <[email protected]>
phy: xilinx: zynqmp: Fix bus width setting for SGMII
Fabio Estevam <[email protected]>
ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
Uwe Kleine-König <[email protected]>
staging: fbtft: Fix error path in fbtft_driver_module_init()
Jens Wiklander <[email protected]>
optee: add error checks in optee_ffa_do_call_with_arg()
Jerome Forissier <[email protected]>
tee: optee: do not check memref size on return from Secure World
Al Cooper <[email protected]>
phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
Martin Blumenstingl <[email protected]>
ARM: dts: meson8b: Fix the UART device-tree schema validation
Martin Blumenstingl <[email protected]>
ARM: dts: meson8: Fix the UART device-tree schema validation
Martin Blumenstingl <[email protected]>
ARM: dts: meson: Fix the UART compatible strings
Tony Lindgren <[email protected]>
ARM: dts: Fix timer regression for beagleboard revision c
Ville Syrjälä <[email protected]>
drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
Ville Syrjälä <[email protected]>
drm/i915: Populate pipe dbuf slices more accurately during readout
Ville Syrjälä <[email protected]>
drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
Ville Syrjälä <[email protected]>
drm/i915: Disable DRRS on IVB/HSW port != A
Brian Norris <[email protected]>
drm/rockchip: vop: Correct RK3399 VOP register fields
Alex Deucher <[email protected]>
drm/amdgpu/display: change pipe policy for DCN 2.0
Rafael J. Wysocki <[email protected]>
PM: s2idle: ACPI: Fix wakeup interrupts handling
Robin Murphy <[email protected]>
ACPI/IORT: Check node revision for PMCG resources
Sagi Grimberg <[email protected]>
nvme-tcp: fix bogus request completion when failing to send AER
Krzysztof Kozlowski <[email protected]>
ARM: socfpga: fix missing RESET_CONTROLLER
Linus Walleij <[email protected]>
ARM: dts: Fix boot regression on Skomer
Fabio Estevam <[email protected]>
ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
Bjorn Helgaas <[email protected]>
Revert "PCI/portdrv: Do not setup up IRQs if there are no users"
Andreas Gruenbacher <[email protected]>
Revert "gfs2: check context in gfs2_glock_put"
Bob Peterson <[email protected]>
gfs2: Fix gfs2_release for non-writers regression
Changbin Du <[email protected]>
riscv: eliminate unreliable __builtin_frame_address(1)
Palmer Dabbelt <[email protected]>
riscv/mm: Add XIP_FIXUP for phys_ram_base
Pingfan Liu <[email protected]>
riscv: cpu-hotplug: clear cpu from numa map when teardown
Myrtle Shah <[email protected]>
riscv: Fix XIP_FIXUP_FLASH_OFFSET
Aurelien Jarno <[email protected]>
riscv: fix build with binutils 2.38
Jim Mattson <[email protected]>
KVM: x86: Report deprecated x87 features in supported CPUID
Sean Christopherson <[email protected]>
KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
Sean Christopherson <[email protected]>
KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
Vitaly Kuznetsov <[email protected]>
KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
Vitaly Kuznetsov <[email protected]>
KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
Hou Wenlong <[email protected]>
KVM: eventfd: Fix false positive RCU usage warning
Marco Elver <[email protected]>
kasan: test: fix compatibility with FORTIFY_SOURCE
James Morse <[email protected]>
arm64: cpufeature: List early Cortex-A510 parts as having broken dbm
Anshuman Khandual <[email protected]>
arm64: errata: Add detection for TRBE trace data corruption
Anshuman Khandual <[email protected]>
arm64: errata: Add detection for TRBE invalid prohibited states
Anshuman Khandual <[email protected]>
arm64: errata: Add detection for TRBE ignored system register writes
Jisheng Zhang <[email protected]>
net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
Thomas Bogendoerfer <[email protected]>
MIPS: Fix build error due to PTR used in more places
Wu Zheng <[email protected]>
nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
James Clark <[email protected]>
perf: Always wake the parent event
Amelie Delaunay <[email protected]>
usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
Alex Deucher <[email protected]>
drm/amdgpu/display: use msleep rather than udelay for long delays
Alex Deucher <[email protected]>
drm/amdgpu/display: adjust msleep limit in dp_wait_for_training_aux_rd_interval
Zhan Liu <[email protected]>
drm/amd/display: Correct MPC split policy for DCN301
Amadeusz Sławiński <[email protected]>
PM: hibernate: Remove register_nosave_region_late()
Jisheng Zhang <[email protected]>
net: stmmac: reduce unnecessary wakeups from eee sw timer
Tong Zhang <[email protected]>
scsi: myrs: Fix crash in error case
Kiwoong Kim <[email protected]>
scsi: ufs: Treat link loss as fatal error
Kiwoong Kim <[email protected]>
scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
John Garry <[email protected]>
scsi: pm8001: Fix bogus FW crash for maxcpus=1
Saurav Kashyap <[email protected]>
scsi: qedf: Change context reset messages to ratelimited
Saurav Kashyap <[email protected]>
scsi: qedf: Fix refcount issue when LOGO is received during TMF
Saurav Kashyap <[email protected]>
scsi: qedf: Add stag_work to all the vports
Xiaoke Wang <[email protected]>
scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
ZouMingzhe <[email protected]>
scsi: target: iscsi: Make sure the np under each tpg is unique
Anshuman Khandual <[email protected]>
arm64: errata: Update ARM64_ERRATUM_[2119858|2224489] with Cortex-X2 ranges
Anshuman Khandual <[email protected]>
arm64: Add Cortex-X2 CPU part definition
Ilya Leoshkevich <[email protected]>
s390/module: test loading modules with a lot of relocations
Christophe Leroy <[email protected]>
powerpc/fixmap: Fix VM debug warning on unmap
Victor Nogueira <[email protected]>
net: sched: Clarify error message when qdisc kind is unknown
Raymond Jay Golo <[email protected]>
drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
Padmanabha Srinivasaiah <[email protected]>
drm/vc4: Fix deadlock on DSI device attach error
Peter Zijlstra <[email protected]>
sched: Avoid double preemption in __cond_resched_*lock*()
Andi Kleen <[email protected]>
x86/perf: Avoid warning for Arch LBR without XSAVE
Stephane Eranian <[email protected]>
perf/x86/rapl: fix AMD event handling
Sander Vanheule <[email protected]>
irqchip/realtek-rtl: Service all pending interrupts
Anna Schumaker <[email protected]>
sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
Xiyu Yang <[email protected]>
net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
Olga Kornievskaia <[email protected]>
SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
Olga Kornievskaia <[email protected]>
NFSv4 handle port presence in fs_location server string
Olga Kornievskaia <[email protected]>
NFSv4 expose nfs_parse_server_name function
Olga Kornievskaia <[email protected]>
NFSv4.1 query for fs_location attr on a new file system
Olga Kornievskaia <[email protected]>
NFSv4 store server support for fs_location attribute
Olga Kornievskaia <[email protected]>
NFSv4 remove zero number of fs_locations entries error check
Trond Myklebust <[email protected]>
NFSv4.1: Fix uninitialised variable in devicenotify
Xiaoke Wang <[email protected]>
nfs: nfs4clinet: check the return value of kstrdup()
Olga Kornievskaia <[email protected]>
NFSv4 only print the label when its queried
NeilBrown <[email protected]>
NFS: change nfs_access_get_cached to only report the mask
Chuck Lever <[email protected]>
NFSD: Fix the behavior of READ near OFFSET_MAX
Chuck Lever <[email protected]>
NFSD: Fix offset type in I/O trace points
Chuck Lever <[email protected]>
NFSD: Clamp WRITE offsets
Chuck Lever <[email protected]>
NFSD: Fix ia_size underflow
Chuck Lever <[email protected]>
NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
Trond Myklebust <[email protected]>
NFS: Fix initialisation of nfs_client cl_flags field
Pavel Parkhomenko <[email protected]>
net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
Pavel Parkhomenko <[email protected]>
net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
Oliver Hartkopp <[email protected]>
can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
Oliver Hartkopp <[email protected]>
can: isotp: fix potential CAN frame reception race in isotp_rcv()
Jiasheng Jiang <[email protected]>
mmc: sh_mmcif: Check for null res pointer
Andrey Skvortsov <[email protected]>
mmc: core: Wait for command setting 'Power Off Notification' bit to complete
Jiasheng Jiang <[email protected]>
mmc: sdhci-of-esdhc: Check for error num after setting mask
Stefan Berger <[email protected]>
ima: Do not print policy rule with inactive LSM labels
Roberto Sassu <[email protected]>
ima: Allow template selection with ima_template[_fmt]= after ima_hash=
Stefan Berger <[email protected]>
ima: Remove ima_policy file before directory
Eric Biggers <[email protected]>
ima: fix reference leak in asymmetric_verify()
Paul Moore <[email protected]>
audit: don't deref the syscall args when checking the openat2 open_how::flags
Xiaoke Wang <[email protected]>
integrity: check the return value of audit_log_start()
-------------
Diffstat:
.../ABI/testing/sysfs-driver-aspeed-uart-routing | 6 +-
Documentation/arm64/silicon-errata.rst | 12 ++
.../devicetree/bindings/arm/omap/omap.txt | 3 +
Makefile | 4 +-
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx23-evk.dts | 1 -
arch/arm/boot/dts/imx6qdl-udoo.dtsi | 5 +-
arch/arm/boot/dts/imx7ulp.dtsi | 2 +-
arch/arm/boot/dts/meson.dtsi | 8 +-
arch/arm/boot/dts/meson8.dtsi | 24 +--
arch/arm/boot/dts/meson8b.dtsi | 24 +--
arch/arm/boot/dts/omap3-beagle-ab4.dts | 47 ++++++
arch/arm/boot/dts/omap3-beagle.dts | 33 ----
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts | 4 -
arch/arm/mach-socfpga/Kconfig | 2 +
arch/arm64/Kconfig | 82 +++++++++-
.../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 4 +-
.../boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 2 +-
arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 10 +-
arch/arm64/include/asm/cputype.h | 2 +
arch/arm64/kernel/cpu_errata.c | 29 ++++
arch/arm64/kernel/cpufeature.c | 3 +
arch/arm64/tools/cpucaps | 3 +
arch/mips/cavium-octeon/octeon-memcpy.S | 2 +-
arch/mips/include/asm/asm.h | 4 +-
arch/mips/include/asm/ftrace.h | 4 +-
arch/mips/include/asm/r4kcache.h | 4 +-
arch/mips/include/asm/unaligned-emul.h | 176 ++++++++++-----------
arch/mips/kernel/mips-r2-to-r6-emul.c | 104 ++++++------
arch/mips/kernel/r2300_fpu.S | 6 +-
arch/mips/kernel/r4k_fpu.S | 2 +-
arch/mips/kernel/relocate_kernel.S | 22 +--
arch/mips/kernel/scall32-o32.S | 10 +-
arch/mips/kernel/scall64-n32.S | 2 +-
arch/mips/kernel/scall64-n64.S | 2 +-
arch/mips/kernel/scall64-o32.S | 10 +-
arch/mips/kernel/syscall.c | 8 +-
arch/mips/lib/csum_partial.S | 4 +-
arch/mips/lib/memcpy.S | 4 +-
arch/mips/lib/memset.S | 2 +-
arch/mips/lib/strncpy_user.S | 4 +-
arch/mips/lib/strnlen_user.S | 2 +-
arch/powerpc/include/asm/book3s/32/pgtable.h | 1 +
arch/powerpc/include/asm/book3s/64/pgtable.h | 2 +
arch/powerpc/include/asm/fixmap.h | 6 +-
arch/powerpc/include/asm/nohash/32/pgtable.h | 1 +
arch/powerpc/include/asm/nohash/64/pgtable.h | 1 +
arch/powerpc/mm/pgtable.c | 9 ++
arch/riscv/Makefile | 6 +
arch/riscv/kernel/cpu-hotplug.c | 2 +
arch/riscv/kernel/head.S | 11 +-
arch/riscv/kernel/stacktrace.c | 9 +-
arch/riscv/mm/init.c | 1 +
arch/s390/Kconfig | 15 ++
arch/s390/lib/Makefile | 3 +
arch/s390/lib/test_modules.c | 32 ++++
arch/s390/lib/test_modules.h | 53 +++++++
arch/s390/lib/test_modules_helpers.c | 13 ++
arch/x86/events/intel/lbr.c | 3 +
arch/x86/events/rapl.c | 9 +-
arch/x86/kernel/cpu/sgx/encl.c | 2 +
arch/x86/kvm/cpuid.c | 13 +-
arch/x86/kvm/svm/svm.c | 16 +-
arch/x86/kvm/vmx/evmcs.c | 1 +
arch/x86/kvm/vmx/evmcs.h | 4 +-
arch/x86/kvm/vmx/vmx.c | 25 +++
drivers/accessibility/speakup/speakup_dectlk.c | 1 +
drivers/acpi/arm64/iort.c | 14 +-
drivers/acpi/ec.c | 10 ++
drivers/acpi/sleep.c | 15 +-
drivers/base/power/wakeup.c | 41 ++++-
drivers/bus/mhi/pci_generic.c | 2 +
drivers/clocksource/timer-ti-dm-systimer.c | 2 +-
drivers/gpio/gpio-aggregator.c | 18 ++-
drivers/gpio/gpio-sifive.c | 2 +-
drivers/gpio/gpiolib-cdev.c | 6 +-
drivers/gpio/gpiolib-sysfs.c | 7 +-
drivers/gpio/gpiolib.h | 12 ++
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 6 +-
.../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 2 +-
.../drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 3 +-
drivers/gpu/drm/bridge/nwl-dsi.c | 12 +-
drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++
drivers/gpu/drm/i915/display/intel_display.c | 1 +
drivers/gpu/drm/i915/display/intel_drrs.c | 8 +
drivers/gpu/drm/i915/intel_pm.c | 143 ++++++++++++++---
drivers/gpu/drm/i915/intel_pm.h | 1 +
drivers/gpu/drm/panel/panel-simple.c | 1 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 8 +-
drivers/gpu/drm/vc4/vc4_dsi.c | 14 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +
drivers/iio/industrialio-buffer.c | 14 +-
drivers/iommu/iommu.c | 9 +-
drivers/irqchip/irq-realtek-rtl.c | 8 +-
drivers/misc/eeprom/ee1004.c | 3 +
drivers/misc/fastrpc.c | 9 +-
drivers/mmc/core/sd.c | 8 +-
drivers/mmc/host/sdhci-of-esdhc.c | 8 +-
drivers/mmc/host/sh_mmcif.c | 3 +
drivers/net/bonding/bond_3ad.c | 3 +-
drivers/net/dsa/bcm_sf2.c | 7 +-
drivers/net/dsa/lantiq_gswip.c | 14 +-
drivers/net/dsa/mt7530.c | 2 +-
drivers/net/dsa/mv88e6xxx/chip.c | 15 +-
drivers/net/dsa/ocelot/felix_vsc9959.c | 4 +-
drivers/net/dsa/ocelot/seville_vsc9953.c | 6 +-
drivers/net/dsa/qca/ar9331.c | 3 +-
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 3 +
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 4 +-
drivers/net/ethernet/google/gve/gve_rx.c | 1 +
drivers/net/ethernet/ibm/ibmvnic.c | 13 +-
drivers/net/ethernet/intel/ice/ice.h | 3 +-
drivers/net/ethernet/intel/ice/ice_common.c | 3 +-
drivers/net/ethernet/intel/ice/ice_lag.c | 34 +++-
drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h | 1 +
drivers/net/ethernet/intel/ice/ice_main.c | 28 +++-
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 13 +-
drivers/net/ethernet/litex/Kconfig | 2 +-
.../net/ethernet/microchip/sparx5/sparx5_ethtool.c | 2 +-
drivers/net/ethernet/mscc/ocelot.c | 19 ++-
.../ethernet/netronome/nfp/flower/tunnel_conf.c | 12 +-
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 13 +-
drivers/net/mdio/mdio-aspeed.c | 1 +
drivers/net/phy/marvell.c | 17 +-
drivers/net/usb/ax88179_178a.c | 68 ++++----
drivers/net/veth.c | 13 +-
drivers/nvme/host/pci.c | 3 +-
drivers/nvme/host/tcp.c | 10 +-
drivers/pci/pcie/portdrv_core.c | 47 ++----
drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c | 3 +-
drivers/phy/broadcom/Kconfig | 3 +-
drivers/phy/phy-core-mipi-dphy.c | 4 +-
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 3 +-
drivers/phy/st/phy-stm32-usbphyc.c | 2 +-
drivers/phy/ti/phy-j721e-wiz.c | 1 +
drivers/phy/xilinx/phy-zynqmp.c | 11 +-
drivers/s390/cio/device.c | 2 +-
drivers/scsi/lpfc/lpfc.h | 13 +-
drivers/scsi/lpfc/lpfc_attr.c | 4 +-
drivers/scsi/lpfc/lpfc_init.c | 2 +-
drivers/scsi/lpfc/lpfc_sli.c | 8 +-
drivers/scsi/myrs.c | 3 +-
drivers/scsi/pm8001/pm80xx_hwi.c | 16 +-
drivers/scsi/pm8001/pm80xx_hwi.h | 6 +-
drivers/scsi/qedf/qedf_io.c | 1 +
drivers/scsi/qedf/qedf_main.c | 7 +-
drivers/scsi/ufs/ufshcd-pltfrm.c | 7 +
drivers/scsi/ufs/ufshcd.c | 9 +-
drivers/scsi/ufs/ufshci.h | 3 +-
drivers/staging/fbtft/fbtft.h | 5 +-
drivers/target/iscsi/iscsi_target_tpg.c | 3 +
drivers/tee/optee/ffa_abi.c | 15 +-
drivers/tee/optee/smc_abi.c | 10 --
drivers/tty/n_tty.c | 4 +-
drivers/tty/vt/vt_ioctl.c | 3 +-
drivers/usb/common/ulpi.c | 10 +-
drivers/usb/dwc2/gadget.c | 2 +-
drivers/usb/dwc3/gadget.c | 13 ++
drivers/usb/gadget/composite.c | 3 +
drivers/usb/gadget/function/f_fs.c | 56 +++++--
drivers/usb/gadget/function/f_uac2.c | 4 +-
drivers/usb/gadget/function/rndis.c | 9 +-
drivers/usb/gadget/legacy/raw_gadget.c | 2 +-
drivers/usb/gadget/udc/renesas_usb3.c | 2 +
drivers/usb/serial/ch341.c | 1 +
drivers/usb/serial/cp210x.c | 2 +
drivers/usb/serial/ftdi_sio.c | 3 +
drivers/usb/serial/ftdi_sio_ids.h | 3 +
drivers/usb/serial/option.c | 2 +
drivers/video/fbdev/core/fbcon.c | 7 +-
fs/gfs2/file.c | 7 +-
fs/gfs2/glock.c | 3 -
fs/nfs/callback.h | 2 +-
fs/nfs/callback_proc.c | 2 +-
fs/nfs/callback_xdr.c | 18 +--
fs/nfs/client.c | 9 +-
fs/nfs/dir.c | 44 ++++--
fs/nfs/nfs4_fs.h | 12 +-
fs/nfs/nfs4client.c | 5 +-
fs/nfs/nfs4namespace.c | 19 ++-
fs/nfs/nfs4proc.c | 96 ++++++++---
fs/nfs/nfs4state.c | 6 +-
fs/nfs/nfs4xdr.c | 9 +-
fs/nfsd/nfs3proc.c | 13 +-
fs/nfsd/nfs3xdr.c | 2 +-
fs/nfsd/nfs4proc.c | 13 +-
fs/nfsd/nfs4xdr.c | 8 +-
fs/nfsd/trace.h | 14 +-
fs/nfsd/vfs.c | 4 +
fs/proc/task_mmu.c | 40 +++--
include/linux/memcontrol.h | 5 +-
include/linux/nfs_fs.h | 5 +-
include/linux/nfs_fs_sb.h | 2 +-
include/linux/nfs_xdr.h | 1 +
include/linux/suspend.h | 15 +-
include/net/dst_metadata.h | 14 +-
include/uapi/linux/netfilter/nf_conntrack_common.h | 2 +-
kernel/auditsc.c | 2 +-
kernel/events/core.c | 16 +-
kernel/power/main.c | 5 +-
kernel/power/process.c | 2 +-
kernel/power/snapshot.c | 21 +--
kernel/power/suspend.c | 2 -
kernel/sched/core.c | 23 ++-
kernel/seccomp.c | 10 ++
kernel/signal.c | 5 +-
lib/test_kasan.c | 5 +
mm/memcontrol.c | 10 +-
mm/vmscan.c | 4 +-
net/can/isotp.c | 29 +++-
net/dsa/dsa2.c | 25 +--
net/ipv4/ipmr.c | 2 +
net/ipv4/tcp.c | 33 ++--
net/ipv6/ip6mr.c | 2 +
net/mptcp/pm_netlink.c | 8 +-
net/netfilter/nf_conntrack_netlink.c | 3 +-
net/netfilter/nft_exthdr.c | 2 +-
net/netfilter/nft_payload.c | 9 +-
net/sched/sch_api.c | 2 +-
net/sunrpc/clnt.c | 5 +-
net/sunrpc/sysfs.c | 46 +++---
net/sunrpc/xprtsock.c | 7 +-
net/tipc/name_distr.c | 2 +-
scripts/Makefile.extrawarn | 1 +
scripts/kconfig/confdata.c | 12 +-
security/integrity/digsig_asymmetric.c | 15 +-
security/integrity/ima/ima_fs.c | 2 +-
security/integrity/ima/ima_policy.c | 8 +
security/integrity/ima/ima_template.c | 10 +-
security/integrity/integrity_audit.c | 2 +
virt/kvm/eventfd.c | 8 +-
234 files changed, 1811 insertions(+), 860 deletions(-)
From: Jerome Forissier <[email protected]>
[ Upstream commit abc8dc34d1f6e34ed346c6e3fc554127e421b769 ]
Commit c650b8dc7a79 ("tee: optee: do not check memref size on return
from Secure World") was mistakenly lost in commit 4602c5842f64 ("optee:
refactor driver with internal callbacks"). Remove the unwanted code
again.
Fixes: 4602c5842f64 ("optee: refactor driver with internal callbacks")
Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/tee/optee/smc_abi.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/tee/optee/smc_abi.c b/drivers/tee/optee/smc_abi.c
index cf2e3293567d9..09e7ec673bb6b 100644
--- a/drivers/tee/optee/smc_abi.c
+++ b/drivers/tee/optee/smc_abi.c
@@ -71,16 +71,6 @@ static int from_msg_param_tmp_mem(struct tee_param *p, u32 attr,
p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa;
p->u.memref.shm = shm;
- /* Check that the memref is covered by the shm object */
- if (p->u.memref.size) {
- size_t o = p->u.memref.shm_offs +
- p->u.memref.size - 1;
-
- rc = tee_shm_get_pa(shm, o, NULL);
- if (rc)
- return rc;
- }
-
return 0;
}
--
2.34.1
From: Sagi Grimberg <[email protected]>
commit 63573807b27e0faf8065a28b1bbe1cbfb23c0130 upstream.
AER is not backed by a real request, hence we should not incorrectly
assume that when failing to send a nvme command, it is a normal request
but rather check if this is an aer and if so complete the aer (similar
to the normal completion path).
Cc: [email protected]
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/nvme/host/tcp.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -913,7 +913,15 @@ static inline void nvme_tcp_done_send_re
static void nvme_tcp_fail_request(struct nvme_tcp_request *req)
{
- nvme_tcp_end_request(blk_mq_rq_from_pdu(req), NVME_SC_HOST_PATH_ERROR);
+ if (nvme_tcp_async_req(req)) {
+ union nvme_result res = {};
+
+ nvme_complete_async_event(&req->queue->ctrl->ctrl,
+ cpu_to_le16(NVME_SC_HOST_PATH_ERROR), &res);
+ } else {
+ nvme_tcp_end_request(blk_mq_rq_from_pdu(req),
+ NVME_SC_HOST_PATH_ERROR);
+ }
}
static int nvme_tcp_try_send_data(struct nvme_tcp_request *req)
From: Uwe Kleine-König <[email protected]>
[ Upstream commit 426aca16e903b387a0b0001d62207a745c67cfd3 ]
If registering the platform driver fails, the function must not return
without undoing the spi driver registration first.
Fixes: c296d5f9957c ("staging: fbtft: core support")
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/staging/fbtft/fbtft.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
index 6869f3603b0e6..9a6c906820f22 100644
--- a/drivers/staging/fbtft/fbtft.h
+++ b/drivers/staging/fbtft/fbtft.h
@@ -334,7 +334,10 @@ static int __init fbtft_driver_module_init(void) \
ret = spi_register_driver(&fbtft_driver_spi_driver); \
if (ret < 0) \
return ret; \
- return platform_driver_register(&fbtft_driver_platform_driver); \
+ ret = platform_driver_register(&fbtft_driver_platform_driver); \
+ if (ret < 0) \
+ spi_unregister_driver(&fbtft_driver_spi_driver); \
+ return ret; \
} \
\
static void __exit fbtft_driver_module_exit(void) \
--
2.34.1
From: Bob Peterson <[email protected]>
commit d3add1a9519dcacd6e644ecac741c56cf18b67f5 upstream.
When a file is opened for writing, the vfs code (do_dentry_open)
calls get_write_access for the inode, thus incrementing the inode's write
count. That writer normally then creates a multi-block reservation for
the inode (i_res) that can be re-used by other writers, which speeds up
writes for applications that stupidly loop on open/write/close.
When the writes are all done, the multi-block reservation should be
deleted when the file is closed by the last "writer."
Commit 0ec9b9ea4f83 broke that concept when it moved the call to
gfs2_rs_delete before the check for FMODE_WRITE. Non-writers have no
business removing the multi-block reservations of writers. In fact, if
someone opens and closes the file for RO while a writer has a
multi-block reservation, the RO closer will delete the reservation
midway through the write, and this results in:
kernel BUG at fs/gfs2/rgrp.c:677! (or thereabouts) which is:
BUG_ON(rs->rs_requested); from function gfs2_rs_deltree.
This patch moves the check back inside the check for FMODE_WRITE.
Fixes: 0ec9b9ea4f83 ("gfs2: Check for active reservation in gfs2_release")
Cc: [email protected] # v5.12+
Signed-off-by: Bob Peterson <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/gfs2/file.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -704,10 +704,11 @@ static int gfs2_release(struct inode *in
kfree(file->private_data);
file->private_data = NULL;
- if (gfs2_rs_active(&ip->i_res))
- gfs2_rs_delete(ip, &inode->i_writecount);
- if (file->f_mode & FMODE_WRITE)
+ if (file->f_mode & FMODE_WRITE) {
+ if (gfs2_rs_active(&ip->i_res))
+ gfs2_rs_delete(ip, &inode->i_writecount);
gfs2_qa_put(ip);
+ }
return 0;
}
From: Liu Ying <[email protected]>
[ Upstream commit 9a8406ba1a9a2965c27e0db1d7753471d12ee9ff ]
The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE
parameter's unit is Unit Interval(UI) and the minimum value is 8. Also,
kernel doc of the 'clk_pre' member of struct phy_configure_opts_mipi_dphy
mentions that it should be in UI. However, the dphy core driver wrongly
sets 'clk_pre' to 8000, which seems to hint that it's in picoseconds.
So, let's fix the dphy core driver to correctly reflect the T-CLK-PRE
parameter's minimum value according to the D-PHY specification.
I'm assuming that all impacted custom drivers shall program values in
TxByteClkHS cycles into hardware for the T-CLK-PRE parameter. The D-PHY
specification mentions that the frequency of TxByteClkHS is exactly 1/8
the High-Speed(HS) bit rate(each HS bit consumes one UI). So, relevant
custom driver code is changed to program those values as
DIV_ROUND_UP(cfg->clk_pre, BITS_PER_BYTE), then.
Note that I've only tested the patch with RM67191 DSI panel on i.MX8mq EVK.
Help is needed to test with other i.MX8mq, Meson and Rockchip platforms,
as I don't have the hardwares.
Fixes: 2ed869990e14 ("phy: Add MIPI D-PHY configuration options")
Tested-by: Liu Ying <[email protected]> # RM67191 DSI panel on i.MX8mq EVK
Reviewed-by: Andrzej Hajda <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]> # for phy-meson-axg-mipi-dphy.c
Tested-by: Neil Armstrong <[email protected]> # for phy-meson-axg-mipi-dphy.c
Tested-by: Guido Günther <[email protected]> # Librem 5 (imx8mq) with it's rather picky panel
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Liu Ying <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/gpu/drm/bridge/nwl-dsi.c | 12 +++++-------
drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c | 3 ++-
drivers/phy/phy-core-mipi-dphy.c | 4 ++--
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 3 ++-
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/bridge/nwl-dsi.c b/drivers/gpu/drm/bridge/nwl-dsi.c
index a7389a0facfb4..af07eeb47ca02 100644
--- a/drivers/gpu/drm/bridge/nwl-dsi.c
+++ b/drivers/gpu/drm/bridge/nwl-dsi.c
@@ -7,6 +7,7 @@
*/
#include <linux/bitfield.h>
+#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/irq.h>
#include <linux/math64.h>
@@ -196,12 +197,9 @@ static u32 ps2bc(struct nwl_dsi *dsi, unsigned long long ps)
/*
* ui2bc - UI time periods to byte clock cycles
*/
-static u32 ui2bc(struct nwl_dsi *dsi, unsigned long long ui)
+static u32 ui2bc(unsigned int ui)
{
- u32 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format);
-
- return DIV64_U64_ROUND_UP(ui * dsi->lanes,
- dsi->mode.clock * 1000 * bpp);
+ return DIV_ROUND_UP(ui, BITS_PER_BYTE);
}
/*
@@ -232,12 +230,12 @@ static int nwl_dsi_config_host(struct nwl_dsi *dsi)
}
/* values in byte clock cycles */
- cycles = ui2bc(dsi, cfg->clk_pre);
+ cycles = ui2bc(cfg->clk_pre);
DRM_DEV_DEBUG_DRIVER(dsi->dev, "cfg_t_pre: 0x%x\n", cycles);
nwl_dsi_write(dsi, NWL_DSI_CFG_T_PRE, cycles);
cycles = ps2bc(dsi, cfg->lpx + cfg->clk_prepare + cfg->clk_zero);
DRM_DEV_DEBUG_DRIVER(dsi->dev, "cfg_tx_gap (pre): 0x%x\n", cycles);
- cycles += ui2bc(dsi, cfg->clk_pre);
+ cycles += ui2bc(cfg->clk_pre);
DRM_DEV_DEBUG_DRIVER(dsi->dev, "cfg_t_post: 0x%x\n", cycles);
nwl_dsi_write(dsi, NWL_DSI_CFG_T_POST, cycles);
cycles = ps2bc(dsi, cfg->hs_exit);
diff --git a/drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c b/drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c
index cd2332bf0e31a..fdbd64c03e12b 100644
--- a/drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c
+++ b/drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c
@@ -9,6 +9,7 @@
#include <linux/bitfield.h>
#include <linux/bitops.h>
+#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
@@ -250,7 +251,7 @@ static int phy_meson_axg_mipi_dphy_power_on(struct phy *phy)
(DIV_ROUND_UP(priv->config.clk_zero, temp) << 16) |
(DIV_ROUND_UP(priv->config.clk_prepare, temp) << 24));
regmap_write(priv->regmap, MIPI_DSI_CLK_TIM1,
- DIV_ROUND_UP(priv->config.clk_pre, temp));
+ DIV_ROUND_UP(priv->config.clk_pre, BITS_PER_BYTE));
regmap_write(priv->regmap, MIPI_DSI_HS_TIM,
DIV_ROUND_UP(priv->config.hs_exit, temp) |
diff --git a/drivers/phy/phy-core-mipi-dphy.c b/drivers/phy/phy-core-mipi-dphy.c
index 288c9c67aa748..ccb4045685cdd 100644
--- a/drivers/phy/phy-core-mipi-dphy.c
+++ b/drivers/phy/phy-core-mipi-dphy.c
@@ -36,7 +36,7 @@ int phy_mipi_dphy_get_default_config(unsigned long pixel_clock,
cfg->clk_miss = 0;
cfg->clk_post = 60000 + 52 * ui;
- cfg->clk_pre = 8000;
+ cfg->clk_pre = 8;
cfg->clk_prepare = 38000;
cfg->clk_settle = 95000;
cfg->clk_term_en = 0;
@@ -97,7 +97,7 @@ int phy_mipi_dphy_config_validate(struct phy_configure_opts_mipi_dphy *cfg)
if (cfg->clk_post < (60000 + 52 * ui))
return -EINVAL;
- if (cfg->clk_pre < 8000)
+ if (cfg->clk_pre < 8)
return -EINVAL;
if (cfg->clk_prepare < 38000 || cfg->clk_prepare > 95000)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
index 347dc79a18c18..630e01b5c19b9 100644
--- a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
+++ b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
@@ -5,6 +5,7 @@
* Author: Wyon Bi <[email protected]>
*/
+#include <linux/bits.h>
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/iopoll.h>
@@ -364,7 +365,7 @@ static void inno_dsidphy_mipi_mode_enable(struct inno_dsidphy *inno)
* The value of counter for HS Tclk-pre
* Tclk-pre = Tpin_txbyteclkhs * value
*/
- clk_pre = DIV_ROUND_UP(cfg->clk_pre, t_txbyteclkhs);
+ clk_pre = DIV_ROUND_UP(cfg->clk_pre, BITS_PER_BYTE);
/*
* The value of counter for HS Tlpx Time
--
2.34.1
From: Niklas Cassel <[email protected]>
[ Upstream commit cc38ef936840ac29204d806deb4d1836ec509594 ]
Setting the output of a GPIO to 1 using gpiod_set_value(), followed by
reading the same GPIO using gpiod_get_value(), will currently yield an
incorrect result.
This is because the SiFive GPIO device stores the output values in reg_set,
not reg_dat.
Supply the flag BGPIOF_READ_OUTPUT_REG_SET to bgpio_init() so that the
generic driver reads the correct register.
Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs")
Signed-off-by: Niklas Cassel <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
[Bartosz: added the Fixes tag]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/gpio/gpio-sifive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-sifive.c b/drivers/gpio/gpio-sifive.c
index 403f9e833d6a3..7d82388b4ab7c 100644
--- a/drivers/gpio/gpio-sifive.c
+++ b/drivers/gpio/gpio-sifive.c
@@ -223,7 +223,7 @@ static int sifive_gpio_probe(struct platform_device *pdev)
NULL,
chip->base + SIFIVE_GPIO_OUTPUT_EN,
chip->base + SIFIVE_GPIO_INPUT_EN,
- 0);
+ BGPIOF_READ_OUTPUT_REG_SET);
if (ret) {
dev_err(dev, "unable to init generic GPIO\n");
return ret;
--
2.34.1
From: [email protected] <[email protected]>
[ Upstream commit d9c4e39c1f8f8a8ebaccf00b8f22c14364b2d27e ]
If we're doing an uncached read of the directory, then we ideally want
to read only the exact set of entries that will fit in the buffer
supplied by the getdents() system call. So unlike the case where we're
reading into the page cache, let's send only one READDIR call, before
trying to fill up the buffer.
Fixes: 35df59d3ef69 ("NFS: Reduce number of RPC calls when doing uncached readdir")
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
fs/nfs/dir.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index faf5168880223..13740f1e3972e 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -866,7 +866,8 @@ static int nfs_readdir_xdr_to_array(struct nfs_readdir_descriptor *desc,
status = nfs_readdir_page_filler(desc, entry, pages, pglen,
arrays, narrays);
- } while (!status && nfs_readdir_page_needs_filling(page));
+ } while (!status && nfs_readdir_page_needs_filling(page) &&
+ page_mapping(page));
nfs_readdir_free_pages(pages, array_size);
out:
--
2.34.1
From: Alexander Stein <[email protected]>
commit 91f6d5f181f6629dd74ab71759fe92d3f4eff966 upstream.
The port node does not have a unit-address, remove it.
This fixes the warnings:
lcd-controller@30320000: 'port' is a required property
lcd-controller@30320000: 'port@0' does not match any of the regexes:
'pinctrl-[0-9]+'
Fixes: commit d0081bd02a03 ("arm64: dts: imx8mq: Add NWL MIPI DSI controller")
Signed-off-by: Alexander Stein <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -526,7 +526,7 @@
assigned-clock-rates = <0>, <0>, <0>, <594000000>;
status = "disabled";
- port@0 {
+ port {
lcdif_mipi_dsi: endpoint {
remote-endpoint = <&mipi_dsi_lcdif_in>;
};
From: Stephan Brunner <[email protected]>
commit fa77ce201f7f2d823b07753575122d1ae5597fbe upstream.
Programmable lab power supplies made by GW Instek, such as the
GPP-2323, have a USB port exposing a serial port to control the device.
Stringing the supplied Windows driver, references to the ch341 chip are
found. Binding the existing ch341 driver to the VID/PID of the GPP-2323
("GW Instek USB2.0-Serial" as per the USB product name) works out of the
box, communication and control is now possible.
This patch should work with any GPP series power supply due to
similarities in the product line.
Signed-off-by: Stephan Brunner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/serial/ch341.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -85,6 +85,7 @@ static const struct usb_device_id id_tab
{ USB_DEVICE(0x1a86, 0x5523) },
{ USB_DEVICE(0x1a86, 0x7522) },
{ USB_DEVICE(0x1a86, 0x7523) },
+ { USB_DEVICE(0x2184, 0x0057) },
{ USB_DEVICE(0x4348, 0x5523) },
{ USB_DEVICE(0x9986, 0x7523) },
{ },
On Mon, 14 Feb 2022 at 15:23, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
Tested-by: Linux Kernel Functional Testing <[email protected]>
## Build
* kernel: 5.16.10-rc1
* git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git branch: linux-5.16.y
* git commit: 5c09166a84bab4ec112638721f9e2a7a3831128a
* git describe: v5.16.9-204-g5c09166a84ba
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.16.y/build/v5.16.9-204-g5c09166a84ba
## Test Regressions (compared to v5.16.8-6-gddf6ceb4eefb)
No test regressions found.
## Metric Regressions (compared to v5.16.8-6-gddf6ceb4eefb)
No metric regressions found.
## Test Fixes (compared to v5.16.8-6-gddf6ceb4eefb)
No test fixes found.
## Metric Fixes (compared to v5.16.8-6-gddf6ceb4eefb)
No metric fixes found.
## Test result summary
total: 96370, pass: 82041, fail: 1389, skip: 12172, xfail: 768
## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 259 total, 259 passed, 0 failed
* arm64: 37 total, 35 passed, 2 failed
* dragonboard-410c: 1 total, 1 passed, 0 failed
* hi6220-hikey: 1 total, 1 passed, 0 failed
* i386: 36 total, 36 passed, 0 failed
* juno-r2: 1 total, 1 passed, 0 failed
* mips: 34 total, 34 passed, 0 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 52 total, 39 passed, 13 failed
* riscv: 24 total, 20 passed, 4 failed
* s390: 18 total, 18 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x15: 1 total, 1 passed, 0 failed
* x86: 1 total, 1 passed, 0 failed
* x86_64: 37 total, 37 passed, 0 failed
## Test suites summary
* fwts
* igt-gpu-tools
* kselftest-
* kselftest-android
* kselftest-arm64
* kselftest-arm64/arm64.btitest.bti_c_func
* kselftest-arm64/arm64.btitest.bti_j_func
* kselftest-arm64/arm64.btitest.bti_jc_func
* kselftest-arm64/arm64.btitest.bti_none_func
* kselftest-arm64/arm64.btitest.nohint_func
* kselftest-arm64/arm64.btitest.paciasp_func
* kselftest-arm64/arm64.nobtitest.bti_c_func
* kselftest-arm64/arm64.nobtitest.bti_j_func
* kselftest-arm64/arm64.nobtitest.bti_jc_func
* kselftest-arm64/arm64.nobtitest.bti_none_func
* kselftest-arm64/arm64.nobtitest.nohint_func
* kselftest-arm64/arm64.nobtitest.paciasp_func
* kselftest-bpf
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers
* kselftest-efivarfs
* kselftest-filesystems
* kselftest-firmware
* kselftest-fpu
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-lkdtm
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-tc-testing
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-vm
* kselftest-x86
* kselftest-zram
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* linux-log-parser
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-controllers-tests
* ltp-cpuhotplug-tests
* ltp-crypto-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-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-open-posix-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-tracing-tests
* network-basic-tests
* packetdrill
* perf
* prep-inline
* rcutorture
* ssuite
* v4l2-compliance
--
Linaro LKFT
https://lkft.linaro.org
From: Johan Hovold <[email protected]>
commit b50f8f09c622297d3cf46e332e17ba8adedec9af upstream.
Add the device id for NCR's Retail IO box (CP2105) used in NCR FastLane
SelfServ Checkout - R6C:
https://www.ncr.com/product-catalog/ncr-fastlane-selfserv-checkout-r6c
Reported-by: Scott Russell <[email protected]>
Cc: [email protected]
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/serial/cp210x.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
@@ -51,6 +51,7 @@ static void cp210x_enable_event_mode(str
static void cp210x_disable_event_mode(struct usb_serial_port *port);
static const struct usb_device_id id_table[] = {
+ { USB_DEVICE(0x0404, 0x034C) }, /* NCR Retail IO Box */
{ USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */
{ USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */
{ USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
On Mon, 14 Feb 2022 at 15:23, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
On Linux mainline master branch with arm64 clang-nigtly build failed
due to following errors and warnings.
Now it is also noticed on stable-rc 5.15 and 5.16.
net/ipv4/tcp_input.c: clang: error: clang frontend command failed with
exit code 139 (use -v to see invocation)
https://github.com/llvm/llvm-project/issues/53811
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/current LLVM=1 LLVM_IAS=1
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- HOSTCC=clang CC=clang
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -Wp,-MMD,net/ipv4/.tcp_input.o.d -nostdinc
-I/builds/linux/arch/arm64/include -I./arch/arm64/include/generated
-I/builds/linux/include -I./include
-I/builds/linux/arch/arm64/include/uapi
-I./arch/arm64/include/generated/uapi -I/builds/linux/include/uapi
-I./include/generated/uapi -include
/builds/linux/include/linux/compiler-version.h -include
/builds/linux/include/linux/kconfig.h -include
/builds/linux/include/linux/compiler_types.h -D__KERNEL__
-mlittle-endian -DCC_USING_PATCHABLE_FUNCTION_ENTRY
-DKASAN_SHADOW_SCALE_SHIFT= -Qunused-arguments
-fmacro-prefix-map=/builds/linux/= -Wall -Wundef
-Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int
-Werror=return-type -Wno-format-security -std=gnu89
--target=aarch64-linux-gnu -fintegrated-as
-Werror=unknown-warning-option -Werror=ignored-optimization-argument
-mgeneral-regs-only -DCONFIG_CC_HAS_K_CONSTRAINT=1 -Wno-psabi
-fno-asynchronous-unwind-tables -fno-unwind-tables
-mbranch-protection=pac-ret+leaf+bti -Wa,-march=armv8.5-a
-DARM64_ASM_ARCH=\"armv8.5-a\" -DKASAN_SHADOW_SCALE_SHIFT=
-fno-delete-null-pointer-checks -Wno-frame-address
-Wno-address-of-packed-member -O2 -Wframe-larger-than=2048
-fstack-protector-strong -Wimplicit-fallthrough -Wno-gnu
-mno-global-merge -Wno-unused-but-set-variable
-Wno-unused-const-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-fno-stack-clash-protection -fpatchable-function-entry=2
-Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wcast-function-type -Wno-array-bounds -fno-strict-overflow
-fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types
-Wno-initializer-overrides -Wno-format -Wno-sign-compare
-Wno-format-zero-length -Wno-pointer-to-enum-cast
-Wno-tautological-constant-out-of-range-compare -Wno-unaligned-access
-mstack-protector-guard=sysreg -mstack-protector-guard-reg=sp_el0
-mstack-protector-guard-offset=1408 -I /builds/linux/net/ipv4 -I
./net/ipv4 -DKBUILD_MODFILE=\"net/ipv4/tcp_input\"
-DKBUILD_BASENAME=\"tcp_input\" -DKBUILD_MODNAME=\"tcp_input\"
-D__KBUILD_MODNAME=kmod_tcp_input -c -o net/ipv4/tcp_input.o
/builds/linux/net/ipv4/tcp_input.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/builds/linux/net/ipv4/tcp_input.c'.
4. Running pass 'Live Interval Analysis' on function '@tcp_ack'
#0 0x00007fcc9438ce91 llvm::sys::PrintStackTrace(llvm::raw_ostream&,
int) (/usr/lib/x86_64-linux-gnu/libLLVM-15.so.1+0xe93e91)
Reported-by: Linux Kernel Functional Testing <[email protected]>
--
Linaro LKFT
https://lkft.linaro.org
From: Martin Blumenstingl <[email protected]>
[ Upstream commit 5225e1b87432dcf0d0fc3440824b91d04c1d6cc1 ]
The dt-bindings for the UART controller only allow the following values
for Meson6 SoCs:
- "amlogic,meson6-uart", "amlogic,meson-ao-uart"
- "amlogic,meson6-uart"
Use the correct fallback compatible string "amlogic,meson-ao-uart" for
AO UART. Drop the "amlogic,meson-uart" compatible string from the EE
domain UART controllers.
Fixes: ec9b59162fd831 ("ARM: dts: meson6: use stable UART bindings")
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
---
arch/arm/boot/dts/meson.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index 3be7cba603d5a..26eaba3fa96f3 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -59,7 +59,7 @@ hwrng: rng@8100 {
};
uart_A: serial@84c0 {
- compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson6-uart";
reg = <0x84c0 0x18>;
interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
fifo-size = <128>;
@@ -67,7 +67,7 @@ uart_A: serial@84c0 {
};
uart_B: serial@84dc {
- compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson6-uart";
reg = <0x84dc 0x18>;
interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
@@ -105,7 +105,7 @@ saradc: adc@8680 {
};
uart_C: serial@8700 {
- compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson6-uart";
reg = <0x8700 0x18>;
interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
@@ -228,7 +228,7 @@ ir_receiver: ir-receiver@480 {
};
uart_AO: serial@4c0 {
- compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart";
reg = <0x4c0 0x18>;
interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
--
2.34.1
From: Robert Hancock <[email protected]>
[ Upstream commit 37291f60d0822f191748c2a54ce63b0bc669020f ]
TX_PROT_BUS_WIDTH and RX_PROT_BUS_WIDTH are single registers with
separate bit fields for each lane. The code in xpsgtr_phy_init_sgmii was
not preserving the existing register value for other lanes, so enabling
the PHY in SGMII mode on one lane zeroed out the settings for all other
lanes, causing other PS-GTR peripherals such as USB3 to malfunction.
Use xpsgtr_clr_set to only manipulate the desired bits in the register.
Fixes: 4a33bea00314 ("phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver")
Signed-off-by: Robert Hancock <[email protected]>
Acked-by: Michal Simek <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/phy/xilinx/phy-zynqmp.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/phy/xilinx/phy-zynqmp.c b/drivers/phy/xilinx/phy-zynqmp.c
index f478d8a17115b..9be9535ad7ab7 100644
--- a/drivers/phy/xilinx/phy-zynqmp.c
+++ b/drivers/phy/xilinx/phy-zynqmp.c
@@ -134,7 +134,8 @@
#define PROT_BUS_WIDTH_10 0x0
#define PROT_BUS_WIDTH_20 0x1
#define PROT_BUS_WIDTH_40 0x2
-#define PROT_BUS_WIDTH_SHIFT 2
+#define PROT_BUS_WIDTH_SHIFT(n) ((n) * 2)
+#define PROT_BUS_WIDTH_MASK(n) GENMASK((n) * 2 + 1, (n) * 2)
/* Number of GT lanes */
#define NUM_LANES 4
@@ -445,12 +446,12 @@ static void xpsgtr_phy_init_sata(struct xpsgtr_phy *gtr_phy)
static void xpsgtr_phy_init_sgmii(struct xpsgtr_phy *gtr_phy)
{
struct xpsgtr_dev *gtr_dev = gtr_phy->dev;
+ u32 mask = PROT_BUS_WIDTH_MASK(gtr_phy->lane);
+ u32 val = PROT_BUS_WIDTH_10 << PROT_BUS_WIDTH_SHIFT(gtr_phy->lane);
/* Set SGMII protocol TX and RX bus width to 10 bits. */
- xpsgtr_write(gtr_dev, TX_PROT_BUS_WIDTH,
- PROT_BUS_WIDTH_10 << (gtr_phy->lane * PROT_BUS_WIDTH_SHIFT));
- xpsgtr_write(gtr_dev, RX_PROT_BUS_WIDTH,
- PROT_BUS_WIDTH_10 << (gtr_phy->lane * PROT_BUS_WIDTH_SHIFT));
+ xpsgtr_clr_set(gtr_dev, TX_PROT_BUS_WIDTH, mask, val);
+ xpsgtr_clr_set(gtr_dev, RX_PROT_BUS_WIDTH, mask, val);
xpsgtr_bypass_scrambler_8b10b(gtr_phy);
}
--
2.34.1
On 2/14/22 2:24 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan <[email protected]>
thanks,
-- Shuah
On Mon, Feb 14, 2022, at 4:24 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +0000.
> Anything received after that time might be too late.
5.16.10-rc1 on my x86_64 test system compiled and booted with no errors or regressions.
Tested-by: Slade Watkins <[email protected]>
Thanks,
Slade
On 2/14/22 1:24 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:
Tested-by: Florian Fainelli <[email protected]>
--
Florian
On Mon, Feb 14, 2022 at 10:24:04AM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +0000.
> Anything received after that time might be too late.
>
Build results:
total: 155 pass: 155 fail: 0
Qemu test results:
total: 488 pass: 488 fail: 0
Tested-by: Guenter Roeck <[email protected]>
Guenter
On Mon, Feb 14, 2022 at 8:02 AM Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Hi Greg,
Compiled and booted on my test system Lenovo P50s: Intel Core i7
No emergency and critical messages in the dmesg
./perf bench sched all
# Running sched/messaging benchmark...
# 20 sender and receiver processes per group
# 10 groups == 400 processes run
Total time: 0.449 [sec]
# Running sched/pipe benchmark...
# Executed 1000000 pipe operations between two processes
Total time: 8.687 [sec]
8.687780 usecs/op
115104 ops/sec
Tested-by: Zan Aziz <[email protected]>
Thanks
-Zan
On 14/02/22 16.24, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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.
>
Successfully cross-compiled for arm64 (bcm2711_defconfig, gcc 10.2.0)
and powerpc (ps3_defconfig, gcc 11.2.0).
Tested-by: Bagas Sanjaya <[email protected]>
--
An old man doll... just what I always wanted! - Clara
On 2/14/22 01:24, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Tested-by: Ron Economos <[email protected]>
On 2/14/22 01:24, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Build, dmesg, desktop use and s0ix suspend all look good on x86_64/Cezanne.
Tested-by: Scott Bruce <[email protected]>
On Mon, Feb 14, 2022 at 10:24:04AM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.16.10 release.
> There are 203 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 Wed, 16 Feb 2022 09:24:36 +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.16.10-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.16.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Tested rc1 against the Fedora build system (aarch64, armv7, ppc64le,
s390x, x86_64), and boot tested x86_64. No regressions noted.
Tested-by: Justin M. Forbes <[email protected]>