Skip to contentSkip to conversation

Linux 6.4.5

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jul 23, 2023 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.4.5 kernel.

All users of the 6.4 kernel series must upgrade.

The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.4.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

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

 Documentation/arm64/silicon-errata.rst                              |    3 
 Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst   |    2 
 Makefile                                                            |   28 -
 arch/arm64/Kconfig                                                  |   19 
 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso       |    7 
 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts                    |   42 -
 arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts              |   76 +-
 arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi                    |   29 +
 arch/arm64/kernel/cpu_errata.c                                      |    7 
 arch/arm64/kernel/traps.c                                           |    2 
 arch/arm64/kvm/hyp/pgtable.c                                        |   14 
 arch/arm64/mm/fault.c                                               |    2 
 arch/arm64/tools/cpucaps                                            |    1 
 arch/mips/Makefile                                                  |   10 
 arch/mips/include/asm/cpu-features.h                                |    4 
 arch/mips/include/asm/kvm_host.h                                    |    6 
 arch/mips/kernel/cpu-probe.c                                        |    9 
 arch/mips/kvm/emulate.c                                             |   22 
 arch/mips/kvm/mips.c                                                |   16 
 arch/mips/kvm/stats.c                                               |    4 
 arch/mips/kvm/trace.h                                               |    8 
 arch/mips/kvm/vz.c                                                  |   20 
 arch/openrisc/include/uapi/asm/sigcontext.h                         |    6 
 arch/openrisc/kernel/signal.c                                       |    4 
 arch/powerpc/Makefile                                               |    8 
 arch/powerpc/kernel/security.c                                      |   37 -
 arch/powerpc/mm/book3s64/hash_native.c                              |   13 
 arch/riscv/mm/init.c                                                |    2 
 arch/riscv/net/bpf_jit.h                                            |    6 
 arch/riscv/net/bpf_jit_core.c                                       |   19 
 arch/s390/Makefile                                                  |    1 
 arch/x86/events/intel/core.c                                        |    7 
 arch/xtensa/platforms/iss/network.c                                 |    2 
 block/blk-crypto-profile.c                                          |   12 
 drivers/accel/ivpu/ivpu_drv.h                                       |    1 
 drivers/accel/ivpu/ivpu_hw_mtl.c                                    |   20 
 drivers/base/regmap/regmap-irq.c                                    |    2 
 drivers/bus/intel-ixp4xx-eb.c                                       |    2 
 drivers/char/hw_random/imx-rngc.c                                   |    6 
 drivers/char/tpm/tpm-chip.c                                         |    7 
 drivers/char/tpm/tpm_crb.c                                          |   19 
 drivers/char/tpm/tpm_tis.c                                          |   25 
 drivers/char/tpm/tpm_tis_core.c                                     |  103 +++
 drivers/char/tpm/tpm_tis_core.h                                     |    4 
 drivers/char/tpm/tpm_tis_i2c.c                                      |   59 +-
 drivers/char/tpm/tpm_vtpm_proxy.c                                   |   30 -
 drivers/firmware/stratix10-svc.c                                    |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c                    |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c                              |   12 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                   |   64 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h               |    2 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c           |   26 +
 drivers/gpu/drm/amd/display/dc/core/dc.c                            |    3 
 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c             |   10 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c                  |   11 
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c                  |    4 
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c                   |    2 
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.h                   |    1 
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c               |    2 
 drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c                |   15 
 drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h                |    2 
 drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c |   11 
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h                         |    2 
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h                        |    4 
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c                   |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c                     |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c                  |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c                      |   67 ++
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c                |   35 -
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c                |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c                |   33 -
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c                           |    9 
 drivers/gpu/drm/bridge/ti-sn65dsi86.c                               |   35 -
 drivers/gpu/drm/display/drm_dp_mst_topology.c                       |   54 +-
 drivers/gpu/drm/drm_atomic.c                                        |   11 
 drivers/gpu/drm/drm_atomic_helper.c                                 |   11 
 drivers/gpu/drm/drm_client.c                                        |   21 
 drivers/gpu/drm/drm_fbdev_dma.c                                     |    6 
 drivers/gpu/drm/drm_fbdev_generic.c                                 |    4 
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c                           |    4 
 drivers/gpu/drm/gma500/fbdev.c                                      |    4 
 drivers/gpu/drm/i915/display/intel_display.c                        |    1 
 drivers/gpu/drm/i915/display/intel_dp.c                             |    7 
 drivers/gpu/drm/i915/gt/intel_gtt.c                                 |    2 
 drivers/gpu/drm/msm/msm_fbdev.c                                     |    4 
 drivers/gpu/drm/nouveau/dispnv50/disp.c                             |   12 
 drivers/gpu/drm/nouveau/nouveau_chan.c                              |    1 
 drivers/gpu/drm/nouveau/nouveau_chan.h                              |    1 
 drivers/gpu/drm/nouveau/nouveau_drm.c                               |   20 
 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c                      |    1 
 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c                    |    2 
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c                      |    2 
 drivers/gpu/drm/omapdrm/omap_fbdev.c                                |    4 
 drivers/gpu/drm/panel/panel-simple.c                                |    2 
 drivers/gpu/drm/radeon/radeon_fbdev.c                               |    4 
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c                         |    8 
 drivers/gpu/drm/tegra/fbdev.c                                       |    4 
 drivers/gpu/drm/ttm/ttm_bo.c                                        |   23 
 drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.c                       |   30 -
 drivers/hid/hid-hyperv.c                                            |   10 
 drivers/hid/hid-input.c                                             |    7 
 drivers/iio/adc/meson_saradc.c                                      |    2 
 drivers/md/dm-integrity.c                                           |    4 
 drivers/md/dm-verity-loadpin.c                                      |    3 
 drivers/md/raid0.c                                                  |   62 ++
 drivers/md/raid0.h                                                  |    1 
 drivers/mfd/qcom-pm8008.c                                           |    1 
 drivers/misc/fastrpc.c                                              |    2 
 drivers/misc/pci_endpoint_test.c                                    |   10 
 drivers/mtd/nand/raw/meson_nand.c                                   |    4 
 drivers/net/dsa/hirschmann/hellcreek.c                              |   14 
 drivers/net/dsa/ocelot/felix.c                                      |    6 
 drivers/net/dsa/ocelot/felix.h                                      |    1 
 drivers/net/dsa/ocelot/felix_vsc9959.c                              |   28 -
 drivers/net/dsa/qca/qca8k-8xxx.c                                    |    3 
 drivers/net/dsa/sja1105/sja1105_tas.c                               |    7 
 drivers/net/ethernet/amazon/ena/ena_com.c                           |    3 
 drivers/net/ethernet/broadcom/bgmac.c                               |    4 
 drivers/net/ethernet/broadcom/genet/bcmmii.c                        |    2 
 drivers/net/ethernet/engleder/tsnep_selftests.c                     |   12 
 drivers/net/ethernet/engleder/tsnep_tc.c                            |    4 
 drivers/net/ethernet/freescale/enetc/enetc_qos.c                    |    6 
 drivers/net/ethernet/freescale/fec.h                                |   17 
 drivers/net/ethernet/freescale/fec_main.c                           |  178 ++++--
 drivers/net/ethernet/google/gve/gve_ethtool.c                       |    3 
 drivers/net/ethernet/intel/ice/ice_main.c                           |   23 
 drivers/net/ethernet/intel/ice/ice_tc_lib.c                         |   22 
 drivers/net/ethernet/intel/ice/ice_tc_lib.h                         |    1 
 drivers/net/ethernet/intel/igc/igc.h                                |   15 
 drivers/net/ethernet/intel/igc/igc_ethtool.c                        |    2 
 drivers/net/ethernet/intel/igc/igc_main.c                           |  158 +++++-
 drivers/net/ethernet/intel/igc/igc_ptp.c                            |   25 
 drivers/net/ethernet/intel/igc/igc_tsn.c                            |   68 +-
 drivers/net/ethernet/marvell/mvneta.c                               |    4 
 drivers/net/ethernet/marvell/octeontx2/af/ptp.c                     |   19 
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c                     |    2 
 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c                 |   11 
 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c            |   23 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c             |    8 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c                |   15 
 drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c         |    6 
 drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c                    |    6 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c                  |   14 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h                  |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c                    |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c           |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c                     |   44 -
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c                     |    6 
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c                   |    3 
 drivers/net/ethernet/mellanox/mlx5/core/thermal.c                   |   19 
 drivers/net/ethernet/microchip/Kconfig                              |    2 
 drivers/net/ethernet/microchip/lan743x_main.c                       |   21 
 drivers/net/ethernet/microchip/lan966x/lan966x_tc.c                 |   10 
 drivers/net/ethernet/mscc/ocelot_mm.c                               |    7 
 drivers/net/ethernet/netronome/nfp/nfp_net_common.c                 |    5 
 drivers/net/ethernet/pensando/ionic/ionic_lif.c                     |    5 
 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c                     |    7 
 drivers/net/ethernet/ti/am65-cpsw-qos.c                             |   11 
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c                       |    3 
 drivers/net/netdevsim/dev.c                                         |    9 
 drivers/net/phy/dp83td510.c                                         |   23 
 drivers/net/wireless/cisco/airo.c                                   |    5 
 drivers/net/wireless/realtek/rtw89/debug.c                          |    5 
 drivers/ntb/hw/amd/ntb_hw_amd.c                                     |    7 
 drivers/ntb/hw/idt/ntb_hw_idt.c                                     |    7 
 drivers/ntb/hw/intel/ntb_hw_gen1.c                                  |    7 
 drivers/ntb/ntb_transport.c                                         |    2 
 drivers/ntb/test/ntb_tool.c                                         |    2 
 drivers/nvme/host/core.c                                            |   36 +
 drivers/nvme/host/pci.c                                             |    2 
 drivers/opp/core.c                                                  |    3 
 drivers/pci/controller/dwc/pcie-qcom.c                              |    2 
 drivers/pci/controller/pcie-rockchip-ep.c                           |   65 --
 drivers/pci/controller/pcie-rockchip.c                              |   17 
 drivers/pci/controller/pcie-rockchip.h                              |   11 
 drivers/pci/endpoint/functions/pci-epf-test.c                       |   40 +
 drivers/pci/pci.c                                                   |   10 
 drivers/pci/probe.c                                                 |    4 
 drivers/pci/quirks.c                                                |    2 
 drivers/perf/riscv_pmu.c                                            |    3 
 drivers/pinctrl/pinctrl-amd.c                                       |  103 +--
 drivers/pinctrl/pinctrl-amd.h                                       |    2 
 drivers/platform/x86/wmi.c                                          |   22 
 drivers/pwm/pwm-meson.c                                             |   28 -
 drivers/s390/crypto/zcrypt_msgtype6.c                               |    6 
 drivers/s390/net/ism_drv.c                                          |  139 ++---
 drivers/scsi/lpfc/lpfc_crtn.h                                       |    1 
 drivers/scsi/lpfc/lpfc_els.c                                        |   30 -
 drivers/scsi/lpfc/lpfc_hbadisc.c                                    |   24 
 drivers/scsi/mpi3mr/mpi3mr_fw.c                                     |    5 
 drivers/scsi/qla2xxx/qla_attr.c                                     |   13 
 drivers/scsi/qla2xxx/qla_bsg.c                                      |    6 
 drivers/scsi/qla2xxx/qla_def.h                                      |   22 
 drivers/scsi/qla2xxx/qla_edif.c                                     |    4 
 drivers/scsi/qla2xxx/qla_gbl.h                                      |    2 
 drivers/scsi/qla2xxx/qla_init.c                                     |  258 +++++++++-
 drivers/scsi/qla2xxx/qla_inline.h                                   |    5 
 drivers/scsi/qla2xxx/qla_iocb.c                                     |   38 +
 drivers/scsi/qla2xxx/qla_isr.c                                      |   64 ++
 drivers/scsi/qla2xxx/qla_nvme.c                                     |    3 
 drivers/scsi/qla2xxx/qla_os.c                                       |  133 ++---
 drivers/soc/qcom/mdt_loader.c                                       |   16 
 drivers/soundwire/qcom.c                                            |    3 
 drivers/tty/n_tty.c                                                 |   25 
 drivers/tty/serial/8250/8250.h                                      |    1 
 drivers/tty/serial/8250/8250_pci.c                                  |   19 
 drivers/tty/serial/8250/8250_port.c                                 |   11 
 drivers/tty/serial/atmel_serial.c                                   |    4 
 drivers/tty/serial/imx.c                                            |   18 
 drivers/tty/serial/samsung_tty.c                                    |   14 
 drivers/ufs/host/Kconfig                                            |    1 
 drivers/usb/host/xhci-mem.c                                         |   39 +
 drivers/usb/host/xhci-pci.c                                         |   12 
 drivers/usb/host/xhci.h                                             |    2 
 drivers/xen/grant-dma-ops.c                                         |    2 
 fs/ceph/addr.c                                                      |   85 ++-
 fs/ceph/caps.c                                                      |    9 
 fs/ceph/super.h                                                     |   13 
 fs/dlm/ast.c                                                        |    8 
 fs/dlm/lockspace.c                                                  |   12 
 fs/dlm/lockspace.h                                                  |    1 
 fs/dlm/lowcomms.c                                                   |    1 
 fs/dlm/midcomms.c                                                   |    3 
 fs/dlm/plock.c                                                      |  115 ++--
 fs/erofs/inode.c                                                    |    3 
 fs/erofs/zdata.c                                                    |    4 
 fs/ext2/inode.c                                                     |    5 
 fs/ext4/indirect.c                                                  |    8 
 fs/ext4/inode.c                                                     |   10 
 fs/ext4/ioctl.c                                                     |    5 
 fs/ext4/mballoc.c                                                   |   17 
 fs/ext4/super.c                                                     |   31 -
 fs/f2fs/dir.c                                                       |    9 
 fs/f2fs/super.c                                                     |   30 -
 fs/f2fs/xattr.c                                                     |    6 
 fs/jfs/jfs_dmap.c                                                   |    6 
 fs/jfs/jfs_filsys.h                                                 |    2 
 fs/smb/client/cifs_dfs_ref.c                                        |   20 
 fs/smb/client/cifsproto.h                                           |    2 
 fs/smb/client/cifssmb.c                                             |    2 
 fs/smb/client/dfs.c                                                 |   43 -
 fs/smb/client/file.c                                                |    4 
 fs/smb/client/fs_context.c                                          |   59 +-
 fs/smb/client/misc.c                                                |   17 
 fs/smb/client/smb2transport.c                                       |    7 
 fs/smb/server/smb2pdu.c                                             |  109 ++--
 include/drm/display/drm_dp_mst_helper.h                             |    7 
 include/linux/blk-crypto-profile.h                                  |    1 
 include/linux/ism.h                                                 |    7 
 include/linux/kasan.h                                               |    2 
 include/linux/nvme.h                                                |    2 
 include/linux/rethook.h                                             |    1 
 include/linux/serial_8250.h                                         |    1 
 include/net/netfilter/nf_conntrack_tuple.h                          |    3 
 include/net/netfilter/nf_tables.h                                   |   31 +
 include/net/pkt_sched.h                                             |    9 
 include/soc/mscc/ocelot.h                                           |    1 
 kernel/bpf/cpumap.c                                                 |   40 -
 kernel/bpf/verifier.c                                               |    5 
 kernel/dma/swiotlb.c                                                |   46 +
 kernel/power/qos.c                                                  |    9 
 kernel/trace/fprobe.c                                               |   15 
 kernel/trace/ftrace.c                                               |   45 +
 kernel/trace/rethook.c                                              |   13 
 kernel/trace/ring_buffer.c                                          |   24 
 kernel/trace/trace.c                                                |    3 
 kernel/trace/trace.h                                                |    2 
 kernel/trace/trace_eprobe.c                                         |   18 
 kernel/trace/trace_events_hist.c                                    |    8 
 kernel/trace/trace_events_user.c                                    |    6 
 kernel/trace/trace_probe.c                                          |    2 
 kernel/trace/trace_probe_kernel.h                                   |   30 -
 kernel/trace/trace_probe_tmpl.h                                     |   10 
 kernel/trace/trace_uprobe.c                                         |    3 
 mm/kasan/common.c                                                   |    2 
 mm/kasan/generic.c                                                  |   73 +-
 mm/kasan/kasan.h                                                    |  171 +++---
 mm/kasan/report.c                                                   |   17 
 mm/kasan/report_generic.c                                           |   12 
 mm/kasan/report_hw_tags.c                                           |    2 
 mm/kasan/report_sw_tags.c                                           |    2 
 mm/kasan/shadow.c                                                   |   36 -
 mm/kasan/sw_tags.c                                                  |   20 
 mm/mmap.c                                                           |    9 
 mm/slab.h                                                           |   16 
 net/ceph/messenger_v2.c                                             |   41 +
 net/core/net-traces.c                                               |    2 
 net/core/skbuff.c                                                   |    5 
 net/core/xdp.c                                                      |    2 
 net/ipv6/addrconf.c                                                 |    3 
 net/ipv6/icmp.c                                                     |    5 
 net/ipv6/udp.c                                                      |    4 
 net/mptcp/protocol.c                                                |    7 
 net/ncsi/ncsi-rsp.c                                                 |   93 ---
 net/netfilter/nf_conntrack_core.c                                   |   20 
 net/netfilter/nf_tables_api.c                                       |  163 +++---
 net/netfilter/nft_flow_offload.c                                    |    6 
 net/netfilter/nft_immediate.c                                       |    8 
 net/netfilter/nft_objref.c                                          |    8 
 net/sched/cls_flower.c                                              |   10 
 net/sched/cls_fw.c                                                  |   10 
 net/sched/sch_qfq.c                                                 |   18 
 net/sched/sch_taprio.c                                              |    4 
 samples/ftrace/ftrace-direct-too.c                                  |   14 
 security/integrity/platform_certs/load_powerpc.c                    |   40 +
 tools/testing/selftests/net/mptcp/config                            |    1 
 tools/testing/selftests/net/mptcp/mptcp_connect.sh                  |    3 
 tools/testing/selftests/net/mptcp/mptcp_sockopt.sh                  |   29 -
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c                       |   10 
 tools/testing/selftests/net/mptcp/userspace_pm.sh                   |    4 
 311 files changed, 3509 insertions(+), 1986 deletions(-)

Adrián Larumbe (1):
drm: bridge: dw_hdmi: fix connector access for scdc

Alan Liu (1):
drm/amd/display: Fix in secure display context creation

Alexander Aring (8):
fs: dlm: revert check required context while close
fs: dlm: return positive pid value for F_GETLK
fs: dlm: fix cleanup pending ops when interrupted
fs: dlm: interrupt posix locks only when process is killed
fs: dlm: make F_SETLK use unkillable wait_event
fs: dlm: fix mismatch of plock results from userspace
fs: dlm: clear pending bit when queue was empty
fs: dlm: fix missing pending to false

Alexander Sverdlin (2):
tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes

Alvin Lee (1):
drm/amd/display: Limit DCN32 8 channel or less parts to DPM1 for FPO

Andrey Konovalov (2):
kasan, slub: fix HW_TAGS zeroing with slub_debug
kasan: fix type cast in memory_is_poisoned_n

Andy Shevchenko (1):
platform/x86: wmi: Break possible infinite loop when parsing GUID

Ankit Kumar (1):
nvme: fix the NVME_ID_NS_NVM_STS_MASK definition

Aravindhan Gunasekaran (1):
igc: Handle PPS start time programming for past time values

Arnd Bergmann (3):
HID: hyperv: avoid struct memcpy overrun warning
kasan: add kasan_tag_mismatch prototype
kasan: use internal prototypes matching gcc-13 builtins

Arseniy Krasnov (1):
mtd: rawnand: meson: fix unaligned DMA buffers handling

Aurabindo Pillai (1):
drm/amd/display: Add monitor specific edid quirk

Austin Zheng (1):
drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2

Baokun Li (2):
ext4: turn quotas off if mount failed after enabling quotas
ext4: only update i_reserved_data_blocks on successful block allocation

Basavaraj Natikar (2):
HID: amd_sfh: Rename the float32 variable
HID: amd_sfh: Fix for shift-out-of-bounds

Beau Belgrave (1):
tracing/user_events: Fix struct arg size match check

Bharath SM (1):
cifs: if deferred close is disabled then close files immediately

Bikash Hazarika (2):
scsi: qla2xxx: Fix potential NULL pointer dereference
scsi: qla2xxx: Correct the index of array

Björn Töpel (1):
riscv, bpf: Fix inconsistent JIT image generation

Brian Norris (2):
drm/atomic: Allow vblank-enabled + self-refresh "disable" drm/rockchip: vop: Leave vblank enabled in self-refresh

Chao Yu (2):
f2fs: don't reset unchangable mount option in f2fs_remount()
ext4: fix to check return value of freeze_bdev() in ext4_shutdown()

Christian Hesse (2):
tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen

Christian Marangi (1):
soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup

Christoph Hellwig (1):
nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices

Christophe JAILLET (3):
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()

Chungkai Yang (1):
PM: QoS: Restore support for default value on frequency QoS

Chunhai Guo (2):
erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF

Damien Le Moal (5):
PCI: epf-test: Fix DMA transfer completion initialization
PCI: epf-test: Fix DMA transfer completion detection
PCI: rockchip: Set address alignment for endpoint mode
misc: pci_endpoint_test: Free IRQs before removing the device
misc: pci_endpoint_test: Re-init completion for every test

Dan Carpenter (5):
scsi: qla2xxx: Fix error code in qla2x00_start_sp()
netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
serial: atmel: don't enable IRQs prematurely
scsi: qla2xxx: Fix end of loop test
net: dsa: ocelot: unlock on error in vsc9959_qos_port_tas_set()

Daniel Vetter (1):
drm/atomic: Fix potential use-after-free in nonblocking commits

David Woodhouse (1):
mm/mmap: Fix error return in do_vmi_align_munmap()

Dmitry Torokhov (1):
HID: input: fix mapping for camera access keys

Dmytro Laktyushkin (1):
drm/amd/display: fix seamless odm transitions

Douglas Anderson (1):
drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime

Dragos Tatulea (2):
net/mlx5e: RX, Fix flush and close release flow of regular rq for legacy rq net/mlx5e: RX, Fix page_pool page fragment tracking for XDP

Ekansh Gupta (1):
misc: fastrpc: Create fastrpc scalar with correct buffer count

Eric Biggers (1):
blk-crypto: use dynamic lock class for blk_crypto_profile::lock

Eric Dumazet (1):
udp6: fix udp6_ehashfn() typo

Eric Lin (1):
perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()

Evan Quan (1):
drm/amd/pm: share the code around SMU13 pcie parameters update

Fabio Estevam (1):
drm/panel: simple: Add connector_type for innolux_at043tn24

Florent Revest (1):
samples: ftrace: Save required argument registers in sample trampolines

Florian Bezdeka (1):
tpm/tpm_tis: Disable interrupts for Lenovo L590 devices

Florian Fainelli (1):
net: bcmgenet: Ensure MDIO unregistration has clocks enabled

Florian Kauer (6):
igc: Rename qbv_enable to taprio_offload_enable
igc: Do not enable taprio offload for invalid arguments
igc: Handle already enabled taprio offload for basetime 0
igc: No strict mode in pure launchtime/CBS offload
igc: Fix launchtime before start of cycle
igc: Fix inserting of empty frame for launchtime

Florian Westphal (1):
netfilter: conntrack: don't fold port numbers into addresses before hashing

Frank Wunderlich (1):
arm64: dts: mt7986: use size of reserved partition for bl2

Geert Uytterhoeven (1):
drm/fbdev-dma: Fix documented default preferred_bpp value

George Stark (1):
meson saradc: fix clock divider mask length

Greg Kroah-Hartman (1):

      Linux 6.4.5

Gustavo A. R. Silva (1):
smb: client: Fix -Wstringop-overflow issues

Hamza Mahfooz (1):
drm/amd/display: perform a bounds check before filling dirty rectangles

Harald Freudenberger (1):
s390/zcrypt: do not retry administrative requests

Heiko Carstens (1):
s390/decompressor: fix misaligned symbol build error

Heiner Kallweit (2):
pwm: meson: modify and simplify calculation in meson_pwm_get_state
pwm: meson: fix handling of period/duty if greater than UINT_MAX

Hersen Wu (1):
drm/amd/display: edp do not add non-edid timings

Huacai Chen (3):
MIPS: Loongson: Fix cpu_probe_loongson() again
MIPS: Loongson: Fix build error when make modules_install
MIPS: KVM: Fix NULL pointer dereference

Hui Li (1):
tty: fix hang on tty device with no_room set

Ido Schimmel (1):
net/sched: flower: Ensure both minimum and maximum ports are specified

Ilya Bakoulin (1):
drm/amd/display: Fix 128b132b link loss handling

Ilya Dryomov (1):
libceph: harden msgr2.1 frame segment length checks

Isaac J. Manjarres (1):
regmap-irq: Fix out-of-bounds access when allocating config buffers

Ivan Babrou (1):
udp6: add a missing call into udp_fail_queue_rcv_skb tracepoint

Ivan Mikhaylov (2):
net/ncsi: make one oem_gma function for all mfr id net/ncsi: change from ndo_set_mac_address to dev_set_mac_address

Jaegeuk Kim (1):
f2fs: fix deadlock in i_xattr_sem and inode page lock

Jarkko Sakkinen (1):
tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation

Jason Baron (1):
md/raid0: add discard support for the 'original' layout

Jerry Snitselaar (1):
tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms

Jesper Dangaard Brouer (2):
igc: Add igc_xdp_buff wrapper for xdp_buff in driver
igc: Add XDP hints kfuncs for RX hash

Jiaqing Zhao (1):
Revert "8250: add support for ASIX devices with a FIFO bug"

Jiasheng Jiang (2):
NTB: ntb_tool: Add check for devm_kcalloc
net: dsa: qca8k: Add check for skb_copy

Jiawen Wu (1):
net: txgbe: fix eeprom calculation error

Jiaxun Yang (1):
MIPS: cpu-features: Use boot_cpu_type for CPU type based features

Jiri Olsa (1):
fprobe: Release rethook after the ftrace_ops is unregistered

Jisheng Zhang (1):
riscv: mm: fix truncation warning on RV32

Johan Hovold (1):
mfd: pm8008: Fix module autoloading

Jonas Gorski (1):
bus: ixp4xx: fix IXP4XX_EXP_T1_MASK

Junfeng Guo (1):
gve: Set default duplex configuration to full

Justin Tee (1):
scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_not_used()

Karol Herbst (4):
drm/nouveau/disp: fix HDMI on gt215+ drm/nouveau/disp/g94: enable HDMI drm/nouveau/acr: Abort loading ACR if no firmware was found drm/nouveau: bring back blit subchannel for pre nv50 GPUs

Karol Wachowski (2):
accel/ivpu: Fix VPU register access in irq disable accel/ivpu: Clear specific interrupt status bits on C0

Kemeng Shi (3):
ext4: fix wrong unit use in ext4_mb_clear_bb
ext4: get block from bh in ext4_free_blocks for fast commit replay
ext4: fix wrong unit use in ext4_mb_new_blocks

Klaus Kudielka (1):

      net: mvneta: fix txq_map in case of txq_number==1

Kornel Dulęba (1):
pinctrl: amd: Detect and mask spurious interrupts

Krister Johansen (1):
net: ena: fix shift-out-of-bounds in exponential backoff

Krzysztof Kozlowski (1):
soundwire: qcom: fix storing port config out-of-bounds

Kumar Kartikeya Dwivedi (1):
bpf: Fix max stack depth check for async callbacks

Kuniyuki Iwashima (1):

      icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().

Larysa Zaremba (1):
xdp: use trusted arguments in XDP hints kfuncs

Leo Chen (1):
drm/amd/display: disable seamless boot if force_odm_combine is enabled

Lino Sanfilippo (1):
tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs

Lu Hongfei (1):
net: dsa: Removed unneeded of_node_put in felix_parse_ports_node

M A Ramdhan (1):
net/sched: cls_fw: Fix improper refcount update leads to use-after-free

Maher Sanalla (1):
net/mlx5: Query hca_cap_2 only when supported

Manish Rangankar (1):
scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue

Manivannan Sadhasivam (1):
PCI: qcom: Disable write access to read only registers for IP v2.3.3

Marek Vasut (1):
drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags

Mario Limonciello (11):
pinctrl: amd: Detect internal GPIO0 debounce handling
pinctrl: amd: Fix mistake in handling clearing pins at startup
pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on probe"
pinctrl: amd: Only use special debounce behavior for GPIO 0
pinctrl: amd: Use amd_pinconf_set() for all config options
pinctrl: amd: Drop pull up select configuration
pinctrl: amd: Unify debounce handling into amd_pinconf_set() drm/amd: Disable PSR-SU on Parade 0803 TCON
drm/amd/display: Correct DMUB_FW_VERSION macro
drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"

Martin Fuzzey (1):
tty: serial: imx: fix rs485 rx after tx

Martin Kaiser (1):
hwrng: imx-rngc - fix the timeout for init and self check

Masahiro Yamada (1):
kbuild: make modules_install copy modules.builtin(.modinfo)

Masami Hiramatsu (Google) (6):
fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free() tracing/probes: Fix to avoid double count of the string length on the array tracing/probes: Fix not to count error code to total length tracing/probes: Fix to update dynamic data counter if fetcharg uses it Revert "tracing: Add "(fault)" name injection to kernel probes" tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails

Mateusz Stachyra (1):
tracing: Fix null pointer dereference in tracing_err_log_open()

Matthias Kaehlcke (1):
dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter

Matthieu Baerts (7):
selftests: mptcp: sockopt: use 'iptables-legacy' if available
selftests: mptcp: connect: fail if nft supposed to work
selftests: mptcp: sockopt: return error if wrong mark
selftests: mptcp: userspace_pm: use correct server port
selftests: mptcp: userspace_pm: report errors with 'remove' tests
selftests: mptcp: depend on SYN_COOKIES
selftests: mptcp: pm_nl_ctl: fix 32-bit support

Max Filippov (1):
xtensa: ISS: fix call to split_if_spec

Michael Ellerman (2):
powerpc/security: Fix Speculation_Store_Bypass reporting on Power10 powerpc/64s: Fix native_hpte_remove() to be irq-safe

Mikulas Patocka (1):
dm integrity: reduce vmalloc space footprint on 32-bit architectures

Ming Lei (1):
nvme-pci: fix DMA direction of unmapping integrity data

Mohamed Khalfella (1):
tracing/histograms: Add histograms to hist_vars if they have referenced variables

Moritz Fischer (1):
net: lan743x: Don't sleep in atomic context

Muhammad Husaini Zulkifli (3):
igc: Add condition for qbv_config_change_errors counter
igc: Remove delay during TX ring configuration
igc: Fix TX Hang issue when QBV Gate is closed

Namhyung Kim (1):
perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR

Namjae Jeon (2):
ksmbd: add missing compound request handing in some commands
ksmbd: fix out of bounds read in smb2_sess_setup

Naveen N Rao (1):
powerpc: Fail build if using recordmcount with binutils v2.37

Nayna Jain (1):
security/integrity: fix pointer to ESL data and its size on pseries

Niklas Schnelle (3):
s390/ism: Fix locking for forwarding of IRQs and events to clients s390/ism: Fix and simplify add()/remove() callback handling s390/ism: Do not unregister clients with registered DMBs

Nilesh Javali (3):
scsi: qla2xxx: Array index may go out of bound
scsi: qla2xxx: Avoid fcport pointer dereference
scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()

Nitya Sunkad (1):
ionic: remove WARN_ON to prevent panic_on_warn

Oleksij Rempel (1):
net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver

Oliver Upton (1):
arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2

Ondrej Zary (1):
PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold

Pablo Neira Ayuso (1):
netfilter: nf_tables: report use refcount overflow

Paolo Abeni (3):
net: prevent skb corruption on frag list segmentation
mptcp: do not rely on implicit state check in mptcp_listen()
mptcp: ensure subflow is unhashed before cleaning the backlog

Paulo Alcantara (2):
smb: client: improve DFS mount check
smb: client: fix parsing of source mount option

Pedro Tammela (3):
net/sched: make psched_mtu() RTNL-less safe net/sched: sch_qfq: reintroduce lmax bound check for MTU net/sched: sch_qfq: account for stab overhead in qfq_enqueue

Peter Ujfalusi (1):
tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11

Petr Pavlu (1):
xen/virtio: Fix NULL deref when a bridge of PCI root bus has no parent

Petr Tesarik (2):
swiotlb: always set the number of areas before allocating the pool
swiotlb: reduce the number of areas to match actual memory pool size

Prasad Koya (1):
igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings

Pu Lehui (1):
bpf: cpumap: Fix memory leak in cpu_map_update_elem

Quinn Tran (7):
scsi: qla2xxx: Multi-que support for TMF
scsi: qla2xxx: Fix task management cmd failure
scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
scsi: qla2xxx: Fix hang in task management
scsi: qla2xxx: Wait for io return on terminate rport
scsi: qla2xxx: Fix mem access after free
scsi: qla2xxx: Fix buffer overrun

Rafał Miłecki (1):
net: bgmac: postpone turning IRQs off to avoid SoC hangs

Randy Dunlap (2):
scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
wifi: airo: avoid uninitialized warning in airo_get_rate()

Ratheesh Kannoth (1):
octeontx2-af: Promisc enable/disable through mbox

Rick Wertenbroek (5):
PCI: rockchip: Assert PCI Configuration Enable bit after probe
PCI: rockchip: Write PCI Device ID to correct register
PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
PCI: rockchip: Use u32 variable to access 32-bit registers

Ritesh Harjani (IBM) (1):
ext2/dax: Fix ext2_setsize when len is page aligned

Robin Murphy (1):
PCI: Add function 1 DMA alias quirk for Marvell 88SE9235

Ross Lagerwall (1):
PCI: Release resource invalidated by coalescing

Saeed Mahameed (1):
net/mlx5: Register a unique thermal zone per device

Sai Krishna (1):
octeontx2-af: Move validation of ptp pointer before its usage

Sakari Ailus (1):
media: uapi: Fix [GS]_ROUTING ACTIVE flag value

Samuel Pitoiset (1):
drm/amdgpu: fix clearing mappings for BOs that are always valid in VM

Sathya Prakash (1):
scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O

Shreyas Deodhar (1):
scsi: qla2xxx: Pointer may be dereferenced

Siddh Raman Pant (1):
jfs: jfs_dmap: Validate db_l2nbperpage while mounting

Simon Horman (1):
net: lan743x: select FIXED_PHY

Sinthu Raja (1):
arm64: dts: ti: k3-j721s2: Fix wkup pinmux range

Sridhar Samudrala (2):
ice: Fix max_rate check while configuring TX rate limits
ice: Fix tx queue rate limit when TCs are configured

Stafford Horne (1):
openrisc: Union fpcsr and oldmask in sigcontext to unbreak userspace ABI

Stanislav Lisovskiy (1):
drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner

Stephan Gerhold (1):
opp: Fix use-after-free in lazy_opp_tables after probe deferral

Suman Ghosh (1):
octeontx2-pf: Add additional check for MCAM rules

Sung-huai Wang (1):
drm/amd/display: add a NULL pointer check

Tan Tee Min (1):
igc: Include the length/type field and VLAN tag in queueMaxSDU

Theodore Ts'o (1):
ext4: avoid updating the superblock on a r/o mount if not needed

Thomas Bogendoerfer (1):
MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled

Thomas Hellström (2):
drm/ttm: Don't leak a resource on eviction error drm/ttm: Don't leak a resource on swapout move error

Thomas Zimmermann (1):
drm/client: Send hotplug event after registering a client

Tvrtko Ursulin (1):
drm/i915: Fix one wrong caching mode enum usage

Tzvetomir Stoyanov (VMware) (1):
kernel/trace: Fix cleanup logic of enable_trace_eprobe

Valentin David (1):
tpm: Do not remap from ACPI resources again for Pluton TPM

Vlad Buslov (1):
net/mlx5e: Check for NOT_READY flag state after locking

Vladimir Oltean (3):
net: dsa: felix: make vsc9959_tas_guard_bands_update() visible to ocelot->ops
net: mscc: ocelot: fix oversize frame dropping for preemptible TCs net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum

Wayne Lin (1):
drm/dp_mst: Clear MSG_RDY flag before sending new message

Wei Fang (4):
net: fec: remove useless fec_enet_reset_skb()
net: fec: remove last_bdp from fec_enet_txq_xmit_frame()
net: fec: recycle pages for transmitted XDP frames
net: fec: increase the size of tx ring and update tx_wake_threshold

Weitao Wang (3):
xhci: Fix resume issue of some ZHAOXIN hosts
xhci: Fix TRB prefetch issue of ZHAOXIN hosts
xhci: Show ZHAOXIN xHCI root hub speed correctly

Winston Wen (1):
cifs: fix session state check in smb2_find_smb_ses

Xin Yin (1):
erofs: fix fsdax unavailability for chunk-based regular files

Xiubo Li (3):
ceph: add a dedicated private data for netfs rreq
ceph: fix blindly expanding the readahead windows
ceph: don't let check_caps skip sending responses for revoke msgs

Yang Wang (1):
drm/amd/pm: fix smu i2c data read risk

Yang Yingliang (1):
NTB: ntb_transport: fix possible memory leak while device_register() fails

Yevgeny Kliteynik (1):
net/mlx5e: TC, CT: Offload ct clear only once

Yinjun Zhang (1):
nfp: clean mc addresses in application firmware when closing port

Yuan Can (3):
ntb: idt: Fix error handling in idt_pci_driver_init()
NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
ntb: intel: Fix error handling in intel_ntb_pci_driver_init()

Ze Gao (1):
fprobe: add unlock to match a succeeded ftrace_test_recursion_trylock

Zhang Shurong (1):
wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()

Zheng Yejian (3):
tracing: Fix memory leak of iter->temp when reading trace_pipe
ring-buffer: Fix deadloop issue on reading trace_pipe
ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()

Zhengchao Shao (3):
net/mlx5e: fix double free in mlx5e_destroy_flow_table net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create net/mlx5e: fix memory leak in mlx5e_ptp_open

Zhihao Cheng (1):
ext4: Fix reusing stale buffer heads from last failed mounting

Ziyang Xuan (1):
ipv6/addrconf: fix a potential refcount underflow for idev

gaba (1):
drm/amdgpu: avoid restore process run into dead loop.

sunliming (1):
tracing/user_events: Fix incorrect return value for writing operation when events are disabled

author maintainer
#1 lore raw
Documentation/arm64/silicon-errata.rst +3 -0
index 9e311bc43e05..cd46e2b20a81 100644
@@ -52,6 +52,9 @@ stable kernels.
 | Allwinner      | A64/R18         | UNKNOWN1        | SUN50I_ERRATUM_UNKNOWN1     |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
+| Ampere         | AmpereOne       | AC03_CPU_38     | AMPERE_ERRATUM_AC03_CPU_38  |
++----------------+-----------------+-----------------+-----------------------------+
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A510     | #2457168        | ARM64_ERRATUM_2457168       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A510     | #2064142        | ARM64_ERRATUM_2064142       |
Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst +1 -1
index 68ca343c3b44..2d6e3bbdd040 100644
@@ -122,7 +122,7 @@ for all the route entries and call ``VIDIOC_SUBDEV_G_ROUTING`` again.
     :widths:       3 1 4
 
     * - V4L2_SUBDEV_ROUTE_FL_ACTIVE
-      - 0
+      - 0x0001
       - The route is enabled. Set by applications.
 
 Return Value
Makefile +17 -11
index d5041f7daf68..c324529158cc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 4
-SUBLEVEL = 4
+SUBLEVEL = 5
 EXTRAVERSION =
 NAME = Hurr durr I'ma ninja sloth
 
@@ -1561,6 +1561,8 @@ modules_sign_only := y
 endif
 endif
 
+endif # CONFIG_MODULES
+
 modinst_pre :=
 ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
 modinst_pre := __modinst_pre
@@ -1571,18 +1573,18 @@ PHONY += __modinst_pre
 __modinst_pre:
 	@rm -rf $(MODLIB)/kernel
 	@rm -f $(MODLIB)/source
-	@mkdir -p $(MODLIB)/kernel
+	@mkdir -p $(MODLIB)
+ifdef CONFIG_MODULES
 	@ln -s $(abspath $(srctree)) $(MODLIB)/source
 	@if [ ! $(objtree) -ef  $(MODLIB)/build ]; then \
 		rm -f $(MODLIB)/build ; \
 		ln -s $(CURDIR) $(MODLIB)/build ; \
 	fi
 	@sed 's:^\(.*\)\.o$$:kernel/\1.ko:' modules.order > $(MODLIB)/modules.order
+endif
 	@cp -f modules.builtin $(MODLIB)/
 	@cp -f $(objtree)/modules.builtin.modinfo $(MODLIB)/
 
-endif # CONFIG_MODULES
-
 ###
 # Cleaning is done on three levels.
 # make clean     Delete most generated files
@@ -1924,6 +1926,13 @@ help:
 	@echo  '  clean           - remove generated files in module directory only'
 	@echo  ''
 
+__external_modules_error:
+	@echo >&2 '***'
+	@echo >&2 '*** The present kernel disabled CONFIG_MODULES.'
+	@echo >&2 '*** You cannot build or install external modules.'
+	@echo >&2 '***'
+	@false
+
 endif # KBUILD_EXTMOD
 
 # ---------------------------------------------------------------------------
@@ -1960,13 +1969,10 @@ else # CONFIG_MODULES
 # Modules not configured
 # ---------------------------------------------------------------------------
 
-modules modules_install:
-	@echo >&2 '***'
-	@echo >&2 '*** The present kernel configuration has modules disabled.'
-	@echo >&2 '*** To use the module feature, please run "make menuconfig" etc.'
-	@echo >&2 '*** to enable CONFIG_MODULES.'
-	@echo >&2 '***'
-	@exit 1
+PHONY += __external_modules_error
+
+modules modules_install: __external_modules_error
+	@:
 
 KBUILD_MODULES :=
 
arch/arm64/Kconfig +19 -0
index 92f3fff2522b..b2326674b4d3 100644
@@ -407,6 +407,25 @@ menu "Kernel Features"
 
 menu "ARM errata workarounds via the alternatives framework"
 
+config AMPERE_ERRATUM_AC03_CPU_38
+        bool "AmpereOne: AC03_CPU_38: Certain bits in the Virtualization Translation Control Register and Translation Control Registers do not follow RES0 semantics"
+	default y
+	help
+	  This option adds an alternative code sequence to work around Ampere
+	  erratum AC03_CPU_38 on AmpereOne.
+
+	  The affected design reports FEAT_HAFDBS as not implemented in
+	  ID_AA64MMFR1_EL1.HAFDBS, but (V)TCR_ELx.{HA,HD} are not RES0
+	  as required by the architecture. The unadvertised HAFDBS
+	  implementation suffers from an additional erratum where hardware
+	  A/D updates can occur after a PTE has been marked invalid.
+
+	  The workaround forces KVM to explicitly set VTCR_EL2.HA to 0,
+	  which avoids enabling unadvertised hardware Access Flag management
+	  at stage-2.
+
+	  If unsure, say Y.
+
 config ARM64_WORKAROUND_CLEAN_CACHE
 	bool
 
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nor.dtso +1 -6
index 84aa229e80f3..e48881be4ed6 100644
@@ -27,15 +27,10 @@ partitions {
 
 					partition@0 {
 						label = "bl2";
-						reg = <0x0 0x20000>;
+						reg = <0x0 0x40000>;
 						read-only;
 					};
 
-					partition@20000 {
-						label = "reserved";
-						reg = <0x20000 0x20000>;
-					};
-
 					partition@40000 {
 						label = "u-boot-env";
 						reg = <0x40000 0x40000>;
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +21 -21

70 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +38 -38

119 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +28 -1
index a353705a7463..fa31831e33e8 100644
@@ -50,7 +50,34 @@ mcu_ram: sram@41c00000 {
 	wkup_pmx0: pinctrl@4301c000 {
 		compatible = "pinctrl-single";
 		/* Proxy 0 addressing */
-		reg = <0x00 0x4301c000 0x00 0x178>;
+		reg = <0x00 0x4301c000 0x00 0x034>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx1: pinctrl@4301c038 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c038 0x00 0x02C>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx2: pinctrl@4301c068 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c068 0x00 0x120>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx3: pinctrl@4301c190 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c190 0x00 0x004>;
 		#pinctrl-cells = <1>;
 		pinctrl-single,register-width = <32>;
 		pinctrl-single,function-mask = <0xffffffff>;
arch/arm64/kernel/cpu_errata.c +7 -0
index 307faa2b4395..be66e94a21bd 100644
@@ -729,6 +729,13 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
 		MIDR_FIXED(MIDR_CPU_VAR_REV(1,1), BIT(25)),
 		.cpu_enable = cpu_clear_bf16_from_user_emulation,
 	},
+#endif
+#ifdef CONFIG_AMPERE_ERRATUM_AC03_CPU_38
+	{
+		.desc = "AmpereOne erratum AC03_CPU_38",
+		.capability = ARM64_WORKAROUND_AMPERE_AC03_CPU_38,
+		ERRATA_MIDR_ALL_VERSIONS(MIDR_AMPERE1),
+	},
 #endif
 	{
 	}
arch/arm64/kernel/traps.c +1 -1
index 4bb1b8f47298..7b889445e5c6 100644
@@ -1044,7 +1044,7 @@ static int kasan_handler(struct pt_regs *regs, unsigned long esr)
 	bool recover = esr & KASAN_ESR_RECOVER;
 	bool write = esr & KASAN_ESR_WRITE;
 	size_t size = KASAN_ESR_SIZE(esr);
-	u64 addr = regs->regs[0];
+	void *addr = (void *)regs->regs[0];
 	u64 pc = regs->pc;
 
 	kasan_report(addr, size, write, pc);
arch/arm64/kvm/hyp/pgtable.c +11 -3
index 95dae02ccc2e..37bd64e912ca 100644
@@ -623,10 +623,18 @@ u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift)
 #ifdef CONFIG_ARM64_HW_AFDBM
 	/*
 	 * Enable the Hardware Access Flag management, unconditionally
-	 * on all CPUs. The features is RES0 on CPUs without the support
-	 * and must be ignored by the CPUs.
+	 * on all CPUs. In systems that have asymmetric support for the feature
+	 * this allows KVM to leverage hardware support on the subset of cores
+	 * that implement the feature.
+	 *
+	 * The architecture requires VTCR_EL2.HA to be RES0 (thus ignored by
+	 * hardware) on implementations that do not advertise support for the
+	 * feature. As such, setting HA unconditionally is safe, unless you
+	 * happen to be running on a design that has unadvertised support for
+	 * HAFDBS. Here be dragons.
 	 */
-	vtcr |= VTCR_EL2_HA;
+	if (!cpus_have_final_cap(ARM64_WORKAROUND_AMPERE_AC03_CPU_38))
+		vtcr |= VTCR_EL2_HA;
 #endif /* CONFIG_ARM64_HW_AFDBM */
 
 	/* Set the vmid bits */
arch/arm64/mm/fault.c +1 -1
index df1386a60d52..22911bed0eb0 100644
@@ -317,7 +317,7 @@ static void report_tag_fault(unsigned long addr, unsigned long esr,
 	 * find out access size.
 	 */
 	bool is_write = !!(esr & ESR_ELx_WNR);
-	kasan_report(addr, 0, is_write, regs->pc);
+	kasan_report((void *)addr, 0, is_write, regs->pc);
 }
 #else
 /* Tag faults aren't enabled without CONFIG_KASAN_HW_TAGS. */
arch/arm64/tools/cpucaps +1 -0
index 40ba95472594..9f9a2d6652eb 100644
@@ -77,6 +77,7 @@ WORKAROUND_2077057
 WORKAROUND_2457168
 WORKAROUND_2645198
 WORKAROUND_2658417
+WORKAROUND_AMPERE_AC03_CPU_38
 WORKAROUND_TRBE_OVERWRITE_FILL_MODE
 WORKAROUND_TSB_FLUSH_FAILURE
 WORKAROUND_TRBE_WRITE_OUT_OF_RANGE
arch/mips/Makefile +3 -7
index ef7b05ae92ce..a47593d72f6f 100644
@@ -181,16 +181,12 @@ endif
 cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
 cflags-$(CONFIG_CPU_BMIPS)	+= -march=mips32 -Wa,-mips32 -Wa,--trap
 
-cflags-$(CONFIG_CPU_LOONGSON2E) += -march=loongson2e -Wa,--trap
-cflags-$(CONFIG_CPU_LOONGSON2F) += -march=loongson2f -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON2E) += $(call cc-option,-march=loongson2e) -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON2F) += $(call cc-option,-march=loongson2f) -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON64) += $(call cc-option,-march=loongson3a,-march=mips64r2) -Wa,--trap
 # Some -march= flags enable MMI instructions, and GCC complains about that
 # support being enabled alongside -msoft-float. Thus explicitly disable MMI.
 cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call cc-option,-mno-loongson-mmi)
-ifdef CONFIG_CPU_LOONGSON64
-cflags-$(CONFIG_CPU_LOONGSON64)	+= -Wa,--trap
-cflags-$(CONFIG_CC_IS_GCC) += -march=loongson3a
-cflags-$(CONFIG_CC_IS_CLANG) += -march=mips64r2
-endif
 cflags-$(CONFIG_CPU_LOONGSON64) += $(call cc-option,-mno-loongson-mmi)
 
 cflags-$(CONFIG_CPU_R4000_WORKAROUNDS)	+= $(call cc-option,-mfix-r4000,)
arch/mips/include/asm/cpu-features.h +2 -2
index 51a1737b03d0..404390bb87ea 100644
@@ -125,7 +125,7 @@
 ({									\
 	int __res;							\
 									\
-	switch (current_cpu_type()) {					\
+	switch (boot_cpu_type()) {					\
 	case CPU_CAVIUM_OCTEON:						\
 	case CPU_CAVIUM_OCTEON_PLUS:					\
 	case CPU_CAVIUM_OCTEON2:					\
@@ -368,7 +368,7 @@
 ({									\
 	int __res;							\
 									\
-	switch (current_cpu_type()) {					\
+	switch (boot_cpu_type()) {					\
 	case CPU_M14KC:							\
 	case CPU_74K:							\
 	case CPU_1074K:							\
arch/mips/include/asm/kvm_host.h +3 -3
index 957121a495f0..04cedf9f8811 100644
@@ -317,7 +317,7 @@ struct kvm_vcpu_arch {
 	unsigned int aux_inuse;
 
 	/* COP0 State */
-	struct mips_coproc *cop0;
+	struct mips_coproc cop0;
 
 	/* Resume PC after MMIO completion */
 	unsigned long io_pc;
@@ -698,7 +698,7 @@ static inline bool kvm_mips_guest_can_have_fpu(struct kvm_vcpu_arch *vcpu)
 static inline bool kvm_mips_guest_has_fpu(struct kvm_vcpu_arch *vcpu)
 {
 	return kvm_mips_guest_can_have_fpu(vcpu) &&
-		kvm_read_c0_guest_config1(vcpu->cop0) & MIPS_CONF1_FP;
+		kvm_read_c0_guest_config1(&vcpu->cop0) & MIPS_CONF1_FP;
 }
 
 static inline bool kvm_mips_guest_can_have_msa(struct kvm_vcpu_arch *vcpu)
@@ -710,7 +710,7 @@ static inline bool kvm_mips_guest_can_have_msa(struct kvm_vcpu_arch *vcpu)
 static inline bool kvm_mips_guest_has_msa(struct kvm_vcpu_arch *vcpu)
 {
 	return kvm_mips_guest_can_have_msa(vcpu) &&
-		kvm_read_c0_guest_config3(vcpu->cop0) & MIPS_CONF3_MSA;
+		kvm_read_c0_guest_config3(&vcpu->cop0) & MIPS_CONF3_MSA;
 }
 
 struct kvm_mips_callbacks {
arch/mips/kernel/cpu-probe.c +3 -6
index e79adcb128e6..b406d8bfb15a 100644
@@ -1677,7 +1677,10 @@ static inline void decode_cpucfg(struct cpuinfo_mips *c)
 
 static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
 {
+	c->cputype = CPU_LOONGSON64;
+
 	/* All Loongson processors covered here define ExcCode 16 as GSExc. */
+	decode_configs(c);
 	c->options |= MIPS_CPU_GSEXCEX;
 
 	switch (c->processor_id & PRID_IMP_MASK) {
@@ -1687,7 +1690,6 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
 		case PRID_REV_LOONGSON2K_R1_1:
 		case PRID_REV_LOONGSON2K_R1_2:
 		case PRID_REV_LOONGSON2K_R1_3:
-			c->cputype = CPU_LOONGSON64;
 			__cpu_name[cpu] = "Loongson-2K";
 			set_elf_platform(cpu, "gs264e");
 			set_isa(c, MIPS_CPU_ISA_M64R2);
@@ -1700,14 +1702,12 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
 		switch (c->processor_id & PRID_REV_MASK) {
 		case PRID_REV_LOONGSON3A_R2_0:
 		case PRID_REV_LOONGSON3A_R2_1:
-			c->cputype = CPU_LOONGSON64;
 			__cpu_name[cpu] = "ICT Loongson-3";
 			set_elf_platform(cpu, "loongson3a");
 			set_isa(c, MIPS_CPU_ISA_M64R2);
 			break;
 		case PRID_REV_LOONGSON3A_R3_0:
 		case PRID_REV_LOONGSON3A_R3_1:
-			c->cputype = CPU_LOONGSON64;
 			__cpu_name[cpu] = "ICT Loongson-3";
 			set_elf_platform(cpu, "loongson3a");
 			set_isa(c, MIPS_CPU_ISA_M64R2);
@@ -1727,7 +1727,6 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
 		c->ases &= ~MIPS_ASE_VZ; /* VZ of Loongson-3A2000/3000 is incomplete */
 		break;
 	case PRID_IMP_LOONGSON_64G:
-		c->cputype = CPU_LOONGSON64;
 		__cpu_name[cpu] = "ICT Loongson-3";
 		set_elf_platform(cpu, "loongson3a");
 		set_isa(c, MIPS_CPU_ISA_M64R2);
@@ -1737,8 +1736,6 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
 		panic("Unknown Loongson Processor ID!");
 		break;
 	}
-
-	decode_configs(c);
 }
 #else
 static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu) { }
arch/mips/kvm/emulate.c +11 -11
index edaec93a1a1f..e64372b8f66a 100644
@@ -312,7 +312,7 @@ int kvm_get_badinstrp(u32 *opc, struct kvm_vcpu *vcpu, u32 *out)
  */
 int kvm_mips_count_disabled(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 
 	return	(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) ||
 		(kvm_read_c0_guest_cause(cop0) & CAUSEF_DC);
@@ -384,7 +384,7 @@ static inline ktime_t kvm_mips_count_time(struct kvm_vcpu *vcpu)
  */
 static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	ktime_t expires, threshold;
 	u32 count, compare;
 	int running;
@@ -444,7 +444,7 @@ static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now)
  */
 u32 kvm_mips_read_count(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 
 	/* If count disabled just read static copy of count */
 	if (kvm_mips_count_disabled(vcpu))
@@ -502,7 +502,7 @@ ktime_t kvm_mips_freeze_hrtimer(struct kvm_vcpu *vcpu, u32 *count)
 static void kvm_mips_resume_hrtimer(struct kvm_vcpu *vcpu,
 				    ktime_t now, u32 count)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	u32 compare;
 	u64 delta;
 	ktime_t expire;
@@ -603,7 +603,7 @@ int kvm_mips_restore_hrtimer(struct kvm_vcpu *vcpu, ktime_t before,
  */
 void kvm_mips_write_count(struct kvm_vcpu *vcpu, u32 count)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	ktime_t now;
 
 	/* Calculate bias */
@@ -649,7 +649,7 @@ void kvm_mips_init_count(struct kvm_vcpu *vcpu, unsigned long count_hz)
  */
 int kvm_mips_set_count_hz(struct kvm_vcpu *vcpu, s64 count_hz)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	int dc;
 	ktime_t now;
 	u32 count;
@@ -696,7 +696,7 @@ int kvm_mips_set_count_hz(struct kvm_vcpu *vcpu, s64 count_hz)
  */
 void kvm_mips_write_compare(struct kvm_vcpu *vcpu, u32 compare, bool ack)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	int dc;
 	u32 old_compare = kvm_read_c0_guest_compare(cop0);
 	s32 delta = compare - old_compare;
@@ -779,7 +779,7 @@ void kvm_mips_write_compare(struct kvm_vcpu *vcpu, u32 compare, bool ack)
  */
 static ktime_t kvm_mips_count_disable(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	u32 count;
 	ktime_t now;
 
@@ -806,7 +806,7 @@ static ktime_t kvm_mips_count_disable(struct kvm_vcpu *vcpu)
  */
 void kvm_mips_count_disable_cause(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 
 	kvm_set_c0_guest_cause(cop0, CAUSEF_DC);
 	if (!(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC))
@@ -826,7 +826,7 @@ void kvm_mips_count_disable_cause(struct kvm_vcpu *vcpu)
  */
 void kvm_mips_count_enable_cause(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	u32 count;
 
 	kvm_clear_c0_guest_cause(cop0, CAUSEF_DC);
@@ -852,7 +852,7 @@ void kvm_mips_count_enable_cause(struct kvm_vcpu *vcpu)
  */
 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	s64 changed = count_ctl ^ vcpu->arch.count_ctl;
 	s64 delta;
 	ktime_t expire, now;
arch/mips/kvm/mips.c +8 -8
index 884be4ef99dc..aa5583a7b05b 100644
@@ -649,7 +649,7 @@ static int kvm_mips_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices)
 static int kvm_mips_get_reg(struct kvm_vcpu *vcpu,
 			    const struct kvm_one_reg *reg)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	struct mips_fpu_struct *fpu = &vcpu->arch.fpu;
 	int ret;
 	s64 v;
@@ -761,7 +761,7 @@ static int kvm_mips_get_reg(struct kvm_vcpu *vcpu,
 static int kvm_mips_set_reg(struct kvm_vcpu *vcpu,
 			    const struct kvm_one_reg *reg)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	struct mips_fpu_struct *fpu = &vcpu->arch.fpu;
 	s64 v;
 	s64 vs[2];
@@ -1086,7 +1086,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu)
 {
 	return kvm_mips_pending_timer(vcpu) ||
-		kvm_read_c0_guest_cause(vcpu->arch.cop0) & C_TI;
+		kvm_read_c0_guest_cause(&vcpu->arch.cop0) & C_TI;
 }
 
 int kvm_arch_vcpu_dump_regs(struct kvm_vcpu *vcpu)
@@ -1110,7 +1110,7 @@ int kvm_arch_vcpu_dump_regs(struct kvm_vcpu *vcpu)
 	kvm_debug("\thi: 0x%08lx\n", vcpu->arch.hi);
 	kvm_debug("\tlo: 0x%08lx\n", vcpu->arch.lo);
 
-	cop0 = vcpu->arch.cop0;
+	cop0 = &vcpu->arch.cop0;
 	kvm_debug("\tStatus: 0x%08x, Cause: 0x%08x\n",
 		  kvm_read_c0_guest_status(cop0),
 		  kvm_read_c0_guest_cause(cop0));
@@ -1232,7 +1232,7 @@ static int __kvm_mips_handle_exit(struct kvm_vcpu *vcpu)
 
 	case EXCCODE_TLBS:
 		kvm_debug("TLB ST fault:  cause %#x, status %#x, PC: %p, BadVaddr: %#lx\n",
-			  cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc,
+			  cause, kvm_read_c0_guest_status(&vcpu->arch.cop0), opc,
 			  badvaddr);
 
 		++vcpu->stat.tlbmiss_st_exits;
@@ -1304,7 +1304,7 @@ static int __kvm_mips_handle_exit(struct kvm_vcpu *vcpu)
 		kvm_get_badinstr(opc, vcpu, &inst);
 		kvm_err("Exception Code: %d, not yet handled, @ PC: %p, inst: 0x%08x  BadVaddr: %#lx Status: %#x\n",
 			exccode, opc, inst, badvaddr,
-			kvm_read_c0_guest_status(vcpu->arch.cop0));
+			kvm_read_c0_guest_status(&vcpu->arch.cop0));
 		kvm_arch_vcpu_dump_regs(vcpu);
 		run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
 		ret = RESUME_HOST;
@@ -1377,7 +1377,7 @@ int noinstr kvm_mips_handle_exit(struct kvm_vcpu *vcpu)
 /* Enable FPU for guest and restore context */
 void kvm_own_fpu(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	unsigned int sr, cfg5;
 
 	preempt_disable();
@@ -1421,7 +1421,7 @@ void kvm_own_fpu(struct kvm_vcpu *vcpu)
 /* Enable MSA for guest and restore context */
 void kvm_own_msa(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	unsigned int sr, cfg5;
 
 	preempt_disable();
arch/mips/kvm/stats.c +2 -2
index 53f851a61554..3e6682018fbe 100644
@@ -54,9 +54,9 @@ void kvm_mips_dump_stats(struct kvm_vcpu *vcpu)
 	kvm_info("\nKVM VCPU[%d] COP0 Access Profile:\n", vcpu->vcpu_id);
 	for (i = 0; i < N_MIPS_COPROC_REGS; i++) {
 		for (j = 0; j < N_MIPS_COPROC_SEL; j++) {
-			if (vcpu->arch.cop0->stat[i][j])
+			if (vcpu->arch.cop0.stat[i][j])
 				kvm_info("%s[%d]: %lu\n", kvm_cop0_str[i], j,
-					 vcpu->arch.cop0->stat[i][j]);
+					 vcpu->arch.cop0.stat[i][j]);
 		}
 	}
 #endif
arch/mips/kvm/trace.h +4 -4
index a8c7fd7bf6d2..136c3535a1cb 100644
@@ -322,11 +322,11 @@ TRACE_EVENT_FN(kvm_guest_mode_change,
 	    ),
 
 	    TP_fast_assign(
-			__entry->epc = kvm_read_c0_guest_epc(vcpu->arch.cop0);
+			__entry->epc = kvm_read_c0_guest_epc(&vcpu->arch.cop0);
 			__entry->pc = vcpu->arch.pc;
-			__entry->badvaddr = kvm_read_c0_guest_badvaddr(vcpu->arch.cop0);
-			__entry->status = kvm_read_c0_guest_status(vcpu->arch.cop0);
-			__entry->cause = kvm_read_c0_guest_cause(vcpu->arch.cop0);
+			__entry->badvaddr = kvm_read_c0_guest_badvaddr(&vcpu->arch.cop0);
+			__entry->status = kvm_read_c0_guest_status(&vcpu->arch.cop0);
+			__entry->cause = kvm_read_c0_guest_cause(&vcpu->arch.cop0);
 	    ),
 
 	    TP_printk("EPC: 0x%08lx PC: 0x%08lx Status: 0x%08x Cause: 0x%08x BadVAddr: 0x%08lx",
arch/mips/kvm/vz.c +10 -10
index 3d21cbfa7443..99d5a71e4300 100644
@@ -422,7 +422,7 @@ static void _kvm_vz_restore_htimer(struct kvm_vcpu *vcpu,
  */
 static void kvm_vz_restore_timer(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	u32 cause, compare;
 
 	compare = kvm_read_sw_gc0_compare(cop0);
@@ -517,7 +517,7 @@ static void _kvm_vz_save_htimer(struct kvm_vcpu *vcpu,
  */
 static void kvm_vz_save_timer(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	u32 gctl0, compare, cause;
 
 	gctl0 = read_c0_guestctl0();
@@ -863,7 +863,7 @@ static unsigned long mips_process_maar(unsigned int op, unsigned long val)
 
 static void kvm_write_maari(struct kvm_vcpu *vcpu, unsigned long val)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 
 	val &= MIPS_MAARI_INDEX;
 	if (val == MIPS_MAARI_INDEX)
@@ -876,7 +876,7 @@ static enum emulation_result kvm_vz_gpsi_cop0(union mips_instruction inst,
 					      u32 *opc, u32 cause,
 					      struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	enum emulation_result er = EMULATE_DONE;
 	u32 rt, rd, sel;
 	unsigned long curr_pc;
@@ -1911,7 +1911,7 @@ static int kvm_vz_get_one_reg(struct kvm_vcpu *vcpu,
 			      const struct kvm_one_reg *reg,
 			      s64 *v)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	unsigned int idx;
 
 	switch (reg->id) {
@@ -2081,7 +2081,7 @@ static int kvm_vz_get_one_reg(struct kvm_vcpu *vcpu,
 	case KVM_REG_MIPS_CP0_MAARI:
 		if (!cpu_guest_has_maar || cpu_guest_has_dyn_maar)
 			return -EINVAL;
-		*v = kvm_read_sw_gc0_maari(vcpu->arch.cop0);
+		*v = kvm_read_sw_gc0_maari(&vcpu->arch.cop0);
 		break;
 #ifdef CONFIG_64BIT
 	case KVM_REG_MIPS_CP0_XCONTEXT:
@@ -2135,7 +2135,7 @@ static int kvm_vz_set_one_reg(struct kvm_vcpu *vcpu,
 			      const struct kvm_one_reg *reg,
 			      s64 v)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	unsigned int idx;
 	int ret = 0;
 	unsigned int cur, change;
@@ -2562,7 +2562,7 @@ static void kvm_vz_vcpu_load_tlb(struct kvm_vcpu *vcpu, int cpu)
 
 static int kvm_vz_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	bool migrated, all;
 
 	/*
@@ -2704,7 +2704,7 @@ static int kvm_vz_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
 
 static int kvm_vz_vcpu_put(struct kvm_vcpu *vcpu, int cpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 
 	if (current->flags & PF_VCPU)
 		kvm_vz_vcpu_save_wired(vcpu);
@@ -3076,7 +3076,7 @@ static void kvm_vz_vcpu_uninit(struct kvm_vcpu *vcpu)
 
 static int kvm_vz_vcpu_setup(struct kvm_vcpu *vcpu)
 {
-	struct mips_coproc *cop0 = vcpu->arch.cop0;
+	struct mips_coproc *cop0 = &vcpu->arch.cop0;
 	unsigned long count_hz = 100*1000*1000; /* default to 100 MHz */
 
 	/*
arch/openrisc/include/uapi/asm/sigcontext.h +4 -2
index ca585e4af6b8..e7ffb58ff58f 100644
@@ -28,8 +28,10 @@
 
 struct sigcontext {
 	struct user_regs_struct regs;  /* needs to be first */
-	struct __or1k_fpu_state fpu;
-	unsigned long oldmask;
+	union {
+		unsigned long fpcsr;
+		unsigned long oldmask;	/* unused */
+	};
 };
 
 #endif /* __ASM_OPENRISC_SIGCONTEXT_H */
arch/openrisc/kernel/signal.c +2 -2
index 4664a18f0787..2e7257a433ff 100644
@@ -50,7 +50,7 @@ static int restore_sigcontext(struct pt_regs *regs,
 	err |= __copy_from_user(regs, sc->regs.gpr, 32 * sizeof(unsigned long));
 	err |= __copy_from_user(&regs->pc, &sc->regs.pc, sizeof(unsigned long));
 	err |= __copy_from_user(&regs->sr, &sc->regs.sr, sizeof(unsigned long));
-	err |= __copy_from_user(&regs->fpcsr, &sc->fpu.fpcsr, sizeof(unsigned long));
+	err |= __copy_from_user(&regs->fpcsr, &sc->fpcsr, sizeof(unsigned long));
 
 	/* make sure the SM-bit is cleared so user-mode cannot fool us */
 	regs->sr &= ~SPR_SR_SM;
@@ -113,7 +113,7 @@ static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
 	err |= __copy_to_user(sc->regs.gpr, regs, 32 * sizeof(unsigned long));
 	err |= __copy_to_user(&sc->regs.pc, &regs->pc, sizeof(unsigned long));
 	err |= __copy_to_user(&sc->regs.sr, &regs->sr, sizeof(unsigned long));
-	err |= __copy_to_user(&sc->fpu.fpcsr, &regs->fpcsr, sizeof(unsigned long));
+	err |= __copy_to_user(&sc->fpcsr, &regs->fpcsr, sizeof(unsigned long));
 
 	return err;
 }
arch/powerpc/Makefile +8 -0
index dca73f673d70..fc76eb9830fd 100644
@@ -409,3 +409,11 @@ checkbin:
 		echo -n '*** Please use a different binutils version.' ; \
 		false ; \
 	fi
+	@if test "x${CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT}" = "xy" -a \
+		"x${CONFIG_LD_IS_BFD}" = "xy" -a \
+		"${CONFIG_LD_VERSION}" = "23700" ; then \
+		echo -n '*** binutils 2.37 drops unused section symbols, which recordmcount ' ; \
+		echo 'is unable to handle.' ; \
+		echo '*** Please use a different binutils version.' ; \
+		false ; \
+	fi
arch/powerpc/kernel/security.c +19 -18
index 206475e3e0b4..4856e1a5161c 100644
@@ -364,26 +364,27 @@ ssize_t cpu_show_spec_store_bypass(struct device *dev, struct device_attribute *
 
 static int ssb_prctl_get(struct task_struct *task)
 {
+	/*
+	 * The STF_BARRIER feature is on by default, so if it's off that means
+	 * firmware has explicitly said the CPU is not vulnerable via either
+	 * the hypercall or device tree.
+	 */
+	if (!security_ftr_enabled(SEC_FTR_STF_BARRIER))
+		return PR_SPEC_NOT_AFFECTED;
+
+	/*
+	 * If the system's CPU has no known barrier (see setup_stf_barrier())
+	 * then assume that the CPU is not vulnerable.
+	 */
 	if (stf_enabled_flush_types == STF_BARRIER_NONE)
-		/*
-		 * We don't have an explicit signal from firmware that we're
-		 * vulnerable or not, we only have certain CPU revisions that
-		 * are known to be vulnerable.
-		 *
-		 * We assume that if we're on another CPU, where the barrier is
-		 * NONE, then we are not vulnerable.
-		 */
 		return PR_SPEC_NOT_AFFECTED;
-	else
-		/*
-		 * If we do have a barrier type then we are vulnerable. The
-		 * barrier is not a global or per-process mitigation, so the
-		 * only value we can report here is PR_SPEC_ENABLE, which
-		 * appears as "vulnerable" in /proc.
-		 */
-		return PR_SPEC_ENABLE;
-
-	return -EINVAL;
+
+	/*
+	 * Otherwise the CPU is vulnerable. The barrier is not a global or
+	 * per-process mitigation, so the only value that can be reported here
+	 * is PR_SPEC_ENABLE, which appears as "vulnerable" in /proc.
+	 */
+	return PR_SPEC_ENABLE;
 }
 
 int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which)
arch/powerpc/mm/book3s64/hash_native.c +9 -4
index 9342e79870df..430d1d935a7c 100644
@@ -328,10 +328,12 @@ static long native_hpte_insert(unsigned long hpte_group, unsigned long vpn,
 
 static long native_hpte_remove(unsigned long hpte_group)
 {
+	unsigned long hpte_v, flags;
 	struct hash_pte *hptep;
 	int i;
 	int slot_offset;
-	unsigned long hpte_v;
+
+	local_irq_save(flags);
 
 	DBG_LOW("    remove(group=%lx)\n", hpte_group);
 
@@ -356,13 +358,16 @@ static long native_hpte_remove(unsigned long hpte_group)
 		slot_offset &= 0x7;
 	}
 
-	if (i == HPTES_PER_GROUP)
-		return -1;
+	if (i == HPTES_PER_GROUP) {
+		i = -1;
+		goto out;
+	}
 
 	/* Invalidate the hpte. NOTE: this also unlocks it */
 	release_hpte_lock();
 	hptep->v = 0;
-
+out:
+	local_irq_restore(flags);
 	return i;
 }
 
arch/riscv/mm/init.c +1 -1
index 1306149aad57..93e7bb9f67fd 100644
@@ -1346,7 +1346,7 @@ static void __init reserve_crashkernel(void)
 	 */
 	crash_base = memblock_phys_alloc_range(crash_size, PMD_SIZE,
 					       search_start,
-					       min(search_end, (unsigned long) SZ_4G));
+					       min(search_end, (unsigned long)(SZ_4G - 1)));
 	if (crash_base == 0) {
 		/* Try again without restricting region to 32bit addressible memory */
 		crash_base = memblock_phys_alloc_range(crash_size, PMD_SIZE,
arch/riscv/net/bpf_jit.h +3 -3
index bf9802a63061..2717f5490428 100644
@@ -69,7 +69,7 @@ struct rv_jit_context {
 	struct bpf_prog *prog;
 	u16 *insns;		/* RV insns */
 	int ninsns;
-	int body_len;
+	int prologue_len;
 	int epilogue_offset;
 	int *offset;		/* BPF to RV */
 	int nexentries;
@@ -216,8 +216,8 @@ static inline int rv_offset(int insn, int off, struct rv_jit_context *ctx)
 	int from, to;
 
 	off++; /* BPF branch is from PC+1, RV is from PC */
-	from = (insn > 0) ? ctx->offset[insn - 1] : 0;
-	to = (insn + off > 0) ? ctx->offset[insn + off - 1] : 0;
+	from = (insn > 0) ? ctx->offset[insn - 1] : ctx->prologue_len;
+	to = (insn + off > 0) ? ctx->offset[insn + off - 1] : ctx->prologue_len;
 	return ninsns_rvoff(to - from);
 }
 
arch/riscv/net/bpf_jit_core.c +13 -6
index 737baf8715da..7a26a3e1c73c 100644
@@ -44,7 +44,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 	unsigned int prog_size = 0, extable_size = 0;
 	bool tmp_blinded = false, extra_pass = false;
 	struct bpf_prog *tmp, *orig_prog = prog;
-	int pass = 0, prev_ninsns = 0, prologue_len, i;
+	int pass = 0, prev_ninsns = 0, i;
 	struct rv_jit_data *jit_data;
 	struct rv_jit_context *ctx;
 
@@ -83,6 +83,12 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 		prog = orig_prog;
 		goto out_offset;
 	}
+
+	if (build_body(ctx, extra_pass, NULL)) {
+		prog = orig_prog;
+		goto out_offset;
+	}
+
 	for (i = 0; i < prog->len; i++) {
 		prev_ninsns += 32;
 		ctx->offset[i] = prev_ninsns;
@@ -91,12 +97,15 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 	for (i = 0; i < NR_JIT_ITERATIONS; i++) {
 		pass++;
 		ctx->ninsns = 0;
+
+		bpf_jit_build_prologue(ctx);
+		ctx->prologue_len = ctx->ninsns;
+
 		if (build_body(ctx, extra_pass, ctx->offset)) {
 			prog = orig_prog;
 			goto out_offset;
 		}
-		ctx->body_len = ctx->ninsns;
-		bpf_jit_build_prologue(ctx);
+
 		ctx->epilogue_offset = ctx->ninsns;
 		bpf_jit_build_epilogue(ctx);
 
@@ -162,10 +171,8 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 
 	if (!prog->is_func || extra_pass) {
 		bpf_jit_binary_lock_ro(jit_data->header);
-		prologue_len = ctx->epilogue_offset - ctx->body_len;
 		for (i = 0; i < prog->len; i++)
-			ctx->offset[i] = ninsns_rvoff(prologue_len +
-						      ctx->offset[i]);
+			ctx->offset[i] = ninsns_rvoff(ctx->offset[i]);
 		bpf_prog_fill_jited_linfo(prog, ctx->offset);
 out_offset:
 		kfree(ctx->offset);
arch/s390/Makefile +1 -0
index ed646c583e4f..5ed242897b0d 100644
@@ -27,6 +27,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += -fno-delete-null-pointer-checks -msoft-float -mbac
 KBUILD_CFLAGS_DECOMPRESSOR += -fno-asynchronous-unwind-tables
 KBUILD_CFLAGS_DECOMPRESSOR += -ffreestanding
 KBUILD_CFLAGS_DECOMPRESSOR += -fno-stack-protector
+KBUILD_CFLAGS_DECOMPRESSOR += -fPIE
 KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, address-of-packed-member)
 KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO),-g)
 KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option, -gdwarf-4,))
arch/x86/events/intel/core.c +7 -0
index 27f3a7b34bd5..5e52ed3e5562 100644
@@ -3993,6 +3993,13 @@ static int intel_pmu_hw_config(struct perf_event *event)
 		struct perf_event *leader = event->group_leader;
 		struct perf_event *sibling = NULL;
 
+		/*
+		 * When this memload event is also the first event (no group
+		 * exists yet), then there is no aux event before it.
+		 */
+		if (leader == event)
+			return -ENODATA;
+
 		if (!is_mem_loads_aux_event(leader)) {
 			for_each_sibling_event(sibling, leader) {
 				if (is_mem_loads_aux_event(sibling))
arch/xtensa/platforms/iss/network.c +1 -1
index 9ac46ab3a296..119345eeb04c 100644
@@ -237,7 +237,7 @@ static int tuntap_probe(struct iss_net_private *lp, int index, char *init)
 
 	init += sizeof(TRANSPORT_TUNTAP_NAME) - 1;
 	if (*init == ',') {
-		rem = split_if_spec(init + 1, &mac_str, &dev_name);
+		rem = split_if_spec(init + 1, &mac_str, &dev_name, NULL);
 		if (rem != NULL) {
 			pr_err("%s: extra garbage on specification : '%s'\n",
 			       dev->name, rem);
block/blk-crypto-profile.c +10 -2
index 2a67d3fb63e5..7fabc883e39f 100644
@@ -79,7 +79,14 @@ int blk_crypto_profile_init(struct blk_crypto_profile *profile,
 	unsigned int slot_hashtable_size;
 
 	memset(profile, 0, sizeof(*profile));
-	init_rwsem(&profile->lock);
+
+	/*
+	 * profile->lock of an underlying device can nest inside profile->lock
+	 * of a device-mapper device, so use a dynamic lock class to avoid
+	 * false-positive lockdep reports.
+	 */
+	lockdep_register_key(&profile->lockdep_key);
+	__init_rwsem(&profile->lock, "&profile->lock", &profile->lockdep_key);
 
 	if (num_slots == 0)
 		return 0;
@@ -89,7 +96,7 @@ int blk_crypto_profile_init(struct blk_crypto_profile *profile,
 	profile->slots = kvcalloc(num_slots, sizeof(profile->slots[0]),
 				  GFP_KERNEL);
 	if (!profile->slots)
-		return -ENOMEM;
+		goto err_destroy;
 
 	profile->num_slots = num_slots;
 
@@ -435,6 +442,7 @@ void blk_crypto_profile_destroy(struct blk_crypto_profile *profile)
 {
 	if (!profile)
 		return;
+	lockdep_unregister_key(&profile->lockdep_key);
 	kvfree(profile->slot_hashtable);
 	kvfree_sensitive(profile->slots,
 			 sizeof(profile->slots[0]) * profile->num_slots);
drivers/accel/ivpu/ivpu_drv.h +1 -0
index d3013fbd13b3..399dc5dcefd7 100644
@@ -75,6 +75,7 @@ struct ivpu_wa_table {
 	bool punit_disabled;
 	bool clear_runtime_mem;
 	bool d3hot_after_power_off;
+	bool interrupt_clear_with_0;
 };
 
 struct ivpu_hw_info;
drivers/accel/ivpu/ivpu_hw_mtl.c +13 -7
index fef35422c6f0..2a5dd3a5dc46 100644
@@ -101,6 +101,9 @@ static void ivpu_hw_wa_init(struct ivpu_device *vdev)
 	vdev->wa.punit_disabled = ivpu_is_fpga(vdev);
 	vdev->wa.clear_runtime_mem = false;
 	vdev->wa.d3hot_after_power_off = true;
+
+	if (ivpu_device_id(vdev) == PCI_DEVICE_ID_MTL && ivpu_revision(vdev) < 4)
+		vdev->wa.interrupt_clear_with_0 = true;
 }
 
 static void ivpu_hw_timeouts_init(struct ivpu_device *vdev)
@@ -885,7 +888,7 @@ static void ivpu_hw_mtl_irq_disable(struct ivpu_device *vdev)
 	REGB_WR32(MTL_BUTTRESS_GLOBAL_INT_MASK, 0x1);
 	REGB_WR32(MTL_BUTTRESS_LOCAL_INT_MASK, BUTTRESS_IRQ_DISABLE_MASK);
 	REGV_WR64(MTL_VPU_HOST_SS_ICB_ENABLE_0, 0x0ull);
-	REGB_WR32(MTL_VPU_HOST_SS_FW_SOC_IRQ_EN, 0x0);
+	REGV_WR32(MTL_VPU_HOST_SS_FW_SOC_IRQ_EN, 0x0);
 }
 
 static void ivpu_hw_mtl_irq_wdt_nce_handler(struct ivpu_device *vdev)
@@ -973,12 +976,15 @@ static u32 ivpu_hw_mtl_irqb_handler(struct ivpu_device *vdev, int irq)
 		schedule_recovery = true;
 	}
 
-	/*
-	 * Clear local interrupt status by writing 0 to all bits.
-	 * This must be done after interrupts are cleared at the source.
-	 * Writing 1 triggers an interrupt, so we can't perform read update write.
-	 */
-	REGB_WR32(MTL_BUTTRESS_INTERRUPT_STAT, 0x0);
+	/* This must be done after interrupts are cleared at the source. */
+	if (IVPU_WA(interrupt_clear_with_0))
+		/*
+		 * Writing 1 triggers an interrupt, so we can't perform read update write.
+		 * Clear local interrupt status by writing 0 to all bits.
+		 */
+		REGB_WR32(MTL_BUTTRESS_INTERRUPT_STAT, 0x0);
+	else
+		REGB_WR32(MTL_BUTTRESS_INTERRUPT_STAT, status);
 
 	/* Re-enable global interrupt */
 	REGB_WR32(MTL_BUTTRESS_GLOBAL_INT_MASK, 0x0);
drivers/base/regmap/regmap-irq.c +1 -1
index b99bb2369fff..d80054470909 100644
@@ -852,7 +852,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,
 		if (!d->config_buf)
 			goto err_alloc;
 
-		for (i = 0; i < chip->num_config_regs; i++) {
+		for (i = 0; i < chip->num_config_bases; i++) {
 			d->config_buf[i] = kcalloc(chip->num_config_regs,
 						   sizeof(**d->config_buf),
 						   GFP_KERNEL);
drivers/bus/intel-ixp4xx-eb.c +1 -1
index f5ba6bee6fd8..320cf307db05 100644
@@ -33,7 +33,7 @@
 #define IXP4XX_EXP_TIMING_STRIDE	0x04
 #define IXP4XX_EXP_CS_EN		BIT(31)
 #define IXP456_EXP_PAR_EN		BIT(30) /* Only on IXP45x and IXP46x */
-#define IXP4XX_EXP_T1_MASK		GENMASK(28, 27)
+#define IXP4XX_EXP_T1_MASK		GENMASK(29, 28)
 #define IXP4XX_EXP_T1_SHIFT		28
 #define IXP4XX_EXP_T2_MASK		GENMASK(27, 26)
 #define IXP4XX_EXP_T2_SHIFT		26
drivers/char/hw_random/imx-rngc.c +2 -4
index a1c24148ed31..75fb46298a87 100644
@@ -110,7 +110,7 @@ static int imx_rngc_self_test(struct imx_rngc *rngc)
 	cmd = readl(rngc->base + RNGC_COMMAND);
 	writel(cmd | RNGC_CMD_SELF_TEST, rngc->base + RNGC_COMMAND);
 
-	ret = wait_for_completion_timeout(&rngc->rng_op_done, RNGC_TIMEOUT);
+	ret = wait_for_completion_timeout(&rngc->rng_op_done, msecs_to_jiffies(RNGC_TIMEOUT));
 	imx_rngc_irq_mask_clear(rngc);
 	if (!ret)
 		return -ETIMEDOUT;
@@ -187,9 +187,7 @@ static int imx_rngc_init(struct hwrng *rng)
 		cmd = readl(rngc->base + RNGC_COMMAND);
 		writel(cmd | RNGC_CMD_SEED, rngc->base + RNGC_COMMAND);
 
-		ret = wait_for_completion_timeout(&rngc->rng_op_done,
-				RNGC_TIMEOUT);
-
+		ret = wait_for_completion_timeout(&rngc->rng_op_done, msecs_to_jiffies(RNGC_TIMEOUT));
 		if (!ret) {
 			ret = -ETIMEDOUT;
 			goto err;
drivers/char/tpm/tpm-chip.c +7 -0
index cd48033b804a..cf5499e51999 100644
@@ -518,6 +518,7 @@ static int tpm_add_legacy_sysfs(struct tpm_chip *chip)
  * 6.x.y.z series: 6.0.18.6 +
  * 3.x.y.z series: 3.57.y.5 +
  */
+#ifdef CONFIG_X86
 static bool tpm_amd_is_rng_defective(struct tpm_chip *chip)
 {
 	u32 val1, val2;
@@ -566,6 +567,12 @@ static bool tpm_amd_is_rng_defective(struct tpm_chip *chip)
 
 	return true;
 }
+#else
+static inline bool tpm_amd_is_rng_defective(struct tpm_chip *chip)
+{
+	return false;
+}
+#endif /* CONFIG_X86 */
 
 static int tpm_hwrng_read(struct hwrng *rng, void *data, size_t max, bool wait)
 {
drivers/char/tpm/tpm_crb.c +11 -8
index d43a0d7b97a8..1a5d09b18513 100644
@@ -563,15 +563,18 @@ static int crb_map_io(struct acpi_device *device, struct crb_priv *priv,
 	u32 rsp_size;
 	int ret;
 
-	INIT_LIST_HEAD(&acpi_resource_list);
-	ret = acpi_dev_get_resources(device, &acpi_resource_list,
-				     crb_check_resource, iores_array);
-	if (ret < 0)
-		return ret;
-	acpi_dev_free_resource_list(&acpi_resource_list);
-
-	/* Pluton doesn't appear to define ACPI memory regions */
+	/*
+	 * Pluton sometimes does not define ACPI memory regions.
+	 * Mapping is then done in crb_map_pluton
+	 */
 	if (priv->sm != ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON) {
+		INIT_LIST_HEAD(&acpi_resource_list);
+		ret = acpi_dev_get_resources(device, &acpi_resource_list,
+					     crb_check_resource, iores_array);
+		if (ret < 0)
+			return ret;
+		acpi_dev_free_resource_list(&acpi_resource_list);
+
 		if (resource_type(iores_array) != IORESOURCE_MEM) {
 			dev_err(dev, FW_BUG "TPM2 ACPI table does not define a memory resource\n");
 			return -EINVAL;
drivers/char/tpm/tpm_tis.c +25 -0
index 7db3593941ea..cc42cf3de960 100644
@@ -114,6 +114,22 @@ static int tpm_tis_disable_irq(const struct dmi_system_id *d)
 }
 
 static const struct dmi_system_id tpm_tis_dmi_table[] = {
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "Framework Laptop (12th Gen Intel Core)",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop (12th Gen Intel Core)"),
+		},
+	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "Framework Laptop (13th Gen Intel Core)",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Framework"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop (13th Gen Intel Core)"),
+		},
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "ThinkPad T490s",
@@ -138,11 +154,20 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L490"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "ThinkPad L590",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
+		},
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL"),
 		},
 	},
 	{}
drivers/char/tpm/tpm_tis_core.c +88 -15

186 lines not on this page · raw message

drivers/char/tpm/tpm_tis_core.h +4 -0
index 610bfadb6acf..b1a169d7d1ca 100644
@@ -91,11 +91,15 @@ enum tpm_tis_flags {
 };
 
 struct tpm_tis_data {
+	struct tpm_chip *chip;
 	u16 manufacturer_id;
 	struct mutex locality_count_mutex;
 	unsigned int locality_count;
 	int locality;
 	int irq;
+	struct work_struct free_irq_work;
+	unsigned long last_unhandled_irq;
+	unsigned int unhandled_irqs;
 	unsigned int int_mask;
 	unsigned long flags;
 	void __iomem *ilb_base_addr;
drivers/char/tpm/tpm_tis_i2c.c +37 -22

77 lines not on this page · raw message

drivers/char/tpm/tpm_vtpm_proxy.c +7 -23
index 5c865987ba5c..30e953988cab 100644
@@ -683,37 +683,21 @@ static struct miscdevice vtpmx_miscdev = {
 	.fops = &vtpmx_fops,
 };
 
-static int vtpmx_init(void)
-{
-	return misc_register(&vtpmx_miscdev);
-}
-
-static void vtpmx_cleanup(void)
-{
-	misc_deregister(&vtpmx_miscdev);
-}
-
 static int __init vtpm_module_init(void)
 {
 	int rc;
 
-	rc = vtpmx_init();
-	if (rc) {
-		pr_err("couldn't create vtpmx device\n");
-		return rc;
-	}
-
 	workqueue = create_workqueue("tpm-vtpm");
 	if (!workqueue) {
 		pr_err("couldn't create workqueue\n");
-		rc = -ENOMEM;
-		goto err_vtpmx_cleanup;
+		return -ENOMEM;
 	}
 
-	return 0;
-
-err_vtpmx_cleanup:
-	vtpmx_cleanup();
+	rc = misc_register(&vtpmx_miscdev);
+	if (rc) {
+		pr_err("couldn't create vtpmx device\n");
+		destroy_workqueue(workqueue);
+	}
 
 	return rc;
 }
@@ -721,7 +705,7 @@ static int __init vtpm_module_init(void)
 static void __exit vtpm_module_exit(void)
 {
 	destroy_workqueue(workqueue);
-	vtpmx_cleanup();
+	misc_deregister(&vtpmx_miscdev);
 }
 
 module_init(vtpm_module_init);
drivers/firmware/stratix10-svc.c +1 -1
index 80f4e2d14e04..2d674126160f 100644
@@ -755,7 +755,7 @@ svc_create_memory_pool(struct platform_device *pdev,
 	end = rounddown(sh_memory->addr + sh_memory->size, PAGE_SIZE);
 	paddr = begin;
 	size = end - begin;
-	va = memremap(paddr, size, MEMREMAP_WC);
+	va = devm_memremap(dev, paddr, size, MEMREMAP_WC);
 	if (!va) {
 		dev_err(dev, "fail to remap shared memory\n");
 		return ERR_PTR(-EINVAL);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +3 -0
index 83a83ced2439..05b9989e3ac1 100644
@@ -2792,6 +2792,9 @@ int amdgpu_amdkfd_gpuvm_restore_process_bos(void *info, struct dma_fence **ef)
 			if (!attachment->is_mapped)
 				continue;
 
+			if (attachment->bo_va->base.bo->tbo.pin_count)
+				continue;
+
 			kfd_mem_dmaunmap_attachment(mem, attachment);
 			ret = update_gpuvm_pte(mem, attachment, &sync_obj);
 			if (ret) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +12 -0
index ac44b6774352..23f52150ebef 100644
@@ -1683,18 +1683,30 @@ int amdgpu_vm_bo_clear_mappings(struct amdgpu_device *adev,
 
 	/* Insert partial mapping before the range */
 	if (!list_empty(&before->list)) {
+		struct amdgpu_bo *bo = before->bo_va->base.bo;
+
 		amdgpu_vm_it_insert(before, &vm->va);
 		if (before->flags & AMDGPU_PTE_PRT)
 			amdgpu_vm_prt_get(adev);
+
+		if (bo && bo->tbo.base.resv == vm->root.bo->tbo.base.resv &&
+		    !before->bo_va->base.moved)
+			amdgpu_vm_bo_moved(&before->bo_va->base);
 	} else {
 		kfree(before);
 	}
 
 	/* Insert partial mapping after the range */
 	if (!list_empty(&after->list)) {
+		struct amdgpu_bo *bo = after->bo_va->base.bo;
+
 		amdgpu_vm_it_insert(after, &vm->va);
 		if (after->flags & AMDGPU_PTE_PRT)
 			amdgpu_vm_prt_get(adev);
+
+		if (bo && bo->tbo.base.resv == vm->root.bo->tbo.base.resv &&
+		    !after->bo_va->base.moved)
+			amdgpu_vm_bo_moved(&after->bo_va->base);
 	} else {
 		kfree(after);
 	}
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +33 -31

125 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h +1 -1
index 935adca6f048..748e80ef40d0 100644
@@ -100,7 +100,7 @@ struct secure_display_context *amdgpu_dm_crtc_secure_display_create_contexts(
 #else
 #define amdgpu_dm_crc_window_is_activated(x)
 #define amdgpu_dm_crtc_handle_crc_window_irq(x)
-#define amdgpu_dm_crtc_secure_display_create_contexts()
+#define amdgpu_dm_crtc_secure_display_create_contexts(x)
 #endif
 
 #endif /* AMD_DAL_DEV_AMDGPU_DM_AMDGPU_DM_CRC_H_ */
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +26 -0
index c6ce2b7123b7..616a450deddd 100644
@@ -47,6 +47,30 @@
 /* MST Dock */
 static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
 
+static u32 edid_extract_panel_id(struct edid *edid)
+{
+	return (u32)edid->mfg_id[0] << 24   |
+	       (u32)edid->mfg_id[1] << 16   |
+	       (u32)EDID_PRODUCT_ID(edid);
+}
+
+static void apply_edid_quirks(struct edid *edid, struct dc_edid_caps *edid_caps)
+{
+	uint32_t panel_id = edid_extract_panel_id(edid);
+
+	switch (panel_id) {
+	/* Workaround for some monitors which does not work well with FAMS */
+	case drm_edid_encode_panel_id('S', 'A', 'M', 0x0E5E):
+	case drm_edid_encode_panel_id('S', 'A', 'M', 0x7053):
+	case drm_edid_encode_panel_id('S', 'A', 'M', 0x71AC):
+		DRM_DEBUG_DRIVER("Disabling FAMS on monitor with panel id %X\n", panel_id);
+		edid_caps->panel_patch.disable_fams = true;
+		break;
+	default:
+		return;
+	}
+}
+
 /* dm_helpers_parse_edid_caps
  *
  * Parse edid caps
@@ -118,6 +142,8 @@ enum dc_edid_status dm_helpers_parse_edid_caps(
 	else
 		edid_caps->speaker_flags = DEFAULT_SPEAKER_LOCATION;
 
+	apply_edid_quirks(edid_buf, edid_caps);
+
 	kfree(sads);
 	kfree(sadb);
 
drivers/gpu/drm/amd/display/dc/core/dc.c +3 -0
index dcf863118169..6eace83c9c6f 100644
@@ -1602,6 +1602,9 @@ bool dc_validate_boot_timing(const struct dc *dc,
 		return false;
 	}
 
+	if (dc->debug.force_odm_combine)
+		return false;
+
 	/* Check for enabled DIG to identify enabled display */
 	if (!link->link_enc->funcs->is_dig_enabled(link->link_enc))
 		return false;
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +6 -4
index e179e80667d1..19d7cfa53211 100644
@@ -970,10 +970,12 @@ enum dc_status resource_map_phy_clock_resources(
 		|| dc_is_virtual_signal(pipe_ctx->stream->signal))
 		pipe_ctx->clock_source =
 				dc->res_pool->dp_clock_source;
-	else
-		pipe_ctx->clock_source = find_matching_pll(
-			&context->res_ctx, dc->res_pool,
-			stream);
+	else {
+		if (stream && stream->link && stream->link->link_enc)
+			pipe_ctx->clock_source = find_matching_pll(
+				&context->res_ctx, dc->res_pool,
+				stream);
+	}
 
 	if (pipe_ctx->clock_source == NULL)
 		return DC_NO_CLOCK_SOURCE_RESOURCE;
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +11 -0
index 5403e9399a46..c38be3c6c234 100644
@@ -1732,6 +1732,17 @@ static void dcn20_program_pipe(
 
 		if (hws->funcs.setup_vupdate_interrupt)
 			hws->funcs.setup_vupdate_interrupt(dc, pipe_ctx);
+
+		if (hws->funcs.calculate_dccg_k1_k2_values && dc->res_pool->dccg->funcs->set_pixel_rate_div) {
+			unsigned int k1_div, k2_div;
+
+			hws->funcs.calculate_dccg_k1_k2_values(pipe_ctx, &k1_div, &k2_div);
+
+			dc->res_pool->dccg->funcs->set_pixel_rate_div(
+				dc->res_pool->dccg,
+				pipe_ctx->stream_res.tg->inst,
+				k1_div, k2_div);
+		}
 	}
 
 	if (pipe_ctx->update_flags.bits.odm)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +0 -4
index 1f5ee5cde6e1..27f09ccb1f71 100644
@@ -1125,10 +1125,6 @@ unsigned int dcn32_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsign
 	unsigned int odm_combine_factor = 0;
 	bool two_pix_per_container = false;
 
-	// For phantom pipes, use the same programming as the main pipes
-	if (pipe_ctx->stream->mall_stream_config.type == SUBVP_PHANTOM) {
-		stream = pipe_ctx->stream->mall_stream_config.paired_stream;
-	}
 	two_pix_per_container = optc2_is_two_pixels_per_containter(&stream->timing);
 	odm_combine_factor = get_odm_config(pipe_ctx, NULL);
 
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c +1 -1
index 2ee798965bc2..a974f86e718a 100644
@@ -98,7 +98,7 @@ static void optc32_set_odm_combine(struct timing_generator *optc, int *opp_id, i
 	optc1->opp_count = opp_cnt;
 }
 
-static void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode)
+void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode)
 {
 	struct optc *optc1 = DCN10TG_FROM_TG(optc);
 
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.h +1 -0
index b92ba8c75694..abf0121a1006 100644
@@ -179,5 +179,6 @@
 	SF(OTG0_OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, mask_sh)
 
 void dcn32_timing_generator_init(struct optc *optc1);
+void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode);
 
 #endif /* __DC_OPTC_DCN32_H__ */
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c +2 -0
index 22dd1ebea618..df6132d92d70 100644
@@ -1888,6 +1888,8 @@ bool dcn32_validate_bandwidth(struct dc *dc,
 
 	dc->res_pool->funcs->calculate_wm_and_dlg(dc, context, pipes, pipe_cnt, vlevel);
 
+	dcn32_override_min_req_memclk(dc, context);
+
 	BW_VAL_TRACE_END_WATERMARKS();
 
 	goto validate_out;
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +15 -0
index 0c4c3208def1..d8b4119820bf 100644
@@ -2882,3 +2882,18 @@ void dcn32_set_clock_limits(const struct _vcs_dpi_soc_bounding_box_st *soc_bb)
 	dc_assert_fp_enabled();
 	dcn3_2_soc.clock_limits[0].dcfclk_mhz = 1200.0;
 }
+
+void dcn32_override_min_req_memclk(struct dc *dc, struct dc_state *context)
+{
+	// WA: restrict FPO and SubVP to use first non-strobe mode (DCN32 BW issue)
+	if ((context->bw_ctx.bw.dcn.clk.fw_based_mclk_switching || dcn32_subvp_in_use(dc, context)) &&
+			dc->dml.soc.num_chans <= 8) {
+		int num_mclk_levels = dc->clk_mgr->bw_params->clk_table.num_entries_per_clk.num_memclk_levels;
+
+		if (context->bw_ctx.dml.vba.DRAMSpeed <= dc->clk_mgr->bw_params->clk_table.entries[0].memclk_mhz * 16 &&
+				num_mclk_levels > 1) {
+			context->bw_ctx.dml.vba.DRAMSpeed = dc->clk_mgr->bw_params->clk_table.entries[1].memclk_mhz * 16;
+			context->bw_ctx.bw.dcn.clk.dramclk_khz = context->bw_ctx.dml.vba.DRAMSpeed * 1000 / 16;
+		}
+	}
+}
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h +2 -0
index dcf512cd3072..a4206b71d650 100644
@@ -80,6 +80,8 @@ void dcn32_assign_fpo_vactive_candidate(struct dc *dc, const struct dc_state *co
 
 bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uint32_t vactive_margin_req);
 
+void dcn32_override_min_req_memclk(struct dc *dc, struct dc_state *context);
+
 void dcn32_set_clock_limits(const struct _vcs_dpi_soc_bounding_box_st *soc_bb);
 
 #endif
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c +9 -2
index ba95facc4ee8..b1b11eb0f9bb 100644
@@ -82,8 +82,15 @@ bool dp_parse_link_loss_status(
 	}
 
 	/* Check interlane align.*/
-	if (sink_status_changed ||
-		!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.INTERLANE_ALIGN_DONE) {
+	if (link_dp_get_encoding_format(&link->cur_link_settings) == DP_128b_132b_ENCODING &&
+			(!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.EQ_INTERLANE_ALIGN_DONE_128b_132b ||
+			 !hpd_irq_dpcd_data->bytes.lane_status_updated.bits.CDS_INTERLANE_ALIGN_DONE_128b_132b)) {
+		sink_status_changed = true;
+	} else if (!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.INTERLANE_ALIGN_DONE) {
+		sink_status_changed = true;
+	}
+
+	if (sink_status_changed) {
 
 		DC_LOG_HW_HPD_IRQ("%s: Link Status changed.\n", __func__);
 
drivers/gpu/drm/amd/display/dmub/dmub_srv.h +1 -1
index ba1715e2d25a..554ab48d4e64 100644
@@ -490,7 +490,7 @@ struct dmub_notification {
  * of a firmware to know if feature or functionality is supported or present.
  */
 #define DMUB_FW_VERSION(major, minor, revision) \
-	((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((revision) & 0xFFFF))
+	((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | (((revision) & 0xFF) << 8))
 
 /**
  * dmub_srv_create() - creates the DMUB service.
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h +4 -0
index df3baaab0037..9bb6cc99f0d0 100644
@@ -303,5 +303,9 @@ int smu_v13_0_get_pptable_from_firmware(struct smu_context *smu,
 					uint32_t *size,
 					uint32_t pptable_id);
 
+int smu_v13_0_update_pcie_parameters(struct smu_context *smu,
+				     uint32_t pcie_gen_cap,
+				     uint32_t pcie_width_cap);
+
 #endif
 #endif
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c +1 -1
index 9cd005131f56..3bb18396d2f9 100644
@@ -2113,7 +2113,6 @@ static int arcturus_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_cmn_update_table(smu, SMU_TABLE_I2C_COMMANDS, 0, req, true);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -2130,6 +2129,7 @@ static int arcturus_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c +1 -1
index 275f708db636..3f2494c6e372 100644
@@ -3021,7 +3021,6 @@ static int navi10_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_cmn_update_table(smu, SMU_TABLE_I2C_COMMANDS, 0, req, true);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -3038,6 +3037,7 @@ static int navi10_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +1 -1
index f7ed3e655e39..8fe2e1716da4 100644
@@ -3842,7 +3842,6 @@ static int sienna_cichlid_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_cmn_update_table(smu, SMU_TABLE_I2C_COMMANDS, 0, req, true);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -3859,6 +3858,7 @@ static int sienna_cichlid_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +1 -1
index d30ec3005ea1..10eb72d892d4 100644
@@ -1525,7 +1525,6 @@ static int aldebaran_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_cmn_update_table(smu, SMU_TABLE_I2C_COMMANDS, 0, req, true);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -1542,6 +1541,7 @@ static int aldebaran_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c +67 -0

70 lines not on this page · raw message

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +2 -33
index c42c0c1446f4..907cc43d16a9 100644
@@ -1235,37 +1235,6 @@ static int smu_v13_0_0_force_clk_levels(struct smu_context *smu,
 	return ret;
 }
 
-static int smu_v13_0_0_update_pcie_parameters(struct smu_context *smu,
-					      uint32_t pcie_gen_cap,
-					      uint32_t pcie_width_cap)
-{
-	struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context;
-	struct smu_13_0_pcie_table *pcie_table =
-				&dpm_context->dpm_tables.pcie_table;
-	uint32_t smu_pcie_arg;
-	int ret, i;
-
-	for (i = 0; i < pcie_table->num_of_link_levels; i++) {
-		if (pcie_table->pcie_gen[i] > pcie_gen_cap)
-			pcie_table->pcie_gen[i] = pcie_gen_cap;
-		if (pcie_table->pcie_lane[i] > pcie_width_cap)
-			pcie_table->pcie_lane[i] = pcie_width_cap;
-
-		smu_pcie_arg = i << 16;
-		smu_pcie_arg |= pcie_table->pcie_gen[i] << 8;
-		smu_pcie_arg |= 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 0;
-}
-
 static const struct smu_temperature_range smu13_thermal_policy[] = {
 	{-273150,  99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
 	{ 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000},
@@ -1838,7 +1807,6 @@ static int smu_v13_0_0_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_cmn_update_table(smu, SMU_TABLE_I2C_COMMANDS, 0, req, true);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -1855,6 +1823,7 @@ static int smu_v13_0_0_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
@@ -2172,7 +2141,7 @@ static const struct pptable_funcs smu_v13_0_0_ppt_funcs = {
 	.feature_is_enabled = smu_cmn_feature_is_enabled,
 	.print_clk_levels = smu_v13_0_0_print_clk_levels,
 	.force_clk_levels = smu_v13_0_0_force_clk_levels,
-	.update_pcie_parameters = smu_v13_0_0_update_pcie_parameters,
+	.update_pcie_parameters = smu_v13_0_update_pcie_parameters,
 	.get_thermal_temperature_range = smu_v13_0_0_get_thermal_temperature_range,
 	.register_irq_handler = smu_v13_0_register_irq_handler,
 	.enable_thermal_alert = smu_v13_0_enable_thermal_alert,
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +1 -1
index ea8f3d6fb98b..c9093517b1bd 100644
@@ -1639,7 +1639,6 @@ static int smu_v13_0_6_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	mutex_lock(&adev->pm.mutex);
 	r = smu_v13_0_6_request_i2c_xfer(smu, req);
-	mutex_unlock(&adev->pm.mutex);
 	if (r)
 		goto fail;
 
@@ -1656,6 +1655,7 @@ static int smu_v13_0_6_i2c_xfer(struct i2c_adapter *i2c_adap,
 	}
 	r = num_msgs;
 fail:
+	mutex_unlock(&adev->pm.mutex);
 	kfree(req);
 	return r;
 }
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -32
index bba621615abf..aac72925db34 100644
@@ -1225,37 +1225,6 @@ static int smu_v13_0_7_force_clk_levels(struct smu_context *smu,
 	return ret;
 }
 
-static int smu_v13_0_7_update_pcie_parameters(struct smu_context *smu,
-					      uint32_t pcie_gen_cap,
-					      uint32_t pcie_width_cap)
-{
-	struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context;
-	struct smu_13_0_pcie_table *pcie_table =
-				&dpm_context->dpm_tables.pcie_table;
-	uint32_t smu_pcie_arg;
-	int ret, i;
-
-	for (i = 0; i < pcie_table->num_of_link_levels; i++) {
-		if (pcie_table->pcie_gen[i] > pcie_gen_cap)
-			pcie_table->pcie_gen[i] = pcie_gen_cap;
-		if (pcie_table->pcie_lane[i] > pcie_width_cap)
-			pcie_table->pcie_lane[i] = pcie_width_cap;
-
-		smu_pcie_arg = i << 16;
-		smu_pcie_arg |= pcie_table->pcie_gen[i] << 8;
-		smu_pcie_arg |= 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 0;
-}
-
 static const struct smu_temperature_range smu13_thermal_policy[] =
 {
 	{-273150,  99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
@@ -1752,7 +1721,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
 	.feature_is_enabled = smu_cmn_feature_is_enabled,
 	.print_clk_levels = smu_v13_0_7_print_clk_levels,
 	.force_clk_levels = smu_v13_0_7_force_clk_levels,
-	.update_pcie_parameters = smu_v13_0_7_update_pcie_parameters,
+	.update_pcie_parameters = smu_v13_0_update_pcie_parameters,
 	.get_thermal_temperature_range = smu_v13_0_7_get_thermal_temperature_range,
 	.register_irq_handler = smu_v13_0_register_irq_handler,
 	.enable_thermal_alert = smu_v13_0_enable_thermal_alert,
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +5 -4
index 603bb3c51027..3b40e0fdca5c 100644
@@ -1426,9 +1426,9 @@ void dw_hdmi_set_high_tmds_clock_ratio(struct dw_hdmi *hdmi,
 	/* Control for TMDS Bit Period/TMDS Clock-Period Ratio */
 	if (dw_hdmi_support_scdc(hdmi, display)) {
 		if (mtmdsclock > HDMI14_MAX_TMDSCLK)
-			drm_scdc_set_high_tmds_clock_ratio(&hdmi->connector, 1);
+			drm_scdc_set_high_tmds_clock_ratio(hdmi->curr_conn, 1);
 		else
-			drm_scdc_set_high_tmds_clock_ratio(&hdmi->connector, 0);
+			drm_scdc_set_high_tmds_clock_ratio(hdmi->curr_conn, 0);
 	}
 }
 EXPORT_SYMBOL_GPL(dw_hdmi_set_high_tmds_clock_ratio);
@@ -2116,7 +2116,7 @@ static void hdmi_av_composer(struct dw_hdmi *hdmi,
 				min_t(u8, bytes, SCDC_MIN_SOURCE_VERSION));
 
 			/* Enabled Scrambling in the Sink */
-			drm_scdc_set_scrambling(&hdmi->connector, 1);
+			drm_scdc_set_scrambling(hdmi->curr_conn, 1);
 
 			/*
 			 * To activate the scrambler feature, you must ensure
@@ -2132,7 +2132,7 @@ static void hdmi_av_composer(struct dw_hdmi *hdmi,
 			hdmi_writeb(hdmi, 0, HDMI_FC_SCRAMBLER_CTRL);
 			hdmi_writeb(hdmi, (u8)~HDMI_MC_SWRSTZ_TMDSSWRST_REQ,
 				    HDMI_MC_SWRSTZ);
-			drm_scdc_set_scrambling(&hdmi->connector, 0);
+			drm_scdc_set_scrambling(hdmi->curr_conn, 0);
 		}
 	}
 
@@ -3553,6 +3553,7 @@ struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev,
 	hdmi->bridge.ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID
 			 | DRM_BRIDGE_OP_HPD;
 	hdmi->bridge.interlace_allowed = true;
+	hdmi->bridge.ddc = hdmi->ddc;
 #ifdef CONFIG_OF
 	hdmi->bridge.of_node = pdev->dev.of_node;
 #endif
drivers/gpu/drm/bridge/ti-sn65dsi86.c +22 -13
index 4676cf2900df..3c8fd6ea6d6a 100644
@@ -170,10 +170,10 @@
  * @pwm_refclk_freq: Cache for the reference clock input to the PWM.
  */
 struct ti_sn65dsi86 {
-	struct auxiliary_device		bridge_aux;
-	struct auxiliary_device		gpio_aux;
-	struct auxiliary_device		aux_aux;
-	struct auxiliary_device		pwm_aux;
+	struct auxiliary_device		*bridge_aux;
+	struct auxiliary_device		*gpio_aux;
+	struct auxiliary_device		*aux_aux;
+	struct auxiliary_device		*pwm_aux;
 
 	struct device			*dev;
 	struct regmap			*regmap;
@@ -468,27 +468,34 @@ static void ti_sn65dsi86_delete_aux(void *data)
 	auxiliary_device_delete(data);
 }
 
-/*
- * AUX bus docs say that a non-NULL release is mandatory, but it makes no
- * sense for the model used here where all of the aux devices are allocated
- * in the single shared structure. We'll use this noop as a workaround.
- */
-static void ti_sn65dsi86_noop(struct device *dev) {}
+static void ti_sn65dsi86_aux_device_release(struct device *dev)
+{
+	struct auxiliary_device *aux = container_of(dev, struct auxiliary_device, dev);
+
+	kfree(aux);
+}
 
 static int ti_sn65dsi86_add_aux_device(struct ti_sn65dsi86 *pdata,
-				       struct auxiliary_device *aux,
+				       struct auxiliary_device **aux_out,
 				       const char *name)
 {
 	struct device *dev = pdata->dev;
+	struct auxiliary_device *aux;
 	int ret;
 
+	aux = kzalloc(sizeof(*aux), GFP_KERNEL);
+	if (!aux)
+		return -ENOMEM;
+
 	aux->name = name;
 	aux->dev.parent = dev;
-	aux->dev.release = ti_sn65dsi86_noop;
+	aux->dev.release = ti_sn65dsi86_aux_device_release;
 	device_set_of_node_from_dev(&aux->dev, dev);
 	ret = auxiliary_device_init(aux);
-	if (ret)
+	if (ret) {
+		kfree(aux);
 		return ret;
+	}
 	ret = devm_add_action_or_reset(dev, ti_sn65dsi86_uninit_aux, aux);
 	if (ret)
 		return ret;
@@ -497,6 +504,8 @@ static int ti_sn65dsi86_add_aux_device(struct ti_sn65dsi86 *pdata,
 	if (ret)
 		return ret;
 	ret = devm_add_action_or_reset(dev, ti_sn65dsi86_delete_aux, aux);
+	if (!ret)
+		*aux_out = aux;
 
 	return ret;
 }
drivers/gpu/drm/display/drm_dp_mst_topology.c +47 -7

82 lines not on this page · raw message

drivers/gpu/drm/drm_atomic.c +10 -1
index b4c6ffc438da..88fcc6bbc8b7 100644
@@ -140,6 +140,12 @@ drm_atomic_state_init(struct drm_device *dev, struct drm_atomic_state *state)
 	if (!state->planes)
 		goto fail;
 
+	/*
+	 * Because drm_atomic_state can be committed asynchronously we need our
+	 * own reference and cannot rely on the on implied by drm_file in the
+	 * ioctl call.
+	 */
+	drm_dev_get(dev);
 	state->dev = dev;
 
 	drm_dbg_atomic(dev, "Allocated atomic state %p\n", state);
@@ -299,7 +305,8 @@ EXPORT_SYMBOL(drm_atomic_state_clear);
 void __drm_atomic_state_free(struct kref *ref)
 {
 	struct drm_atomic_state *state = container_of(ref, typeof(*state), ref);
-	struct drm_mode_config *config = &state->dev->mode_config;
+	struct drm_device *dev = state->dev;
+	struct drm_mode_config *config = &dev->mode_config;
 
 	drm_atomic_state_clear(state);
 
@@ -311,6 +318,8 @@ void __drm_atomic_state_free(struct kref *ref)
 		drm_atomic_state_default_release(state);
 		kfree(state);
 	}
+
+	drm_dev_put(dev);
 }
 EXPORT_SYMBOL(__drm_atomic_state_free);
 
drivers/gpu/drm/drm_atomic_helper.c +10 -1
index 2c2c9caf0be5..e0ab555aad2c 100644
@@ -1209,7 +1209,16 @@ disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state)
 			continue;
 
 		ret = drm_crtc_vblank_get(crtc);
-		WARN_ONCE(ret != -EINVAL, "driver forgot to call drm_crtc_vblank_off()\n");
+		/*
+		 * Self-refresh is not a true "disable"; ensure vblank remains
+		 * enabled.
+		 */
+		if (new_crtc_state->self_refresh_active)
+			WARN_ONCE(ret != 0,
+				  "driver disabled vblank in self-refresh\n");
+		else
+			WARN_ONCE(ret != -EINVAL,
+				  "driver forgot to call drm_crtc_vblank_off()\n");
 		if (ret == 0)
 			drm_crtc_vblank_put(crtc);
 	}
drivers/gpu/drm/drm_client.c +21 -0
index f6292ba0e6fc..037e36f2049c 100644
@@ -122,13 +122,34 @@ EXPORT_SYMBOL(drm_client_init);
  * drm_client_register() it is no longer permissible to call drm_client_release()
  * directly (outside the unregister callback), instead cleanup will happen
  * automatically on driver unload.
+ *
+ * Registering a client generates a hotplug event that allows the client
+ * to set up its display from pre-existing outputs. The client must have
+ * initialized its state to able to handle the hotplug event successfully.
  */
 void drm_client_register(struct drm_client_dev *client)
 {
 	struct drm_device *dev = client->dev;
+	int ret;
 
 	mutex_lock(&dev->clientlist_mutex);
 	list_add(&client->list, &dev->clientlist);
+
+	if (client->funcs && client->funcs->hotplug) {
+		/*
+		 * Perform an initial hotplug event to pick up the
+		 * display configuration for the client. This step
+		 * has to be performed *after* registering the client
+		 * in the list of clients, or a concurrent hotplug
+		 * event might be lost; leaving the display off.
+		 *
+		 * Hold the clientlist_mutex as for a regular hotplug
+		 * event.
+		 */
+		ret = client->funcs->hotplug(client);
+		if (ret)
+			drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
+	}
 	mutex_unlock(&dev->clientlist_mutex);
 }
 EXPORT_SYMBOL(drm_client_register);
drivers/gpu/drm/drm_fbdev_dma.c +1 -5
index 728deffcc0d9..9f1ebebe1469 100644
@@ -218,7 +218,7 @@ static const struct drm_client_funcs drm_fbdev_dma_client_funcs = {
  * drm_fbdev_dma_setup() - Setup fbdev emulation for GEM DMA helpers
  * @dev: DRM device
  * @preferred_bpp: Preferred bits per pixel for the device.
- *                 @dev->mode_config.preferred_depth is used if this is zero.
+ *                 32 is used if this is zero.
  *
  * This function sets up fbdev emulation for GEM DMA drivers that support
  * dumb buffers with a virtual address and that can be mmap'ed.
@@ -253,10 +253,6 @@ void drm_fbdev_dma_setup(struct drm_device *dev, unsigned int preferred_bpp)
 		goto err_drm_client_init;
 	}
 
-	ret = drm_fbdev_dma_client_hotplug(&fb_helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&fb_helper->client);
 
 	return;
drivers/gpu/drm/drm_fbdev_generic.c +0 -4
index 8e5148bf40bb..7e65be35477e 100644
@@ -340,10 +340,6 @@ void drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp)
 		goto err_drm_client_init;
 	}
 
-	ret = drm_fbdev_generic_client_hotplug(&fb_helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&fb_helper->client);
 
 	return;
drivers/gpu/drm/exynos/exynos_drm_fbdev.c +0 -4
index ea4b3d248aac..cc98168a7a5e 100644
@@ -216,10 +216,6 @@ void exynos_drm_fbdev_setup(struct drm_device *dev)
 	if (ret)
 		goto err_drm_client_init;
 
-	ret = exynos_drm_fbdev_client_hotplug(&fb_helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&fb_helper->client);
 
 	return;
drivers/gpu/drm/gma500/fbdev.c +0 -4
index 62287407e717..ba193c5bb35e 100644
@@ -330,10 +330,6 @@ void psb_fbdev_setup(struct drm_psb_private *dev_priv)
 		goto err_drm_fb_helper_unprepare;
 	}
 
-	ret = psb_fbdev_client_hotplug(&fb_helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&fb_helper->client);
 
 	return;
drivers/gpu/drm/i915/display/intel_display.c +0 -1
index 7749f95d5d02..a805b57f3d91 100644
@@ -4968,7 +4968,6 @@ copy_bigjoiner_crtc_state_modeset(struct intel_atomic_state *state,
 	saved_state->uapi = slave_crtc_state->uapi;
 	saved_state->scaler_state = slave_crtc_state->scaler_state;
 	saved_state->shared_dpll = slave_crtc_state->shared_dpll;
-	saved_state->dpll_hw_state = slave_crtc_state->dpll_hw_state;
 	saved_state->crc_enabled = slave_crtc_state->crc_enabled;
 
 	intel_crtc_free_hw_state(slave_crtc_state);
drivers/gpu/drm/i915/display/intel_dp.c +4 -3
index 529ee22be872..6ecfffbe9001 100644
@@ -3940,9 +3940,7 @@ intel_dp_mst_hpd_irq(struct intel_dp *intel_dp, u8 *esi, u8 *ack)
 {
 	bool handled = false;
 
-	drm_dp_mst_hpd_irq(&intel_dp->mst_mgr, esi, &handled);
-	if (handled)
-		ack[1] |= esi[1] & (DP_DOWN_REP_MSG_RDY | DP_UP_REQ_MSG_RDY);
+	drm_dp_mst_hpd_irq_handle_event(&intel_dp->mst_mgr, esi, ack, &handled);
 
 	if (esi[1] & DP_CP_IRQ) {
 		intel_hdcp_handle_cp_irq(intel_dp->attached_connector);
@@ -4017,6 +4015,9 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
 
 		if (!intel_dp_ack_sink_irq_esi(intel_dp, ack))
 			drm_dbg_kms(&i915->drm, "Failed to ack ESI\n");
+
+		if (ack[1] & (DP_DOWN_REP_MSG_RDY | DP_UP_REQ_MSG_RDY))
+			drm_dp_mst_hpd_irq_send_new_request(&intel_dp->mst_mgr);
 	}
 
 	return link_ok;
drivers/gpu/drm/i915/gt/intel_gtt.c +1 -1
index 4f436ba7a3c8..123b82f29a1b 100644
@@ -625,7 +625,7 @@ __vm_create_scratch_for_read(struct i915_address_space *vm, unsigned long size)
 	if (IS_ERR(obj))
 		return ERR_CAST(obj);
 
-	i915_gem_object_set_cache_coherency(obj, I915_CACHING_CACHED);
+	i915_gem_object_set_cache_coherency(obj, I915_CACHE_LLC);
 
 	vma = i915_vma_instance(obj, vm, NULL);
 	if (IS_ERR(vma)) {
drivers/gpu/drm/msm/msm_fbdev.c +0 -4
index 2ebc86381e1c..c082646c3c0b 100644
@@ -227,10 +227,6 @@ void msm_fbdev_setup(struct drm_device *dev)
 		goto err_drm_fb_helper_unprepare;
 	}
 
-	ret = msm_fbdev_client_hotplug(&helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&helper->client);
 
 	return;
drivers/gpu/drm/nouveau/dispnv50/disp.c +8 -4
index 9b6824f6b9e4..42e1665ba11a 100644
@@ -1359,22 +1359,26 @@ nv50_mstm_service(struct nouveau_drm *drm,
 	u8 esi[8] = {};
 
 	while (handled) {
+		u8 ack[8] = {};
+
 		rc = drm_dp_dpcd_read(aux, DP_SINK_COUNT_ESI, esi, 8);
 		if (rc != 8) {
 			ret = false;
 			break;
 		}
 
-		drm_dp_mst_hpd_irq(&mstm->mgr, esi, &handled);
+		drm_dp_mst_hpd_irq_handle_event(&mstm->mgr, esi, ack, &handled);
 		if (!handled)
 			break;
 
-		rc = drm_dp_dpcd_write(aux, DP_SINK_COUNT_ESI + 1, &esi[1],
-				       3);
-		if (rc != 3) {
+		rc = drm_dp_dpcd_writeb(aux, DP_SINK_COUNT_ESI + 1, ack[1]);
+
+		if (rc != 1) {
 			ret = false;
 			break;
 		}
+
+		drm_dp_mst_hpd_irq_send_new_request(&mstm->mgr);
 	}
 
 	if (!ret)
drivers/gpu/drm/nouveau/nouveau_chan.c +1 -0
index e648ecd0c1a0..3dfbc374478e 100644
@@ -90,6 +90,7 @@ nouveau_channel_del(struct nouveau_channel **pchan)
 		if (cli)
 			nouveau_svmm_part(chan->vmm->svmm, chan->inst);
 
+		nvif_object_dtor(&chan->blit);
 		nvif_object_dtor(&chan->nvsw);
 		nvif_object_dtor(&chan->gart);
 		nvif_object_dtor(&chan->vram);
drivers/gpu/drm/nouveau/nouveau_chan.h +1 -0
index e06a8ffed31a..bad7466bd0d5 100644
@@ -53,6 +53,7 @@ struct nouveau_channel {
 	u32 user_put;
 
 	struct nvif_object user;
+	struct nvif_object blit;
 
 	struct nvif_event kill;
 	atomic_t killed;
drivers/gpu/drm/nouveau/nouveau_drm.c +17 -3
index 7aac9384600e..40fb9a834918 100644
@@ -375,15 +375,29 @@ nouveau_accel_gr_init(struct nouveau_drm *drm)
 		ret = nvif_object_ctor(&drm->channel->user, "drmNvsw",
 				       NVDRM_NVSW, nouveau_abi16_swclass(drm),
 				       NULL, 0, &drm->channel->nvsw);
+
+		if (ret == 0 && device->info.chipset >= 0x11) {
+			ret = nvif_object_ctor(&drm->channel->user, "drmBlit",
+					       0x005f, 0x009f,
+					       NULL, 0, &drm->channel->blit);
+		}
+
 		if (ret == 0) {
 			struct nvif_push *push = drm->channel->chan.push;
-			ret = PUSH_WAIT(push, 2);
-			if (ret == 0)
+			ret = PUSH_WAIT(push, 8);
+			if (ret == 0) {
+				if (device->info.chipset >= 0x11) {
+					PUSH_NVSQ(push, NV05F, 0x0000, drm->channel->blit.handle);
+					PUSH_NVSQ(push, NV09F, 0x0120, 0,
+							       0x0124, 1,
+							       0x0128, 2);
+				}
 				PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle);
+			}
 		}
 
 		if (ret) {
-			NV_ERROR(drm, "failed to allocate sw class, %d\n", ret);
+			NV_ERROR(drm, "failed to allocate sw or blit class, %d\n", ret);
 			nouveau_accel_gr_fini(drm);
 			return;
 		}
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c +1 -0
index a4853c4e5ee3..67ef889a0c5f 100644
@@ -295,6 +295,7 @@ g94_sor = {
 	.clock = nv50_sor_clock,
 	.war_2 = g94_sor_war_2,
 	.war_3 = g94_sor_war_3,
+	.hdmi = &g84_sor_hdmi,
 	.dp = &g94_sor_dp,
 };
 
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c +1 -1
index a2c7c6f83dcd..506ffbe7b842 100644
@@ -125,7 +125,7 @@ gt215_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 siz
 	pack_hdmi_infoframe(&avi, data, size);
 
 	nvkm_mask(device, 0x61c520 + soff, 0x00000001, 0x00000000);
-	if (size)
+	if (!size)
 		return;
 
 	nvkm_wr32(device, 0x61c528 + soff, avi.header);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c +1 -1
index 795f3a649b12..9b8ca4e898f9 100644
@@ -224,7 +224,7 @@ nvkm_acr_oneinit(struct nvkm_subdev *subdev)
 	u64 falcons;
 	int ret, i;
 
-	if (list_empty(&acr->hsfw)) {
+	if (list_empty(&acr->hsfw) || !acr->func || !acr->func->wpr_layout) {
 		nvkm_debug(subdev, "No HSFW(s)\n");
 		nvkm_acr_cleanup(acr);
 		return 0;
drivers/gpu/drm/omapdrm/omap_fbdev.c +0 -4
index b950e93b3846..02cec22b9749 100644
@@ -323,10 +323,6 @@ void omap_fbdev_setup(struct drm_device *dev)
 
 	INIT_WORK(&fbdev->work, pan_worker);
 
-	ret = omap_fbdev_client_hotplug(&helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&helper->client);
 
 	return;
drivers/gpu/drm/panel/panel-simple.c +2 -0
index d8efbcee9bc1..e02249b212c2 100644
@@ -2117,6 +2117,7 @@ static const struct panel_desc innolux_at043tn24 = {
 		.height = 54,
 	},
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
 };
 
@@ -3109,6 +3110,7 @@ static const struct drm_display_mode powertip_ph800480t013_idf02_mode = {
 	.vsync_start = 480 + 49,
 	.vsync_end = 480 + 49 + 2,
 	.vtotal = 480 + 49 + 2 + 22,
+	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
 };
 
 static const struct panel_desc powertip_ph800480t013_idf02  = {
drivers/gpu/drm/radeon/radeon_fbdev.c +0 -4
index 8f6c3aef0962..8b93e6e5d2ff 100644
@@ -386,10 +386,6 @@ void radeon_fbdev_setup(struct radeon_device *rdev)
 		goto err_drm_client_init;
 	}
 
-	ret = radeon_fbdev_client_hotplug(&fb_helper->client);
-	if (ret)
-		drm_dbg_kms(rdev->ddev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&fb_helper->client);
 
 	return;
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +4 -4
index d8f5e064a1ba..a530ecc4d207 100644
@@ -714,13 +714,13 @@ static void vop_crtc_atomic_disable(struct drm_crtc *crtc,
 	if (crtc->state->self_refresh_active)
 		rockchip_drm_set_win_enabled(crtc, false);
 
+	if (crtc->state->self_refresh_active)
+		goto out;
+
 	mutex_lock(&vop->vop_lock);
 
 	drm_crtc_vblank_off(crtc);
 
-	if (crtc->state->self_refresh_active)
-		goto out;
-
 	/*
 	 * Vop standby will take effect at end of current frame,
 	 * if dsp hold valid irq happen, it means standby complete.
@@ -754,9 +754,9 @@ static void vop_crtc_atomic_disable(struct drm_crtc *crtc,
 	vop_core_clks_disable(vop);
 	pm_runtime_put(vop->dev);
 
-out:
 	mutex_unlock(&vop->vop_lock);
 
+out:
 	if (crtc->state->event && !crtc->state->active) {
 		spin_lock_irq(&crtc->dev->event_lock);
 		drm_crtc_send_vblank_event(crtc, crtc->state->event);
drivers/gpu/drm/tegra/fbdev.c +0 -4
index dca9eccae466..d527b0b9de1d 100644
@@ -227,10 +227,6 @@ void tegra_fbdev_setup(struct drm_device *dev)
 	if (ret)
 		goto err_drm_client_init;
 
-	ret = tegra_fbdev_client_hotplug(&helper->client);
-	if (ret)
-		drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);
-
 	drm_client_register(&helper->client);
 
 	return;
drivers/gpu/drm/ttm/ttm_bo.c +12 -11
index bd5dae4d1624..1a1cfd675cc4 100644
@@ -458,18 +458,18 @@ static int ttm_bo_evict(struct ttm_buffer_object *bo,
 		goto out;
 	}
 
-bounce:
-	ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop);
-	if (ret == -EMULTIHOP) {
+	do {
+		ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop);
+		if (ret != -EMULTIHOP)
+			break;
+
 		ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop);
-		if (ret) {
-			if (ret != -ERESTARTSYS && ret != -EINTR)
-				pr_err("Buffer eviction failed\n");
-			ttm_resource_free(bo, &evict_mem);
-			goto out;
-		}
-		/* try and move to final place now. */
-		goto bounce;
+	} while (!ret);
+
+	if (ret) {
+		ttm_resource_free(bo, &evict_mem);
+		if (ret != -ERESTARTSYS && ret != -EINTR)
+			pr_err("Buffer eviction failed\n");
 	}
 out:
 	return ret;
@@ -1167,6 +1167,7 @@ int ttm_bo_swapout(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx,
 		ret = ttm_bo_handle_move_mem(bo, evict_mem, true, &ctx, &hop);
 		if (unlikely(ret != 0)) {
 			WARN(ret == -EMULTIHOP, "Unexpected multihop in swaput - likely driver bug.\n");
+			ttm_resource_free(bo, &evict_mem);
 			goto out;
 		}
 	}
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.c +23 -7
index 6f0d332ccf51..06bdcf072d10 100644
@@ -132,29 +132,45 @@ static void get_common_inputs(struct common_input_property *common, int report_i
 	common->event_type = HID_USAGE_SENSOR_EVENT_DATA_UPDATED_ENUM;
 }
 
-static int float_to_int(u32 float32)
+static int float_to_int(u32 flt32_val)
 {
 	int fraction, shift, mantissa, sign, exp, zeropre;
 
-	mantissa = float32 & GENMASK(22, 0);
-	sign = (float32 & BIT(31)) ? -1 : 1;
-	exp = (float32 & ~BIT(31)) >> 23;
+	mantissa = flt32_val & GENMASK(22, 0);
+	sign = (flt32_val & BIT(31)) ? -1 : 1;
+	exp = (flt32_val & ~BIT(31)) >> 23;
 
 	if (!exp && !mantissa)
 		return 0;
 
+	/*
+	 * Calculate the exponent and fraction part of floating
+	 * point representation.
+	 */
 	exp -= 127;
 	if (exp < 0) {
 		exp = -exp;
+		if (exp >= BITS_PER_TYPE(u32))
+			return 0;
 		zeropre = (((BIT(23) + mantissa) * 100) >> 23) >> exp;
 		return zeropre >= 50 ? sign : 0;
 	}
 
 	shift = 23 - exp;
-	float32 = BIT(exp) + (mantissa >> shift);
-	fraction = mantissa & GENMASK(shift - 1, 0);
+	if (abs(shift) >= BITS_PER_TYPE(u32))
+		return 0;
+
+	if (shift < 0) {
+		shift = -shift;
+		flt32_val = BIT(exp) + (mantissa << shift);
+		shift = 0;
+	} else {
+		flt32_val = BIT(exp) + (mantissa >> shift);
+	}
+
+	fraction = (shift == 0) ? 0 : mantissa & GENMASK(shift - 1, 0);
 
-	return (((fraction * 100) >> shift) >= 50) ? sign * (float32 + 1) : sign * float32;
+	return (((fraction * 100) >> shift) >= 50) ? sign * (flt32_val + 1) : sign * flt32_val;
 }
 
 static u8 get_input_rep(u8 current_index, int sensor_idx, int report_id,
drivers/hid/hid-hyperv.c +4 -6
index 49d4a26895e7..f33485d83d24 100644
@@ -258,19 +258,17 @@ static void mousevsc_on_receive(struct hv_device *device,
 
 	switch (hid_msg_hdr->type) {
 	case SYNTH_HID_PROTOCOL_RESPONSE:
+		len = struct_size(pipe_msg, data, pipe_msg->size);
+
 		/*
 		 * While it will be impossible for us to protect against
 		 * malicious/buggy hypervisor/host, add a check here to
 		 * ensure we don't corrupt memory.
 		 */
-		if (struct_size(pipe_msg, data, pipe_msg->size)
-			> sizeof(struct mousevsc_prt_msg)) {
-			WARN_ON(1);
+		if (WARN_ON(len > sizeof(struct mousevsc_prt_msg)))
 			break;
-		}
 
-		memcpy(&input_dev->protocol_resp, pipe_msg,
-				struct_size(pipe_msg, data, pipe_msg->size));
+		memcpy(&input_dev->protocol_resp, pipe_msg, len);
 		complete(&input_dev->wait_event);
 		break;
 
drivers/hid/hid-input.c +4 -3
index a1d2690a1a0d..851ee86eff32 100644
@@ -1093,6 +1093,10 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
 		case 0x074: map_key_clear(KEY_BRIGHTNESS_MAX);		break;
 		case 0x075: map_key_clear(KEY_BRIGHTNESS_AUTO);		break;
 
+		case 0x076: map_key_clear(KEY_CAMERA_ACCESS_ENABLE);	break;
+		case 0x077: map_key_clear(KEY_CAMERA_ACCESS_DISABLE);	break;
+		case 0x078: map_key_clear(KEY_CAMERA_ACCESS_TOGGLE);	break;
+
 		case 0x079: map_key_clear(KEY_KBDILLUMUP);	break;
 		case 0x07a: map_key_clear(KEY_KBDILLUMDOWN);	break;
 		case 0x07c: map_key_clear(KEY_KBDILLUMTOGGLE);	break;
@@ -1139,9 +1143,6 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
 		case 0x0cd: map_key_clear(KEY_PLAYPAUSE);	break;
 		case 0x0cf: map_key_clear(KEY_VOICECOMMAND);	break;
 
-		case 0x0d5: map_key_clear(KEY_CAMERA_ACCESS_ENABLE);		break;
-		case 0x0d6: map_key_clear(KEY_CAMERA_ACCESS_DISABLE);		break;
-		case 0x0d7: map_key_clear(KEY_CAMERA_ACCESS_TOGGLE);		break;
 		case 0x0d8: map_key_clear(KEY_DICTATE);		break;
 		case 0x0d9: map_key_clear(KEY_EMOJI_PICKER);	break;
 
drivers/iio/adc/meson_saradc.c +1 -1
index 18937a262af6..af6bfcc19075 100644
@@ -72,7 +72,7 @@
 	#define MESON_SAR_ADC_REG3_PANEL_DETECT_COUNT_MASK	GENMASK(20, 18)
 	#define MESON_SAR_ADC_REG3_PANEL_DETECT_FILTER_TB_MASK	GENMASK(17, 16)
 	#define MESON_SAR_ADC_REG3_ADC_CLK_DIV_SHIFT		10
-	#define MESON_SAR_ADC_REG3_ADC_CLK_DIV_WIDTH		5
+	#define MESON_SAR_ADC_REG3_ADC_CLK_DIV_WIDTH		6
 	#define MESON_SAR_ADC_REG3_BLOCK_DLY_SEL_MASK		GENMASK(9, 8)
 	#define MESON_SAR_ADC_REG3_BLOCK_DLY_MASK		GENMASK(7, 0)
 
drivers/md/dm-integrity.c +2 -2
index 31838b13ea54..a72bac9c5d10 100644
@@ -34,11 +34,11 @@
 #define DEFAULT_BUFFER_SECTORS		128
 #define DEFAULT_JOURNAL_WATERMARK	50
 #define DEFAULT_SYNC_MSEC		10000
-#define DEFAULT_MAX_JOURNAL_SECTORS	131072
+#define DEFAULT_MAX_JOURNAL_SECTORS	(IS_ENABLED(CONFIG_64BIT) ? 131072 : 8192)
 #define MIN_LOG2_INTERLEAVE_SECTORS	3
 #define MAX_LOG2_INTERLEAVE_SECTORS	31
 #define METADATA_WORKQUEUE_MAX_ACTIVE	16
-#define RECALC_SECTORS			32768
+#define RECALC_SECTORS			(IS_ENABLED(CONFIG_64BIT) ? 32768 : 2048)
 #define RECALC_WRITE_SUPER		16
 #define BITMAP_BLOCK_SIZE		4096	/* don't change it */
 #define BITMAP_FLUSH_INTERVAL		(10 * HZ)
drivers/md/dm-verity-loadpin.c +3 -0
index 4f78cc55c251..0666699b6858 100644
@@ -58,6 +58,9 @@ bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev)
 	int srcu_idx;
 	bool trusted = false;
 
+	if (bdev == NULL)
+		return false;
+
 	if (list_empty(&dm_verity_loadpin_trusted_root_digests))
 		return false;
 
drivers/md/raid0.c +54 -8

110 lines not on this page · raw message

drivers/md/raid0.h +1 -0
index 3816e5477db1..8cc761ca7423 100644
@@ -6,6 +6,7 @@ struct strip_zone {
 	sector_t zone_end;	/* Start of the next zone (in sectors) */
 	sector_t dev_start;	/* Zone offset in real dev (in sectors) */
 	int	 nb_dev;	/* # of devices attached to the zone */
+	int	 disk_shift;	/* start disk for the original layout */
 };
 
 /* Linux 3.14 (20d0189b101) made an unintended change to
drivers/mfd/qcom-pm8008.c +1 -0
index 837246aab4ac..29ec3901564b 100644
@@ -199,6 +199,7 @@ static const struct of_device_id pm8008_match[] = {
 	{ .compatible = "qcom,pm8008", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, pm8008_match);
 
 static struct i2c_driver pm8008_mfd_driver = {
 	.driver = {
drivers/misc/fastrpc.c +1 -1
index 9051551d9937..9666d28037e1 100644
@@ -1437,7 +1437,7 @@ static int fastrpc_init_create_process(struct fastrpc_user *fl,
 
 	sc = FASTRPC_SCALARS(FASTRPC_RMID_INIT_CREATE, 4, 0);
 	if (init.attrs)
-		sc = FASTRPC_SCALARS(FASTRPC_RMID_INIT_CREATE_ATTR, 6, 0);
+		sc = FASTRPC_SCALARS(FASTRPC_RMID_INIT_CREATE_ATTR, 4, 0);
 
 	err = fastrpc_internal_invoke(fl, true, FASTRPC_INIT_HANDLE,
 				      sc, args);
drivers/misc/pci_endpoint_test.c +7 -3
index a7244de081ec..24efe3b88a1f 100644
@@ -729,6 +729,10 @@ static long pci_endpoint_test_ioctl(struct file *file, unsigned int cmd,
 	struct pci_dev *pdev = test->pdev;
 
 	mutex_lock(&test->mutex);
+
+	reinit_completion(&test->irq_raised);
+	test->last_irq = -ENODATA;
+
 	switch (cmd) {
 	case PCITEST_BAR:
 		bar = arg;
@@ -938,6 +942,9 @@ static void pci_endpoint_test_remove(struct pci_dev *pdev)
 	if (id < 0)
 		return;
 
+	pci_endpoint_test_release_irq(test);
+	pci_endpoint_test_free_irq_vectors(test);
+
 	misc_deregister(&test->miscdev);
 	kfree(misc_device->name);
 	kfree(test->name);
@@ -947,9 +954,6 @@ static void pci_endpoint_test_remove(struct pci_dev *pdev)
 			pci_iounmap(pdev, test->bar[bar]);
 	}
 
-	pci_endpoint_test_release_irq(test);
-	pci_endpoint_test_free_irq_vectors(test);
-
 	pci_release_regions(pdev);
 	pci_disable_device(pdev);
 }
drivers/mtd/nand/raw/meson_nand.c +4 -0
index 1feea7d82252..4efb96e4e1c7 100644
@@ -76,6 +76,7 @@
 #define GENCMDIADDRH(aih, addr)		((aih) | (((addr) >> 16) & 0xffff))
 
 #define DMA_DIR(dir)		((dir) ? NFC_CMD_N2M : NFC_CMD_M2N)
+#define DMA_ADDR_ALIGN		8
 
 #define ECC_CHECK_RETURN_FF	(-1)
 
@@ -842,6 +843,9 @@ static int meson_nfc_read_oob(struct nand_chip *nand, int page)
 
 static bool meson_nfc_is_buffer_dma_safe(const void *buffer)
 {
+	if ((uintptr_t)buffer % DMA_ADDR_ALIGN)
+		return false;
+
 	if (virt_addr_valid(buffer) && (!object_is_on_stack(buffer)))
 		return true;
 	return false;
drivers/net/dsa/hirschmann/hellcreek.c +9 -5
index 595a548bb0a8..af50001ccdd4 100644
@@ -1885,13 +1885,17 @@ static int hellcreek_port_setup_tc(struct dsa_switch *ds, int port,
 	case TC_SETUP_QDISC_TAPRIO: {
 		struct tc_taprio_qopt_offload *taprio = type_data;
 
-		if (!hellcreek_validate_schedule(hellcreek, taprio))
-			return -EOPNOTSUPP;
+		switch (taprio->cmd) {
+		case TAPRIO_CMD_REPLACE:
+			if (!hellcreek_validate_schedule(hellcreek, taprio))
+				return -EOPNOTSUPP;
 
-		if (taprio->enable)
 			return hellcreek_port_set_schedule(ds, port, taprio);
-
-		return hellcreek_port_del_schedule(ds, port);
+		case TAPRIO_CMD_DESTROY:
+			return hellcreek_port_del_schedule(ds, port);
+		default:
+			return -EOPNOTSUPP;
+		}
 	}
 	default:
 		return -EOPNOTSUPP;
drivers/net/dsa/ocelot/felix.c +2 -4
index 70c0e2b1936b..d78b4bd4787e 100644
@@ -1286,7 +1286,6 @@ static int felix_parse_ports_node(struct felix *felix,
 		if (err < 0) {
 			dev_info(dev, "Unsupported PHY mode %s on port %d\n",
 				 phy_modes(phy_mode), port);
-			of_node_put(child);
 
 			/* Leave port_phy_modes[port] = 0, which is also
 			 * PHY_INTERFACE_MODE_NA. This will perform a
@@ -1786,14 +1785,13 @@ static int felix_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
 {
 	struct ocelot *ocelot = ds->priv;
 	struct ocelot_port *ocelot_port = ocelot->ports[port];
-	struct felix *felix = ocelot_to_felix(ocelot);
 
[… more lines in the raw message]

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

drivers/net/dsa/ocelot/felix.h +0 -1
index 96008c046da5..1d4befe7cfe8 100644

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

drivers/net/dsa/ocelot/felix_vsc9959.c +22 -6
index d172a3e9736c..ca69973ae91b 100644

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

drivers/net/dsa/qca/qca8k-8xxx.c +3 -0
index 6d5ac7588a69..d775a14784f7 100644

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

drivers/net/dsa/sja1105/sja1105_tas.c +5 -2
index e6153848a950..d7818710bc02 100644

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

drivers/net/ethernet/amazon/ena/ena_com.c +3 -0
index 451c3a1b6255..633b321d7fdd 100644

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

drivers/net/ethernet/broadcom/bgmac.c +2 -2
index 1761df8fb7f9..10c7c232cc4e 100644

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

drivers/net/ethernet/broadcom/genet/bcmmii.c +2 -0
index c15ed0acdb77..0092e46c46f8 100644

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

drivers/net/ethernet/engleder/tsnep_selftests.c +6 -6
index 1581d6b22232..8a9145f93147 100644

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

drivers/net/ethernet/engleder/tsnep_tc.c +3 -1
index d083e6684f12..745b191a5540 100644

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

drivers/net/ethernet/freescale/enetc/enetc_qos.c +5 -1
index 126007ab70f6..dfec50106106 100644

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

drivers/net/ethernet/freescale/fec.h +15 -2
index 9939ccafb556..63a053dea819 100644

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

drivers/net/ethernet/freescale/fec_main.c +104 -74

178 lines not on this page · raw message

drivers/net/ethernet/google/gve/gve_ethtool.c +3 -0
index cfd4b8d284d1..50162ec9424d 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +15 -8
index fcc027c938fd..1277e0a044ee 100644

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

drivers/net/ethernet/intel/ice/ice_tc_lib.c +11 -11
index d1a31f236d26..8578dc1cb967 100644

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

drivers/net/ethernet/intel/ice/ice_tc_lib.h +1 -0
index 8d5e22ac7023..189c73d88535 100644

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

drivers/net/ethernet/intel/igc/igc.h +14 -1
index 9dc9b982a7ea..345d3a4e8ed4 100644

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

drivers/net/ethernet/intel/igc/igc_ethtool.c +2 -0
index 0e2cb00622d1..93bce729be76 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +130 -28

158 lines not on this page · raw message

drivers/net/ethernet/intel/igc/igc_ptp.c +22 -3
index 32ef112f8291..f0b979a70655 100644

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

drivers/net/ethernet/intel/igc/igc_tsn.c +51 -17

68 lines not on this page · raw message

drivers/net/ethernet/marvell/mvneta.c +2 -2
index 2cad76d0a50e..4401fad31fb9 100644

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

drivers/net/ethernet/marvell/octeontx2/af/ptp.c +9 -10
index 3411e2e47d46..0ee420a489fc 100644

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

drivers/net/ethernet/marvell/octeontx2/af/rvu.c +1 -1
index b26b01321693..73932e2755bc 100644

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

drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +2 -9
index f01d057ad025..8cdf91a5bf44 100644

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

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c +21 -2
index 9f11c1e40737..6fe67f3a7f6f 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c +8 -0
index 10e11262d48a..2d7713a1a153 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c +15 -0
index 8392f63e433f..293bd3f29b07 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c +3 -3
index 03cb79adf912..be83ad9db82a 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c +4 -2
index 3cbebfba582b..b0b429a0321e 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c +11 -3
index a254e728ac95..fadfa8b50beb 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h +1 -0
index 8e9316fa46d4..b66c5f98067f 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c +1 -2
index f0e6095809fa..40589cebb773 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c +1 -0
index 88a5aed9d678..c7d191f66ad1 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +22 -22

44 lines not on this page · raw message

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +3 -3
index b9b1da751a3b..ed05ac8ae1de 100644

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

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +3 -0
index 901c53751b0a..f81c6d8d5e0f 100644

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

drivers/net/ethernet/mellanox/mlx5/core/thermal.c +12 -7
index e47fa6fb836f..89a22ff04cb6 100644

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

drivers/net/ethernet/microchip/Kconfig +1 -1
index 24c994baad13..329e374b9539 100644

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

drivers/net/ethernet/microchip/lan743x_main.c +17 -4
index 957d96a91a8a..8a991caf5161 100644

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

drivers/net/ethernet/microchip/lan966x/lan966x_tc.c +8 -2
index cf0cc7562d04..ee652f2d2359 100644

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

drivers/net/ethernet/mscc/ocelot_mm.c +5 -2
index fb3145118d68..99b29d1e6244 100644

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

drivers/net/ethernet/netronome/nfp/nfp_net_common.c +5 -0
index 62f0bf91d1e1..52bf8928571d 100644

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

drivers/net/ethernet/pensando/ionic/ionic_lif.c +0 -5
index 957027e546b3..e03a94f2469a 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +5 -2
index 9d55226479b4..ac41ef4cbd2f 100644

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

drivers/net/ethernet/ti/am65-cpsw-qos.c +8 -3
index 3a908db6e5b2..eced87fa261c 100644

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

drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c +0 -3
index ebc46f3be056..fc37af2e71ff 100644

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

drivers/net/netdevsim/dev.c +3 -6
index 6045bece2654..b4d3b9cde8bd 100644

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

drivers/net/phy/dp83td510.c +5 -18
index 3cd9a77f9532..d7616b13c594 100644

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

drivers/net/wireless/cisco/airo.c +4 -1
index 7c4cc5f5e1eb..dbd13f7aa3e6 100644

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

drivers/net/wireless/realtek/rtw89/debug.c +3 -2
index 1e5b7a998716..858494ddfb12 100644

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

drivers/ntb/hw/amd/ntb_hw_amd.c +6 -1
index 04550b1f984c..730f2103b91d 100644

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

drivers/ntb/hw/idt/ntb_hw_idt.c +6 -1
index 0ed6f809ff2e..51799fccf840 100644

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

drivers/ntb/hw/intel/ntb_hw_gen1.c +6 -1
index 84772013812b..60a4ebc7bf35 100644

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

drivers/ntb/ntb_transport.c +1 -1
index a9b97ebc71ac..2abd2235bbca 100644

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

drivers/ntb/test/ntb_tool.c +2 -0
index 5ee0afa621a9..eeeb4b1c97d2 100644

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

drivers/nvme/host/core.c +33 -3
index 3395e2743839..45f1dac07685 100644

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

drivers/nvme/host/pci.c +1 -1
index 492f319ebdf3..5b5303f0e2c2 100644

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

drivers/opp/core.c +3 -0
index 954c94865cf5..b5973fefdfd8 100644

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

drivers/pci/controller/dwc/pcie-qcom.c +2 -0
index 2783e9c3ef1b..391a45d1e70a 100644

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

drivers/pci/controller/pcie-rockchip-ep.c +24 -41

65 lines not on this page · raw message

drivers/pci/controller/pcie-rockchip.c +17 -0
index 990a00e08bc5..1aa84035a8bc 100644

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

drivers/pci/controller/pcie-rockchip.h +10 -1
index 32c3a859c26b..8e92dc3339ec 100644

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

drivers/pci/endpoint/functions/pci-epf-test.c +28 -12
index 172e5ac0bd96..a383906212cf 100644

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

drivers/pci/pci.c +5 -5
index 5ede93222bc1..c779eb4d7fb8 100644

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

drivers/pci/probe.c +3 -1
index 0b2826c4a832..00ed20ac0dd6 100644

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

drivers/pci/quirks.c +2 -0
index c525867760bf..b7c65193e786 100644

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

drivers/perf/riscv_pmu.c +0 -3
index ebca5eab9c9b..56897d4d4fd3 100644

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

drivers/pinctrl/pinctrl-amd.c +32 -71

103 lines not on this page · raw message

drivers/pinctrl/pinctrl-amd.h +1 -1
index 81ae8319a1f0..34c5c3e71fb2 100644

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

drivers/platform/x86/wmi.c +12 -10
index d81319a502ef..e1a3bfeeed52 100644

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

drivers/pwm/pwm-meson.c +9 -19
index 5732300eb004..33107204a951 100644

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

drivers/s390/crypto/zcrypt_msgtype6.c +6 -0
index 2f9bf23fbb44..9eb515373700 100644

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

drivers/s390/net/ism_drv.c +66 -73

139 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_crtn.h +0 -1
index b833b983e69d..0b9edde26abd 100644

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

drivers/scsi/lpfc/lpfc_els.c +7 -23
index a5e5b7bff59b..2bad9954c355 100644

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

drivers/scsi/lpfc/lpfc_hbadisc.c +3 -21
index 5ba3a9ad9501..67bfdddb897c 100644

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

drivers/scsi/mpi3mr/mpi3mr_fw.c +5 -0
index 075fa67e95ee..1218b18c7dcf 100644

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

drivers/scsi/qla2xxx/qla_attr.c +13 -0
index 70cfc94c3d43..b00222459607 100644

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

drivers/scsi/qla2xxx/qla_bsg.c +6 -0
index dba7bba788d7..19bb64bdd88b 100644

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

drivers/scsi/qla2xxx/qla_def.h +21 -1
index 84aa3571be6d..47d8f7913c3d 100644

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

drivers/scsi/qla2xxx/qla_edif.c +2 -2
index ec0e20255bd3..26e6b3e3af43 100644

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

drivers/scsi/qla2xxx/qla_gbl.h +1 -1
index 391c8b3623a6..ba7831f24734 100644

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

drivers/scsi/qla2xxx/qla_init.c +237 -21

258 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_inline.h +4 -1
index 7b42558a8839..0167e85ba058 100644

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

drivers/scsi/qla2xxx/qla_iocb.c +30 -8
index b9b3e6f80ea9..364b65a0f633 100644

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

drivers/scsi/qla2xxx/qla_isr.c +54 -10

64 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_nvme.c +0 -3
index 648e8f798606..86e85f2f4782 100644

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

drivers/scsi/qla2xxx/qla_os.c +66 -67

133 lines not on this page · raw message

drivers/soc/qcom/mdt_loader.c +11 -5
index 33dd8c315eb7..46820bcdae98 100644

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

drivers/soundwire/qcom.c +2 -1
index bd39e7878859..e3ef5ebae6b7 100644

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

drivers/tty/n_tty.c +21 -4
index 1c9e5d2ea7de..552e8a741562 100644

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

drivers/tty/serial/8250/8250.h +0 -1
index 1e8fe44a7099..eeb7b43ebe53 100644

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

drivers/tty/serial/8250/8250_pci.c +0 -19
index e80c4f6551a1..d2d547b5da95 100644

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

drivers/tty/serial/8250/8250_port.c +3 -8
index c153ba3a018a..053d44412e42 100644

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

drivers/tty/serial/atmel_serial.c +2 -2
index 9cd7479b03c0..595b591bb49b 100644

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

drivers/tty/serial/imx.c +13 -5
index c5e17569c3ad..3fe8ff241522 100644

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

drivers/tty/serial/samsung_tty.c +13 -1
index 2a7520ad3abd..0b37019820b4 100644

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

drivers/ufs/host/Kconfig +1 -0
index 8793e3433580..f11e98c9e665 100644

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

drivers/usb/host/xhci-mem.c +30 -9
index 7e106bd804ca..1979702b0fa9 100644

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

drivers/usb/host/xhci-pci.c +12 -0
index 69a5cb7eba38..a410162e15df 100644

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

drivers/usb/host/xhci.h +2 -0
index f845c15073ba..4474d540f6b4 100644

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

drivers/xen/grant-dma-ops.c +2 -0
index 9784a77fa3c9..76f6f26265a3 100644

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

fs/ceph/addr.c +67 -18

85 lines not on this page · raw message

fs/ceph/caps.c +9 -0
index 2321e5ddb664..ee6611e14159 100644

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

fs/ceph/super.h +13 -0
index d24bf0db5234..3bfddf34d488 100644

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

fs/dlm/ast.c +5 -3
index 700ff2e0515a..ff0ef4653535 100644

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

fs/dlm/lockspace.c +0 -12
index 67261b7b1f0e..0455dddb0797 100644

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

fs/dlm/lockspace.h +0 -1
index 03f4a4a3a871..47ebd4411926 100644

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

fs/dlm/lowcomms.c +1 -0
index 3d3802c47b8b..5aad4d4842eb 100644

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

fs/dlm/midcomms.c +0 -3
index c02c43e4980a..3df916a568ba 100644

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

fs/dlm/plock.c +70 -45

115 lines not on this page · raw message

fs/erofs/inode.c +2 -1
index d70b12b81507..e12592727a54 100644

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

fs/erofs/zdata.c +2 -2
index 502893e3da01..997ca4b32e87 100644

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

fs/ext2/inode.c +2 -3
index 26f135e7ffce..dc76147e7b07 100644

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

fs/ext4/indirect.c +8 -0
index c68bebe7ff4b..a9f3716119d3 100644

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

fs/ext4/inode.c +0 -10
index 02de439bf1f0..ac35120cd35a 100644

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

fs/ext4/ioctl.c +4 -1
index f9a430152063..55be1b8a6360 100644

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

fs/ext4/mballoc.c +9 -8
index 20f67a260df5..fd4d12c58c3b 100644

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

fs/ext4/super.c +21 -10
index 05fcecc36244..77b4d9d2b215 100644

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

fs/f2fs/dir.c +8 -1
index 887e55988450..d635c58cf5a3 100644

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

fs/f2fs/super.c +18 -12
index 17082dc3c1a3..3d91b5313947 100644

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

fs/f2fs/xattr.c +4 -2
index 213805d3592c..476b186b90a6 100644

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

fs/jfs/jfs_dmap.c +6 -0
index a3eb1e826947..da6a2bc6bf02 100644

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

fs/jfs/jfs_filsys.h +2 -0
index b5d702df7111..33ef13a0b110 100644

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

fs/smb/client/cifs_dfs_ref.c +14 -6
index 0329a907bdfe..b1c2499b1c3b 100644

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

fs/smb/client/cifsproto.h +2 -0
index 94ab6402965c..1d71d658e167 100644

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

fs/smb/client/cifssmb.c +1 -1
index 9d963caec35c..a0c4e9874b01 100644

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

fs/smb/client/dfs.c +6 -37

43 lines not on this page · raw message

fs/smb/client/file.c +2 -2
index 1a854dc20482..d554bca7e07e 100644

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

fs/smb/client/fs_context.c +50 -9

59 lines not on this page · raw message

fs/smb/client/misc.c +11 -6
index b0dedc26643b..70dbfe6584f9 100644

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

fs/smb/client/smb2transport.c +7 -0
index 790acf65a092..22954a9c7a6c 100644

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

fs/smb/server/smb2pdu.c +70 -39

109 lines not on this page · raw message

include/drm/display/drm_dp_mst_helper.h +5 -2
index 32c764fb9cb5..40e855c8407c 100644

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

include/linux/blk-crypto-profile.h +1 -0
index e6802b69cdd6..90ab33cb5d0e 100644

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

include/linux/ism.h +1 -6
index ea2bcdae7401..9a4c204df3da 100644

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

include/linux/kasan.h +1 -1
index f7ef70661ce2..819b6bc8ac08 100644

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

include/linux/nvme.h +1 -1
index 779507ac750b..2819d6c3a6b5 100644

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

include/linux/rethook.h +1 -0
index c8ac1e5afcd1..bdbe6717f45a 100644

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

include/linux/serial_8250.h +0 -1
index 6f78f302d272..09029cb33e74 100644

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

include/net/netfilter/nf_conntrack_tuple.h +3 -0
index 9334371c94e2..f7dd950ff250 100644

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

include/net/netfilter/nf_tables.h +27 -4
index ee47d7143d99..1b0beb8f08ae 100644

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

include/net/pkt_sched.h +7 -2
index 5722931d83d4..2465d1e79d10 100644

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

include/soc/mscc/ocelot.h +1 -0
index 22aae505c813..85a726fb006c 100644

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

kernel/bpf/cpumap.c +24 -16
index 8ec18faa74ac..3da63be602d1 100644

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

kernel/bpf/verifier.c +3 -2
index 30fabae47a07..aac31e33323b 100644

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

kernel/dma/swiotlb.c +35 -11

46 lines not on this page · raw message

kernel/power/qos.c +7 -2
index af51ed6d45ef..782d3b41c1f3 100644

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

kernel/trace/fprobe.c +7 -8
index 18d36842faf5..2571f7f3d5f2 100644

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

kernel/trace/ftrace.c +31 -14

45 lines not on this page · raw message

kernel/trace/rethook.c +13 -0
index 60f6cb2b486b..468006cce7ca 100644

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

kernel/trace/ring_buffer.c +15 -9
index 834b361a4a66..14d8001140c8 100644

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

kernel/trace/trace.c +2 -1
index 64a4dde073ef..c80ff6f5b2cc 100644

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

kernel/trace/trace.h +2 -0
index 79bdefe9261b..eee1f3ca4749 100644

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

kernel/trace/trace_eprobe.c +16 -2
index 67e854979d53..3f04f0ffe0d7 100644

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

kernel/trace/trace_events_hist.c +5 -3
index b97d3ad832f1..c8c61381eba4 100644

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

kernel/trace/trace_events_user.c +5 -1
index 8df0550415e7..0f04f7904e76 100644

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

kernel/trace/trace_probe.c +1 -1
index 2d2616678295..591399ddcee5 100644

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

kernel/trace/trace_probe_kernel.h +8 -22
index c4e1d4c03a85..bb723eefd7b7 100644

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

kernel/trace/trace_probe_tmpl.h +5 -5
index 00707630788d..3935b347f874 100644

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

kernel/trace/trace_uprobe.c +2 -1
index 8b92e34ff0c8..7b47e9a2c010 100644

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

mm/kasan/common.c +1 -1
index b376a5d055e5..256930da578a 100644

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

mm/kasan/generic.c +37 -36

73 lines not on this page · raw message

mm/kasan/kasan.h +81 -90

171 lines not on this page · raw message

mm/kasan/report.c +8 -9
index 892a9dc9d4d3..84d9f3b37014 100644

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

mm/kasan/report_generic.c +6 -6
index 87d39bc0a673..51a1e8a8877f 100644

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

mm/kasan/report_hw_tags.c +1 -1
index 32e80f78de7d..065e1b2fc484 100644

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

mm/kasan/report_sw_tags.c +1 -1
index 8b1f5a73ee6d..689e94f9fe3c 100644

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

mm/kasan/shadow.c +18 -18
index c8b86f3273b5..3e62728ae25d 100644

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

mm/kasan/sw_tags.c +10 -10
index 30da65fa02a1..220b5d4c6876 100644

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

mm/mmap.c +5 -4
index 30bf7772d4ac..5c5a917b261e 100644

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

mm/slab.h +14 -2
index f01ac256a8f5..24ecd4f50b57 100644

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

net/ceph/messenger_v2.c +26 -15

41 lines not on this page · raw message

net/core/net-traces.c +2 -0
index 805b7385dd8d..6aef976bc1da 100644

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

net/core/skbuff.c +5 -0
index cea28d30abb5..1b6a1d99869d 100644

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

net/core/xdp.c +1 -1
index 41e5ca8643ec..8362130bf085 100644

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

net/ipv6/addrconf.c +1 -2
index 3797917237d0..5affca8e2f53 100644

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

net/ipv6/icmp.c +4 -1
index 9edf1f45b1ed..65fa5014bc85 100644

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

net/ipv6/udp.c +3 -1
index e5a337e6b970..d594a0425749 100644

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

net/mptcp/protocol.c +6 -1
index a6c7f2d24909..b069826869d0 100644

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

net/ncsi/ncsi-rsp.c +22 -71

93 lines not on this page · raw message

net/netfilter/nf_conntrack_core.c +7 -13
index d119f1d4c2fc..992393102d5f 100644

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

net/netfilter/nf_tables_api.c +101 -62

163 lines not on this page · raw message

net/netfilter/nft_flow_offload.c +4 -2
index e860d8fe0e5e..03159c6c6c4b 100644

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

net/netfilter/nft_immediate.c +4 -4
index 3d76ebfe8939..407d7197f75b 100644

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

net/netfilter/nft_objref.c +5 -3
index a48dd5b5d45b..509011b1ef59 100644

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

net/sched/cls_flower.c +10 -0
index 815c3e416bc5..652158f612fc 100644

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

net/sched/cls_fw.c +5 -5
index ae9439a6c56c..8641f8059317 100644

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

net/sched/sch_qfq.c +15 -3
index dfd9a99e6257..befaf74b33ca 100644

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

net/sched/sch_taprio.c +2 -2
index cf0e61ed9225..4caf80ddc672 100644

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

samples/ftrace/ftrace-direct-too.c +8 -6
index a05bc2cc2261..7986033887f6 100644

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

security/integrity/platform_certs/load_powerpc.c +26 -14
index b9de70b90826..170789dc63d2 100644

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

tools/testing/selftests/net/mptcp/config +1 -0
index 6032f9b23c4c..e317c2e44dae 100644

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

tools/testing/selftests/net/mptcp/mptcp_connect.sh +3 -0
index 773dd770a567..780b8fef2261 100755

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

tools/testing/selftests/net/mptcp/mptcp_sockopt.sh +16 -13
index f295a371ff14..dc8d473fc82c 100755

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

tools/testing/selftests/net/mptcp/pm_nl_ctl.c +5 -5
index abddf4c63e79..1887bd61bd9a 100644

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

tools/testing/selftests/net/mptcp/userspace_pm.sh +3 -1
index 98d9e4d2d3fc..b180133a30af 100755

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.