Linux 6.5.6
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.5.6 kernel.
All users of the 6.5 kernel series must upgrade.
The updated 6.5.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.5.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/admin-guide/cgroup-v1/memory.rst | 9 Documentation/sound/designs/midi-2.0.rst | 4 Makefile | 2 arch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi | 4 arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi | 3 arch/arm/boot/dts/ti/omap/omap4-cpu-thermal.dtsi | 5 arch/arm/boot/dts/ti/omap/omap443x.dtsi | 1 arch/arm/boot/dts/ti/omap/omap4460.dtsi | 1 arch/arm64/boot/dts/freescale/Makefile | 1 arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 32 arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts | 5 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 9 arch/arm64/configs/defconfig | 1 arch/loongarch/include/asm/addrspace.h | 12 arch/loongarch/include/asm/elf.h | 9 arch/loongarch/kernel/mem.c | 4 arch/loongarch/kernel/module.c | 22 arch/loongarch/kernel/numa.c | 2 arch/loongarch/kernel/vmlinux.lds.S | 55 - arch/mips/alchemy/devboards/db1000.c | 4 arch/mips/alchemy/devboards/db1200.c | 6 arch/mips/alchemy/devboards/db1300.c | 4 arch/parisc/include/asm/ropes.h | 7 arch/parisc/kernel/drivers.c | 2 arch/parisc/kernel/irq.c | 2 arch/powerpc/kernel/hw_breakpoint.c | 16 arch/powerpc/kernel/hw_breakpoint_constraints.c | 7 arch/powerpc/kernel/stacktrace.c | 27 arch/powerpc/kernel/traps.c | 56 - arch/powerpc/perf/hv-24x7.c | 2 arch/riscv/include/asm/errata_list.h | 4 arch/x86/Kconfig | 2 arch/x86/include/asm/kexec.h | 2 arch/x86/include/asm/kvm_host.h | 3 arch/x86/include/asm/linkage.h | 7 arch/x86/include/asm/processor.h | 2 arch/x86/include/asm/reboot.h | 2 arch/x86/kernel/cpu/amd.c | 28 arch/x86/kernel/cpu/bugs.c | 17 arch/x86/kernel/cpu/common.c | 2 arch/x86/kernel/cpu/sgx/encl.c | 30 arch/x86/kernel/crash.c | 31 arch/x86/kernel/reboot.c | 22 arch/x86/kernel/setup.c | 8 arch/x86/kvm/mmu/mmu.c | 20 arch/x86/kvm/mmu/mmu_internal.h | 15 arch/x86/kvm/mmu/tdp_mmu.c | 152 +-- arch/x86/kvm/mmu/tdp_mmu.h | 5 arch/x86/kvm/svm/sev.c | 34 arch/x86/kvm/svm/svm.c | 9 arch/x86/kvm/svm/svm.h | 1 arch/x86/kvm/vmx/vmx.c | 10 arch/x86/kvm/x86.c | 5 arch/x86/lib/memcpy_64.S | 2 arch/x86/lib/memmove_64.S | 2 arch/x86/lib/memset_64.S | 2 arch/xtensa/boot/Makefile | 3 arch/xtensa/boot/lib/zmem.c | 5 arch/xtensa/include/asm/core.h | 4 arch/xtensa/lib/umulsidi3.S | 4 arch/xtensa/platforms/iss/network.c | 4 crypto/sm2.c | 6 drivers/accel/ivpu/ivpu_fw.c | 8 drivers/accel/ivpu/ivpu_gem.h | 5 drivers/accel/ivpu/ivpu_ipc.c | 11 drivers/acpi/nfit/core.c | 2 drivers/ata/libata-core.c | 41 drivers/ata/libata-eh.c | 16 drivers/ata/libata-scsi.c | 53 + drivers/ata/libata-transport.c | 9 drivers/ata/libata.h | 2 drivers/ata/sata_mv.c | 4 drivers/block/rbd.c | 412 +++++----- drivers/bus/ti-sysc.c | 31 drivers/char/agp/parisc-agp.c | 2 drivers/clk/clk-si521xx.c | 9 drivers/clk/sprd/ums512-clk.c | 2 drivers/clk/tegra/clk-bpmp.c | 2 drivers/cxl/core/mbox.c | 23 drivers/cxl/core/port.c | 13 drivers/cxl/core/region.c | 24 drivers/cxl/pci.c | 6 drivers/firewire/sbp2.c | 9 drivers/firmware/arm_ffa/driver.c | 16 drivers/firmware/arm_scmi/perf.c | 93 +- drivers/firmware/cirrus/cs_dsp.c | 34 drivers/firmware/imx/imx-dsp.c | 1 drivers/gpio/gpio-pmic-eic-sprd.c | 1 drivers/gpio/gpio-tb10x.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 19 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h | 9 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 7 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 76 - drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c | 3 drivers/gpu/drm/amd/amdgpu/soc21.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 4 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 34 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 43 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 46 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 77 + drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 2 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 4 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 43 - drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c | 105 +- drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 6 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 11 drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 drivers/gpu/drm/i915/gt/intel_ggtt.c | 23 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 38 drivers/gpu/drm/meson/meson_encoder_hdmi.c | 2 drivers/gpu/drm/tests/drm_mm_test.c | 2 drivers/gpu/drm/virtio/virtgpu_submit.c | 1 drivers/i2c/busses/i2c-designware-common.c | 17 drivers/i2c/busses/i2c-designware-core.h | 3 drivers/i2c/busses/i2c-i801.c | 1 drivers/i2c/busses/i2c-npcm7xx.c | 17 drivers/i2c/busses/i2c-xiic.c | 2 drivers/i2c/muxes/i2c-demux-pinctrl.c | 4 drivers/i2c/muxes/i2c-mux-gpio.c | 4 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 27 drivers/media/common/videobuf2/frame_vector.c | 6 drivers/media/platform/marvell/Kconfig | 4 drivers/media/platform/via/Kconfig | 2 drivers/media/usb/em28xx/Kconfig | 4 drivers/media/usb/go7007/Kconfig | 2 drivers/media/usb/uvc/uvc_ctrl.c | 3 drivers/misc/cardreader/rts5227.c | 55 - drivers/misc/cardreader/rts5228.c | 57 - drivers/misc/cardreader/rts5249.c | 56 - drivers/misc/cardreader/rts5260.c | 43 - drivers/misc/cardreader/rts5261.c | 52 - drivers/misc/cardreader/rtsx_pcr.c | 51 + drivers/net/ethernet/amazon/ena/ena_netdev.c | 3 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 5 drivers/net/ethernet/engleder/tsnep_ethtool.c | 6 drivers/net/ethernet/engleder/tsnep_main.c | 18 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 9 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 13 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 3 drivers/net/ethernet/huawei/hinic/hinic_port.c | 3 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 8 drivers/net/ethernet/intel/iavf/iavf.h | 2 drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 2 drivers/net/ethernet/intel/iavf/iavf_main.c | 17 drivers/net/ethernet/intel/igc/igc_ethtool.c | 31 drivers/net/ethernet/intel/igc/igc_main.c | 2 drivers/net/ethernet/marvell/octeon_ep/octep_main.c | 8 drivers/net/ethernet/marvell/octeon_ep/octep_tx.c | 8 drivers/net/ethernet/marvell/octeon_ep/octep_tx.h | 16 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 19 drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c | 59 + drivers/net/ethernet/pensando/ionic/ionic_dev.h | 1 drivers/net/ethernet/pensando/ionic/ionic_txrx.c | 10 drivers/net/team/team.c | 10 drivers/net/thunderbolt/main.c | 3 drivers/net/vxlan/vxlan_core.c | 4 drivers/nvme/host/fc.c | 2 drivers/nvme/host/pci.c | 3 drivers/parisc/ccio-dma.c | 18 drivers/parisc/iommu-helpers.h | 8 drivers/parisc/iosapic.c | 4 drivers/parisc/iosapic_private.h | 4 drivers/parisc/sba_iommu.c | 28 drivers/platform/mellanox/Kconfig | 1 drivers/platform/x86/asus-nb-wmi.c | 9 drivers/platform/x86/intel_scu_ipc.c | 66 - drivers/power/supply/ab8500_btemp.c | 9 drivers/power/supply/ab8500_chargalg.c | 2 drivers/power/supply/mt6370-charger.c | 2 drivers/power/supply/power_supply_sysfs.c | 7 drivers/power/supply/rk817_charger.c | 16 drivers/power/supply/rt9467-charger.c | 4 drivers/power/supply/ucs1002_power.c | 3 drivers/scsi/iscsi_tcp.c | 4 drivers/scsi/pm8001/pm8001_hwi.c | 2 drivers/scsi/pm8001/pm80xx_hwi.c | 4 drivers/scsi/qedf/qedf_io.c | 10 drivers/scsi/qedf/qedf_main.c | 7 drivers/scsi/scsi.c | 11 drivers/scsi/scsi_scan.c | 2 drivers/scsi/sd.c | 101 +- drivers/scsi/sd.h | 1 drivers/soc/imx/soc-imx8m.c | 10 drivers/spi/spi-gxp.c | 2 drivers/spi/spi-intel-pci.c | 1 drivers/spi/spi-nxp-fspi.c | 7 drivers/spi/spi-stm32.c | 8 drivers/spi/spi-sun6i.c | 31 drivers/spi/spi-zynqmp-gqspi.c | 12 drivers/thermal/thermal_of.c | 8 drivers/thermal/thermal_sysfs.c | 9 drivers/tty/n_gsm.c | 4 drivers/tty/serial/8250/8250_port.c | 5 drivers/ufs/core/ufshcd.c | 13 drivers/vfio/mdev/mdev_sysfs.c | 3 drivers/video/fbdev/Kconfig | 2 fs/binfmt_elf_fdpic.c | 5 fs/btrfs/delayed-inode.c | 85 +- fs/btrfs/extent_io.c | 8 fs/btrfs/file.c | 16 fs/btrfs/inode.c | 29 fs/btrfs/super.c | 2 fs/ceph/caps.c | 6 fs/ceph/mds_client.c | 12 fs/ceph/mds_client.h | 11 fs/ceph/quota.c | 14 fs/ceph/snap.c | 10 fs/ceph/super.c | 75 + fs/ceph/super.h | 3 fs/ext4/mballoc.c | 60 - fs/gfs2/glock.c | 4 fs/gfs2/glops.c | 9 fs/libfs.c | 1 fs/netfs/buffered_read.c | 6 fs/nfs/direct.c | 134 ++- fs/nfs/flexfilelayout/flexfilelayout.c | 1 fs/nfs/nfs4client.c | 9 fs/nfs/nfs4proc.c | 14 fs/nfs/nfs4state.c | 38 fs/nfs/write.c | 23 fs/nfsd/nfs4xdr.c | 4 fs/nilfs2/gcinode.c | 6 fs/proc/internal.h | 2 fs/proc/task_nommu.c | 64 - fs/smb/client/cifsglob.h | 1 fs/smb/client/fs_context.c | 1 fs/smb/client/inode.c | 2 fs/smb/client/smb2ops.c | 6 fs/smb/client/transport.c | 34 include/linux/atomic/atomic-arch-fallback.h | 10 include/linux/bpf.h | 2 include/linux/btf_ids.h | 2 include/linux/compiler_attributes.h | 26 include/linux/if_team.h | 2 include/linux/interrupt.h | 6 include/linux/libata.h | 4 include/linux/memcontrol.h | 4 include/linux/nfs_fs_sb.h | 1 include/linux/nfs_page.h | 4 include/linux/resume_user_mode.h | 2 include/linux/seqlock.h | 2 include/net/netfilter/nf_tables.h | 7 include/scsi/scsi.h | 3 include/scsi/scsi_device.h | 5 include/uapi/linux/bpf.h | 4 include/uapi/linux/stddef.h | 11 io_uring/fs.c | 2 kernel/bpf/btf.c | 2 kernel/bpf/offload.c | 12 kernel/bpf/queue_stack_maps.c | 21 kernel/dma/debug.c | 20 kernel/dma/swiotlb.c | 4 kernel/sched/core.c | 2 kernel/sched/cpupri.c | 1 kernel/sched/idle.c | 1 kernel/trace/bpf_trace.c | 16 kernel/trace/ring_buffer.c | 38 kernel/trace/trace_events_user.c | 58 + mm/damon/vaddr-test.h | 2 mm/memcontrol.c | 13 mm/mempolicy.c | 39 mm/page_alloc.c | 12 mm/slab_common.c | 12 net/bridge/br_forward.c | 4 net/bridge/br_input.c | 4 net/core/flow_dissector.c | 2 net/dccp/ipv4.c | 9 net/dccp/ipv6.c | 9 net/handshake/handshake-test.c | 14 net/hsr/hsr_framereg.c | 4 net/hsr/hsr_main.h | 2 net/ipv4/route.c | 4 net/mptcp/options.c | 5 net/mptcp/protocol.c | 41 net/mptcp/subflow.c | 36 net/ncsi/ncsi-aen.c | 5 net/netfilter/ipset/ip_set_core.c | 12 net/netfilter/nf_conntrack_bpf.c | 2 net/netfilter/nf_conntrack_extend.c | 4 net/netfilter/nf_tables_api.c | 79 + net/netfilter/nft_set_hash.c | 11 net/netfilter/nft_set_pipapo.c | 4 net/netfilter/nft_set_rbtree.c | 8 net/rds/rdma_transport.c | 12 net/smc/smc_stats.h | 3 net/sunrpc/clnt.c | 15 scripts/atomic/gen-atomic-fallback.sh | 2 sound/core/rawmidi.c | 2 sound/core/seq/seq_ump_client.c | 24 sound/core/seq/seq_ump_convert.c | 2 sound/hda/intel-sdw-acpi.c | 8 sound/pci/hda/hda_intel.c | 1 sound/pci/hda/patch_realtek.c | 3 sound/soc/amd/yc/acp6x-mach.c | 35 sound/soc/codecs/cs35l56-i2c.c | 1 sound/soc/codecs/cs35l56.c | 1 sound/soc/codecs/cs42l42-sdw.c | 20 sound/soc/codecs/cs42l42.c | 21 sound/soc/codecs/cs42l42.h | 1 sound/soc/codecs/rt5640.c | 33 sound/soc/codecs/wm_adsp.c | 13 sound/soc/fsl/imx-audmix.c | 2 sound/soc/fsl/imx-pcm-rpmsg.c | 1 sound/soc/fsl/imx-rpmsg.c | 8 sound/soc/intel/avs/boards/hdaudio.c | 3 sound/soc/meson/axg-spdifin.c | 49 - sound/soc/sof/core.c | 3 sound/soc/sof/intel/mtl.c | 2 sound/soc/sof/intel/mtl.h | 1 sound/soc/sof/ipc4-topology.c | 2 sound/soc/sof/sof-audio.c | 3 tools/include/linux/btf_ids.h | 2 tools/include/linux/mm.h | 4 tools/include/linux/seq_file.h | 2 tools/include/uapi/linux/bpf.h | 4 tools/objtool/check.c | 3 tools/perf/util/Build | 6 tools/testing/memblock/internal.h | 4 tools/testing/memblock/mmzone.c | 2 tools/testing/memblock/tests/basic_api.c | 2 tools/testing/memblock/tests/common.h | 1 tools/testing/selftests/bpf/test_verifier.c | 2 tools/testing/selftests/ftrace/test.d/instances/instance-event.tc | 2 tools/testing/selftests/kselftest_deps.sh | 77 + tools/testing/selftests/mm/charge_reserved_hugetlb.sh | 4 tools/testing/selftests/mm/hugetlb_reparenting_test.sh | 4 tools/testing/selftests/net/tls.c | 8 tools/testing/selftests/powerpc/Makefile | 7 tools/testing/selftests/powerpc/pmu/Makefile | 11 346 files changed, 3168 insertions(+), 1861 deletions(-)
Adam Ford (3):
bus: ti-sysc: Fix missing AM35xx SoC matching
arm64: dts: imx8mp: Fix SDMA2/3 clocks
arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock
Al Viro (1):
direct_write_fallback(): on error revert the ->ki_pos update from buffered write
Alex Deucher (2):
drm/amdgpu/soc21: don't remap HDP registers for SR-IOV drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV
Alexey Dobriyan (2):
uapi: stddef.h: Fix header guard location
uapi: stddef.h: Fix __DECLARE_FLEX_ARRAY for C++
Alison Schofield (1):
cxl/region: Match auto-discovered region decoders by HPA range
Amit Pundir (1):
arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
Andreas Gruenbacher (1):
gfs2: Fix another freeze/thaw hang
Andy Shevchenko (2):
LoongArch: Use _UL() and _ULL()
serial: 8250_port: Check IRQ data before use
Ard Biesheuvel (1):
efi/x86: Ensure that EFI_RUNTIME_MAP is enabled for kexec
Arnaldo Carvalho de Melo (1):
perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
Artem Chernyshev (1):
net: rds: Fix possible NULL-pointer dereference
Artem Savkov (1):
selftests/bpf: fix unpriv_disabled check in test_verifier
August Wikerfors (1):
ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
Bard Liao (1):
ASoC: SOF: ipc4-topology: fix wrong sizeof argument
Beau Belgrave (1):
tracing/user_events: Align set_bit() address for all archs
Ben Wolsieffer (2):
proc: nommu: /proc/<pid>/maps: release mmap read lock
proc: nommu: fix empty /proc/<pid>/maps
Benjamin Gray (4):
powerpc/dexcr: Move HASHCHK trap handler powerpc/watchpoints: Disable preemption in thread_change_pc() powerpc/watchpoint: Disable pagefaults when getting user instruction powerpc/watchpoints: Annotate atomic context in more places
Benjamin Poirier (1):
vxlan: Add missing entries to vxlan_get_size()
Bernd Schubert (1):
btrfs: file_remove_privs needs an exclusive lock in direct io write
Bob Peterson (1):
gfs2: fix glock shrinker ref issues
Cai Huoqing (1):
net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev'
Chancel Liu (1):
ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
Charles Kearney (1):
spi: spi-gxp: BUG: Correct spi write return value
Chen Ni (1):
ASoC: hdaudio.c: Add missing check for devm_kstrdup
Chris Morgan (1):
power: supply: rk817: Fix node refcount leak
Christoph Hellwig (1):
MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
Christophe JAILLET (5):
bpf: Fix a erroneous check after snprintf()
gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
power: supply: rt9467: Fix rt9467_run_aicl()
firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
Chuck Lever (1):
NFSD: Fix zero NFSv4 READ results when RQ_SPLICE_OK is not set
Cristian Marussi (1):
firmware: arm_scmi: Harden perf domain info access
Damien Le Moal (7):
scsi: core: ata: Do no try to probe for CDL on old drives
ata: libata-scsi: link ata port and scsi device
scsi: sd: Differentiate system and runtime start/stop management
scsi: sd: Do not issue commands to suspended disks on shutdown
ata: libata-core: Fix ata_port_request_pm() locking
ata: libata-core: Fix port and device removal
ata: libata-core: Do not register PM operations for SAS ports
Dan Carpenter (1):
power: supply: ucs1002: fix error code in ucs1002_get_property()
Dan Williams (1):
cxl/port: Fix cxl_test register enumeration regression
Daniel Borkmann (1):
bpf: Annotate bpf_long_memcpy with data_race
Daniel Scally (1):
i2c: xiic: Correct return value check for xiic_reinit()
Daniel Starke (1):
Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
Dave Wysochanski (1):
netfs: Only call folio_start_fscache() one time for each folio
David Christensen (1):
ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
David Francis (2):
drm/amdkfd: Checkpoint and restore queues on GFX11 drm/amdgpu: Handle null atom context in VBIOS info ioctl
David Thompson (1):
platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
Eduard Zingerman (1):
bpf: Avoid dummy bpf_offload_netdev in __bpf_prog_dev_bound_init
Eric Dumazet (3):
scsi: iscsi_tcp: restrict to TCP sockets
dccp: fix dccp_v4_err()/dccp_v6_err() again
net: bridge: use DEV_STATS_INC()
Filipe Manana (6):
btrfs: improve error message after failure to add delayed dir index item
btrfs: remove BUG() after failure to insert delayed dir index item
btrfs: assert delayed node locked when removing delayed item
btrfs: refresh dir last index during a rewinddir(3) call
btrfs: set last dir index to the current last index when opening dir
btrfs: fix race between reading a directory and adding entries to it
Florian Westphal (3):
netfilter: nf_tables: fix memleak when more than 255 elements expired
netfilter: conntrack: fix extension size table
netfilter: nf_tables: disable toggling dormant table state more than once
Frederic Weisbecker (1):
timers: Tag (hr)timer softirq as hotplug safe
Gerhard Engleder (3):
tsnep: Fix NAPI scheduling
tsnep: Fix ethtool channels
tsnep: Fix NAPI polling with budget 0
Greg Kroah-Hartman (1):
Linux 6.5.6
Greg Ungerer (1):
fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
Guangguan Wang (1):
net/smc: bugfix for smcr v2 server connect success statistic
Haitao Huang (1):
x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
Hamza Mahfooz (1):
drm/amd/display: fix the ability to use lower resolution modes on eDP
Han Xu (1):
spi: nxp-fspi: reset the FLSHxCR1 registers
Hans Verkuil (1):
media: vb2: frame_vector.c: replace WARN_ONCE with a comment
Hans de Goede (6):
ASoC: rt5640: Revert "Fix sleep in atomic context"
ASoC: rt5640: Fix sleep in atomic context
ASoC: rt5640: Do not disable/enable IRQ twice on suspend/resume
ASoC: rt5640: Enable the IRQ on resume after configuring jack-detect
ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
ASoC: rt5640: Only cancel jack-detect work on suspend if active
Harshit Mogalapalli (1):
power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
Hawking Zhang (1):
drm/amdgpu: fallback to old RAS error message for aqua_vanjaram
Heiner Kallweit (1):
i2c: i801: unregister tco_pdev in i801_probe() error path
Helge Deller (7):
parisc: sba: Fix compile warning wrt list of SBA devices
parisc: sba-iommu: Fix sparse warnigs
parisc: ccio-dma: Fix sparse warnings
parisc: iosapic.c: Fix sparse warnings
parisc: drivers: Fix sparse warning
parisc: irq: Make irq_stack_union static to avoid sparse warning
LoongArch: Fix lockdep static memory detection
Huacai Chen (2):
LoongArch: Set all reserved memblocks on Node#0 at initialization
LoongArch: numa: Fix high_memory calculation
Icenowy Zheng (1):
riscv: errata: fix T-Head dcache.cva encoding
Ilya Dryomov (4):
rbd: move rbd_dev_refresh() definition
rbd: decouple header read-in from updating rbd_dev->header
rbd: decouple parent info read-in from updating rbd_dev
rbd: take header_rwsem in rbd_dev_refresh() only when updating
Ilya Leoshkevich (1):
netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry()
Ira Weiny (1):
cxl/mbox: Fix CEL logic for poison and security commands
Ivan Vecera (1):
i40e: Fix VF VLAN offloading when port VLAN is configured
Jan Kara (2):
ext4: move setting of trimmed bit into ext4_try_to_trim_range()
ext4: do not let fstrim block system suspend
Jani Nikula (1):
drm/meson: fix memory leak on ->hpd_notify callback
Janusz Krzysztofik (1):
drm/tests: Fix incorrect argument in drm_test_mm_insert_range
Javed Hasan (1):
scsi: qedf: Add synchronization between I/O completions and abort
Javier Pello (1):
drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top
Jens Axboe (1):
io_uring/fs: remove sqe->rw_flags checking from LINKAT
Jerome Brunet (1):
ASoC: meson: spdifin: start hw on dai probe
Jiadong Zhu (1):
drm/amdgpu: set completion status as preempted for the resubmission
Jian Shen (1):
net: hns3: only enable unicast promisc when mac table full
Jie Wang (3):
net: hns3: add cmdq check for vf periodic service task
net: hns3: fix GRE checksum offload issue
net: hns3: add 5ms delay before clear firmware reset irq source
Jijie Shao (1):
net: hns3: fix fail to delete tc flower rules during reset issue
Jinjie Ruan (8):
net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_keyvalue_test()
net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_actionvalue_test()
net: microchip: sparx5: Fix possible memory leak in vcap_api_encode_rule_test()
net: microchip: sparx5: Fix possible memory leaks in test_vcap_xn_rule_creator()
net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit net/handshake: Fix memory leak in __sock_create() and sock_alloc_file() vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent() mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
Jiri Olsa (2):
bpf: Add override check to kprobe multi link attach
bpf: Fix BTF_ID symbol generation collision
Joel Fernandes (Google) (1):
sched/rt: Fix live lock between select_fallback_rq() and RT push
Johan Hovold (1):
spi: zynqmp-gqspi: fix clock imbalance on probe failure
Johannes Weiner (2):
mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy list
mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement
Johnathan Mantey (1):
ncsi: Propagate carrier gain/loss events to the NCSI controller
Josef Bacik (1):
btrfs: properly report 0 avail for very full file systems
Josh Poimboeuf (5):
x86/srso: Fix srso_show_state() side effect
x86/srso: Set CPUID feature bits independently of bug or mitigation status x86/srso: Don't probe microcode in a guest
x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
objtool: Fix _THIS_IP_ detection for cold functions
José Pekkarinen (1):
drm/virtio: clean out_fence on complete_submit
Jozsef Kadlecsik (1):
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
Julia Lawall (1):
thermal/of: add missing of_node_put()
Julien Panis (1):
bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
Juntong Deng (1):
selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
Kailang Yang (1):
ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
Kajol Jain (1):
powerpc/perf/hv-24x7: Update domain value check
Karol Wachowski (1):
accel/ivpu: Use cached buffers for FW loading
Kees Cook (1):
Compiler Attributes: counted_by: Adjust name and identifier expansion
Kemeng Shi (1):
ext4: replace the traditional ternary conditional operator with with max()/min()
Kiwoong Kim (2):
scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command
Knyazev Arseniy (1):
ALSA: hda/realtek: Splitting the UX3402 into two separate models
Kyle Zeng (1):
ipv4: fix null-deref in ipv4_link_failure
Liam R. Howlett (1):
kernel/sched: Modify initial boot task idle setup
Liang He (1):
i2c: mux: gpio: Add missing fwnode_handle_put()
Linus Walleij (1):
power: supply: ab8500: Set typing and props
Liu Ying (1):
arm64: dts: imx8mm-evk: Fix hdmi@3d node
Lukasz Majewski (1):
net: hsr: Properly parse HSRv1 supervisor frames.
Luke D. Jones (1):
platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode
Marek Vasut (2):
clk: si521xx: Use REGCACHE_FLAT instead of NONE
clk: si521xx: Fix regmap write accessor
Mario Limonciello (1):
ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL
Mark Rutland (1):
locking/atomic: scripts: fix fallback ifdeffery
Matthew Wilcox (Oracle) (1):
i915: Limit the length of an sg list to the requested length
Matthias Schiffer (1):
ata: libata-sata: increase PMP SRST timeout to 10s
Max Filippov (2):
xtensa: add default definition for XCHAL_HAVE_DIV32
xtensa: boot/lib: fix function prototypes
Michael Ellerman (2):
powerpc/stacktrace: Fix arch_stack_walk_reliable() selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
Michal Grzedzicki (2):
scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG commandMichal Hocko (2):
memcg: drop kmem.limit_in_bytes
mm, memcg: reconsider kmem.limit_in_bytes deprecation
Mika Westerberg (2):
spi: intel-pci: Add support for Granite Rapids SPI serial flash
net: thunderbolt: Fix TCPv6 GSO checksum calculation
Mike Rapoport (IBM) (2):
memblock tests: fix warning: "__ALIGN_KERNEL" redefined memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
Mikko Rapeli (1):
arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
Muhammad Husaini Zulkifli (1):
igc: Expose tx-usecs coalesce setting to user
Mukul Joshi (3):
drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3 drm/amdkfd: Update cache info reporting for GFX v9.4.3 drm/amdkfd: Update CU masking for GFX 9.4.3
Nathan Rossi (1):
soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
Nick Desaulniers (1):
bpf: Fix BTF_ID symbol generation collision in tools/
Nicolas Frattaroli (1):
power: supply: rk817: Add missing module alias
Nicolin Chen (1):
iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
Nigel Kirkland (1):
nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
Niklas Cassel (3):
ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
ata: libata-eh: do not thaw the port twice in ata_eh_reset()
ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
Olga Kornievskaia (3):
NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server NFSv4.1: fix pnfs MDS=DS session trunking NFSv4.1: fix zero value filehandle in post open getattr
Pablo Neira Ayuso (6):
netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
netfilter: nf_tables: disallow rule removal from chain binding
netfilter: nf_tables: disallow element removal on anonymous sets
Pan Bian (1):
nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
Paolo Abeni (3):
mptcp: fix bogus receive window shrinkage with multiple subflows
mptcp: move __mptcp_error_report in protocol.c
mptcp: process pending subflow error on close
Paolo Bonzini (2):
KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
Peter Ujfalusi (3):
ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
ALSA: hda: intel-sdw-acpi: Use u8 type for link index
ASoC: SOF: sof-audio: Fix DSP core put imbalance on widget setup failure
Petr Oros (2):
iavf: add iavf_schedule_aq_request() helper
iavf: schedule a request immediately after add/delete vlan
Phil Sutter (1):
netfilter: nf_tables: Fix entries val in rule reset audit log
Pratyush Yadav (1):
nvme-pci: do not set the NUMA node of device if it has none
Pu Wen (1):
x86/srso: Add SRSO mitigation for Hygon processors
Qu Wenruo (1):
btrfs: reset destination buffer when read_extent_buffer() gets invalid range
Quang Le (1):
fs/smb/client: Reset password pointer to NULL
Radoslaw Tyl (1):
iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
Rafael Aquini (1):
mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
Rafael J. Wysocki (1):
thermal: sysfs: Fix trip_point_hyst_store()
Randy Dunlap (3):
xtensa: iss/network: make functions static
xtensa: boot: don't add include-dirs
xtensa: umulsidi3: fix conditional expression
Ranjani Sridharan (1):
ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
Ricardo B. Marliere (1):
selftests: fix dependency checker script
Ricardo Ribalda (1):
media: uvcvideo: Fix OOB read
Richard Fitzgerald (7):
ASoC: cs35l56: Disable low-power hibernation mode
ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width.
ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
ASoC: cs42l42: Avoid stale SoundWire ATTACH after hard reset
firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
ASoC: wm_adsp: Fix missing locking in wm_adsp_[read|write]_ctl()
ASoC: cs35l56: Call pm_runtime_dont_use_autosuspend()
Ricky WU (1):
misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
Rik van Riel (1):
x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
Rob Herring (1):
arm64: dts: imx: Add imx8mm-prt8mm.dtb to build
Rong Tao (1):
memblock tests: Fix compilation errors.
Ross Lagerwall (1):
swiotlb: use the calculated number of areas
Sabrina Dubroca (1):
selftests: tls: swap the TX and RX sockets in some tests
Sakari Ailus (2):
media: v4l: Use correct dependency for camera sensor drivers
media: via: Use correct dependency for camera sensor drivers
Sasha Neftin (1):
net/core: Fix ETH_P_1588 flow dissector
Sean Christopherson (3):
x86/reboot: VMCLEAR active VMCSes before emergency reboot
KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
Sebastian Andrzej Siewior (5):
locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
net: ena: Flush XDP packets on error.
bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
octeontx2-pf: Do xdp_do_flush() after redirects.
net: hsr: Add __packed to struct hsr_sup_tlv.
Sebastian Reichel (1):
power: supply: core: fix use after free in uevent
Senhong Liu (1):
ASoC: rt5640: fix typos
Sergey Senozhatsky (1):
dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
Shengjiu Wang (2):
ASoC: imx-audmix: Fix return error with devm_clk_get()
ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
Shinas Rasheed (1):
octeon_ep: fix tx dma unmap len values in SG
Shubh (1):
ASoC: amd: yc: Add DMI entries to support Victus by HP Gaming Laptop 15-fb0xxx (8A3E)
Sibi Sankar (1):
firmware: arm_scmi: Fixup perf power-cost/microwatt support
Smita Koralahalli (1):
cxl/pci: Fix appropriate checking for _OSC while handling CXL RAS registers
Stanislav Fomichev (1):
bpf: Clarify error expectations from bpf_clone_redirect
Stanislaw Gruszka (1):
accel/ivpu: Do not use wait event interruptible
Stephen Boyd (4):
platform/x86: intel_scu_ipc: Check status after timeout in busy_loop() platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt() platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command() platform/x86: intel_scu_ipc: Fail IPC send if still busy
Steve French (1):
smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
Steven Rostedt (Google) (2):
ring-buffer: Do not attempt to read past "commit"
ring-buffer: Update "shortest_full" in polling
Sudeep Holla (1):
firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND
Swapnil Patel (1):
drm/amd/display: Don't check registers, if using AUX BL control
Takashi Iwai (4):
ALSA: docs: Fix a typo of midi2_ump_probe option for snd-usb-audio
ALSA: seq: Avoid delivery of events for disabled UMP groups
ALSA: seq: ump: Fix -Wformat-truncation warning
ALSA: rawmidi: Fix NULL dereference at proc read
Thomas Zimmermann (1):
fbdev/sh7760fb: Depend on FB=y
Tianjia Zhang (1):
crypto: sm2 - Fix crash caused by uninitialized context
Tiezhu Yang (3):
LoongArch: Define relocation types for ABI v2.10
LoongArch: Add support for 32_PCREL relocation type
LoongArch: Add support for 64_PCREL relocation type
Timo Alho (1):
clk: tegra: fix error return case for recalc_rate
Tobias Schramm (2):
spi: sun6i: reduce DMA RX transfer width to single byte
spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
Toke Høiland-Jørgensen (1):
bpf: Avoid deadlock when using queue and stack maps from NMI
Tom Lendacky (1):
KVM: SVM: Fix TSC_AUX virtualization setup
Tony Lindgren (3):
ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
Trond Myklebust (9):
NFS: Fix error handling for O_DIRECT write scheduling
NFS: Fix O_DIRECT locking issues
NFS: More O_DIRECT accounting fixes for error paths
NFS: Use the correct commit info in nfs_join_page_group()
NFS: More fixes for nfs_direct_write_reschedule_io() NFS/pNFS: Report EINVAL errors from connect() to the server
SUNRPC: Mark the cred for revalidation if the server rejects it Revert "SUNRPC dont update timeout value on connection reset"
NFSv4: Fix a state manager thread deadlock regression
Umesh Nerlige Ramappa (2):
i915/pmu: Move execlist stats initialization to execlist specific setup i915/guc: Get runtime pm in busyness worker only if already active
Valentin Caron (1):
spi: stm32: add a delay before SPI disable
Vincent Whitchurch (1):
x86/asm: Fix build of UML with KASAN
Vinicius Costa Gomes (1):
igc: Fix infinite initialization loop with early XDP redirect
Walt Holman (1):
Add DMI ID for MSI Bravo 15 B7ED
Wenhua Lin (1):
gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
Wenjing Liu (2):
drm/amd/display: Update DPG test pattern programming drm/amd/display: fix a regression in blank pixel data caused by coding mistake
William A. Kennington III (1):
i2c: npcm7xx: Fix callback completion ordering
Xiaoke Wang (1):
i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
Xiubo Li (1):
ceph: drop messages from MDS when unmounting
Yang Shi (1):
mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified
Yann Sionneau (1):
i2c: designware: fix __i2c_dw_disable() in case master is holding SCL low
Yu Liao (1):
ACPI: NFIT: Fix incorrect calculation of idt size
YuBiao Wang (1):
drm/amdkfd: Use gpu_offset for user queue's wptr
Zhang Xiaoxu (1):
cifs: Fix UAF in cifs_demultiplex_thread()
Zheng Yejian (3):
selftests/ftrace: Correctly enable event in instance-event.tc
ring-buffer: Avoid softlockup in ring_buffer_resize()
ring-buffer: Fix bytes info in per_cpu buffer stats
Zhifeng Tang (1):
clk: sprd: Fix thm_parents incorrect configuration
Ziyang Xuan (1):
team: fix null-ptr-deref when team device type is changed
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/cgroup-v1/memory.rst +7 -2
@@ -92,8 +92,13 @@ Brief summary of control files. memory.oom_control set/show oom controls. memory.numa_stat show the number of memory usage per numa node - memory.kmem.limit_in_bytes This knob is deprecated and writing to - it will return -ENOTSUPP. + memory.kmem.limit_in_bytes Deprecated knob to set and read the kernel + memory hard limit. Kernel hard limit is not + supported since 5.16. Writing any value to + do file will not have any effect same as if + nokmem kernel parameter was specified. + Kernel memory is still charged and reported + by memory.kmem.usage_in_bytes. memory.kmem.usage_in_bytes show current kernel memory allocation memory.kmem.failcnt show the number of kernel memory usage hits limits
Documentation/sound/designs/midi-2.0.rst +2 -2
@@ -74,8 +74,8 @@ topology based on those information. When the device is older and doesn't respond to the new UMP inquiries, the driver falls back and builds the topology based on Group Terminal Block (GTB) information from the USB descriptor. Some device might be screwed up by the -unexpected UMP command; in such a case, pass `midi2_probe=0` option to -snd-usb-audio driver for skipping the UMP v1.1 inquiries. +unexpected UMP command; in such a case, pass `midi2_ump_probe=0` +option to snd-usb-audio driver for skipping the UMP v1.1 inquiries. When the MIDI 2.0 device is probed, the kernel creates a rawmidi device for each UMP Endpoint of the device. Its device name is
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 5 -SUBLEVEL = 5 +SUBLEVEL = 6 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
arch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi +2 -2
@@ -614,12 +614,12 @@ &rng_target { /* Configure pwm clock source for timers 8 & 9 */ &timer8 { assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>; - assigned-clock-parents = <&sys_clkin_ck>; + assigned-clock-parents = <&sys_32k_ck>; }; &timer9 { assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>; - assigned-clock-parents = <&sys_clkin_ck>; + assigned-clock-parents = <&sys_32k_ck>; }; /*
arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi +1 -2
@@ -12,8 +12,7 @@ cpu_thermal: cpu-thermal { polling-delay = <1000>; /* milliseconds */ coefficients = <0 20000>; - /* sensor ID */ - thermal-sensors = <&bandgap 0>; + thermal-sensors = <&bandgap>; cpu_trips: trips { cpu_alert0: cpu_alert {
arch/arm/boot/dts/ti/omap/omap4-cpu-thermal.dtsi +4 -1
@@ -12,7 +12,10 @@ cpu_thermal: cpu_thermal { polling-delay-passive = <250>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ - /* sensor ID */ + /* + * See 44xx files for single sensor addressing, omap5 and dra7 need + * also sensor ID for addressing. + */ thermal-sensors = <&bandgap 0>; cpu_trips: trips {
arch/arm/boot/dts/ti/omap/omap443x.dtsi +1 -0
@@ -69,6 +69,7 @@ abb_iva: regulator-abb-iva { }; &cpu_thermal { + thermal-sensors = <&bandgap>; coefficients = <0 20000>; };
arch/arm/boot/dts/ti/omap/omap4460.dtsi +1 -0
@@ -79,6 +79,7 @@ abb_iva: regulator-abb-iva { }; &cpu_thermal { + thermal-sensors = <&bandgap>; coefficients = <348 (-9301)>; };
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -66,6 +66,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-mx8menlo.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-nitrogen-r2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw71xx-0x.dtb
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +20 -12
@@ -26,7 +26,7 @@ hdmi-connector { port { hdmi_connector_in: endpoint { - remote-endpoint = <&adv7533_out>; + remote-endpoint = <&adv7535_out>; }; }; };
@@ -72,6 +72,13 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + reg_vddext_3v3: regulator-vddext-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDEXT_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000 0>;
@@ -317,15 +324,16 @@ &i2c2 { hdmi@3d { compatible = "adi,adv7535"; - reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; - reg-names = "main", "cec", "edid", "packet"; + reg = <0x3d>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; - - adi,input-depth = <8>; - adi,input-colorspace = "rgb"; - adi,input-clock = "1x"; - adi,input-style = <1>; - adi,input-justification = "evenly"; + avdd-supply = <&buck5_reg>; + dvdd-supply = <&buck5_reg>; + pvdd-supply = <&buck5_reg>; + a2vdd-supply = <&buck5_reg>; + v3p3-supply = <®_vddext_3v3>; + v1p2-supply = <&buck5_reg>; ports { #address-cells = <1>;
@@ -334,7 +342,7 @@ ports { port@0 { reg = <0>; - adv7533_in: endpoint { + adv7535_in: endpoint { remote-endpoint = <&dsi_out>; }; };
@@ -342,7 +350,7 @@ adv7533_in: endpoint { port@1 { reg = <1>; - adv7533_out: endpoint { + adv7535_out: endpoint { remote-endpoint = <&hdmi_connector_in>; }; };
@@ -408,7 +416,7 @@ port@1 { reg = <1>; dsi_out: endpoint { - remote-endpoint = <&adv7533_in>; + remote-endpoint = <&adv7535_in>; data-lanes = <1 2 3 4>; }; };
arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +3 -2
@@ -381,9 +381,10 @@ &pcie_phy { &sai3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai3>; - assigned-clocks = <&clk IMX8MP_CLK_SAI3>; + assigned-clocks = <&clk IMX8MP_CLK_SAI3>, + <&clk IMX8MP_AUDIO_PLL2> ; assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>; - assigned-clock-rates = <12288000>; + assigned-clock-rates = <12288000>, <361267200>; fsl,sai-mclk-direction-output; status = "okay"; };
arch/arm64/boot/dts/freescale/imx8mp.dtsi +6 -0
@@ -794,6 +794,12 @@ pgc_audio: power-domain@5 { reg = <IMX8MP_POWER_DOMAIN_AUDIOMIX>; clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>, <&clk IMX8MP_CLK_AUDIO_AXI>; + assigned-clocks = <&clk IMX8MP_CLK_AUDIO_AHB>, + <&clk IMX8MP_CLK_AUDIO_AXI_SRC>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>; + assigned-clock-rates = <400000000>, + <600000000>; }; pgc_gpu2d: power-domain@6 {
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +9 -0
@@ -101,6 +101,14 @@ hdmi_con: endpoint { }; }; + reserved-memory { + /* Cont splash region set up by the bootloader */ + cont_splash_mem: framebuffer@9d400000 { + reg = <0x0 0x9d400000 0x0 0x2400000>; + no-map; + }; + }; + lt9611_1v8: lt9611-vdd18-regulator { compatible = "regulator-fixed"; regulator-name = "LT9611_1V8";
@@ -506,6 +514,7 @@ &i2c14 { }; &mdss { + memory-region = <&cont_splash_mem>; status = "okay"; };
arch/arm64/configs/defconfig +0 -1
@@ -1145,7 +1145,6 @@ CONFIG_COMMON_CLK_S2MPS11=y CONFIG_COMMON_CLK_PWM=y CONFIG_COMMON_CLK_RS9_PCIE=y CONFIG_COMMON_CLK_VC5=y -CONFIG_COMMON_CLK_NPCM8XX=y CONFIG_COMMON_CLK_BD718XX=m CONFIG_CLK_RASPBERRYPI=m CONFIG_CLK_IMX8MM=y
arch/loongarch/include/asm/addrspace.h +6 -6
@@ -19,7 +19,7 @@*/ #ifndef __ASSEMBLY__#ifndef PHYS_OFFSET -#define PHYS_OFFSET _AC(0, UL) +#define PHYS_OFFSET _UL(0)#endif extern unsigned long vm_map_base;#endif /* __ASSEMBLY__ */
@@ -43,7 +43,7 @@ extern unsigned long vm_map_base;* Memory above this physical address will be considered highmem. */ #ifndef HIGHMEM_START -#define HIGHMEM_START (_AC(1, UL) << _AC(DMW_PABITS, UL)) +#define HIGHMEM_START (_UL(1) << _UL(DMW_PABITS))#endif #define TO_PHYS (x) ( ((x) & TO_PHYS_MASK))
@@ -65,16 +65,16 @@ extern unsigned long vm_map_base;#define _ATYPE_#define _ATYPE32_#define _ATYPE64_ -#define _CONST64_ (x) x#else #define _ATYPE_ __PTRDIFF_TYPE__#define _ATYPE32_ int#define _ATYPE64_ __s64 +#endif +#ifdef CONFIG_64BIT -#define _CONST64_ (x) x ## UL +#define _CONST64_ (x) _UL(x)#else -#define _CONST64_ (x) x ## ULL -#endif +#define _CONST64_ (x) _ULL(x)#endif /*
arch/loongarch/include/asm/elf.h +9 -0
@@ -111,6 +111,15 @@#define R_LARCH_TLS_GD_HI20 98#define R_LARCH_32_PCREL 99#define R_LARCH_RELAX 100 +#define R_LARCH_DELETE 101 +#define R_LARCH_ALIGN 102 +#define R_LARCH_PCREL20_S2 103 +#define R_LARCH_CFA 104 +#define R_LARCH_ADD6 105 +#define R_LARCH_SUB6 106 +#define R_LARCH_ADD_ULEB128 107 +#define R_LARCH_SUB_ULEB128 108 +#define R_LARCH_64_PCREL 109#ifndef ELF_ARCH
arch/loongarch/kernel/mem.c +3 -1
@@ -50,7 +50,6 @@ void __init memblock_init(void) }memblock_set_current_limit (PFN_PHYS (max_low_pfn)); -memblock_set_node (0 ,PHYS_ADDR_MAX , &memblock.memory,0 );/* Reserve the first 2MB */ memblock_reserve (PHYS_OFFSET ,0x200000 );
@@ -58,4 +57,7 @@ void __init memblock_init(void)/* Reserve the kernel text/data/bss */ memblock_reserve (__pa_symbol (&_text),__pa_symbol (&_end) -__pa_symbol (&_text)); + +memblock_set_node (0 ,PHYS_ADDR_MAX , &memblock.memory,0 ); +memblock_set_node (0 ,PHYS_ADDR_MAX , &memblock.reserved,0 ); }
arch/loongarch/kernel/module.c +21 -1
@@ -367,6 +367,24 @@ static int apply_r_larch_got_pc(struct module *mod,return apply_r_larch_pcala (mod, location, got, rela_stack, rela_stack_top, type); } +static int apply_r_larch_32_pcrel (struct module *mod,u32 *location,Elf_Addr v, +s64 *rela_stack,size_t *rela_stack_top,unsigned int type) +{ +ptrdiff_t offset = (void *)v - (void *)location; + + *(u32 *)location = offset; +return 0 ; +} + +static int apply_r_larch_64_pcrel (struct module *mod,u32 *location,Elf_Addr v, +s64 *rela_stack,size_t *rela_stack_top,unsigned int type) +{ +ptrdiff_t offset = (void *)v - (void *)location; + + *(u64 *)location = offset; +return 0 ; +} +/* * reloc_handlers_rela() - Apply a particular relocation to a module * @mod: the module to apply the reloc to
@@ -382,7 +400,7 @@ typedef int (*reloc_rela_handler)(struct module *mod, u32 *location, Elf_Addr v,/* The handlers for known reloc types */ static reloc_rela_handler reloc_rela_handlers[] = { - [R_LARCH_NONE ...R_LARCH_RELAX ] = apply_r_larch_error, + [R_LARCH_NONE ...R_LARCH_64_PCREL ] = apply_r_larch_error, [R_LARCH_NONE ] = apply_r_larch_none, [R_LARCH_32 ] = apply_r_larch_32,
@@ -396,6 +414,8 @@ static reloc_rela_handler reloc_rela_handlers[] = { [R_LARCH_SOP_POP_32_S_10_5 ... R_LARCH_SOP_POP_32_U] = apply_r_larch_sop_imm_field, [R_LARCH_ADD32 ... R_LARCH_SUB64] = apply_r_larch_add_sub, [R_LARCH_PCALA_HI20...R_LARCH_PCALA64_HI12] = apply_r_larch_pcala, + [R_LARCH_32_PCREL] = apply_r_larch_32_pcrel, + [R_LARCH_64_PCREL] = apply_r_larch_64_pcrel, }; int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab,
arch/loongarch/kernel/numa.c +1 -1
@@ -468,7 +468,7 @@ void __init paging_init(void)void __init mem_init (void ) { - high_memory = (void *)__va (get_num_physpages () <<PAGE_SHIFT ); + high_memory = (void *)__va (max_low_pfn <<PAGE_SHIFT );memblock_free_all ();setup_zero_pages ();/* This comes from node 0 */ }
arch/loongarch/kernel/vmlinux.lds.S +28 -27
79 lines not on this page · raw message
arch/mips/alchemy/devboards/db1000.c +4 -0
@@ -164,6 +164,7 @@ static struct platform_device db1x00_audio_dev = {/******************************************************************************/ +#ifdef CONFIG_MMC_AU1X static irqreturn_t db1100_mmc_cd (int irq,void *ptr) {mmc_detect_change (ptr,msecs_to_jiffies (500 ));
@@ -369,6 +370,7 @@ static struct platform_device db1100_mmc1_dev = { .num_resources = ARRAY_SIZE(au1100_mmc1_res), .resource = au1100_mmc1_res, }; +#endif /* CONFIG_MMC_AU1X */ /******************************************************************************/
@@ -440,8 +442,10 @@ static struct platform_device *db1x00_devs[] = {static struct platform_device *db1100_devs[] = { &au1100_lcd_device, +#ifdef CONFIG_MMC_AU1X &db1100_mmc0_dev, &db1100_mmc1_dev, +#endif };int __init db1000_dev_setup (void )
arch/mips/alchemy/devboards/db1200.c +6 -0
@@ -326,6 +326,7 @@ static struct platform_device db1200_ide_dev = {/**********************************************************************/ +#ifdef CONFIG_MMC_AU1X /* SD carddetects: they're supposed to be edge-triggered, but ack * doesn't seem to work (CPLD Rev 2). Instead, the screaming one * is disabled and its counterpart enabled. The 200ms timeout is
@@ -584,6 +585,7 @@ static struct platform_device pb1200_mmc1_dev = { .num_resources = ARRAY_SIZE(au1200_mmc1_res), .resource = au1200_mmc1_res, }; +#endif /* CONFIG_MMC_AU1X */ /**********************************************************************/
@@ -751,7 +753,9 @@ static struct platform_device db1200_audiodma_dev = {static struct platform_device *db1200_devs[]__initdata = {NULL ,/* PSC0, selected by S6.8 */ &db1200_ide_dev, +#ifdef CONFIG_MMC_AU1X &db1200_mmc0_dev, +#endif &au1200_lcd_dev, &db1200_eth_dev, &db1200_nand_dev,
@@ -762,7 +766,9 @@ static struct platform_device *db1200_devs[] __initdata = { };static struct platform_device *pb1200_devs[]__initdata = { +#ifdef CONFIG_MMC_AU1X &pb1200_mmc1_dev, +#endif };/* Some peripheral base addresses differ on the PB1200 */
arch/mips/alchemy/devboards/db1300.c +4 -0
@@ -450,6 +450,7 @@ static struct platform_device db1300_ide_dev = {/**********************************************************************/ +#ifdef CONFIG_MMC_AU1X static irqreturn_t db1300_mmc_cd (int irq,void *ptr) {disable_irq_nosync (irq);
@@ -632,6 +633,7 @@ static struct platform_device db1300_sd0_dev = { .resource = au1300_sd0_res, .num_resources = ARRAY_SIZE(au1300_sd0_res), }; +#endif /* CONFIG_MMC_AU1X */ /**********************************************************************/
@@ -767,8 +769,10 @@ static struct platform_device *db1300_dev[] __initdata = { &db1300_5waysw_dev, &db1300_nand_dev, &db1300_ide_dev, +#ifdef CONFIG_MMC_AU1X &db1300_sd0_dev, &db1300_sd1_dev, +#endif &db1300_lcd_dev, &db1300_ac97_dev, &db1300_i2s_dev,
arch/parisc/include/asm/ropes.h +5 -2
@@ -29,7 +29,7 @@struct ioc {void __iomem *ioc_hpa;/* I/O MMU base address */ char *res_map;/* resource map, bit == pdir entry */ -u64 *pdir_base;/* physical base address */ +__le64 *pdir_base;/* physical base address */ unsigned long ibase;/* pdir IOV Space base - shared w/lba_pci */ unsigned long imask;/* pdir IOV Space mask - shared w/lba_pci */ #ifdef ZX1_SUPPORT
@@ -86,6 +86,9 @@ struct sba_device {struct ioc ioc[MAX_IOC ]; }; +/* list of SBA's in system, see drivers/parisc/sba_iommu.c */ +extern struct sba_device *sba_list; +#define ASTRO_RUNWAY_PORT 0x582#define IKE_MERCED_PORT 0x803#define REO_MERCED_PORT 0x804
@@ -110,7 +113,7 @@ static inline int IS_PLUTO(struct parisc_device *d) {#define SBA_PDIR_VALID_BIT 0x8000000000000000ULL -#define SBA_AGPGART_COOKIE 0x0000badbadc0ffeeULL +#define SBA_AGPGART_COOKIE (__force __le64) 0x0000badbadc0ffeeULL#define SBA_FUNC_ID 0x0000/* function id */ #define SBA_FCLASS 0x0008/* function class, bist, header, rev... */
arch/parisc/kernel/drivers.c +1 -1
@@ -925,9 +925,9 @@ static __init void qemu_header(void)pr_info ("#define PARISC_MODEL \"%s\"\n\n" , boot_cpu_data.pdc.sys_model_name); +#define p ((unsigned long *)&boot_cpu_data.pdc.model)pr_info ("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, " "0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n" , - #define p ((unsigned long *)&boot_cpu_data.pdc.model) p[0 ], p[1 ], p[2 ], p[3 ], p[4 ], p[5 ], p[6 ], p[7 ], p[8 ]);#undef p
arch/parisc/kernel/irq.c +1 -1
@@ -365,7 +365,7 @@ union irq_stack_union {volatile unsigned int lock[1 ]; }; -DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = { +static DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = { .slock = {1 ,1 ,1 ,1 }, };#endif
arch/powerpc/kernel/hw_breakpoint.c +15 -1
@@ -505,11 +505,13 @@ void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs)struct arch_hw_breakpoint *info;int i; +preempt_disable (); +for (i =0 ; i <nr_wp_slots (); i++) {if (unlikely (tsk->thread.last_hit_ubp[i])) goto reset; } -return ; + goto out; reset:regs_set_return_msr (regs, regs->msr & ~MSR_SE );
@@ -518,6 +520,9 @@ void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs)__set_breakpoint (i, info); tsk->thread.last_hit_ubp[i] =NULL ; } + +out: +preempt_enable (); }static bool is_larx_stcx_instr (int type)
@@ -632,6 +637,11 @@ static void handle_p10dd1_spurious_exception(struct arch_hw_breakpoint **info, } } +/* +* Handle a DABR or DAWR exception. +* +* Called in atomic context. +*/ int hw_breakpoint_handler (struct die_args *args) {bool err = false;
@@ -758,6 +768,8 @@ NOKPROBE_SYMBOL(hw_breakpoint_handler);/* * Handle single-step exceptions following a DABR hit. +* +* Called in atomic context. */ static int single_step_dabr_instruction (struct die_args *args) {
@@ -815,6 +827,8 @@ NOKPROBE_SYMBOL(single_step_dabr_instruction);/* * Handle debug exception notifications. +* +* Called in atomic context. */ int hw_breakpoint_exceptions_notify (struct notifier_block *unused,unsigned long val,void *data)
arch/powerpc/kernel/hw_breakpoint_constraints.c +6 -1
@@ -131,8 +131,13 @@ void wp_get_instr_detail(struct pt_regs *regs, ppc_inst_t *instr, int *type, int *size, unsigned long *ea) { struct instruction_op op; +int err; -if (__get_user_instr (*instr, (void __user *)regs->nip)) +pagefault_disable (); + err =__get_user_instr (*instr, (void __user *)regs->nip); +pagefault_enable (); + +if (err)return ;analyse_instr (&op, regs, *instr);
arch/powerpc/kernel/stacktrace.c +5 -22
@@ -73,29 +73,12 @@ int __no_sanitize_address arch_stack_walk_reliable(stack_trace_consume_fn consumbool firstframe; stack_end = stack_page +THREAD_SIZE ; -if (!is_idle_task (task)) { -/* -* For user tasks, this is the SP value loaded on -* kernel entry, see "PACAKSAVE(r13)" in _switch() and -* system_call_common(). -* -* Likewise for non-swapper kernel threads, -* this also happens to be the top of the stack -* as setup by copy_thread(). -* -* Note that stack backlinks are not properly setup by -* copy_thread() and thus, a forked task() will have -* an unreliable stack trace until it's been -* _switch()'ed to for the first time. -*/ - stack_end -=STACK_USER_INT_FRAME_SIZE ; - }else { -/* -* idle tasks have a custom stack layout, -* c.f. cpu_idle_thread_init(). -*/ + +// See copy_thread() for details. +if (task->flags &PF_KTHREAD ) stack_end -=STACK_FRAME_MIN_SIZE ; - } +else + stack_end -=STACK_USER_INT_FRAME_SIZE ;if (task == current) sp =current_stack_frame ();
arch/powerpc/kernel/traps.c +36 -20
75 lines not on this page · raw message
arch/powerpc/perf/hv-24x7.c +1 -1
@@ -1418,7 +1418,7 @@ static int h_24x7_event_init(struct perf_event *event) } domain =event_get_domain (event); -if (domain >=HV_PERF_DOMAIN_MAX ) { +if (domain ==0 || domain >=HV_PERF_DOMAIN_MAX ) {pr_devel ("invalid domain %d\n" , domain);return -EINVAL ; }
arch/riscv/include/asm/errata_list.h +2 -2
@@ -100,7 +100,7 @@ asm volatile(ALTERNATIVE( \* | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 | * 0000001 01001 rs1 000 00000 0001011 * dcache.cva rs1 (clean, virtual address) -* 0000001 00100 rs1 000 00000 0001011 +* 0000001 00101 rs1 000 00000 0001011 * * dcache.cipa rs1 (clean then invalidate, physical address) * | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 |
@@ -113,7 +113,7 @@ asm volatile(ALTERNATIVE( \* 0000000 11001 00000 000 00000 0001011 */ #define THEAD_inval_A0 ".long 0x0265000b" -#define THEAD_clean_A0 ".long 0x0245000b" +#define THEAD_clean_A0 ".long 0x0255000b"#define THEAD_flush_A0 ".long 0x0275000b"#define THEAD_SYNC_S ".long 0x0190000b"
arch/x86/Kconfig +1 -1
@@ -1955,6 +1955,7 @@ config EFI select UCS2_STRING select EFI_RUNTIME_WRAPPERS select ARCH_USE_MEMREMAP_PROT + select EFI_RUNTIME_MAP if KEXEC_CORE help This enables the kernel to use EFI runtime services that are available (such as the EFI variable services).
@@ -2030,7 +2031,6 @@ config EFI_MAX_FAKE_MEM config EFI_RUNTIME_MAP bool "Export EFI runtime maps to sysfs" if EXPERT depends on EFI - default KEXEC_CORE help Export EFI runtime memory regions to /sys/firmware/efi/runtime-map. That memory map is required by the 2nd kernel to set up EFI virtual
arch/x86/include/asm/kexec.h +0 -2
@@ -205,8 +205,6 @@ int arch_kimage_file_post_load_cleanup(struct kimage *image);#endif #endif -typedef void crash_vmclear_fn (void ); -extern crash_vmclear_fn __rcu *crash_vmclear_loaded_vmcss;extern void kdump_nmi_shootdown_cpus (void );#endif /* __ASSEMBLY__ */
arch/x86/include/asm/kvm_host.h +1 -2
@@ -1400,7 +1400,6 @@ struct kvm_arch {* the thread holds the MMU lock in write mode. */ spinlock_t tdp_mmu_pages_lock; -struct workqueue_struct *tdp_mmu_zap_wq;#endif /* CONFIG_X86_64 */ /*
@@ -1814,7 +1813,7 @@ void kvm_mmu_vendor_module_exit(void);void kvm_mmu_destroy (struct kvm_vcpu *vcpu);int kvm_mmu_create (struct kvm_vcpu *vcpu); -int kvm_mmu_init_vm (struct kvm *kvm); +void kvm_mmu_init_vm (struct kvm *kvm);void kvm_mmu_uninit_vm (struct kvm *kvm);void kvm_mmu_after_set_cpuid (struct kvm_vcpu *vcpu);
arch/x86/include/asm/linkage.h +7 -0
@@ -105,6 +105,13 @@ CFI_POST_PADDING \ SYM_FUNC_END(__cfi_##name) +/* UML needs to be able to override memcpy() and friends for KASAN. */ +#ifdef CONFIG_UML +# define SYM_FUNC_ALIAS_MEMFUNC SYM_FUNC_ALIAS_WEAK +#else +# define SYM_FUNC_ALIAS_MEMFUNC SYM_FUNC_ALIAS +#endif +/* SYM_TYPED_FUNC_START -- use for indirectly called globals, w/ CFI type */ #define SYM_TYPED_FUNC_START (name) \ SYM_TYPED_START(name, SYM_L_GLOBAL, SYM_F_ALIGN) \
arch/x86/include/asm/processor.h +0 -2
@@ -676,12 +676,10 @@ extern u16 get_llc_id(unsigned int cpu);#ifdef CONFIG_CPU_SUP_AMD extern u32 amd_get_nodes_per_socket (void );extern u32 amd_get_highest_perf (void ); -extern bool cpu_has_ibpb_brtype_microcode (void );extern void amd_clear_divider (void );#else static inline u32 amd_get_nodes_per_socket (void ) {return 0 ; }static inline u32 amd_get_highest_perf (void ) {return 0 ; } -static inline bool cpu_has_ibpb_brtype_microcode (void ) {return false; }static inline void amd_clear_divider (void ) { }#endif
arch/x86/include/asm/reboot.h +2 -0
@@ -25,6 +25,8 @@ void __noreturn machine_real_restart(unsigned int type);#define MRR_BIOS 0#define MRR_APM 1 +typedef void crash_vmclear_fn (void ); +extern crash_vmclear_fn __rcu *crash_vmclear_loaded_vmcss;void cpu_emergency_disable_virtualization (void );typedef void (*nmi_shootdown_cb )(int ,struct pt_regs *);
arch/x86/kernel/cpu/amd.c +9 -19
@@ -766,6 +766,15 @@ static void early_init_amd(struct cpuinfo_x86 *c)if (cpu_has (c,X86_FEATURE_TOPOEXT )) smp_num_siblings = ((cpuid_ebx (0x8000001e ) >>8 ) &0xff ) +1 ; + +if (!cpu_has (c,X86_FEATURE_HYPERVISOR ) && !cpu_has (c,X86_FEATURE_IBPB_BRTYPE )) { +if (c->x86 ==0x17 &&boot_cpu_has (X86_FEATURE_AMD_IBPB )) +setup_force_cpu_cap (X86_FEATURE_IBPB_BRTYPE ); +else if (c->x86 >=0x19 && !wrmsrl_safe (MSR_IA32_PRED_CMD ,PRED_CMD_SBPB )) { +setup_force_cpu_cap (X86_FEATURE_IBPB_BRTYPE ); +setup_force_cpu_cap (X86_FEATURE_SBPB ); + } + } }static void init_amd_k8 (struct cpuinfo_x86 *c)
@@ -1301,25 +1310,6 @@ void amd_check_microcode(void)on_each_cpu (zenbleed_check_cpu,NULL ,1 ); } -bool cpu_has_ibpb_brtype_microcode (void ) -{ -switch (boot_cpu_data.x86) { -/* Zen1/2 IBPB flushes branch type predictions too. */ -case 0x17 : -return boot_cpu_has (X86_FEATURE_AMD_IBPB ); -case 0x19 : -/* Poke the MSR bit on Zen3/4 to check its presence. */ -if (!wrmsrl_safe (MSR_IA32_PRED_CMD ,PRED_CMD_SBPB )) { -setup_force_cpu_cap (X86_FEATURE_SBPB ); -return true; - }else { -return false; - } -default : -return false; - } -} -/* * Issue a DIV 0/1 insn to clear any division data from previous DIV * operations.
arch/x86/kernel/cpu/bugs.c +3 -14
@@ -2404,26 +2404,15 @@ early_param("spec_rstack_overflow", srso_parse_cmdline);static void __init srso_select_mitigation (void ) { -bool has_microcode; +bool has_microcode =boot_cpu_has (X86_FEATURE_IBPB_BRTYPE );if (!boot_cpu_has_bug (X86_BUG_SRSO ) ||cpu_mitigations_off ()) goto pred_cmd; -/* -* The first check is for the kernel running as a guest in order -* for guests to verify whether IBPB is a viable mitigation. -*/ - has_microcode =boot_cpu_has (X86_FEATURE_IBPB_BRTYPE ) ||cpu_has_ibpb_brtype_microcode ();if (!has_microcode) {pr_warn ("IBPB-extending microcode not applied!\n" );pr_warn (SRSO_NOTICE ); }else { -/* -* Enable the synthetic (even if in a real CPUID leaf) -* flags for guests. -*/ -setup_force_cpu_cap (X86_FEATURE_IBPB_BRTYPE ); -/* * Zen1/2 with SMT off aren't vulnerable after the right * IBPB microcode has been applied.
@@ -2444,7 +2433,7 @@ static void __init srso_select_mitigation(void)switch (srso_cmd) {case SRSO_CMD_OFF : -return ; + goto pred_cmd;case SRSO_CMD_MICROCODE :if (has_microcode) {
@@ -2717,7 +2706,7 @@ static ssize_t srso_show_state(char *buf)return sysfs_emit (buf,"%s%s\n" , srso_strings[srso_mitigation], - (cpu_has_ibpb_brtype_microcode () ?"" :", no microcode" )); +boot_cpu_has (X86_FEATURE_IBPB_BRTYPE ) ?"" :", no microcode" ); }static ssize_t gds_show_state (char *buf)
arch/x86/kernel/cpu/common.c +1 -1
@@ -1288,7 +1288,7 @@ static const struct x86_cpu_id cpu_vuln_blacklist[] __initconst = {VULNBL_AMD (0x15 ,RETBLEED ),VULNBL_AMD (0x16 ,RETBLEED ),VULNBL_AMD (0x17 ,RETBLEED |SMT_RSB |SRSO ), -VULNBL_HYGON (0x18 ,RETBLEED |SMT_RSB ), +VULNBL_HYGON (0x18 ,RETBLEED |SMT_RSB |SRSO ), VULNBL_AMD(0x19, SRSO), {} };
arch/x86/kernel/cpu/sgx/encl.c +25 -5
@@ -235,6 +235,21 @@ static struct sgx_epc_page *sgx_encl_eldu(struct sgx_encl_page *encl_page,return epc_page; } +/* +* Ensure the SECS page is not swapped out. Must be called with encl->lock +* to protect the enclave states including SECS and ensure the SECS page is +* not swapped out again while being used. +*/ +static struct sgx_epc_page *sgx_encl_load_secs (struct sgx_encl *encl) +{ +struct sgx_epc_page *epc_page = encl->secs.epc_page; + +if (!epc_page) + epc_page =sgx_encl_eldu (&encl->secs,NULL ); + +return epc_page; +} +static struct sgx_encl_page *__sgx_encl_load_page (struct sgx_encl *encl,struct sgx_encl_page *entry) {
@@ -248,11 +263,9 @@ static struct sgx_encl_page *__sgx_encl_load_page(struct sgx_encl *encl,return entry; } -if (!(encl->secs.epc_page)) { - epc_page =sgx_encl_eldu (&encl->secs,NULL ); -if (IS_ERR (epc_page)) -return ERR_CAST (epc_page); - } + epc_page =sgx_encl_load_secs (encl); +if (IS_ERR (epc_page)) +return ERR_CAST (epc_page); epc_page =sgx_encl_eldu (entry, encl->secs.epc_page);if (IS_ERR (epc_page))
@@ -339,6 +352,13 @@ static vm_fault_t sgx_encl_eaug_page(struct vm_area_struct *vma,mutex_lock (&encl->lock); + epc_page =sgx_encl_load_secs (encl); +if (IS_ERR (epc_page)) { +if (PTR_ERR (epc_page) == -EBUSY ) + vmret =VM_FAULT_NOPAGE ; + goto err_out_unlock; + } + epc_page =sgx_alloc_epc_page (encl_page, false);if (IS_ERR (epc_page)) {if (PTR_ERR (epc_page) == -EBUSY )
arch/x86/kernel/crash.c +0 -31
@@ -48,38 +48,12 @@ struct crash_memmap_data {unsigned int type; }; -/* -* This is used to VMCLEAR all VMCSs loaded on the -* processor. And when loading kvm_intel module, the -* callback function pointer will be assigned. -* -* protected by rcu. -*/ -crash_vmclear_fn __rcu *crash_vmclear_loaded_vmcss =NULL ; -EXPORT_SYMBOL_GPL (crash_vmclear_loaded_vmcss); - -static inline void cpu_crash_vmclear_loaded_vmcss (void ) -{ -crash_vmclear_fn *do_vmclear_operation =NULL ; - -rcu_read_lock (); - do_vmclear_operation =rcu_dereference (crash_vmclear_loaded_vmcss); -if (do_vmclear_operation) -do_vmclear_operation (); -rcu_read_unlock (); -} -#if defined(CONFIG_SMP ) && defined(CONFIG_X86_LOCAL_APIC )static void kdump_nmi_callback (int cpu,struct pt_regs *regs) {crash_save_cpu (regs, cpu); -/* -* VMCLEAR VMCSs loaded on all cpus if needed. -*/ -cpu_crash_vmclear_loaded_vmcss (); -/* * Disable Intel PT to stop its logging */
@@ -133,11 +107,6 @@ void native_machine_crash_shutdown(struct pt_regs *regs)crash_smp_send_stop (); -/* -* VMCLEAR VMCSs loaded on this cpu if needed. -*/ -cpu_crash_vmclear_loaded_vmcss (); -cpu_emergency_disable_virtualization ();/*
arch/x86/kernel/reboot.c +22 -0
@@ -787,6 +787,26 @@ void machine_crash_shutdown(struct pt_regs *regs) }#endif +/* +* This is used to VMCLEAR all VMCSs loaded on the +* processor. And when loading kvm_intel module, the +* callback function pointer will be assigned. +* +* protected by rcu. +*/ +crash_vmclear_fn __rcu *crash_vmclear_loaded_vmcss; +EXPORT_SYMBOL_GPL (crash_vmclear_loaded_vmcss); + +static inline void cpu_crash_vmclear_loaded_vmcss (void ) +{ +crash_vmclear_fn *do_vmclear_operation =NULL ; + +rcu_read_lock (); + do_vmclear_operation =rcu_dereference (crash_vmclear_loaded_vmcss); +if (do_vmclear_operation) +do_vmclear_operation (); +rcu_read_unlock (); +}/* This is the CPU performing the emergency shutdown work. */ int crashing_cpu =-1 ;
@@ -798,6 +818,8 @@ int crashing_cpu = -1;*/ void cpu_emergency_disable_virtualization (void ) { +cpu_crash_vmclear_loaded_vmcss (); +cpu_emergency_vmxoff ();cpu_emergency_svm_disable (); }
arch/x86/kernel/setup.c +2 -6
@@ -359,15 +359,11 @@ static void __init add_early_ima_buffer(u64 phys_addr)#if defined(CONFIG_HAVE_IMA_KEXEC ) && !defined(CONFIG_OF_FLATTREE )int __init ima_free_kexec_buffer (void ) { -int rc; -if (!ima_kexec_buffer_size)return -ENOENT ; - rc =memblock_phys_free (ima_kexec_buffer_phys, - ima_kexec_buffer_size); -if (rc) -return rc; +memblock_free_late (ima_kexec_buffer_phys, + ima_kexec_buffer_size); ima_kexec_buffer_phys =0 ; ima_kexec_buffer_size =0 ;
arch/x86/kvm/mmu/mmu.c +5 -15
@@ -6206,21 +6206,17 @@ static void kvm_mmu_invalidate_zap_pages_in_memslot(struct kvm *kvm,kvm_mmu_zap_all_fast (kvm); } -int kvm_mmu_init_vm (struct kvm *kvm) +void kvm_mmu_init_vm (struct kvm *kvm) {struct kvm_page_track_notifier_node *node = &kvm->arch.mmu_sp_tracker; -int r;INIT_LIST_HEAD (&kvm->arch.active_mmu_pages);INIT_LIST_HEAD (&kvm->arch.zapped_obsolete_pages);INIT_LIST_HEAD (&kvm->arch.possible_nx_huge_pages);spin_lock_init (&kvm->arch.mmu_unsync_pages_lock); -if (tdp_mmu_enabled) { - r =kvm_mmu_init_tdp_mmu (kvm); -if (r <0 ) -return r; - } +if (tdp_mmu_enabled) +kvm_mmu_init_tdp_mmu (kvm); node->track_write = kvm_mmu_pte_write; node->track_flush_slot = kvm_mmu_invalidate_zap_pages_in_memslot;
@@ -6233,8 +6229,6 @@ int kvm_mmu_init_vm(struct kvm *kvm) kvm->arch.split_desc_cache.kmem_cache = pte_list_desc_cache; kvm->arch.split_desc_cache.gfp_zero = __GFP_ZERO; - -return 0 ; }static void mmu_free_vm_memory_caches (struct kvm *kvm)
@@ -6294,7 +6288,6 @@ static bool kvm_rmap_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_evoid kvm_zap_gfn_range (struct kvm *kvm,gfn_t gfn_start,gfn_t gfn_end) {bool flush; -int i;if (WARN_ON_ONCE (gfn_end <= gfn_start))return ;
@@ -6305,11 +6298,8 @@ void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end) flush =kvm_rmap_zap_gfn_range (kvm, gfn_start, gfn_end); -if (tdp_mmu_enabled) { -for (i =0 ; i <KVM_ADDRESS_SPACE_NUM ; i++) - flush =kvm_tdp_mmu_zap_leafs (kvm, i, gfn_start, - gfn_end, true, flush); - } +if (tdp_mmu_enabled) + flush =kvm_tdp_mmu_zap_leafs (kvm, gfn_start, gfn_end, flush);if (flush)kvm_flush_remote_tlbs_range (kvm, gfn_start, gfn_end - gfn_start);
arch/x86/kvm/mmu/mmu_internal.h +7 -8
@@ -56,7 +56,12 @@ struct kvm_mmu_page {bool tdp_mmu_page;bool unsync; -u8 mmu_valid_gen; +union { +u8 mmu_valid_gen; + +/* Only accessed under slots_lock. */ +bool tdp_mmu_scheduled_root_to_zap; + };/* * The shadow page can't be replaced by an equivalent huge page
@@ -98,13 +103,7 @@ struct kvm_mmu_page {struct kvm_rmap_head parent_ptes;/* rmap pointers to parent sptes */ tdp_ptep_t ptep; }; -union { - DECLARE_BITMAP(unsync_child_bitmap, 512); -struct { -struct work_struct tdp_mmu_async_work; -void *tdp_mmu_async_data; - }; - }; +DECLARE_BITMAP (unsync_child_bitmap,512 );/* * Tracks shadow pages that, if zapped, would allow KVM to create an NX
arch/x86/kvm/mmu/tdp_mmu.c +67 -85
241 lines not on this page · raw message
arch/x86/kvm/mmu/tdp_mmu.h +2 -3
@@ -7,7 +7,7 @@#include "spte.h" -int kvm_mmu_init_tdp_mmu (struct kvm *kvm); +void kvm_mmu_init_tdp_mmu (struct kvm *kvm);void kvm_mmu_uninit_tdp_mmu (struct kvm *kvm);hpa_t kvm_tdp_mmu_get_vcpu_root_hpa (struct kvm_vcpu *vcpu);
@@ -20,8 +20,7 @@ __must_check static inline bool kvm_tdp_mmu_get_root(struct kvm_mmu_page *root)void kvm_tdp_mmu_put_root (struct kvm *kvm,struct kvm_mmu_page *root,bool shared); -bool kvm_tdp_mmu_zap_leafs (struct kvm *kvm,int as_id,gfn_t start, -gfn_t end,bool can_yield,bool flush); +bool kvm_tdp_mmu_zap_leafs (struct kvm *kvm,gfn_t start,gfn_t end,bool flush);bool kvm_tdp_mmu_zap_sp (struct kvm *kvm,struct kvm_mmu_page *sp);void kvm_tdp_mmu_zap_all (struct kvm *kvm);void kvm_tdp_mmu_invalidate_all_roots (struct kvm *kvm);
arch/x86/kvm/svm/sev.c +26 -8
@@ -2945,6 +2945,32 @@ int sev_es_string_io(struct vcpu_svm *svm, int size, unsigned int port, int in) count, in); } +static void sev_es_vcpu_after_set_cpuid (struct vcpu_svm *svm) +{ +struct kvm_vcpu *vcpu = &svm->vcpu; + +if (boot_cpu_has (X86_FEATURE_V_TSC_AUX )) { +bool v_tsc_aux =guest_cpuid_has (vcpu,X86_FEATURE_RDTSCP ) || +guest_cpuid_has (vcpu,X86_FEATURE_RDPID ); + +set_msr_interception (vcpu, svm->msrpm,MSR_TSC_AUX , v_tsc_aux, v_tsc_aux); + } +} + +void sev_vcpu_after_set_cpuid (struct vcpu_svm *svm) +{ +struct kvm_vcpu *vcpu = &svm->vcpu; +struct kvm_cpuid_entry2 *best; + +/* For sev guests, the memory encryption bit is not reserved in CR3. */ + best =kvm_find_cpuid_entry (vcpu,0x8000001F ); +if (best) + vcpu->arch.reserved_gpa_bits &= ~(1UL << (best->ebx &0x3f )); + +if (sev_es_guest (svm->vcpu.kvm)) +sev_es_vcpu_after_set_cpuid (svm); +} +static void sev_es_init_vmcb (struct vcpu_svm *svm) {struct kvm_vcpu *vcpu = &svm->vcpu;
@@ -2991,14 +3017,6 @@ static void sev_es_init_vmcb(struct vcpu_svm *svm)set_msr_interception (vcpu, svm->msrpm,MSR_IA32_LASTBRANCHTOIP ,1 ,1 );set_msr_interception (vcpu, svm->msrpm,MSR_IA32_LASTINTFROMIP ,1 ,1 );set_msr_interception (vcpu, svm->msrpm,MSR_IA32_LASTINTTOIP ,1 ,1 ); - -if (boot_cpu_has (X86_FEATURE_V_TSC_AUX ) && - (guest_cpuid_has (&svm->vcpu,X86_FEATURE_RDTSCP ) || -guest_cpuid_has (&svm->vcpu,X86_FEATURE_RDPID ))) { -set_msr_interception (vcpu, svm->msrpm,MSR_TSC_AUX ,1 ,1 ); -if (guest_cpuid_has (&svm->vcpu,X86_FEATURE_RDTSCP )) -svm_clr_intercept (svm,INTERCEPT_RDTSCP ); - } }void sev_init_vmcb (struct vcpu_svm *svm)
arch/x86/kvm/svm/svm.c +2 -7
@@ -4217,7 +4217,6 @@ static bool svm_has_emulated_msr(struct kvm *kvm, u32 index)static void svm_vcpu_after_set_cpuid (struct kvm_vcpu *vcpu) {struct vcpu_svm *svm =to_svm (vcpu); -struct kvm_cpuid_entry2 *best; vcpu->arch.xsaves_enabled =guest_cpuid_has (vcpu,X86_FEATURE_XSAVE ) && boot_cpu_has(X86_FEATURE_XSAVE) &&
@@ -4252,12 +4251,8 @@ static void svm_vcpu_after_set_cpuid(struct kvm_vcpu *vcpu)set_msr_interception (vcpu, svm->msrpm,MSR_IA32_FLUSH_CMD ,0 , !!guest_cpuid_has (vcpu,X86_FEATURE_FLUSH_L1D )); -/* For sev guests, the memory encryption bit is not reserved in CR3. */ -if (sev_guest (vcpu->kvm)) { - best =kvm_find_cpuid_entry (vcpu,0x8000001F ); -if (best) - vcpu->arch.reserved_gpa_bits &= ~(1UL << (best->ebx &0x3f )); - } +if (sev_guest (vcpu->kvm)) +sev_vcpu_after_set_cpuid (svm);init_vmcb_after_set_cpuid (vcpu); }
arch/x86/kvm/svm/svm.h +1 -0
@@ -733,6 +733,7 @@ void __init sev_hardware_setup(void);void sev_hardware_unsetup (void );int sev_cpu_init (struct svm_cpu_data *sd);void sev_init_vmcb (struct vcpu_svm *svm); +void sev_vcpu_after_set_cpuid (struct vcpu_svm *svm);void sev_free_vcpu (struct kvm_vcpu *vcpu);int sev_handle_vmgexit (struct kvm_vcpu *vcpu);int sev_es_string_io (struct vcpu_svm *svm,int size,unsigned int port,int in);
arch/x86/kvm/vmx/vmx.c +3 -7
@@ -41,7 +41,7 @@#include <asm/idtentry.h> #include <asm/io.h> #include <asm/irq_remapping.h> -#include <asm/kexec.h> +#include <asm/reboot.h> #include <asm/perf_event.h> #include <asm/mmu_context.h> #include <asm/mshyperv.h>
@@ -754,7 +754,6 @@ static int vmx_set_guest_uret_msr(struct vcpu_vmx *vmx,return ret; } -#ifdef CONFIG_KEXEC_CORE static void crash_vmclear_local_loaded_vmcss (void ) {int cpu =raw_smp_processor_id ();
@@ -764,7 +763,6 @@ static void crash_vmclear_local_loaded_vmcss(void) loaded_vmcss_on_cpu_link) vmcs_clear(v->vmcs); } -#endif /* CONFIG_KEXEC_CORE */ static void __loaded_vmcs_clear (void *arg) {
@@ -8623,10 +8621,9 @@ static void __vmx_exit(void) { allow_smaller_maxphyaddr = false; -#ifdef CONFIG_KEXEC_CORE RCU_INIT_POINTER (crash_vmclear_loaded_vmcss,NULL );synchronize_rcu (); -#endif +vmx_cleanup_l1d_flush (); }
@@ -8675,10 +8672,9 @@ static int __init vmx_init(void)pi_init_cpu (cpu); } -#ifdef CONFIG_KEXEC_CORE rcu_assign_pointer (crash_vmclear_loaded_vmcss, crash_vmclear_local_loaded_vmcss); -#endif +vmx_check_vmcs12_offsets ();/*
arch/x86/kvm/x86.c +1 -4
@@ -12302,9 +12302,7 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)if (ret) goto out; - ret =kvm_mmu_init_vm (kvm); -if (ret) - goto out_page_track; +kvm_mmu_init_vm (kvm); ret =static_call (kvm_x86_vm_init)(kvm);if (ret)
@@ -12349,7 +12347,6 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type) out_uninit_mmu:kvm_mmu_uninit_vm (kvm); -out_page_track:kvm_page_track_cleanup (kvm); out:return ret;
arch/x86/lib/memcpy_64.S +1 -1
@@ -40,7 +40,7 @@ SYM_TYPED_FUNC_START(__memcpy) SYM_FUNC_END(__memcpy) EXPORT_SYMBOL(__memcpy) -SYM_FUNC_ALIAS(memcpy, __memcpy) +SYM_FUNC_ALIAS_MEMFUNC(memcpy, __memcpy) EXPORT_SYMBOL(memcpy) SYM_FUNC_START_LOCAL(memcpy_orig)
arch/x86/lib/memmove_64.S +1 -1
@@ -212,5 +212,5 @@ SYM_FUNC_START(__memmove) SYM_FUNC_END(__memmove) EXPORT_SYMBOL(__memmove) -SYM_FUNC_ALIAS(memmove, __memmove) +SYM_FUNC_ALIAS_MEMFUNC(memmove, __memmove) EXPORT_SYMBOL(memmove)
arch/x86/lib/memset_64.S +1 -1
@@ -40,7 +40,7 @@ SYM_FUNC_START(__memset) SYM_FUNC_END(__memset) EXPORT_SYMBOL(__memset) -SYM_FUNC_ALIAS(memset, __memset) +SYM_FUNC_ALIAS_MEMFUNC(memset, __memset) EXPORT_SYMBOL(memset) SYM_FUNC_START_LOCAL(memset_orig)
arch/xtensa/boot/Makefile +1 -2
@@ -9,8 +9,7 @@ # KBUILD_CFLAGS used when building rest of boot (takes effect recursively) -KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include -HOSTFLAGS += -Iarch/$(ARCH)/boot/include +KBUILD_CFLAGS += -fno-builtin subdir-y := lib targets += vmlinux.bin vmlinux.bin.gz
arch/xtensa/boot/lib/zmem.c +3 -2
@@ -4,13 +4,14 @@/* bits taken from ppc */ extern void *avail_ram, *end_avail; +void gunzip (void *dst,int dstlen,unsigned char *src,int *lenp); -void exit (void ) +static void exit (void ) {for (;;); } -void *zalloc (unsigned size) +static void *zalloc (unsigned int size) {void *p = avail_ram;
arch/xtensa/include/asm/core.h +4 -0
@@ -6,6 +6,10 @@#include <variant/core.h> +#ifndef XCHAL_HAVE_DIV32 +#define XCHAL_HAVE_DIV32 0 +#endif +#ifndef XCHAL_HAVE_EXCLUSIVE #define XCHAL_HAVE_EXCLUSIVE 0#endif
arch/xtensa/lib/umulsidi3.S +3 -1
@@ -3,7 +3,9 @@ #include <asm/asmmacro.h> #include <asm/core.h> -#if !XCHAL_HAVE_MUL16 && !XCHAL_HAVE_MUL32 && !XCHAL_HAVE_MAC16 +#if XCHAL_HAVE_MUL16 || XCHAL_HAVE_MUL32 || XCHAL_HAVE_MAC16 +#define XCHAL_NO_MUL 0 +#else #define XCHAL_NO_MUL 1 #endif
arch/xtensa/platforms/iss/network.c +2 -2
@@ -201,7 +201,7 @@ static int tuntap_write(struct iss_net_private *lp, struct sk_buff **skb)return simc_write (lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); } -unsigned short tuntap_protocol (struct sk_buff *skb) +static unsigned short tuntap_protocol (struct sk_buff *skb) {return eth_type_trans (skb, skb->dev); }
@@ -441,7 +441,7 @@ static int iss_net_change_mtu(struct net_device *dev, int new_mtu)return -EINVAL ; } -void iss_net_user_timer_expire (struct timer_list *unused) +static void iss_net_user_timer_expire (struct timer_list *unused) { }
crypto/sm2.c +5 -1
@@ -278,10 +278,14 @@ int sm2_compute_z_digest(struct shash_desc *desc,if (!ec)return -ENOMEM ; - err =__sm2_set_pub_key (ec, key, keylen); + err =sm2_ec_ctx_init (ec);if (err) goto out_free_ec; + err =__sm2_set_pub_key (ec, key, keylen); +if (err) + goto out_deinit_ec; + bits_len =SM2_DEFAULT_USERID_LEN *8 ; entl[0 ] = bits_len >>8 ; entl[1 ] = bits_len &0xff ;
drivers/accel/ivpu/ivpu_fw.c +5 -3
@@ -195,7 +195,8 @@ static int ivpu_fw_mem_init(struct ivpu_device *vdev)if (ret)return ret; - fw->mem =ivpu_bo_alloc_internal (vdev, fw->runtime_addr, fw->runtime_size,DRM_IVPU_BO_WC ); + fw->mem =ivpu_bo_alloc_internal (vdev, fw->runtime_addr, fw->runtime_size, +DRM_IVPU_BO_CACHED |DRM_IVPU_BO_NOSNOOP );if (!fw->mem) {ivpu_err (vdev,"Failed to allocate firmware runtime memory\n" );return -ENOMEM ;
@@ -272,7 +273,7 @@ int ivpu_fw_load(struct ivpu_device *vdev)memset (start,0 , size); } -wmb ();/* Flush WC buffers after writing fw->mem */ +clflush_cache_range (fw->mem->kvaddr, fw->mem->base.size);return 0 ; }
@@ -374,6 +375,7 @@ void ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_paramsif (!ivpu_fw_is_cold_boot (vdev)) { boot_params->save_restore_ret_address =0 ; vdev->pm->is_warmboot = true; +clflush_cache_range (vdev->fw->mem->kvaddr,SZ_4K );return ; }
@@ -428,7 +430,7 @@ void ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_params boot_params->punit_telemetry_sram_size =ivpu_hw_reg_telemetry_size_get (vdev); boot_params->vpu_telemetry_enable =ivpu_hw_reg_telemetry_enable_get (vdev); -wmb ();/* Flush WC buffers after writing bootparams */ +clflush_cache_range (vdev->fw->mem->kvaddr,SZ_4K );ivpu_fw_boot_params_print (vdev, boot_params); }
drivers/accel/ivpu/ivpu_gem.h +5 -0
@@ -8,6 +8,8 @@#include <drm/drm_gem.h> #include <drm/drm_mm.h> +#define DRM_IVPU_BO_NOSNOOP 0x10000000 +struct dma_buf ;struct ivpu_bo_ops ;struct ivpu_file_priv ;
@@ -83,6 +85,9 @@ static inline u32 ivpu_bo_cache_mode(struct ivpu_bo *bo)static inline bool ivpu_bo_is_snooped (struct ivpu_bo *bo) { +if (bo->flags &DRM_IVPU_BO_NOSNOOP ) +return false; +return ivpu_bo_cache_mode (bo) ==DRM_IVPU_BO_CACHED ; }
drivers/accel/ivpu/ivpu_ipc.c +4 -7
@@ -209,10 +209,10 @@ int ivpu_ipc_receive(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons,struct ivpu_ipc_rx_msg *rx_msg;int wait_ret, ret =0 ; - wait_ret =wait_event_interruptible_timeout (cons->rx_msg_wq, - (IS_KTHREAD () &&kthread_should_stop ()) || - !list_empty (&cons->rx_msg_list), -msecs_to_jiffies (timeout_ms)); + wait_ret =wait_event_timeout (cons->rx_msg_wq, + (IS_KTHREAD () &&kthread_should_stop ()) || + !list_empty (&cons->rx_msg_list), +msecs_to_jiffies (timeout_ms));if (IS_KTHREAD () &&kthread_should_stop ())return -EINTR ;
@@ -220,9 +220,6 @@ int ivpu_ipc_receive(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons,if (wait_ret ==0 )return -ETIMEDOUT ; -if (wait_ret <0 ) -return -ERESTARTSYS ; -spin_lock_irq (&cons->rx_msg_lock); rx_msg = list_first_entry_or_null(&cons->rx_msg_list, struct ivpu_ipc_rx_msg, link);if (!rx_msg) {
drivers/acpi/nfit/core.c +1 -1
@@ -855,7 +855,7 @@ static size_t sizeof_idt(struct acpi_nfit_interleave *idt) {if (idt->header.length <sizeof (*idt))return 0 ; -return sizeof (*idt) +sizeof (u32) * (idt->line_count -1 ); +return sizeof (*idt) +sizeof (u32) * idt->line_count; } static bool add_idt(struct acpi_nfit_desc *acpi_desc,
drivers/ata/libata-core.c +30 -11
75 lines not on this page · raw message
drivers/ata/libata-eh.c +3 -13
@@ -2822,23 +2822,13 @@ int ata_eh_reset(struct ata_link *link, int classify, } } -/* -* Some controllers can't be frozen very well and may set spurious -* error conditions during reset. Clear accumulated error -* information and re-thaw the port if frozen. As reset is the -* final recovery action and we cross check link onlineness against -* device classification later, no hotplug event is lost by this. -*/ +/* clear cached SError */ spin_lock_irqsave (link->ap->lock, flags); -memset (&link->eh_info,0 ,sizeof (link->eh_info)); + link->eh_info.serror =0 ;if (slave) -memset (&slave->eh_info,0 ,sizeof (link->eh_info)); - ap->pflags &= ~ATA_PFLAG_EH_PENDING ; + slave->eh_info.serror =0 ;spin_unlock_irqrestore (link->ap->lock, flags); -if (ata_port_is_frozen (ap)) -ata_eh_thaw_port (ap); -/* * Make sure onlineness and classification result correspond. * Hotplug could have happened during reset and some
drivers/ata/libata-scsi.c +46 -7
92 lines not on this page · raw message
drivers/ata/libata-transport.c +8 -1
@@ -266,6 +266,10 @@ void ata_tport_delete(struct ata_port *ap)put_device (dev); } +static const struct device_type ata_port_sas_type = { + .name =ATA_PORT_TYPE_NAME , +}; +/** ata_tport_add - initialize a transport ATA port structure * * @parent: parent device
@@ -283,7 +287,10 @@ int ata_tport_add(struct device *parent,struct device *dev = &ap->tdev;device_initialize (dev); - dev->type = &ata_port_type; +if (ap->flags &ATA_FLAG_SAS_HOST ) + dev->type = &ata_port_sas_type; +else + dev->type = &ata_port_type; dev->parent = parent;ata_host_get (ap->host);
drivers/ata/libata.h +2 -0
@@ -30,6 +30,8 @@ enum { ATA_DNXFER_QUIET = (1 << 31), }; +#define ATA_PORT_TYPE_NAME "ata_port" +extern atomic_t ata_print_id;extern int atapi_passthru16;extern int libata_fua;
drivers/ata/sata_mv.c +2 -2
@@ -1255,8 +1255,8 @@ static void mv_dump_mem(struct device *dev, void __iomem *start, unsigned bytes)for (b =0 ; b < bytes; ) {for (w =0 , o =0 ; b < bytes && w <4 ; w++) { - o +=snprintf (linebuf + o,sizeof (linebuf) - o, -"%08x " ,readl (start + b)); + o +=scnprintf (linebuf + o,sizeof (linebuf) - o, +"%08x " ,readl (start + b)); b +=sizeof (u32); } dev_dbg(dev, "%s: %p: %s\n",
drivers/block/rbd.c +225 -187
654 lines not on this page · raw message
drivers/bus/ti-sysc.c +22 -9
@@ -38,6 +38,7 @@ enum sysc_soc {SOC_2420 ,SOC_2430 ,SOC_3430 , +SOC_AM35 ,SOC_3630 ,SOC_4430 , SOC_4460,
@@ -1096,6 +1097,11 @@ static int sysc_enable_module(struct device *dev)if (ddata->cfg.quirks & (SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_SWSUP_SIDLE_ACT )) { best_mode =SYSC_IDLE_NO ; + +/* Clear WAKEUP */ +if (regbits->enwkup_shift >=0 && + ddata->cfg.sysc_val &BIT (regbits->enwkup_shift)) + reg &= ~BIT (regbits->enwkup_shift); }else { best_mode =fls (ddata->cfg.sidlemodes) -1 ;if (best_mode >SYSC_IDLE_MASK ) {
@@ -1223,6 +1229,13 @@ static int sysc_disable_module(struct device *dev) } } +if (ddata->cfg.quirks &SYSC_QUIRK_SWSUP_SIDLE_ACT ) { +/* Set WAKEUP */ +if (regbits->enwkup_shift >=0 && + ddata->cfg.sysc_val &BIT (regbits->enwkup_shift)) + reg |=BIT (regbits->enwkup_shift); + } + reg &= ~(SYSC_IDLE_MASK << regbits->sidle_shift); reg |= best_mode << regbits->sidle_shift; if (regbits->autoidle_shift >= 0 &&
@@ -1517,16 +1530,16 @@ struct sysc_revision_quirk {static const struct sysc_revision_quirk sysc_revision_quirks[] = {/* These drivers need to be fixed to not use pm_runtime_irq_safe() */ SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x00000046 ,0xffffffff , -SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK_SWSUP_SIDLE_ACT |SYSC_QUIRK_LEGACY_IDLE ),SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x00000052 ,0xffffffff , -SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK_SWSUP_SIDLE_ACT |SYSC_QUIRK_LEGACY_IDLE ),/* Uarts on omap4 and later */ SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x50411e03 ,0xffff00ff , -SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK_SWSUP_SIDLE_ACT |SYSC_QUIRK_LEGACY_IDLE ),SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x47422e03 ,0xffffffff , -SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK_SWSUP_SIDLE_ACT |SYSC_QUIRK_LEGACY_IDLE ),SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x47424e03 ,0xffffffff , -SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK_SWSUP_SIDLE_ACT |SYSC_QUIRK_LEGACY_IDLE ),/* Quirks that need to be set based on the module address */ SYSC_QUIRK("mcpdm", 0x40132000, 0, 0x10, -ENODEV, 0x50000800, 0xffffffff,
@@ -1861,7 +1874,7 @@ static void sysc_pre_reset_quirk_dss(struct sysc *ddata)dev_warn (ddata->dev,"%s: timed out %08x !+ %08x\n" , __func__, val, irq_mask); -if (sysc_soc->soc ==SOC_3430 ) { +if (sysc_soc->soc ==SOC_3430 || sysc_soc->soc ==SOC_AM35 ) {/* Clear DSS_SDI_CONTROL */ sysc_write (ddata,0x44 ,0 );
@@ -2149,8 +2162,7 @@ static int sysc_reset(struct sysc *ddata) }if (ddata->cfg.srst_udelay) -usleep_range (ddata->cfg.srst_udelay, - ddata->cfg.srst_udelay *2 ); +fsleep (ddata->cfg.srst_udelay);if (ddata->post_reset_quirk) ddata->post_reset_quirk (ddata);
@@ -3024,6 +3036,7 @@ static void ti_sysc_idle(struct work_struct *work)static const struct soc_device_attribute sysc_soc_match[] = {SOC_FLAG ("OMAP242*" ,SOC_2420 ),SOC_FLAG ("OMAP243*" ,SOC_2430 ), +SOC_FLAG ("AM35*" ,SOC_AM35 ),SOC_FLAG ("OMAP3[45]*" ,SOC_3430 ),SOC_FLAG ("OMAP3[67]*" ,SOC_3630 ),SOC_FLAG ("OMAP443*" ,SOC_4430 ),
@@ -3228,7 +3241,7 @@ static int sysc_check_active_timer(struct sysc *ddata)* can be dropped if we stop supporting old beagleboard revisions * A to B4 at some point. */ -if (sysc_soc->soc ==SOC_3430 ) +if (sysc_soc->soc ==SOC_3430 || sysc_soc->soc ==SOC_AM35 ) error = -ENXIO ;else error = -EBUSY ;
drivers/char/agp/parisc-agp.c +0 -2
@@ -394,8 +394,6 @@ find_quicksilver(struct device *dev, void *data)static int __init parisc_agp_init (void ) { -extern struct sba_device *sba_list; -int err =-1 ;struct parisc_device *sba =NULL , *lba =NULL ;struct lba_device *lbadev =NULL ;
drivers/clk/clk-si521xx.c +5 -4
@@ -96,7 +96,7 @@ static int si521xx_regmap_i2c_write(void *context, unsigned int reg, unsigned int val) {struct i2c_client *i2c = context; -const u8 data[3 ] = { reg,1 , val }; +const u8 data[2 ] = { reg, val };const int count =ARRAY_SIZE (data);int ret;
@@ -146,7 +146,7 @@ static int si521xx_regmap_i2c_read(void *context, unsigned int reg,static const struct regmap_config si521xx_regmap_config = { .reg_bits =8 , .val_bits =8 , - .cache_type =REGCACHE_NONE , + .cache_type =REGCACHE_FLAT , .max_register =SI521XX_REG_DA , .rd_table = &si521xx_readable_table, .wr_table = &si521xx_writeable_table,
@@ -281,9 +281,10 @@ static int si521xx_probe(struct i2c_client *client) {const u16 chip_info = (u16 )(uintptr_t )device_get_match_data (&client->dev);const struct clk_parent_data clk_parent_data = { .index =0 }; -struct si521xx *si; +const u8 data[3 ] = {SI521XX_REG_BC ,1 ,1 };unsigned char name[6 ] ="DIFF0" ;struct clk_init_data init = {}; +struct si521xx *si;int i, ret;if (!chip_info)
@@ -308,7 +309,7 @@ static int si521xx_probe(struct i2c_client *client) "Failed to allocate register map\n");/* Always read back 1 Byte via I2C */ - ret =regmap_write (si->regmap,SI521XX_REG_BC ,1 ); + ret =i2c_master_send (client, data,ARRAY_SIZE (data));if (ret <0 )return ret;
drivers/clk/sprd/ums512-clk.c +1 -1
@@ -800,7 +800,7 @@ static SPRD_MUX_CLK_DATA(uart1_clk, "uart1-clk", uart_parents, 0x250, 0, 3, UMS512_MUX_FLAG);static const struct clk_parent_data thm_parents[] = { - { .fw_name ="ext-32m" }, + { .fw_name ="ext-32k" }, { .hw = &clk_250k.hw }, }; static SPRD_MUX_CLK_DATA(thm0_clk, "thm0-clk", thm_parents,
drivers/clk/tegra/clk-bpmp.c +1 -1
@@ -159,7 +159,7 @@ static unsigned long tegra_bpmp_clk_recalc_rate(struct clk_hw *hw, err =tegra_bpmp_clk_transfer (clk->bpmp, &msg);if (err <0 ) -return err; +return 0 ;return response.rate; }
drivers/cxl/core/mbox.c +12 -11
@@ -715,24 +715,25 @@ static void cxl_walk_cel(struct cxl_memdev_state *mds, size_t size, u8 *cel)for (i =0 ; i < cel_entries; i++) {u16 opcode =le16_to_cpu (cel_entry[i].opcode);struct cxl_mem_command *cmd =cxl_mem_find_command (opcode); +int enabled =0 ; -if (!cmd && (!cxl_is_poison_command (opcode) || - !cxl_is_security_command (opcode))) { -dev_dbg (dev, -"Opcode 0x%04x unsupported by driver\n" , opcode); -continue ; - } - -if (cmd) +if (cmd) {set_bit (cmd->info.id, mds->enabled_cmds); + enabled++; + } -if (cxl_is_poison_command (opcode)) +if (cxl_is_poison_command (opcode)) {cxl_set_poison_cmd_enabled (&mds->poison, opcode); + enabled++; + } -if (cxl_is_security_command (opcode)) +if (cxl_is_security_command (opcode)) {cxl_set_security_cmd_enabled (&mds->security, opcode); + enabled++; + } -dev_dbg (dev,"Opcode 0x%04x enabled\n" , opcode); +dev_dbg (dev,"Opcode 0x%04x %s\n" , opcode, + enabled ?"enabled" :"unsupported by driver" ); } }
drivers/cxl/core/port.c +9 -4
@@ -1,5 +1,6 @@// SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2020 Intel Corporation. All rights reserved. */ +#include <linux/platform_device.h> #include <linux/memregion.h> #include <linux/workqueue.h> #include <linux/debugfs.h>
@@ -706,16 +707,20 @@ static int cxl_setup_comp_regs(struct device *dev, struct cxl_register_map *map,return cxl_setup_regs (map); } -static inline int cxl_port_setup_regs (struct cxl_port *port, -resource_size_t component_reg_phys) +static int cxl_port_setup_regs (struct cxl_port *port, +resource_size_t component_reg_phys) { +if (dev_is_platform (port->uport_dev)) +return 0 ;return cxl_setup_comp_regs (&port->dev, &port->comp_map, component_reg_phys); } -static inline int cxl_dport_setup_regs (struct cxl_dport *dport, -resource_size_t component_reg_phys) +static int cxl_dport_setup_regs (struct cxl_dport *dport, +resource_size_t component_reg_phys) { +if (dev_is_platform (dport->dport_dev)) +return 0 ;return cxl_setup_comp_regs (dport->dport_dev, &dport->comp_map, component_reg_phys); }
drivers/cxl/core/region.c +23 -1
@@ -717,13 +717,35 @@ static int match_free_decoder(struct device *dev, void *data)return 0 ; } +static int match_auto_decoder (struct device *dev,void *data) +{ +struct cxl_region_params *p = data; +struct cxl_decoder *cxld; +struct range *r; + +if (!is_switch_decoder (dev)) +return 0 ; + + cxld =to_cxl_decoder (dev); + r = &cxld->hpa_range; + +if (p->res && p->res->start == r->start && p->res->end == r->end) +return 1 ; + +return 0 ; +} +static struct cxl_decoder *cxl_region_find_decoder (struct cxl_port *port,struct cxl_region *cxlr) {struct device *dev;int id =0 ; - dev =device_find_child (&port->dev, &id, match_free_decoder); +if (test_bit (CXL_REGION_F_AUTO , &cxlr->flags)) + dev =device_find_child (&port->dev, &cxlr->params, + match_auto_decoder); +else + dev =device_find_child (&port->dev, &id, match_free_decoder);if (!dev)return NULL ;/*
drivers/cxl/pci.c +3 -3
@@ -541,9 +541,9 @@ static int cxl_pci_ras_unmask(struct pci_dev *pdev)return 0 ; } -/* BIOS has CXL error control */ -if (!host_bridge->native_cxl_error) -return -ENXIO ; +/* BIOS has PCIe AER error control */ +if (!host_bridge->native_aer) +return 0 ; rc =pcie_capability_read_word (pdev,PCI_EXP_DEVCTL , &cap);if (rc)
drivers/firewire/sbp2.c +6 -3
@@ -81,7 +81,8 @@ MODULE_PARM_DESC(exclusive_login, "Exclusive login to sbp2 device "* * - power condition * Set the power condition field in the START STOP UNIT commands sent by -* sd_mod on suspend, resume, and shutdown (if manage_start_stop is on). +* sd_mod on suspend, resume, and shutdown (if manage_system_start_stop or +* manage_runtime_start_stop is on). * Some disks need this to spin down or to resume properly. * * - override internal blacklist
@@ -1517,8 +1518,10 @@ static int sbp2_scsi_slave_configure(struct scsi_device *sdev) sdev->use_10_for_rw =1 ; -if (sbp2_param_exclusive_login) - sdev->manage_start_stop =1 ; +if (sbp2_param_exclusive_login) { + sdev->manage_system_start_stop = true; + sdev->manage_runtime_start_stop = true; + }if (sdev->type ==TYPE_ROM ) sdev->use_10_for_ms =1 ;
drivers/firmware/arm_ffa/driver.c +14 -2
@@ -397,6 +397,19 @@ static u32 ffa_get_num_pages_sg(struct scatterlist *sg)return num_pages; } +static u8 ffa_memory_attributes_get (u32 func_id) +{ +/* +* For the memory lend or donate operation, if the receiver is a PE or +* a proxy endpoint, the owner/sender must not specify the attributes +*/ +if (func_id ==FFA_FN_NATIVE (MEM_LEND ) || + func_id ==FFA_MEM_LEND ) +return 0 ; + +return FFA_MEM_NORMAL |FFA_MEM_WRITE_BACK |FFA_MEM_INNER_SHAREABLE ; +} +static int ffa_setup_and_transmit (u32 func_id,void *buffer,u32 max_fragsize,struct ffa_mem_ops_args *args)
@@ -413,8 +426,7 @@ ffa_setup_and_transmit(u32 func_id, void *buffer, u32 max_fragsize, mem_region->tag = args->tag; mem_region->flags = args->flags; mem_region->sender_id = drv_info->vm_id; - mem_region->attributes =FFA_MEM_NORMAL |FFA_MEM_WRITE_BACK | -FFA_MEM_INNER_SHAREABLE ; + mem_region->attributes =ffa_memory_attributes_get (func_id); ep_mem_access = &mem_region->ep_mem_access[0 ];for (idx =0 ; idx < args->nattrs; idx++, ep_mem_access++) {
drivers/firmware/arm_scmi/perf.c +66 -27
128 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +12 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h +9 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +34 -42
76 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +26 -8
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +42 -1
43 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +29 -17
46 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_topology.c +43 -34
77 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_topology.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +23 -20
43 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c +53 -52
105 lines not on this page · raw message
drivers/gpu/drm/amd/include/kgd_kfd_interface.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +7 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/intel_engine_cs.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +35 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/meson/meson_encoder_hdmi.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/virtio/virtgpu_submit.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-common.c +17 -0
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-core.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c +24 -3
Lines of this file are not shown. View the raw message.
drivers/media/common/videobuf2/frame_vector.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/misc/cardreader/rts5227.c +6 -49
55 lines not on this page · raw message
drivers/misc/cardreader/rts5228.c +17 -40
57 lines not on this page · raw message
drivers/misc/cardreader/rts5249.c +7 -49
56 lines not on this page · raw message
drivers/misc/cardreader/rts5260.c +13 -30
43 lines not on this page · raw message
drivers/misc/cardreader/rts5261.c +13 -39
52 lines not on this page · raw message
drivers/misc/cardreader/rtsx_pcr.c +46 -5
51 lines not on this page · raw message
drivers/net/ethernet/amazon/ena/ena_netdev.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/engleder/tsnep_ethtool.c +2 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/engleder/tsnep_main.c +14 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +9 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/huawei/hinic/hinic_port.c +0 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_ethtool.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +8 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_ethtool.c +19 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_main.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_tx.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h +15 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c +13 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c +54 -5
59 lines not on this page · raw message
drivers/net/ethernet/pensando/ionic/ionic_dev.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_txrx.c +7 -3
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel_scu_ipc.c +40 -26
66 lines not on this page · raw message
drivers/power/supply/power_supply_sysfs.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/scsi/sd.c +82 -19
101 lines not on this page · raw message
fs/btrfs/delayed-inode.c +55 -30
85 lines not on this page · raw message
fs/ceph/super.c +70 -5
75 lines not on this page · raw message
fs/ext4/mballoc.c +35 -25
60 lines not on this page · raw message
fs/nfs/direct.c +93 -41
134 lines not on this page · raw message
fs/proc/task_nommu.c +37 -27
64 lines not on this page · raw message
include/linux/atomic/atomic-arch-fallback.h +1 -9
Lines of this file are not shown. View the raw message.
kernel/trace/trace_events_user.c +51 -7
58 lines not on this page · raw message
net/mptcp/protocol.c +41 -0
41 lines not on this page · raw message
net/netfilter/nf_tables_api.c +59 -20
79 lines not on this page · raw message
sound/soc/meson/axg-spdifin.c +17 -32
49 lines not on this page · raw message
tools/testing/memblock/tests/basic_api.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_verifier.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/instances/instance-event.tc +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kselftest_deps.sh +65 -12
77 lines not on this page · raw message
tools/testing/selftests/mm/charge_reserved_hugetlb.sh +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/mm/hugetlb_reparenting_test.sh +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/Makefile +3 -4
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/pmu/Makefile +6 -5
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.