Linux 5.15.165
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.15.165 kernel.
All users of the 5.15 kernel series must upgrade.
The updated 5.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.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/kernel-parameters.txt | 10 Documentation/arm64/cpu-feature-registers.rst | 38 +- Documentation/arm64/silicon-errata.rst | 36 + Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 5 Makefile | 2 arch/arm/boot/dts/imx6q-kontron-samx6i.dtsi | 23 - arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi | 26 + arch/arm/mach-pxa/include/mach/spitz.h | 185 --------- arch/arm/mach-pxa/spitz.c | 39 +- arch/arm/mach-pxa/spitz.h | 185 +++++++++ arch/arm/mach-pxa/spitz_pm.c | 2 arch/arm64/Kconfig | 38 ++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 4 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 4 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 25 - arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 arch/arm64/boot/dts/qcom/msm8998.dtsi | 36 - arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 - arch/arm64/boot/dts/qcom/sm8350.dtsi | 3 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 arch/arm64/include/asm/barrier.h | 4 arch/arm64/include/asm/cputype.h | 16 arch/arm64/kernel/cpu_errata.c | 31 + arch/arm64/kernel/cpufeature.c | 90 +++- arch/arm64/kernel/proton-pack.c | 12 arch/arm64/tools/cpucaps | 1 arch/m68k/amiga/config.c | 9 arch/m68k/atari/ataints.c | 6 arch/m68k/include/asm/cmpxchg.h | 2 arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 98 +++-- arch/mips/include/asm/mach-loongson64/boot_param.h | 2 arch/mips/include/asm/mips-cm.h | 4 arch/mips/kernel/smp-cps.c | 5 arch/mips/loongson64/env.c | 8 arch/mips/loongson64/reset.c | 38 -- arch/mips/loongson64/smp.c | 23 + arch/mips/sgi-ip30/ip30-console.c | 1 arch/powerpc/configs/85xx-hw.config | 2 arch/powerpc/include/asm/interrupt.h | 14 arch/powerpc/include/asm/percpu.h | 10 arch/powerpc/kernel/setup_64.c | 2 arch/powerpc/kvm/powerpc.c | 4 arch/powerpc/xmon/ppc-dis.c | 33 - arch/riscv/mm/fault.c | 17 arch/sparc/include/asm/oplib_64.h | 1 arch/sparc/prom/init_64.c | 3 arch/sparc/prom/p1275.c | 2 arch/um/kernel/time.c | 4 arch/um/os-Linux/signal.c | 118 +++++- arch/x86/events/intel/pt.c | 4 arch/x86/events/intel/pt.h | 4 arch/x86/events/intel/uncore_snbep.c | 6 arch/x86/kernel/cpu/mtrr/mtrr.c | 2 arch/x86/kernel/devicetree.c | 2 arch/x86/kvm/vmx/vmx.c | 11 arch/x86/kvm/vmx/vmx.h | 1 arch/x86/mm/pti.c | 8 arch/x86/pci/intel_mid_pci.c | 4 arch/x86/pci/xen.c | 4 arch/x86/platform/intel/iosf_mbi.c | 4 arch/x86/xen/p2m.c | 4 block/bio-integrity.c | 21 - drivers/acpi/battery.c | 16 drivers/acpi/sbs.c | 23 - drivers/android/binder.c | 4 drivers/ata/libata-scsi.c | 10 drivers/base/core.c | 13 drivers/base/devres.c | 11 drivers/base/module.c | 4 drivers/block/rbd.c | 35 - drivers/bluetooth/btusb.c | 4 drivers/char/hw_random/amd-rng.c | 4 drivers/char/tpm/eventlog/common.c | 2 drivers/clk/davinci/da8xx-cfgchip.c | 4 drivers/clk/qcom/clk-branch.h | 26 + drivers/clk/qcom/gcc-sc7280.c | 3 drivers/clocksource/sh_cmt.c | 13 drivers/dma/ti/k3-udma.c | 4 drivers/edac/Makefile | 10 drivers/edac/skx_common.c | 21 + drivers/edac/skx_common.h | 4 drivers/firmware/turris-mox-rwtm.c | 23 - drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 7 drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 12 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 9 drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 3 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 57 +-- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c | 14 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 7 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 4 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 5 drivers/gpu/drm/drm_client_modeset.c | 5 drivers/gpu/drm/drm_dp_mst_topology.c | 4 drivers/gpu/drm/etnaviv/etnaviv_gem.c | 6 drivers/gpu/drm/gma500/cdv_intel_lvds.c | 3 drivers/gpu/drm/gma500/psb_intel_lvds.c | 3 drivers/gpu/drm/i915/display/intel_dp.c | 2 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 53 ++ drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 6 drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 17 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 6 drivers/gpu/drm/mediatek/mtk_drm_plane.c | 4 drivers/gpu/drm/meson/meson_drv.c | 37 - drivers/gpu/drm/mgag200/mgag200_i2c.c | 2 drivers/gpu/drm/nouveau/nouveau_prime.c | 3 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 drivers/gpu/drm/panfrost/panfrost_drv.c | 1 drivers/gpu/drm/qxl/qxl_display.c | 3 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 17 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 2 drivers/hid/wacom_wac.c | 3 drivers/hwmon/adt7475.c | 2 drivers/hwmon/max6697.c | 5 drivers/hwtracing/coresight/coresight-platform.c | 4 drivers/i2c/i2c-smbus.c | 64 +++ drivers/infiniband/core/cache.c | 14 drivers/infiniband/core/device.c | 6 drivers/infiniband/core/iwcm.c | 11 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 8 drivers/infiniband/hw/bnxt_re/qplib_fp.h | 6 drivers/infiniband/hw/hns/hns_roce_device.h | 4 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 6 drivers/infiniband/hw/hns/hns_roce_mr.c | 5 drivers/infiniband/hw/hns/hns_roce_srq.c | 2 drivers/infiniband/hw/mlx4/alias_GUID.c | 2 drivers/infiniband/hw/mlx4/mad.c | 2 drivers/infiniband/hw/mlx5/mlx5_ib.h | 13 drivers/infiniband/hw/mlx5/odp.c | 6 drivers/infiniband/sw/rxe/rxe_req.c | 7 drivers/input/keyboard/qt1050.c | 7 drivers/input/mouse/elan_i2c_core.c | 2 drivers/iommu/sprd-iommu.c | 2 drivers/irqchip/irq-imx-irqsteer.c | 40 +- drivers/irqchip/irq-mbigen.c | 20 - drivers/irqchip/irq-meson-gpio.c | 35 + drivers/irqchip/irq-xilinx-intc.c | 2 drivers/isdn/hardware/mISDN/hfcmulti.c | 7 drivers/leds/led-class.c | 1 drivers/leds/led-triggers.c | 75 ++- drivers/leds/leds-ss4200.c | 7 drivers/leds/trigger/ledtrig-timer.c | 5 drivers/macintosh/therm_windtunnel.c | 2 drivers/md/md.c | 1 drivers/md/raid5.c | 20 - drivers/media/i2c/imx412.c | 9 drivers/media/pci/saa7134/saa7134-dvb.c | 8 drivers/media/platform/qcom/venus/vdec.c | 3 drivers/media/platform/vsp1/vsp1_histo.c | 20 - drivers/media/platform/vsp1/vsp1_pipe.h | 2 drivers/media/platform/vsp1/vsp1_rpf.c | 8 drivers/media/rc/imon.c | 5 drivers/media/rc/lirc_dev.c | 4 drivers/media/usb/uvc/uvc_ctrl.c | 9 drivers/media/usb/uvc/uvc_video.c | 47 ++ drivers/memory/Kconfig | 2 drivers/mfd/Makefile | 6 drivers/mfd/omap-usb-tll.c | 3 drivers/mfd/rsmu_core.c | 2 drivers/mtd/nand/raw/Kconfig | 3 drivers/mtd/tests/Makefile | 34 - drivers/mtd/tests/mtd_test.c | 9 drivers/mtd/ubi/eba.c | 3 drivers/net/bonding/bond_main.c | 7 drivers/net/dsa/b53/b53_common.c | 3 drivers/net/dsa/bcm_sf2.c | 4 drivers/net/dsa/mv88e6xxx/chip.c | 3 drivers/net/ethernet/brocade/bna/bna_types.h | 2 drivers/net/ethernet/brocade/bna/bnad.c | 11 drivers/net/ethernet/freescale/fec_main.c | 52 +- drivers/net/ethernet/freescale/fec_ptp.c | 3 drivers/net/ethernet/google/gve/gve_tx_dqo.c | 22 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 6 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 7 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c | 18 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c | 38 +- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c | 13 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h | 9 drivers/net/ethernet/realtek/r8169_main.c | 8 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 2 drivers/net/ethernet/stmicro/stmmac/hwif.h | 2 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 drivers/net/netconsole.c | 2 drivers/net/usb/qmi_wwan.c | 1 drivers/net/usb/sr9700.c | 11 drivers/net/wireless/ath/ath11k/dp_rx.c | 3 drivers/net/wireless/ath/ath11k/dp_rx.h | 3 drivers/net/wireless/ath/ath11k/mac.c | 15 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 18 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 drivers/net/wireless/virt_wifi.c | 20 - drivers/nvme/host/pci.c | 91 ++-- drivers/parport/procfs.c | 24 - drivers/pci/controller/dwc/pcie-designware-host.c | 7 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 2 drivers/pci/controller/pci-hyperv.c | 4 drivers/pci/controller/pcie-rockchip.c | 2 drivers/pci/endpoint/functions/pci-epf-vntb.c | 12 drivers/pci/pci.c | 19 - drivers/pci/setup-bus.c | 6 drivers/phy/cadence/phy-cadence-torrent.c | 3 drivers/pinctrl/core.c | 12 drivers/pinctrl/freescale/pinctrl-mxs.c | 4 drivers/pinctrl/pinctrl-rockchip.c | 17 drivers/pinctrl/pinctrl-single.c | 7 drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 14 drivers/platform/chrome/cros_ec_debugfs.c | 1 drivers/platform/chrome/cros_ec_proto.c | 2 drivers/platform/mips/cpu_hwmon.c | 3 drivers/power/supply/axp288_charger.c | 22 - drivers/power/supply/bq24190_charger.c | 2 drivers/pwm/pwm-stm32.c | 5 drivers/remoteproc/imx_rproc.c | 10 drivers/remoteproc/stm32_rproc.c | 2 drivers/rtc/interface.c | 9 drivers/rtc/rtc-cmos.c | 10 drivers/rtc/rtc-isl1208.c | 11 drivers/s390/char/sclp_sd.c | 10 drivers/scsi/mpi3mr/mpi3mr_os.c | 11 drivers/scsi/mpt3sas/mpt3sas_base.c | 20 - drivers/scsi/qla2xxx/qla_bsg.c | 98 +++-- drivers/scsi/qla2xxx/qla_def.h | 3 drivers/scsi/qla2xxx/qla_gs.c | 35 + drivers/scsi/qla2xxx/qla_init.c | 87 +++- drivers/scsi/qla2xxx/qla_inline.h | 8 drivers/scsi/qla2xxx/qla_mid.c | 2 drivers/scsi/qla2xxx/qla_nvme.c | 5 drivers/scsi/qla2xxx/qla_os.c | 7 drivers/scsi/qla2xxx/qla_sup.c | 108 +++-- drivers/scsi/ufs/ufshcd.c | 11 drivers/soc/qcom/pdr_interface.c | 8 drivers/soc/qcom/rpmh-rsc.c | 7 drivers/soc/qcom/rpmh.c | 1 drivers/soc/xilinx/zynqmp_pm_domains.c | 16 drivers/soc/xilinx/zynqmp_power.c | 5 drivers/spi/spi-fsl-lpspi.c | 6 drivers/spi/spidev.c | 95 ++--- drivers/tty/serial/serial_core.c | 8 drivers/usb/gadget/function/u_audio.c | 42 +- drivers/usb/gadget/function/u_serial.c | 1 drivers/usb/gadget/udc/core.c | 10 drivers/usb/serial/usb_debug.c | 7 drivers/usb/usbip/vhci_hcd.c | 9 drivers/vhost/vdpa.c | 8 drivers/vhost/vsock.c | 4 fs/binfmt_flat.c | 4 fs/btrfs/ctree.h | 1 fs/btrfs/file.c | 60 ++- fs/btrfs/free-space-cache.c | 1 fs/ceph/super.c | 3 fs/exec.c | 8 fs/ext2/balloc.c | 11 fs/ext4/extents.c | 5 fs/ext4/extents_status.c | 16 fs/ext4/extents_status.h | 6 fs/ext4/fast_commit.c | 65 ++- fs/ext4/inline.c | 6 fs/ext4/inode.c | 115 +++--- fs/ext4/mballoc.c | 3 fs/ext4/namei.c | 88 +++- fs/ext4/xattr.c | 6 fs/f2fs/inline.c | 6 fs/f2fs/inode.c | 3 fs/file.c | 1 fs/fuse/inode.c | 24 + fs/hfs/inode.c | 3 fs/hfsplus/bfind.c | 15 fs/hfsplus/extents.c | 9 fs/hfsplus/hfsplus_fs.h | 21 + fs/jbd2/commit.c | 2 fs/jbd2/journal.c | 6 fs/jfs/jfs_imap.c | 5 fs/nfs/nfs4client.c | 6 fs/nfs/nfs4proc.c | 2 fs/nilfs2/btnode.c | 25 + fs/nilfs2/btree.c | 4 fs/nilfs2/segment.c | 2 fs/ntfs3/attrib.c | 14 fs/ntfs3/bitmap.c | 2 fs/ntfs3/dir.c | 3 fs/ntfs3/file.c | 5 fs/ntfs3/frecord.c | 2 fs/ntfs3/fslog.c | 5 fs/ntfs3/fsntfs.c | 2 fs/ntfs3/index.c | 4 fs/ntfs3/inode.c | 2 fs/ntfs3/ntfs.h | 13 fs/ntfs3/ntfs_fs.h | 2 fs/proc/proc_sysctl.c | 6 fs/proc/task_mmu.c | 2 fs/super.c | 11 fs/udf/balloc.c | 51 +- fs/udf/super.c | 3 fs/xfs/xfs_log_recover.c | 20 - include/asm-generic/vmlinux.lds.h | 2 include/linux/clocksource.h | 14 include/linux/hugetlb.h | 1 include/linux/irq.h | 7 include/linux/irqdomain.h | 10 include/linux/jbd2.h | 5 include/linux/leds.h | 32 - include/linux/objagg.h | 1 include/linux/pci_ids.h | 2 include/linux/perf_event.h | 1 include/linux/profile.h | 1 include/linux/sched/signal.h | 6 include/linux/task_work.h | 3 include/linux/trace_events.h | 1 include/linux/virtio_net.h | 11 include/net/netfilter/nf_tables.h | 20 - include/net/sctp/sctp.h | 4 include/net/sctp/structs.h | 8 include/net/tcp.h | 1 include/trace/events/mptcp.h | 2 include/trace/events/rpcgss.h | 2 include/uapi/linux/netfilter/nf_tables.h | 2 include/uapi/linux/zorro_ids.h | 3 io_uring/io-wq.c | 10 io_uring/io_uring.c | 5 kernel/bpf/btf.c | 10 kernel/debug/kdb/kdb_io.c | 6 kernel/dma/mapping.c | 2 kernel/events/core.c | 79 ++-- kernel/events/internal.h | 2 kernel/events/ring_buffer.c | 4 kernel/irq/chip.c | 32 + kernel/irq/irqdesc.c | 1 kernel/irq/irqdomain.c | 7 kernel/irq/manage.c | 2 kernel/kcov.c | 15 kernel/kprobes.c | 4 kernel/locking/rwsem.c | 6 kernel/padata.c | 7 kernel/profile.c | 16 kernel/rcu/rcutorture.c | 2 kernel/sched/core.c | 50 +- kernel/sched/cputime.c | 6 kernel/sched/fair.c | 19 - kernel/sched/sched.h | 2 kernel/signal.c | 8 kernel/task_work.c | 34 + kernel/time/clocksource-wdtest.c | 13 kernel/time/clocksource.c | 10 kernel/time/ntp.c | 9 kernel/time/tick-broadcast.c | 24 + kernel/time/timekeeping.c | 2 kernel/trace/tracing_map.c | 6 kernel/watchdog_hld.c | 11 lib/decompress_bunzip2.c | 3 lib/kobject_uevent.c | 17 lib/objagg.c | 18 mm/hugetlb.c | 2 mm/mempolicy.c | 18 mm/mmap_lock.c | 175 +-------- net/bluetooth/l2cap_core.c | 1 net/bridge/br_multicast.c | 4 net/core/filter.c | 15 net/core/link_watch.c | 4 net/core/rtnetlink.c | 69 +-- net/core/xdp.c | 4 net/ipv4/esp4.c | 3 net/ipv4/netfilter/iptable_nat.c | 18 net/ipv4/nexthop.c | 7 net/ipv4/route.c | 2 net/ipv4/tcp.c | 13 net/ipv4/tcp_input.c | 34 + net/ipv4/tcp_ipv4.c | 19 - net/ipv4/tcp_output.c | 2 net/ipv4/tcp_timer.c | 10 net/ipv6/addrconf.c | 3 net/ipv6/esp6.c | 3 net/ipv6/ndisc.c | 34 - net/ipv6/netfilter/ip6table_nat.c | 14 net/ipv6/tcp_ipv6.c | 19 - net/iucv/af_iucv.c | 4 net/l2tp/l2tp_core.c | 15 net/mac80211/cfg.c | 21 - net/mptcp/mib.c | 2 net/mptcp/mib.h | 2 net/mptcp/options.c | 5 net/mptcp/pm.c | 9 net/mptcp/pm_netlink.c | 48 +- net/mptcp/protocol.c | 18 net/mptcp/protocol.h | 4 net/mptcp/subflow.c | 24 + net/netfilter/ipset/ip_set_list_set.c | 3 net/netfilter/ipvs/ip_vs_proto_sctp.c | 4 net/netfilter/nf_conntrack_netlink.c | 3 net/netfilter/nf_tables_api.c | 188 +--------- net/netfilter/nft_connlimit.c | 4 net/netfilter/nft_counter.c | 4 net/netfilter/nft_dynset.c | 2 net/netfilter/nft_last.c | 4 net/netfilter/nft_limit.c | 14 net/netfilter/nft_quota.c | 4 net/netfilter/nft_set_hash.c | 8 net/netfilter/nft_set_pipapo.c | 40 +- net/netfilter/nft_set_pipapo.h | 27 + net/netfilter/nft_set_pipapo_avx2.c | 81 ++-- net/netfilter/nft_set_rbtree.c | 6 net/packet/af_packet.c | 86 ++++ net/sched/act_ct.c | 4 net/sctp/input.c | 46 +- net/sctp/proc.c | 10 net/sctp/socket.c | 6 net/smc/smc_core.c | 5 net/sunrpc/auth_gss/gss_krb5_keys.c | 2 net/sunrpc/clnt.c | 3 net/sunrpc/sched.c | 4 net/sunrpc/xprtrdma/frwr_ops.c | 3 net/sunrpc/xprtrdma/verbs.c | 16 net/tipc/udp_media.c | 5 net/tls/tls_sw.c | 16 net/wireless/nl80211.c | 16 net/wireless/util.c | 8 scripts/gcc-x86_32-has-stack-protector.sh | 2 scripts/gcc-x86_64-has-stack-protector.sh | 2 security/apparmor/lsm.c | 7 security/apparmor/policy.c | 2 security/apparmor/policy_unpack.c | 1 security/keys/keyctl.c | 2 security/landlock/cred.c | 11 sound/firewire/amdtp-stream.c | 38 +- sound/firewire/amdtp-stream.h | 1 sound/pci/hda/patch_conexant.c | 54 -- sound/pci/hda/patch_hdmi.c | 2 sound/pci/hda/patch_realtek.c | 1 sound/soc/codecs/max98088.c | 10 sound/soc/codecs/wcd938x-sdw.c | 4 sound/soc/codecs/wsa881x.c | 2 sound/soc/intel/common/soc-intel-quirks.h | 2 sound/soc/meson/axg-fifo.c | 26 - sound/soc/pxa/spitz.c | 58 +-- sound/usb/line6/driver.c | 5 sound/usb/mixer.c | 7 sound/usb/quirks-table.h | 4 sound/usb/quirks.c | 4 sound/usb/stream.c | 4 tools/lib/bpf/btf_dump.c | 8 tools/lib/bpf/linker.c | 11 tools/memory-model/lock.cat | 20 - tools/perf/arch/x86/util/intel-pt.c | 15 tools/perf/util/sort.c | 2 tools/testing/selftests/bpf/prog_tests/send_signal.c | 3 tools/testing/selftests/bpf/prog_tests/sk_lookup.c | 2 tools/testing/selftests/bpf/progs/btf_dump_test_case_multidim.c | 4 tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c | 4 tools/testing/selftests/bpf/test_sockmap.c | 9 tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh | 55 ++ tools/testing/selftests/landlock/base_test.c | 74 +++ tools/testing/selftests/landlock/config | 5 tools/testing/selftests/net/forwarding/devlink_lib.sh | 2 tools/testing/selftests/net/mptcp/mptcp_join.sh | 41 ++ tools/testing/selftests/rcutorture/bin/torture.sh | 6 tools/testing/selftests/sigaltstack/current_stack_pointer.h | 2 461 files changed, 4183 insertions(+), 2519 deletions(-)
Adrian Hunter (7):
perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
perf: Fix perf_aux_size() for greater-than 32-bit size
perf: Prevent passing zero nr_pages to rb_alloc_aux()
perf: Fix default aux_watermark calculation
perf intel-pt: Fix aux_watermark calculation for 64-bit size perf intel-pt: Fix exclude_guest setting perf/x86/intel/pt: Fix a topa_entry base address calculation
Al Viro (3):
powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
lirc: rc_dev_get_from_fd(): fix file leak
protect the fetch of ->fd[fd] in do_dup2() from mispredictions
Alan Maguire (2):
bpf: annotate BTF show functions with __printf
bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o
Alan Stern (1):
tools/memory-model: Fix bug in lock.cat
Aleksandr Burakov (1):
saa7134: Unchecked i2c_transfer function result fixed
Aleksandr Mishin (2):
remoteproc: imx_rproc: Skip over memory region when node value is NULL
remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
Alex Deucher (1):
drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
Alex Hung (1):
drm/amd/display: Add null checker before passing variables
Alexander Maltsev (1):
netfilter: ipset: Add list flush to cancel_gc
Alexandra Winter (1):
net/iucv: fix use after free in iucv_sock_close()
Alexey Kodanev (1):
bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
Amit Cohen (2):
mlxsw: spectrum_acl_bloom_filter: Make mlxsw_sp_acl_bf_key_encode() more flexible
selftests: forwarding: devlink_lib: Wait for udev events after reloading
Amit Daniel Kachhap (1):
arm64: cpufeature: Fix the visibility of compat hwcaps
Andi Kleen (1):
x86/mtrr: Check if fixed MTRRs exist before saving them
Andi Shyti (1):
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
Andreas Larsson (1):
sparc64: Fix incorrect function signature and add prototype for prom_cif_init
Andrei Lalaev (1):
Input: qt1050 - handle CHIP_ID reading error
Andrey Konovalov (1):
kcov: properly check for softirq context
Andrii Nakryiko (1):
libbpf: Fix no-args func prototype BTF dumping syntax
Andy Shevchenko (2):
spi: spidev: Replace ACPI specific code by device_get_match_data()
spi: spidev: Replace OF specific code by device property API
Arnd Bergmann (5):
EDAC, i10nm: make skx_common.o a separate module
ARM: pxa: spitz: use gpio descriptors for audio
mfd: rsmu: Split core code into separate module
mtd: make mtd_test.c a separate module
kdb: address -Wformat-security warnings
Arseniy Krasnov (1):
irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'
Artem Chernyshev (1):
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Bailey Forrest (1):
gve: Fix an edge case for TSO skb validity check
Baochen Qiang (3):
wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()Baokun Li (3):
ext4: check dot and dotdot of dx_root before making dir indexed
ext4: make sure the first directory block is not a hole
ext4: make ext4_es_insert_extent() return void
Bart Van Assche (1):
RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
Bastien Curutchet (1):
clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
Benjamin Coddington (2):
SUNRPC: Fixup gss_status tracepoint error output
SUNRPC: Fix a race to wake a sync task
Besar Wicaksono (1):
arm64: Add Neoverse-V2 part
Binbin Zhou (1):
MIPS: Loongson64: DTS: Add RTC support to Loongson-2K1000
Breno Leitao (1):
net: netconsole: Disable target before netpoll cleanup
Bryan O'Donoghue (1):
media: i2c: Fix imx412 exposure control
Carlos Llamas (1):
binder: fix hang of unregistered readers
Chao Yu (4):
f2fs: fix return value of f2fs_convert_inline_inode()
f2fs: fix to don't dirty inode for readonly filesystem
hfsplus: fix to avoid false alarm of circular locking
hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
Chen Ni (3):
x86/xen: Convert comma to semicolon drm/qxl: Add check for drm_cvt_mode
ASoC: max98088: Check for clk_prepare_enable() error
Chen-Yu Tsai (2):
arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
Chengchang Tang (3):
RDMA/hns: Fix missing pagesize and alignment check in FRMR RDMA/hns: Fix undifined behavior caused by invalid max_sge RDMA/hns: Fix insufficient extend DB for VFs.
Chengen Du (1):
af_packet: Handle outgoing VLAN packets without hardware offloading
Chiara Meiohas (1):
RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
Chris Wulff (2):
usb: gadget: core: Check for unset descriptor
usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
Christoph Hellwig (2):
block: initialize integrity buffer to zero before writing it to media
xfs: fix log recovery buffer allocation for the legacy h_size fixup
Christophe Leroy (1):
vmlinux.lds.h: catch .bss..L* sections into BSS")
Chuck Lever (1):
xprtrdma: Fix rpcrdma_reqs_reset()
Conor Dooley (1):
spi: spidev: add correct compatible for Rohm BH2228FV
Csókás Bence (1):
net: fec: Refactor: #define magic constants
Csókás, Bence (3):
net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
rtc: interface: Add RTC offset to alarm after fix-up
net: fec: Stop PPS on driver remove
Damien Le Moal (2):
scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES
Dan Carpenter (3):
PCI: endpoint: Clean up error handling in vpci_scan_bus()
mISDN: Fix a use after free in hfcmulti_tx()
net: mvpp2: Don't re-use loop iterator
Dan Williams (1):
driver core: Fix uevent_show() vs driver detach race
Daniel Schaefer (1):
media: uvcvideo: Override default flags
Daniele Palmas (1):
net: usb: qmi_wwan: fix memory leak for not ip packets
Danilo Krummrich (1):
drm/nouveau: prime: fix refcount underflow
David Hildenbrand (1):
fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP
Denis Arefev (1):
net: missing check virtio
Dikshita Agarwal (2):
media: venus: flush all buffers in output plane streamoff
media: venus: fix use after free in vdec_close
Dmitry Antipov (1):
Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
Dmitry Baryshkov (8):
arm64: dts: qcom: sdm845: add power-domain to UFS PHY
arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings
arm64: dts: qcom: sm8250: add power-domain to UFS PHY
arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
soc: qcom: pdr: protect locator_addr with the main mutex
soc: qcom: pdr: fix parsing of domains lists
arm64: dts: qcom: msm8998: switch USB QMP PHY to new style of bindings
arm64: dts: qcom: msm8996: correct #clock-cells for QMP PHY nodes
Dmitry Torokhov (2):
ARM: spitz: fix GPIO assignment for backlight
Input: elan_i2c - do not leave interrupt disabled on suspend failure
Dmitry Yashin (1):
pinctrl: rockchip: update rk3308 iomux routes
Dominique Martinet (1):
MIPS: Octeron: remove source file executable bit
Donglin Peng (1):
libbpf: Checking the btf_type kind when fixing variable offsets
Douglas Anderson (3):
drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
kdb: Use the passed prompt in kdb_position_cursor()
Dragan Simic (1):
drm/panfrost: Mark simple_ondemand governor as softdep
Edmund Raile (2):
Revert "ALSA: firewire-lib: obsolete workqueue for period update" Revert "ALSA: firewire-lib: operate for period elapse event in process context"
Eero Tamminen (1):
m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
En-Wei Wu (1):
wifi: virt_wifi: avoid reporting connection success with wrong SSID
Eric Dumazet (8):
tcp: annotate lockless accesses to sk->sk_err_soft
tcp: annotate lockless access to sk->sk_err
tcp: add tcp_done_with_error() helper
tcp: fix race in tcp_write_err()
tcp: fix races in tcp_v[46]_err()
sched: act_ct: take care of padding in struct zones_ht_key
net: linkwatch: use system_unbound_wq
wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values
Eric Sandeen (1):
fuse: verify {g,u}id mount options correctly
Esben Haabendal (2):
memory: fsl_ifc: Make FSL_IFC config visible and selectable powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC
FUJITA Tomonori (1):
PCI: Add Edimax Vendor ID to pci_ids.h
Fedor Pchelkin (2):
apparmor: use kvfree_sensitive to free data->data
ubi: eba: properly rollback inside self_check_eba
Feng Tang (1):
clocksource: Scale the watchdog read retries automatically
Filipe Manana (3):
btrfs: fix bitmap leak when loading free space cache on duplicate entry
btrfs: fix corruption after buffer fault in during direct IO append write
btrfs: fix double inode unlock for direct IO sync writes
Florent Fourcot (1):
rtnetlink: enable alt_ifname for setlink/newlink
Florian Westphal (5):
netfilter: nft_set_pipapo: constify lookup fn args where possible
netfilter: nf_set_pipapo: fix initial map fill
netfilter: nft_set_pipapo_avx2: disable softinterrupts
netfilter: nf_tables: allow clone callbacks to sleep
netfilter: nf_tables: prefer nft_chain_validate
Fred Li (1):
bpf: Fix a segment issue when downgrading gso_size
Frederic Weisbecker (4):
task_work: s/task_work_cancel()/task_work_cancel_func()/
task_work: Introduce task_work_cancel() again
perf: Fix event leak upon exit
perf: Fix event leak upon exec and file release
Friedrich Vock (1):
drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
Gaosheng Cui (1):
gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
Geert Uytterhoeven (1):
spi: spidev: Add missing spi_device_id for bh2228fv
Geliang Tang (4):
selftests/bpf: Fix prog numbers in test_sockmap selftests/bpf: Check length of recv in test_sockmap selftests/bpf: Close fd in error path in drop_on_reuseport
mptcp: export local_address
George Kennedy (1):
serial: core: check uartclk for zero to avoid divide by zero
Greg Kroah-Hartman (1):
Linux 5.15.165
Gregory CLEMENT (1):
MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
Guangguan Wang (1):
net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
Guenter Roeck (4):
hwmon: (max6697) Fix underflow when writing limit attributes
hwmon: (max6697) Fix swapped temp{1,8} critical alarms
i2c: smbus: Improve handling of stuck alerts
i2c: smbus: Send alert notifications to all devices if source not found
Gwenael Treuveur (1):
remoteproc: stm32_rproc: Fix mailbox interrupts queuing
Hagar Hemdan (1):
net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP
Hans de Goede (4):
leds: trigger: Unregister sysfs attributes before calling deactivate()
leds: trigger: Call synchronize_rcu() before calling trig->activate()
power: supply: axp288_charger: Fix constant_charge_voltage writes
power: supply: axp288_charger: Round constant_charge_voltage writes down
Heiner Kallweit (3):
leds: trigger: Remove unused function led_trigger_rename_static()
leds: trigger: Store brightness set by led_trigger_event()
r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
Herve Codina (1):
irqdomain: Fixed unbalanced fwnode get and put
Hilda Wu (1):
Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables
Honggang LI (1):
RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
Hou Tao (1):
bpf, events: Use prog to emit ksymbol event for main program
Hsiao Chien Sung (2):
drm/mediatek: Add missing plane settings when async update drm/mediatek: Add DRM_MODE_ROTATE_0 to rotation property
Huacai Chen (1):
fs/ntfs3: Update log->page_{mask,bits} if log->page_size changedIan Forbes (1):
drm/vmwgfx: Fix overlay when using Screen Targets
Ido Schimmel (4):
lib: objagg: Fix general protection fault
mlxsw: spectrum_acl_erp: Fix object nesting warning
mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
ipv4: Fix incorrect source address in Record Route option
Igor Pylypiv (1):
ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
Ilpo Järvinen (7):
x86/of: Return consistent error type from x86_of_pci_irq_enable() x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling x86/pci/xen: Fix PCIBIOS_* return code handling x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
PCI: Fix resource double counting on remove & rescan
leds: ss4200: Convert PCIBIOS_* return codes to errnos
hwrng: amd - Convert PCIBIOS_* return codes to errnos
Ilya Dryomov (3):
rbd: don't assume rbd_is_lock_owner() for exclusive mappings
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
Imre Deak (1):
drm/i915/dp: Reset intel_dp->link_trained before retraining the link
Ismael Luceno (1):
ipvs: Avoid unnecessary calls to skb_is_gso_sctp
Jack Wang (1):
bnxt_re: Fix imm_data endianness
Jakub Kicinski (1):
tls: fix race between tx work scheduling and socket close
James Chapman (1):
l2tp: fix lockdep splat
James Clark (1):
coresight: Fix ref leak when of_coresight_parse_endpoint() fails
James Morse (1):
arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space
Jan Kara (4):
ext4: avoid writing unitialized memory to disk in EA inodes
ext2: Verify bitmap and itable block numbers before using them
udf: Avoid using corrupted block bitmap buffer
jbd2: make jbd2_journal_get_max_txn_bufs() internal
Jann Horn (1):
landlock: Don't lose track of restrictions on cred_transfer
Jason Wang (1):
vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler
Javier Carrasco (1):
mfd: omap-usb-tll: Use struct_size to allocate tll
Javier Martinez Canillas (1):
spi: spidev: Make probe to fail early if a spidev compatible is used
Jay Buddhabhatti (1):
drivers: soc: xilinx: check return status of get_api_version()
Jens Axboe (2):
nvme: split command copy into a helper
nvme: separate command prep and issue
Jeongjun Park (1):
jfs: Fix array-index-out-of-bounds in diFree
Jerome Brunet (2):
arm64: dts: amlogic: gx: correct hdmi clocks
ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT
Jiaxun Yang (10):
platform: mips: cpu_hwmon: Disable driver on unsupported hardware
MIPS: ip30: ip30-console: Add missing include
MIPS: dts: loongson: Fix GMAC phy node
MIPS: Loongson64: env: Hook up Loongsson-2K
MIPS: Loongson64: Remove memory node for builtin-dtb
MIPS: Loongson64: reset: Prioritise firmware service
MIPS: Loongson64: Test register availability before use
MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a
MIPS: dts: loongson: Fix liointc IRQ polarity
MIPS: dts: loongson: Fix ls2k1000-rtc interrupt
Jinyoung Choi (1):
block: cleanup bio_integrity_prep
Jisheng Zhang (1):
PCI: dwc: Restore MSI Receiver mask during resume
Joe Hattori (2):
char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()
Johan Hovold (1):
arm64: dts: qcom: msm8998: drop USB PHY clock index
Johannes Berg (7):
wifi: virt_wifi: don't use strlen() in const context
um: time-travel: fix time-travel-start option
um: time-travel: fix signal blocking race/hang
net: bonding: correctly annotate RCU in bond_should_notify_peers()
leds: trigger: use RCU to protect the led_cdevs list
wifi: nl80211: don't give key data to userspace
wifi: mac80211: check basic rates validity
John Stultz (1):
locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
Jonas Karlman (1):
arm64: dts: rockchip: Increase VOP clk rate on RK3328
Joy Chakraborty (2):
rtc: cmos: Fix return value of nvmem callbacks
rtc: isl1208: Fix return value of nvmem callbacks
Justin Stitt (3):
power: supply: bq24190_charger: replace deprecated strncpy with strscpy
ntp: Clamp maxerror and esterror to operating range
ntp: Safeguard against time_constant overflow
Kan Liang (1):
perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
Kees Cook (2):
exec: Fix ToCToU between perm check and set-uid/gid usage
binfmt_flat: Fix corruption when not offsetting data start
Kemeng Shi (2):
jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
ext4: fix wrong unit use in ext4_mb_find_by_goal
Konrad Dybcio (1):
clk: qcom: branch: Add helper functions for setting retain bits
Konstantin Komarov (8):
fs/ntfs3: Use ALIGN kernel macro
fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT fs/ntfs3: Fix transform resident to nonresident for compressed files fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
fs/ntfs3: Fix getting file type
fs/ntfs3: Replace inode_trylock with inode_lock fs/ntfs3: Fix field-spanning write in INDEX_HDR fs/ntfs3: Missed error return
Krishna Kurapati (2):
arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB
arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB
Krzysztof Kozlowski (4):
dt-bindings: thermal: correct thermal zone node name limit
spi: spidev: order compatibles alphabetically
ASoC: codecs: wcd938x-sdw: Correct Soundwire ports mask
ASoC: codecs: wsa881x: Correct Soundwire ports mask
Kuniyuki Iwashima (4):
rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in rtnl_dellink().
netfilter: iptables: Fix null-ptr-deref in iptable_nat_table_init().
netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
sctp: Fix null-ptr-deref in reuseport_add_sock().
Lance Richardson (1):
dma: fix call order in dmam_free_coherent
Laurent Pinchart (2):
media: renesas: vsp1: Fix _irqsave and _irq mix
media: renesas: vsp1: Store RPF partition configuration per RPF instance
Leon Romanovsky (5):
RDMA/cache: Release GID table even if leak is detected RDMA/mlx4: Fix truncated output warning in mad.c RDMA/mlx4: Fix truncated output warning in alias_GUID.c RDMA/device: Return error earlier if port in not valid
nvme-pci: add missing condition check for existence of mapped data
Li Nan (1):
md: do not delete safemode_timer in mddev_suspend
Lijo Lazar (1):
drm/amd/pm: Fix aldebaran pcie speed reporting
Luca Ceresoli (1):
Revert "leds: led-core: Fix refcount leak in of_led_get()"
Lucas Stach (4):
drm/etnaviv: fix DMA direction handling for cached RW buffers irqchip/imx-irqsteer: Constify irq_chip struct irqchip/imx-irqsteer: Add runtime PM support
drm/bridge: analogix_dp: properly handle zero sized AUX transactions
Luis Henriques (SUSE) (2):
ext4: fix infinite loop when replaying fast_commit
ext4: don't track ranges in fast_commit if inode has inlined data
Lukas Wunner (1):
PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal
Ma Jun (3):
drm/amdgpu/pm: Fix the null pointer dereference for smu7 drm/amdgpu: Fix the null pointer dereference to ras_manager drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
Ma Ke (5):
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
phy: cadence-torrent: Check return value on register read
net: usb: sr9700: fix uninitialized variable use in sr_mdio_read drm/client: fix null pointer dereference in drm_client_modeset_probe
Maciej Żenczykowski (1):
ipv6: fix ndisc_is_useropt() handling for PIO
Mahesh Salgaonkar (1):
powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.
Manish Rangankar (1):
scsi: qla2xxx: During vport delete send async logout explicitly
Manivannan Sadhasivam (1):
PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
Marc Zyngier (2):
genirq: Allow the PM device to originate from irq domain
genirq: Allow irq_chip registration functions to take a const irq_chip
Marco Cavenati (1):
perf/x86/intel/pt: Fix topa_entry base length
Marco Felsch (1):
ARM: dts: imx6qdl-kontron-samx6i: move phy reset into phy-node
Marek Behún (3):
firmware: turris-mox-rwtm: Do not complete if there are no waiters
firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
firmware: turris-mox-rwtm: Initialize completion before mailbox
Marek Marczykowski-Górecki (1):
USB: serial: debug: do not echo input by default
Mark Rutland (12):
arm64: barrier: Restore spec_bar() macro
arm64: cputype: Add Cortex-X4 definitions
arm64: cputype: Add Neoverse-V3 definitions
arm64: errata: Add workaround for Arm errata 3194386 and 3312417
arm64: cputype: Add Cortex-X3 definitions
arm64: cputype: Add Cortex-A720 definitions
arm64: cputype: Add Cortex-X925 definitions
arm64: errata: Unify speculative SSBS errata logic
arm64: errata: Expand speculative SSBS workaround
arm64: cputype: Add Cortex-X1C definitions
arm64: cputype: Add Cortex-A725 definitions
arm64: errata: Expand speculative SSBS workaround (again)
Martin Willi (2):
net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
Masami Hiramatsu (Google) (1):
kprobes: Fix to check symbol prefixes correctly
Matthieu Baerts (NGI0) (8):
mptcp: sched: check both directions for backup
mptcp: distinguish rcv vs sent backup flag in requests
mptcp: mib: count MPJ with backup flag
mptcp: pm: only set request_bkup flag when sending MP_PRIO
mptcp: pm: fix backup support in signal endpoints
selftests: mptcp: join: validate backup in MPJ
selftests: mptcp: join: check backup support in signal endp
mptcp: fully established after ADD_ADDR echo on MPJ
Mavroudis Chatzilazaridis (1):
ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
Menglong Dong (1):
bpf: kprobe: remove unused declaring of bpf_kprobe_override
Miaohe Lin (1):
mm/hugetlb: fix possible recursive locking detected warning
Michael Ellerman (2):
powerpc/xmon: Fix disassembly CPU feature checks selftests/sigaltstack: Fix ppc64 GCC build
Michael S. Tsirkin (1):
vhost/vsock: always initialize seqpacket_allow
Michael Tretter (1):
soc: xilinx: move PM_INIT_FINALIZE to zynqmp_pm_domains driver
Michael Walle (5):
ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
ARM: dts: imx6qdl-kontron-samx6i: fix board reset
ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
Michal Pecio (1):
media: uvcvideo: Fix the bandwdith quirk on USB 3.x
Mickaël Salaün (1):
selftests/landlock: Add cred_transfer test
Namhyung Kim (1):
perf report: Fix condition in sort__sym_cmp()
Nathan Chancellor (1):
kbuild: Fix '-S -c' in x86 stack protector scripts
NeilBrown (1):
SUNRPC: avoid soft lockup when transmitting UDP to reachable server.
Nick Bowler (1):
macintosh/therm_windtunnel: fix module unload.
Nicolas Dichtel (1):
ipv6: take care of scope when choosing the src addr
Niklas Cassel (2):
PCI: dw-rockchip: Fix initial PERST# GPIO value
Revert "ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"
Niklas Söderlund (1):
clocksource/drivers/sh_cmt: Address race condition for clock events
Nikolay Aleksandrov (1):
net: bridge: mcast: wait for previous gc cycles when removing port
Nilesh Javali (1):
scsi: qla2xxx: validate nvme_local_port correctly
Nitesh Shetty (1):
block: refactor to use helper
Nitin Gote (1):
drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
Olga Kornievskaia (1):
NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server
Oliver Neukum (1):
usb: vhci-hcd: Do not drop references before new references are gained
Pablo Neira Ayuso (5):
netfilter: nf_tables: rise cap on SELinux secmark context
netfilter: ctnetlink: use helper function to calculate expect ID
netfilter: nf_tables: set element extended ACK reporting support
netfilter: nf_tables: use timestamp to check for set element timeout
netfilter: nf_tables: bail out if stateful expression provides no .clone
Paolo Abeni (3):
mptcp: fix duplicate data handling
mptcp: fix NL PM announced address accounting
mptcp: fix bad RCVPRUNED mib accounting
Paolo Pisati (1):
m68k: amiga: Turn off Warp1260 interrupts during boot
Patryk Duda (1):
platform/chrome: cros_ec_proto: Lock device when updating MKBP version
Paul E. McKenney (3):
rcutorture: Fix rcu_torture_fwd_cb_cr() data race
torture: Enable clocksource watchdog with "tsc=watchdog"
clocksource: Fix brown-bag boolean thinko in cs_watchdog_read()
Pavel Begunkov (3):
io_uring: tighten task exit cancellations io_uring/io-wq: limit retrying worker initialisation
kernel: rerun task_work while freezing in get_signal()
Peng Fan (1):
pinctrl: freescale: mxs: Fix refcount of child
Peter Oberparleiter (1):
s390/sclp: Prevent release of buffer in I/O
Peter Zijlstra (2):
x86/mm: Fix pti_clone_pgtable() alignment assumption x86/mm: Fix pti_clone_entry_text() for i386
Petr Machata (1):
net: nexthop: Initialize all fields in dumped nexthops
Pierre Gondois (1):
sched/fair: Use all little CPUs for CPU-bound workloads
Pierre-Louis Bossart (1):
ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
Prashanth K (1):
usb: gadget: u_serial: Set start_delayed during suspend
Qianggui Song (1):
irqchip/meson-gpio: support more than 8 channels gpio irq
Quinn Tran (3):
scsi: qla2xxx: Unable to act on RSCN for port online
scsi: qla2xxx: Use QP lock to search for bsg
scsi: qla2xxx: Fix flash read failure
Radhey Shyam Pandey (1):
irqchip/xilinx: Fix shift out of bounds
Rafael Beims (1):
wifi: mwifiex: Fix interface type change
Rafał Miłecki (1):
arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
Ricardo Ribalda (3):
media: imon: Fix race getting ictx->lock
media: uvcvideo: Fix integer overflow calculating timestamp
media: uvcvideo: Ignore empty TS packets
Ritesh Harjani (1):
ext4: return early for non-eligible fast_commit track events
Roman Smirnov (1):
udf: prevent integer overflow in udf_bitmap_free_blocks()
Ross Lagerwall (1):
decompress_bunzip2: fix rare decompression failure
Ryusuke Konishi (2):
nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
nilfs2: handle inconsistent state in nilfs_btnode_create_block()
Samasth Norway Ananda (1):
wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
Saurav Kashyap (1):
scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
Sean Christopherson (1):
KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()
Sean Young (1):
media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"
Seth Forshee (DigitalOcean) (1):
fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT
Shahar Shitrit (1):
net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
Shawn Guo (1):
arm64: dts: qcom: msm8996: Move '#clock-cells' to QMP PHY child node
Shay Drory (1):
genirq/irqdesc: Honor caller provided affinity in alloc_desc()
Shenwei Wang (2):
irqchip/imx-irqsteer: Handle runtime power management correctly
net: stmmac: Enable mac_managed_pm phylink config
Shigeru Yoshida (1):
tipc: Return non-zero value from tipc_udp_addr2str() on error
Shreyas Deodhar (3):
scsi: qla2xxx: Fix optrom version displayed in FDMI
scsi: qla2xxx: Fix for possible memory corruption
scsi: qla2xxx: Complete command early within lock
Simon Horman (1):
net: stmmac: Correct byte order of perfect_match
Stefan Wahren (1):
spi: spi-fsl-lpspi: Fix scldiv calculation
Stephen Boyd (1):
soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers
Steven 'Steve' Kendall (1):
ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list
Sung Joon Kim (1):
drm/amd/display: Check for NULL pointer
Taehee Yoo (1):
xdp: fix invalid wait context of page_pool_destroy()
Takashi Iwai (5):
ALSA: usb-audio: Move HD Webcam quirk to the right place
ALSA: usb-audio: Correct surround channels in UAC1 channel map
ALSA: usb-audio: Re-add ScratchAmp quirk entries
ALSA: line6: Fix racy access to midibuf
ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4
Taniya Das (1):
clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock
Tatsunosuke Tobita (1):
HID: wacom: Modify pen IDs
Tejun Heo (1):
sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
Tetsuo Handa (2):
mm: mmap_lock: replace get_memcg_path_buf() with on-stack buffer
profiling: remove profile=sleep support
Thomas Gleixner (3):
watchdog/perf: properly initialize the turbo mode timestamp and rearm counter tick/broadcast: Move per CPU pointer access into the atomic section
timekeeping: Fix bogus clock_was_set() invocation in do_adjtimex()
Thomas Weißschuh (4):
sysctl: always initialize i_uid/i_gid
leds: triggers: Flush pending brightness before activating trigger
ACPI: battery: create alarm sysfs attribute atomically
ACPI: SBS: manage alarm sysfs attribute through psy core
Thomas Zimmermann (1):
drm/mgag200: Set DDC timeout in milliseconds
Thorsten Blum (1):
m68k: cmpxchg: Fix return value for default case in __arch_xchg()
Tvrtko Ursulin (1):
mm/numa_balancing: teach mpol_to_str about the balancing mode
Tze-nan Wu (1):
tracing: Fix overflow in get_free_elt()
Tzung-Bi Shih (1):
platform/chrome: cros_ec_debugfs: fix wrong EC message version
Uwe Kleine-König (2):
pwm: stm32: Always do lazy disabling
pinctrl: ti: ti-iodelay: Drop if block with always false condition
Vamshi Gajjela (1):
scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
Vignesh Raghavendra (1):
dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
Vincent Tremblay (1):
spidev: Add Silicon Labs EM3581 device compatible
Waiman Long (2):
clocksource: Reduce the default clocksource_watchdog() retries to 2
padata: Fix possible divide-by-0 panic in padata_mt_helper()
WangYuli (2):
Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591 nvme/pci: Add APST quirk for Lenovo N60z laptop
Wayne Lin (1):
drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
Wayne Tung (1):
hwmon: (adt7475) Fix default duty on fan is disabled
Wei Liu (1):
PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
Xiao Liang (1):
apparmor: Fix null pointer deref when receiving skb during sock creation
Xiaxi Shen (1):
ext4: fix uninitialized variable in ext4_inlinedir_to_tree
Xin Long (1):
sctp: move hlist_node and hashent out of sctp_ep_common
Yang Yingliang (5):
pinctrl: core: fix possible memory leak when pinctrl_enable() fails
pinctrl: single: fix possible memory leak when pinctrl_enable() fails
pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails sched/smt: Introduce sched_smt_present_inc/dec() helper sched/smt: Fix unbalance sched_smt_present dec/inc
Yao Zi (1):
drm/meson: fix canvas release in bind function
Yipeng Zou (1):
irqchip/mbigen: Fix mbigen node address layout
Yonghong Song (1):
selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
Yu Kuai (1):
md/raid5: avoid BUG_ON() while continue reshape after reassembling
Yu Liao (1):
tick/broadcast: Make takeover of broadcast hrtimer reliable
Zack Rusin (1):
drm/vmwgfx: Fix a deadlock in dma buf fence polling
Zhang Yi (4):
ext4: refactor ext4_da_map_blocks()
ext4: convert to exclusive lock while inserting delalloc extents
ext4: factor out a common helper to query extent map
ext4: check the extent status again before inserting delalloc block
Zhe Qiao (1):
riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
Zheng Yejian (1):
media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()
Zheng Zucheng (1):
sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime
Zijun Hu (3):
kobject_uevent: Fix OOB access within zap_modalias_env()
devres: Fix devm_krealloc() wasting memory
devres: Fix memory leakage caused by driver API devm_free_percpu()
ethanwu (1):
ceph: fix incorrect kmalloc size of pagevec mempool
songxiebing (1):
ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
tuhaowen (1):
dev/parport: fix the array out-of-bounds risk
wangdicheng (2):
ALSA: usb-audio: Fix microphone sound on HD webcam.
ALSA: usb-audio: Add a quirk for Sonix HD USB Camera
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/kernel-parameters.txt +1 -9
@@ -600,12 +600,6 @@ loops can be debugged more effectively on production systems. - clocksource.max_cswd_read_retries= [KNL] - Number of clocksource_watchdog() retries due to - external delays before the clock will be marked - unstable. Defaults to three retries, that is, - four attempts to read the clock under test. - clocksource.verify_n_cpus= [KNL] Limit the number of CPUs checked for clocksources marked with CLOCK_SOURCE_VERIFY_PERCPU that
@@ -4355,11 +4349,9 @@ profile= [KNL] Enable kernel profiling via /proc/profile Format: [<profiletype>,]<number> - Param: <profiletype>: "schedule", "sleep", or "kvm" + Param: <profiletype>: "schedule" or "kvm" [defaults to kernel profiling] Param: "schedule" - profile schedule points. - Param: "sleep" - profile D-state sleeping (millisecs). - Requires CONFIG_SCHEDSTATS Param: "kvm" - profile VM exits. Param: <number> - step/bucket size as a power of 2 for statistical time based profiling.
Documentation/arm64/cpu-feature-registers.rst +37 -1
@@ -92,7 +92,7 @@ operation if the source belongs to the supported system register space. The infrastructure emulates only the following system register space:: - Op0=3, Op1=0, CRn=0, CRm=0,4,5,6,7 + Op0=3, Op1=0, CRn=0, CRm=0,2,3,4,5,6,7 (See Table C5-6 'System instruction encodings for non-Debug System register accesses' in ARMv8 ARM DDI 0487A.h, for the list of
@@ -291,6 +291,42 @@ infrastructure: | RPRES | [7-4] | y | +------------------------------+---------+---------+ + 10) MVFR0_EL1 - AArch32 Media and VFP Feature Register 0 + + +------------------------------+---------+---------+ + | Name | bits | visible | + +------------------------------+---------+---------+ + | FPDP | [11-8] | y | + +------------------------------+---------+---------+ + + 11) MVFR1_EL1 - AArch32 Media and VFP Feature Register 1 + + +------------------------------+---------+---------+ + | Name | bits | visible | + +------------------------------+---------+---------+ + | SIMDFMAC | [31-28] | y | + +------------------------------+---------+---------+ + | SIMDSP | [19-16] | y | + +------------------------------+---------+---------+ + | SIMDInt | [15-12] | y | + +------------------------------+---------+---------+ + | SIMDLS | [11-8] | y | + +------------------------------+---------+---------+ + + 12) ID_ISAR5_EL1 - AArch32 Instruction Set Attribute Register 5 + + +------------------------------+---------+---------+ + | Name | bits | visible | + +------------------------------+---------+---------+ + | CRC32 | [19-16] | y | + +------------------------------+---------+---------+ + | SHA2 | [15-12] | y | + +------------------------------+---------+---------+ + | SHA1 | [11-8] | y | + +------------------------------+---------+---------+ + | AES | [7-4] | y | + +------------------------------+---------+---------+ + Appendix I: Example -------------------
Documentation/arm64/silicon-errata.rst +36 -0
@@ -96,8 +96,16 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A76 | #1463225 | ARM64_ERRATUM_1463225 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A76 | #3324349 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A77 | #1508412 | ARM64_ERRATUM_1508412 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A77 | #3324348 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A78 | #3324344 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A78C | #3324346,3324347| ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A510 | #2441009 | ARM64_ERRATUM_2441009 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A510 | #2457168 | ARM64_ERRATUM_2457168 |
@@ -108,18 +116,46 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A710 | #2224489 | ARM64_ERRATUM_2224489 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A710 | #3324338 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A720 | #3456091 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A725 | #3456106 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X1 | #3324344 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X1C | #3324346 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X2 | #3324338 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X3 | #3324335 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X4 | #3194386 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-X925 | #3324334 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N1 | #1188873,1418040| ARM64_ERRATUM_1418040 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N1 | #1349291 | N/A | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N1 | #1542419 | ARM64_ERRATUM_1542419 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-N1 | #3324349 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N2 | #2139208 | ARM64_ERRATUM_2139208 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N2 | #2067961 | ARM64_ERRATUM_2067961 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N2 | #2253138 | ARM64_ERRATUM_2253138 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-N2 | #3324339 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-V1 | #3324341 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-V2 | #3324336 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-V3 | #3312417 | ARM64_ERRATUM_3194386 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | MMU-500 | #841119,826419 | N/A | +----------------+-----------------+-----------------+-----------------------------+ | ARM | MMU-600 | #1076982,1209401| N/A |
Documentation/devicetree/bindings/thermal/thermal-zones.yaml +4 -1
@@ -49,7 +49,10 @@ properties: to take when the temperature crosses those thresholds. patternProperties: - "^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$": + # Node name is limited in size due to Linux kernel requirements - 19 + # characters in total (see THERMAL_NAME_LENGTH, including terminating NUL + # byte): + "^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$": type: object description: Each thermal zone node contains information about how frequently it
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 15 -SUBLEVEL = 164 +SUBLEVEL = 165 EXTRAVERSION = NAME = Trick or Treat
arch/arm/boot/dts/imx6q-kontron-samx6i.dtsi +0 -23
@@ -5,31 +5,8 @@ #include "imx6q.dtsi" #include "imx6qdl-kontron-samx6i.dtsi" -#include <dt-bindings/gpio/gpio.h> / { model = "Kontron SMARC sAMX6i Quad/Dual"; compatible = "kontron,imx6q-samx6i", "fsl,imx6q"; }; - -/* Quad/Dual SoMs have 3 chip-select signals */ -&ecspi4 { - cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, - <&gpio3 29 GPIO_ACTIVE_LOW>, - <&gpio3 25 GPIO_ACTIVE_LOW>; -}; - -&pinctrl_ecspi4 { - fsl,pins = < - MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 - MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 - MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 - - /* SPI4_IMX_CS2# - connected to internal flash */ - MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0 - /* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */ - MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 - /* SPI4_CS3# - connected to SMARC SPI0_CS1# */ - MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0 - >; -};
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi +21 -5
@@ -244,7 +244,8 @@ &ecspi4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi4>; cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, - <&gpio3 29 GPIO_ACTIVE_LOW>; + <&gpio3 29 GPIO_ACTIVE_LOW>, + <&gpio3 25 GPIO_ACTIVE_LOW>; status = "okay"; /* default boot source: workaround #1 for errata ERR006282 */
@@ -259,8 +260,20 @@ smarc_flash: flash@0 { &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; + phy-connection-type = "rgmii-id"; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; + reset-assert-us = <1000>; + }; + }; }; &hdmi {
@@ -452,6 +465,8 @@ MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0 /* SPI_IMX_CS0# - connected to SMARC SPI0_CS0# */ MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 + /* SPI4_CS3# - connected to SMARC SPI0_CS1# */ + MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0 >; };
@@ -504,7 +519,7 @@ MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 - MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* RST_GBE0_PHY# */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 /* RST_GBE0_PHY# */ >; };
@@ -717,7 +732,7 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; wake-up-gpio = <&gpio6 18 GPIO_ACTIVE_HIGH>; - reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>; + reset-gpio = <&gpio3 13 GPIO_ACTIVE_LOW>; }; /* LCD_BKLT_PWM */
@@ -805,5 +820,6 @@ &wdog1 { /* CPLD is feeded by watchdog (hardwired) */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wdog1>; + fsl,ext-reset-output; status = "okay"; };
arch/arm/mach-pxa/include/mach/spitz.h deleted +0 -185
185 lines not on this page · raw message
arch/arm/mach-pxa/spitz.c +30 -9
@@ -43,7 +43,7 @@#include <linux/platform_data/mmc-pxamci.h> #include <linux/platform_data/usb-ohci-pxa27x.h> #include <linux/platform_data/video-pxafb.h> -#include <mach/spitz.h> +#include "spitz.h" #include "sharpsl_pm.h" #include <mach/smemc.h>
@@ -516,10 +516,8 @@ static struct pxa2xx_spi_chip spitz_ads7846_chip = {static struct gpiod_lookup_table spitz_lcdcon_gpio_table = { .dev_id ="spi2.1" , .table = { -GPIO_LOOKUP ("gpio-pxa" ,SPITZ_GPIO_BACKLIGHT_CONT , -"BL_CONT" ,GPIO_ACTIVE_LOW ), -GPIO_LOOKUP ("gpio-pxa" ,SPITZ_GPIO_BACKLIGHT_ON , -"BL_ON" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("sharp-scoop.1" ,6 ,"BL_CONT" ,GPIO_ACTIVE_LOW ), +GPIO_LOOKUP ("sharp-scoop.1" ,7 ,"BL_ON" ,GPIO_ACTIVE_HIGH ), { }, }, };
@@ -527,10 +525,8 @@ static struct gpiod_lookup_table spitz_lcdcon_gpio_table = {static struct gpiod_lookup_table akita_lcdcon_gpio_table = { .dev_id ="spi2.1" , .table = { -GPIO_LOOKUP ("gpio-pxa" ,AKITA_GPIO_BACKLIGHT_CONT , -"BL_CONT" ,GPIO_ACTIVE_LOW ), -GPIO_LOOKUP ("gpio-pxa" ,AKITA_GPIO_BACKLIGHT_ON , -"BL_ON" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("i2c-max7310" ,3 ,"BL_ON" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("i2c-max7310" ,4 ,"BL_CONT" ,GPIO_ACTIVE_LOW ), { }, }, };
@@ -954,11 +950,36 @@ static void __init spitz_i2c_init(void)static inline void spitz_i2c_init (void ) {}#endif +static struct gpiod_lookup_table spitz_audio_gpio_table = { + .dev_id ="spitz-audio" , + .table = { +GPIO_LOOKUP ("sharp-scoop.0" ,3 ,"mute-l" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("sharp-scoop.0" ,4 ,"mute-r" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("sharp-scoop.1" ,8 ,"mic" ,GPIO_ACTIVE_HIGH ), + { }, + }, +}; + +static struct gpiod_lookup_table akita_audio_gpio_table = { + .dev_id ="spitz-audio" , + .table = { +GPIO_LOOKUP ("sharp-scoop.0" ,3 ,"mute-l" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("sharp-scoop.0" ,4 ,"mute-r" ,GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("i2c-max7310" ,2 ,"mic" ,GPIO_ACTIVE_HIGH ), + { }, + }, +}; +/****************************************************************************** * Audio devices ******************************************************************************/ static inline void spitz_audio_init (void ) { +if (machine_is_akita ()) +gpiod_add_lookup_table (&akita_audio_gpio_table); +else +gpiod_add_lookup_table (&spitz_audio_gpio_table); +platform_device_register_simple ("spitz-audio" ,-1 ,NULL ,0 ); }
arch/arm/mach-pxa/spitz.h new file +185 -0
185 lines not on this page · raw message
arch/arm/mach-pxa/spitz_pm.c +1 -1
@@ -20,7 +20,7 @@#include <asm/mach-types.h> #include <mach/hardware.h> -#include <mach/spitz.h> +#include "spitz.h" #include "pxa27x.h" #include "sharpsl_pm.h"
arch/arm64/Kconfig +38 -0
@@ -848,6 +848,44 @@ config ARM64_ERRATUM_2224489 If unsure, say Y. +config ARM64_ERRATUM_3194386 + bool "Cortex-*/Neoverse-*: workaround for MSR SSBS not self-synchronizing" + default y + help + This option adds the workaround for the following errata: + + * ARM Cortex-A76 erratum 3324349 + * ARM Cortex-A77 erratum 3324348 + * ARM Cortex-A78 erratum 3324344 + * ARM Cortex-A78C erratum 3324346 + * ARM Cortex-A78C erratum 3324347 + * ARM Cortex-A710 erratam 3324338 + * ARM Cortex-A720 erratum 3456091 + * ARM Cortex-A725 erratum 3456106 + * ARM Cortex-X1 erratum 3324344 + * ARM Cortex-X1C erratum 3324346 + * ARM Cortex-X2 erratum 3324338 + * ARM Cortex-X3 erratum 3324335 + * ARM Cortex-X4 erratum 3194386 + * ARM Cortex-X925 erratum 3324334 + * ARM Neoverse-N1 erratum 3324349 + * ARM Neoverse N2 erratum 3324339 + * ARM Neoverse-V1 erratum 3324341 + * ARM Neoverse V2 erratum 3324336 + * ARM Neoverse-V3 erratum 3312417 + + On affected cores "MSR SSBS, #0" instructions may not affect + subsequent speculative instructions, which may permit unexepected + speculative store bypassing. + + Work around this problem by placing a Speculation Barrier (SB) or + Instruction Synchronization Barrier (ISB) after kernel changes to + SSBS. The presence of the SSBS special-purpose register is hidden + from hwcaps and EL0 reads of ID_AA64PFR1_EL1, such that userspace + will use the PR_SPEC_STORE_BYPASS prctl to change SSBS. + + If unsure, say Y. + config CAVIUM_ERRATUM_22375 bool "Cavium erratum 22375, 24313" default y
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +2 -2
@@ -311,8 +311,8 @@ &hdmi_tx { <&reset RESET_HDMI_SYSTEM_RESET>, <&reset RESET_HDMI_TX>; reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; - clocks = <&clkc CLKID_HDMI_PCLK>, - <&clkc CLKID_CLK81>, + clocks = <&clkc CLKID_HDMI>, + <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; };
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +2 -2
@@ -323,8 +323,8 @@ &hdmi_tx { <&reset RESET_HDMI_SYSTEM_RESET>, <&reset RESET_HDMI_TX>; reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; - clocks = <&clkc CLKID_HDMI_PCLK>, - <&clkc CLKID_CLK81>, + clocks = <&clkc CLKID_HDMI>, + <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; };
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +2 -2
@@ -285,8 +285,8 @@ asm_sel { /* eMMC is shared pin with parallel NAND */ emmc_pins_default: emmc-pins-default { mux { - function = "emmc", "emmc_rst"; - groups = "emmc"; + function = "emmc"; + groups = "emmc", "emmc_rst"; }; /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +2 -2
@@ -249,8 +249,8 @@ &pio { /* eMMC is shared pin with parallel NAND */ emmc_pins_default: emmc-pins-default { mux { - function = "emmc", "emmc_rst"; - groups = "emmc"; + function = "emmc"; + groups = "emmc", "emmc_rst"; }; /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +14 -11
@@ -169,21 +169,24 @@ anx_bridge: anx7625@58 { vdd18-supply = <&pp1800_mipibrdg>; vdd33-supply = <&vddio_mipibrdg>; - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; + ports { + #address-cells = <1>; + #size-cells = <0>; - anx7625_in: endpoint { - remote-endpoint = <&dsi_out>; + port@0 { + reg = <0>; + + anx7625_in: endpoint { + remote-endpoint = <&dsi_out>; + }; }; - }; - port@1 { - reg = <1>; + port@1 { + reg = <1>; - anx7625_out: endpoint { - remote-endpoint = <&panel_in>; + anx7625_out: endpoint { + remote-endpoint = <&panel_in>; + }; }; }; };
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +0 -2
@@ -703,7 +703,6 @@ pins-tx { }; pins-rts { pinmux = <PINMUX_GPIO47__FUNC_URTS1>; - output-enable; }; pins-cts { pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
@@ -722,7 +721,6 @@ pins-tx { }; pins-rts { pinmux = <PINMUX_GPIO47__FUNC_URTS1>; - output-enable; }; pins-cts { pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
arch/arm64/boot/dts/qcom/ipq8074.dtsi +4 -2
@@ -91,7 +91,6 @@ soc: soc { ssphy_1: phy@58000 { compatible = "qcom,ipq8074-qmp-usb3-phy"; reg = <0x00058000 0x1c4>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges;
@@ -112,6 +111,7 @@ usb1_ssphy: phy@58200 { <0x00058800 0x1f8>, /* PCS */ <0x00058600 0x044>; /* PCS misc*/ #phy-cells = <0>; + #clock-cells = <1>; clocks = <&gcc GCC_USB1_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3phy_1_cc_pipe_clk";
@@ -134,7 +134,6 @@ qusb_phy_1: phy@59000 { ssphy_0: phy@78000 { compatible = "qcom,ipq8074-qmp-usb3-phy"; reg = <0x00078000 0x1c4>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges;
@@ -155,6 +154,7 @@ usb0_ssphy: phy@78200 { <0x00078800 0x1f8>, /* PCS */ <0x00078600 0x044>; /* PCS misc*/ #phy-cells = <0>; + #clock-cells = <1>; clocks = <&gcc GCC_USB0_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3phy_0_cc_pipe_clk";
@@ -514,6 +514,7 @@ dwc_0: dwc3@8a00000 { interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; phys = <&qusb_phy_0>, <&usb0_ssphy>; phy-names = "usb2-phy", "usb3-phy"; + snps,parkmode-disable-ss-quirk; snps,is-utmi-l1-suspend; snps,hird-threshold = /bits/ 8 <0x0>; snps,dis_u2_susphy_quirk;
@@ -554,6 +555,7 @@ dwc_1: dwc3@8c00000 { interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; phys = <&qusb_phy_1>, <&usb1_ssphy>; phy-names = "usb2-phy", "usb3-phy"; + snps,parkmode-disable-ss-quirk; snps,is-utmi-l1-suspend; snps,hird-threshold = /bits/ 8 <0x0>; snps,dis_u2_susphy_quirk;
arch/arm64/boot/dts/qcom/msm8996.dtsi +5 -3
@@ -615,7 +615,6 @@ soc: soc { pcie_phy: phy@34000 { compatible = "qcom,msm8996-qmp-pcie-phy"; reg = <0x00034000 0x488>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges;
@@ -637,6 +636,7 @@ pciephy_0: phy@35000 { <0x00035400 0x1dc>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "pcie_0_pipe_clk_src"; clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; clock-names = "pipe0";
@@ -650,6 +650,7 @@ pciephy_1: phy@36000 { <0x00036400 0x1dc>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "pcie_1_pipe_clk_src"; clocks = <&gcc GCC_PCIE_1_PIPE_CLK>; clock-names = "pipe1";
@@ -663,6 +664,7 @@ pciephy_2: phy@37000 { <0x00037400 0x1dc>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "pcie_2_pipe_clk_src"; clocks = <&gcc GCC_PCIE_2_PIPE_CLK>; clock-names = "pipe2";
@@ -1756,7 +1758,7 @@ ufshc: ufshc@624000 { <&gcc GCC_UFS_RX_SYMBOL_0_CLK>; freq-table-hz = <100000000 200000000>, - <0 0>, + <100000000 200000000>, <0 0>, <0 0>, <0 0>,
@@ -2642,7 +2644,6 @@ usb3_dwc3: dwc3@6a00000 { usb3phy: phy@7410000 { compatible = "qcom,msm8996-qmp-usb3-phy"; reg = <0x07410000 0x1c4>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges;
@@ -2663,6 +2664,7 @@ ssusb_phy_0: phy@7410200 { <0x07410600 0x1a8>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "usb3_phy_pipe_clk_src"; clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; clock-names = "pipe0";
arch/arm64/boot/dts/qcom/msm8998.dtsi +15 -21
@@ -1982,7 +1982,8 @@ usb3_dwc3: dwc3@a800000 { interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; - phys = <&qusb2phy>, <&usb1_ssphy>; + snps,parkmode-disable-ss-quirk; + phys = <&qusb2phy>, <&usb3phy>; phy-names = "usb2-phy", "usb3-phy"; snps,has-lpm-erratum; snps,hird-threshold = /bits/ 8 <0x10>;
@@ -1991,33 +1992,26 @@ usb3_dwc3: dwc3@a800000 { usb3phy: phy@c010000 { compatible = "qcom,msm8998-qmp-usb3-phy"; - reg = <0x0c010000 0x18c>; - status = "disabled"; - #clock-cells = <1>; - #address-cells = <1>; - #size-cells = <1>; - ranges; + reg = <0x0c010000 0x1000>; clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB3_CLKREF_CLK>, <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, - <&gcc GCC_USB3_CLKREF_CLK>; - clock-names = "aux", "cfg_ahb", "ref"; + <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "aux", + "ref", + "cfg_ahb", + "pipe"; + clock-output-names = "usb3_phy_pipe_clk_src"; + #clock-cells = <0>; + #phy-cells = <0>; resets = <&gcc GCC_USB3_PHY_BCR>, <&gcc GCC_USB3PHY_PHY_BCR>; - reset-names = "phy", "common"; + reset-names = "phy", + "phy_phy"; - usb1_ssphy: phy@c010200 { - reg = <0xc010200 0x128>, - <0xc010400 0x200>, - <0xc010c00 0x20c>, - <0xc010600 0x128>, - <0xc010800 0x200>; - #phy-cells = <0>; - clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; - clock-names = "pipe0"; - clock-output-names = "usb3_phy_pipe_clk_src"; - }; + status = "disabled"; }; qusb2phy: phy@c012000 {
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -0
@@ -2299,6 +2299,8 @@ ufs_mem_phy: phy@1d87000 { clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; status = "disabled";
arch/arm64/boot/dts/qcom/sm8250.dtsi +8 -14
@@ -1702,7 +1702,7 @@ ufs_mem_hc: ufshc@1d84000 { "jedec,ufs-2.0"; reg = <0 0x01d84000 0 0x3000>; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; - phys = <&ufs_mem_phy_lanes>; + phys = <&ufs_mem_phy>; phy-names = "ufsphy"; lanes-per-direction = <2>; #reset-cells = <1>;
@@ -1746,10 +1746,8 @@ ufs_mem_hc: ufshc@1d84000 { ufs_mem_phy: phy@1d87000 { compatible = "qcom,sm8250-qmp-ufs-phy"; - reg = <0 0x01d87000 0 0x1c0>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + reg = <0 0x01d87000 0 0x1000>; + clock-names = "ref", "ref_aux"; clocks = <&rpmhcc RPMH_CXO_CLK>,
@@ -1757,16 +1755,12 @@ ufs_mem_phy: phy@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; - status = "disabled"; - ufs_mem_phy_lanes: phy@1d87400 { - reg = <0 0x01d87400 0 0x16c>, - <0 0x01d87600 0 0x200>, - <0 0x01d87c00 0 0x200>, - <0 0x01d87800 0 0x16c>, - <0 0x01d87a00 0 0x200>; - #phy-cells = <0>; - }; + power-domains = <&gcc UFS_PHY_GDSC>; + + #phy-cells = <0>; + + status = "disabled"; }; ipa_virt: interconnect@1e00000 {
arch/arm64/boot/dts/qcom/sm8350.dtsi +0 -3
@@ -1119,7 +1119,6 @@ ufs_mem_phy: phy@1d87000 { reg = <0 0x01d87000 0 0x1c4>; #address-cells = <2>; #size-cells = <2>; - #clock-cells = <1>; ranges; clock-names = "ref", "ref_aux";
@@ -1254,7 +1253,6 @@ usb_1_qmpphy: phy-wrapper@88e9000 { <0 0x088e8000 0 0x20>; reg-names = "reg-base", "dp_com"; status = "disabled"; - #clock-cells = <1>; #address-cells = <2>; #size-cells = <2>; ranges;
@@ -1287,7 +1285,6 @@ usb_2_qmpphy: phy-wrapper@88eb000 { compatible = "qcom,sm8350-qmp-usb3-uni-phy"; reg = <0 0x088eb000 0 0x200>; status = "disabled"; - #clock-cells = <1>; #address-cells = <2>; #size-cells = <2>; ranges;
arch/arm64/boot/dts/rockchip/rk3328.dtsi +2 -2
@@ -807,8 +807,8 @@ cru: clock-controller@ff440000 { <0>, <24000000>, <24000000>, <24000000>, <15000000>, <15000000>, - <100000000>, <100000000>, - <100000000>, <100000000>, + <300000000>, <100000000>, + <400000000>, <100000000>, <50000000>, <100000000>, <100000000>, <100000000>, <50000000>, <50000000>,
arch/arm64/include/asm/barrier.h +4 -0
@@ -26,6 +26,10 @@#define __tsb_csync () asm volatile("hint #18" : : : "memory")#define csdb () asm volatile("hint #20" : : : "memory") +#define spec_bar () asm volatile(ALTERNATIVE("dsb nsh\nisb\n", \ + SB_BARRIER_INSN"nop\n", \ + ARM64_HAS_SB)) +#ifdef CONFIG_ARM64_PSEUDO_NMI #define pmr_sync () \ do { \
arch/arm64/include/asm/cputype.h +16 -0
@@ -85,6 +85,14 @@#define ARM_CPU_PART_CORTEX_X2 0xD48#define ARM_CPU_PART_NEOVERSE_N2 0xD49#define ARM_CPU_PART_CORTEX_A78C 0xD4B +#define ARM_CPU_PART_CORTEX_X1C 0xD4C +#define ARM_CPU_PART_CORTEX_X3 0xD4E +#define ARM_CPU_PART_NEOVERSE_V2 0xD4F +#define ARM_CPU_PART_CORTEX_A720 0xD81 +#define ARM_CPU_PART_CORTEX_X4 0xD82 +#define ARM_CPU_PART_NEOVERSE_V3 0xD84 +#define ARM_CPU_PART_CORTEX_X925 0xD85 +#define ARM_CPU_PART_CORTEX_A725 0xD87#define APM_CPU_PART_POTENZA 0x000
@@ -139,6 +147,14 @@#define MIDR_CORTEX_X2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X2)#define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2)#define MIDR_CORTEX_A78C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78C) +#define MIDR_CORTEX_X1C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1C) +#define MIDR_CORTEX_X3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X3) +#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2) +#define MIDR_CORTEX_A720 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720) +#define MIDR_CORTEX_X4 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X4) +#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3) +#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925) +#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)#define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)#define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)
arch/arm64/kernel/cpu_errata.c +31 -0
@@ -402,6 +402,30 @@ static struct midr_range trbe_write_out_of_range_cpus[] = { };#endif /* CONFIG_ARM64_WORKAROUND_TRBE_WRITE_OUT_OF_RANGE */ +#ifdef CONFIG_ARM64_ERRATUM_3194386 +static const struct midr_range erratum_spec_ssbs_list[] = { +MIDR_ALL_VERSIONS (MIDR_CORTEX_A76 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A77 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A78 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A78C ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A710 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A720 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_A725 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X1 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X1C ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X2 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X3 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X4 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X925 ), +MIDR_ALL_VERSIONS (MIDR_NEOVERSE_N1 ), +MIDR_ALL_VERSIONS (MIDR_NEOVERSE_N2 ), +MIDR_ALL_VERSIONS (MIDR_NEOVERSE_V1 ), +MIDR_ALL_VERSIONS (MIDR_NEOVERSE_V2 ), +MIDR_ALL_VERSIONS (MIDR_NEOVERSE_V3 ), + {} +}; +#endif + const struct arm64_cpu_capabilities arm64_errata[] = {#ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE {
@@ -648,6 +672,13 @@ const struct arm64_cpu_capabilities arm64_errata[] = { .type = ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE, CAP_MIDR_RANGE_LIST(trbe_write_out_of_range_cpus), }, +#endif +#ifdef CONFIG_ARM64_ERRATUM_3194386 + { + .desc = "SSBS not fully self-synchronizing", + .capability = ARM64_WORKAROUND_SPECULATIVE_SSBS, + ERRATA_MIDR_RANGE_LIST(erratum_spec_ssbs_list), + }, #endif { }
arch/arm64/kernel/cpufeature.c +74 -16
158 lines not on this page · raw message
arch/arm64/kernel/proton-pack.c +12 -0
@@ -558,6 +558,18 @@ static enum mitigation_state spectre_v4_enable_hw_mitigation(void)/* SCTLR_EL1.DSSBS was initialised to 0 during boot */ set_pstate_ssbs (0 ); + +/* +* SSBS is self-synchronizing and is intended to affect subsequent +* speculative instructions, but some CPUs can speculate with a stale +* value of SSBS. +* +* Mitigate this with an unconditional speculation barrier, as CPUs +* could mis-speculate branches and bypass a conditional barrier. +*/ +if (IS_ENABLED (CONFIG_ARM64_ERRATUM_3194386 )) +spec_bar (); +return SPECTRE_MITIGATED ; }
arch/arm64/tools/cpucaps +1 -0
@@ -70,3 +70,4 @@ WORKAROUND_NVIDIA_CARMEL_CNP WORKAROUND_QCOM_FALKOR_E1003 WORKAROUND_REPEAT_TLBI WORKAROUND_SPECULATIVE_AT +WORKAROUND_SPECULATIVE_SSBS
arch/m68k/amiga/config.c +9 -0
@@ -179,6 +179,15 @@ int __init amiga_parse_bootinfo(const struct bi_record *record) dev->slotsize =be16_to_cpu (cd->cd_SlotSize); dev->boardaddr =be32_to_cpu (cd->cd_BoardAddr); dev->boardsize =be32_to_cpu (cd->cd_BoardSize); + +/* CS-LAB Warp 1260 workaround */ +if (be16_to_cpu (dev->rom.er_Manufacturer) ==ZORRO_MANUF (ZORRO_PROD_CSLAB_WARP_1260 ) && + dev->rom.er_Product ==ZORRO_PROD (ZORRO_PROD_CSLAB_WARP_1260 )) { + +/* turn off all interrupts */ +pr_info ("Warp 1260 card detected: applying interrupt storm workaround\n" ); + *(uint32_t *)(dev->boardaddr +0x1000 ) =0xfff ; + } }else pr_warn ("amiga_parse_bootinfo: too many AutoConfig devices\n" );#endif /* CONFIG_ZORRO */
arch/m68k/atari/ataints.c +1 -5
@@ -302,11 +302,7 @@ void __init atari_init_IRQ(void)if (ATARIHW_PRESENT (SCU )) {/* init the SCU if present */ - tt_scu.sys_mask =0x10 ;/* enable VBL (for the cursor) and -* disable HSYNC interrupts (who -* needs them?) MFP and SCC are -* enabled in VME mask -*/ + tt_scu.sys_mask =0x0 ;/* disable all interrupts */ tt_scu.vme_mask =0x60 ;/* enable MFP and SCC ints */ }else {/* If no SCU and no Hades, the HSYNC interrupt needs to be
arch/m68k/include/asm/cmpxchg.h +1 -1
@@ -33,7 +33,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz x = tmp;break ;default : - tmp =__invalid_xchg_size (x, ptr, size); + x =__invalid_xchg_size (x, ptr, size);break ; }
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +61 -37
227 lines not on this page · raw message
arch/mips/include/asm/mach-loongson64/boot_param.h +2 -0
@@ -42,12 +42,14 @@ enum loongson_cpu_type { Legacy_1B =0x5 , Legacy_2G =0x6 , Legacy_2H =0x7 , + Legacy_2K =0x8 , Loongson_1A =0x100 , Loongson_1B =0x101 , Loongson_2E =0x200 , Loongson_2F =0x201 , Loongson_2G =0x202 , Loongson_2H =0x203 , + Loongson_2K =0x204 , Loongson_3A =0x300 , Loongson_3B =0x301 };
arch/mips/include/asm/mips-cm.h +4 -0
@@ -228,6 +228,10 @@ GCR_ACCESSOR_RO(32, 0x0d0, gic_status) GCR_ACCESSOR_RO(32, 0x0f0, cpc_status)#define CM_GCR_CPC_STATUS_EX BIT(0) +/* GCR_ACCESS - Controls core/IOCU access to GCRs */ +GCR_ACCESSOR_RW(32, 0x120, access_cm3) +#define CM_GCR_ACCESS_ACCESSEN GENMASK(7, 0) +/* GCR_L2_CONFIG - Indicates L2 cache configuration when Config5.L2C=1 */ GCR_ACCESSOR_RW(32, 0x130, l2_config)#define CM_GCR_L2_CONFIG_BYPASS BIT(20)
arch/mips/kernel/smp-cps.c +4 -1
@@ -230,7 +230,10 @@ static void boot_core(unsigned int core, unsigned int vpe_id)write_gcr_co_reset_ext_base (CM_GCR_Cx_RESET_EXT_BASE_UEB);/* Ensure the core can access the GCRs */ -set_gcr_access (1 << core); +if (mips_cm_revision () <CM_REV_CM3 ) +set_gcr_access (1 << core); +else +set_gcr_access_cm3 (1 << core);if (mips_cpc_present ()) {/* Reset the core */
arch/mips/loongson64/env.c +8 -0
@@ -88,6 +88,12 @@ void __init prom_lefi_init_env(void) cpu_clock_freq = ecpu->cpu_clock_freq; loongson_sysconf.cputype = ecpu->cputype;switch (ecpu->cputype) { +case Legacy_2K: +case Loongson_2K: + smp_group[0 ] =0x900000001fe11000 ; + loongson_sysconf.cores_per_node =2 ; + loongson_sysconf.cores_per_package =2 ; +break ;case Legacy_3A:case Loongson_3A: loongson_sysconf.cores_per_node =4 ;
@@ -221,6 +227,8 @@ void __init prom_lefi_init_env(void)default :break ; } + }else if ((read_c0_prid () &PRID_IMP_MASK ) ==PRID_IMP_LOONGSON_64R ) { + loongson_fdt_blob = __dtb_loongson64_2core_2k1000_begin; }else if ((read_c0_prid () &PRID_IMP_MASK ) ==PRID_IMP_LOONGSON_64G ) {if (loongson_sysconf.bridgetype ==LS7A ) loongson_fdt_blob = __dtb_loongson64g_4core_ls7a_begin;
arch/mips/loongson64/reset.c +16 -22
@@ -11,6 +11,7 @@#include <linux/init.h> #include <linux/kexec.h> #include <linux/pm.h> +#include <linux/reboot.h> #include <linux/slab.h> #include <asm/bootinfo.h>
@@ -21,36 +22,21 @@#include <loongson.h> #include <boot_param.h> -static void loongson_restart (char *command) +static int firmware_restart (struct sys_off_data *unusedd) {void (*fw_restart)(void ) = (void *)loongson_sysconf.restart_addr;fw_restart (); -while (1 ) { -if (cpu_wait) -cpu_wait (); - } +return NOTIFY_DONE ; } -static void loongson_poweroff (void ) +static int firmware_poweroff (struct sys_off_data *unused) {void (*fw_poweroff)(void ) = (void *)loongson_sysconf.poweroff_addr;fw_poweroff (); -while (1 ) { -if (cpu_wait) -cpu_wait (); - } -} - -static void loongson_halt (void ) -{ -pr_notice ("\n\n** You can safely turn off the power now **\n\n" ); -while (1 ) { -if (cpu_wait) -cpu_wait (); - } +return NOTIFY_DONE ; }#ifdef CONFIG_KEXEC
@@ -154,9 +140,17 @@ static void loongson_crash_shutdown(struct pt_regs *regs)static int __init mips_reboot_setup (void ) { - _machine_restart = loongson_restart; - _machine_halt = loongson_halt; - pm_power_off = loongson_poweroff; +if (loongson_sysconf.restart_addr) { +register_sys_off_handler (SYS_OFF_MODE_RESTART , +SYS_OFF_PRIO_FIRMWARE , + firmware_restart,NULL ); + } + +if (loongson_sysconf.poweroff_addr) { +register_sys_off_handler (SYS_OFF_MODE_POWER_OFF , +SYS_OFF_PRIO_FIRMWARE , + firmware_poweroff,NULL ); + }#ifdef CONFIG_KEXEC kexec_argv =kmalloc (KEXEC_ARGV_SIZE ,GFP_KERNEL );
arch/mips/loongson64/smp.c +21 -2
@@ -479,12 +479,25 @@ static void loongson3_smp_finish(void)static void __init loongson3_smp_setup (void ) {int i =0 , num =0 ;/* i: physical id, num: logical id */ +int max_cpus =0 ;init_cpu_possible (cpu_none_mask); +for (i =0 ; i <ARRAY_SIZE (smp_group); i++) { +if (!smp_group[i]) +break ; + max_cpus += loongson_sysconf.cores_per_node; + } + +if (max_cpus < loongson_sysconf.nr_cpus) { +pr_err ("SMP Groups are less than the number of CPUs\n" ); + loongson_sysconf.nr_cpus = max_cpus ? max_cpus :1 ; + } +/* For unified kernel, NR_CPUS is the maximum possible value, * loongson_sysconf.nr_cpus is the really present value */ + i =0 ;while (i < loongson_sysconf.nr_cpus) {if (loongson_sysconf.reserved_cpus_mask & (1 <<i)) {/* Reserved physical CPU cores */
@@ -505,14 +518,14 @@ static void __init loongson3_smp_setup(void) __cpu_logical_map[num] =-1 ; num++; } -csr_ipi_probe ();ipi_set0_regs_init ();ipi_clear0_regs_init ();ipi_status0_regs_init ();ipi_en0_regs_init ();ipi_mailbox_buf_init (); -ipi_write_enable (0 ); +if (smp_group[0 ]) +ipi_write_enable (0 );cpu_set_core (&cpu_data[0 ],cpu_logical_map (0 ) % loongson_sysconf.cores_per_package);
@@ -830,6 +843,9 @@ static int loongson3_disable_clock(unsigned int cpu)uint64_t core_id =cpu_core (&cpu_data[cpu]);uint64_t package_id = cpu_data[cpu].package; +if (!loongson_chipcfg[package_id] || !loongson_freqctrl[package_id]) +return 0 ; +if ((read_c0_prid () &PRID_REV_MASK ) ==PRID_REV_LOONGSON3A_R1 ) {LOONGSON_CHIPCFG (package_id) &= ~(1 << (12 + core_id)); }else {
@@ -844,6 +860,9 @@ static int loongson3_enable_clock(unsigned int cpu)uint64_t core_id =cpu_core (&cpu_data[cpu]);uint64_t package_id = cpu_data[cpu].package; +if (!loongson_chipcfg[package_id] || !loongson_freqctrl[package_id]) +return 0 ; +if ((read_c0_prid () &PRID_REV_MASK ) ==PRID_REV_LOONGSON3A_R1 ) {LOONGSON_CHIPCFG (package_id) |=1 << (12 + core_id); }else {
arch/mips/pci/pcie-octeon.c +0 -0
arch/mips/sgi-ip30/ip30-console.c +1 -0
@@ -1,6 +1,7 @@// SPDX-License-Identifier: GPL-2.0 #include <linux/io.h> +#include <linux/processor.h> #include <asm/sn/ioc3.h>
arch/powerpc/configs/85xx-hw.config +2 -0
@@ -24,6 +24,7 @@ CONFIG_FS_ENET=y CONFIG_FSL_CORENET_CF=y CONFIG_FSL_DMA=y CONFIG_FSL_HV_MANAGER=y +CONFIG_FSL_IFC=y CONFIG_FSL_PQ_MDIO=y CONFIG_FSL_RIO=y CONFIG_FSL_XGMAC_MDIO=y
@@ -58,6 +59,7 @@ CONFIG_INPUT_FF_MEMLESS=m CONFIG_MARVELL_PHY=y CONFIG_MDIO_BUS_MUX_GPIO=y CONFIG_MDIO_BUS_MUX_MMIOREG=y +CONFIG_MEMORY=y CONFIG_MMC_SDHCI_OF_ESDHC=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI=y
arch/powerpc/include/asm/interrupt.h +10 -4
@@ -285,18 +285,24 @@ static inline void interrupt_nmi_enter_prepare(struct pt_regs *regs, struct inte/* * Do not use nmi_enter() for pseries hash guest taking a real-mode * NMI because not everything it touches is within the RMA limit. +* +* Likewise, do not use it in real mode if percpu first chunk is not +* embedded. With CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK enabled there +* are chances where percpu allocation can come from vmalloc area. */ -if (!IS_ENABLED (CONFIG_PPC_BOOK3S_64 ) || +if ((!IS_ENABLED (CONFIG_PPC_BOOK3S_64 ) || !firmware_has_feature (FW_FEATURE_LPAR ) || -radix_enabled () || (mfmsr () &MSR_DR )) +radix_enabled () || (mfmsr () &MSR_DR )) && + !percpu_first_chunk_is_paged)nmi_enter (); }static inline void interrupt_nmi_exit_prepare (struct pt_regs *regs,struct interrupt_nmi_state *state) { -if (!IS_ENABLED (CONFIG_PPC_BOOK3S_64 ) || +if ((!IS_ENABLED (CONFIG_PPC_BOOK3S_64 ) || !firmware_has_feature (FW_FEATURE_LPAR ) || -radix_enabled () || (mfmsr () &MSR_DR )) +radix_enabled () || (mfmsr () &MSR_DR )) && + !percpu_first_chunk_is_paged)nmi_exit ();/*
arch/powerpc/include/asm/percpu.h +10 -0
@@ -15,6 +15,16 @@#endif /* CONFIG_SMP */ #endif /* __powerpc64__ */ +#if defined(CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK ) && defined(CONFIG_SMP ) +#include <linux/jump_label.h> +DECLARE_STATIC_KEY_FALSE (__percpu_first_chunk_is_paged); + +#define percpu_first_chunk_is_paged \ + (static_key_enabled(&__percpu_first_chunk_is_paged.key)) +#else +#define percpu_first_chunk_is_paged false +#endif /* CONFIG_PPC64 && CONFIG_SMP */ +#include <asm-generic/percpu.h> #include <asm/paca.h>
arch/powerpc/kernel/setup_64.c +2 -0
@@ -825,6 +825,7 @@ static int pcpu_cpu_distance(unsigned int from, unsigned int to)unsigned long __per_cpu_offset[NR_CPUS ]__read_mostly ;EXPORT_SYMBOL (__per_cpu_offset); +DEFINE_STATIC_KEY_FALSE (__percpu_first_chunk_is_paged);static void __init pcpu_populate_pte (unsigned long addr) {
@@ -904,6 +905,7 @@ void __init setup_per_cpu_areas(void)if (rc <0 )panic ("cannot initialize percpu area (err=%d)" , rc); +static_key_enable (&__percpu_first_chunk_is_paged.key); delta = (unsigned long )pcpu_base_addr - (unsigned long )__per_cpu_start;for_each_possible_cpu (cpu) { __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu];
arch/powerpc/kvm/powerpc.c +3 -1
@@ -1963,8 +1963,10 @@ static int kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu,break ; r = -ENXIO ; -if (!xive_enabled ()) +if (!xive_enabled ()) { +fdput (f);break ; + } r = -EPERM ; dev =kvm_device_from_filp (f.file);
arch/powerpc/xmon/ppc-dis.c +11 -22
@@ -122,32 +122,21 @@ int print_insn_powerpc (unsigned long insn, unsigned long memaddr)bool insn_is_short;ppc_cpu_t dialect; - dialect =PPC_OPCODE_PPC |PPC_OPCODE_COMMON - |PPC_OPCODE_64 |PPC_OPCODE_POWER4 |PPC_OPCODE_ALTIVEC ; + dialect =PPC_OPCODE_PPC |PPC_OPCODE_COMMON ; -if (cpu_has_feature (CPU_FTRS_POWER5 )) - dialect |=PPC_OPCODE_POWER5 ; +if (IS_ENABLED (CONFIG_PPC64 )) + dialect |=PPC_OPCODE_64 |PPC_OPCODE_POWER4 |PPC_OPCODE_CELL | +PPC_OPCODE_POWER5 |PPC_OPCODE_POWER6 |PPC_OPCODE_POWER7 |PPC_OPCODE_POWER8 | +PPC_OPCODE_POWER9 ; -if (cpu_has_feature (CPU_FTRS_CELL )) - dialect |= (PPC_OPCODE_CELL |PPC_OPCODE_ALTIVEC ); +if (cpu_has_feature (CPU_FTR_TM )) + dialect |=PPC_OPCODE_HTM ; -if (cpu_has_feature (CPU_FTRS_POWER6 )) - dialect |= (PPC_OPCODE_POWER5 |PPC_OPCODE_POWER6 |PPC_OPCODE_ALTIVEC ); +if (cpu_has_feature (CPU_FTR_ALTIVEC )) + dialect |=PPC_OPCODE_ALTIVEC |PPC_OPCODE_ALTIVEC2 ; -if (cpu_has_feature (CPU_FTRS_POWER7 )) - dialect |= (PPC_OPCODE_POWER5 |PPC_OPCODE_POWER6 |PPC_OPCODE_POWER7 - |PPC_OPCODE_ALTIVEC |PPC_OPCODE_VSX ); - -if (cpu_has_feature (CPU_FTRS_POWER8 )) - dialect |= (PPC_OPCODE_POWER5 |PPC_OPCODE_POWER6 |PPC_OPCODE_POWER7 - |PPC_OPCODE_POWER8 |PPC_OPCODE_HTM - |PPC_OPCODE_ALTIVEC |PPC_OPCODE_ALTIVEC2 |PPC_OPCODE_VSX ); - -if (cpu_has_feature (CPU_FTRS_POWER9 )) - dialect |= (PPC_OPCODE_POWER5 |PPC_OPCODE_POWER6 |PPC_OPCODE_POWER7 - |PPC_OPCODE_POWER8 |PPC_OPCODE_POWER9 |PPC_OPCODE_HTM - |PPC_OPCODE_ALTIVEC |PPC_OPCODE_ALTIVEC2 - |PPC_OPCODE_VSX |PPC_OPCODE_VSX3 ); +if (cpu_has_feature (CPU_FTR_VSX )) + dialect |=PPC_OPCODE_VSX |PPC_OPCODE_VSX3 ;/* Get the major opcode of the insn. */ opcode =NULL ;
arch/riscv/mm/fault.c +9 -8
@@ -60,26 +60,27 @@ static inline void no_context(struct pt_regs *regs, unsigned long addr)static inline void mm_fault_error (struct pt_regs *regs,unsigned long addr,vm_fault_t fault) { +if (!user_mode (regs)) { +no_context (regs, addr); +return ; + } +if (fault &VM_FAULT_OOM ) {/* * We ran out of memory, call the OOM killer, and return the userspace * (which will retry the fault, or kill us if we got oom-killed). */ -if (!user_mode (regs)) { -no_context (regs, addr); -return ; - }pagefault_out_of_memory ();return ; }else if (fault &VM_FAULT_SIGBUS ) {/* Kernel mode? Handle exceptions or die */ -if (!user_mode (regs)) { -no_context (regs, addr); -return ; - }do_trap (regs,SIGBUS ,BUS_ADRERR , addr);return ; + }else if (fault &VM_FAULT_SIGSEGV ) { +do_trap (regs,SIGSEGV ,SEGV_MAPERR , addr); +return ; } +BUG (); }
arch/sparc/include/asm/oplib_64.h +1 -0
@@ -247,6 +247,7 @@ void prom_sun4v_guest_soft_state(void);int prom_ihandle2path (int handle,char *buffer,int bufsize);/* Client interface level routines. */ +void prom_cif_init (void *cif_handler);void p1275_cmd_direct (unsigned long *);#endif /* !(__SPARC64_OPLIB_H) */
arch/sparc/prom/init_64.c +0 -3
@@ -26,9 +26,6 @@ phandle prom_chosen_node;* routines in the prom library. * It gets passed the pointer to the PROM vector. */ - -extern void prom_cif_init (void *); -void __init prom_init (void *cif_handler) {phandle node;
arch/sparc/prom/p1275.c +1 -1
@@ -49,7 +49,7 @@ void p1275_cmd_direct(unsigned long *args)local_irq_restore (flags); } -void prom_cif_init (void *cif_handler,void *cif_stack) +void prom_cif_init (void *cif_handler) { p1275buf.prom_cif_handler = (void (*)(long *))cif_handler; }
arch/um/kernel/time.c +2 -2
@@ -874,9 +874,9 @@ int setup_time_travel_start(char *str) return 1; } -__setup ("time-travel-start" , setup_time_travel_start); +__setup ("time-travel-start=" , setup_time_travel_start);__uml_help (setup_time_travel_start, -"time-travel-start=<seconds>\n" +"time-travel-start=<nanoseconds>\n" "Configure the UML instance's wall clock to start at this value rather than\n" "the host's wall clock at the time of UML boot.\n" );#endif
arch/um/os-Linux/signal.c +98 -20
160 lines not on this page · raw message
arch/x86/events/intel/pt.c +2 -2
@@ -861,7 +861,7 @@ static void pt_update_head(struct pt *pt)*/ static void *pt_buffer_region (struct pt_buffer *buf) { -return phys_to_virt (TOPA_ENTRY (buf->cur, buf->cur_idx)->base <<TOPA_SHIFT ); +return phys_to_virt ((phys_addr_t )TOPA_ENTRY (buf->cur, buf->cur_idx)->base <<TOPA_SHIFT ); }/**
@@ -973,7 +973,7 @@ pt_topa_entry_for_page(struct pt_buffer *buf, unsigned int pg)* order allocations, there shouldn't be many of these. */ list_for_each_entry (topa, &buf->tables, list) { -if (topa->offset + topa->size > pg <<PAGE_SHIFT ) +if (topa->offset + topa->size > (unsigned long )pg <<PAGE_SHIFT ) goto found; }
arch/x86/events/intel/pt.h +2 -2
@@ -33,8 +33,8 @@ struct topa_entry { u64 rsvd2 : 1; u64 size : 4; u64 rsvd3 : 2; - u64 base : 36; - u64 rsvd4 : 16; + u64 base : 40; + u64 rsvd4 : 12; };/* TSC to Core Crystal Clock Ratio */
arch/x86/events/intel/uncore_snbep.c +4 -2
@@ -459,6 +459,7 @@#define SPR_RAW_EVENT_MASK_EXT 0xffffff/* SPR CHA */ +#define SPR_CHA_EVENT_MASK_EXT 0xffffffff#define SPR_CHA_PMON_CTL_TID_EN (1 << 16)#define SPR_CHA_PMON_EVENT_MASK (SNBEP_PMON_RAW_EVENT_MASK | \ SPR_CHA_PMON_CTL_TID_EN)
@@ -475,6 +476,7 @@ DEFINE_UNCORE_FORMAT_ATTR(umask_ext, umask, "config:8-15,32-43,45-55");DEFINE_UNCORE_FORMAT_ATTR (umask_ext2, umask,"config:8-15,32-57" );DEFINE_UNCORE_FORMAT_ATTR (umask_ext3, umask,"config:8-15,32-39" );DEFINE_UNCORE_FORMAT_ATTR (umask_ext4, umask,"config:8-15,32-55" ); +DEFINE_UNCORE_FORMAT_ATTR (umask_ext5, umask,"config:8-15,32-63" );DEFINE_UNCORE_FORMAT_ATTR (qor, qor,"config:16" );DEFINE_UNCORE_FORMAT_ATTR (edge, edge,"config:18" );DEFINE_UNCORE_FORMAT_ATTR (tid_en, tid_en,"config:19" );
@@ -5648,7 +5650,7 @@ static struct intel_uncore_ops spr_uncore_chabox_ops = {static struct attribute *spr_uncore_cha_formats_attr[] = { &format_attr_event.attr, - &format_attr_umask_ext4.attr, + &format_attr_umask_ext5.attr, &format_attr_tid_en2.attr, &format_attr_edge.attr, &format_attr_inv.attr,
@@ -5684,7 +5686,7 @@ ATTRIBUTE_GROUPS(uncore_alias);static struct intel_uncore_type spr_uncore_chabox = { .name ="cha" , .event_mask =SPR_CHA_PMON_EVENT_MASK , - .event_mask_ext =SPR_RAW_EVENT_MASK_EXT , + .event_mask_ext =SPR_CHA_EVENT_MASK_EXT , .num_shared_regs =1 , .constraints = skx_uncore_chabox_constraints, .ops = &spr_uncore_chabox_ops,
arch/x86/kernel/cpu/mtrr/mtrr.c +1 -1
@@ -816,7 +816,7 @@ void mtrr_save_state(void) {int first_cpu; -if (!mtrr_enabled ()) +if (!mtrr_enabled () || !mtrr_state.have_fixed)return ; first_cpu =cpumask_first (cpu_online_mask);
arch/x86/kernel/devicetree.c +1 -1
@@ -92,7 +92,7 @@ static int x86_of_pci_irq_enable(struct pci_dev *dev) ret =pci_read_config_byte (dev,PCI_INTERRUPT_PIN , &pin);if (ret) -return ret; +return pcibios_err_to_errno (ret);if (!pin)return 0 ;
arch/x86/kvm/vmx/vmx.c +8 -3
@@ -4706,14 +4706,19 @@ static int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection)return !vmx_nmi_blocked (vcpu); } +bool __vmx_interrupt_blocked (struct kvm_vcpu *vcpu) +{ +return !(vmx_get_rflags (vcpu) &X86_EFLAGS_IF ) || + (vmcs_read32 (GUEST_INTERRUPTIBILITY_INFO ) & + (GUEST_INTR_STATE_STI |GUEST_INTR_STATE_MOV_SS )); +} +bool vmx_interrupt_blocked (struct kvm_vcpu *vcpu) {if (is_guest_mode (vcpu) &&nested_exit_on_intr (vcpu))return false; -return !(vmx_get_rflags (vcpu) &X86_EFLAGS_IF ) || - (vmcs_read32 (GUEST_INTERRUPTIBILITY_INFO ) & - (GUEST_INTR_STATE_STI |GUEST_INTR_STATE_MOV_SS )); +return __vmx_interrupt_blocked (vcpu); }static int vmx_interrupt_allowed (struct kvm_vcpu *vcpu,bool for_injection)
arch/x86/kvm/vmx/vmx.h +1 -0
@@ -388,6 +388,7 @@ u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);bool vmx_guest_inject_ac (struct kvm_vcpu *vcpu);void vmx_update_exception_bitmap (struct kvm_vcpu *vcpu);bool vmx_nmi_blocked (struct kvm_vcpu *vcpu); +bool __vmx_interrupt_blocked (struct kvm_vcpu *vcpu);bool vmx_interrupt_blocked (struct kvm_vcpu *vcpu);bool vmx_get_nmi_mask (struct kvm_vcpu *vcpu);void vmx_set_nmi_mask (struct kvm_vcpu *vcpu,bool masked);
arch/x86/mm/pti.c +4 -4
@@ -374,14 +374,14 @@ pti_clone_pgtable(unsigned long start, unsigned long end,*/ *target_pmd = *pmd; - addr +=PMD_SIZE ; + addr =round_up (addr +1 ,PMD_SIZE ); }else if (level ==PTI_CLONE_PTE ) {/* Walk the page-table down to the pte level */ pte =pte_offset_kernel (pmd, addr);if (pte_none (*pte)) { - addr +=PAGE_SIZE ; + addr =round_up (addr +1 ,PAGE_SIZE );continue ; }
@@ -401,7 +401,7 @@ pti_clone_pgtable(unsigned long start, unsigned long end,/* Clone the PTE */ *target_pte = *pte; - addr +=PAGE_SIZE ; + addr =round_up (addr +1 ,PAGE_SIZE ); }else {BUG ();
@@ -496,7 +496,7 @@ static void pti_clone_entry_text(void) {pti_clone_pgtable ((unsigned long ) __entry_text_start, (unsigned long ) __entry_text_end, -PTI_CLONE_PMD ); +PTI_LEVEL_KERNEL_IMAGE ); }/*
arch/x86/pci/intel_mid_pci.c +2 -2
@@ -233,9 +233,9 @@ static int intel_mid_pci_irq_enable(struct pci_dev *dev)return 0 ; ret =pci_read_config_byte (dev,PCI_INTERRUPT_LINE , &gsi); -if (ret <0 ) { +if (ret) {dev_warn (&dev->dev,"Failed to read interrupt line: %d\n" , ret); -return ret; +return pcibios_err_to_errno (ret); } id =x86_match_cpu (intel_mid_cpu_ids);
arch/x86/pci/xen.c +2 -2
@@ -37,10 +37,10 @@ static int xen_pcifront_enable_irq(struct pci_dev *dev)u8 gsi; rc =pci_read_config_byte (dev,PCI_INTERRUPT_LINE , &gsi); -if (rc <0 ) { +if (rc) {dev_warn (&dev->dev,"Xen PCI: failed to read interrupt line: %d\n" , rc); -return rc; +return pcibios_err_to_errno (rc); }/* In PV DomU the Xen PCI backend puts the PIRQ in the interrupt line.*/ pirq = gsi;
arch/x86/platform/intel/iosf_mbi.c +2 -2
@@ -62,7 +62,7 @@ static int iosf_mbi_pci_read_mdr(u32 mcrx, u32 mcr, u32 *mdr) fail_read:dev_err (&mbi_pdev->dev,"PCI config access failed with %d\n" , result); -return result; +return pcibios_err_to_errno (result); }static int iosf_mbi_pci_write_mdr (u32 mcrx,u32 mcr,u32 mdr)
@@ -91,7 +91,7 @@ static int iosf_mbi_pci_write_mdr(u32 mcrx, u32 mcr, u32 mdr) fail_write:dev_err (&mbi_pdev->dev,"PCI config access failed with %d\n" , result); -return result; +return pcibios_err_to_errno (result); }int iosf_mbi_read (u8 port,u8 opcode,u32 offset,u32 *mdr)
arch/x86/xen/p2m.c +2 -2
@@ -736,7 +736,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,* immediate unmapping. */ map_ops[i].status = GNTST_general_error; - unmap[0 ].host_addr = map_ops[i].host_addr, + unmap[0 ].host_addr = map_ops[i].host_addr; unmap[0 ].handle = map_ops[i].handle; map_ops[i].handle =INVALID_GRANT_HANDLE ;if (map_ops[i].flags & GNTMAP_device_map)
@@ -746,7 +746,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,if (kmap_ops) { kmap_ops[i].status = GNTST_general_error; - unmap[1 ].host_addr = kmap_ops[i].host_addr, + unmap[1 ].host_addr = kmap_ops[i].host_addr; unmap[1 ].handle = kmap_ops[i].handle; kmap_ops[i].handle =INVALID_GRANT_HANDLE ;if (kmap_ops[i].flags & GNTMAP_device_map)
block/bio-integrity.c +12 -9
@@ -203,8 +203,7 @@ bool bio_integrity_prep(struct bio *bio)unsigned long start, end;unsigned int len, nr_pages;unsigned int bytes, offset, i; -unsigned int intervals; -blk_status_t status; +gfp_t gfp =GFP_NOIO ;if (!bi)return true;
@@ -227,13 +226,19 @@ bool bio_integrity_prep(struct bio *bio)if (!bi->profile->generate_fn || !(bi->flags &BLK_INTEGRITY_GENERATE ))return true; + +/* +* Zero the memory allocated to not leak uninitialized kernel +* memory to disk. For PI this only affects the app tag, but +* for non-integrity metadata it affects the entire metadata +* buffer. +*/ + gfp |= __GFP_ZERO; } - intervals =bio_integrity_intervals (bi,bio_sectors (bio));/* Allocate kernel buffer for protection data */ - len = intervals * bi->tuple_size; - buf =kmalloc (len,GFP_NOIO ); - status =BLK_STS_RESOURCE ; + len =bio_integrity_bytes (bi,bio_sectors (bio)); + buf =kmalloc (len, gfp);if (unlikely (buf ==NULL )) {printk (KERN_ERR "could not allocate integrity buffer\n" ); goto err_end_io;
@@ -248,7 +253,6 @@ bool bio_integrity_prep(struct bio *bio)if (IS_ERR (bip)) {printk (KERN_ERR "could not allocate data integrity bioset\n" );kfree (buf); - status =BLK_STS_RESOURCE ; goto err_end_io; }
@@ -276,7 +280,6 @@ bool bio_integrity_prep(struct bio *bio)if (ret ==0 ) {printk (KERN_ERR "could not attach integrity payload\n" ); - status =BLK_STS_RESOURCE ; goto err_end_io; }
@@ -298,7 +301,7 @@ bool bio_integrity_prep(struct bio *bio)return true; err_end_io: - bio->bi_status = status; + bio->bi_status =BLK_STS_RESOURCE ;bio_endio (bio);return false;
drivers/acpi/battery.c +12 -4
@@ -676,12 +676,18 @@ static ssize_t acpi_battery_alarm_store(struct device *dev,return count; } -static const struct device_attribute alarm_attr = { +static struct device_attribute alarm_attr = { .attr = {.name ="alarm" , .mode =0644 }, .show = acpi_battery_alarm_show, .store = acpi_battery_alarm_store, }; +static struct attribute *acpi_battery_attrs[] = { + &alarm_attr.attr, +NULL +}; +ATTRIBUTE_GROUPS (acpi_battery); +/* * The Battery Hooking API *
@@ -818,7 +824,10 @@ static void __exit battery_hook_exit(void)static int sysfs_add_battery (struct acpi_battery *battery) { -struct power_supply_config psy_cfg = { .drv_data = battery, }; +struct power_supply_config psy_cfg = { + .drv_data = battery, + .attr_grp = acpi_battery_groups, + };bool full_cap_broken = false; if (!ACPI_BATTERY_CAPACITY_VALID(battery->full_charge_capacity) &&
@@ -863,7 +872,7 @@ static int sysfs_add_battery(struct acpi_battery *battery)return result; }battery_hook_add_battery (battery); -return device_create_file (&battery->bat->dev, &alarm_attr); +return 0 ; }static void sysfs_remove_battery (struct acpi_battery *battery)
@@ -874,7 +883,6 @@ static void sysfs_remove_battery(struct acpi_battery *battery)return ; }battery_hook_remove_battery (battery); -device_remove_file (&battery->bat->dev, &alarm_attr);power_supply_unregister (battery->bat); battery->bat =NULL ;mutex_unlock (&battery->sysfs_lock);
drivers/acpi/sbs.c +12 -11
@@ -77,7 +77,6 @@ struct acpi_battery {u16 spec;u8 id; u8 present:1; - u8 have_sysfs_alarm:1; };#define to_acpi_battery (x) power_supply_get_drvdata(x)
@@ -462,12 +461,18 @@ static ssize_t acpi_battery_alarm_store(struct device *dev,return count; } -static const struct device_attribute alarm_attr = { +static struct device_attribute alarm_attr = { .attr = {.name ="alarm" , .mode =0644 }, .show = acpi_battery_alarm_show, .store = acpi_battery_alarm_store, }; +static struct attribute *acpi_battery_attrs[] = { + &alarm_attr.attr, +NULL +}; +ATTRIBUTE_GROUPS (acpi_battery); +/* -------------------------------------------------------------------------- Driver Interface -------------------------------------------------------------------------- */
@@ -509,7 +514,10 @@ static int acpi_battery_read(struct acpi_battery *battery)static int acpi_battery_add (struct acpi_sbs *sbs,int id) {struct acpi_battery *battery = &sbs->battery[id]; -struct power_supply_config psy_cfg = { .drv_data = battery, }; +struct power_supply_config psy_cfg = { + .drv_data = battery, + .attr_grp = acpi_battery_groups, + };int result; battery->id = id;
@@ -539,10 +547,6 @@ static int acpi_battery_add(struct acpi_sbs *sbs, int id) goto end; } - result =device_create_file (&battery->bat->dev, &alarm_attr); -if (result) - goto end; - battery->have_sysfs_alarm =1 ; end: pr_info("%s [%s]: Battery Slot [%s] (battery %s)\n", ACPI_SBS_DEVICE_NAME, acpi_device_bid(sbs->device),
@@ -554,11 +558,8 @@ static void acpi_battery_remove(struct acpi_sbs *sbs, int id) {struct acpi_battery *battery = &sbs->battery[id]; -if (battery->bat) { -if (battery->have_sysfs_alarm) -device_remove_file (&battery->bat->dev, &alarm_attr); +if (battery->bat)power_supply_unregister (battery->bat); - } }static int acpi_charger_add (struct acpi_sbs *sbs)
drivers/android/binder.c +1 -3
@@ -542,9 +542,7 @@ static bool binder_has_work(struct binder_thread *thread, bool do_proc_work)static bool binder_available_for_proc_work_ilocked (struct binder_thread *thread) {return !thread->transaction_stack && -binder_worklist_empty_ilocked (&thread->todo) && - (thread->looper & (BINDER_LOOPER_STATE_ENTERED | -BINDER_LOOPER_STATE_REGISTERED )); +binder_worklist_empty_ilocked (&thread->todo); } static void binder_wakeup_poll_threads_ilocked(struct binder_proc *proc,
drivers/ata/libata-scsi.c +9 -1
@@ -874,7 +874,15 @@ static void ata_gen_passthru_sense(struct ata_queued_cmd *qc) }else {/* * ATA PASS-THROUGH INFORMATION AVAILABLE -* Always in descriptor format sense. +* +* Note: we are supposed to call ata_scsi_set_sense(), which +* respects the D_SENSE bit, instead of unconditionally +* generating the sense data in descriptor format. However, +* because hdparm, hddtemp, and udisks incorrectly assume sense +* data in descriptor format, without even looking at the +* RESPONSE CODE field in the returned sense data (to see which +* format the returned sense data is in), we are stuck with +* being bug compatible with older kernels. */ scsi_build_sense (cmd,1 ,RECOVERED_ERROR ,0 ,0x1D ); }
drivers/base/core.c +8 -5
@@ -25,6 +25,7 @@#include <linux/mutex.h> #include <linux/pm_runtime.h> #include <linux/netdevice.h> +#include <linux/rcupdate.h> #include <linux/sched/signal.h> #include <linux/sched/mm.h> #include <linux/swiotlb.h>
@@ -2305,6 +2306,7 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj, struct kobj_uevent_env *env) {struct device *dev =kobj_to_dev (kobj); +struct device_driver *driver;int retval =0 ;/* add device node properties if present */
@@ -2333,8 +2335,12 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj,if (dev->type && dev->type->name)add_uevent_var (env,"DEVTYPE=%s" , dev->type->name); -if (dev->driver) -add_uevent_var (env,"DRIVER=%s" , dev->driver->name); +/* Synchronize with module_remove_driver() */ +rcu_read_lock (); + driver =READ_ONCE (dev->driver); +if (driver) +add_uevent_var (env,"DRIVER=%s" , driver->name); +rcu_read_unlock ();/* Add common DT information about the device */ of_device_uevent (dev, env);
@@ -2404,11 +2410,8 @@ static ssize_t uevent_show(struct device *dev, struct device_attribute *attr,if (!env)return -ENOMEM ; -/* Synchronize with really_probe() */ -device_lock (dev);/* let the kset specific function add its keys */ retval = kset->uevent_ops->uevent (kset, &dev->kobj, env); -device_unlock (dev);if (retval) goto out;
drivers/base/devres.c +9 -2
@@ -890,9 +890,12 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp)/* * Otherwise: allocate new, larger chunk. We need to allocate before * taking the lock as most probably the caller uses GFP_KERNEL. +* alloc_dr() will call check_dr_size() to reserve extra memory +* for struct devres automatically, so size @new_size user request +* is delivered to it directly as devm_kmalloc() does. */ new_dr =alloc_dr (devm_kmalloc_release, - total_new_size, gfp,dev_to_node (dev)); + new_size, gfp,dev_to_node (dev));if (!new_dr)return NULL ;
@@ -1216,7 +1219,11 @@ EXPORT_SYMBOL_GPL(__devm_alloc_percpu);*/ void devm_free_percpu (struct device *dev,void __percpu *pdata) { -WARN_ON (devres_destroy (dev, devm_percpu_release, devm_percpu_match, +/* +* Use devres_release() to prevent memory leakage as +* devm_free_pages() does. +*/ +WARN_ON (devres_release (dev, devm_percpu_release, devm_percpu_match, (__force void *)pdata)); }EXPORT_SYMBOL_GPL (devm_free_percpu);
drivers/base/module.c +4 -0
@@ -7,6 +7,7 @@#include <linux/errno.h> #include <linux/slab.h> #include <linux/string.h> +#include <linux/rcupdate.h> #include "base.h" static char *make_driver_name (struct device_driver *drv)
@@ -77,6 +78,9 @@ void module_remove_driver(struct device_driver *drv)if (!drv)return ; +/* Synchronize with dev_uevent() */ +synchronize_rcu (); +sysfs_remove_link (&drv->p->kobj,"module" );if (drv->owner)
drivers/block/rbd.c +15 -20
@@ -362,7 +362,7 @@ enum rbd_watch_state {enum rbd_lock_state {RBD_LOCK_STATE_UNLOCKED ,RBD_LOCK_STATE_LOCKED , -RBD_LOCK_STATE_RELEASING , +RBD_LOCK_STATE_QUIESCING , };/* WatchNotify::ClientId */
@@ -422,7 +422,7 @@ struct rbd_device {struct list_head running_list;struct completion acquire_wait;int acquire_err; -struct completion releasing_wait; +struct completion quiescing_wait;spinlock_t object_map_lock;u8 *object_map;
@@ -525,7 +525,7 @@ static bool __rbd_is_lock_owner(struct rbd_device *rbd_dev)lockdep_assert_held (&rbd_dev->lock_rwsem);return rbd_dev->lock_state ==RBD_LOCK_STATE_LOCKED || - rbd_dev->lock_state ==RBD_LOCK_STATE_RELEASING ; + rbd_dev->lock_state ==RBD_LOCK_STATE_QUIESCING ; }static bool rbd_is_lock_owner (struct rbd_device *rbd_dev)
@@ -3459,13 +3459,14 @@ static void rbd_lock_del_request(struct rbd_img_request *img_req)lockdep_assert_held (&rbd_dev->lock_rwsem);spin_lock (&rbd_dev->lock_lists_lock);if (!list_empty (&img_req->lock_item)) { +rbd_assert (!list_empty (&rbd_dev->running_list));list_del_init (&img_req->lock_item); - need_wakeup = (rbd_dev->lock_state ==RBD_LOCK_STATE_RELEASING && + need_wakeup = (rbd_dev->lock_state ==RBD_LOCK_STATE_QUIESCING &&list_empty (&rbd_dev->running_list)); }spin_unlock (&rbd_dev->lock_lists_lock);if (need_wakeup) -complete (&rbd_dev->releasing_wait); +complete (&rbd_dev->quiescing_wait); }static int rbd_img_exclusive_lock (struct rbd_img_request *img_req)
@@ -3478,11 +3479,6 @@ static int rbd_img_exclusive_lock(struct rbd_img_request *img_req)if (rbd_lock_add_request (img_req))return 1 ; -if (rbd_dev->opts->exclusive) { -WARN_ON (1 );/* lock got released? */ -return -EROFS ; - } -/* * Note the use of mod_delayed_work() in rbd_acquire_lock() * and cancel_delayed_work() in wake_lock_waiters().
@@ -4183,16 +4179,16 @@ static bool rbd_quiesce_lock(struct rbd_device *rbd_dev)/* * Ensure that all in-flight IO is flushed. */ - rbd_dev->lock_state =RBD_LOCK_STATE_RELEASING ; -rbd_assert (!completion_done (&rbd_dev->releasing_wait)); + rbd_dev->lock_state =RBD_LOCK_STATE_QUIESCING ; +rbd_assert (!completion_done (&rbd_dev->quiescing_wait));if (list_empty (&rbd_dev->running_list))return true;up_write (&rbd_dev->lock_rwsem); -wait_for_completion (&rbd_dev->releasing_wait); +wait_for_completion (&rbd_dev->quiescing_wait);down_write (&rbd_dev->lock_rwsem); -if (rbd_dev->lock_state !=RBD_LOCK_STATE_RELEASING ) +if (rbd_dev->lock_state !=RBD_LOCK_STATE_QUIESCING )return false;rbd_assert (list_empty (&rbd_dev->running_list));
@@ -4603,6 +4599,10 @@ static void rbd_reacquire_lock(struct rbd_device *rbd_dev)rbd_warn (rbd_dev,"failed to update lock cookie: %d" , ret); +if (rbd_dev->opts->exclusive) +rbd_warn (rbd_dev, +"temporarily releasing lock on exclusive mapping" ); +/* * Lock cookie cannot be updated on older OSDs, so do * a manual release and queue an acquire.
@@ -5387,7 +5387,7 @@ static struct rbd_device *__rbd_dev_create(struct rbd_spec *spec)INIT_LIST_HEAD (&rbd_dev->acquiring_list);INIT_LIST_HEAD (&rbd_dev->running_list);init_completion (&rbd_dev->acquire_wait); -init_completion (&rbd_dev->releasing_wait); +init_completion (&rbd_dev->quiescing_wait);spin_lock_init (&rbd_dev->object_map_lock);
@@ -6592,11 +6592,6 @@ static int rbd_add_acquire_lock(struct rbd_device *rbd_dev)if (ret)return ret; -/* -* The lock may have been released by now, unless automatic lock -* transitions are disabled. -*/ -rbd_assert (!rbd_dev->opts->exclusive ||rbd_is_lock_owner (rbd_dev));return 0 ; }
drivers/bluetooth/btusb.c +4 -0
@@ -559,6 +559,10 @@ static const struct usb_device_id blacklist_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0cb5, 0xc547), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3591), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x0489, 0xe125), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Silicon Wave based devices */ { USB_DEVICE(0x0c10, 0x0000), .driver_info = BTUSB_SWAVE },
drivers/char/hw_random/amd-rng.c +3 -1
@@ -142,8 +142,10 @@ static int __init amd_rng_mod_init(void) found: err =pci_read_config_dword (pdev,0x58 , &pmbase); -if (err) +if (err) { + err =pcibios_err_to_errno (err); goto put_dev; + } pmbase &=0x0000FF00 ;if (pmbase ==0 ) {
drivers/char/tpm/eventlog/common.c +2 -0
@@ -47,6 +47,8 @@ static int tpm_bios_measurements_open(struct inode *inode,if (!err) { seq = file->private_data; seq->private = chip; + }else { +put_device (&chip->dev); }return err;
drivers/clk/davinci/da8xx-cfgchip.c +2 -2
@@ -505,7 +505,7 @@ da8xx_cfgchip_register_usb0_clk48(struct device *dev,const char *const parent_names[] = {"usb_refclkin" ,"pll0_auxclk" };struct clk *fck_clk;struct da8xx_usb0_clk48 *usb0; -struct clk_init_data init; +struct clk_init_data init = {};int ret; fck_clk =devm_clk_get (dev,"fck" );
@@ -580,7 +580,7 @@ da8xx_cfgchip_register_usb1_clk48(struct device *dev, {const char *const parent_names[] = {"usb0_clk48" ,"usb_refclkin" };struct da8xx_usb1_clk48 *usb1; -struct clk_init_data init; +struct clk_init_data init = {};int ret; usb1 =devm_kzalloc (dev,sizeof (*usb1),GFP_KERNEL );
drivers/clk/qcom/clk-branch.h +26 -0
@@ -37,6 +37,32 @@ struct clk_branch {struct clk_regmap clkr; }; +/* Branch clock common bits for HLOS-owned clocks */ +#define CBCR_FORCE_MEM_CORE_ON BIT(14) +#define CBCR_FORCE_MEM_PERIPH_ON BIT(13) +#define CBCR_FORCE_MEM_PERIPH_OFF BIT(12) + +static inline void qcom_branch_set_force_mem_core (struct regmap *regmap, +struct clk_branch clk,bool on) +{ +regmap_update_bits (regmap, clk.halt_reg,CBCR_FORCE_MEM_CORE_ON , + on ?CBCR_FORCE_MEM_CORE_ON :0 ); +} + +static inline void qcom_branch_set_force_periph_on (struct regmap *regmap, +struct clk_branch clk,bool on) +{ +regmap_update_bits (regmap, clk.halt_reg,CBCR_FORCE_MEM_PERIPH_ON , + on ?CBCR_FORCE_MEM_PERIPH_ON :0 ); +} + +static inline void qcom_branch_set_force_periph_off (struct regmap *regmap, +struct clk_branch clk,bool on) +{ +regmap_update_bits (regmap, clk.halt_reg,CBCR_FORCE_MEM_PERIPH_OFF , + on ?CBCR_FORCE_MEM_PERIPH_OFF :0 ); +} +extern const struct clk_ops clk_branch_ops;extern const struct clk_ops clk_branch2_ops;extern const struct clk_ops clk_branch_simple_ops;
drivers/clk/qcom/gcc-sc7280.c +3 -0
@@ -3573,6 +3573,9 @@ static int gcc_sc7280_probe(struct platform_device *pdev)regmap_update_bits (regmap,0x71004 ,BIT (0 ),BIT (0 ));regmap_update_bits (regmap,0x7100C ,BIT (13 ),BIT (13 )); +/* FORCE_MEM_CORE_ON for ufs phy ice core clocks */ +qcom_branch_set_force_mem_core (regmap, gcc_ufs_phy_ice_core_clk, true); + ret =qcom_cc_register_rcg_dfs (regmap, gcc_dfs_clocks,ARRAY_SIZE (gcc_dfs_clocks));if (ret)
drivers/clocksource/sh_cmt.c +12 -1
@@ -529,6 +529,7 @@ static void sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta)static irqreturn_t sh_cmt_interrupt (int irq,void *dev_id) {struct sh_cmt_channel *ch = dev_id; +unsigned long flags;/* clear flags */ sh_cmt_write_cmcsr(ch, sh_cmt_read_cmcsr(ch) &
@@ -559,6 +560,8 @@ static irqreturn_t sh_cmt_interrupt(int irq, void *dev_id) ch->flags &= ~FLAG_SKIPEVENT ; +raw_spin_lock_irqsave (&ch->lock, flags); +if (ch->flags &FLAG_REPROGRAM ) { ch->flags &= ~FLAG_REPROGRAM ;sh_cmt_clock_event_program_verify (ch,1 );
@@ -571,6 +574,8 @@ static irqreturn_t sh_cmt_interrupt(int irq, void *dev_id) ch->flags &= ~FLAG_IRQCONTEXT ; +raw_spin_unlock_irqrestore (&ch->lock, flags); +return IRQ_HANDLED ; }
@@ -781,12 +786,18 @@ static int sh_cmt_clock_event_next(unsigned long delta, struct clock_event_device *ced) {struct sh_cmt_channel *ch =ced_to_sh_cmt (ced); +unsigned long flags;BUG_ON (!clockevent_state_oneshot (ced)); + +raw_spin_lock_irqsave (&ch->lock, flags); +if (likely (ch->flags &FLAG_IRQCONTEXT )) ch->next_match_value = delta -1 ;else -sh_cmt_set_next (ch, delta -1 ); +__sh_cmt_set_next (ch, delta -1 ); + +raw_spin_unlock_irqrestore (&ch->lock, flags);return 0 ; }
drivers/dma/ti/k3-udma.c +3 -1
@@ -4415,7 +4415,9 @@ static int udma_get_mmrs(struct platform_device *pdev, struct udma_dev *ud) ud->rchan_cnt =UDMA_CAP2_RCHAN_CNT (cap2);break ;case DMA_TYPE_BCDMA : - ud->bchan_cnt =BCDMA_CAP2_BCHAN_CNT (cap2); + ud->bchan_cnt =BCDMA_CAP2_BCHAN_CNT (cap2) + +BCDMA_CAP3_HBCHAN_CNT (cap3) + +BCDMA_CAP3_UBCHAN_CNT (cap3); ud->tchan_cnt =BCDMA_CAP2_TCHAN_CNT (cap2); ud->rchan_cnt =BCDMA_CAP2_RCHAN_CNT (cap2); ud->rflow_cnt = ud->rchan_cnt;
drivers/edac/Makefile +6 -4
@@ -54,11 +54,13 @@ obj-$(CONFIG_EDAC_MPC85XX) += mpc85xx_edac_mod.o layerscape_edac_mod-y := fsl_ddr_edac.o layerscape_edac.o obj-$(CONFIG_EDAC_LAYERSCAPE) += layerscape_edac_mod.o -skx_edac-y := skx_common.o skx_base.o -obj-$(CONFIG_EDAC_SKX) += skx_edac.o +skx_edac_common-y := skx_common.o -i10nm_edac-y := skx_common.o i10nm_base.o -obj-$(CONFIG_EDAC_I10NM) += i10nm_edac.o +skx_edac-y := skx_base.o +obj-$(CONFIG_EDAC_SKX) += skx_edac.o skx_edac_common.o + +i10nm_edac-y := i10nm_base.o +obj-$(CONFIG_EDAC_I10NM) += i10nm_edac.o skx_edac_common.o obj-$(CONFIG_EDAC_CELL) += cell_edac.o obj-$(CONFIG_EDAC_PPC4XX) += ppc4xx_edac.o
drivers/edac/skx_common.c +19 -2
@@ -46,7 +46,7 @@ static u64 skx_tolm, skx_tohm;static LIST_HEAD (dev_edac_list);static bool skx_mem_cfg_2lm; -int __init skx_adxl_get (void ) +int skx_adxl_get (void ) {const char *const *names;int i, j;
@@ -108,12 +108,14 @@ int __init skx_adxl_get(void)return -ENODEV ; } +EXPORT_SYMBOL_GPL (skx_adxl_get); -void __exit skx_adxl_put(void) +void skx_adxl_put (void ) {kfree (adxl_values);kfree (adxl_msg); } +EXPORT_SYMBOL_GPL (skx_adxl_put);static bool skx_adxl_decode (struct decoded_addr *res,bool error_in_1st_level_mem) {
@@ -180,12 +182,14 @@ void skx_set_mem_cfg(bool mem_cfg_2lm) { skx_mem_cfg_2lm = mem_cfg_2lm; } +EXPORT_SYMBOL_GPL (skx_set_mem_cfg);void skx_set_decode (skx_decode_f decode,skx_show_retry_log_f show_retry_log) { skx_decode = decode; skx_show_retry_rd_err_log = show_retry_log; } +EXPORT_SYMBOL_GPL (skx_set_decode);int skx_get_src_id (struct skx_dev *d,int off,u8 *id) {
@@ -199,6 +203,7 @@ int skx_get_src_id(struct skx_dev *d, int off, u8 *id) *id =GET_BITFIELD (reg,12 ,14 );return 0 ; } +EXPORT_SYMBOL_GPL (skx_get_src_id);int skx_get_node_id (struct skx_dev *d,u8 *id) {
@@ -212,6 +217,7 @@ int skx_get_node_id(struct skx_dev *d, u8 *id) *id =GET_BITFIELD (reg,0 ,2 );return 0 ; } +EXPORT_SYMBOL_GPL (skx_get_node_id);static int get_width (u32 mtr) {
@@ -277,6 +283,7 @@ int skx_get_all_bus_mappings(struct res_config *cfg, struct list_head **list) *list = &dev_edac_list;return ndev; } +EXPORT_SYMBOL_GPL (skx_get_all_bus_mappings);int skx_get_hi_lo (unsigned int did,int off[],u64 *tolm,u64 *tohm) {
@@ -316,6 +323,7 @@ int skx_get_hi_lo(unsigned int did, int off[], u64 *tolm, u64 *tohm)pci_dev_put (pdev);return -ENODEV ; } +EXPORT_SYMBOL_GPL (skx_get_hi_lo);static int skx_get_dimm_attr (u32 reg,int lobit,int hibit,int add,int minval,int maxval,const char *name)
@@ -387,6 +395,7 @@ int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm,return 1 ; } +EXPORT_SYMBOL_GPL (skx_get_dimm_info);int skx_get_nvdimm_info (struct dimm_info *dimm,struct skx_imc *imc,int chan,int dimmno,const char *mod_str)
@@ -435,6 +444,7 @@ int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,return (size ==0 || size == ~0ull ) ?0 :1 ; } +EXPORT_SYMBOL_GPL (skx_get_nvdimm_info); int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev, const char *ctl_name, const char *mod_str,
@@ -505,6 +515,7 @@ int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev, imc->mci =NULL ;return rc; } +EXPORT_SYMBOL_GPL (skx_register_mci);static void skx_unregister_mci (struct skx_imc *imc) {
@@ -686,6 +697,7 @@ int skx_mce_check_error(struct notifier_block *nb, unsigned long val, mce->kflags |=MCE_HANDLED_EDAC ;return NOTIFY_DONE ; } +EXPORT_SYMBOL_GPL (skx_mce_check_error);void skx_remove (void ) {
@@ -723,3 +735,8 @@ void skx_remove(void)kfree (d); } } +EXPORT_SYMBOL_GPL (skx_remove); + +MODULE_LICENSE ("GPL v2" ); +MODULE_AUTHOR ("Tony Luck" ); +MODULE_DESCRIPTION ("MC Driver for Intel server processors" );
drivers/edac/skx_common.h +2 -2
@@ -162,8 +162,8 @@ typedef int (*get_dimm_config_f)(struct mem_ctl_info *mci,typedef bool (*skx_decode_f )(struct decoded_addr *res);typedef void (*skx_show_retry_log_f )(struct decoded_addr *res,char *msg,int len,bool scrub_err); -int __init skx_adxl_get (void ); -void __exit skx_adxl_put(void); +int skx_adxl_get (void ); +void skx_adxl_put (void );void skx_set_decode (skx_decode_f decode,skx_show_retry_log_f show_retry_log);void skx_set_mem_cfg (bool mem_cfg_2lm);
drivers/firmware/turris-mox-rwtm.c +11 -12
@@ -2,7 +2,7 @@/* * Turris Mox rWTM firmware driver * -* Copyright (C) 2019 Marek Behún <[email protected]> +* Copyright (C) 2019, 2024 Marek Behún <[email protected]> */ #include <linux/armada-37xx-rwtm-mailbox.h>
@@ -174,6 +174,9 @@ static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data)struct mox_rwtm *rwtm =dev_get_drvdata (cl->dev);struct armada_37xx_rwtm_rx_msg *msg = data; +if (completion_done (&rwtm->cmd_done)) +return ; + rwtm->reply = *msg;complete (&rwtm->cmd_done); }
@@ -199,9 +202,8 @@ static int mox_get_board_info(struct mox_rwtm *rwtm)if (ret <0 )return ret; - ret =wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 ); -if (ret <0 ) -return ret; +if (!wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 )) +return -ETIMEDOUT ; ret =mox_get_status (MBOX_CMD_BOARD_INFO , reply->retval);if (ret == -ENODATA ) {
@@ -235,9 +237,8 @@ static int mox_get_board_info(struct mox_rwtm *rwtm)if (ret <0 )return ret; - ret =wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 ); -if (ret <0 ) -return ret; +if (!wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 )) +return -ETIMEDOUT ; ret =mox_get_status (MBOX_CMD_ECDSA_PUB_KEY , reply->retval);if (ret == -ENODATA ) {
@@ -274,9 +275,8 @@ static int check_get_random_support(struct mox_rwtm *rwtm)if (ret <0 )return ret; - ret =wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 ); -if (ret <0 ) -return ret; +if (!wait_for_completion_timeout (&rwtm->cmd_done,HZ /2 )) +return -ETIMEDOUT ;return mox_get_status (MBOX_CMD_GET_RANDOM , rwtm->reply.retval); }
@@ -499,6 +499,7 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev)platform_set_drvdata (pdev, rwtm);mutex_init (&rwtm->busy); +init_completion (&rwtm->cmd_done); rwtm->mbox_client.dev = dev; rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback;
@@ -512,8 +513,6 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev) goto remove_files; } -init_completion (&rwtm->cmd_done); -
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc_surface.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +29 -28
57 lines not on this page · raw message
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c +8 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c +1 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/gma500/cdv_intel_lvds.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/gma500/psb_intel_lvds.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_dp.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_mman.c +47 -6
53 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +1 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/mediatek/mtk_disp_ovl.c +5 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h +5 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/mediatek/mtk_drm_plane.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nouveau_prime.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/panfrost/panfrost_drv.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-platform.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/i2c/i2c-smbus.c +57 -7
64 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/ib_verbs.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_fp.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_device.h +4 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_mr.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_srq.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/mlx4/alias_GUID.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/leds/led-triggers.c +39 -36
75 lines not on this page · raw message
drivers/media/pci/saa7134/saa7134-dvb.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/vdec.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/vsp1/vsp1_histo.c +8 -12
Lines of this file are not shown. View the raw message.
drivers/media/platform/vsp1/vsp1_pipe.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/usb/uvc/uvc_video.c +38 -9
47 lines not on this page · raw message
drivers/net/ethernet/brocade/bna/bna_types.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/brocade/bna/bnad.c +6 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fec_main.c +36 -16
52 lines not on this page · raw message
drivers/net/ethernet/freescale/fec_ptp.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_tx_dqo.c +21 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c +8 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c +26 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c +0 -13
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h +3 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/r8169_main.c +2 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/hwif.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath11k/dp_rx.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath11k/dp_rx.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/cfg80211.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/nvme/host/pci.c +53 -38
91 lines not on this page · raw message
drivers/pci/controller/dwc/pcie-designware-host.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-dw-rockchip.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/endpoint/functions/pci-epf-vntb.c +9 -3
Lines of this file are not shown. View the raw message.
drivers/phy/cadence/phy-cadence-torrent.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/freescale/pinctrl-mxs.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/pinctrl/ti/pinctrl-ti-iodelay.c +6 -8
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_debugfs.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_proto.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/power/supply/axp288_charger.c +11 -11
Lines of this file are not shown. View the raw message.
drivers/scsi/qla2xxx/qla_bsg.c +58 -40
98 lines not on this page · raw message
drivers/scsi/qla2xxx/qla_init.c +69 -18
87 lines not on this page · raw message
drivers/scsi/qla2xxx/qla_sup.c +75 -33
108 lines not on this page · raw message
drivers/soc/xilinx/zynqmp_pm_domains.c +16 -0
Lines of this file are not shown. View the raw message.
drivers/spi/spidev.c +45 -50
95 lines not on this page · raw message
drivers/usb/gadget/function/u_audio.c +34 -8
42 lines not on this page · raw message
fs/btrfs/file.c +46 -14
60 lines not on this page · raw message
fs/ext4/fast_commit.c +55 -10
65 lines not on this page · raw message
fs/ext4/inode.c +63 -52
115 lines not on this page · raw message
fs/ext4/namei.c +68 -20
88 lines not on this page · raw message
fs/udf/balloc.c +26 -25
51 lines not on this page · raw message
include/uapi/linux/netfilter/nf_tables.h +1 -1
Lines of this file are not shown. View the raw message.
kernel/events/core.c +53 -26
79 lines not on this page · raw message
kernel/sched/core.c +30 -20
50 lines not on this page · raw message
mm/mmap_lock.c +20 -155
175 lines not on this page · raw message
net/core/rtnetlink.c +29 -40
69 lines not on this page · raw message
net/mptcp/pm_netlink.c +34 -14
48 lines not on this page · raw message
net/netfilter/nf_tables_api.c +35 -153
188 lines not on this page · raw message
net/netfilter/nft_set_pipapo_avx2.c +51 -30
81 lines not on this page · raw message
net/packet/af_packet.c +84 -2
86 lines not on this page · raw message
net/sctp/input.c +21 -25
46 lines not on this page · raw message
scripts/gcc-x86_32-has-stack-protector.sh +1 -1
Lines of this file are not shown. View the raw message.
scripts/gcc-x86_64-has-stack-protector.sh +1 -1
Lines of this file are not shown. View the raw message.
sound/pci/hda/patch_conexant.c +9 -45
54 lines not on this page · raw message
sound/soc/intel/common/soc-intel-quirks.h +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/pxa/spitz.c +23 -35
58 lines not on this page · raw message
tools/testing/selftests/bpf/prog_tests/send_signal.c +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/sk_lookup.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/btf_dump_test_case_multidim.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_sockmap.c +3 -6
Lines of this file are not shown. View the raw message.
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/tc_flower.sh +51 -4
55 lines not on this page · raw message
tools/testing/selftests/landlock/base_test.c +74 -0
74 lines not on this page · raw message
tools/testing/selftests/landlock/config +3 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/forwarding/devlink_lib.sh +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/mptcp_join.sh +38 -3
41 lines not on this page · raw message
tools/testing/selftests/rcutorture/bin/torture.sh +3 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/sigaltstack/current_stack_pointer.h +1 -1
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.