Skip to contentSkip to conversation

Linux 6.18.6

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jan 17 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.18.6 kernel.

All users of the 6.18 kernel series must upgrade.

The updated 6.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.18.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

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

 Makefile                                                                   |    2 
 arch/alpha/include/uapi/asm/ioctls.h                                       |    8 
 arch/arm/Kconfig                                                           |    2 
 arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi                                  |    2 
 arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi                        |    1 
 arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts    |    2 
 arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi                        |    5 
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts                               |    3 
 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi                           |    8 
 arch/arm64/boot/dts/freescale/imx95.dtsi                                   |    2 
 arch/arm64/boot/dts/freescale/mba8mx.dtsi                                  |    2 
 arch/arm64/boot/dts/ti/k3-am62-lp-sk-nand.dtso                             |    2 
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-peb-c-010.dtso            |    7 
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-x27-gpio1-spi1-uart3.dtso |    8 
 arch/arm64/include/asm/suspend.h                                           |    2 
 arch/arm64/mm/proc.S                                                       |    8 
 arch/csky/mm/fault.c                                                       |    4 
 arch/riscv/boot/Makefile                                                   |    4 
 arch/riscv/include/asm/pgtable.h                                           |    4 
 arch/riscv/kernel/cpufeature.c                                             |   23 
 arch/sparc/kernel/pci.c                                                    |   23 
 block/blk-integrity.c                                                      |   23 
 block/blk-settings.c                                                       |    7 
 drivers/accel/amdxdna/aie2_pci.c                                           |    6 
 drivers/android/binder/page_range.rs                                       |    3 
 drivers/ata/libata-core.c                                                  |    3 
 drivers/atm/he.c                                                           |    3 
 drivers/block/ublk_drv.c                                                   |   49 -
 drivers/counter/104-quad-8.c                                               |   20 
 drivers/counter/interrupt-cnt.c                                            |    3 
 drivers/crypto/intel/qat/qat_common/adf_aer.c                              |    2 
 drivers/gpio/gpio-it87.c                                                   |   11 
 drivers/gpio/gpio-mpsse.c                                                  |  227 +++++++
 drivers/gpio/gpio-pca953x.c                                                |   25 
 drivers/gpio/gpio-rockchip.c                                               |    1 
 drivers/gpio/gpiolib-cdev.c                                                |    2 
 drivers/gpio/gpiolib-sysfs.c                                               |    2 
 drivers/gpio/gpiolib.c                                                     |  128 ++--
 drivers/gpio/gpiolib.h                                                     |    8 
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c                                    |    6 
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c                                |    2 
 drivers/gpu/drm/amd/display/dc/dml/Makefile                                |    6 
 drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c                  |   11 
 drivers/gpu/drm/amd/display/include/audio_types.h                          |   12 
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c                            |   33 -
 drivers/gpu/drm/drm_atomic_helper.c                                        |  122 +++-
 drivers/gpu/drm/mediatek/mtk_dsi.c                                         |    6 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c                            |    3 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c                            |    8 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga100.c                            |    3 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c                            |    3 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h                             |   23 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c                            |   15 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu116.c                            |    3 
 drivers/gpu/drm/pl111/pl111_drv.c                                          |    2 
 drivers/gpu/drm/radeon/pptable.h                                           |    2 
 drivers/gpu/drm/tidss/tidss_kms.c                                          |   30 -
 drivers/gpu/nova-core/Kconfig                                              |    2 
 drivers/hid/hid-quirks.c                                                   |    9 
 drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c                        |    4 
 drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c                        |    4 
 drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h                        |    2 
 drivers/irqchip/irq-gic-v5-its.c                                           |    2 
 drivers/md/dm-exception-store.h                                            |    2 
 drivers/md/dm-snap.c                                                       |   73 +-
 drivers/md/dm-verity-fec.c                                                 |    4 
 drivers/md/dm-verity-fec.h                                                 |    3 
 drivers/md/dm-verity-target.c                                              |    2 
 drivers/misc/mei/hw-me-regs.h                                              |    2 
 drivers/misc/mei/pci-me.c                                                  |    2 
 drivers/net/dsa/mv88e6xxx/chip.c                                           |   23 
 drivers/net/dsa/mv88e6xxx/chip.h                                           |    4 
 drivers/net/dsa/mv88e6xxx/serdes.c                                         |   46 -
 drivers/net/dsa/mv88e6xxx/serdes.h                                         |    5 
 drivers/net/ethernet/3com/3c59x.c                                          |    2 
 drivers/net/ethernet/airoha/airoha_ppe.c                                   |    9 
 drivers/net/ethernet/amazon/ena/ena_devlink.c                              |    4 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                                  |   21 
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                                  |    4 
 drivers/net/ethernet/freescale/enetc/enetc.h                               |    4 
 drivers/net/ethernet/intel/idpf/idpf.h                                     |   19 
 drivers/net/ethernet/intel/idpf/idpf_ethtool.c                             |  100 ++-
 drivers/net/ethernet/intel/idpf/idpf_idc.c                                 |    2 
 drivers/net/ethernet/intel/idpf/idpf_lib.c                                 |  294 +++++-----
 drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c                        |    2 
 drivers/net/ethernet/intel/idpf/idpf_txrx.c                                |   48 -
 drivers/net/ethernet/intel/idpf/idpf_txrx.h                                |    6 
 drivers/net/ethernet/intel/idpf/idpf_virtchnl.c                            |   17 
 drivers/net/ethernet/intel/idpf/xdp.c                                      |    2 
 drivers/net/ethernet/marvell/prestera/prestera_devlink.c                   |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp.c                     |   14 
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c                         |    9 
 drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c                           |    9 
 drivers/net/ethernet/mellanox/mlx5/core/port.c                             |    3 
 drivers/net/ethernet/mscc/ocelot.c                                         |    6 
 drivers/net/netdevsim/bus.c                                                |    8 
 drivers/net/phy/mxl-86110.c                                                |    3 
 drivers/net/phy/sfp.c                                                      |    4 
 drivers/net/usb/pegasus.c                                                  |    2 
 drivers/net/virtio_net.c                                                   |    6 
 drivers/net/wireless/virtual/mac80211_hwsim.c                              |    2 
 drivers/net/wwan/iosm/iosm_ipc_mux.c                                       |    6 
 drivers/of/unittest.c                                                      |    8 
 drivers/pci/controller/dwc/pci-meson.c                                     |   39 -
 drivers/pci/vgaarb.c                                                       |    7 
 drivers/pinctrl/mediatek/pinctrl-mt8189.c                                  |    2 
 drivers/pinctrl/qcom/pinctrl-lpass-lpi.c                                   |    2 
 drivers/powercap/powercap_sys.c                                            |   22 
 drivers/scsi/ipr.c                                                         |   28 
 drivers/scsi/libsas/sas_internal.h                                         |   14 
 drivers/scsi/mpi3mr/mpi3mr.h                                               |    4 
 drivers/scsi/mpi3mr/mpi3mr_os.c                                            |    4 
 drivers/scsi/sg.c                                                          |   20 
 drivers/spi/spi-cadence-quadspi.c                                          |   10 
 drivers/spi/spi-mt65xx.c                                                   |    2 
 drivers/ufs/core/ufshcd.c                                                  |   36 -
 fs/btrfs/delayed-inode.c                                                   |   32 -
 fs/btrfs/extent_io.c                                                       |   31 -
 fs/btrfs/inode.c                                                           |   19 
 fs/btrfs/ordered-data.c                                                    |    5 
 fs/btrfs/qgroup.c                                                          |   21 
 fs/btrfs/super.c                                                           |   12 
 fs/btrfs/tree-log.c                                                        |    8 
 fs/erofs/super.c                                                           |   19 
 fs/netfs/read_collect.c                                                    |    2 
 fs/nfs/namespace.c                                                         |    5 
 fs/nfs/nfs4proc.c                                                          |   13 
 fs/nfs/nfs4trace.h                                                         |    1 
 fs/nfs_common/common.c                                                     |    1 
 fs/nfsd/netns.h                                                            |    2 
 fs/nfsd/nfs4proc.c                                                         |    2 
 fs/nfsd/nfs4state.c                                                        |   49 +
 fs/nfsd/nfsctl.c                                                           |   12 
 fs/nfsd/nfsd.h                                                             |    1 
 fs/nfsd/nfssvc.c                                                           |   30 -
 fs/nfsd/state.h                                                            |    6 
 fs/nfsd/vfs.c                                                              |    4 
 fs/smb/client/nterr.h                                                      |    6 
 include/drm/drm_atomic_helper.h                                            |   22 
 include/drm/drm_bridge.h                                                   |  249 ++------
 include/linux/netdevice.h                                                  |    3 
 include/linux/soc/airoha/airoha_offload.h                                  |    8 
 include/linux/trace_recursion.h                                            |    9 
 include/net/netfilter/nf_tables.h                                          |   34 -
 include/trace/events/btrfs.h                                               |    3 
 include/trace/misc/nfs.h                                                   |    2 
 include/uapi/linux/nfs.h                                                   |    1 
 io_uring/io-wq.c                                                           |    6 
 kernel/events/core.c                                                       |    6 
 kernel/power/swap.c                                                        |   14 
 kernel/trace/trace.c                                                       |    8 
 lib/crypto/aes.c                                                           |    4 
 net/bpf/test_run.c                                                         |   25 
 net/bridge/br_vlan_tunnel.c                                                |   11 
 net/can/j1939/transport.c                                                  |    2 
 net/ceph/messenger_v2.c                                                    |    2 
 net/ceph/mon_client.c                                                      |    2 
 net/ceph/osd_client.c                                                      |   14 
 net/ceph/osdmap.c                                                          |   24 
 net/core/skbuff.c                                                          |    8 
 net/core/sock.c                                                            |    7 
 net/ipv4/arp.c                                                             |    7 
 net/ipv4/inet_fragment.c                                                   |    2 
 net/ipv4/ping.c                                                            |    4 
 net/ipv4/tcp.c                                                             |    8 
 net/ipv4/udp.c                                                             |    1 
 net/mac80211/tx.c                                                          |    2 
 net/netfilter/nf_conncount.c                                               |    2 
 net/netfilter/nf_tables_api.c                                              |   72 ++
 net/netfilter/nft_set_pipapo.c                                             |    4 
 net/netfilter/nft_synproxy.c                                               |    6 
 net/sched/act_api.c                                                        |    2 
 net/sched/sch_qfq.c                                                        |    2 
 net/unix/af_unix.c                                                         |    8 
 net/vmw_vsock/af_vsock.c                                                   |    4 
 net/wireless/wext-core.c                                                   |    4 
 net/wireless/wext-priv.c                                                   |    4 
 sound/ac97/bus.c                                                           |   10 
 sound/hda/codecs/realtek/alc269.c                                          |    2 
 sound/hda/codecs/side-codecs/tas2781_hda_i2c.c                             |    4 
 sound/hda/core/intel-dsp-config.c                                          |    3 
 sound/soc/amd/yc/acp6x-mach.c                                              |    7 
 sound/soc/fsl/fsl_sai.c                                                    |    3 
 sound/soc/rockchip/rockchip_pdm.c                                          |    2 
 sound/usb/quirks.c                                                         |   10 
 tools/testing/selftests/drivers/net/hw/lib/py/__init__.py                  |    4 
 tools/testing/selftests/net/lib/py/__init__.py                             |    4 
 187 files changed, 1763 insertions(+), 1093 deletions(-)

Abdun Nihaal (1):
gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths

Alan Liu (1):
drm/amdgpu: Fix query for VPE block_type and ip_count

Alex Deucher (1):

      drm/radeon: Remove __counted_by from ClockInfoArray.clockInfo[]

Alexander Stein (2):
arm64: dts: mba8mx: Fix Ethernet PHY IRQ support
ASoC: fsl_sai: Add missing registers to cache default

Alexander Sverdlin (1):
counter: interrupt-cnt: Drop IRQF_NO_THREAD flag

Alexander Usyskin (1):
mei: me: add nova lake point S DID

Alexandre Courbot (1):
gpu: nova-core: select RUST_FW_LOADER_ABSTRACTIONS

Alexandre Knecht (1):
bridge: fix C-VLAN preservation in 802.1ad vlan_tunnel egress

Alexei Lazar (1):
net/mlx5e: Don't gate FEC histograms on ppcnt_statistical_group

Alice Ryhl (1):
rust_binder: remove spin_lock() in rust_shrink_free_page()

Alok Tiwari (1):
net: marvell: prestera: fix NULL dereference on devlink_alloc() failure

Andrew Elantsev (1):
ASoC: amd: yc: Add quirk for Honor MagicBook X16 2025

August Wikerfors (1):
ALSA: hda/tas2781: properly initialize speaker_id for TAS2563

Bartosz Golaszewski (5):
gpio: rockchip: mark the GPIO controller as sleeping
pinctrl: qcom: lpass-lpi: mark the GPIO controller as sleeping
gpio: it87: balance superio enter/exit calls in error path
gpiolib: remove unnecessary 'out of memory' messages
gpiolib: rename GPIO chip printk macros

Ben Dooks (1):

      trace: ftrace_dump_on_oops[] is not exported, make it static

Benjamin Berg (1):
wifi: mac80211_hwsim: fix typo in frequency notification

Bjorn Helgaas (1):
PCI: meson: Report that link is up while in ASPM L0s and L1 states

Boris Burkov (1):
btrfs: fix qgroup_snapshot_quick_inherit() squota bug

Breno Leitao (1):
bnxt_en: Fix NULL pointer crash in bnxt_ptp_enable during error cleanup

Brian Kao (1):
scsi: ufs: core: Fix EH failure after W-LUN resume error

Brian Kocoloski (1):
drm/amdkfd: Fix improper NULL termination of queue restore SMI event string

Caleb Sander Mateos (2):
block: don't merge bios with different app_tags
block: validate pi_offset integrity limit

Carlos Song (1):
arm64: dts: imx95: correct I3C2 pclk to IMX95_CLK_BUSWAKEUP

Charlene Liu (1):
drm/amd/display: Fix DP no audio issue

ChenXiaoSong (3):
smb/client: fix NT_STATUS_UNABLE_TO_FREE_VM value smb/client: fix NT_STATUS_DEVICE_DOOR_OPEN value smb/client: fix NT_STATUS_NO_DATA_DETECTED value

Chuck Lever (1):
NFSD: Remove NFSERR_EAGAIN

Cosmin Ratiu (1):
net/mlx5e: Dealloc forgotten PSP RX modify header

Dave Airlie (1):
nouveau: don't attempt fwsec on sb on newer platforms.

David Howells (1):
netfs: Fix early read unlock of page with EOF in middle

Di Zhu (1):
netdev: preserve NETIF_F_ALL_FOR_ALL across TSO updates

Edward Adam Davis (1):
NFSD: net ref data still needs to be freed even if net hasn't startup

Emil Tantilov (6):
idpf: keep the netdev when a reset fails
idpf: convert vport state to bitmap
idpf: detach and close netdevs while handling a reset
idpf: fix memory leak in idpf_vport_rel()
idpf: fix memory leak in idpf_vc_core_deinit()
idpf: fix error handling in the init_task on load

Eric Biggers (1):
lib/crypto: aes: Fix missing MMU protection for AES S-box

Eric Dumazet (3):
wifi: avoid kernel-infoleak from struct iw_point
udp: call skb_orphan() before skb_attempt_defer_free()
arp: do not assume dev_hard_header() does not change skb->head

Erik Gabriel Carrillo (1):
idpf: fix issue with ethtool -n command display

Ernest Van Hoecke (1):
gpio: pca953x: handle short interrupt pulses on PCAL devices

Even Xu (1):
HID: Intel-thc-hid: Intel-thc: Fix wrong register reading

Fei Shao (1):
spi: mt65xx: Use IRQF_ONESHOT with threaded IRQ

Fernando Fernandez Mancera (2):
netfilter: nft_synproxy: avoid possible data-race on update operation
netfilter: nf_conncount: update last_gc only when GC has been performed

Filipe Manana (4):
btrfs: always detect conflicting inodes when logging inode refs
btrfs: release path before initializing extent tree in btrfs_read_locked_inode()
btrfs: truncate ordered extent when skipping writeback past i_size
btrfs: use variable for end offset in extent_writepage_io()

Florian Westphal (3):
netfilter: nft_set_pipapo: fix range overlap detection
inet: frags: drop fraglist conntrack references
netfilter: nf_tables: avoid chain re-validation if possible

Frank Liang (1):
net/ena: fix missing lock when update devlink params

Gal Pressman (2):
net/mlx5e: Don't print error message due to invalid module
selftests: drv-net: Bring back tool() to driver __init__s

Gao Xiang (2):
erofs: don't bother with s_stack_depth increasing for now
erofs: fix file-backed mounts no longer working on EROFS partitions

Greg Kroah-Hartman (1):

      Linux 6.18.6

Guo Ren (Alibaba DAMO Academy) (1):
riscv: pgtable: Cleanup useless VA_USER_XXX definitions

Guodong Xu (1):
riscv: cpufeature: Fix Zk bundled extension missing Zknh

Haibo Chen (2):
arm64: dts: imx8qm-mek: correct the light sensor interrupt type to low level
arm64: dts: add off-on-delay-us for usdhc2 regulator

Haotian Zhang (1):
counter: 104-quad-8: Fix incorrect return value in IRQ handler

Haoxiang Li (1):
ALSA: ac97: fix a double free in snd_ac97_controller_register()

Harshita Bhilwaria (1):
crypto: qat - fix duplicate restarting msg during AER error

Ian Ray (1):
ARM: dts: imx6q-ba16: fix RTC interrupt level

Ilpo Järvinen (1):

      sparc/PCI: Correct 64-bit non-pref -> pref BAR resources

Ilya Dryomov (3):
libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
libceph: return the handler error from mon_handle_auth_done()
libceph: make calc_target() set t->paused, not just clear it

Jens Axboe (1):
io_uring/io-wq: fix incorrect io_wq_for_each_worker() termination logic

Jerry Wu (1):
net: mscc: ocelot: Fix crash when adding interface under a lag

Johannes Berg (1):
wifi: mac80211: restore non-chanctx injection behaviour

Joshua Hay (1):
idpf: cap maximum Rx buffer size

Jussi Laako (1):
ALSA: usb-audio: Update for native DSD support quirks

Kai Vehmanen (1):
ALSA: hda/realtek: enable woofer speakers on Medion NM14LNL

Kommula Shiva Shankar (1):
virtio_net: fix device mismatch in devm_kzalloc/devm_kfree

Krzysztof Kozlowski (1):
ASoC: rockchip: Fix Wvoid-pointer-to-enum-cast warning (again)

Larysa Zaremba (1):
idpf: fix aux device unplugging when rdma is not supported by vport

Leo Martins (1):
btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()

Linus Walleij (1):
drm/atomic-helper: Export and namespace some functions

Lorenzo Bianconi (2):
net: airoha: Fix npu rx DMA definitions
net: airoha: Fix schedule while atomic in airoha_ppe_deinit()

Lorenzo Pieralisi (1):
irqchip/gic-v5: Fix gicv5_its_map_event() ITTE read endianness

Louis-Alexis Eyraud (1):
pinctrl: mediatek: mt8189: restore previous register base name array order

Malaya Kumar Rout (1):
PM: hibernate: Fix crash when freeing invalid crypto compressor

Marcus Hughes (1):
net: sfp: extend Potron XGSPON quirk to cover additional EEPROM variant

Marek Vasut (1):
arm64: dts: imx8mp: Fix LAN8740Ai PHY reference clock on DH electronics i.MX8M Plus DHCOM

Mario Limonciello (AMD) (2):
PCI/VGA: Don't assume the only VGA device on a system is boot_vga accel/amdxdna: Block running under a hypervisor

Mary Strodl (2):
gpio: mpsse: ensure worker is torn down
gpio: mpsse: add quirk support

Mateusz Litwin (1):
spi: cadence-quadspi: Prevent lost complete() call during indirect read

Maud Spierings (2):
arm64: dts: freescale: moduline-display: fix compatible
arm64: dts: freescale: tx8p-ml81: fix eqos nvmem-cells

Maxime Chevallier (1):
net: sfp: return the number of written bytes for smbus single byte access

Miaoqian Lin (1):
drm/pl111: Fix error handling in pl111_amba_probe

Michal Luczaj (1):
vsock: Make accept()ed sockets use custom setsockopt()

Michal Rábek (1):
scsi: sg: Fix occasional bogus elapsed time that exceeds timeout

Mikulas Patocka (2):
dm-verity: disable recursive forward error correction
dm-snapshot: fix 'scheduling while atomic' on real-time kernels

Ming Lei (2):
ublk: reorder tag_set initialization before queue allocation
ublk: fix use-after-free in ublk_partition_scan_work

Miquel Sabaté Solà (1):
btrfs: fix NULL dereference on root when tracing inode eviction

Mohammad Heib (1):
net: fix memory leak in skb_segment_list for GRO packets

Nathan Chancellor (1):
drm/amd/display: Apply e4479aecf658 to dml

NeilBrown (2):
nfsd: provide locking for v4_end_grace
nfsd: use correct loop termination in nfsd4_revoke_states()

Niklas Cassel (1):

      ata: libata-core: Disable LPM on ST2000DM008-2FR102

Olga Kornievskaia (1):
nfsd: check that server is running in unlock_filesystem

Patrisious Haddad (1):
net/mlx5: Lag, multipath, give priority for routes with smaller network prefix

Paweł Narewski (1):

      gpiolib: fix race condition for gdev->srcu

Peter Zijlstra (1):
perf: Ensure swevent hrtimer is properly destroyed

Petko Manolov (1):
net: usb: pegasus: fix memory leak in update_eth_regs_async()

Qu Wenruo (3):
btrfs: qgroup: update all parent qgroups when doing quick inherit
btrfs: only enforce free space tree if v1 cache is required for bs < ps cases
btrfs: fix beyond-EOF write handling

René Rebe (1):
HID: quirks: work around VID/PID conflict for appledisplay

Rosen Penev (1):
drm/amd/display: shrink struct members

Sam Edwards (1):
libceph: reset sparse-read state in osd_fault()

Sam James (1):
alpha: don't reference obsolete termio struct for TC* constants

Scott Mayhew (2):
NFSD: Fix permission check for read access to executable-only files
NFSv4: ensure the open stateid seqid doesn't go backwards

Sebastian Andrzej Siewior (1):
ARM: 9461/1: Disable HIGHPTE on PREEMPT_RT kernels

Sherry Sun (1):
arm64: dts: imx8qm-ss-dma: correct the dma channels of lpuart

Shivani Gupta (1):
net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy

Sreedevi Joshi (5):
idpf: fix memory leak of flow steer list on rmmod
idpf: Fix RSS LUT NULL pointer crash on early ethtool operations
idpf: Fix RSS LUT configuration on down interfaces
idpf: Fix RSS LUT NULL ptr issue after soft reset
idpf: Fix error handling in idpf_vport_open()

Srijit Bose (1):
bnxt_en: Fix potential data corruption with HW GRO/LRO

Stefan Binding (1):
ALSA: hda/realtek: Add support for ASUS UM3406GA

Stefano Radaelli (1):
net: phy: mxl-86110: Add power management and soft reset support

Steven Rostedt (1):
tracing: Add recursion protection in kernel stack trace recording

Suchit Karunakaran (1):
btrfs: fix NULL pointer dereference in do_abort_log_replay()

Suganath Prabu S (1):
scsi: mpi3mr: Prevent duplicate SAS/SATA device entries in channel 1

Sumeet Pawnikar (2):
powercap: fix race condition in register_control_type()
powercap: fix sscanf() error return value handling

Takashi Iwai (1):
ALSA: hda: intel-dsp-config: Prefer legacy driver as fallback

Tetsuo Handa (2):
bpf: Fix reference count leak in bpf_prog_test_run_xdp()
can: j1939: make j1939_session_activate() fail if device is no longer registered

Thomas Fourier (3):
atm: Fix dma_free_coherent() size
net: 3com: 3c59x: fix possible null dereference in vortex_probe1()
HID: Intel-thc-hid: Intel-thc: fix dma_unmap_sg() nents value

Toke Høiland-Jørgensen (1):
bpf, test_run: Subtract size of xdp_frame from allowed metadata size

Tomi Valkeinen (3):
Revert "drm/atomic-helper: Re-order bridge chain pre-enable and post-disable" drm/tidss: Fix enable/disable order
Revert "drm/mediatek: dsi: Fix DSI host and panel bridge pre-enable order"

Trond Myklebust (1):
NFS: Fix up the automount fs_context to use the correct cred

Tuo Li (1):
libceph: make free_choose_arg_map() resilient to partial allocation

Vivian Wang (1):
riscv: boot: Always make Image from vmlinux, not vmlinux.unstripped

Vladimir Oltean (1):
Revert "dsa: mv88e6xxx: make serdes SGMII/Fiber tx amplitude configurable"

Wadim Egorov (3):
arm64: dts: ti: k3-am642-phyboard-electra-peb-c-010: Fix icssg-prueth schema warning
arm64: dts: ti: k3-am642-phyboard-electra-x27-gpio1-spi1-uart3: Fix schema warnings
arm64: dts: ti: k3-am62-lp-sk-nand: Rename pinctrls to fix schema warnings

Wei Fang (1):
net: enetc: fix build warning when PAGE_SIZE is greater than 128K

Weiming Shi (1):
net: sock: fix hardened usercopy panic in sock_recv_errqueue

Wen Xiong (1):
scsi: ipr: Enable/disable IRQD_NO_BALANCING during reset

Willem de Bruijn (1):
net: do not write to msg_get_inq in callee

Xiang Mei (1):
net/sched: sch_qfq: Fix NULL deref when deactivating inactive aggregate in qfq_reset

Xingui Yang (1):
scsi: Revert "scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed"

Yang Li (1):
csky: fix csky_cmpxchg_fixup not working

Yang Wang (2):
drm/amd/pm: fix wrong pcie parameter on navi1x drm/amd/pm: force send pcie parmater on navi1x

Yeoreum Yun (1):
arm64: Fix cleared E0POE bit after cpu_suspend()/resume()

Yohei Kojima (1):
net: netdevsim: fix inconsistent carrier state after link/unlink

Zilin Guan (3):
of: unittest: Fix memory leak in unittest_data_add()
netfilter: nf_tables: fix memory leak in nf_tables_newrule()
net: wwan: iosm: Fix memory leak in ipc_mux_deinit()

yuan.gao (1):
inet: ping: Fix icmp out counting

ziming zhang (1):
libceph: prevent potential out-of-bounds reads in handle_auth_done()

author maintainer
#1 lore raw
Makefile +1 -1
index 30c332829b0f..23a575ce425c 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 18
-SUBLEVEL = 5
+SUBLEVEL = 6
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/alpha/include/uapi/asm/ioctls.h +4 -4
index 971311605288..a09d04b49cc6 100644
@@ -23,10 +23,10 @@
 #define TCSETSW		_IOW('t', 21, struct termios)
 #define TCSETSF		_IOW('t', 22, struct termios)
 
-#define TCGETA		_IOR('t', 23, struct termio)
-#define TCSETA		_IOW('t', 24, struct termio)
-#define TCSETAW		_IOW('t', 25, struct termio)
-#define TCSETAF		_IOW('t', 28, struct termio)
+#define TCGETA          0x40127417
+#define TCSETA          0x80127418
+#define TCSETAW         0x80127419
+#define TCSETAF         0x8012741c
 
 #define TCSBRK		_IO('t', 29)
 #define TCXONC		_IO('t', 30)
arch/arm/Kconfig +1 -1
index 4fb985b76e97..70cd3b5b5a05 100644
@@ -1215,7 +1215,7 @@ config HIGHMEM
 
 config HIGHPTE
 	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
-	depends on HIGHMEM
+	depends on HIGHMEM && !PREEMPT_RT
 	default y
 	help
 	  The VM uses one page of physical memory for each page table.
arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi +1 -1
index 53013b12c2ec..02d66523668d 100644
@@ -337,7 +337,7 @@ rtc@32 {
 		pinctrl-0 = <&pinctrl_rtc>;
 		reg = <0x32>;
 		interrupt-parent = <&gpio4>;
-		interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
 	};
 };
 
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +1 -0
index 68c2e0156a5c..f8303b7e2bd2 100644
@@ -113,6 +113,7 @@ mdio {
 		ethphy0f: ethernet-phy@1 { /* SMSC LAN8740Ai */
 			compatible = "ethernet-phy-id0007.c110",
 				     "ethernet-phy-ieee802.3-c22";
+			clocks = <&clk IMX8MP_CLK_ENET_QOS>;
 			interrupt-parent = <&gpio3>;
 			interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
 			pinctrl-0 = <&pinctrl_ethphy0>;
arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts +1 -1
index 88ad422c2760..399230144ce3 100644
@@ -9,7 +9,7 @@
 #include "imx8mp-tx8p-ml81.dtsi"
 
 / {
-	compatible = "gocontroll,moduline-display", "fsl,imx8mp";
+	compatible = "gocontroll,moduline-display-106", "karo,tx8p-ml81", "fsl,imx8mp";
 	chassis-type = "embedded";
 	hardware = "Moduline Display V1.06";
 	model = "GOcontroll Moduline Display baseboard";
arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi +5 -0
index fe8ba16eb40e..761ee046eb72 100644
@@ -47,6 +47,7 @@ &eqos {
 				 <&clk IMX8MP_SYS_PLL2_100M>,
 				 <&clk IMX8MP_SYS_PLL2_50M>;
 	assigned-clock-rates = <266000000>, <100000000>, <50000000>;
+	nvmem-cells = <&eth_mac1>;
 	phy-handle = <&ethphy0>;
 	phy-mode = "rmii";
 	pinctrl-0 = <&pinctrl_eqos>;
@@ -75,6 +76,10 @@ ethphy0: ethernet-phy@0 {
 	};
 };
 
+&fec {
+	nvmem-cells = <&eth_mac2>;
+};
+
 &gpio1 {
 	gpio-line-names = "SODIMM_152",
 			  "SODIMM_42",
arch/arm64/boot/dts/freescale/imx8qm-mek.dts +2 -1
index 9c0b6b8d6459..df99fe88cf4a 100644
@@ -256,6 +256,7 @@ reg_usdhc2_vmmc: usdhc2-vmmc {
 		regulator-max-microvolt = <3000000>;
 		gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
+		off-on-delay-us = <4800>;
 	};
 
 	reg_audio: regulator-audio {
@@ -560,7 +561,7 @@ light-sensor@44 {
 		compatible = "isil,isl29023";
 		reg = <0x44>;
 		interrupt-parent = <&lsio_gpio4>;
-		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
 	};
 
 	pressure-sensor@60 {
arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi +4 -4
index d4856b8590e0..e186c31bfd48 100644
@@ -171,25 +171,25 @@ &flexcan3 {
 
 &lpuart0 {
 	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
-	dmas = <&edma2 13 0 0>, <&edma2 12 0 1>;
+	dmas = <&edma2 12 0 FSL_EDMA_RX>, <&edma2 13 0 0>;
 	dma-names = "rx","tx";
 };
 
 &lpuart1 {
 	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
-	dmas = <&edma2 15 0 0>, <&edma2 14 0 1>;
+	dmas = <&edma2 14 0 FSL_EDMA_RX>, <&edma2 15 0 0>;
 	dma-names = "rx","tx";
 };
 
 &lpuart2 {
 	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
-	dmas = <&edma2 17 0 0>, <&edma2 16 0 1>;
+	dmas = <&edma2 16 0 FSL_EDMA_RX>, <&edma2 17 0 0>;
 	dma-names = "rx","tx";
 };
 
 &lpuart3 {
 	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
-	dmas = <&edma2 19 0 0>, <&edma2 18 0 1>;
+	dmas = <&edma2 18 0 FSL_EDMA_RX>, <&edma2 19 0 0>;
 	dma-names = "rx","tx";
 };
 
arch/arm64/boot/dts/freescale/imx95.dtsi +1 -1
index 6da961eb3fe5..583c5f7a84b5 100644
@@ -806,7 +806,7 @@ i3c2: i3c@42520000 {
 				interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
 				#address-cells = <3>;
 				#size-cells = <0>;
-				clocks = <&scmi_clk IMX95_CLK_BUSAON>,
+				clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>,
 					 <&scmi_clk IMX95_CLK_I3C2SLOW>;
 				clock-names = "pclk", "fast_clk";
 				status = "disabled";
arch/arm64/boot/dts/freescale/mba8mx.dtsi +1 -1
index 79daba930ad6..3e41da4d6122 100644
@@ -185,7 +185,7 @@ ethphy0: ethernet-phy@e {
 			reset-assert-us = <500000>;
 			reset-deassert-us = <500>;
 			interrupt-parent = <&expander2>;
-			interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
+			interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
 		};
 	};
 };
arch/arm64/boot/dts/ti/k3-am62-lp-sk-nand.dtso +1 -1
index 173ac60723b6..b4daa674eaa1 100644
@@ -14,7 +14,7 @@ &mcasp1 {
 };
 
 &main_pmx0 {
-	gpmc0_pins_default: gpmc0-pins-default {
+	gpmc0_pins_default: gpmc0-default-pins {
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x003c, PIN_INPUT, 0) /* (K19) GPMC0_AD0 */
 			AM62X_IOPAD(0x0040, PIN_INPUT, 0) /* (L19) GPMC0_AD1 */
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-peb-c-010.dtso +2 -5
index 7fc73cfacadb..1176a52d560b 100644
@@ -30,13 +30,10 @@ icssg1-ethernet {
 				<&main_pktdma 0xc206 15>, /* egress slice 1 */
 				<&main_pktdma 0xc207 15>, /* egress slice 1 */
 				<&main_pktdma 0x4200 15>, /* ingress slice 0 */
-				<&main_pktdma 0x4201 15>, /* ingress slice 1 */
-				<&main_pktdma 0x4202 0>, /* mgmnt rsp slice 0 */
-				<&main_pktdma 0x4203 0>; /* mgmnt rsp slice 1 */
+				<&main_pktdma 0x4201 15>; /* ingress slice 1 */
 		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
 					"tx1-0", "tx1-1", "tx1-2", "tx1-3",
-					"rx0", "rx1",
-					"rxmgm0", "rxmgm1";
+					"rx0", "rx1";
 
 		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
 				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-x27-gpio1-spi1-uart3.dtso +4 -4
index 996c42ec4253..bea8efa3e909 100644
@@ -20,13 +20,13 @@ aliases {
 };
 
 &main_pmx0 {
-	main_gpio1_exp_header_gpio_pins_default: main-gpio1-exp-header-gpio-pins-default {
+	main_gpio1_exp_header_gpio_pins_default: main-gpio1-exp-header-gpio-default-pins {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0220, PIN_INPUT, 7)	/* (D14) SPI1_CS1.GPIO1_48 */
 		>;
 	};
 
-	main_spi1_pins_default: main-spi1-pins-default {
+	main_spi1_pins_default: main-spi1-default-pins {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0224, PIN_INPUT, 0)	/* (C14) SPI1_CLK */
 			AM64X_IOPAD(0x021C, PIN_OUTPUT, 0)	/* (B14) SPI1_CS0 */
@@ -35,7 +35,7 @@ AM64X_IOPAD(0x022C, PIN_INPUT, 0)	/* (A15) SPI1_D1 */
 		>;
 	};
 
-	main_uart3_pins_default: main-uart3-pins-default {
+	main_uart3_pins_default: main-uart3-default-pins {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0048, PIN_INPUT, 2)       /* (U20) GPMC0_AD3.UART3_RXD */
 			AM64X_IOPAD(0x004c, PIN_OUTPUT, 2)      /* (U18) GPMC0_AD4.UART3_TXD */
@@ -52,7 +52,7 @@ &main_gpio1 {
 &main_spi1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_spi1_pins_default>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 	status = "okay";
 };
 
arch/arm64/include/asm/suspend.h +1 -1
index 0cde2f473971..eb60c9735553 100644
@@ -2,7 +2,7 @@
 #ifndef __ASM_SUSPEND_H
 #define __ASM_SUSPEND_H
 
-#define NR_CTX_REGS 13
+#define NR_CTX_REGS 14
 #define NR_CALLEE_SAVED_REGS 12
 
 /*
arch/arm64/mm/proc.S +8 -0
index 86818511962b..17df19647556 100644
@@ -100,6 +100,10 @@ SYM_FUNC_START(cpu_do_suspend)
 	 * call stack.
 	 */
 	str	x18, [x0, #96]
+alternative_if ARM64_HAS_TCR2
+	mrs	x2, REG_TCR2_EL1
+	str	x2, [x0, #104]
+alternative_else_nop_endif
 	ret
 SYM_FUNC_END(cpu_do_suspend)
 
@@ -134,6 +138,10 @@ SYM_FUNC_START(cpu_do_resume)
 	msr	tcr_el1, x8
 	msr	vbar_el1, x9
 	msr	mdscr_el1, x10
+alternative_if ARM64_HAS_TCR2
+	ldr	x2, [x0, #104]
+	msr	REG_TCR2_EL1, x2
+alternative_else_nop_endif
 
 	msr	sctlr_el1, x12
 	set_this_cpu_offset x13
arch/csky/mm/fault.c +2 -2
index a6ca7dff4215..7ff401108985 100644
@@ -45,8 +45,8 @@ static inline void csky_cmpxchg_fixup(struct pt_regs *regs)
 	if (trap_no(regs) != VEC_TLBMODIFIED)
 		return;
 
-	if (instruction_pointer(regs) == csky_cmpxchg_stw)
-		instruction_pointer_set(regs, csky_cmpxchg_ldw);
+	if (instruction_pointer(regs) == (unsigned long)&csky_cmpxchg_stw)
+		instruction_pointer_set(regs, (unsigned long)&csky_cmpxchg_ldw);
 	return;
 }
 #endif
arch/riscv/boot/Makefile +0 -4
index bfc3d0b75b9b..5301adf5f3f5 100644
@@ -31,11 +31,7 @@ $(obj)/xipImage: vmlinux FORCE
 
 endif
 
-ifdef CONFIG_RELOCATABLE
-$(obj)/Image: vmlinux.unstripped FORCE
-else
 $(obj)/Image: vmlinux FORCE
-endif
 	$(call if_changed,objcopy)
 
 $(obj)/Image.gz: $(obj)/Image FORCE
arch/riscv/include/asm/pgtable.h +0 -4
index 5a08eb5fe99f..30d1ea93dde3 100644
@@ -124,10 +124,6 @@
 #ifdef CONFIG_64BIT
 #include <asm/pgtable-64.h>
 
-#define VA_USER_SV39 (UL(1) << (VA_BITS_SV39 - 1))
-#define VA_USER_SV48 (UL(1) << (VA_BITS_SV48 - 1))
-#define VA_USER_SV57 (UL(1) << (VA_BITS_SV57 - 1))
-
 #define MMAP_VA_BITS_64 ((VA_BITS >= VA_BITS_SV48) ? VA_BITS_SV48 : VA_BITS)
 #define MMAP_MIN_VA_BITS_64 (VA_BITS_SV39)
 #define MMAP_VA_BITS (is_compat_task() ? VA_BITS_SV32 : MMAP_VA_BITS_64)
arch/riscv/kernel/cpufeature.c +11 -12
index 72ca768f4e91..2367e9755524 100644
@@ -279,23 +279,22 @@ static const unsigned int riscv_a_exts[] = {
 	RISCV_ISA_EXT_ZALRSC,
 };
 
+#define RISCV_ISA_EXT_ZKN	\
+	RISCV_ISA_EXT_ZBKB,	\
+	RISCV_ISA_EXT_ZBKC,	\
+	RISCV_ISA_EXT_ZBKX,	\
+	RISCV_ISA_EXT_ZKND,	\
+	RISCV_ISA_EXT_ZKNE,	\
+	RISCV_ISA_EXT_ZKNH
+
 static const unsigned int riscv_zk_bundled_exts[] = {
-	RISCV_ISA_EXT_ZBKB,
-	RISCV_ISA_EXT_ZBKC,
-	RISCV_ISA_EXT_ZBKX,
-	RISCV_ISA_EXT_ZKND,
-	RISCV_ISA_EXT_ZKNE,
+	RISCV_ISA_EXT_ZKN,
 	RISCV_ISA_EXT_ZKR,
-	RISCV_ISA_EXT_ZKT,
+	RISCV_ISA_EXT_ZKT
 };
 
 static const unsigned int riscv_zkn_bundled_exts[] = {
-	RISCV_ISA_EXT_ZBKB,
-	RISCV_ISA_EXT_ZBKC,
-	RISCV_ISA_EXT_ZBKX,
-	RISCV_ISA_EXT_ZKND,
-	RISCV_ISA_EXT_ZKNE,
-	RISCV_ISA_EXT_ZKNH,
+	RISCV_ISA_EXT_ZKN
 };
 
 static const unsigned int riscv_zks_bundled_exts[] = {
arch/sparc/kernel/pci.c +23 -0
index a9448088e762..b290107170e9 100644
@@ -181,6 +181,28 @@ static int __init ofpci_debug(char *str)
 
 __setup("ofpci_debug=", ofpci_debug);
 
+static void of_fixup_pci_pref(struct pci_dev *dev, int index,
+			      struct resource *res)
+{
+	struct pci_bus_region region;
+
+	if (!(res->flags & IORESOURCE_MEM_64))
+		return;
+
+	if (!resource_size(res))
+		return;
+
+	pcibios_resource_to_bus(dev->bus, &region, res);
+	if (region.end <= ~((u32)0))
+		return;
+
+	if (!(res->flags & IORESOURCE_PREFETCH)) {
+		res->flags |= IORESOURCE_PREFETCH;
+		pci_info(dev, "reg 0x%x: fixup: pref added to 64-bit resource\n",
+			 index);
+	}
+}
+
 static unsigned long pci_parse_of_flags(u32 addr0)
 {
 	unsigned long flags = 0;
@@ -244,6 +266,7 @@ static void pci_parse_of_addrs(struct platform_device *op,
 		res->end = op_res->end;
 		res->flags = flags;
 		res->name = pci_name(dev);
+		of_fixup_pci_pref(dev, i, res);
 
 		pci_info(dev, "reg 0x%x: %pR\n", i, res);
 	}
block/blk-integrity.c +18 -5
index 9b27963680dc..964eebbee14d 100644
@@ -140,14 +140,21 @@ EXPORT_SYMBOL_GPL(blk_rq_integrity_map_user);
 bool blk_integrity_merge_rq(struct request_queue *q, struct request *req,
 			    struct request *next)
 {
+	struct bio_integrity_payload *bip, *bip_next;
+
 	if (blk_integrity_rq(req) == 0 && blk_integrity_rq(next) == 0)
 		return true;
 
 	if (blk_integrity_rq(req) == 0 || blk_integrity_rq(next) == 0)
 		return false;
 
-	if (bio_integrity(req->bio)->bip_flags !=
-	    bio_integrity(next->bio)->bip_flags)
+	bip = bio_integrity(req->bio);
+	bip_next = bio_integrity(next->bio);
+	if (bip->bip_flags != bip_next->bip_flags)
+		return false;
+
+	if (bip->bip_flags & BIP_CHECK_APPTAG &&
+	    bip->app_tag != bip_next->app_tag)
 		return false;
 
 	if (req->nr_integrity_segments + next->nr_integrity_segments >
@@ -163,15 +170,21 @@ bool blk_integrity_merge_rq(struct request_queue *q, struct request *req,
 bool blk_integrity_merge_bio(struct request_queue *q, struct request *req,
 			     struct bio *bio)
 {
+	struct bio_integrity_payload *bip, *bip_bio = bio_integrity(bio);
 	int nr_integrity_segs;
 
-	if (blk_integrity_rq(req) == 0 && bio_integrity(bio) == NULL)
+	if (blk_integrity_rq(req) == 0 && bip_bio == NULL)
 		return true;
 
-	if (blk_integrity_rq(req) == 0 || bio_integrity(bio) == NULL)
+	if (blk_integrity_rq(req) == 0 || bip_bio == NULL)
+		return false;
+
+	bip = bio_integrity(req->bio);
+	if (bip->bip_flags != bip_bio->bip_flags)
 		return false;
 
-	if (bio_integrity(req->bio)->bip_flags != bio_integrity(bio)->bip_flags)
+	if (bip->bip_flags & BIP_CHECK_APPTAG &&
+	    bip->app_tag != bip_bio->app_tag)
 		return false;
 
 	nr_integrity_segs = blk_rq_count_integrity_sg(q, bio);
block/blk-settings.c +3 -4
index d74b13ec8e54..f2c1940fe6f1 100644
@@ -148,10 +148,9 @@ static int blk_validate_integrity_limits(struct queue_limits *lim)
 		return -EINVAL;
 	}
 
-	if (bi->pi_tuple_size > bi->metadata_size) {
-		pr_warn("pi_tuple_size (%u) exceeds metadata_size (%u)\n",
-			 bi->pi_tuple_size,
-			 bi->metadata_size);
+	if (bi->pi_offset + bi->pi_tuple_size > bi->metadata_size) {
+		pr_warn("pi_offset (%u) + pi_tuple_size (%u) exceeds metadata_size (%u)\n",
+			bi->pi_offset, bi->pi_tuple_size, bi->metadata_size);
 		return -EINVAL;
 	}
 
drivers/accel/amdxdna/aie2_pci.c +6 -0
index 43f725e1a2d7..6e07793bbeac 100644
@@ -17,6 +17,7 @@
 #include <linux/iopoll.h>
 #include <linux/pci.h>
 #include <linux/xarray.h>
+#include <asm/hypervisor.h>
 
 #include "aie2_msg_priv.h"
 #include "aie2_pci.h"
@@ -486,6 +487,11 @@ static int aie2_init(struct amdxdna_dev *xdna)
 	unsigned long bars = 0;
 	int i, nvec, ret;
 
+	if (!hypervisor_is_type(X86_HYPER_NATIVE)) {
+		XDNA_ERR(xdna, "Running under hypervisor not supported");
+		return -EINVAL;
+	}
+
 	ndev = drmm_kzalloc(&xdna->ddev, sizeof(*ndev), GFP_KERNEL);
 	if (!ndev)
 		return -ENOMEM;
drivers/android/binder/page_range.rs +0 -3
index 9379038f61f5..fdd97112ef5c 100644
@@ -727,8 +727,5 @@ fn drop(self: Pin<&mut Self>) {
     drop(mm);
     drop(page);
 
-    // SAFETY: We just unlocked the lru lock, but it should be locked when we return.
-    unsafe { bindings::spin_lock(&raw mut (*lru).lock) };
-
     LRU_REMOVED_ENTRY
 }
drivers/ata/libata-core.c +3 -0
index f48fb63d7e85..1216b4f2eb90 100644
@@ -4132,6 +4132,9 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
 	{ "ST3320[68]13AS",	"SD1[5-9]",	ATA_QUIRK_NONCQ |
 						ATA_QUIRK_FIRMWARE_WARN },
 
+	/* Seagate disks with LPM issues */
+	{ "ST2000DM008-2FR102",	NULL,		ATA_QUIRK_NOLPM },
+
 	/* drives which fail FPDMA_AA activation (some may freeze afterwards)
 	   the ST disks also have LPM issues */
 	{ "ST1000LM024 HN-M101MBB", NULL,	ATA_QUIRK_BROKEN_FPDMA_AA |
drivers/atm/he.c +2 -1
index ad91cc6a34fc..92a041d5387b 100644
@@ -1587,7 +1587,8 @@ he_stop(struct he_dev *he_dev)
 				  he_dev->tbrq_base, he_dev->tbrq_phys);
 
 	if (he_dev->tpdrq_base)
-		dma_free_coherent(&he_dev->pci_dev->dev, CONFIG_TBRQ_SIZE * sizeof(struct he_tbrq),
+		dma_free_coherent(&he_dev->pci_dev->dev,
+				  CONFIG_TPDRQ_SIZE * sizeof(struct he_tpdrq),
 				  he_dev->tpdrq_base, he_dev->tpdrq_phys);
 
 	dma_pool_destroy(he_dev->tpd_pool);
drivers/block/ublk_drv.c +28 -21

88 lines not on this page · raw message

drivers/counter/104-quad-8.c +14 -6
index ce81fc4e1ae7..573b2fe93253 100644
@@ -1192,6 +1192,7 @@ static irqreturn_t quad8_irq_handler(int irq, void *private)
 {
 	struct counter_device *counter = private;
 	struct quad8 *const priv = counter_priv(counter);
+	struct device *dev = counter->parent;
 	unsigned int status;
 	unsigned long irq_status;
 	unsigned long channel;
@@ -1200,8 +1201,11 @@ static irqreturn_t quad8_irq_handler(int irq, void *private)
 	int ret;
 
 	ret = regmap_read(priv->map, QUAD8_INTERRUPT_STATUS, &status);
-	if (ret)
-		return ret;
+	if (ret) {
+		dev_WARN_ONCE(dev, true,
+			"Attempt to read Interrupt Status Register failed: %d\n", ret);
+		return IRQ_NONE;
+	}
 	if (!status)
 		return IRQ_NONE;
 
@@ -1223,8 +1227,9 @@ static irqreturn_t quad8_irq_handler(int irq, void *private)
 				break;
 		default:
 			/* should never reach this path */
-			WARN_ONCE(true, "invalid interrupt trigger function %u configured for channel %lu\n",
-				  flg_pins, channel);
+			dev_WARN_ONCE(dev, true,
+				"invalid interrupt trigger function %u configured for channel %lu\n",
+				flg_pins, channel);
 			continue;
 		}
 
@@ -1232,8 +1237,11 @@ static irqreturn_t quad8_irq_handler(int irq, void *private)
 	}
 
 	ret = regmap_write(priv->map, QUAD8_CHANNEL_OPERATION, CLEAR_PENDING_INTERRUPTS);
-	if (ret)
-		return ret;
+	if (ret) {
+		dev_WARN_ONCE(dev, true,
+			"Attempt to clear pending interrupts by writing to Channel Operation Register failed: %d\n", ret);
+		return IRQ_HANDLED;
+	}
 
 	return IRQ_HANDLED;
 }
drivers/counter/interrupt-cnt.c +1 -2
index 6c0c1d2d7027..e6100b5fb082 100644
@@ -229,8 +229,7 @@ static int interrupt_cnt_probe(struct platform_device *pdev)
 
 	irq_set_status_flags(priv->irq, IRQ_NOAUTOEN);
 	ret = devm_request_irq(dev, priv->irq, interrupt_cnt_isr,
-			       IRQF_TRIGGER_RISING | IRQF_NO_THREAD,
-			       dev_name(dev), counter);
+			       IRQF_TRIGGER_RISING, dev_name(dev), counter);
 	if (ret)
 		return ret;
 
drivers/crypto/intel/qat/qat_common/adf_aer.c +0 -2
index 35679b21ff63..a098689ab5b7 100644
@@ -41,8 +41,6 @@ static pci_ers_result_t adf_error_detected(struct pci_dev *pdev,
 	adf_error_notifier(accel_dev);
 	adf_pf2vf_notify_fatal_error(accel_dev);
 	adf_dev_restarting_notify(accel_dev);
-	adf_pf2vf_notify_restarting(accel_dev);
-	adf_pf2vf_wait_for_restarting_complete(accel_dev);
 	pci_clear_master(pdev);
 	adf_dev_down(accel_dev);
 
drivers/gpio/gpio-it87.c +3 -8
index 5d677bcfccf2..2ad3c239367b 100644
@@ -12,6 +12,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
+#include <linux/cleanup.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -241,23 +242,17 @@ static int it87_gpio_direction_out(struct gpio_chip *chip,
 	mask = 1 << (gpio_num % 8);
 	group = (gpio_num / 8);
 
-	spin_lock(&it87_gpio->lock);
+	guard(spinlock)(&it87_gpio->lock);
 
 	rc = superio_enter();
 	if (rc)
-		goto exit;
+		return rc;
 
 	/* set the output enable bit */
 	superio_set_mask(mask, group + it87_gpio->output_base);
 
 	rc = it87_gpio_set(chip, gpio_num, val);
-	if (rc)
-		goto exit;
-
 	superio_exit();
-
-exit:
-	spin_unlock(&it87_gpio->lock);
 	return rc;
 }
 
drivers/gpio/gpio-mpsse.c +216 -11

378 lines not on this page · raw message

drivers/gpio/gpio-pca953x.c +24 -1
index b46927f55038..b2de916107f4 100644
@@ -940,14 +940,35 @@ static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pendin
 	DECLARE_BITMAP(old_stat, MAX_LINE);
 	DECLARE_BITMAP(cur_stat, MAX_LINE);
 	DECLARE_BITMAP(new_stat, MAX_LINE);
+	DECLARE_BITMAP(int_stat, MAX_LINE);
 	DECLARE_BITMAP(trigger, MAX_LINE);
 	DECLARE_BITMAP(edges, MAX_LINE);
 	int ret;
 
+	if (chip->driver_data & PCA_PCAL) {
+		/* Read INT_STAT before it is cleared by the input-port read. */
+		ret = pca953x_read_regs(chip, PCAL953X_INT_STAT, int_stat);
+		if (ret)
+			return false;
+	}
+
 	ret = pca953x_read_regs(chip, chip->regs->input, cur_stat);
 	if (ret)
 		return false;
 
+	if (chip->driver_data & PCA_PCAL) {
+		/* Detect short pulses via INT_STAT. */
+		bitmap_and(trigger, int_stat, chip->irq_mask, gc->ngpio);
+
+		/* Apply filter for rising/falling edge selection. */
+		bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise,
+			       cur_stat, gc->ngpio);
+
+		bitmap_and(int_stat, new_stat, trigger, gc->ngpio);
+	} else {
+		bitmap_zero(int_stat, gc->ngpio);
+	}
+
 	/* Remove output pins from the equation */
 	pca953x_read_regs(chip, chip->regs->direction, reg_direction);
 
@@ -961,7 +982,8 @@ static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pendin
 
 	if (bitmap_empty(chip->irq_trig_level_high, gc->ngpio) &&
 	    bitmap_empty(chip->irq_trig_level_low, gc->ngpio)) {
-		if (bitmap_empty(trigger, gc->ngpio))
+		if (bitmap_empty(trigger, gc->ngpio) &&
+		    bitmap_empty(int_stat, gc->ngpio))
 			return false;
 	}
 
@@ -969,6 +991,7 @@ static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pendin
 	bitmap_and(old_stat, chip->irq_trig_raise, new_stat, gc->ngpio);
 	bitmap_or(edges, old_stat, cur_stat, gc->ngpio);
 	bitmap_and(pending, edges, trigger, gc->ngpio);
+	bitmap_or(pending, pending, int_stat, gc->ngpio);
 
 	bitmap_and(cur_stat, new_stat, chip->irq_trig_level_high, gc->ngpio);
 	bitmap_and(cur_stat, cur_stat, chip->irq_mask, gc->ngpio);
drivers/gpio/gpio-rockchip.c +1 -0
index 47174eb3ba76..bae2061f15fc 100644
@@ -593,6 +593,7 @@ static int rockchip_gpiolib_register(struct rockchip_pin_bank *bank)
 	gc->ngpio = bank->nr_pins;
 	gc->label = bank->name;
 	gc->parent = bank->dev;
+	gc->can_sleep = true;
 
 	ret = gpiochip_add_data(gc, bank);
 	if (ret) {
drivers/gpio/gpiolib-cdev.c +1 -1
index d8d93059ac04..d925e75d1dce 100644
@@ -2828,7 +2828,7 @@ int gpiolib_cdev_register(struct gpio_device *gdev, dev_t devt)
 	if (!gc)
 		return -ENODEV;
 
-	chip_dbg(gc, "added GPIO chardev (%d:%d)\n", MAJOR(devt), gdev->id);
+	gpiochip_dbg(gc, "added GPIO chardev (%d:%d)\n", MAJOR(devt), gdev->id);
 
 	return 0;
 }
drivers/gpio/gpiolib-sysfs.c +1 -1
index 9a849245b358..7d5fc1ea2aa5 100644
@@ -1091,7 +1091,7 @@ static int gpiofind_sysfs_register(struct gpio_chip *gc, const void *data)
 
 	ret = gpiochip_sysfs_register(gdev);
 	if (ret)
-		chip_err(gc, "failed to register the sysfs entry: %d\n", ret);
+		gpiochip_err(gc, "failed to register the sysfs entry: %d\n", ret);
 
 	return 0;
 }
drivers/gpio/gpiolib.c +61 -67

307 lines not on this page · raw message

drivers/gpio/gpiolib.h +4 -4
index 2a003a7311e7..6ee29d022239 100644
@@ -309,13 +309,13 @@ do { \
 
 /* With chip prefix */
 
-#define chip_err(gc, fmt, ...)					\
+#define gpiochip_err(gc, fmt, ...) \
 	dev_err(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
-#define chip_warn(gc, fmt, ...)					\
+#define gpiochip_warn(gc, fmt, ...) \
 	dev_warn(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
-#define chip_info(gc, fmt, ...)					\
+#define gpiochip_info(gc, fmt, ...) \
 	dev_info(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
-#define chip_dbg(gc, fmt, ...)					\
+#define gpiochip_dbg(gc, fmt, ...) \
 	dev_dbg(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS__)
 
 #endif /* GPIOLIB_H */
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +6 -0
index b3e6b3fcdf2c..a8b507fd8567 100644
@@ -201,6 +201,9 @@ static enum amd_ip_block_type
 		type = (amdgpu_device_ip_get_ip_block(adev, AMD_IP_BLOCK_TYPE_JPEG)) ?
 				   AMD_IP_BLOCK_TYPE_JPEG : AMD_IP_BLOCK_TYPE_VCN;
 		break;
+	case AMDGPU_HW_IP_VPE:
+		type = AMD_IP_BLOCK_TYPE_VPE;
+		break;
 	default:
 		type = AMD_IP_BLOCK_TYPE_NUM;
 		break;
@@ -721,6 +724,9 @@ int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
 		case AMD_IP_BLOCK_TYPE_UVD:
 			count = adev->uvd.num_uvd_inst;
 			break;
+		case AMD_IP_BLOCK_TYPE_VPE:
+			count = adev->vpe.num_instances;
+			break;
 		/* For all other IP block types not listed in the switch statement
 		 * the ip status is valid here and the instance count is one.
 		 */
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c +1 -1
index a499449fcb06..d2bc169e84b0 100644
@@ -312,7 +312,7 @@ void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid)
 {
 	kfd_smi_event_add(pid, node, KFD_SMI_EVENT_QUEUE_RESTORE,
 			  KFD_EVENT_FMT_QUEUE_RESTORE(ktime_get_boottime_ns(), pid,
-			  node->id, 0));
+			  node->id, '0'));
 }
 
 void kfd_smi_event_queue_restore_rescheduled(struct mm_struct *mm)
drivers/gpu/drm/amd/display/dc/dml/Makefile +5 -1
index b357683b4255..268b5fbdb48b 100644
@@ -30,7 +30,11 @@ dml_rcflags := $(CC_FLAGS_NO_FPU)
 
 ifneq ($(CONFIG_FRAME_WARN),0)
     ifeq ($(filter y,$(CONFIG_KASAN)$(CONFIG_KCSAN)),y)
-        frame_warn_limit := 3072
+        ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_COMPILE_TEST),yy)
+            frame_warn_limit := 4096
+        else
+            frame_warn_limit := 3072
+        endif
     else
         frame_warn_limit := 2048
     endif
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c +4 -7
index ebc220b29d14..39be5a58f837 100644
@@ -1098,13 +1098,13 @@ void dce110_enable_audio_stream(struct pipe_ctx *pipe_ctx)
 			if (dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL)
 				num_audio++;
 		}
+		if (num_audio >= 1 && clk_mgr->funcs->enable_pme_wa) {
+			/*wake AZ from D3 first before access az endpoint*/
+			clk_mgr->funcs->enable_pme_wa(clk_mgr);
+		}
 
 		pipe_ctx->stream_res.audio->funcs->az_enable(pipe_ctx->stream_res.audio);
 
-		if (num_audio >= 1 && clk_mgr->funcs->enable_pme_wa)
-			/*this is the first audio. apply the PME w/a in order to wake AZ from D3*/
-			clk_mgr->funcs->enable_pme_wa(clk_mgr);
-
 		link_hwss->enable_audio_packet(pipe_ctx);
 
 		if (pipe_ctx->stream_res.audio)
@@ -1458,9 +1458,6 @@ void build_audio_output(
 						state->clk_mgr);
 	}
 
-	audio_output->pll_info.feed_back_divider =
-			pipe_ctx->pll_settings.feedback_divider;
-
 	audio_output->pll_info.dto_source =
 		translate_to_dto_source(
 			pipe_ctx->stream_res.tg->inst + 1);
drivers/gpu/drm/amd/display/include/audio_types.h +5 -7
index e4a26143f14c..6699ad4fa825 100644
@@ -47,15 +47,15 @@ struct audio_crtc_info {
 	uint32_t h_total;
 	uint32_t h_active;
 	uint32_t v_active;
-	uint32_t pixel_repetition;
 	uint32_t requested_pixel_clock_100Hz; /* in 100Hz */
 	uint32_t calculated_pixel_clock_100Hz; /* in 100Hz */
-	uint32_t refresh_rate;
+	uint32_t dsc_bits_per_pixel;
+	uint32_t dsc_num_slices;
 	enum dc_color_depth color_depth;
 	enum dc_pixel_encoding pixel_encoding;
+	uint16_t refresh_rate;
+	uint8_t pixel_repetition;
 	bool interlaced;
-	uint32_t dsc_bits_per_pixel;
-	uint32_t dsc_num_slices;
 };
 struct azalia_clock_info {
 	uint32_t pixel_clock_in_10khz;
@@ -78,11 +78,9 @@ enum audio_dto_source {
 
 struct audio_pll_info {
 	uint32_t audio_dto_source_clock_in_khz;
-	uint32_t feed_back_divider;
+	uint32_t ss_percentage;
 	enum audio_dto_source dto_source;
 	bool ss_enabled;
-	uint32_t ss_percentage;
-	uint32_t ss_percentage_divider;
 };
 
 struct audio_channel_associate_info {
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c +15 -18
index 0028f10ead42..a2fcf678182b 100644
@@ -2454,24 +2454,21 @@ static int navi10_update_pcie_parameters(struct smu_context *smu,
 	}
 
 	for (i = 0; i < NUM_LINK_LEVELS; i++) {
-		if (pptable->PcieGenSpeed[i] > pcie_gen_cap ||
-			pptable->PcieLaneCount[i] > pcie_width_cap) {
-			dpm_context->dpm_tables.pcie_table.pcie_gen[i] =
-									pptable->PcieGenSpeed[i] > pcie_gen_cap ?
-									pcie_gen_cap : pptable->PcieGenSpeed[i];
-			dpm_context->dpm_tables.pcie_table.pcie_lane[i] =
-									pptable->PcieLaneCount[i] > pcie_width_cap ?
-									pcie_width_cap : pptable->PcieLaneCount[i];
-			smu_pcie_arg = i << 16;
-			smu_pcie_arg |= pcie_gen_cap << 8;
-			smu_pcie_arg |= pcie_width_cap;
-			ret = smu_cmn_send_smc_msg_with_param(smu,
-							SMU_MSG_OverridePcieParameters,
-							smu_pcie_arg,
-							NULL);
-			if (ret)
-				break;
-		}
+		dpm_context->dpm_tables.pcie_table.pcie_gen[i] =
+			pptable->PcieGenSpeed[i] > pcie_gen_cap ?
+			pcie_gen_cap : pptable->PcieGenSpeed[i];
+		dpm_context->dpm_tables.pcie_table.pcie_lane[i] =
+			pptable->PcieLaneCount[i] > pcie_width_cap ?
+			pcie_width_cap : pptable->PcieLaneCount[i];
+		smu_pcie_arg = i << 16;
+		smu_pcie_arg |= dpm_context->dpm_tables.pcie_table.pcie_gen[i] << 8;
+		smu_pcie_arg |= dpm_context->dpm_tables.pcie_table.pcie_lane[i];
+		ret = smu_cmn_send_smc_msg_with_param(smu,
+						      SMU_MSG_OverridePcieParameters,
+						      smu_pcie_arg,
+						      NULL);
+		if (ret)
+			return ret;
 	}
 
 	return ret;
drivers/gpu/drm/drm_atomic_helper.c +99 -23

210 lines not on this page · raw message

drivers/gpu/drm/mediatek/mtk_dsi.c +0 -6
index 0e2bcd5f67b7..d7726091819c 100644
@@ -1002,12 +1002,6 @@ static int mtk_dsi_host_attach(struct mipi_dsi_host *host,
 			return PTR_ERR(dsi->next_bridge);
 	}
 
-	/*
-	 * set flag to request the DSI host bridge be pre-enabled before device bridge
-	 * in the chain, so the DSI host is ready when the device bridge is pre-enabled
-	 */
-	dsi->next_bridge->pre_enable_prev_first = true;
-
 	drm_bridge_add(&dsi->bridge);
 
 	ret = component_add(host->dev, &mtk_dsi_component_ops);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c +3 -0
index 35d1fcef520b..c456a9626823 100644
@@ -30,6 +30,9 @@ ad102_gsp = {
 
 	.booter.ctor = ga102_gsp_booter_ctor,
 
+	.fwsec_sb.ctor = tu102_gsp_fwsec_sb_ctor,
+	.fwsec_sb.dtor = tu102_gsp_fwsec_sb_dtor,
+
 	.dtor = r535_gsp_dtor,
 	.oneinit = tu102_gsp_oneinit,
 	.init = tu102_gsp_init,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c +1 -7
index 503760246660..851140e80122 100644
@@ -337,18 +337,12 @@ nvkm_gsp_fwsec_sb(struct nvkm_gsp *gsp)
 }
 
 int
-nvkm_gsp_fwsec_sb_ctor(struct nvkm_gsp *gsp)
+nvkm_gsp_fwsec_sb_init(struct nvkm_gsp *gsp)
 {
 	return nvkm_gsp_fwsec_init(gsp, &gsp->fws.falcon.sb, "fwsec-sb",
 				   NVFW_FALCON_APPIF_DMEMMAPPER_CMD_SB);
 }
 
-void
-nvkm_gsp_fwsec_sb_dtor(struct nvkm_gsp *gsp)
-{
-	nvkm_falcon_fw_dtor(&gsp->fws.falcon.sb);
-}
-
 int
 nvkm_gsp_fwsec_frts(struct nvkm_gsp *gsp)
 {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga100.c +3 -0
index d201e8697226..27a13aeccd3c 100644
@@ -47,6 +47,9 @@ ga100_gsp = {
 
 	.booter.ctor = tu102_gsp_booter_ctor,
 
+	.fwsec_sb.ctor = tu102_gsp_fwsec_sb_ctor,
+	.fwsec_sb.dtor = tu102_gsp_fwsec_sb_dtor,
+
 	.dtor = r535_gsp_dtor,
 	.oneinit = tu102_gsp_oneinit,
 	.init = tu102_gsp_init,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c +3 -0
index 917f7e2f6c46..b6b3eb6f4c00 100644
@@ -158,6 +158,9 @@ ga102_gsp_r535 = {
 
 	.booter.ctor = ga102_gsp_booter_ctor,
 
+	.fwsec_sb.ctor = tu102_gsp_fwsec_sb_ctor,
+	.fwsec_sb.dtor = tu102_gsp_fwsec_sb_dtor,
+
 	.dtor = r535_gsp_dtor,
 	.oneinit = tu102_gsp_oneinit,
 	.init = tu102_gsp_init,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h +21 -2
index 86bdd203bc10..9dd66a2e3801 100644
@@ -7,9 +7,8 @@ enum nvkm_acr_lsf_id;
 
 int nvkm_gsp_fwsec_frts(struct nvkm_gsp *);
 
-int nvkm_gsp_fwsec_sb_ctor(struct nvkm_gsp *);
 int nvkm_gsp_fwsec_sb(struct nvkm_gsp *);
-void nvkm_gsp_fwsec_sb_dtor(struct nvkm_gsp *);
+int nvkm_gsp_fwsec_sb_init(struct nvkm_gsp *gsp);
 
 struct nvkm_gsp_fwif {
 	int version;
@@ -52,6 +51,11 @@ struct nvkm_gsp_func {
 			    struct nvkm_falcon *, struct nvkm_falcon_fw *);
 	} booter;
 
+	struct {
+		int (*ctor)(struct nvkm_gsp *);
+		void (*dtor)(struct nvkm_gsp *);
+	} fwsec_sb;
+
 	void (*dtor)(struct nvkm_gsp *);
 	int (*oneinit)(struct nvkm_gsp *);
 	int (*init)(struct nvkm_gsp *);
@@ -67,6 +71,8 @@ extern const struct nvkm_falcon_func tu102_gsp_flcn;
 extern const struct nvkm_falcon_fw_func tu102_gsp_fwsec;
 int tu102_gsp_booter_ctor(struct nvkm_gsp *, const char *, const struct firmware *,
 			  struct nvkm_falcon *, struct nvkm_falcon_fw *);
+int tu102_gsp_fwsec_sb_ctor(struct nvkm_gsp *);
+void tu102_gsp_fwsec_sb_dtor(struct nvkm_gsp *);
 int tu102_gsp_oneinit(struct nvkm_gsp *);
 int tu102_gsp_init(struct nvkm_gsp *);
 int tu102_gsp_fini(struct nvkm_gsp *, bool suspend);
@@ -91,5 +97,18 @@ int r535_gsp_fini(struct nvkm_gsp *, bool suspend);
 int nvkm_gsp_new_(const struct nvkm_gsp_fwif *, struct nvkm_device *, enum nvkm_subdev_type, int,
 		  struct nvkm_gsp **);
 
+static inline int nvkm_gsp_fwsec_sb_ctor(struct nvkm_gsp *gsp)
+{
+	if (gsp->func->fwsec_sb.ctor)
+		return gsp->func->fwsec_sb.ctor(gsp);
+	return 0;
+}
+
+static inline void nvkm_gsp_fwsec_sb_dtor(struct nvkm_gsp *gsp)
+{
+	if (gsp->func->fwsec_sb.dtor)
+		gsp->func->fwsec_sb.dtor(gsp);
+}
+
 extern const struct nvkm_gsp_func gv100_gsp;
 #endif
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c +15 -0
index 81e56da0474a..04b642a1f730 100644
@@ -30,6 +30,18 @@
 #include <nvfw/fw.h>
 #include <nvfw/hs.h>
 
+int
+tu102_gsp_fwsec_sb_ctor(struct nvkm_gsp *gsp)
+{
+	return nvkm_gsp_fwsec_sb_init(gsp);
+}
+
+void
+tu102_gsp_fwsec_sb_dtor(struct nvkm_gsp *gsp)
+{
+	nvkm_falcon_fw_dtor(&gsp->fws.falcon.sb);
+}
+
 static int
 tu102_gsp_booter_unload(struct nvkm_gsp *gsp, u32 mbox0, u32 mbox1)
 {
@@ -370,6 +382,9 @@ tu102_gsp = {
 
 	.booter.ctor = tu102_gsp_booter_ctor,
 
+	.fwsec_sb.ctor = tu102_gsp_fwsec_sb_ctor,
+	.fwsec_sb.dtor = tu102_gsp_fwsec_sb_dtor,
+
 	.dtor = r535_gsp_dtor,
 	.oneinit = tu102_gsp_oneinit,
 	.init = tu102_gsp_init,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu116.c +3 -0
index 97eb046c25d0..58cf25842421 100644
@@ -30,6 +30,9 @@ tu116_gsp = {
 
 	.booter.ctor = tu102_gsp_booter_ctor,
 
+	.fwsec_sb.ctor = tu102_gsp_fwsec_sb_ctor,
+	.fwsec_sb.dtor = tu102_gsp_fwsec_sb_dtor,
+
 	.dtor = r535_gsp_dtor,
 	.oneinit = tu102_gsp_oneinit,
 	.init = tu102_gsp_init,
drivers/gpu/drm/pl111/pl111_drv.c +1 -1
index 56ff6a3fb483..d7dc83cf7b00 100644
@@ -295,7 +295,7 @@ static int pl111_amba_probe(struct amba_device *amba_dev,
 			       variant->name, priv);
 	if (ret != 0) {
 		dev_err(dev, "%s failed irq %d\n", __func__, ret);
-		return ret;
+		goto dev_put;
 	}
 
 	ret = pl111_modeset_init(drm);
drivers/gpu/drm/radeon/pptable.h +1 -1
index 969a8fb0ee9e..f4e71046dc91 100644
@@ -450,7 +450,7 @@ typedef struct _ClockInfoArray{
     //sizeof(ATOM_PPLIB_CLOCK_INFO)
     UCHAR ucEntrySize;
     
-    UCHAR clockInfo[] __counted_by(ucNumEntries);
+    UCHAR clockInfo[] /*__counted_by(ucNumEntries)*/;
 }ClockInfoArray;
 
 typedef struct _NonClockInfoArray{
drivers/gpu/drm/tidss/tidss_kms.c +27 -3
index c34eb90cddbe..9f5f98e707f2 100644
@@ -28,9 +28,33 @@ static void tidss_atomic_commit_tail(struct drm_atomic_state *old_state)
 
 	tidss_runtime_get(tidss);
 
-	drm_atomic_helper_commit_modeset_disables(ddev, old_state);
-	drm_atomic_helper_commit_planes(ddev, old_state, DRM_PLANE_COMMIT_ACTIVE_ONLY);
-	drm_atomic_helper_commit_modeset_enables(ddev, old_state);
+	/*
+	 * TI's OLDI and DSI encoders need to be set up before the crtc is
+	 * enabled. Thus drm_atomic_helper_commit_modeset_enables() and
+	 * drm_atomic_helper_commit_modeset_disables() cannot be used here, as
+	 * they enable the crtc before bridges' pre-enable, and disable the crtc
+	 * after bridges' post-disable.
+	 *
+	 * Open code the functions here and first call the bridges' pre-enables,
+	 * then crtc enable, then bridges' post-enable (and vice versa for
+	 * disable).
+	 */
+
+	drm_atomic_helper_commit_encoder_bridge_disable(ddev, old_state);
+	drm_atomic_helper_commit_crtc_disable(ddev, old_state);
+	drm_atomic_helper_commit_encoder_bridge_post_disable(ddev, old_state);
+
+	drm_atomic_helper_update_legacy_modeset_state(ddev, old_state);
+	drm_atomic_helper_calc_timestamping_constants(old_state);
+	drm_atomic_helper_commit_crtc_set_mode(ddev, old_state);
+
+	drm_atomic_helper_commit_planes(ddev, old_state,
+					DRM_PLANE_COMMIT_ACTIVE_ONLY);
+
+	drm_atomic_helper_commit_encoder_bridge_pre_enable(ddev, old_state);
+	drm_atomic_helper_commit_crtc_enable(ddev, old_state);
+	drm_atomic_helper_commit_encoder_bridge_enable(ddev, old_state);
+	drm_atomic_helper_commit_writebacks(ddev, old_state);
 
 	drm_atomic_helper_commit_hw_done(old_state);
 	drm_atomic_helper_wait_for_flip_done(ddev, old_state);
drivers/gpu/nova-core/Kconfig +1 -1
index 20d3e6d0d796..527920f9c4d3 100644
@@ -3,7 +3,7 @@ config NOVA_CORE
 	depends on 64BIT
 	depends on PCI
 	depends on RUST
-	depends on RUST_FW_LOADER_ABSTRACTIONS
+	select RUST_FW_LOADER_ABSTRACTIONS
 	select AUXILIARY_BUS
 	default n
 	help
drivers/hid/hid-quirks.c +9 -0
index c89a015686c0..6a8a7ca3d804 100644
@@ -232,6 +232,15 @@ static const struct hid_device_id hid_quirks[] = {
  * used as a driver. See hid_scan_report().
  */
 static const struct hid_device_id hid_have_special_driver[] = {
+#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921d) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9222) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9226) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9236) },
+#endif
 #if IS_ENABLED(CONFIG_HID_A4TECH)
 	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c +2 -2
index 636a68306501..7e220a4c5ded 100644
@@ -1593,7 +1593,7 @@ int thc_i2c_set_rx_max_size(struct thc_device *dev, u32 max_rx_size)
 	if (!max_rx_size)
 		return -EOPNOTSUPP;
 
-	ret = regmap_read(dev->thc_regmap, THC_M_PRT_SW_SEQ_STS_OFFSET, &val);
+	ret = regmap_read(dev->thc_regmap, THC_M_PRT_SPI_ICRRD_OPCODE_OFFSET, &val);
 	if (ret)
 		return ret;
 
@@ -1662,7 +1662,7 @@ int thc_i2c_set_rx_int_delay(struct thc_device *dev, u32 delay_us)
 	if (!delay_us)
 		return -EOPNOTSUPP;
 
-	ret = regmap_read(dev->thc_regmap, THC_M_PRT_SW_SEQ_STS_OFFSET, &val);
+	ret = regmap_read(dev->thc_regmap, THC_M_PRT_SPI_ICRRD_OPCODE_OFFSET, &val);
 	if (ret)
 		return ret;
 
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c +3 -1
index 82b8854843e0..a0c368aa7979 100644
@@ -232,6 +232,7 @@ static int setup_dma_buffers(struct thc_device *dev,
 		return 0;
 
 	memset(config->sgls, 0, sizeof(config->sgls));
+	memset(config->sgls_nent_pages, 0, sizeof(config->sgls_nent_pages));
 	memset(config->sgls_nent, 0, sizeof(config->sgls_nent));
 
 	cpu_addr = dma_alloc_coherent(dev->dev, prd_tbls_size,
@@ -254,6 +255,7 @@ static int setup_dma_buffers(struct thc_device *dev,
 		}
 		count = dma_map_sg(dev->dev, config->sgls[i], nent, dir);
 
+		config->sgls_nent_pages[i] = nent;
 		config->sgls_nent[i] = count;
 	}
 
@@ -299,7 +301,7 @@ static void release_dma_buffers(struct thc_device *dev,
 			continue;
 
 		dma_unmap_sg(dev->dev, config->sgls[i],
-			     config->sgls_nent[i],
+			     config->sgls_nent_pages[i],
 			     config->dir);
 
 		sgl_free(config->sgls[i]);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h +2 -0
index 78917400492c..541d33995baf 100644
@@ -91,6 +91,7 @@ struct thc_prd_table {
  * @dir: Direction of DMA for this config
  * @prd_tbls: PRD tables for current DMA
  * @sgls: Array of pointers to scatter-gather lists
+ * @sgls_nent_pages: Number of pages per scatter-gather list
  * @sgls_nent: Actual number of entries per scatter-gather list
  * @prd_tbl_num: Actual number of PRD tables
  * @max_packet_size: Size of the buffer needed for 1 DMA message (1 PRD table)
@@ -107,6 +108,7 @@ struct thc_dma_configuration {
 
 	struct thc_prd_table *prd_tbls;
 	struct scatterlist *sgls[PRD_TABLES_NUM];
+	u8 sgls_nent_pages[PRD_TABLES_NUM];
 	u8 sgls_nent[PRD_TABLES_NUM];
 	u8 prd_tbl_num;
 
drivers/irqchip/irq-gic-v5-its.c +1 -1
index 554485f0be1f..8e22134b9f48 100644
@@ -849,7 +849,7 @@ static int gicv5_its_map_event(struct gicv5_its_dev *its_dev, u16 event_id, u32
 
 	itte = gicv5_its_device_get_itte_ref(its_dev, event_id);
 
-	if (FIELD_GET(GICV5_ITTL2E_VALID, *itte))
+	if (FIELD_GET(GICV5_ITTL2E_VALID, le64_to_cpu(*itte)))
 		return -EEXIST;
 
 	itt_entry = FIELD_PREP(GICV5_ITTL2E_LPI_ID, lpi) |
drivers/md/dm-exception-store.h +1 -1
index b67976637538..061b4d310813 100644
@@ -29,7 +29,7 @@ typedef sector_t chunk_t;
  * chunk within the device.
  */
 struct dm_exception {
-	struct hlist_bl_node hash_list;
+	struct hlist_node hash_list;
 
 	chunk_t old_chunk;
 	chunk_t new_chunk;
drivers/md/dm-snap.c +34 -39

182 lines not on this page · raw message

drivers/md/dm-verity-fec.c +1 -3
index 72047b47a7a0..e41bde1d3b15 100644
@@ -413,10 +413,8 @@ int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io,
 	if (!verity_fec_is_enabled(v))
 		return -EOPNOTSUPP;
 
-	if (fio->level >= DM_VERITY_FEC_MAX_RECURSION) {
-		DMWARN_LIMIT("%s: FEC: recursion too deep", v->data_dev->name);
+	if (fio->level)
 		return -EIO;
-	}
 
 	fio->level++;
 
drivers/md/dm-verity-fec.h +0 -3
index 09123a612953..ec37e607cb3f 100644
@@ -23,9 +23,6 @@
 #define DM_VERITY_FEC_BUF_MAX \
 	(1 << (PAGE_SHIFT - DM_VERITY_FEC_BUF_RS_BITS))
 
-/* maximum recursion level for verity_fec_decode */
-#define DM_VERITY_FEC_MAX_RECURSION	4
-
 #define DM_VERITY_OPT_FEC_DEV		"use_fec_from_device"
 #define DM_VERITY_OPT_FEC_BLOCKS	"fec_blocks"
 #define DM_VERITY_OPT_FEC_START		"fec_start"
drivers/md/dm-verity-target.c +1 -1
index 66a00a8ccb39..c8695c079cfe 100644
@@ -1690,7 +1690,7 @@ static struct target_type verity_target = {
 	.name		= "verity",
 /* Note: the LSMs depend on the singleton and immutable features */
 	.features	= DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE,
-	.version	= {1, 12, 0},
+	.version	= {1, 13, 0},
 	.module		= THIS_MODULE,
 	.ctr		= verity_ctr,
 	.dtr		= verity_dtr,
drivers/misc/mei/hw-me-regs.h +2 -0
index a4f75dc36929..fa30899a5fa2 100644
@@ -122,6 +122,8 @@
 
 #define MEI_DEV_ID_WCL_P      0x4D70  /* Wildcat Lake P */
 
+#define MEI_DEV_ID_NVL_S      0x6E68  /* Nova Lake Point S */
+
 /*
  * MEI HW Section
  */
drivers/misc/mei/pci-me.c +2 -0
index 73cad914be9f..2a6e569558b9 100644
@@ -129,6 +129,8 @@ static const struct pci_device_id mei_me_pci_tbl[] = {
 
 	{MEI_PCI_DEVICE(MEI_DEV_ID_WCL_P, MEI_ME_PCH15_CFG)},
 
+	{MEI_PCI_DEVICE(MEI_DEV_ID_NVL_S, MEI_ME_PCH15_CFG)},
+
 	/* required last entry */
 	{0, }
 };
drivers/net/dsa/mv88e6xxx/chip.c +0 -23
index b4d48997bf46..09002c853b78 100644
@@ -3364,13 +3364,10 @@ static int mv88e6xxx_setup_upstream_port(struct mv88e6xxx_chip *chip, int port)
 
 static int mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port)
 {
-	struct device_node *phy_handle = NULL;
 	struct fwnode_handle *ports_fwnode;
 	struct fwnode_handle *port_fwnode;
 	struct dsa_switch *ds = chip->ds;
 	struct mv88e6xxx_port *p;
-	struct dsa_port *dp;
-	int tx_amp;
 	int err;
 	u16 reg;
 	u32 val;
@@ -3582,23 +3579,6 @@ static int mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port)
 			return err;
 	}
 
-	if (chip->info->ops->serdes_set_tx_amplitude) {
-		dp = dsa_to_port(ds, port);
-		if (dp)
-			phy_handle = of_parse_phandle(dp->dn, "phy-handle", 0);
-
-		if (phy_handle && !of_property_read_u32(phy_handle,
-							"tx-p2p-microvolt",
-							&tx_amp))
-			err = chip->info->ops->serdes_set_tx_amplitude(chip,
-								port, tx_amp);
-		if (phy_handle) {
-			of_node_put(phy_handle);
-			if (err)
-				return err;
-		}
-	}
-
 	/* Port based VLAN map: give each port the same default address
 	 * database, and allow bidirectional communication between the
 	 * CPU and DSA port(s), and the other ports.
@@ -4768,7 +4748,6 @@ static const struct mv88e6xxx_ops mv88e6176_ops = {
 	.serdes_irq_mapping = mv88e6352_serdes_irq_mapping,
 	.serdes_get_regs_len = mv88e6352_serdes_get_regs_len,
 	.serdes_get_regs = mv88e6352_serdes_get_regs,
-	.serdes_set_tx_amplitude = mv88e6352_serdes_set_tx_amplitude,
 	.gpio_ops = &mv88e6352_gpio_ops,
 	.phylink_get_caps = mv88e6352_phylink_get_caps,
 	.pcs_ops = &mv88e6352_pcs_ops,
@@ -5044,7 +5023,6 @@ static const struct mv88e6xxx_ops mv88e6240_ops = {
 	.serdes_irq_mapping = mv88e6352_serdes_irq_mapping,
 	.serdes_get_regs_len = mv88e6352_serdes_get_regs_len,
 	.serdes_get_regs = mv88e6352_serdes_get_regs,
-	.serdes_set_tx_amplitude = mv88e6352_serdes_set_tx_amplitude,
 	.gpio_ops = &mv88e6352_gpio_ops,
 	.avb_ops = &mv88e6352_avb_ops,
 	.ptp_ops = &mv88e6352_ptp_ops,
@@ -5481,7 +5459,6 @@ static const struct mv88e6xxx_ops mv88e6352_ops = {
 	.serdes_get_stats = mv88e6352_serdes_get_stats,
 	.serdes_get_regs_len = mv88e6352_serdes_get_regs_len,
 	.serdes_get_regs = mv88e6352_serdes_get_regs,
-	.serdes_set_tx_amplitude = mv88e6352_serdes_set_tx_amplitude,
 	.phylink_get_caps = mv88e6352_phylink_get_caps,
 	.pcs_ops = &mv88e6352_pcs_ops,
 };
drivers/net/dsa/mv88e6xxx/chip.h +0 -4
index 2f211e55cb47..e073446ee7d0 100644
@@ -642,10 +642,6 @@ struct mv88e6xxx_ops {
 	void (*serdes_get_regs)(struct mv88e6xxx_chip *chip, int port,
 				void *_p);
 
-	/* SERDES SGMII/Fiber Output Amplitude */
-	int (*serdes_set_tx_amplitude)(struct mv88e6xxx_chip *chip, int port,
-				       int val);
-
 	/* Address Translation Unit operations */
 	int (*atu_get_hash)(struct mv88e6xxx_chip *chip, u8 *hash);
 	int (*atu_set_hash)(struct mv88e6xxx_chip *chip, u8 hash);
drivers/net/dsa/mv88e6xxx/serdes.c +0 -46

55 lines not on this page · raw message

drivers/net/dsa/mv88e6xxx/serdes.h +0 -5
index ad887d8601bc..17a3e85fabaa 100644
@@ -29,8 +29,6 @@ struct phylink_link_state;
 #define MV88E6352_SERDES_INT_FIBRE_ENERGY	BIT(4)
 #define MV88E6352_SERDES_INT_STATUS	0x13
 
-#define MV88E6352_SERDES_SPEC_CTRL2	0x1a
-#define MV88E6352_SERDES_OUT_AMP_MASK		0x0007
 
 #define MV88E6341_PORT5_LANE		0x15
 
@@ -140,9 +138,6 @@ void mv88e6352_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p);
 int mv88e6390_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port);
 void mv88e6390_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p);
 
-int mv88e6352_serdes_set_tx_amplitude(struct mv88e6xxx_chip *chip, int port,
-				      int val);
-
 /* Return the (first) SERDES lane address a port is using, -errno otherwise. */
 static inline int mv88e6xxx_serdes_get_lane(struct mv88e6xxx_chip *chip,
 					    int port)
drivers/net/ethernet/3com/3c59x.c +1 -1
index 8c9cc97efd4e..4fe4efdb3737 100644
@@ -1473,7 +1473,7 @@ static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq,
 		return 0;
 
 free_ring:
-	dma_free_coherent(&pdev->dev,
+	dma_free_coherent(gendev,
 		sizeof(struct boom_rx_desc) * RX_RING_SIZE +
 		sizeof(struct boom_tx_desc) * TX_RING_SIZE,
 		vp->rx_ring, vp->rx_ring_dma);
drivers/net/ethernet/airoha/airoha_ppe.c +6 -3
index c0e17035db18..190d98970014 100644
@@ -1466,13 +1466,16 @@ void airoha_ppe_deinit(struct airoha_eth *eth)
 {
 	struct airoha_npu *npu;
 
-	rcu_read_lock();
-	npu = rcu_dereference(eth->npu);
+	mutex_lock(&flow_offload_mutex);
+
+	npu = rcu_replace_pointer(eth->npu, NULL,
+				  lockdep_is_held(&flow_offload_mutex));
 	if (npu) {
 		npu->ops.ppe_deinit(npu);
 		airoha_npu_put(npu);
 	}
-	rcu_read_unlock();
+
+	mutex_unlock(&flow_offload_mutex);
 
 	rhashtable_destroy(&eth->ppe->l2_flows);
 	rhashtable_destroy(&eth->flow_table);
drivers/net/ethernet/amazon/ena/ena_devlink.c +4 -0
index ac81c24016dd..4772185e669d 100644
@@ -53,10 +53,12 @@ void ena_devlink_disable_phc_param(struct devlink *devlink)
 {
 	union devlink_param_value value;
 
+	devl_lock(devlink);
 	value.vbool = false;
 	devl_param_driverinit_value_set(devlink,
 					DEVLINK_PARAM_GENERIC_ID_ENABLE_PHC,
 					value);
+	devl_unlock(devlink);
 }
 
 static void ena_devlink_port_register(struct devlink *devlink)
@@ -145,10 +147,12 @@ static int ena_devlink_configure_params(struct devlink *devlink)
 		return rc;
 	}
 
+	devl_lock(devlink);
 	value.vbool = ena_phc_is_enabled(adapter);
 	devl_param_driverinit_value_set(devlink,
 					DEVLINK_PARAM_GENERIC_ID_ENABLE_PHC,
 					value);
+	devl_unlock(devlink);
 
 	return 0;
 }
drivers/net/ethernet/broadcom/bnxt/bnxt.c +15 -6
index a625e7c311dd..95c774d98da6 100644
@@ -1482,9 +1482,11 @@ static u16 bnxt_alloc_agg_idx(struct bnxt_rx_ring_info *rxr, u16 agg_id)
 	struct bnxt_tpa_idx_map *map = rxr->rx_tpa_idx_map;
 	u16 idx = agg_id & MAX_TPA_P5_MASK;
 
-	if (test_bit(idx, map->agg_idx_bmap))
-		idx = find_first_zero_bit(map->agg_idx_bmap,
-					  BNXT_AGG_IDX_BMAP_SIZE);
+	if (test_bit(idx, map->agg_idx_bmap)) {
+		idx = find_first_zero_bit(map->agg_idx_bmap, MAX_TPA_P5);
+		if (idx >= MAX_TPA_P5)
+			return INVALID_HW_RING_ID;
+	}
 	__set_bit(idx, map->agg_idx_bmap);
 	map->agg_id_tbl[agg_id] = idx;
 	return idx;
@@ -1548,6 +1550,13 @@ static void bnxt_tpa_start(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
 	if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) {
 		agg_id = TPA_START_AGG_ID_P5(tpa_start);
 		agg_id = bnxt_alloc_agg_idx(rxr, agg_id);
+		if (unlikely(agg_id == INVALID_HW_RING_ID)) {
+			netdev_warn(bp->dev, "Unable to allocate agg ID for ring %d, agg 0x%x\n",
+				    rxr->bnapi->index,
+				    TPA_START_AGG_ID_P5(tpa_start));
+			bnxt_sched_reset_rxr(bp, rxr);
+			return;
+		}
 	} else {
 		agg_id = TPA_START_AGG_ID(tpa_start);
 	}
@@ -16856,12 +16865,12 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 init_err_pci_clean:
 	bnxt_hwrm_func_drv_unrgtr(bp);
-	bnxt_free_hwrm_resources(bp);
-	bnxt_hwmon_uninit(bp);
-	bnxt_ethtool_free(bp);
 	bnxt_ptp_clear(bp);
 	kfree(bp->ptp_cfg);
 	bp->ptp_cfg = NULL;
+	bnxt_free_hwrm_resources(bp);
+	bnxt_hwmon_uninit(bp);
+	bnxt_ethtool_free(bp);
 	kfree(bp->fw_health);
 	bp->fw_health = NULL;
 	bnxt_cleanup_pci(bp);
drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -3
index 3613a172483a..45bbaec75ded 100644
@@ -1079,11 +1079,9 @@ struct bnxt_tpa_info {
 	struct rx_agg_cmp	*agg_arr;
 };
 
-#define BNXT_AGG_IDX_BMAP_SIZE	(MAX_TPA_P5 / BITS_PER_LONG)
-
 struct bnxt_tpa_idx_map {
 	u16		agg_id_tbl[1024];
-	unsigned long	agg_idx_bmap[BNXT_AGG_IDX_BMAP_SIZE];
+	DECLARE_BITMAP(agg_idx_bmap, MAX_TPA_P5);
 };
 
 struct bnxt_rx_ring_info {
drivers/net/ethernet/freescale/enetc/enetc.h +2 -2
index f279fa597991..60c7205ea9ff 100644
@@ -79,9 +79,9 @@ struct enetc_lso_t {
 #define ENETC_RXB_TRUESIZE	(PAGE_SIZE >> 1)
 #define ENETC_RXB_PAD		NET_SKB_PAD /* add extra space if needed */
 #define ENETC_RXB_DMA_SIZE	\
-	(SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
+	min(SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD, 0xffff)
 #define ENETC_RXB_DMA_SIZE_XDP	\
-	(SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
+	min(SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM, 0xffff)
 
 struct enetc_rx_swbd {
 	dma_addr_t dma;
drivers/net/ethernet/intel/idpf/idpf.h +8 -11
index ca4da0c89979..c74c47bc0b9b 100644
@@ -131,14 +131,12 @@ enum idpf_cap_field {
 
 /**
  * enum idpf_vport_state - Current vport state
- * @__IDPF_VPORT_DOWN: Vport is down
- * @__IDPF_VPORT_UP: Vport is up
- * @__IDPF_VPORT_STATE_LAST: Must be last, number of states
+ * @IDPF_VPORT_UP: Vport is up
+ * @IDPF_VPORT_STATE_NBITS: Must be last, number of states
  */
 enum idpf_vport_state {
-	__IDPF_VPORT_DOWN,
-	__IDPF_VPORT_UP,
-	__IDPF_VPORT_STATE_LAST,
+	IDPF_VPORT_UP,
+	IDPF_VPORT_STATE_NBITS
 };
 
 /**
@@ -162,7 +160,7 @@ struct idpf_netdev_priv {
 	u16 vport_idx;
 	u16 max_tx_hdr_size;
 	u16 tx_max_bufs;
-	enum idpf_vport_state state;
+	DECLARE_BITMAP(state, IDPF_VPORT_STATE_NBITS);
 	struct rtnl_link_stats64 netstats;
 	spinlock_t stats_lock;
 };
@@ -286,8 +284,7 @@ struct idpf_port_stats {
 
 struct idpf_fsteer_fltr {
 	struct list_head list;
-	u32 loc;
-	u32 q_index;
+	struct ethtool_rx_flow_spec fs;
 };
 
 /**
@@ -426,14 +423,12 @@ enum idpf_user_flags {
  * @rss_key: RSS hash key
  * @rss_lut_size: Size of RSS lookup table
  * @rss_lut: RSS lookup table
- * @cached_lut: Used to restore previously init RSS lut
  */
 struct idpf_rss_data {
 	u16 rss_key_size;
 	u8 *rss_key;
 	u16 rss_lut_size;
 	u32 *rss_lut;
-	u32 *cached_lut;
 };
 
 /**
@@ -560,6 +555,7 @@ struct idpf_vector_lifo {
  * @max_q: Maximum possible queues
  * @req_qs_chunks: Queue chunk data for requested queues
  * @mac_filter_list_lock: Lock to protect mac filters
+ * @flow_steer_list_lock: Lock to protect fsteer filters
  * @flags: See enum idpf_vport_config_flags
  */
 struct idpf_vport_config {
@@ -567,6 +563,7 @@ struct idpf_vport_config {
 	struct idpf_vport_max_q max_q;
 	struct virtchnl2_add_queues *req_qs_chunks;
 	spinlock_t mac_filter_list_lock;
+	spinlock_t flow_steer_list_lock;
 	DECLARE_BITMAP(flags, IDPF_VPORT_CONFIG_FLAGS_NBITS);
 };
 
drivers/net/ethernet/intel/idpf/idpf_ethtool.c +67 -33

238 lines not on this page · raw message

drivers/net/ethernet/intel/idpf/idpf_idc.c +1 -1
index 7e20a07e98e5..6dad0593f7f2 100644
@@ -322,7 +322,7 @@ static void idpf_idc_vport_dev_down(struct idpf_adapter *adapter)
 	for (i = 0; i < adapter->num_alloc_vports; i++) {
 		struct idpf_vport *vport = adapter->vports[i];
 
-		if (!vport)
+		if (!vport || !vport->vdev_info)
 			continue;
 
 		idpf_unplug_aux_dev(vport->vdev_info->adev);
drivers/net/ethernet/intel/idpf/idpf_lib.c +164 -130

209 lines not on this page · raw message

drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c +1 -1
index 61e613066140..e3ddf18dcbf5 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_txrx.c +20 -28

48 lines not on this page · raw message

drivers/net/ethernet/intel/idpf/idpf_txrx.h +4 -2
index 75b977094741..423cc9486dce 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_virtchnl.c +14 -3
index fc03d55bc9b9..cb702eac86c8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/xdp.c +1 -1
index 21ce25b0567f..958d16f87424 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/prestera/prestera_devlink.c +2 -0
index 2a4c9df4eb79..e63d95c1842f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp.c +11 -3
index 8565cfe8d7dc..943d6fc6e7a0 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_stats.c +5 -4
index a2802cfc9b98..a8af84fc9763 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c +7 -2
index aee17fcf3b36..cdc99fe5c956 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/port.c +2 -1
index aa9f2b0a77d3..876e648c91ba 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mscc/ocelot.c +4 -2
index 08bee56aea35..c345d9b17c89 100644

Lines of this file are not shown. View the raw message.

drivers/net/netdevsim/bus.c +8 -0
index 70e8c38ddad6..d16b95304aa7 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/mxl-86110.c +3 -0
index e5d137a37a1d..42a5fe3f115f 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/sfp.c +3 -1
index 0401fa6b24d2..84bef5099dda 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/pegasus.c +2 -0
index 81ca64debc5b..c514483134f0 100644

Lines of this file are not shown. View the raw message.

drivers/net/virtio_net.c +3 -3
index 8e04adb57f52..4e1a5291099a 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/virtual/mac80211_hwsim.c +1 -1
index 5903d82e1ab1..2f263d89d2d6 100644

Lines of this file are not shown. View the raw message.

drivers/net/wwan/iosm/iosm_ipc_mux.c +6 -0
index fc928b298a98..b846889fcb09 100644

Lines of this file are not shown. View the raw message.

drivers/of/unittest.c +3 -5
index 388e9ec2cccf..3b773aaf9d05 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pci-meson.c +4 -35
index 54b6a4196f17..0694084f612b 100644

Lines of this file are not shown. View the raw message.

drivers/pci/vgaarb.c +0 -7
index 436fa7f4c387..baa242b14099 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mediatek/pinctrl-mt8189.c +1 -1
index f6a3e584588b..cd4cdff309a1 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/qcom/pinctrl-lpass-lpi.c +1 -1
index 1c97ec44aa5f..78212f992843 100644

Lines of this file are not shown. View the raw message.

drivers/powercap/powercap_sys.c +14 -8
index 4112a0097338..1ff369880beb 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ipr.c +27 -1
index 44214884deaf..d62bb7d0e416 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_internal.h +0 -14
index 6706f2be8d27..da5408c701cd 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpi3mr/mpi3mr.h +2 -2
index 6742684e2990..31d68c151b20 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpi3mr/mpi3mr_os.c +3 -1
index b88633e1efe2..d4ca878d0886 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/sg.c +13 -7
index b3af9b78fa12..57fba34832ad 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-cadence-quadspi.c +9 -1
index 3231bdaf9bd0..1cca9d87fbde 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-mt65xx.c +1 -1
index 4b40985af1ea..90e5813cfdc3 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufshcd.c +28 -8
index ba1bb3953cf6..022810b524e9 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/delayed-inode.c +17 -15
index 3df7b9d7fbe8..59b489d7e4b5 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/extent_io.c +24 -7
index 23273d0e6f22..1a07edaefaa0 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/inode.c +14 -5
index 51401d586a7b..27a562bad6e8 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/ordered-data.c +3 -2
index 2829f20d7bb5..8a8aa6ed405b 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/qgroup.c +19 -2
index 31ad8580322a..febc22d1b648 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/super.c +5 -7
index 430e7419349c..c40944ca7b94 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/tree-log.c +3 -5
index e0b0750696a1..1444857de9fe 100644

Lines of this file are not shown. View the raw message.

fs/erofs/super.c +13 -6
index 937a215f626c..5136cda5972a 100644

Lines of this file are not shown. View the raw message.

fs/netfs/read_collect.c +1 -1
index a95e7aadafd0..7a0ffa675fb1 100644

Lines of this file are not shown. View the raw message.

fs/nfs/namespace.c +5 -0
index 9e4d94f41fc6..af9be0c5f516 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +11 -2
index 6f4e14fb7b9b..3b436ba2ed3b 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4trace.h +1 -0
index 9776d220cec3..6285128e631a 100644

Lines of this file are not shown. View the raw message.

fs/nfs_common/common.c +0 -1
index af09aed09fd2..0778743ae2c2 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/netns.h +2 -0
index 3e2d0fde80a7..fe8338735e7c 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4proc.c +1 -1
index 7f7e6bb23a90..42a6b914c0fe 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4state.c +43 -6

49 lines not on this page · raw message

fs/nfsd/nfsctl.c +9 -3
index 2b79129703d5..8cbfb9dc3abb 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfsd.h +0 -1
index 191cbf9320c0..8cecccdaf9ee 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfssvc.c +15 -15
index 32cc03a7e7be..fcb47f344e32 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/state.h +3 -3
index 1e736f402426..c75bf3abec40 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/vfs.c +2 -2
index 9f0b8bbc4144..e32a5fcd6ac8 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/nterr.h +3 -3
index 180602c22355..09263c91d07a 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_atomic_helper.h +22 -0
index 53382fe93537..e154ee4f0696 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_bridge.h +66 -183

249 lines not on this page · raw message

include/linux/netdevice.h +2 -1
index 77c46a2823ec..c6c04cd0a681 100644

Lines of this file are not shown. View the raw message.

include/linux/soc/airoha/airoha_offload.h +4 -4
index 6f66eb339b3f..1a33f846afaf 100644

Lines of this file are not shown. View the raw message.

include/linux/trace_recursion.h +9 -0
index ae04054a1be3..e6ca052b2a85 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_tables.h +26 -8
index fab7dc73f738..0e266c2d0e7f 100644

Lines of this file are not shown. View the raw message.

include/trace/events/btrfs.h +2 -1
index 7e418f065b94..125bdc166bfe 100644

Lines of this file are not shown. View the raw message.

include/trace/misc/nfs.h +0 -2
index c82233e950ac..a394b4d38e18 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/nfs.h +0 -1
index f356f2ba3814..71c7196d3281 100644

Lines of this file are not shown. View the raw message.

io_uring/io-wq.c +3 -3
index 1d03b2fc4b25..55961da19f3b 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +6 -0
index 413b88a4e00f..d95f9dce018f 100644

Lines of this file are not shown. View the raw message.

kernel/power/swap.c +10 -4
index 70ae21f7370d..f910a250ccdd 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +7 -1
index 304e93597126..142e3b737f0b 100644

Lines of this file are not shown. View the raw message.

lib/crypto/aes.c +2 -2
index b57fda3460f1..102aaa76bc8d 100644

Lines of this file are not shown. View the raw message.

net/bpf/test_run.c +17 -8
index 55a79337ac51..6b04f47301c1 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_vlan_tunnel.c +7 -4
index a966a6ec8263..257cae9f1569 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/transport.c +2 -0
index fbf5c8001c9d..613a911dda10 100644

Lines of this file are not shown. View the raw message.

net/ceph/messenger_v2.c +2 -0
index 9e48623018a3..061eaa047f76 100644

Lines of this file are not shown. View the raw message.

net/ceph/mon_client.c +1 -1
index c227ececa925..fa8dd2a20f7d 100644

Lines of this file are not shown. View the raw message.

net/ceph/osd_client.c +12 -2
index 6664ea73ccf8..6d7d8c7d7d3f 100644

Lines of this file are not shown. View the raw message.

net/ceph/osdmap.c +15 -9
index f5f60deb680a..7c76eb9d6cee 100644

Lines of this file are not shown. View the raw message.

net/core/skbuff.c +5 -3
index 6be01454f262..9a763d120925 100644

Lines of this file are not shown. View the raw message.

net/core/sock.c +4 -3
index dc03d4b5909a..5a38837a5838 100644

Lines of this file are not shown. View the raw message.

net/ipv4/arp.c +4 -3
index 833f2cf97178..3ce1664e8632 100644

Lines of this file are not shown. View the raw message.

net/ipv4/inet_fragment.c +2 -0
index 001ee5c4d962..4e6d7467ed44 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ping.c +1 -3
index 5321c5801c64..a5227d23bb0b 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp.c +3 -5
index 8a18aeca7ab0..74079eab8980 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp.c +1 -0
index 30dfbf73729d..860bd61ff047 100644

Lines of this file are not shown. View the raw message.

net/mac80211/tx.c +2 -0
index e7b141c55f7a..160667be3f4d 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_conncount.c +1 -1
index 3c1b155f7a0e..828d5c64c68a 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +67 -5

72 lines not on this page · raw message

net/netfilter/nft_set_pipapo.c +2 -2
index 112fe46788b6..6d77a5f0088a 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_synproxy.c +3 -3
index 5d3e51825985..4d3e5a31b412 100644

Lines of this file are not shown. View the raw message.

net/sched/act_api.c +2 -0
index ff6be5cfe2b0..e1ab0faeb811 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_qfq.c +1 -1
index 2255355e51d3..a91a5bac8f73 100644

Lines of this file are not shown. View the raw message.

net/unix/af_unix.c +3 -5
index f6f01f514933..c634a7fc8609 100644

Lines of this file are not shown. View the raw message.

net/vmw_vsock/af_vsock.c +4 -0
index a9ca9c3b87b3..cbd649bf0145 100644

Lines of this file are not shown. View the raw message.

net/wireless/wext-core.c +4 -0
index c32a7c6903d5..7b8e94214b07 100644

Lines of this file are not shown. View the raw message.

net/wireless/wext-priv.c +4 -0
index 674d426a9d24..37d1147019c2 100644

Lines of this file are not shown. View the raw message.

sound/ac97/bus.c +5 -5
index f4254703d29f..bb9b795e0226 100644

Lines of this file are not shown. View the raw message.

sound/hda/codecs/realtek/alc269.c +2 -0
index b3582e390dfa..eb6197d19078 100644

Lines of this file are not shown. View the raw message.

sound/hda/codecs/side-codecs/tas2781_hda_i2c.c +3 -1
index c8619995b1d7..f7a7f216d586 100644

Lines of this file are not shown. View the raw message.

sound/hda/core/intel-dsp-config.c +2 -1
index 2a9e35cddcf7..ddb349bc46bb 100644

Lines of this file are not shown. View the raw message.

sound/soc/amd/yc/acp6x-mach.c +7 -0
index f210a253da9f..bf4d9d336561 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_sai.c +3 -0
index 86730c214914..2fa14fbdfe1a 100644

Lines of this file are not shown. View the raw message.

sound/soc/rockchip/rockchip_pdm.c +1 -1
index c1ee470ec607..c69cdd6f2499 100644

Lines of this file are not shown. View the raw message.

sound/usb/quirks.c +10 -0
index 61bd61ffb1b2..94a8fdc9c6d3 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/drivers/net/hw/lib/py/__init__.py +2 -2
index fb010a48a5a1..a86f5c311fdc 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/lib/py/__init__.py +2 -2
index 97b7cf2b20eb..8f2da17d5351 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.