Linux 5.10.221
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.10.221 kernel.
All users of the 5.10 kernel series must upgrade.
The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.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/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 Makefile | 2 arch/arm/boot/dts/exynos4210-smdkv310.dts | 2 arch/arm/boot/dts/exynos4412-origen.dts | 2 arch/arm/boot/dts/exynos4412-smdk4412.dts | 2 arch/arm/boot/dts/rk3066a.dtsi | 1 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 3 arch/arm64/include/asm/kvm_host.h | 1 arch/arm64/include/asm/unistd32.h | 2 arch/arm64/kvm/arm.c | 6 arch/arm64/kvm/vgic/vgic-v3.c | 2 arch/arm64/kvm/vgic/vgic-v4.c | 8 arch/csky/include/uapi/asm/unistd.h | 1 arch/hexagon/include/asm/syscalls.h | 6 arch/hexagon/include/uapi/asm/unistd.h | 1 arch/hexagon/kernel/syscalltab.c | 7 arch/mips/bmips/setup.c | 3 arch/mips/kernel/syscalls/syscall_n32.tbl | 2 arch/mips/kernel/syscalls/syscall_o32.tbl | 2 arch/mips/pci/ops-rc32434.c | 4 arch/mips/pci/pcie-octeon.c | 6 arch/parisc/kernel/syscalls/syscall.tbl | 4 arch/powerpc/include/asm/hvcall.h | 8 arch/powerpc/include/asm/io.h | 24 arch/powerpc/include/asm/uaccess.h | 15 arch/powerpc/kernel/syscalls/syscall.tbl | 2 arch/s390/kernel/syscalls/syscall.tbl | 2 arch/sparc/kernel/sys32.S | 221 ------- arch/sparc/kernel/syscalls/syscall.tbl | 8 arch/x86/entry/syscalls/syscall_32.tbl | 2 arch/x86/include/asm/cpu_device_id.h | 98 +++ arch/x86/include/asm/efi.h | 11 arch/x86/kernel/amd_nb.c | 9 arch/x86/kernel/cpu/match.c | 4 arch/x86/kernel/time.c | 20 arch/x86/platform/efi/Makefile | 3 arch/x86/platform/efi/efi.c | 8 arch/x86/platform/efi/memmap.c | 249 ++++++++ block/ioctl.c | 2 drivers/acpi/acpica/exregion.c | 23 drivers/acpi/device_pm.c | 3 drivers/acpi/internal.h | 9 drivers/acpi/video_detect.c | 8 drivers/acpi/x86/utils.c | 34 + drivers/ata/ahci.c | 17 drivers/ata/libata-core.c | 8 drivers/base/core.c | 3 drivers/block/null_blk/zoned.c | 2 drivers/bluetooth/ath3k.c | 25 drivers/counter/ti-eqep.c | 6 drivers/dma/dma-axi-dmac.c | 2 drivers/dma/ioat/init.c | 75 +- drivers/dma/ioat/registers.h | 7 drivers/firmware/efi/fdtparams.c | 4 drivers/firmware/efi/memmap.c | 239 -------- drivers/gpio/Kconfig | 2 drivers/gpio/gpio-davinci.c | 5 drivers/gpio/gpio-tqmx86.c | 46 - drivers/gpio/gpiolib-cdev.c | 16 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c | 6 drivers/gpu/drm/amd/pm/powerplay/kv_dpm.c | 2 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 2 drivers/gpu/drm/bridge/panel.c | 7 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 7 drivers/gpu/drm/exynos/exynos_hdmi.c | 7 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 1 drivers/gpu/drm/lima/lima_bcast.c | 12 drivers/gpu/drm/lima/lima_bcast.h | 3 drivers/gpu/drm/lima/lima_gp.c | 8 drivers/gpu/drm/lima/lima_pp.c | 18 drivers/gpu/drm/lima/lima_sched.c | 7 drivers/gpu/drm/lima/lima_sched.h | 1 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | 6 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 6 drivers/gpu/drm/panel/panel-simple.c | 1 drivers/gpu/drm/radeon/radeon.h | 1 drivers/gpu/drm/radeon/radeon_display.c | 8 drivers/gpu/drm/radeon/sumo_dpm.c | 2 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 7 drivers/greybus/interface.c | 1 drivers/hid/hid-core.c | 1 drivers/hid/hid-ids.h | 1 drivers/hid/hid-logitech-dj.c | 4 drivers/hid/hid-multitouch.c | 6 drivers/hwtracing/intel_th/pci.c | 25 drivers/i2c/busses/i2c-at91-slave.c | 3 drivers/i2c/busses/i2c-designware-slave.c | 2 drivers/i2c/busses/i2c-ocores.c | 2 drivers/iio/adc/ad7266.c | 2 drivers/iio/adc/ad9467.c | 4 drivers/iio/chemical/bme680.h | 2 drivers/iio/chemical/bme680_core.c | 62 +- drivers/iio/dac/ad5592r-base.c | 2 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c | 4 drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c | 4 drivers/infiniband/hw/mlx5/srq.c | 15 drivers/input/input.c | 105 +++ drivers/input/touchscreen/ili210x.c | 4 drivers/iommu/amd/amd_iommu_types.h | 24 drivers/iommu/amd/init.c | 55 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 drivers/md/bcache/bset.c | 44 - drivers/md/bcache/bset.h | 28 drivers/md/bcache/btree.c | 40 - drivers/md/bcache/super.c | 5 drivers/md/bcache/sysfs.c | 2 drivers/md/bcache/writeback.c | 10 drivers/media/dvb-core/dvbdev.c | 2 drivers/misc/mei/pci-me.c | 4 drivers/misc/vmw_vmci/vmci_event.c | 6 drivers/mmc/host/davinci_mmc.c | 4 drivers/mmc/host/sdhci-pci-core.c | 11 drivers/mmc/host/sdhci.c | 25 drivers/mtd/nand/spi/macronix.c | 112 +++ drivers/mtd/parsers/redboot.c | 2 drivers/net/dsa/microchip/ksz9477.c | 6 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c | 11 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 14 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 drivers/net/ethernet/pensando/ionic/ionic_lif.c | 4 drivers/net/ethernet/qualcomm/qca_debug.c | 6 drivers/net/ethernet/qualcomm/qca_spi.c | 16 drivers/net/ethernet/qualcomm/qca_spi.h | 3 drivers/net/ethernet/realtek/r8169_main.c | 48 - drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 55 - drivers/net/phy/micrel.c | 1 drivers/net/phy/sfp.c | 3 drivers/net/usb/ax88179_178a.c | 6 drivers/net/usb/rtl8150.c | 3 drivers/net/virtio_net.c | 12 drivers/net/vxlan/vxlan_core.c | 4 drivers/net/wireless/ath/ath.h | 6 drivers/net/wireless/ath/ath9k/main.c | 3 drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 10 drivers/net/wireless/intel/iwlwifi/mvm/rs.h | 9 drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 4 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 19 drivers/net/wireless/realtek/rtlwifi/wifi.h | 1 drivers/pci/controller/pcie-rockchip-ep.c | 6 drivers/pci/pci.c | 12 drivers/pinctrl/core.c | 2 drivers/pinctrl/pinctrl-rockchip.c | 294 ++-------- drivers/pinctrl/pinctrl-rockchip.h | 246 ++++++++ drivers/power/supply/cros_usbpd-charger.c | 11 drivers/ptp/ptp_chardev.c | 3 drivers/pwm/pwm-stm32.c | 3 drivers/regulator/core.c | 1 drivers/remoteproc/ti_k3_r5_remoteproc.c | 25 drivers/scsi/mpt3sas/mpt3sas_base.c | 19 drivers/scsi/qedi/qedi_debugfs.c | 12 drivers/soc/ti/ti_sci_pm_domains.c | 20 drivers/soc/ti/wkup_m3_ipc.c | 7 drivers/staging/hikey9xx/hisi-spmi-controller.c | 1 drivers/tty/serial/8250/8250_exar.c | 42 + drivers/tty/serial/8250/8250_omap.c | 22 drivers/tty/serial/8250/8250_pxa.c | 1 drivers/tty/serial/mcf.c | 2 drivers/tty/serial/sc16is7xx.c | 25 drivers/usb/atm/cxacru.c | 14 drivers/usb/class/cdc-wdm.c | 4 drivers/usb/gadget/function/f_fs.c | 4 drivers/usb/gadget/function/f_printer.c | 40 + drivers/usb/host/xhci-pci.c | 7 drivers/usb/host/xhci-ring.c | 5 drivers/usb/misc/uss720.c | 20 drivers/usb/musb/da8xx.c | 8 drivers/usb/storage/alauda.c | 9 fs/btrfs/disk-io.c | 10 fs/cifs/smb2transport.c | 12 fs/f2fs/super.c | 2 fs/jfs/xattr.c | 4 fs/nfs/read.c | 4 fs/nfsd/nfs4state.c | 7 fs/nfsd/nfsfh.c | 4 fs/nilfs2/dir.c | 59 -- fs/nilfs2/segment.c | 3 fs/ocfs2/aops.c | 5 fs/ocfs2/file.c | 2 fs/ocfs2/journal.c | 17 fs/ocfs2/journal.h | 2 fs/ocfs2/namei.c | 2 fs/ocfs2/ocfs2_trace.h | 2 fs/open.c | 4 fs/proc/vmcore.c | 2 fs/udf/udftime.c | 11 include/kvm/arm_vgic.h | 2 include/linux/compat.h | 2 include/linux/efi.h | 10 include/linux/iommu.h | 2 include/linux/kcov.h | 2 include/linux/mod_devicetable.h | 2 include/linux/nvme.h | 4 include/linux/pci.h | 9 include/linux/sunrpc/svc.h | 20 include/linux/syscalls.h | 2 include/net/bluetooth/hci_core.h | 36 + include/net/netfilter/nf_tables.h | 5 include/net/xdp.h | 3 include/trace/events/qdisc.h | 4 include/trace/events/sunrpc.h | 8 include/uapi/asm-generic/hugetlb_encode.h | 26 include/uapi/asm-generic/unistd.h | 2 kernel/events/core.c | 13 kernel/gcov/gcc_4_7.c | 4 kernel/gen_kheaders.sh | 9 kernel/kcov.c | 1 kernel/padata.c | 8 kernel/pid_namespace.c | 1 kernel/rcu/rcutorture.c | 12 kernel/sys_ni.c | 2 kernel/time/tick-common.c | 42 - kernel/trace/Kconfig | 4 kernel/trace/preemptirq_delay_test.c | 1 net/batman-adv/originator.c | 29 net/bluetooth/l2cap_core.c | 8 net/can/j1939/main.c | 6 net/can/j1939/transport.c | 21 net/core/drop_monitor.c | 20 net/core/filter.c | 3 net/core/net_namespace.c | 9 net/core/netpoll.c | 2 net/core/sock.c | 6 net/core/xdp.c | 100 ++- net/ipv4/af_inet.c | 23 net/ipv4/cipso_ipv4.c | 12 net/ipv4/tcp.c | 16 net/ipv6/af_inet6.c | 24 net/ipv6/ip6_fib.c | 6 net/ipv6/ipv6_sockglue.c | 9 net/ipv6/route.c | 9 net/ipv6/seg6_iptunnel.c | 14 net/ipv6/tcp_ipv6.c | 9 net/ipv6/xfrm6_policy.c | 8 net/iucv/iucv.c | 26 net/mac80211/he.c | 10 net/mac80211/mesh_pathtbl.c | 13 net/mac80211/sta_info.c | 4 net/mptcp/pm_netlink.c | 18 net/mptcp/protocol.c | 1 net/ncsi/Kconfig | 6 net/ncsi/internal.h | 7 net/ncsi/ncsi-manage.c | 110 ++- net/ncsi/ncsi-rsp.c | 4 net/netfilter/ipset/ip_set_core.c | 92 +-- net/netfilter/ipset/ip_set_list_set.c | 30 - net/netfilter/nf_tables_api.c | 13 net/netfilter/nft_lookup.c | 3 net/netrom/nr_timer.c | 3 net/packet/af_packet.c | 26 net/sched/act_api.c | 66 +- net/sched/act_ct.c | 21 net/sched/sch_multiq.c | 2 net/sched/sch_taprio.c | 15 net/sunrpc/auth_gss/auth_gss.c | 4 net/sunrpc/svc.c | 18 net/tipc/node.c | 1 net/unix/af_unix.c | 47 - net/unix/diag.c | 12 net/wireless/pmsr.c | 8 scripts/Makefile.dtbinst | 2 sound/pci/hda/patch_realtek.c | 1 sound/soc/fsl/fsl-asoc-card.c | 3 sound/soc/intel/boards/sof_sdw.c | 9 sound/synth/emux/soundfont.c | 17 tools/include/asm-generic/hugetlb_encode.h | 20 tools/testing/selftests/arm64/tags/tags_test.c | 4 tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c | 26 tools/testing/selftests/bpf/test_tc_tunnel.sh | 13 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_eventname.tc | 3 tools/testing/selftests/vm/compaction_test.c | 103 +-- 273 files changed, 2832 insertions(+), 1797 deletions(-)
Adam Miotk (1):
drm/bridge/panel: Fix runtime warning on panel bridge release
Adrian Hunter (2):
mmc: sdhci: Do not invert write-protect twice
mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()
Alan Stern (1):
USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages
Aleksandr Aprelkov (1):
iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
Aleksandr Mishin (2):
liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet
gpio: davinci: Validate the obtained number of IRQs
Aleksandr Nogikh (1):
kcov: don't lose track of remote references during softirqs
Alessandro Carminati (Red Hat) (1):
selftests/bpf: Prevent client connect before server bind in test_tc_tunnel.sh
Alex Bee (1):
arm64: dts: rockchip: Add sound-dai-cells for RK3368
Alex Deucher (2):
drm/radeon: fix UBSAN warning in kv_dpm.c
drm/amdgpu: fix UBSAN warning in kv_dpm.c
Alex Henrie (1):
usb: misc: uss720: check for incompatible versions of the Belkin F5U002
Alexander Shishkin (5):
intel_th: pci: Add Granite Rapids support
intel_th: pci: Add Granite Rapids SOC support
intel_th: pci: Add Sapphire Rapids SOC support
intel_th: pci: Add Meteor Lake-S support
intel_th: pci: Add Lunar Lake support
Amjad Ouled-Ameur (1):
drm/komeda: check for error-valued pointer
Andrew Davis (1):
soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message
Anton Protopopov (1):
bpf: Add a check for struct bpf_fib_lookup size
Ard Biesheuvel (3):
efi: memmap: Move manipulation routines into x86 arch tree
efi: xen: Set EFI_PARAVIRT for Xen dom0 boot on all architectures efi/x86: Free EFI memory map only when installing a new one.
Arnd Bergmann (8):
wifi: ath9k: work around memset overflow warning
sparc: fix old compat_sys_select()
sparc: fix compat recv/recvfrom syscalls
parisc: use correct compat recv/recvfrom syscalls csky, hexagon: fix broken sys_sync_file_range
hexagon: fix fadvise64_64 calling conventions
ftruncate: pass a signed offset
syscalls: fix compat_sys_io_pgetevents_time64 usage
Beleswar Padhi (2):
remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs
remoteproc: k3-r5: Jump to error handling labels in start/stop errors
Biju Das (1):
regulator: core: Fix modpost error "regulator_get_regmap" undefined
Bitterblue Smith (1):
wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power
Bjorn Helgaas (2):
dmaengine: ioat: Drop redundant pci_enable_pcie_error_reporting()
dmaengine: ioat: use PCI core macros for PCIe Capability
Breno Leitao (2):
scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory
netpoll: Fix race condition in netpoll_owner_active
Chen Hanxiao (1):
SUNRPC: return proper error from gss_wrap_req_priv
Christian Marangi (1):
mips: bmips: BCM6358: make sure CBR is correctly set
Chuck Lever (3):
SUNRPC: Fix a NULL pointer deref in trace_svc_stats_latency()
SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
SUNRPC: Fix svcxdr_init_encode's buflen calculation
Csókás, Bence (1):
net: sfp: Always call sfp_sm_mod_remove() on remove
Damien Le Moal (1):
null_blk: Print correct max open zones limit in null_init_zoned_dev()
Dan Carpenter (1):
usb: musb: da8xx: fix a resource leak in probe()
Daniel Borkmann (1):
vxlan: Fix regression when dropping packets due to invalid src addresses
Daniil Dulov (1):
xdp: Remove WARN() from __xdp_reg_mem_model()
David Lechner (2):
iio: adc: ad9467: fix scan type sign
counter: ti-eqep: enable clock at probe
David Ruth (1):
net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
Dawei Li (2):
net/iucv: Avoid explicit cpumask var allocation on stack net/dpaa2: Avoid explicit cpumask var allocation on stack
DelphineCCChiu (1):
net/ncsi: Fix the multi thread manner of NCSI driver
Denis Arefev (1):
mtd: partitions: redboot: Added conversion of operands to a larger type
Dev Jain (2):
selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages selftests/mm: compaction_test: fix bogus test success on Aarch64
Dirk Behme (1):
drivers: core: synchronize really_probe() and dev_uevent()
Dmitry Torokhov (1):
Input: try trimming too long modalias strings
Doug Brown (1):
serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level
Dragan Simic (1):
kbuild: Install dtb files as 0644 in Makefile.dtbinst
Edson Juliano Drosdeck (1):
ALSA: hda/realtek: Limit mic boost on N14AP7
Elinor Montmasson (1):
ASoC: fsl-asoc-card: set priv->pdev before using it
Emmanuel Grumbach (1):
wifi: iwlwifi: mvm: don't read past the mfuart notifcation
Enguerrand de Ribaucourt (1):
net: phy: micrel: add Microchip KSZ 9477 to the device table
Enzo Matsumiya (1):
smb: client: fix deadlock in smb2_find_smb_tcon()
Eric Dumazet (10):
ipv6: sr: block BH in seg6_output_core() and seg6_input_core() net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
ipv6: fix possible race in __fib6_drop_pcpu_from()
tcp: fix race in tcp_v6_syn_recv_sock()
batman-adv: bypass empty buckets in batadv_purge_orig_ref()
af_packet: avoid a false positive warning in packet_setsockopt()
ipv6: prevent possible NULL deref in fib6_nh_init()
ipv6: prevent possible NULL dereference in rt6_probe()
xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
ipv6: annotate some data-races around sk->sk_prot
Erick Archer (1):
drm/radeon/radeon_display: Decrease the size of allocated memory
Erico Nunes (2):
drm/lima: add mask irq callback to gp and pp drm/lima: mask irqs in timeout path before hard reset
Fernando Yang (1):
iio: adc: ad7266: Fix variable checking bug
Filipe Manana (1):
btrfs: fix leak of qgroup extent records after transaction abort
Gal Pressman (1):
net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
Gavrilov Ilia (1):
netrom: Fix a memory leak in nr_heartbeat_expiry()
George Shen (1):
drm/amd/display: Handle Y carry-over in VCP X.Y calculation
Greg Kroah-Hartman (2):
jfs: xattr: fix buffer overflow for invalid xattr Linux 5.10.221
Gregor Herburger (1):
gpio: tqmx86: fix typo in Kconfig label
Grygorii Tertychnyi (1):
i2c: ocores: set IACK bit after core is enabled
Hagar Gamal Halim Hemdan (1):
vmci: prevent speculation leaks by sanitizing event in event_deliver()
Hagar Hemdan (1):
pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER
Haifeng Xu (1):
perf/core: Fix missing wakeup when waiting for context reference
Hangyu Hua (1):
net: sched: sch_multiq: fix possible OOB write in multiq_tune()
Hannes Reinecke (1):
nvme: fixup comment for nvme RDMA Provider Type
Heiner Kallweit (5):
r8169: remove unneeded memory barrier in rtl_tx
r8169: improve rtl_tx
r8169: improve rtl8169_start_xmit
r8169: remove nr_frags argument from rtl_tx_slots_avail
r8169: remove not needed check in rtl8169_start_xmit
Heng Qi (1):
virtio_net: checksum offloading handling fix
Herbert Xu (1):
padata: Disable BH when taking works lock on MT path
Huang-Huang Bao (4):
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins
pinctrl: rockchip: use dedicated pinctrl type for RK3328
pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set
Hugo Villeneuve (2):
serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler
Ian Forbes (1):
drm/vmwgfx: 3D disabled should not effect STDU memory limits
Ilpo Järvinen (2):
MIPS: Routerboard 532: Fix vendor retry check code
mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos
Ivan Mikhaylov (1):
net/ncsi: add NCSI Intel OEM command to keep PHY up
Jaime Liao (1):
mtd: spinand: macronix: Add support for serial NAND flash
Jakub Kicinski (1):
xdp: Move the rxq_info.mem clearing to unreg_mem_model()
Jan Kara (1):
ocfs2: fix DIO failure due to insufficient transaction credits
Jani Nikula (1):
drm/exynos/vidi: fix memory leak in .get_modes()
Janusz Krzysztofik (1):
drm/i915/gt: Fix potential UAF by revoke of fence registers
Jason Xing (1):
tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB
Jean Delvare (2):
i2c: at91: Fix the functionality flags of the slave-only interface
i2c: designware: Fix the functionality flags of the slave-only interface
Jean-Baptiste Maneyrol (1):
iio: imu: inv_icm42600: delete unneeded update watermark call
Jean-Michel Hautbois (1):
tty: mcf: MCF54418 has 10 UARTS
Jeff Johnson (1):
tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test
Jeff Layton (1):
nfsd: hold a lighter-weight client reference over CB_RECALL_ANY
Jianqun Xu (1):
pinctrl/rockchip: separate struct rockchip_pin_bank to a head file
Jie Wang (1):
net: hns3: add cond_resched() to hns3 ring buffer init process
Johan Jonker (1):
ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node
Johannes Berg (1):
wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64
John Keeping (1):
Input: ili210x - fix ili251x_read_touch_data() return value
Jose Ignacio Tornos Martinez (1):
net: usb: ax88179_178a: improve link status logs
José Expósito (1):
HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
Jozsef Kadlecsik (2):
netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
netfilter: ipset: Fix suspicious rcu_dereference_protected()
Justin Stitt (1):
block/ioctl: prefer different overflow check
Karol Kolacinski (1):
ptp: Fix error message on failed pin verification
Kees Cook (1):
rtlwifi: rtl8192de: Style clean-ups
Ken Milmore (1):
r8169: Fix possible ring buffer corruption on fragmented Tx packets.
Kent Gibson (1):
gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)
Krzysztof Kozlowski (4):
dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
ARM: dts: samsung: smdkv310: fix keypad no-autorepeat
ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat
ARM: dts: samsung: smdk4412: fix keypad no-autorepeat
Kuangyi Chiang (2):
xhci: Apply reset resume quirk to Etron EJ188 xHCI host
xhci: Apply broken streams quirk to Etron EJ188 xHCI host
Kun(llfl) (1):
iommu/amd: Fix sysfs leak in iommu init
Kuniyuki Iwashima (10):
af_unix: Annotate data-race of sk->sk_state in unix_inq_len().
af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().
af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().
af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.
af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.
af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().
af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().
af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
ipv6: Fix data races around sk->sk_prot.
tcp: Fix data races around icsk->icsk_af_ops.Kunwu Chan (1):
kselftest: arm64: Add a null pointer check
Laurent Pinchart (1):
drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep
Lin Ma (1):
wifi: cfg80211: pmsr: use correct nla_get_uX functions
Lingbo Kong (1):
wifi: mac80211: correctly parse Spatial Reuse Parameter Set element
Linus Torvalds (1):
x86: stop playing stack games in profile_pc()
Liu Ying (1):
drm/panel: simple: Add missing display timing flags for KOE TX26D202VM0BWA
Liu Zixian (1):
efi: Correct comment on efi_memmap_alloc
Lu Baolu (1):
iommu: Return right value in iommu_sva_bind_device()
Luiz Augusto von Dentz (1):
Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
Ma Ke (2):
drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes
Manish Rangankar (1):
scsi: qedi: Fix crash while reading debugfs attribute
Marc Ferland (1):
iio: dac: ad5592r: fix temperature channel scaling value
Marc Zyngier (1):
KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
Marek Szyprowski (1):
drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found
Mario Limonciello (7):
PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports
ACPI: Add quirks for AMD Renoir/Lucienne CPUs to force the D3 hint
ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
ACPI: x86: Add another system to quirk list for forcing StorageD3Enable
ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
ACPI: x86: utils: Add Picasso to the list for forcing StorageD3Enable
ACPI: x86: Force StorageD3Enable on more products
Martin Leung (1):
drm/amd/display: revert Exit idle optimizations before HDCP execution
Masahiro Yamada (1):
Revert "kheaders: substituting --sort in archive creation"
Masami Hiramatsu (Google) (1):
tracing: Build event generation tests only as modules
Mathias Nyman (1):
xhci: Set correct transferred length for cancelled bulk transfers
Matthew Mirvish (1):
bcache: fix variable length array abuse in btree_iter
Matthew Wilcox (Oracle) (3):
nilfs2: Remove check for PageError
nilfs2: return the mapped address from nilfs_get_page()
nfs: Leave pages in the pagecache if readpage failed
Matthias Goergens (1):
hugetlb_encode.h: fix undefined behaviour (34 << 26)
Matthias Maennich (1):
kheaders: explicitly define file modes for archived headers
Matthias Schiffer (1):
gpio: tqmx86: store IRQ trigger type and unmask status separately
Michael Ellerman (2):
powerpc/uaccess: Fix build errors seen with GCC 13/14 powerpc/io: Avoid clang null pointer arithmetic warnings
Miri Korenblit (1):
wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
Muhammad Usama Anjum (1):
selftests/mm: conform test to TAP format output
Nathan Lynch (1):
powerpc/pseries: Enforce hcall result buffer validity and size
Naveen Naidu (1):
PCI: Add PCI_ERROR_RESPONSE and related definitions
Nicholas Kazlauskas (1):
drm/amd/display: Exit idle optimizations before HDCP execution
Nicolas Escande (1):
wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects
Nikita Shubin (4):
dmaengine: ioatdma: Fix leaking on version mismatch
dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
dmaengine: ioatdma: Fix missing kmem_cache_destroy()
Nikita Zhandarovich (2):
HID: core: remove unnecessary WARN_ON() in implement()
usb: atm: cxacru: fix endpoint checking in cxacru_bind()
Niklas Cassel (2):
ata: ahci: Clean up sysfs file on error
ata: libata-core: Fix double free on error
Nuno Sa (1):
dmaengine: axi-dmac: fix possible race in remove()
Oleg Nesterov (2):
tick/nohz_full: Don't abuse smp_call_function_single() in tick_setup_device()
zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING
Oleksij Rempel (2):
net: can: j1939: recover socket queue on CAN bus error during BAM transmission
net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
Oliver Neukum (3):
net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings
usb: gadget: printer: SS+ support
usb: gadget: printer: fix races against disable
Ondrej Mosnacek (1):
cipso: fix total option length computation
Oswald Buddenhagen (1):
ALSA: emux: improve patch ioctl data validation
Pablo Neira Ayuso (2):
netfilter: nf_tables: validate family when identifying table via handle
netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Paolo Abeni (1):
mptcp: ensure snd_una is properly initialized on connect
Parker Newman (1):
serial: exar: adding missing CTI and Exar PCI ids
Patrisious Haddad (1):
RDMA/mlx5: Add check for srq max_sge attribute
Paul E. McKenney (1):
rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment
Pedro Tammela (1):
net/sched: act_api: rely on rcu in tcf_idr_check_alloc
Peter Delevoryas (1):
net/ncsi: Simplify Kconfig/dts control flow
Peter Oberparleiter (1):
gcov: add support for GCC 14
Petr Pavlu (1):
net/ipv6: Fix the RT cache flush via sysctl using a previous delay
Pierre-Louis Bossart (1):
ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14
Qing Wang (1):
dmaengine: ioat: switch from 'pci_' to 'dma_' API
Raju Rangoju (1):
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
Remi Pommarel (1):
wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()
Ricardo Ribalda (1):
media: dvbdev: Initialize sbuf
Rick Wertenbroek (1):
PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id
Rik van Riel (1):
fs/proc: fix softlockup in __read_vmcore
Roman Smirnov (1):
udf: udftime: prevent overflow in udf_disk_stamp_to_time()
Ryusuke Konishi (2):
nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
nilfs2: fix potential kernel bug due to lack of writeback flag waiting
Sean O'Brien (1):
HID: Add quirk for Logitech Casa touchpad
Sebastian Andrzej Siewior (1):
xdp: xdp_mem_allocator can be NULL in trace_mem_connect().
Shahar S Matityahu (1):
wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
Shichao Lai (1):
usb-storage: alauda: Check whether the media is initialized
Shigeru Yoshida (1):
net: can: j1939: Initialize unused data in j1939_send_one()
Shyam Prasad N (1):
cifs: missed ref-counting smb session in find
Sicong Huang (1):
greybus: Fix use-after-free bug in gb_interface_release due to race condition.
Songyang Li (1):
MIPS: Octeon: Add PCIe link status check
Stefan Wahren (1):
qca_spi: Make interrupt remembering atomic
Steven Rostedt (Google) (1):
tracing/selftests: Fix kprobe event name test for .isra. functions
Su Yue (2):
ocfs2: use coarse time for new created files
ocfs2: fix races between hole punching and AIO+DIO
Sven Eckelmann (1):
batman-adv: Don't accept TT entries for out-of-spec VIDs
Taehee Yoo (1):
ionic: fix use after netif_napi_del()
Takashi Iwai (1):
ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
Toke Høiland-Jørgensen (1):
xdp: Allow registering memory model without rxq reference
Tomas Winkler (1):
mei: me: release irq in mei_me_pci_resume error path
Tomi Valkeinen (1):
pmdomain: ti-sci: Fix duplicate PD referrals
Tony Luck (2):
x86/cpu/vfm: Add new macros to work with (vendor/family/model) values x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL
Tristram Ha (1):
net: dsa: microchip: fix initial port flush problem
Trond Myklebust (1):
knfsd: LOOKUP can return an illegal error value
Tzung-Bi Shih (1):
power: supply: cros_usbpd: provide ID table for avoiding fallback match
Udit Kumar (2):
serial: 8250_omap: Implementation of Errata i2310
serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
Uri Arev (1):
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
Uwe Kleine-König (2):
mmc: davinci: Don't strip remove function when driver is builtin
pwm: stm32: Refuse too small period requests
Vamshi Gajjela (1):
spmi: hisi-spmi-controller: Do not override device identifier
Vasant Hegde (1):
iommu/amd: Introduce pci segment structure
Vasileios Amoiridis (4):
iio: chemical: bme680: Fix pressure value output
iio: chemical: bme680: Fix calibration data variable
iio: chemical: bme680: Fix overflows in compensate() functions
iio: chemical: bme680: Fix sensor data read operation
Vlad Buslov (1):
net/sched: act_ct: set 'net' pointer when creating new nf_flow_table
Wander Lairson Costa (1):
drop_monitor: replace spin_lock by raw_spin_lock
Wesley Cheng (1):
usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete
Xiaolei Wang (2):
net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
net: stmmac: No need to calculate speed divider when offload is disabled
Xin Long (2):
tipc: force a dst refcount before doing decryption
sched: act_ct: add netns into the key of tcf_ct_flow_table
Yazen Ghannam (1):
x86/amd_nb: Check for invalid SMN reads
Yonghong Song (1):
selftests/bpf: Fix flaky test btf_map_in_map/lookup_update
YonglongLi (2):
mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID
mptcp: pm: update add_addr counters after connect
Yue Haibing (1):
netns: Make get_net_ns() handle zero refcount net
Yunjian Wang (1):
SUNRPC: Fix null pointer dereference in svc_rqst_free()
Yunlei He (1):
f2fs: remove clear SB_INLINECRYPT flag in default_options
Yunseong Kim (1):
tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()
Zheng Zhi Yuan (1):
drivers: fix typo in firmware/efi/memmap.c
Zqiang (1):
rcutorture: Fix invalid context warning when enable srcu barrier testing
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml +1 -1
@@ -22,7 +22,7 @@ description: | google,cros-ec-spi or google,cros-ec-i2c. allOf: - - $ref: i2c-controller.yaml# + - $ref: /schemas/i2c/i2c-controller.yaml# properties: compatible:
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 220 +SUBLEVEL = 221 EXTRAVERSION = NAME = Dare mighty things
arch/arm/boot/dts/exynos4210-smdkv310.dts +1 -1
@@ -84,7 +84,7 @@ eeprom@52 { &keypad { samsung,keypad-num-rows = <2>; samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; + linux,input-no-autorepeat; wakeup-source; pinctrl-names = "default"; pinctrl-0 = <&keypad_rows &keypad_cols>;
arch/arm/boot/dts/exynos4412-origen.dts +1 -1
@@ -447,7 +447,7 @@ buck9_reg: BUCK9 { &keypad { samsung,keypad-num-rows = <3>; samsung,keypad-num-columns = <2>; - linux,keypad-no-autorepeat; + linux,input-no-autorepeat; wakeup-source; pinctrl-0 = <&keypad_rows &keypad_cols>; pinctrl-names = "default";
arch/arm/boot/dts/exynos4412-smdk4412.dts +1 -1
@@ -65,7 +65,7 @@ cooling_map1: map1 { &keypad { samsung,keypad-num-rows = <3>; samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; + linux,input-no-autorepeat; wakeup-source; pinctrl-0 = <&keypad_rows &keypad_cols>; pinctrl-names = "default";
arch/arm/boot/dts/rk3066a.dtsi +1 -0
@@ -124,6 +124,7 @@ hdmi: hdmi@10116000 { pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>; power-domains = <&power RK3066_PD_VIO>; rockchip,grf = <&grf>; + #sound-dai-cells = <0>; status = "disabled"; ports {
arch/arm64/boot/dts/rockchip/rk3368.dtsi +3 -0
@@ -687,6 +687,7 @@ spdif: spdif@ff880000 { dma-names = "tx"; pinctrl-names = "default"; pinctrl-0 = <&spdif_tx>; + #sound-dai-cells = <0>; status = "disabled"; };
@@ -698,6 +699,7 @@ i2s_2ch: i2s-2ch@ff890000 { clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>; dmas = <&dmac_bus 6>, <&dmac_bus 7>; dma-names = "tx", "rx"; + #sound-dai-cells = <0>; status = "disabled"; };
@@ -711,6 +713,7 @@ i2s_8ch: i2s-8ch@ff898000 { dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&i2s_8ch_bus>; + #sound-dai-cells = <0>; status = "disabled"; };
arch/arm64/include/asm/kvm_host.h +1 -0
@@ -410,6 +410,7 @@ struct kvm_vcpu_arch {#define KVM_ARM64_GUEST_HAS_SVE (1 << 5)/* SVE exposed to guest */ #define KVM_ARM64_VCPU_SVE_FINALIZED (1 << 6)/* SVE config completed */ #define KVM_ARM64_GUEST_HAS_PTRAUTH (1 << 7)/* PTRAUTH exposed to guest */ +#define KVM_ARM64_VCPU_IN_WFI (1 << 8)/* WFI instruction trapped */ #define vcpu_has_sve (vcpu) (system_supports_sve() && \ ((vcpu)->arch.flags & KVM_ARM64_GUEST_HAS_SVE))
arch/arm64/include/asm/unistd32.h +1 -1
@@ -840,7 +840,7 @@ __SYSCALL(__NR_pselect6_time64, compat_sys_pselect6_time64)#define __NR_ppoll_time64 414 __SYSCALL(__NR_ppoll_time64, compat_sys_ppoll_time64)#define __NR_io_pgetevents_time64 416 -__SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents) +__SYSCALL(__NR_io_pgetevents_time64, compat_sys_io_pgetevents_time64)#define __NR_recvmmsg_time64 417 __SYSCALL(__NR_recvmmsg_time64, compat_sys_recvmmsg_time64)#define __NR_mq_timedsend_time64 418
arch/arm64/kvm/arm.c +4 -2
@@ -332,13 +332,15 @@ void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu)*/ preempt_disable ();kvm_vgic_vmcr_sync (vcpu); -vgic_v4_put (vcpu, true); + vcpu->arch.flags |=KVM_ARM64_VCPU_IN_WFI ; +vgic_v4_put (vcpu);preempt_enable (); }void kvm_arch_vcpu_unblocking (struct kvm_vcpu *vcpu) {preempt_disable (); + vcpu->arch.flags &= ~KVM_ARM64_VCPU_IN_WFI ;vgic_v4_load (vcpu);preempt_enable (); }
@@ -649,7 +651,7 @@ static void check_vcpu_requests(struct kvm_vcpu *vcpu)if (kvm_check_request (KVM_REQ_RELOAD_GICv4, vcpu)) {/* The distributor enable bits were changed */ preempt_disable (); -vgic_v4_put (vcpu, false); +vgic_v4_put (vcpu);vgic_v4_load (vcpu);preempt_enable (); }
arch/arm64/kvm/vgic/vgic-v3.c +1 -1
@@ -682,7 +682,7 @@ void vgic_v3_put(struct kvm_vcpu *vcpu) {struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; -WARN_ON (vgic_v4_put (vcpu, false)); +WARN_ON (vgic_v4_put (vcpu));vgic_v3_vmcr_sync (vcpu);
arch/arm64/kvm/vgic/vgic-v4.c +6 -2
@@ -310,14 +310,15 @@ void vgic_v4_teardown(struct kvm *kvm) its_vm->vpes =NULL ; } -int vgic_v4_put (struct kvm_vcpu *vcpu,bool need_db) +int vgic_v4_put (struct kvm_vcpu *vcpu) {struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe;if (!vgic_supports_direct_msis (vcpu->kvm) || !vpe->resident)return 0 ; -return its_make_vpe_non_resident (vpe, need_db); +return its_make_vpe_non_resident (vpe, + vcpu->arch.flags &KVM_ARM64_VCPU_IN_WFI ); }int vgic_v4_load (struct kvm_vcpu *vcpu)
@@ -328,6 +329,9 @@ int vgic_v4_load(struct kvm_vcpu *vcpu)if (!vgic_supports_direct_msis (vcpu->kvm) || vpe->resident)return 0 ; +if (vcpu->arch.flags &KVM_ARM64_VCPU_IN_WFI ) +return 0 ; +/* * Before making the VPE resident, make sure the redistributor * corresponding to our current CPU expects us here. See the
arch/csky/include/uapi/asm/unistd.h +1 -0
@@ -7,6 +7,7 @@#define __ARCH_WANT_SYS_CLONE3#define __ARCH_WANT_SET_GET_RLIMIT#define __ARCH_WANT_TIME32_SYSCALLS +#define __ARCH_WANT_SYNC_FILE_RANGE2#include <asm-generic/unistd.h> #define __NR_set_thread_area (__NR_arch_specific_syscall + 0)
arch/hexagon/include/asm/syscalls.h new file +6 -0
@@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#include <asm-generic/syscalls.h> + +asmlinkage long sys_hexagon_fadvise64_64 (int fd,int advice, +u32 a2,u32 a3,u32 a4,u32 a5);
arch/hexagon/include/uapi/asm/unistd.h +1 -0
@@ -36,5 +36,6 @@#define __ARCH_WANT_SYS_VFORK#define __ARCH_WANT_SYS_FORK#define __ARCH_WANT_TIME32_SYSCALLS +#define __ARCH_WANT_SYNC_FILE_RANGE2#include <asm-generic/unistd.h>
arch/hexagon/kernel/syscalltab.c +7 -0
@@ -14,6 +14,13 @@#undef __SYSCALL#define __SYSCALL (nr, call) [nr] = (call), +SYSCALL_DEFINE6 (hexagon_fadvise64_64, int, fd, int, advice, + SC_ARG64(offset), SC_ARG64(len)) +{ +return ksys_fadvise64_64 (fd,SC_VAL64 (loff_t, offset),SC_VAL64 (loff_t, len), advice); +} +#define sys_fadvise64_64 sys_hexagon_fadvise64_64 + void *sys_call_table[__NR_syscalls] = {#include <asm/unistd.h> };
arch/mips/bmips/setup.c +2 -1
@@ -110,7 +110,8 @@ static void bcm6358_quirks(void)* RAC flush causes kernel panics on BCM6358 when booting from TP1 * because the bootloader is not initializing it properly. */ - bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local () & (1 <<31 )); + bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local () & (1 <<31 )) || + !!BMIPS_GET_CBR (); }static void bcm6368_quirks (void )
arch/mips/kernel/syscalls/syscall_n32.tbl +1 -1
@@ -354,7 +354,7 @@ 412 n32 utimensat_time64 sys_utimensat 413 n32 pselect6_time64 compat_sys_pselect6_time64 414 n32 ppoll_time64 compat_sys_ppoll_time64 -416 n32 io_pgetevents_time64 sys_io_pgetevents +416 n32 io_pgetevents_time64 compat_sys_io_pgetevents_time64 417 n32 recvmmsg_time64 compat_sys_recvmmsg_time64 418 n32 mq_timedsend_time64 sys_mq_timedsend 419 n32 mq_timedreceive_time64 sys_mq_timedreceive
arch/mips/kernel/syscalls/syscall_o32.tbl +1 -1
@@ -403,7 +403,7 @@ 412 o32 utimensat_time64 sys_utimensat sys_utimensat 413 o32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 414 o32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 -416 o32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents +416 o32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64 417 o32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 418 o32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend 419 o32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive
arch/mips/pci/ops-rc32434.c +2 -2
@@ -112,8 +112,8 @@ static int read_config_dword(struct pci_bus *bus, unsigned int devfn,* gives them time to settle */ if (where ==PCI_VENDOR_ID ) { -if (ret ==0xffffffff || ret ==0x00000000 || - ret ==0x0000ffff || ret ==0xffff0000 ) { +if (*val ==0xffffffff || *val ==0x00000000 || + *val ==0x0000ffff || *val ==0xffff0000 ) {if (delay >4 )return 0 ; delay *=2 ;
arch/mips/pci/pcie-octeon.c +6 -0
@@ -230,12 +230,18 @@ static inline uint64_t __cvmx_pcie_build_config_addr(int pcie_port, int bus, {union cvmx_pcie_address pcie_addr;union cvmx_pciercx_cfg006 pciercx_cfg006; +union cvmx_pciercx_cfg032 pciercx_cfg032; pciercx_cfg006.u32 =cvmx_pcie_cfgx_read (pcie_port,CVMX_PCIERCX_CFG006 (pcie_port));if ((bus <= pciercx_cfg006.s.pbnum) && (dev !=0 ))return 0 ; + pciercx_cfg032.u32 = +cvmx_pcie_cfgx_read (pcie_port,CVMX_PCIERCX_CFG032 (pcie_port)); +if ((pciercx_cfg032.s.dlla ==0 ) || (pciercx_cfg032.s.lt ==1 )) +return 0 ; + pcie_addr.u64 =0 ; pcie_addr.config.upper =2 ; pcie_addr.config.io =1 ;
arch/parisc/kernel/syscalls/syscall.tbl +2 -2
@@ -108,7 +108,7 @@ 95 common fchown sys_fchown 96 common getpriority sys_getpriority 97 common setpriority sys_setpriority -98 common recv sys_recv +98 common recv sys_recv compat_sys_recv 99 common statfs sys_statfs compat_sys_statfs 100 common fstatfs sys_fstatfs compat_sys_fstatfs 101 common stat64 sys_stat64
@@ -135,7 +135,7 @@ 120 common clone sys_clone_wrapper 121 common setdomainname sys_setdomainname 122 common sendfile sys_sendfile compat_sys_sendfile -123 common recvfrom sys_recvfrom +123 common recvfrom sys_recvfrom compat_sys_recvfrom 124 32 adjtimex sys_adjtimex_time32 124 64 adjtimex sys_adjtimex 125 common mprotect sys_mprotect
arch/powerpc/include/asm/hvcall.h +4 -4
@@ -453,7 +453,7 @@ long plpar_hcall_norets_notrace(unsigned long opcode, ...);* Used for all but the craziest of phyp interfaces (see plpar_hcall9) */ #define PLPAR_HCALL_BUFSIZE 4 -long plpar_hcall (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL_BUFSIZE ], ...);/** * plpar_hcall_raw: - Make a hypervisor call without calculating hcall stats
@@ -467,7 +467,7 @@ long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);* plpar_hcall, but plpar_hcall_raw works in real mode and does not * calculate hypervisor call statistics. */ -long plpar_hcall_raw (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall_raw (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL_BUFSIZE ], ...);/** * plpar_hcall9: - Make a pseries hypervisor call with up to 9 return arguments
@@ -478,8 +478,8 @@ long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);* PLPAR_HCALL9_BUFSIZE to size the return argument buffer. */ #define PLPAR_HCALL9_BUFSIZE 9 -long plpar_hcall9 (unsigned long opcode,unsigned long *retbuf, ...); -long plpar_hcall9_raw (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall9 (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE ], ...); +long plpar_hcall9_raw (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE ], ...);struct hvcall_mpp_data {unsigned long entitled_mem;
arch/powerpc/include/asm/io.h +12 -12
@@ -541,12 +541,12 @@ __do_out_asm(_rec_outl, "stwbrx")#define __do_inw (port) _rec_inw(port)#define __do_inl (port) _rec_inl(port)#else /* CONFIG_PPC32 */ -#define __do_outb (val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_outw (val, port) writew(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_outl (val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_inb (port) readb((PCI_IO_ADDR)_IO_BASE + port); -#define __do_inw (port) readw((PCI_IO_ADDR)_IO_BASE + port); -#define __do_inl (port) readl((PCI_IO_ADDR)_IO_BASE + port); +#define __do_outb (val, port) writeb(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_outw (val, port) writew(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_outl (val, port) writel(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_inb (port) readb((PCI_IO_ADDR)(_IO_BASE + port)); +#define __do_inw (port) readw((PCI_IO_ADDR)(_IO_BASE + port)); +#define __do_inl (port) readl((PCI_IO_ADDR)(_IO_BASE + port));#endif /* !CONFIG_PPC32 */ #ifdef CONFIG_EEH
@@ -562,12 +562,12 @@ __do_out_asm(_rec_outl, "stwbrx")#define __do_writesw (a, b, n) _outsw(PCI_FIX_ADDR(a),(b),(n))#define __do_writesl (a, b, n) _outsl(PCI_FIX_ADDR(a),(b),(n)) -#define __do_insb (p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_insw (p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_insl (p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_outsb (p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) -#define __do_outsw (p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) -#define __do_outsl (p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) +#define __do_insb (p, b, n) readsb((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_insw (p, b, n) readsw((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_insl (p, b, n) readsl((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_outsb (p, b, n) writesb((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n)) +#define __do_outsw (p, b, n) writesw((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n)) +#define __do_outsl (p, b, n) writesl((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n))#define __do_memset_io (addr, c, n) \ _memset_io(PCI_FIX_ADDR(addr), c, n)
arch/powerpc/include/asm/uaccess.h +13 -2
@@ -186,9 +186,20 @@ do { \ : \ : label) +#ifdef CONFIG_CC_IS_CLANG +#define DS_FORM_CONSTRAINT "Z<>" +#else +#define DS_FORM_CONSTRAINT "YZ<>" +#endif +#ifdef __powerpc64__ -#define __put_user_asm2_goto (x, ptr, label) \ - __put_user_asm_goto(x, ptr, label, "std") +#define __put_user_asm2_goto (x, addr, label) \ + asm goto ("1: std%U1%X1 %0,%1 # put_user\n" \ + EX_TABLE(1b, %l2) \ + : \ + : "r" (x), DS_FORM_CONSTRAINT (*addr) \ + : \ + : label)#else /* __powerpc64__ */ #define __put_user_asm2_goto (x, addr, label) \ asm_volatile_goto( \
arch/powerpc/kernel/syscalls/syscall.tbl +1 -1
@@ -503,7 +503,7 @@ 412 32 utimensat_time64 sys_utimensat sys_utimensat 413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 -416 32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents +416 32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64 417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend 419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive
arch/s390/kernel/syscalls/syscall.tbl +1 -1
@@ -418,7 +418,7 @@ 412 32 utimensat_time64 - sys_utimensat 413 32 pselect6_time64 - compat_sys_pselect6_time64 414 32 ppoll_time64 - compat_sys_ppoll_time64 -416 32 io_pgetevents_time64 - sys_io_pgetevents +416 32 io_pgetevents_time64 - compat_sys_io_pgetevents_time64 417 32 recvmmsg_time64 - compat_sys_recvmmsg_time64 418 32 mq_timedsend_time64 - sys_mq_timedsend 419 32 mq_timedreceive_time64 - sys_mq_timedreceive
arch/sparc/kernel/sys32.S +0 -221
224 lines not on this page · raw message
arch/sparc/kernel/syscalls/syscall.tbl +4 -4
@@ -117,7 +117,7 @@ 90 common dup2 sys_dup2 91 32 setfsuid32 sys_setfsuid 92 common fcntl sys_fcntl compat_sys_fcntl -93 common select sys_select +93 common select sys_select compat_sys_select 94 32 setfsgid32 sys_setfsgid 95 common fsync sys_fsync 96 common setpriority sys_setpriority
@@ -155,7 +155,7 @@ 123 32 fchown sys_fchown16 123 64 fchown sys_fchown 124 common fchmod sys_fchmod -125 common recvfrom sys_recvfrom +125 common recvfrom sys_recvfrom compat_sys_recvfrom 126 32 setreuid sys_setreuid16 126 64 setreuid sys_setreuid 127 32 setregid sys_setregid16
@@ -247,7 +247,7 @@ 204 32 readdir sys_old_readdir compat_sys_old_readdir 204 64 readdir sys_nis_syscall 205 common readahead sys_readahead compat_sys_readahead -206 common socketcall sys_socketcall sys32_socketcall +206 common socketcall sys_socketcall compat_sys_socketcall 207 common syslog sys_syslog 208 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie 209 common fadvise64 sys_fadvise64 compat_sys_fadvise64
@@ -461,7 +461,7 @@ 412 32 utimensat_time64 sys_utimensat sys_utimensat 413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 -416 32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents +416 32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64 417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend 419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive
arch/x86/entry/syscalls/syscall_32.tbl +1 -1
@@ -420,7 +420,7 @@ 412 i386 utimensat_time64 sys_utimensat 413 i386 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64 414 i386 ppoll_time64 sys_ppoll compat_sys_ppoll_time64 -416 i386 io_pgetevents_time64 sys_io_pgetevents +416 i386 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64 417 i386 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64 418 i386 mq_timedsend_time64 sys_mq_timedsend 419 i386 mq_timedreceive_time64 sys_mq_timedreceive
arch/x86/include/asm/cpu_device_id.h +98 -0
122 lines not on this page · raw message
arch/x86/include/asm/efi.h +11 -0
@@ -382,4 +382,15 @@ static inline void efi_fake_memmap_early(void) }#endif +extern int __init efi_memmap_alloc (unsigned int num_entries, +struct efi_memory_map_data *data); +extern void __efi_memmap_free (u64 phys,unsigned long size, +unsigned long flags); + +extern int __init efi_memmap_install (struct efi_memory_map_data *data); +extern int __init efi_memmap_split_count (efi_memory_desc_t *md, +struct range *range); +extern void __init efi_memmap_insert (struct efi_memory_map *old_memmap, +void *buf,struct efi_mem_range *mem); +#endif /* _ASM_X86_EFI_H */
arch/x86/kernel/amd_nb.c +8 -1
@@ -164,7 +164,14 @@ static int __amd_smn_rw(u16 node, u32 address, u32 *value, bool write)int amd_smn_read (u16 node,u32 address,u32 *value) { -return __amd_smn_rw (node, address, value, false); +int err =__amd_smn_rw (node, address, value, false); + +if (PCI_POSSIBLE_ERROR (*value)) { + err = -ENODEV ; + *value =0 ; + } + +return err; }EXPORT_SYMBOL_GPL (amd_smn_read);
arch/x86/kernel/cpu/match.c +1 -3
@@ -39,9 +39,7 @@ const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match)const struct x86_cpu_id *m;struct cpuinfo_x86 *c = &boot_cpu_data; -for (m = match; - m->vendor | m->family | m->model | m->steppings | m->feature; - m++) { +for (m = match; m->flags &X86_CPU_ID_FLAG_ENTRY_VALID ; m++) {if (m->vendor !=X86_VENDOR_ANY && c->x86_vendor != m->vendor)continue ;if (m->family !=X86_FAMILY_ANY && c->x86 != m->family)
arch/x86/kernel/time.c +1 -19
@@ -27,25 +27,7 @@unsigned long profile_pc (struct pt_regs *regs) { -unsigned long pc =instruction_pointer (regs); - -if (!user_mode (regs) &&in_lock_functions (pc)) { -#ifdef CONFIG_FRAME_POINTER -return *(unsigned long *)(regs->bp +sizeof (long )); -#else -unsigned long *sp = (unsigned long *)regs->sp; -/* -* Return address is either directly at stack pointer -* or above a saved flags. Eflags has bits 22-31 zero, -* kernel addresses don't. -*/ -if (sp[0 ] >>22 ) -return sp[0 ]; -if (sp[1 ] >>22 ) -return sp[1 ]; -#endif - } -return pc; +return instruction_pointer (regs); }EXPORT_SYMBOL (profile_pc);
arch/x86/platform/efi/Makefile +2 -1
@@ -3,5 +3,6 @@ OBJECT_FILES_NON_STANDARD_efi_thunk_$(BITS).o := y KASAN_SANITIZE := n GCOV_PROFILE := n -obj-$(CONFIG_EFI) += quirks.o efi.o efi_$(BITS).o efi_stub_$(BITS).o +obj-$(CONFIG_EFI) += memmap.o quirks.o efi.o efi_$(BITS).o \ + efi_stub_$(BITS).o obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o
arch/x86/platform/efi/efi.c +5 -3
@@ -234,9 +234,11 @@ int __init efi_memblock_x86_reserve_range(void) data.desc_size = e->efi_memdesc_size; data.desc_version = e->efi_memdesc_version; - rv =efi_memmap_init_early (&data); -if (rv) -return rv; +if (!efi_enabled (EFI_PARAVIRT )) { + rv =efi_memmap_init_early (&data); +if (rv) +return rv; + }if (add_efi_memmap ||do_efi_soft_reserve ())do_add_efi_memmap ();
arch/x86/platform/efi/memmap.c new file +249 -0
249 lines not on this page · raw message
block/ioctl.c +1 -1
@@ -32,7 +32,7 @@ static int blkpg_do_ioctl(struct block_device *bdev,if (op ==BLKPG_DEL_PARTITION )return bdev_del_partition (bdev, p.pno); -if (p.start <0 || p.length <=0 || p.start + p.length <0 ) +if (p.start <0 || p.length <=0 ||LLONG_MAX - p.length < p.start)return -EINVAL ;/* Check that the partition is aligned to the block size */ if (!IS_ALIGNED (p.start | p.length,bdev_logical_block_size (bdev)))
drivers/acpi/acpica/exregion.c +2 -21
@@ -44,7 +44,6 @@ acpi_ex_system_memory_space_handler(u32 function,struct acpi_mem_mapping *mm = mem_info->cur_mm;u32 length;acpi_size map_length; -acpi_size page_boundary_map_length;#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED u32 remainder;#endif
@@ -138,26 +137,8 @@ acpi_ex_system_memory_space_handler(u32 function, map_length = (acpi_size) ((mem_info->address + mem_info->length) - address); -/* -* If mapping the entire remaining portion of the region will cross -* a page boundary, just map up to the page boundary, do not cross. -* On some systems, crossing a page boundary while mapping regions -* can cause warnings if the pages have different attributes -* due to resource management. -* -* This has the added benefit of constraining a single mapping to -* one page, which is similar to the original code that used a 4k -* maximum window. -*/ - page_boundary_map_length = (acpi_size) - (ACPI_ROUND_UP (address,ACPI_DEFAULT_PAGE_SIZE ) - address); -if (page_boundary_map_length ==0 ) { - page_boundary_map_length =ACPI_DEFAULT_PAGE_SIZE ; - } - -if (map_length > page_boundary_map_length) { - map_length = page_boundary_map_length; - } +if (map_length >ACPI_DEFAULT_PAGE_SIZE ) + map_length =ACPI_DEFAULT_PAGE_SIZE ;/* Create a new mapping starting at the address given */
drivers/acpi/device_pm.c +3 -0
@@ -1346,6 +1346,9 @@ bool acpi_storage_d3(struct device *dev)struct acpi_device *adev =ACPI_COMPANION (dev);u8 val; +if (force_storage_d3 ()) +return true; +if (!adev)return false; if (fwnode_property_read_u8(acpi_fwnode_handle(adev), "StorageD3Enable",
drivers/acpi/internal.h +9 -0
@@ -237,6 +237,15 @@ static inline int suspend_nvs_save(void) { return 0; }static inline void suspend_nvs_restore (void ) {}#endif +#ifdef CONFIG_X86 +bool force_storage_d3 (void ); +#else +static inline bool force_storage_d3 (void ) +{ +return false; +} +#endif +/*-------------------------------------------------------------------------- Device properties -------------------------------------------------------------------------- */
drivers/acpi/video_detect.c +8 -0
@@ -341,6 +341,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "82BK"), }, }, + { + .callback = video_detect_force_native, +/* Lenovo Slim 7 16ARH7 */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_NAME, "82UX"), + }, + }, { .callback = video_detect_force_native,/* Lenovo ThinkPad X131e (3371 AMD version) */
drivers/acpi/x86/utils.c +34 -0
@@ -177,3 +177,37 @@ bool acpi_device_override_status(struct acpi_device *adev, unsigned long long *sreturn ret; } + +/* +* AMD systems from Renoir onwards *require* that the NVME controller +* is put into D3 over a Modern Standby / suspend-to-idle cycle. +* +* This is "typically" accomplished using the `StorageD3Enable` +* property in the _DSD that is checked via the `acpi_storage_d3` function +* but some OEM systems still don't have it in their BIOS. +* +* The Microsoft documentation for StorageD3Enable mentioned that Windows has +* a hardcoded allowlist for D3 support as well as a registry key to override +* the BIOS, which has been used for these cases. +* +* This allows quirking on Linux in a similar fashion. +* +* Cezanne systems shouldn't *normally* need this as the BIOS includes +* StorageD3Enable. But for two reasons we have added it. +* 1) The BIOS on a number of Dell systems have ambiguity +* between the same value used for _ADR on ACPI nodes GPP1.DEV0 and GPP1.NVME. +* GPP1.NVME is needed to get StorageD3Enable node set properly. +* https://bugzilla.kernel.org/show_bug.cgi?id=216440 +* https://bugzilla.kernel.org/show_bug.cgi?id=216773 +* https://bugzilla.kernel.org/show_bug.cgi?id=217003 +* 2) On at least one HP system StorageD3Enable is missing on the second NVME +* disk in the system. +* 3) On at least one HP Rembrandt system StorageD3Enable is missing on the only +* NVME device. +*/ +bool force_storage_d3 (void ) +{ +if (!cpu_feature_enabled (X86_FEATURE_ZEN )) +return false; +return acpi_gbl_FADT.flags &ACPI_FADT_LOW_POWER_S0 ; +}
drivers/ata/ahci.c +12 -5
@@ -1893,8 +1893,10 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) n_ports =max (ahci_nr_ports (hpriv->cap),fls (hpriv->port_map)); host =ata_host_alloc_pinfo (&pdev->dev, ppi, n_ports); -if (!host) -return -ENOMEM ; +if (!host) { + rc = -ENOMEM ; + goto err_rm_sysfs_file; + } host->private_data = hpriv;if (ahci_init_msi (pdev, n_ports, hpriv) <0 ) {
@@ -1947,11 +1949,11 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)/* initialize adapter */ rc =ahci_configure_dma_masks (pdev, hpriv);if (rc) -return rc; + goto err_rm_sysfs_file; rc =ahci_pci_reset_controller (host);if (rc) -return rc; + goto err_rm_sysfs_file;ahci_pci_init_controller (host);ahci_pci_print_info (host);
@@ -1960,10 +1962,15 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) rc =ahci_host_activate (host, &ahci_sht);if (rc) -return rc; + goto err_rm_sysfs_file;pm_runtime_put_noidle (&pdev->dev);return 0 ; + +err_rm_sysfs_file: +sysfs_remove_file_from_group (&pdev->dev.kobj, + &dev_attr_remapped_nvme.attr,NULL ); +return rc; }static void ahci_shutdown_one (struct pci_dev *pdev)
drivers/ata/libata-core.c +4 -4
@@ -5420,8 +5420,10 @@ struct ata_host *ata_host_alloc(struct device *dev, int max_ports)if (!host)return NULL ; -if (!devres_open_group (dev,NULL ,GFP_KERNEL )) - goto err_free; +if (!devres_open_group (dev,NULL ,GFP_KERNEL )) { +kfree (host); +return NULL ; + } dr =devres_alloc (ata_devres_release,0 ,GFP_KERNEL );if (!dr)
@@ -5453,8 +5455,6 @@ struct ata_host *ata_host_alloc(struct device *dev, int max_ports) err_out:devres_release_group (dev,NULL ); - err_free: -kfree (host);return NULL ; }EXPORT_SYMBOL_GPL (ata_host_alloc);
drivers/base/core.c +3 -0
@@ -2008,8 +2008,11 @@ 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/block/null_blk/zoned.c +1 -1
@@ -81,7 +81,7 @@ int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q)if (dev->zone_max_active && dev->zone_max_open > dev->zone_max_active) { dev->zone_max_open = dev->zone_max_active;pr_info ("changed the maximum number of open zones to %u\n" , - dev->nr_zones); + dev->zone_max_open); }else if (dev->zone_max_open >= dev->nr_zones - dev->zone_nr_conv) { dev->zone_max_open =0 ;pr_info ("zone_max_open limit disabled, limit >= zone count\n" );
drivers/bluetooth/ath3k.c +11 -14
@@ -3,7 +3,6 @@* Copyright (c) 2008-2009 Atheros Communications Inc. */ -#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h>
@@ -129,7 +128,6 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);* for AR3012 */ static const struct usb_device_id ath3k_blist_tbl[] = { -/* Atheros AR3012 with sflash firmware*/ {USB_DEVICE (0x0489 ,0xe04e ), .driver_info =BTUSB_ATH3012 }, {USB_DEVICE (0x0489 ,0xe04d ), .driver_info =BTUSB_ATH3012 },
@@ -203,7 +201,7 @@ static inline void ath3k_log_failed_loading(int err, int len, int size,#define TIMEGAP_USEC_MAX 100static int ath3k_load_firmware (struct usb_device *udev, -const struct firmware *firmware) +const struct firmware *firmware) {u8 *send_buf;int len =0 ;
@@ -238,9 +236,9 @@ static int ath3k_load_firmware(struct usb_device *udev,memcpy (send_buf, firmware->data + sent, size); err =usb_bulk_msg (udev, pipe, send_buf, size, - &len,3000 ); + &len,3000 ); -if (err || (len != size)) { +if (err || len != size) {ath3k_log_failed_loading (err, len, size, count); goto error; }
@@ -263,7 +261,7 @@ static int ath3k_get_state(struct usb_device *udev, unsigned char *state) }static int ath3k_get_version (struct usb_device *udev, -struct ath3k_version *version) +struct ath3k_version *version) { return usb_control_msg_recv(udev, 0, ATH3K_GETVERSION, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
@@ -272,7 +270,7 @@ static int ath3k_get_version(struct usb_device *udev, }static int ath3k_load_fwfile (struct usb_device *udev, -const struct firmware *firmware) +const struct firmware *firmware) {u8 *send_buf;int len =0 ;
@@ -311,8 +309,8 @@ static int ath3k_load_fwfile(struct usb_device *udev,memcpy (send_buf, firmware->data + sent, size); err =usb_bulk_msg (udev, pipe, send_buf, size, - &len,3000 ); -if (err || (len != size)) { + &len,3000 ); +if (err || len != size) {ath3k_log_failed_loading (err, len, size, count);kfree (send_buf);return err;
@@ -426,7 +424,6 @@ static int ath3k_load_syscfg(struct usb_device *udev) }switch (fw_version.ref_clock) { -case ATH3K_XTAL_FREQ_26M : clk_value =26 ;break ;
@@ -442,7 +439,7 @@ static int ath3k_load_syscfg(struct usb_device *udev) }snprintf (filename,ATH3K_NAME_LEN ,"ar3k/ramps_0x%08x_%d%s" , -le32_to_cpu (fw_version.rom_version), clk_value,".dfu" ); +le32_to_cpu (fw_version.rom_version), clk_value,".dfu" ); ret =request_firmware (&firmware, filename, &udev->dev);if (ret <0 ) {
@@ -457,7 +454,7 @@ static int ath3k_load_syscfg(struct usb_device *udev) }static int ath3k_probe (struct usb_interface *intf, -const struct usb_device_id *id) +const struct usb_device_id *id) {const struct firmware *firmware;struct usb_device *udev =interface_to_usbdev (intf);
@@ -506,10 +503,10 @@ static int ath3k_probe(struct usb_interface *intf,if (ret <0 ) {if (ret == -ENOENT )BT_ERR ("Firmware file \"%s\" not found" , -ATH3K_FIRMWARE ); +ATH3K_FIRMWARE );else BT_ERR ("Firmware file \"%s\" request failed (err=%d)" , -ATH3K_FIRMWARE , ret); +ATH3K_FIRMWARE , ret);return ret; }
drivers/counter/ti-eqep.c +6 -0
@@ -6,6 +6,7 @@*/ #include <linux/bitops.h> +#include <linux/clk.h> #include <linux/counter.h> #include <linux/kernel.h> #include <linux/mod_devicetable.h>
@@ -349,6 +350,7 @@ static int ti_eqep_probe(struct platform_device *pdev)struct device *dev = &pdev->dev;struct ti_eqep_cnt *priv;void __iomem *base; +struct clk *clk;int err; priv =devm_kzalloc (dev,sizeof (*priv),GFP_KERNEL );
@@ -388,6 +390,10 @@ static int ti_eqep_probe(struct platform_device *pdev)pm_runtime_enable (dev);pm_runtime_get_sync (dev); + clk =devm_clk_get_enabled (dev,NULL ); +if (IS_ERR (clk)) +return dev_err_probe (dev,PTR_ERR (clk),"failed to enable clock\n" ); + err =counter_register (&priv->counter);if (err <0 ) {pm_runtime_put_sync (dev);
drivers/dma/dma-axi-dmac.c +1 -1
@@ -1020,8 +1020,8 @@ static int axi_dmac_remove(struct platform_device *pdev) {struct axi_dmac *dmac =platform_get_drvdata (pdev); -of_dma_controller_free (pdev->dev.of_node);free_irq (dmac->irq, dmac); +of_dma_controller_free (pdev->dev.of_node);tasklet_kill (&dmac->chan.vchan.task);dma_async_device_unregister (&dmac->dma_dev);clk_disable_unprepare (dmac->clk);
drivers/dma/ioat/init.c +34 -41
145 lines not on this page · raw message
drivers/dma/ioat/registers.h +0 -7
@@ -14,13 +14,6 @@#define IOAT_PCI_CHANERR_INT_OFFSET 0x180#define IOAT_PCI_CHANERRMASK_INT_OFFSET 0x184 -/* PCIe config registers */ - -/* EXPCAPID + N */ -#define IOAT_DEVCTRL_OFFSET 0x8 -/* relaxed ordering enable */ -#define IOAT_DEVCTRL_ROE 0x10 -/* MMIO Device Registers */ #define IOAT_CHANCNT_OFFSET 0x00/* 8-bit */
drivers/firmware/efi/fdtparams.c +4 -0
@@ -30,11 +30,13 @@ static __initconst const char name[][22] = {static __initconst const struct {const char path[17 ]; +u8 paravirt;const char params[PARAMCOUNT ][26 ]; } dt_params[] = { { #ifdef CONFIG_XEN // <-------17------> .path ="/hypervisor/uefi" , + .paravirt =1 , .params = { [SYSTAB ] ="xen,uefi-system-table" , [MMBASE ] ="xen,uefi-mmap-start" ,
@@ -121,6 +123,8 @@ u64 __init efi_get_fdt_params(struct efi_memory_map_data *mm)pr_err ("Can't find property '%s' in DT!\n" , pname);return 0 ; } +if (dt_params[i].paravirt) +set_bit (EFI_PARAVIRT , &efi.flags);return systab; } notfound:
drivers/firmware/efi/memmap.c +3 -236
267 lines not on this page · raw message
drivers/gpio/Kconfig +1 -1
@@ -1335,7 +1335,7 @@ config GPIO_TPS68470 drivers are loaded. config GPIO_TQMX86 - tristate "TQ-Systems QTMX86 GPIO" + tristate "TQ-Systems TQMx86 GPIO" depends on MFD_TQMX86 || COMPILE_TEST depends on HAS_IOPORT_MAP select GPIOLIB_IRQCHIP
drivers/gpio/gpio-davinci.c +5 -0
@@ -227,6 +227,11 @@ static int davinci_gpio_probe(struct platform_device *pdev)else nirq =DIV_ROUND_UP (ngpio,16 ); +if (nirq >MAX_INT_PER_BANK ) { +dev_err (dev,"Too many IRQs!\n" ); +return -EINVAL ; + } + chips =devm_kzalloc (dev,sizeof (*chips),GFP_KERNEL );if (!chips)return -ENOMEM ;
drivers/gpio/gpio-tqmx86.c +26 -20
97 lines not on this page · raw message
drivers/gpio/gpiolib-cdev.c +10 -6
@@ -83,6 +83,10 @@ struct linehandle_state { GPIOHANDLE_REQUEST_OPEN_DRAIN | \ GPIOHANDLE_REQUEST_OPEN_SOURCE) +#define GPIOHANDLE_REQUEST_DIRECTION_FLAGS \ + (GPIOHANDLE_REQUEST_INPUT | \ + GPIOHANDLE_REQUEST_OUTPUT) +static int linehandle_validate_flags (u32 flags) {/* Return an error if an unknown flag is set */
@@ -163,21 +167,21 @@ static long linehandle_set_config(struct linehandle_state *lh,if (ret)return ret; +/* Lines must be reconfigured explicitly as input or output. */ +if (!(lflags &GPIOHANDLE_REQUEST_DIRECTION_FLAGS )) +return -EINVAL ; +for (i =0 ; i < lh->num_descs; i++) { desc = lh->descs[i]; -linehandle_flags_to_desc_flags (gcnf.flags, &desc->flags); +linehandle_flags_to_desc_flags (lflags, &desc->flags); -/* -* Lines have to be requested explicitly for input -* or output, else the line will be treated "as is". -*/ if (lflags &GPIOHANDLE_REQUEST_OUTPUT ) {int val = !!gcnf.default_values[i]; ret =gpiod_direction_output (desc, val);if (ret)return ret; - }else if (lflags &GPIOHANDLE_REQUEST_INPUT ) { + }else { ret =gpiod_direction_input (desc);if (ret)return ret;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c +6 -0
@@ -633,6 +633,12 @@ void enc1_stream_encoder_set_throttled_vcp_size( x), 26)); +// If y rounds up to integer, carry it over to x. +if (y >>26 ) { + x +=1 ; + y =0 ; + } +REG_SET_2 (DP_MSE_RATE_CNTL ,0 ,DP_MSE_RATE_X , x,DP_MSE_RATE_Y , y);
drivers/gpu/drm/amd/pm/powerplay/kv_dpm.c +2 -0
@@ -163,6 +163,8 @@ static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev,for (i =0 ; i <SUMO_MAX_HARDWARE_POWERLEVELS ; i++) {if (table[i].ulSupportedSCLK !=0 ) { +if (table[i].usVoltageIndex >=SUMO_MAX_NUMBER_VOLTAGES ) +continue ; vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = table[i].usVoltageID; vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +1 -1
@@ -259,7 +259,7 @@ komeda_component_get_avail_scaler(struct komeda_component *c,u32 avail_scalers; pipe_st =komeda_pipeline_get_state (c->pipeline, state); -if (!pipe_st) +if (IS_ERR_OR_NULL (pipe_st))return NULL ; avail_scalers = (pipe_st->active_comps & KOMEDA_PIPELINE_SCALERS) ^
drivers/gpu/drm/bridge/panel.c +5 -2
@@ -252,9 +252,12 @@ EXPORT_SYMBOL(drm_panel_bridge_remove);static void devm_drm_panel_bridge_release (struct device *dev,void *res) { -struct drm_bridge **bridge = res; +struct drm_bridge *bridge = *(struct drm_bridge **)res; -drm_panel_bridge_remove (*bridge); +if (!bridge) +return ; + +drm_bridge_remove (bridge); }/**
drivers/gpu/drm/exynos/exynos_drm_vidi.c +6 -1
@@ -308,6 +308,7 @@ static int vidi_get_modes(struct drm_connector *connector)struct vidi_context *ctx =ctx_from_connector (connector);struct edid *edid;int edid_len; +int count;/* * the edid data comes from user side and it would be set
@@ -327,7 +328,11 @@ static int vidi_get_modes(struct drm_connector *connector)drm_connector_update_edid_property (connector, edid); -return drm_add_edid_modes (connector, edid); + count =drm_add_edid_modes (connector, edid); + +kfree (edid); + +return count; }static const struct drm_connector_helper_funcs vidi_connector_helper_funcs = {
drivers/gpu/drm/exynos/exynos_hdmi.c +5 -2
@@ -878,11 +878,11 @@ static int hdmi_get_modes(struct drm_connector *connector)int ret;if (!hdata->ddc_adpt) -return 0 ; + goto no_edid; edid =drm_get_edid (connector, hdata->ddc_adpt);if (!edid) -return 0 ; + goto no_edid; hdata->dvi_mode = !drm_detect_hdmi_monitor (edid); DRM_DEV_DEBUG_KMS(hdata->dev, "%s : width[%d] x height[%d]\n",
@@ -897,6 +897,9 @@ static int hdmi_get_modes(struct drm_connector *connector)kfree (edid);return ret; + +no_edid: +return drm_add_modes_noedid (connector,640 ,480 ); }static int hdmi_find_phy_conf (struct hdmi_context *hdata,u32 pixel_clock)
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c +1 -0
@@ -309,6 +309,7 @@ void i915_vma_revoke_fence(struct i915_vma *vma)return ;GEM_BUG_ON (fence->vma != vma); +i915_active_wait (&fence->active);GEM_BUG_ON (!i915_active_is_idle (&fence->active));GEM_BUG_ON (atomic_read (&fence->pin_count));
drivers/gpu/drm/lima/lima_bcast.c +12 -0
@@ -43,6 +43,18 @@ void lima_bcast_suspend(struct lima_ip *ip) } +int lima_bcast_mask_irq (struct lima_ip *ip) +{ +bcast_write (LIMA_BCAST_BROADCAST_MASK ,0 ); +bcast_write (LIMA_BCAST_INTERRUPT_MASK ,0 ); +return 0 ; +} + +int lima_bcast_reset (struct lima_ip *ip) +{ +return lima_bcast_hw_init (ip); +} +int lima_bcast_init (struct lima_ip *ip) {int i;
drivers/gpu/drm/lima/lima_bcast.h +3 -0
@@ -13,4 +13,7 @@ void lima_bcast_fini(struct lima_ip *ip);void lima_bcast_enable (struct lima_device *dev,int num_pp); +int lima_bcast_mask_irq (struct lima_ip *ip); +int lima_bcast_reset (struct lima_ip *ip); +#endif
drivers/gpu/drm/lima/lima_gp.c +8 -0
@@ -212,6 +212,13 @@ static void lima_gp_task_mmu_error(struct lima_sched_pipe *pipe)lima_sched_pipe_task_done (pipe); } +static void lima_gp_task_mask_irq (struct lima_sched_pipe *pipe) +{ +struct lima_ip *ip = pipe->processor[0 ]; + +gp_write (LIMA_GP_INT_MASK ,0 ); +} +static int lima_gp_task_recover (struct lima_sched_pipe *pipe) {struct lima_ip *ip = pipe->processor[0 ];
@@ -344,6 +351,7 @@ int lima_gp_pipe_init(struct lima_device *dev) pipe->task_error = lima_gp_task_error; pipe->task_mmu_error = lima_gp_task_mmu_error; pipe->task_recover = lima_gp_task_recover; + pipe->task_mask_irq = lima_gp_task_mask_irq;return 0 ; }
drivers/gpu/drm/lima/lima_pp.c +18 -0
@@ -408,6 +408,9 @@ static void lima_pp_task_error(struct lima_sched_pipe *pipe)lima_pp_hard_reset (ip); } + +if (pipe->bcast_processor) +lima_bcast_reset (pipe->bcast_processor); }static void lima_pp_task_mmu_error (struct lima_sched_pipe *pipe)
@@ -416,6 +419,20 @@ static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe)lima_sched_pipe_task_done (pipe); } +static void lima_pp_task_mask_irq (struct lima_sched_pipe *pipe) +{ +int i; + +for (i =0 ; i < pipe->num_processor; i++) { +struct lima_ip *ip = pipe->processor[i]; + +pp_write (LIMA_PP_INT_MASK ,0 ); + } + +if (pipe->bcast_processor) +lima_bcast_mask_irq (pipe->bcast_processor); +} +static struct kmem_cache *lima_pp_task_slab;static int lima_pp_task_slab_refcnt;
@@ -447,6 +464,7 @@ int lima_pp_pipe_init(struct lima_device *dev) pipe->task_fini = lima_pp_task_fini; pipe->task_error = lima_pp_task_error; pipe->task_mmu_error = lima_pp_task_mmu_error; + pipe->task_mask_irq = lima_pp_task_mask_irq;return 0 ; }
drivers/gpu/drm/lima/lima_sched.c +7 -0
@@ -419,6 +419,13 @@ static void lima_sched_timedout_job(struct drm_sched_job *job)struct lima_sched_task *task =to_lima_task (job);struct lima_device *ldev = pipe->ldev; +/* +* The task might still finish while this timeout handler runs. +* To prevent a race condition on its completion, mask all irqs +* on the running core until the next hard reset completes. +*/ + pipe->task_mask_irq (pipe); +if (!pipe->error)DRM_ERROR ("lima job timeout\n" );
drivers/gpu/drm/lima/lima_sched.h +1 -0
@@ -83,6 +83,7 @@ struct lima_sched_pipe {void (*task_error)(struct lima_sched_pipe *pipe);void (*task_mmu_error)(struct lima_sched_pipe *pipe);int (*task_recover)(struct lima_sched_pipe *pipe); +void (*task_mask_irq)(struct lima_sched_pipe *pipe);struct work_struct recover_work; };
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c +6 -0
@@ -208,6 +208,8 @@ static int nv17_tv_get_ld_modes(struct drm_encoder *encoder,struct drm_display_mode *mode; mode =drm_mode_duplicate (encoder->dev, tv_mode); +if (!mode) +continue ; mode->clock = tv_norm->tv_enc_mode.vrefresh * mode->htotal / 1000 *
@@ -257,6 +259,8 @@ static int nv17_tv_get_hd_modes(struct drm_encoder *encoder,if (modes[i].hdisplay == output_mode->hdisplay && modes[i].vdisplay == output_mode->vdisplay) { mode =drm_mode_duplicate (encoder->dev, output_mode); +if (!mode) +continue ; mode->type |=DRM_MODE_TYPE_PREFERRED ; }else {
@@ -264,6 +268,8 @@ static int nv17_tv_get_hd_modes(struct drm_encoder *encoder, modes[i].vdisplay,60 , false, (output_mode->flags & DRM_MODE_FLAG_INTERLACE), false); +if (!mode) +continue ; }/* CVT modes are sometimes unsuitable... */
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +3 -3
@@ -506,10 +506,10 @@ static int ili9881c_prepare(struct drm_panel *panel)msleep (5 );/* And reset it */ -gpiod_set_value (ctx->reset,1 ); +gpiod_set_value_cansleep (ctx->reset,1 );msleep (20 ); -gpiod_set_value (ctx->reset,0 ); +gpiod_set_value_cansleep (ctx->reset,0 );msleep (20 );for (i =0 ; i < ctx->desc->init_length; i++) {
@@ -564,7 +564,7 @@ static int ili9881c_unprepare(struct drm_panel *panel)mipi_dsi_dcs_enter_sleep_mode (ctx->dsi);regulator_disable (ctx->power); -gpiod_set_value (ctx->reset,1 ); +gpiod_set_value_cansleep (ctx->reset,1 );return 0 ; }
drivers/gpu/drm/panel/panel-simple.c +1 -0
@@ -2438,6 +2438,7 @@ static const struct display_timing koe_tx26d202vm0bwa_timing = { .vfront_porch = { 3, 5, 10 }, .vback_porch = { 2, 5, 10 }, .vsync_len = { 5, 5, 5 }, + .flags = DISPLAY_FLAGS_DE_HIGH, }; static const struct panel_desc koe_tx26d202vm0bwa = {
drivers/gpu/drm/radeon/radeon.h +0 -1
@@ -132,7 +132,6 @@ extern int radeon_cik_support;/* RADEON_IB_POOL_SIZE must be a power of 2 */ #define RADEON_IB_POOL_SIZE 16#define RADEON_DEBUGFS_MAX_COMPONENTS 32 -#define RADEONFB_CONN_LIMIT 4#define RADEON_BIOS_NUM_SCRATCH 8/* internal ring indices */
drivers/gpu/drm/radeon/radeon_display.c +1 -7
@@ -685,7 +685,7 @@ static void radeon_crtc_init(struct drm_device *dev, int index)struct radeon_device *rdev = dev->dev_private;struct radeon_crtc *radeon_crtc; - radeon_crtc =kzalloc (sizeof (struct radeon_crtc ) + (RADEONFB_CONN_LIMIT *sizeof (struct drm_connector *)),GFP_KERNEL ); + radeon_crtc =kzalloc (sizeof (*radeon_crtc),GFP_KERNEL );if (radeon_crtc ==NULL )return ;
@@ -711,12 +711,6 @@ static void radeon_crtc_init(struct drm_device *dev, int index) dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; -#if 0 - radeon_crtc->mode_set.crtc = &radeon_crtc->base; - radeon_crtc->mode_set.connectors = (struct drm_connector **)(radeon_crtc +1 ); - radeon_crtc->mode_set.num_connectors =0 ; -#endif -if (rdev->is_atom_bios && (ASIC_IS_AVIVO (rdev) || radeon_r4xx_atom))radeon_atombios_init_crtc (dev, radeon_crtc);else
drivers/gpu/drm/radeon/sumo_dpm.c +2 -0
@@ -1621,6 +1621,8 @@ void sumo_construct_vid_mapping_table(struct radeon_device *rdev,for (i =0 ; i <SUMO_MAX_HARDWARE_POWERLEVELS ; i++) {if (table[i].ulSupportedSCLK !=0 ) { +if (table[i].usVoltageIndex >=SUMO_MAX_NUMBER_VOLTAGES ) +continue ; vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = table[i].usVoltageID; vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +0 -7
@@ -752,13 +752,6 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)vmw_read (dev_priv,SVGA_REG_SUGGESTED_GBOBJECT_MEM_SIZE_KB ); -/* -* Workaround for low memory 2D VMs to compensate for the -* allocation taken by fbdev -*/ -if (!(dev_priv->capabilities &SVGA_CAP_3D )) - mem_size *=3 ; - dev_priv->max_mob_pages = mem_size *1024 /PAGE_SIZE ; dev_priv->prim_bb_mem = vmw_read(dev_priv,
drivers/greybus/interface.c +1 -0
@@ -694,6 +694,7 @@ static void gb_interface_release(struct device *dev)trace_gb_interface_release (intf); +cancel_work_sync (&intf->mode_switch_work);kfree (intf); }
drivers/hid/hid-core.c +0 -1
@@ -1446,7 +1446,6 @@ static void implement(const struct hid_device *hid, u8 *report,hid_warn (hid,"%s() called with too large value %d (n: %d)! (%s)\n" , __func__, value, n, current->comm); -WARN_ON (1 ); value &= m; } }
drivers/hid/hid-ids.h +1 -0
@@ -765,6 +765,7 @@#define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e#define USB_DEVICE_ID_LOGITECH_T651 0xb00c#define USB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD 0xb309 +#define USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD 0xbb00#define USB_DEVICE_ID_LOGITECH_C007 0xc007#define USB_DEVICE_ID_LOGITECH_C077 0xc077#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
drivers/hid/hid-logitech-dj.c +3 -1
@@ -1218,8 +1218,10 @@ static int logi_dj_recv_switch_to_dj_mode(struct dj_receiver_dev *djrcv_dev,*/ msleep (50 ); -if (retval) +if (retval) { +kfree (dj_report);return retval; + } }/*
drivers/hid/hid-multitouch.c +6 -0
@@ -1998,6 +1998,12 @@ static const struct hid_device_id mt_devices[] = { USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X12_TAB) }, +/* Logitech devices */ + { .driver_data = MT_CLS_NSMU, +HID_DEVICE (BUS_BLUETOOTH ,HID_GROUP_MULTITOUCH_WIN_8 , +USB_VENDOR_ID_LOGITECH , + USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD) }, + /* MosArt panels */ { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE, MT_USB_DEVICE(USB_VENDOR_ID_ASUS,
drivers/hwtracing/intel_th/pci.c +25 -0
@@ -294,6 +294,11 @@ static const struct pci_device_id intel_th_pci_id_table[] = { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xae24), .driver_data = (kernel_ulong_t)&intel_th_2x, }, + { +/* Meteor Lake-S */ +PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x7f26 ), + .driver_data = (kernel_ulong_t)&intel_th_2x, + }, {/* Raptor Lake-S */ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x7a26),
@@ -304,6 +309,26 @@ static const struct pci_device_id intel_th_pci_id_table[] = { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa76f), .driver_data = (kernel_ulong_t)&intel_th_2x, }, + { +/* Granite Rapids */ +PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x0963 ), + .driver_data = (kernel_ulong_t)&intel_th_2x, + }, + { +/* Granite Rapids SOC */ +PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x3256 ), + .driver_data = (kernel_ulong_t)&intel_th_2x, + }, + { +/* Sapphire Rapids SOC */ +PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0x3456 ), + .driver_data = (kernel_ulong_t)&intel_th_2x, + }, + { +/* Lunar Lake */ +PCI_DEVICE (PCI_VENDOR_ID_INTEL ,0xa824 ), + .driver_data = (kernel_ulong_t)&intel_th_2x, + }, {/* Alder Lake CPU */ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x466f),
drivers/i2c/busses/i2c-at91-slave.c +1 -2
@@ -106,8 +106,7 @@ static int at91_unreg_slave(struct i2c_client *slave)static u32 at91_twi_func (struct i2c_adapter *adapter) { -return I2C_FUNC_SLAVE |I2C_FUNC_I2C |I2C_FUNC_SMBUS_EMUL - |I2C_FUNC_SMBUS_READ_BLOCK_DATA ; +return I2C_FUNC_SLAVE ; }static const struct i2c_algorithm at91_twi_algorithm_slave = {
drivers/i2c/busses/i2c-designware-slave.c +1 -1
@@ -232,7 +232,7 @@ static const struct i2c_algorithm i2c_dw_algo = {void i2c_dw_configure_slave (struct dw_i2c_dev *dev) { - dev->functionality =I2C_FUNC_SLAVE |DW_IC_DEFAULT_FUNCTIONALITY ; + dev->functionality =I2C_FUNC_SLAVE ; dev->slave_cfg =DW_IC_CON_RX_FIFO_FULL_HLD_CTRL |DW_IC_CON_RESTART_EN |DW_IC_CON_STOP_DET_IFADDRESSED ;
drivers/i2c/busses/i2c-ocores.c +1 -1
@@ -443,8 +443,8 @@ static int ocores_init(struct device *dev, struct ocores_i2c *i2c)oc_setreg (i2c,OCI2C_PREHIGH , prescale >>8 );/* Init the device */ -oc_setreg (i2c,OCI2C_CMD ,OCI2C_CMD_IACK );oc_setreg (i2c,OCI2C_CONTROL , ctrl |OCI2C_CTRL_EN ); +oc_setreg (i2c,OCI2C_CMD ,OCI2C_CMD_IACK );return 0 ; }
drivers/iio/adc/ad7266.c +2 -0
@@ -157,6 +157,8 @@ static int ad7266_read_raw(struct iio_dev *indio_dev, ret =ad7266_read_single (st, val, chan->address);iio_device_release_direct_mode (indio_dev); +if (ret <0 ) +return ret; *val = (*val >>2 ) &0xfff ;if (chan->scan_type.sign =='s' ) *val =sign_extend32 (*val,11 );
drivers/iio/adc/ad9467.c +2 -2
@@ -223,11 +223,11 @@ static void __ad9467_get_scale(struct adi_axi_adc_conv *conv, int index, }static const struct iio_chan_spec ad9434_channels[] = { -AD9467_CHAN (0 ,0 ,12 ,'S' ), +AD9467_CHAN (0 ,0 ,12 ,'s' ), };static const struct iio_chan_spec ad9467_channels[] = { -AD9467_CHAN (0 ,0 ,16 ,'S' ), +AD9467_CHAN (0 ,0 ,16 ,'s' ), };static const struct ad9467_chip_info ad9467_chip_tbl[] = {
drivers/iio/chemical/bme680.h +2 -0
@@ -54,7 +54,9 @@#define BME680_NB_CONV_MASK GENMASK(3, 0)#define BME680_REG_MEAS_STAT_0 0x1D +#define BME680_NEW_DATA_BIT BIT(7)#define BME680_GAS_MEAS_BIT BIT(6) +#define BME680_MEAS_BIT BIT(5)/* Calibration Parameters */ #define BME680_T2_LSB_REG 0x8A
drivers/iio/chemical/bme680_core.c +54 -8
125 lines not on this page · raw message
drivers/iio/dac/ad5592r-base.c +1 -1
@@ -411,7 +411,7 @@ static int ad5592r_read_raw(struct iio_dev *iio_dev,s64 tmp = *val * (3767897513LL /25LL ); *val =div_s64_rem (tmp,1000000000LL , val2); -return IIO_VAL_INT_PLUS_MICRO ; +return IIO_VAL_INT_PLUS_NANO ; }mutex_lock (&st->lock);
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c +0 -4
@@ -128,10 +128,6 @@ static int inv_icm42600_accel_update_scan_mode(struct iio_dev *indio_dev,/* update data FIFO write */ inv_icm42600_timestamp_apply_odr (ts,0 ,0 ,0 ); ret =inv_icm42600_buffer_set_fifo_en (st, fifo_en | st->fifo.en); -if (ret) - goto out_unlock; - - ret =inv_icm42600_buffer_update_watermark (st); out_unlock:mutex_unlock (&st->lock);
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c +0 -4
@@ -128,10 +128,6 @@ static int inv_icm42600_gyro_update_scan_mode(struct iio_dev *indio_dev,/* update data FIFO write */ inv_icm42600_timestamp_apply_odr (ts,0 ,0 ,0 ); ret =inv_icm42600_buffer_set_fifo_en (st, fifo_en | st->fifo.en); -if (ret) - goto out_unlock; - - ret =inv_icm42600_buffer_update_watermark (st); out_unlock:mutex_unlock (&st->lock);
drivers/infiniband/hw/mlx5/srq.c +9 -6
@@ -225,12 +225,15 @@ int mlx5_ib_create_srq(struct ib_srq *ib_srq,int err;struct mlx5_srq_attr in = {};__u32 max_srq_wqes =1 <<MLX5_CAP_GEN (dev->mdev, log_max_srq_sz); - -/* Sanity check SRQ size before proceeding */ -if (init_attr->attr.max_wr >= max_srq_wqes) { -mlx5_ib_dbg (dev,"max_wr %d, cap %d\n" , - init_attr->attr.max_wr, - max_srq_wqes); +__u32 max_sge_sz =MLX5_CAP_GEN (dev->mdev, max_wqe_sz_rq) / +sizeof (struct mlx5_wqe_data_seg ); + +/* Sanity check SRQ and sge size before proceeding */ +if (init_attr->attr.max_wr >= max_srq_wqes || + init_attr->attr.max_sge > max_sge_sz) { +mlx5_ib_dbg (dev,"max_wr %d,wr_cap %d,max_sge %d, sge_cap:%d\n" , + init_attr->attr.max_wr, max_srq_wqes, + init_attr->attr.max_sge, max_sge_sz);return -EINVAL ; }
drivers/input/input.c +90 -15
151 lines not on this page · raw message
drivers/input/touchscreen/ili210x.c +2 -2
@@ -231,8 +231,8 @@ static int ili251x_read_touch_data(struct i2c_client *client, u8 *data)if (!error && data[0 ] ==2 ) { error =i2c_master_recv (client, data +ILI251X_DATA_SIZE1 ,ILI251X_DATA_SIZE2 ); -if (error >=0 && error !=ILI251X_DATA_SIZE2 ) - error = -EIO ; +if (error >=0 ) + error = error ==ILI251X_DATA_SIZE2 ?0 : -EIO ; }return error;
drivers/iommu/amd/amd_iommu_types.h +23 -1
@@ -435,6 +435,11 @@ extern bool amd_iommu_irq_remap;/* kmem_cache to get tables with 128 byte alignement */ extern struct kmem_cache *amd_iommu_irq_cache; +/* Make iterating over all pci segment easier */ +#define for_each_pci_segment (pci_seg) \ + list_for_each_entry((pci_seg), &amd_iommu_pci_seg_list, list) +#define for_each_pci_segment_safe (pci_seg, next) \ + list_for_each_entry_safe((pci_seg), (next), &amd_iommu_pci_seg_list, list)/* * Make iterating over all IOMMUs easier */
@@ -494,6 +499,17 @@ struct domain_pgtable {u64 *root; }; +/* +* This structure contains information about one PCI segment in the system. +*/ +struct amd_iommu_pci_seg { +/* List with all PCI segments in the system */ +struct list_head list; + +/* PCI segment number */ +u16 id; +}; +/* * Structure where we save information about one hardware AMD IOMMU in the * system.
@@ -545,7 +561,7 @@ struct amd_iommu {u16 cap_ptr;/* pci domain of this IOMMU */ -u16 pci_seg; +struct amd_iommu_pci_seg *pci_seg;/* start of exclusion range of that IOMMU */ u64 exclusion_start;
@@ -676,6 +692,12 @@ extern struct list_head ioapic_map;extern struct list_head hpet_map;extern struct list_head acpihid_map; +/* +* List with all PCI segments in the system. This list is not locked because +* it is only written at driver initialization time +*/ +extern struct list_head amd_iommu_pci_seg_list; +/* * List with all IOMMUs in the system. This list is not locked because it is * only written and read at driver initialization or suspend time
drivers/iommu/amd/init.c +54 -1
89 lines not on this page · raw message
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +1 -1
@@ -2925,7 +2925,7 @@ static void arm_smmu_setup_msis(struct arm_smmu_device *smmu) }/* Add callback to free MSIs on teardown */ -devm_add_action (dev, arm_smmu_free_msis, dev); +devm_add_action_or_reset (dev, arm_smmu_free_msis, dev); }static void arm_smmu_setup_unique_irqs (struct arm_smmu_device *smmu)
drivers/md/bcache/bset.c +22 -22
105 lines not on this page · raw message
drivers/mtd/nand/spi/macronix.c +112 -0
112 lines not on this page · raw message
drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c +5 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c +9 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_lif.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_debug.c +2 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_spi.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_spi.h +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/r8169_main.c +19 -29
48 lines not on this page · raw message
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +28 -27
55 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/iwl-drv.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +0 -10
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rs.h +2 -7
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/scan.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c +8 -11
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/wifi.h +0 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-rockchip-ep.c +2 -4
Lines of this file are not shown. View the raw message.
drivers/pinctrl/pinctrl-rockchip.c +60 -234
294 lines not on this page · raw message
drivers/pinctrl/pinctrl-rockchip.h new file +246 -0
246 lines not on this page · raw message
drivers/power/supply/cros_usbpd-charger.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/remoteproc/ti_k3_r5_remoteproc.c +23 -2
Lines of this file are not shown. View the raw message.
drivers/staging/hikey9xx/hisi-spmi-controller.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/tty/serial/8250/8250_exar.c +42 -0
42 lines not on this page · raw message
drivers/usb/gadget/function/f_printer.c +30 -10
Lines of this file are not shown. View the raw message.
fs/nilfs2/dir.c +28 -31
59 lines not on this page · raw message
include/uapi/asm-generic/hugetlb_encode.h +13 -13
Lines of this file are not shown. View the raw message.
kernel/time/tick-common.c +14 -28
42 lines not on this page · raw message
net/core/xdp.c +66 -34
100 lines not on this page · raw message
net/ncsi/ncsi-manage.c +70 -40
110 lines not on this page · raw message
net/netfilter/ipset/ip_set_core.c +52 -40
92 lines not on this page · raw message
net/netfilter/ipset/ip_set_list_set.c +14 -16
Lines of this file are not shown. View the raw message.
net/sched/act_api.c +43 -23
66 lines not on this page · raw message
net/unix/af_unix.c +20 -27
47 lines not on this page · raw message
tools/include/asm-generic/hugetlb_encode.h +10 -10
Lines of this file are not shown. View the raw message.
tools/testing/selftests/arm64/tags/tags_test.c +4 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c +1 -25
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_tc_tunnel.sh +12 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_eventname.tc +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/vm/compaction_test.c +54 -49
103 lines not on this page · 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.