Linux 6.18.8
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.18.8 kernel.
All users of the 6.18 kernel series must upgrade.
The updated 6.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.18.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/netlink/specs/fou.yaml | 2 Makefile | 2 arch/arm/boot/dts/microchip/sama7d65.dtsi | 4 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 +- arch/arm64/boot/dts/qcom/sm6150.dtsi | 4 arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 arch/arm64/boot/dts/qcom/sm8650.dtsi | 3 arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 1 arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtsi | 1 arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 4 arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 12 + arch/arm64/boot/dts/rockchip/rk3576.dtsi | 2 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 4 arch/arm64/kernel/hibernate.c | 2 arch/arm64/kernel/ptrace.c | 26 +-- arch/arm64/kernel/signal.c | 26 ++- arch/riscv/kernel/suspend.c | 3 arch/s390/boot/vmlinux.lds.S | 17 +- arch/x86/events/perf_event.h | 13 + arch/x86/include/asm/kfence.h | 29 +++ arch/x86/mm/fault.c | 15 -- crypto/authencesn.c | 6 drivers/ata/ahci.c | 10 - drivers/ata/libata-core.c | 8 - drivers/ata/libata-sata.c | 2 drivers/base/regmap/regmap.c | 4 drivers/block/ublk_drv.c | 39 ++++- drivers/bluetooth/btintel_pcie.c | 41 +++++ drivers/bluetooth/btintel_pcie.h | 2 drivers/clocksource/timer-riscv.c | 3 drivers/comedi/comedi_fops.c | 2 drivers/comedi/drivers/dmm32at.c | 32 ++++ drivers/comedi/range.c | 2 drivers/dpll/dpll_core.c | 12 - drivers/gpio/gpiolib-cdev.c | 12 + drivers/gpu/drm/Kconfig | 2 drivers/gpu/drm/Makefile | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 12 - drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 31 ++-- drivers/gpu/drm/bridge/synopsys/dw-dp.c | 20 +- drivers/gpu/drm/imagination/pvr_fw_trace.c | 8 - drivers/gpu/drm/mediatek/mtk_dpi.c | 23 +-- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h | 95 ++++++++++--- drivers/gpu/drm/nouveau/nouveau_display.c | 2 drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 73 +++++++--- drivers/gpu/drm/xe/Kconfig | 2 drivers/gpu/drm/xe/xe_bo.c | 9 - drivers/gpu/drm/xe/xe_debugfs.c | 72 +++++++-- drivers/gpu/drm/xe/xe_device_types.h | 18 ++ drivers/gpu/drm/xe/xe_exec_queue.c | 32 ++++ drivers/gpu/drm/xe/xe_exec_queue.h | 1 drivers/gpu/drm/xe/xe_exec_queue_types.h | 6 drivers/gpu/drm/xe/xe_ggtt.c | 2 drivers/gpu/drm/xe/xe_guc_ads.c | 14 + drivers/gpu/drm/xe/xe_guc_ads.h | 5 drivers/gpu/drm/xe/xe_late_bind_fw_types.h | 4 drivers/gpu/drm/xe/xe_lrc.c | 3 drivers/gpu/drm/xe/xe_migrate.c | 4 drivers/gpu/drm/xe/xe_pm.c | 21 ++ drivers/gpu/drm/xe/xe_pm.h | 17 ++ drivers/gpu/drm/xe/xe_sriov_vf_ccs.c | 2 drivers/gpu/drm/xe/xe_vm.c | 7 drivers/gpu/drm/xe/xe_vm.h | 2 drivers/hv/hv_common.c | 12 - drivers/hwtracing/intel_th/core.c | 19 ++ drivers/i2c/busses/i2c-k1.c | 2 drivers/iio/accel/adxl380.c | 6 drivers/iio/accel/st_accel_core.c | 72 +++++++++ drivers/iio/adc/ad7280a.c | 4 drivers/iio/adc/ad7606_par.c | 3 drivers/iio/adc/ad9467.c | 2 drivers/iio/adc/at91-sama5d2_adc.c | 1 drivers/iio/adc/exynos_adc.c | 15 -- drivers/iio/adc/pac1934.c | 6 drivers/iio/chemical/scd4x.c | 6 drivers/iio/dac/ad3552r-hs.c | 5 drivers/iio/dac/ad5686.c | 6 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 15 +- drivers/iio/industrialio-core.c | 7 drivers/input/serio/i8042-acpipnpio.h | 18 ++ drivers/interconnect/debugfs-client.c | 5 drivers/iommu/amd/iommu.c | 3 drivers/iommu/io-pgtable-arm.c | 2 drivers/irqchip/irq-gic-v3-its.c | 8 - drivers/irqchip/irq-renesas-rzv2h.c | 11 + drivers/isdn/mISDN/timerdev.c | 13 + drivers/leds/led-class.c | 10 - drivers/misc/mei/mei-trace.h | 18 +- drivers/misc/uacce/uacce.c | 48 +++++- drivers/mmc/host/rtsx_pci_sdmmc.c | 41 +++++ drivers/mmc/host/sdhci-of-dwcmshc.c | 7 drivers/net/bonding/bond_main.c | 11 + drivers/net/can/usb/ems_usb.c | 8 - drivers/net/can/usb/esd_usb.c | 9 + drivers/net/can/usb/gs_usb.c | 7 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 9 + drivers/net/can/usb/mcba_usb.c | 8 - drivers/net/can/usb/usb_8dev.c | 8 - drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 5 drivers/net/ethernet/broadcom/asp2/bcmasp.c | 5 drivers/net/ethernet/broadcom/asp2/bcmasp.h | 1 drivers/net/ethernet/emulex/benet/be_cmds.c | 3 drivers/net/ethernet/emulex/benet/be_main.c | 8 - drivers/net/ethernet/freescale/fec_main.c | 13 - drivers/net/ethernet/freescale/ucc_geth.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 69 ++++----- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 drivers/net/ethernet/huawei/hinic3/hinic3_irq.c | 22 +-- drivers/net/ethernet/intel/ice/devlink/devlink.c | 1 drivers/net/ethernet/intel/ice/ice.h | 1 drivers/net/ethernet/intel/ice/ice_common.c | 2 drivers/net/ethernet/intel/ice/ice_ethtool.c | 6 drivers/net/ethernet/intel/ice/ice_lib.c | 29 ++- drivers/net/ethernet/intel/ice/ice_main.c | 31 +++- drivers/net/ethernet/intel/idpf/idpf_ptp.c | 2 drivers/net/ethernet/intel/idpf/idpf_txrx.c | 16 +- drivers/net/ethernet/intel/igc/igc_defines.h | 5 drivers/net/ethernet/intel/igc/igc_ethtool.c | 4 drivers/net/ethernet/intel/igc/igc_main.c | 5 drivers/net/ethernet/intel/igc/igc_ptp.c | 43 +++-- drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 86 ++++++++--- drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 3 drivers/net/ethernet/marvell/octeontx2/af/rvu_sdp.c | 2 drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c | 2 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 7 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 4 drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c | 4 drivers/net/ipvlan/ipvlan.h | 2 drivers/net/ipvlan/ipvlan_core.c | 16 -- drivers/net/ipvlan/ipvlan_main.c | 49 +++--- drivers/net/netdevsim/bpf.c | 6 drivers/net/netdevsim/dev.c | 2 drivers/net/netdevsim/netdevsim.h | 1 drivers/net/pcs/pcs-mtk-lynxi.c | 4 drivers/net/phy/intel-xway.c | 7 drivers/net/phy/sfp.c | 2 drivers/net/usb/dm9601.c | 4 drivers/net/usb/usbnet.c | 9 - drivers/net/veth.c | 8 - drivers/net/wireless/ath/ath10k/ce.c | 16 +- drivers/net/wireless/ath/ath12k/ce.c | 12 - drivers/net/wireless/ath/ath12k/mac.c | 16 +- drivers/net/wireless/ath/ath12k/wmi.c | 9 - drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c | 6 drivers/net/wireless/rsi/rsi_91x_mac80211.c | 1 drivers/nfc/virtual_ncidev.c | 4 drivers/ntb/ntb_transport.c | 1 drivers/of/base.c | 8 - drivers/of/platform.c | 2 drivers/platform/mellanox/mlx-platform.c | 2 drivers/platform/x86/amd/wbrf.c | 4 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c | 8 + drivers/platform/x86/hp/hp-bioscfg/bioscfg.h | 12 - drivers/pmdomain/imx/imx8m-blk-ctrl.c | 11 - drivers/pmdomain/qcom/rpmhpd.c | 4 drivers/pmdomain/rockchip/pm-domains.c | 10 + drivers/pwm/core.c | 10 - drivers/pwm/pwm-max7360.c | 1 drivers/s390/crypto/ap_card.c | 2 drivers/s390/crypto/ap_queue.c | 2 drivers/scsi/qla2xxx/qla_isr.c | 7 drivers/scsi/scsi_error.c | 11 + drivers/scsi/scsi_lib.c | 8 + drivers/scsi/storvsc_drv.c | 3 drivers/slimbus/core.c | 19 +- drivers/spi/spi-sprd-adi.c | 33 +--- drivers/tty/serial/8250/8250_pci.c | 2 drivers/tty/serial/serial_core.c | 6 drivers/w1/slaves/w1_therm.c | 62 ++------ drivers/w1/w1.c | 2 drivers/xen/xen-scsiback.c | 1 fs/btrfs/disk-io.c | 2 fs/fs-writeback.c | 7 fs/fuse/file.c | 4 fs/smb/server/transport_rdma.c | 15 -- include/drm/drm_pagemap.h | 19 ++ include/dt-bindings/power/qcom,rpmhpd.h | 1 include/linux/hugetlb.h | 2 include/linux/iio/iio-opaque.h | 2 include/linux/pagemap.h | 11 + include/trace/events/rxrpc.h | 4 include/uapi/linux/comedi.h | 2 io_uring/io-wq.c | 2 kernel/events/core.c | 9 + kernel/panic.c | 4 kernel/sched/fair.c | 6 kernel/sched/idle.c | 6 kernel/time/clocksource.c | 2 kernel/time/timekeeping.c | 2 kernel/trace/trace_events_hist.c | 9 + kernel/trace/trace_events_synth.c | 8 - mm/damon/sysfs.c | 2 mm/gup.c | 2 mm/hugetlb.c | 28 +-- mm/hugetlb_vmemmap.c | 6 mm/internal.h | 8 - mm/kmsan/core.c | 2 mm/ksm.c | 2 mm/memory-tiers.c | 2 mm/memory.c | 4 mm/migrate.c | 12 - mm/rmap.c | 20 -- mm/secretmem.c | 2 mm/slab_common.c | 2 mm/slub.c | 10 - mm/swapfile.c | 2 mm/userfaultfd.c | 2 mm/vma.c | 102 +++++++++----- mm/vma.h | 3 mm/vmscan.c | 13 + net/dsa/dsa.c | 2 net/ipv4/fou_core.c | 3 net/ipv4/fou_nl.c | 2 net/ipv6/ndisc.c | 4 net/l2tp/l2tp_core.c | 8 - net/mac80211/scan.c | 9 - net/netrom/nr_route.c | 13 + net/openvswitch/vport.c | 11 - net/rxrpc/ar-internal.h | 9 + net/rxrpc/conn_event.c | 2 net/rxrpc/output.c | 14 - net/rxrpc/peer_event.c | 17 ++ net/rxrpc/proc.c | 4 net/rxrpc/recvmsg.c | 19 ++ net/rxrpc/rxgk.c | 2 net/rxrpc/rxkad.c | 2 net/sched/act_ife.c | 6 net/sched/sch_qfq.c | 2 net/sched/sch_teql.c | 5 net/sctp/sm_statefuns.c | 10 - net/vmw_vsock/virtio_transport_common.c | 36 +++- rust/kernel/io.rs | 9 - rust/kernel/io/resource.rs | 2 rust/kernel/irq/flags.rs | 2 scripts/kconfig/nconf-cfg.sh | 11 - security/keys/trusted-keys/trusted_tpm2.c | 4 sound/hda/codecs/realtek/alc269.c | 1 sound/pci/ctxfi/ctamixer.c | 2 sound/usb/mixer.c | 22 ++- sound/usb/mixer_scarlett2.c | 6 tools/net/ynl/ynl-regen.sh | 2 tools/perf/util/parse-events.c | 7 tools/testing/selftests/net/amt.sh | 7 tools/testing/selftests/net/fib-onlink-tests.sh | 71 ++++----- tools/testing/selftests/ublk/kublk.c | 11 - tools/testing/vsock/util.h | 2 tools/testing/vsock/vsock_test.c | 11 + 249 files changed, 1889 insertions(+), 875 deletions(-)
Abdun Nihaal (1):
scsi: xen: scsiback: Fix potential memory leak in scsiback_remove()
Alex Deucher (1):
drm/amdgpu: fix type for wptr in ring backup
Alex Ramírez (2):
drm/nouveau: add missing DCB connector types
drm/nouveau: implement missing DCB connector types; gracefully handle unknown connectors
Alexander Egorenkov (1):
s390/boot/vmlinux.lds.S: Ensure bzImage ends with SecureBoot trailer
Alexander Usyskin (1):
mei: trace: treat reg parameter as string
Alexandre Courbot (2):
rust: io: always inline functions using build_assert with arguments
rust: irq: always inline functions using build_assert with arguments
Alexey Charkov (2):
arm64: dts: rockchip: Fix headphones widget name on NanoPi M5
arm64: dts: rockchip: Configure MCLK for analog sound on NanoPi M5
Alok Tiwari (1):
octeontx2: cn10k: fix RX flowid TCAM mask handling
Andrew Cooper (1):
x86/kfence: avoid writing L1TF-vulnerable PTEs
Andrey Vatoropin (1):
be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list
Andy Shevchenko (1):
iio: core: Replace lockdep_set_class() + mutex_init() by combined call
Arkadiusz Kozdra (1):
kconfig: fix static linking of nconf
Arnd Bergmann (1):
irqchip/gic-v3-its: Avoid truncating memory addresses
Arun Raghavan (1):
ALSA: usb: Increase volume range that triggers a warning
Baochen Qiang (2):
wifi: ath12k: don't force radio frequency check in freq_to_idx()
wifi: ath12k: fix dead lock while flushing management frames
Berk Cem Goksel (1):
ALSA: usb-audio: Fix use-after-free in snd_usb_mixer_free()
Biju Das (1):
irqchip/renesas-rzv2h: Prevent TINT spurious interrupt during resume
Brajesh Gupta (1):
drm/imagination: Wait for FW trace update command completion
Cedric Xing (1):
x86: make page fault handling disable interrupts properly
Chaitanya Kulkarni (1):
iommu/io-pgtable-arm: fix size_t signedness bug in unmap path
Chaoyi Chen (1):
arm64: dts: rockchip: Fix wrong register range of rk3576 gpu
Chen-Yu Tsai (1):
drm/mediatek: dpi: Find next bridge during probe
Cheng-Yu Lee (1):
regmap: Fix race condition in hwspinlock irqsave routine
Chenghai Huang (2):
uacce: fix isolate sysfs check condition
uacce: ensure safe queue release with state management
Chwee-Lin Choong (2):
igc: fix race condition in TX timestamp read for register 0
igc: Reduce TSN TX packet buffer from 7KB to 5KB per queue
Clemens Gruber (1):
net: fec: account for VLAN header in frame length calculations
Cody Haas (1):
ice: Fix persistent failure in ice_get_rxfh
Dan Carpenter (1):
wifi: mwifiex: Fix a loop in mwifiex_update_ampdu_rxwinsize()
Daniel Golle (2):
net: phy: intel-xway: fix OF node refcount leakage
net: pcs: pcs-mtk-lynxi: report in-band capability for 2500Base-X
Dave Ertman (1):
ice: Avoid detrimental cleanup for bond during interface stop
Dave Jiang (1):
ntb: transport: Fix uninitialized mutex
David Hildenbrand (Red Hat) (3):
mm/hugetlb: fix hugetlb_pmd_shared()
mm/rmap: fix two comments related to huge_pmd_unshare() mm/hugetlb: fix two comments related to huge_pmd_unshare()
David Howells (2):
rxrpc: Fix recvmsg() unconditional requeue
rxrpc: Fix data-race warning and potential load/store tearing
David Jeffery (1):
scsi: core: Wake up the error handler when final completions race against each other
David Yang (5):
veth: fix data race in veth_get_ethtool_stats
net: hns3: fix data race in hns3_fetch_stats
idpf: Fix data race in idpf_net_dim
be2net: fix data race in be_get_new_eqd
net: openvswitch: fix data race in ovs_vport_get_upcall_stats
Ding Hui (1):
ice: Fix incorrect timeout ice_release_res()
Dmitry Skorodumov (1):
ipvlan: Make the addrs_lock be per port
Eric Dumazet (6):
bonding: limit BOND_MODE_8023AD to Ethernet devices
l2tp: avoid one data-race in l2tp_tunnel_del_work()
mISDN: annotate data-race around dev->work
ipv6: annotate data-race in ndisc_router_discovery()
bonding: provide a net pointer to __skb_flow_dissect() net/sched: act_ife: avoid possible NULL deref
Ethan Nelson-Moore (1):
net: usb: dm9601: remove broken SR9700 support
Faisal Bukhari (1):
perf parse-events: Fix evsel allocation failure
Fan Gong (1):
hinic3: Fix netif_queue_set_napi queue_index input parameter error
Felix Gu (1):
spi: spi-sprd-adi: Fix double free in probe error path
Fernand Sieber (1):
perf/x86/intel: Do not enable BTS for guests
Fiona Klute (1):
iio: chemical: scd4x: fix reported channel endianness
Francesco Lavra (2):
iio: imu: st_lsm6dsx: fix iio_chan_spec for sensors without event detection
iio: accel: adxl380: fix handling of unavailable "INT1" interrupt
Frank Zhang (1):
pmdomain:rockchip: Fix init genpd as GENPD_STATE_ON before regulator ready
Gal Pressman (1):
panic: only warn about deprecated panic_print on write access
Georgi Djakov (1):
interconnect: debugfs: initialize src_node and dst_node to empty strings
Geraldo Nascimento (2):
arm64: dts: rockchip: remove redundant max-link-speed from nanopi-r4s
arm64: dts: rockchip: remove dangerous max-link-speed from helios64
Greg Kroah-Hartman (1):
Linux 6.18.8
Hamza Mahfooz (1):
net: sfp: add potron quirk to the H-COM SPP425H-GAB4 SFP+ Stick
Hans de Goede (1):
leds: led-class: Only Add LED to leds_list when it is fully ready
Haotian Zhang (1):
iio: adc: ad7606: Fix incorrect type for error return variable
Haoxiang Li (1):
w1: fix redundant counter decrement in w1_attach_slave_device()
Harald Freudenberger (1):
s390/ap: Fix wrong APQN fill calculation
Hari Prasath Gujulan Elango (1):
ARM: dts: microchip: sama7d65: fix the ranges property for flx9
Hariprasad Kelam (2):
Octeontx2-pf: Update xdp features
Octeontx2-af: Add proper checks for fwdata
Ian Abbott (2):
comedi: dmm32at: serialize use of paged registers
comedi: Fix getting range information for subdevices 16 to 255
Ivan Vecera (1):
dpll: Prevent duplicate registrations
Jacob Keller (1):
ice: initialize ring_stats->syncp
Jamal Hadi Salim (2):
net/sched: Enforce that teql can only be used as root qdisc
net/sched: qfq: Use cl_is_active to determine whether class is active in qfq_rm_from_ag
Jani Nikula (2):
drm/xe/xe_late_bind_fw: fix enum xe_late_bind_fw_id kernel-doc drm/xe/vm: fix xe_vm_validation_exec() kernel-doc
Jens Axboe (1):
io_uring/io-wq: check IO_WQ_BIT_EXIT inside work run loop
Jeongjun Park (1):
netrom: fix double-free in nr_route_frame()
Jiasheng Jiang (1):
scsi: qla2xxx: Sanitize payload size to prevent member overflow
Jiawen Wu (1):
net: txgbe: remove the redundant data return in SW-FW mailbox
Jijie Shao (2):
net: hns3: fix wrong GENMASK() for HCLGE_FD_AD_COUNTER_NUM_M
net: hns3: fix the HCLGE_FD_AD_NXT_KEY error setting issue
Joanne Koong (1):
fs/writeback: skip AS_NO_DATA_INTEGRITY mappings in wait_sb_inodes()
Johan Hovold (4):
iio: adc: exynos_adc: fix OF populate on driver rebind
slimbus: core: fix runtime PM imbalance on report present
slimbus: core: fix device reference leak on report present
intel_th: fix device leak on output open()
Justin Chen (1):
net: bcmasp: Fix network filter wake for asp-3.0
Konrad Dybcio (3):
arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
dt-bindings: power: qcom,rpmpd: Add SC8280XP_MXC_AO
pmdomain: qcom: rpmhpd: Add MXC to SC8280XP
Krishna Kurapati (2):
arm64: dts: qcom: sm8550: Fix compile warnings in USB controller node
arm64: dts: qcom: sm8650: Fix compile warnings in USB controller node
Krzysztof Kozlowski (1):
serial: Fix not set tty->port race condition
Kuniyuki Iwashima (4):
l2tp: Fix memleak in l2tp_udp_encap_recv().
gue: Fix skb memleak with inner IP protocol 0.
tools: ynl: Specify --no-line-number in ynl-regen.sh.
fou: Don't allow 0 for FOU_ATTR_IPPROTO.
Kurt Kanzenbach (1):
igc: Restore default Qbv schedule when changing channels
Kübrich, Andreas (1):
iio: dac: ad5686: add AD5695R to ad5686_chip_info_tbl
Lachlan Hodges (1):
wifi: mac80211: don't perform DA check on S1G beacon
Laurent Vivier (1):
usbnet: limit max_mtu based on device's hard_mtu
Likun Gao (1):
drm/amdgpu: remove frame cntl for gfx v12
Long Li (1):
scsi: storvsc: Process unsupported MODE_SENSE_10
Lorenzo Stoakes (2):
mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge mm/vma: enforce VMA fork limit on unfaulted,faulted mremap merge too
Lukasz Laguna (1):
drm/xe: Update wedged.mode only after successful reset policy change
Lyude Paul (1):
drm/nouveau/disp: Set drm_mode_config_funcs.atomic_(check|commit)
Manish Dharanenthiran (1):
wifi: ath12k: cancel scan only on active scan vdev
Marc Kleine-Budde (6):
can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error
can: ems_usb: ems_usb_read_bulk_callback(): fix URB memory leak
can: esd_usb: esd_usb_read_bulk_callback(): fix URB memory leak
can: kvaser_usb: kvaser_usb_read_bulk_callback(): fix URB memory leak
can: mcba_usb: mcba_usb_read_bulk_callback(): fix URB memory leak
can: usb_8dev: usb_8dev_read_bulk_callback(): fix URB memory leak
Marco Crivellari (1):
drm/xe: fix WQ_MEM_RECLAIM passed as max_active to alloc_workqueue()
Marek Vasut (1):
wifi: rsi: Fix memory corruption due to not set vif driver data size
Mario Limonciello (3):
platform/x86: hp-bioscfg: Fix kobject warnings for empty attribute names platform/x86: hp-bioscfg: Fix kernel panic in GET_INSTANCE_ID macro platform/x86: hp-bioscfg: Fix automatic module loading
Mark Harmstone (1):
btrfs: fix missing fields in superblock backup with BLOCK_GROUP_TREE
Mark Rutland (3):
arm64/fpsimd: ptrace: Fix SVE writes on !SME systems arm64/fpsimd: signal: Allocate SSVE storage when restoring ZA arm64/fpsimd: signal: Fix restoration of SVE context
Markus Koeniger (1):
iio: accel: iis328dq: fix gain values
Marnix Rijnart (1):
serial: 8250_pci: Fix broken RS485 for F81504/508/512
Matt Roper (1):
drm/xe/pm: Add scope-based cleanup helper for runtime PM
Matthew Auld (2):
drm/xe/uapi: disallow bind queue sharing
drm/xe/migrate: fix job lock assert
Matthew Brost (2):
drm/xe: Disable timestamp WA on VFs drm/xe: Adjust page count tracepoints in shrinker
Matthew Schwartz (1):
mmc: rtsx_pci_sdmmc: implement sdmmc_card_busy function
Matthew Wilcox (Oracle) (1):
migrate: correct lock ordering for hugetlb file folios
Maxime Chevallier (1):
net: freescale: ucc_geth: Return early when TBI PHY can't be found
Melbin K Mathew (2):
vsock/virtio: fix potential underflow in virtio_transport_get_credit() vsock/virtio: cap TX credit to local buffer size
Miaoqian Lin (1):
iio: dac: ad3552r-hs: fix out-of-bound write in ad3552r_hs_write_data_source
Michael Kelley (1):
Drivers: hv: Always do Hyper-V panic notification in hv_kmsg_dump()
Michal Luczaj (2):
vsock/virtio: Coalesce only linear skb vsock/test: Do not filter kallsyms by symbol type
Mina Almasry (1):
idpf: read lower clock bits inside the time sandwich
Ming Lei (3):
selftests/ublk: fix IO thread idle check selftests/ublk: fix error handling for starting device selftests/ublk: fix garbage output in foreground mode
Ming Qian (1):
pmdomain: imx8m-blk-ctrl: Remove separate rst and clk mask for 8mq vpu
Naohiko Shimizu (2):
riscv: clocksource: Fix stimecmp update hazard on RV32
riscv: suspend: Fix stimecmp update hazard on RV32
Nicolas Ferre (1):
ARM: dts: microchip: sama7d65: fix size-cells property for i2c3
Niklas Cassel (6):
ata: ahci: Do not read the per port area for unimplemented ports
ata: libata: Call ata_dev_config_lpm() for ATAPI devices
ata: libata-sata: Improve link_power_management_supported sysfs attribute
ata: libata: Add cpr_log to ata_dev_print_features() early return
ata: libata: Add DIPM and HIPM to ata_dev_print_features() early return
ata: libata: Print features also for ATAPI devices
Oleksandr Shamray (1):
platform/mellanox: Fix SN5640/SN5610 LED platform data
Ondrej Jirman (1):
arm64: dts: rockchip: Fix voltage threshold for volume keys for Pinephone Pro
Osama Abdelkader (1):
drm/bridge: synopsys: dw-dp: fix error paths of dw_dp_bind
Paul Greenwalt (2):
ice: add missing ice_deinit_hw() in devlink reinit path
ice: fix devlink reload call trace
Pavel Zhigulin (1):
iio: adc: ad7280a: handle spi_setup() errors in probe()
Pei Xiao (1):
iio: adc: at91-sama5d2_adc: Fix potential use-after-free in sama5d2_adc driver
Pradeep P V K (1):
arm64: dts: qcom: talos: Correct UFS clocks ordering
Quentin Schulz (1):
arm64: dts: rockchip: fix unit-address for RK3588 NPU's core1 and core2's IOMMU
Raju Rangoju (1):
amd-xgbe: avoid misleading per-packet error log
Rasmus Villemoes (1):
iio: core: add separate lockdep class for info_exist_lock
Ratheesh Kannoth (1):
octeontx2-af: Fix error handling
Ravindra (1):
Bluetooth: btintel_pcie: Support for S4 (Hibernate)
Ricardo B. Marlière (1):
selftests: net: fib-onlink-tests: Convert to use namespaces by default
Richard Genoud (1):
pwm: max7360: Populate missing .sizeof_wfhw in max7360_pwm_ops
Rob Herring (Arm) (1):
of: platform: Use default match table for /firmware
Samasth Norway Ananda (1):
ALSA: scarlett2: Fix buffer overflow in config retrieval
Seamus Connor (1):
ublk: fix ublksrv pid handling for pid namespaces
Shawn Lin (1):
mmc: sdhci-of-dwcmshc: Prevent illegal clock reduction in HS200/HS400 mode
Srish Srinivasan (1):
keys/trusted_keys: fix handle passed to tpm_buf_append_name during unseal
Stefano Garzarella (1):
vsock/test: fix seqpacket message bounds test
Steven Rostedt (1):
tracing: Fix crash on synthetic stacktrace field usage
Swaraj Gaikwad (1):
slab: fix kmalloc_nolock() context check for PREEMPT_RT
Taehee Yoo (1):
selftests: net: amt: wait longer for connection before sending packets
Taeyang Lee (1):
crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec
Takashi Iwai (1):
ALSA: ctxfi: Fix potential OOB access in audio mixer handling
Thadeu Lima de Souza Cascardo (1):
Revert "nfc/nci: Add the inconsistency check between the input data length and count"
Thomas Fourier (4):
wifi: ath10k: fix dma_free_coherent() pointer
wifi: ath12k: fix dma_free_coherent() pointer
ksmbd: smbd: fix dma_unmap_sg() nents
octeontx2: Fix otx2_dma_map_page() error return code
Thomas Gleixner (1):
clocksource: Reduce watchdog readout delay limit to prevent false positives
Thomas Hellström (1):
drm, drm/xe: Fix xe userptr in the absence of CONFIG_DEVICE_PRIVATE
Thomas Weißschuh (1):
timekeeping: Adjust the leap state for the correct auxiliary timekeeper
Thorsten Blum (2):
w1: therm: Fix off-by-one buffer overflow in alarms_store
iio: adc: pac1934: Fix clamped value in pac1934_reg_snapshot
Timur Kristóf (3):
drm/amd/pm: Fix si_dpm mmCG_THERMAL_INT setting drm/amd/pm: Don't clear SI SMC table when setting power limit drm/amd/pm: Workaround SI powertune issue on Radeon 430 (v2)
Tomas Melin (1):
iio: adc: ad9467: fix ad9434 vref mask
Tzung-Bi Shih (3):
gpio: cdev: Correct return code on memory allocation failure
gpio: cdev: Fix resource leaks on errors in lineinfo_changed_notify()
gpio: cdev: Fix resource leaks on errors in gpiolib_cdev_register()
Uwe Kleine-König (1):
pwm: Ensure ioctl() returns a negative errno on error
Vasant Hegde (1):
iommu/amd: Fix error path in amd_iommu_probe_device()
Vincent Guittot (1):
sched/fair: Fix pelt clock sync when entering idle
Vladimir Oltean (1):
net: dsa: fix off-by-one in maximum bridge ID determination
Weigang He (1):
of: fix reference count leak in of_alias_scan()
Wenkai Lin (1):
uacce: fix cdev handling in the cleanup path
Will Rosenberg (1):
perf: Fix refcount warning on event->mmap_count increment
Xin Long (1):
sctp: move SCTP_CMD_ASSOC_SHKEY right after SCTP_CMD_PEER_INIT
Yang Shen (1):
uacce: implement mremap in uacce_vm_ops to return -EPERM
Yingying Tang (2):
wifi: ath12k: Fix scan state stuck in ABORTING after cancel_remain_on_channel
wifi: ath12k: Fix wrong P2P device link id issue
Yixun Lan (1):
i2c: spacemit: drop IRQF_ONESHOT flag from IRQ request
Yosry Ahmed (1):
mm: restore per-memcg proactive reclaim with !CONFIG_NUMA
Yun Lu (1):
netdevsim: fix a race issue related to the operation on bpf_bound_progs list
Zhang Heng (1):
ALSA: hda/realtek: Add quirk for Samsung 730QED to fix headphone
Zhaoyang Huang (1):
arm64: Set __nocfi on swsusp_arch_resume()
Zilin Guan (1):
platform/x86/amd: Fix memory leak in wbrf_record()
feng (1):
Input: i8042 - add quirk for ASUS Zenbook UX425QA_UM425QA
gongqi (1):
Input: i8042 - add quirks for MECHREVO Wujie 15X Pro
jianyun.gao (1):
mm: fix some typos in mm module
Greg Kroah-Hartman
maintainerDocumentation/netlink/specs/fou.yaml +2 -0
@@ -39,6 +39,8 @@ attribute-sets: - name: ipproto type: u8 + checks: + min: 1 - name: type type: u8
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 18 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arm/boot/dts/microchip/sama7d65.dtsi +2 -2
@@ -527,7 +527,7 @@ i2c3: i2c@600 { interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; #address-cells = <1>; - #size-cells = <1>; + #size-cells = <0>; dmas = <&dma0 AT91_XDMAC_DT_PERID(12)>, <&dma0 AT91_XDMAC_DT_PERID(11)>; dma-names = "tx", "rx";
@@ -676,7 +676,7 @@ i2c8: i2c@600 { flx9: flexcom@e2820000 { compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom"; reg = <0xe2820000 0x200>; - ranges = <0x0 0xe281c000 0x800>; + ranges = <0x0 0xe2820000 0x800>; clocks = <&pmc PMC_TYPE_PERIPHERAL 43>; #address-cells = <1>; #size-cells = <1>;
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +12 -4
@@ -5773,8 +5773,12 @@ remoteproc_nsp0: remoteproc@1b300000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd SC8280XP_NSP>; - power-domain-names = "nsp"; + power-domains = <&rpmhpd SC8280XP_NSP>, + <&rpmhpd SC8280XP_CX>, + <&rpmhpd SC8280XP_MXC>; + power-domain-names = "nsp", + "cx", + "mxc"; memory-region = <&pil_nsp0_mem>;
@@ -5904,8 +5908,12 @@ remoteproc_nsp1: remoteproc@21300000 { clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; - power-domains = <&rpmhpd SC8280XP_NSP>; - power-domain-names = "nsp"; + power-domains = <&rpmhpd SC8280XP_NSP>, + <&rpmhpd SC8280XP_CX>, + <&rpmhpd SC8280XP_MXC>; + power-domain-names = "nsp", + "cx", + "mxc"; memory-region = <&pil_nsp1_mem>;
arch/arm64/boot/dts/qcom/sm6150.dtsi +2 -2
@@ -1260,10 +1260,10 @@ ufs_mem_hc: ufshc@1d84000 { <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>, <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, - <&gcc GCC_UFS_PHY_ICE_CORE_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, - <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; clock-names = "core_clk", "bus_aggr_clk", "iface_clk",
arch/arm64/boot/dts/qcom/sm8550.dtsi +0 -2
@@ -4097,8 +4097,6 @@ usb_dp_qmpphy_dp_in: endpoint { usb_1: usb@a600000 { compatible = "qcom,sm8550-dwc3", "qcom,snps-dwc3"; reg = <0x0 0x0a600000 0x0 0xfc100>; - #address-cells = <1>; - #size-cells = <0>; clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, <&gcc GCC_USB30_PRIM_MASTER_CLK>,
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -3
@@ -5115,9 +5115,6 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, dma-coherent; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; ports {
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +0 -1
@@ -424,7 +424,6 @@ &pcie_phy { &pcie0 { ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; - max-link-speed = <2>; num-lanes = <2>; pinctrl-names = "default"; status = "okay";
arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dtsi +0 -1
@@ -71,7 +71,6 @@ &i2c4 { }; &pcie0 { - max-link-speed = <1>; num-lanes = <1>; vpcie3v3-supply = <&vcc3v3_sys>; };
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +2 -2
@@ -40,13 +40,13 @@ adc-keys { button-up { label = "Volume Up"; linux,code = <KEY_VOLUMEUP>; - press-threshold-microvolt = <100000>; + press-threshold-microvolt = <2000>; }; button-down { label = "Volume Down"; linux,code = <KEY_VOLUMEDOWN>; - press-threshold-microvolt = <600000>; + press-threshold-microvolt = <300000>; }; };
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts +8 -4
@@ -201,6 +201,7 @@ sound { pinctrl-names = "default"; pinctrl-0 = <&hp_det_l>; + simple-audio-card,bitclock-master = <&masterdai>; simple-audio-card,format = "i2s"; simple-audio-card,hp-det-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_LOW>; simple-audio-card,mclk-fs = <256>;
@@ -211,15 +212,16 @@ sound { "Headphones", "HPOR", "IN1P", "Microphone Jack"; simple-audio-card,widgets = - "Headphone", "Headphone Jack", + "Headphone", "Headphones", "Microphone", "Microphone Jack"; simple-audio-card,codec { sound-dai = <&rt5616>; }; - simple-audio-card,cpu { + masterdai: simple-audio-card,cpu { sound-dai = <&sai2>; + system-clock-frequency = <12288000>; }; }; };
@@ -727,10 +729,12 @@ &i2c5 { rt5616: audio-codec@1b { compatible = "realtek,rt5616"; reg = <0x1b>; - assigned-clocks = <&cru CLK_SAI2_MCLKOUT>; + assigned-clocks = <&cru CLK_SAI2_MCLKOUT_TO_IO>; assigned-clock-rates = <12288000>; - clocks = <&cru CLK_SAI2_MCLKOUT>; + clocks = <&cru CLK_SAI2_MCLKOUT_TO_IO>; clock-names = "mclk"; + pinctrl-0 = <&sai2m0_mclk>; + pinctrl-names = "default"; #sound-dai-cells = <0>; }; };
arch/arm64/boot/dts/rockchip/rk3576.dtsi +1 -1
@@ -1261,7 +1261,7 @@ power-domain@RK3576_PD_VO1 { gpu: gpu@27800000 { compatible = "rockchip,rk3576-mali", "arm,mali-bifrost"; - reg = <0x0 0x27800000 0x0 0x200000>; + reg = <0x0 0x27800000 0x0 0x20000>; assigned-clocks = <&scmi_clk SCMI_CLK_GPU>; assigned-clock-rates = <198000000>; clocks = <&cru CLK_GPU>;
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +2 -2
@@ -1200,7 +1200,7 @@ rknn_core_1: npu@fdac0000 { status = "disabled"; }; - rknn_mmu_1: iommu@fdac9000 { + rknn_mmu_1: iommu@fdaca000 { compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; reg = <0x0 0xfdaca000 0x0 0x100>; interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>;
@@ -1230,7 +1230,7 @@ rknn_core_2: npu@fdad0000 { status = "disabled"; }; - rknn_mmu_2: iommu@fdad9000 { + rknn_mmu_2: iommu@fdada000 { compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; reg = <0x0 0xfdada000 0x0 0x100>; interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>;
arch/arm64/kernel/hibernate.c +1 -1
@@ -402,7 +402,7 @@ int swsusp_arch_suspend(void)* Memory allocated by get_safe_page() will be dealt with by the hibernate code, * we don't need to free it here. */ -int swsusp_arch_resume (void ) +int __nocfi swsusp_arch_resume(void) {int rc;void *zero_page;
arch/arm64/kernel/ptrace.c +12 -14
@@ -942,20 +942,18 @@ static int sve_set_common(struct task_struct *target, vq =sve_vq_from_vl (task_get_vl (target, type));/* Enter/exit streaming mode */ -if (system_supports_sme ()) { -switch (type) { -case ARM64_VEC_SVE : - target->thread.svcr &= ~SVCR_SM_MASK ; -set_tsk_thread_flag (target,TIF_SVE ); -break ; -case ARM64_VEC_SME : - target->thread.svcr |=SVCR_SM_MASK ; -set_tsk_thread_flag (target,TIF_SME ); -break ; -default : -WARN_ON_ONCE (1 ); -return -EINVAL ; - } +switch (type) { +case ARM64_VEC_SVE : + target->thread.svcr &= ~SVCR_SM_MASK ; +set_tsk_thread_flag (target,TIF_SVE ); +break ; +case ARM64_VEC_SME : + target->thread.svcr |=SVCR_SM_MASK ; +set_tsk_thread_flag (target,TIF_SME ); +break ; +default : +WARN_ON_ONCE (1 ); +return -EINVAL ; }/* Always zero V regs, FPSR, and FPCR */
arch/arm64/kernel/signal.c +20 -6
@@ -449,12 +449,28 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)if (user->sve_size <SVE_SIG_CONTEXT_SIZE (vq))return -EINVAL ; +if (sm) { +sme_alloc (current, false); +if (!current->thread.sme_state) +return -ENOMEM ; + } +sve_alloc (current, true);if (!current->thread.sve_state) {clear_thread_flag (TIF_SVE );return -ENOMEM ; } +if (sm) { + current->thread.svcr |=SVCR_SM_MASK ; +set_thread_flag (TIF_SME ); + }else { + current->thread.svcr &= ~SVCR_SM_MASK ; +set_thread_flag (TIF_SVE ); + } + + current->thread.fp_type =FP_STATE_SVE ; + err = __copy_from_user(current->thread.sve_state, (char __user const *)user->sve + SVE_SIG_REGS_OFFSET,
@@ -462,12 +478,6 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)if (err)return -EFAULT ; -if (flags &SVE_SIG_FLAG_SM ) - current->thread.svcr |=SVCR_SM_MASK ; -else -set_thread_flag (TIF_SVE ); - current->thread.fp_type =FP_STATE_SVE ; - err =read_fpsimd_context (&fpsimd, user);if (err)return err;
@@ -576,6 +586,10 @@ static int restore_za_context(struct user_ctxs *user)if (user->za_size <ZA_SIG_CONTEXT_SIZE (vq))return -EINVAL ; +sve_alloc (current, false); +if (!current->thread.sve_state) +return -ENOMEM ; +sme_alloc (current, true);if (!current->thread.sme_state) { current->thread.svcr &= ~SVCR_ZA_MASK ;
arch/riscv/kernel/suspend.c +2 -1
@@ -51,10 +51,11 @@ void suspend_restore_csrs(struct suspend_context *context)#ifdef CONFIG_MMU if (riscv_has_extension_unlikely (RISCV_ISA_EXT_SSTC )) { -csr_write (CSR_STIMECMP , context->stimecmp);#if __riscv_xlen <64 +csr_write (CSR_STIMECMP ,ULONG_MAX );csr_write (CSR_STIMECMPH , context->stimecmph);#endif +csr_write (CSR_STIMECMP , context->stimecmp); }csr_write (CSR_SATP , context->satp);
arch/s390/boot/vmlinux.lds.S +9 -8
@@ -137,6 +137,15 @@ SECTIONS } _end = .; + /* Sections to be discarded */ + /DISCARD/ : { + COMMON_DISCARDS + *(.eh_frame) + *(*__ksymtab*) + *(___kcrctab*) + *(.modinfo) + } + DWARF_DEBUG ELF_DETAILS
@@ -161,12 +170,4 @@ SECTIONS *(.rela.*) *(.rela_*) } ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!") - - /* Sections to be discarded */ - /DISCARD/ : { - COMMON_DISCARDS - *(.eh_frame) - *(*__ksymtab*) - *(___kcrctab*) - } }
arch/x86/events/perf_event.h +11 -2
@@ -1558,13 +1558,22 @@ static inline bool intel_pmu_has_bts_period(struct perf_event *event, u64 periodstruct hw_perf_event *hwc = &event->hw;unsigned int hw_event, bts_event; -if (event->attr.freq) +/* +* Only use BTS for fixed rate period==1 events. +*/ +if (event->attr.freq || period !=1 ) +return false; + +/* +* BTS doesn't virtualize. +*/ +if (event->attr.exclude_host)return false; hw_event = hwc->config &INTEL_ARCH_EVENT_MASK ; bts_event = x86_pmu.event_map (PERF_COUNT_HW_BRANCH_INSTRUCTIONS ); -return hw_event == bts_event && period ==1 ; +return hw_event == bts_event; }static inline bool intel_pmu_has_bts (struct perf_event *event)
arch/x86/include/asm/kfence.h +24 -5
@@ -42,10 +42,34 @@ static inline bool kfence_protect_page(unsigned long addr, bool protect) {unsigned int level;pte_t *pte =lookup_address (addr, &level); +pteval_t val;if (WARN_ON (!pte || level !=PG_LEVEL_4K ))return false; + val =pte_val (*pte); + +/* +* protect requires making the page not-present. If the PTE is +* already in the right state, there's nothing to do. +*/ +if (protect != !!(val & _PAGE_PRESENT)) +return true; + +/* +* Otherwise, invert the entire PTE. This avoids writing out an +* L1TF-vulnerable PTE (not present, without the high address bits +* set). +*/ +set_pte (pte,__pte (~val)); + +/* +* If the page was protected (non-present) and we're making it +* present, there is no need to flush the TLB at all. +*/ +if (!protect) +return true; +/* * We need to avoid IPIs, as we may get KFENCE allocations or faults * with interrupts disabled. Therefore, the below is best-effort, and
@@ -53,11 +77,6 @@ static inline bool kfence_protect_page(unsigned long addr, bool protect)* lazy fault handling takes care of faults after the page is PRESENT. */ -if (protect) -set_pte (pte,__pte (pte_val (*pte) & ~_PAGE_PRESENT)); -else -set_pte (pte,__pte (pte_val (*pte) | _PAGE_PRESENT)); -/* * Flush this CPU's TLB, assuming whoever did the allocation/free is * likely to continue running on this CPU.
arch/x86/mm/fault.c +5 -10
@@ -821,8 +821,6 @@ __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,force_sig_pkuerr ((void __user *)address, pkey); else force_sig_fault(SIGSEGV, si_code, (void __user *)address); - -local_irq_disable (); }static noinline void
@@ -1474,15 +1472,12 @@ handle_page_fault(struct pt_regs *regs, unsigned long error_code,do_kern_addr_fault (regs, error_code, address); }else {do_user_addr_fault (regs, error_code, address); -/* -* User address page fault handling might have reenabled -* interrupts. Fixing up all potential exit points of -* do_user_addr_fault() and its leaf functions is just not -* doable w/o creating an unholy mess or turning the code -* upside down. -*/ -local_irq_disable (); } +/* +* page fault handling might have reenabled interrupts, +* make sure to disable them again. +*/ +local_irq_disable (); }DEFINE_IDTENTRY_RAW_ERRORCODE (exc_page_fault)
crypto/authencesn.c +6 -0
@@ -169,6 +169,9 @@ static int crypto_authenc_esn_encrypt(struct aead_request *req)struct scatterlist *src, *dst;int err; +if (assoclen <8 ) +return -EINVAL ; +sg_init_table (areq_ctx->src,2 ); src =scatterwalk_ffwd (areq_ctx->src, req->src, assoclen); dst = src;
@@ -256,6 +259,9 @@ static int crypto_authenc_esn_decrypt(struct aead_request *req)u32 tmp[2 ];int err; +if (assoclen <8 ) +return -EINVAL ; + cryptlen -= authsize;if (req->src != dst)
drivers/ata/ahci.c +5 -5
@@ -2094,13 +2094,13 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)if (ap->flags &ATA_FLAG_EM ) ap->em_message_type = hpriv->em_msg_type; -ahci_mark_external_port (ap); - -ahci_update_initial_lpm_policy (ap); -/* disabled/not-implemented port */ -if (!(hpriv->port_map & (1 << i))) +if (!(hpriv->port_map & (1 << i))) { ap->ops = &ata_dummy_port_ops; + }else { +ahci_mark_external_port (ap); +ahci_update_initial_lpm_policy (ap); + } }/* apply workaround for ASUS P5W DH Deluxe mainboard */
drivers/ata/libata-core.c +7 -1
@@ -2872,7 +2872,8 @@ static void ata_dev_config_lpm(struct ata_device *dev)static void ata_dev_print_features (struct ata_device *dev) { -if (!(dev->flags &ATA_DFLAG_FEATURES_MASK )) +if (!(dev->flags &ATA_DFLAG_FEATURES_MASK ) && !dev->cpr_log && + !ata_id_has_hipm (dev->id) && !ata_id_has_dipm (dev->id))return ; ata_dev_info(dev,
@@ -3116,6 +3117,11 @@ int ata_dev_configure(struct ata_device *dev)ata_mode_string (xfer_mask), cdb_intr_string, atapi_an_string, dma_dir_string); + +ata_dev_config_lpm (dev); + +if (print_info) +ata_dev_print_features (dev); }/* determine max_sectors */
drivers/ata/libata-sata.c +1 -1
@@ -909,7 +909,7 @@ static bool ata_scsi_lpm_supported(struct ata_port *ap)struct ata_link *link;struct ata_device *dev; -if (ap->flags &ATA_FLAG_NO_LPM ) +if ((ap->flags &ATA_FLAG_NO_LPM ) || !ap->ops->set_lpm)return false;ata_for_each_link (link, ap,EDGE ) {
drivers/base/regmap/regmap.c +3 -1
@@ -408,9 +408,11 @@ static void regmap_lock_hwlock_irq(void *__map)static void regmap_lock_hwlock_irqsave (void *__map) {struct regmap *map = __map; +unsigned long flags =0 ;hwspin_lock_timeout_irqsave (map->hwlock,UINT_MAX , - &map->spinlock_flags); + &flags); + map->spinlock_flags = flags; }static void regmap_unlock_hwlock (void *__map)
drivers/block/ublk_drv.c +34 -5
@@ -2954,6 +2954,15 @@ static struct ublk_device *ublk_get_device_from_id(int idx)return ub; } +static bool ublk_validate_user_pid (struct ublk_device *ub,pid_t ublksrv_pid) +{ +rcu_read_lock (); + ublksrv_pid =pid_nr (find_vpid (ublksrv_pid)); +rcu_read_unlock (); + +return ub->ublksrv_tgid == ublksrv_pid; +} +static int ublk_ctrl_start_dev (struct ublk_device *ub,const struct ublksrv_ctrl_cmd *header) {
@@ -3022,7 +3031,7 @@ static int ublk_ctrl_start_dev(struct ublk_device *ub,if (wait_for_completion_interruptible (&ub->completion) !=0 )return -EINTR ; -if (ub->ublksrv_tgid != ublksrv_pid) +if (!ublk_validate_user_pid (ub, ublksrv_pid))return -EINVAL ;mutex_lock (&ub->mutex);
@@ -3041,7 +3050,7 @@ static int ublk_ctrl_start_dev(struct ublk_device *ub, disk->fops = &ub_fops; disk->private_data = ub; - ub->dev_info.ublksrv_pid = ublksrv_pid; + ub->dev_info.ublksrv_pid = ub->ublksrv_tgid; ub->ub_disk = disk;ublk_apply_params (ub);
@@ -3389,12 +3398,32 @@ static int ublk_ctrl_stop_dev(struct ublk_device *ub)static int ublk_ctrl_get_dev_info (struct ublk_device *ub,const struct ublksrv_ctrl_cmd *header) { +struct task_struct *p; +struct pid *pid; +struct ublksrv_ctrl_dev_info dev_info; +pid_t init_ublksrv_tgid = ub->dev_info.ublksrv_pid;void __user *argp = (void __user *)(unsigned long )header->addr;if (header->len <sizeof (struct ublksrv_ctrl_dev_info ) || !header->addr)return -EINVAL ; -if (copy_to_user (argp, &ub->dev_info,sizeof (ub->dev_info))) +memcpy (&dev_info, &ub->dev_info,sizeof (dev_info)); + dev_info.ublksrv_pid =-1 ; + +if (init_ublksrv_tgid >0 ) { +rcu_read_lock (); + pid =find_pid_ns (init_ublksrv_tgid, &init_pid_ns); + p =pid_task (pid,PIDTYPE_TGID ); +if (p) { +int vnr =task_tgid_vnr (p); + +if (vnr) + dev_info.ublksrv_pid = vnr; + } +rcu_read_unlock (); + } + +if (copy_to_user (argp, &dev_info,sizeof (dev_info)))return -EFAULT ;return 0 ;
@@ -3539,7 +3568,7 @@ static int ublk_ctrl_end_recovery(struct ublk_device *ub,pr_devel ("%s: All FETCH_REQs received, dev id %d\n" , __func__, header->dev_id); -if (ub->ublksrv_tgid != ublksrv_pid) +if (!ublk_validate_user_pid (ub, ublksrv_pid))return -EINVAL ;mutex_lock (&ub->mutex);
@@ -3550,7 +3579,7 @@ static int ublk_ctrl_end_recovery(struct ublk_device *ub, ret = -EBUSY ; goto out_unlock; } - ub->dev_info.ublksrv_pid = ublksrv_pid; + ub->dev_info.ublksrv_pid = ub->ublksrv_tgid; ub->dev_info.state =UBLK_S_DEV_LIVE ;pr_devel ("%s: new ublksrv_pid %d, dev id %d\n" , __func__, ublksrv_pid, header->dev_id);
drivers/bluetooth/btintel_pcie.c +41 -0
65 lines not on this page · raw message
drivers/bluetooth/btintel_pcie.h +2 -0
@@ -464,6 +464,7 @@ struct btintel_pcie_dump_header {* @txq: TX Queue struct * @rxq: RX Queue struct * @alive_intr_ctxt: Alive interrupt context +* @pm_sx_event: PM event on which system got suspended */ struct btintel_pcie_data {struct pci_dev *pdev;
@@ -513,6 +514,7 @@ struct btintel_pcie_data {u32 alive_intr_ctxt;struct btintel_pcie_dbgc dbgc;struct btintel_pcie_dump_header dmp_hdr; +u8 pm_sx_event; }; static inline u32 btintel_pcie_rd_reg32(struct btintel_pcie_data *data,
drivers/clocksource/timer-riscv.c +2 -1
@@ -50,8 +50,9 @@ static int riscv_clock_next_event(unsigned long delta,if (static_branch_likely (&riscv_sstc_available)) {#if defined(CONFIG_32BIT ) -csr_write (CSR_STIMECMP , next_tval &0xFFFFFFFF ); +csr_write (CSR_STIMECMP ,ULONG_MAX );csr_write (CSR_STIMECMPH , next_tval >>32 ); +csr_write (CSR_STIMECMP , next_tval &0xFFFFFFFF );#else csr_write (CSR_STIMECMP , next_tval);#endif
drivers/comedi/comedi_fops.c +1 -1
@@ -1099,7 +1099,7 @@ static int do_chaninfo_ioctl(struct comedi_device *dev,for (i =0 ; i < s->n_chan; i++) {int x; - x = (dev->minor <<28 ) | (it->subdev <<24 ) | (i <<16 ) | + x = (it->subdev <<24 ) | (i <<16 ) | (s->range_table_list[i]->length);if (put_user (x, it->rangelist + i))return -EFAULT ;
drivers/comedi/drivers/dmm32at.c +30 -2
@@ -330,6 +330,7 @@ static int dmm32at_ai_cmdtest(struct comedi_device *dev,static void dmm32at_setaitimer (struct comedi_device *dev,unsigned int nansec) { +unsigned long irq_flags;unsigned char lo1, lo2, hi2;unsigned short both2;
@@ -342,6 +343,9 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)/* set counter clocks to 10MHz, disable all aux dio */ outb (0 , dev->iobase +DMM32AT_CTRDIO_CFG_REG ); +/* serialize access to control register and paged registers */ +spin_lock_irqsave (&dev->spinlock, irq_flags); +/* get access to the clock regs */ outb (DMM32AT_CTRL_PAGE_8254 , dev->iobase +DMM32AT_CTRL_REG );
@@ -354,6 +358,8 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)outb (lo2, dev->iobase +DMM32AT_CLK2 );outb (hi2, dev->iobase +DMM32AT_CLK2 ); +spin_unlock_irqrestore (&dev->spinlock, irq_flags); +/* enable the ai conversion interrupt and the clock to start scans */ outb(DMM32AT_INTCLK_ADINT | DMM32AT_INTCLK_CLKEN | DMM32AT_INTCLK_CLKSEL,
@@ -363,13 +369,19 @@ static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec)static int dmm32at_ai_cmd (struct comedi_device *dev,struct comedi_subdevice *s) {struct comedi_cmd *cmd = &s->async->cmd; +unsigned long irq_flags;int ret;dmm32at_ai_set_chanspec (dev, s, cmd->chanlist[0 ], cmd->chanlist_len); +/* serialize access to control register and paged registers */ +spin_lock_irqsave (&dev->spinlock, irq_flags); +/* reset the interrupt just in case */ outb (DMM32AT_CTRL_INTRST , dev->iobase +DMM32AT_CTRL_REG ); +spin_unlock_irqrestore (&dev->spinlock, irq_flags); +/* * wait for circuit to settle * we don't have the 'insn' here but it's not needed
@@ -429,8 +441,13 @@ static irqreturn_t dmm32at_isr(int irq, void *d)comedi_handle_events (dev, s); } +/* serialize access to control register and paged registers */ +spin_lock (&dev->spinlock); +/* reset the interrupt */ outb (DMM32AT_CTRL_INTRST , dev->iobase +DMM32AT_CTRL_REG ); + +spin_unlock (&dev->spinlock);return IRQ_HANDLED ; }
@@ -481,14 +498,25 @@ static int dmm32at_ao_insn_write(struct comedi_device *dev,static int dmm32at_8255_io (struct comedi_device *dev,int dir,int port,int data,unsigned long regbase) { +unsigned long irq_flags; +int ret; + +/* serialize access to control register and paged registers */ +spin_lock_irqsave (&dev->spinlock, irq_flags); +/* get access to the DIO regs */ outb (DMM32AT_CTRL_PAGE_8255 , dev->iobase +DMM32AT_CTRL_REG );if (dir) {outb (data, dev->iobase + regbase + port); -return 0 ; + ret =0 ; + }else { + ret =inb (dev->iobase + regbase + port); } -return inb (dev->iobase + regbase + port); + +spin_unlock_irqrestore (&dev->spinlock, irq_flags); + +return ret; }/* Make sure the board is there and put it to a known state */
drivers/comedi/range.c +1 -1
@@ -52,7 +52,7 @@ int do_rangeinfo_ioctl(struct comedi_device *dev,const struct comedi_lrange *lr;struct comedi_subdevice *s; - subd = (it->range_type >>24 ) &0xf ; + subd = (it->range_type >>24 ) &0xff ; chan = (it->range_type >>16 ) &0xff ;if (!dev->attached)
drivers/dpll/dpll_core.c +4 -8
@@ -83,10 +83,8 @@ dpll_xa_ref_pin_add(struct xarray *xa_pins, struct dpll_pin *pin,if (ref->pin != pin)continue ; reg =dpll_pin_registration_find (ref, ops, priv, cookie); -if (reg) { -refcount_inc (&ref->refcount); -return 0 ; - } +if (reg) +return -EEXIST ; ref_exists = true;break ; }
@@ -164,10 +162,8 @@ dpll_xa_ref_dpll_add(struct xarray *xa_dplls, struct dpll_device *dpll,if (ref->dpll != dpll)continue ; reg =dpll_pin_registration_find (ref, ops, priv, cookie); -if (reg) { -refcount_inc (&ref->refcount); -return 0 ; - } +if (reg) +return -EEXIST ; ref_exists = true;break ; }
drivers/gpio/gpiolib-cdev.c +9 -3
@@ -2573,6 +2573,7 @@ static int lineinfo_changed_notify(struct notifier_block *nb, ctx =kzalloc (sizeof (*ctx),GFP_ATOMIC );if (!ctx) {pr_err ("Failed to allocate memory for line info notification\n" ); +fput (fp);return NOTIFY_DONE ; }
@@ -2720,7 +2721,7 @@ static int gpio_chrdev_open(struct inode *inode, struct file *file) cdev =kzalloc (sizeof (*cdev),GFP_KERNEL );if (!cdev) -return -ENODEV ; +return -ENOMEM ; cdev->watched_lines =bitmap_zalloc (gdev->ngpio,GFP_KERNEL );if (!cdev->watched_lines)
@@ -2820,13 +2821,18 @@ int gpiolib_cdev_register(struct gpio_device *gdev, dev_t devt)return -ENOMEM ; ret =cdev_device_add (&gdev->chrdev, &gdev->dev); -if (ret) +if (ret) { +destroy_workqueue (gdev->line_state_wq);return ret; + }guard (srcu)(&gdev->srcu); gc =srcu_dereference (gdev->chip, &gdev->srcu); -if (!gc) +if (!gc) { +cdev_device_del (&gdev->chrdev, &gdev->dev); +destroy_workqueue (gdev->line_state_wq);return -ENODEV ; + }gpiochip_dbg (gc,"added GPIO chardev (%d:%d)\n" ,MAJOR (devt), gdev->id);
drivers/gpu/drm/Kconfig +1 -1
@@ -210,7 +210,7 @@ config DRM_GPUVM config DRM_GPUSVM tristate - depends on DRM && DEVICE_PRIVATE + depends on DRM select HMM_MIRROR select MMU_NOTIFIER help
drivers/gpu/drm/Makefile +3 -1
@@ -106,8 +106,10 @@ obj-$(CONFIG_DRM_EXEC) += drm_exec.o obj-$(CONFIG_DRM_GPUVM) += drm_gpuvm.o drm_gpusvm_helper-y := \ - drm_gpusvm.o\ + drm_gpusvm.o +drm_gpusvm_helper-$(CONFIG_ZONE_DEVICE) += \ drm_pagemap.o + obj-$(CONFIG_DRM_GPUSVM) += drm_gpusvm_helper.o obj-$(CONFIG_DRM_BUDDY) += drm_buddy.o
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +1 -1
@@ -804,7 +804,7 @@ void amdgpu_fence_save_wptr(struct dma_fence *fence) }static void amdgpu_ring_backup_unprocessed_command (struct amdgpu_ring *ring, -u64 start_wptr,u32 end_wptr) +u64 start_wptr,u64 end_wptr) {unsigned int first_idx = start_wptr & ring->buf_mask;unsigned int last_idx = end_wptr & ring->buf_mask;
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +0 -12
@@ -278,7 +278,6 @@ static void gfx_v12_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, u32 instance, int xcc_id);static u32 gfx_v12_0_get_wgp_active_bitmap_per_sh (struct amdgpu_device *adev); -static void gfx_v12_0_ring_emit_frame_cntl (struct amdgpu_ring *ring,bool start,bool secure);static void gfx_v12_0_ring_emit_wreg (struct amdgpu_ring *ring,uint32_t reg,uint32_t val);static int gfx_v12_0_wait_for_rlc_autoload_complete (struct amdgpu_device *adev);
@@ -4633,16 +4632,6 @@ static int gfx_v12_0_ring_preempt_ib(struct amdgpu_ring *ring)return r; } -static void gfx_v12_0_ring_emit_frame_cntl (struct amdgpu_ring *ring, -bool start, -bool secure) -{ -uint32_t v = secure ?FRAME_TMZ :0 ; - -amdgpu_ring_write (ring,PACKET3 (PACKET3_FRAME_CONTROL ,0 )); -amdgpu_ring_write (ring, v |FRAME_CMD (start ?0 :1 )); -} -static void gfx_v12_0_ring_emit_rreg (struct amdgpu_ring *ring,uint32_t reg,uint32_t reg_val_offs) {
@@ -5519,7 +5508,6 @@ static const struct amdgpu_ring_funcs gfx_v12_0_ring_funcs_gfx = { .emit_cntxcntl = gfx_v12_0_ring_emit_cntxcntl, .init_cond_exec = gfx_v12_0_ring_emit_init_cond_exec, .preempt_ib = gfx_v12_0_ring_preempt_ib, - .emit_frame_cntl = gfx_v12_0_ring_emit_frame_cntl, .emit_wreg = gfx_v12_0_ring_emit_wreg, .emit_reg_wait = gfx_v12_0_ring_emit_reg_wait, .emit_reg_write_reg_wait = gfx_v12_0_ring_emit_reg_write_reg_wait,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c +16 -15
@@ -2273,8 +2273,6 @@ static int si_populate_smc_tdp_limits(struct amdgpu_device *adev,if (scaling_factor ==0 )return -EINVAL ; -memset (smc_table,0 ,sizeof (SISLANDS_SMC_STATETABLE )); - ret = si_calculate_adjusted_tdp_limits(adev, false, /* ??? */ adev->pm.dpm.tdp_adjustment,
@@ -2283,6 +2281,12 @@ static int si_populate_smc_tdp_limits(struct amdgpu_device *adev,if (ret)return ret; +if (adev->pdev->device ==0x6611 && adev->pdev->revision ==0x87 ) { +/* Workaround buggy powertune on Radeon 430 and 520. */ + tdp_limit =32 ; + near_tdp_limit =28 ; + } + smc_table->dpm2Params.TDPLimit =cpu_to_be32 (si_scale_power_for_smc (tdp_limit, scaling_factor) *1000 ); smc_table->dpm2Params.NearTDPLimit =
@@ -2328,16 +2332,8 @@ static int si_populate_smc_tdp_limits_2(struct amdgpu_device *adev,if (ni_pi->enable_power_containment) {SISLANDS_SMC_STATETABLE *smc_table = &si_pi->smc_statetable; -u32 scaling_factor =si_get_smc_power_scaling_factor (adev);int ret; -memset (smc_table,0 ,sizeof (SISLANDS_SMC_STATETABLE )); - - smc_table->dpm2Params.NearTDPLimit = -cpu_to_be32 (si_scale_power_for_smc (adev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) *1000 ); - smc_table->dpm2Params.SafePowerLimit = -cpu_to_be32 (si_scale_power_for_smc ((adev->pm.dpm.near_tdp_limit_adjusted *SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT ) /100 , scaling_factor) *1000 ); - ret = amdgpu_si_copy_bytes_to_smc(adev, (si_pi->state_table_start + offsetof(SISLANDS_SMC_STATETABLE, dpm2Params) +
@@ -3478,10 +3474,15 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev, (adev->pdev->revision ==0x80 ) || (adev->pdev->revision ==0x81 ) || (adev->pdev->revision ==0x83 ) || - (adev->pdev->revision == 0x87) || + (adev->pdev->revision ==0x87 && + adev->pdev->device !=0x6611 ) || (adev->pdev->device ==0x6604 ) || (adev->pdev->device == 0x6605)) { max_sclk = 75000; + }else if (adev->pdev->revision ==0x87 && + adev->pdev->device ==0x6611 ) { +/* Radeon 430 and 520 */ + max_sclk =78000 ; } }
@@ -7600,12 +7601,12 @@ static int si_dpm_set_interrupt_state(struct amdgpu_device *adev,case AMDGPU_IRQ_STATE_DISABLE : cg_thermal_int =RREG32_SMC (mmCG_THERMAL_INT); cg_thermal_int |=CG_THERMAL_INT__THERM_INT_MASK_HIGH_MASK ; -WREG32_SMC (mmCG_THERMAL_INT, cg_thermal_int); +WREG32 (mmCG_THERMAL_INT, cg_thermal_int);break ;case AMDGPU_IRQ_STATE_ENABLE : cg_thermal_int =RREG32_SMC (mmCG_THERMAL_INT); cg_thermal_int &= ~CG_THERMAL_INT__THERM_INT_MASK_HIGH_MASK ; -WREG32_SMC (mmCG_THERMAL_INT, cg_thermal_int); +WREG32 (mmCG_THERMAL_INT, cg_thermal_int);break ;default :break ;
@@ -7617,12 +7618,12 @@ static int si_dpm_set_interrupt_state(struct amdgpu_device *adev,case AMDGPU_IRQ_STATE_DISABLE : cg_thermal_int =RREG32_SMC (mmCG_THERMAL_INT); cg_thermal_int |=CG_THERMAL_INT__THERM_INT_MASK_LOW_MASK ; -WREG32_SMC (mmCG_THERMAL_INT, cg_thermal_int); +WREG32 (mmCG_THERMAL_INT, cg_thermal_int);break ;case AMDGPU_IRQ_STATE_ENABLE : cg_thermal_int =RREG32_SMC (mmCG_THERMAL_INT); cg_thermal_int &= ~CG_THERMAL_INT__THERM_INT_MASK_LOW_MASK ; -WREG32_SMC (mmCG_THERMAL_INT, cg_thermal_int); +WREG32 (mmCG_THERMAL_INT, cg_thermal_int);break ;default :break ;
drivers/gpu/drm/bridge/synopsys/dw-dp.c +14 -6
@@ -2060,33 +2060,41 @@ struct dw_dp *dw_dp_bind(struct device *dev, struct drm_encoder *encoder, } ret =drm_bridge_attach (encoder, bridge,NULL ,DRM_BRIDGE_ATTACH_NO_CONNECTOR ); -if (ret) +if (ret) {dev_err_probe (dev, ret,"Failed to attach bridge\n" ); + goto unregister_aux; + }dw_dp_init_hw (dp); ret =phy_init (dp->phy);if (ret) {dev_err_probe (dev, ret,"phy init failed\n" ); -return ERR_PTR (ret); + goto unregister_aux; } ret =devm_add_action_or_reset (dev, dw_dp_phy_exit, dp);if (ret) -return ERR_PTR (ret); + goto unregister_aux; dp->irq =platform_get_irq (pdev,0 ); -if (dp->irq <0 ) -return ERR_PTR (ret); +if (dp->irq <0 ) { + ret = dp->irq; + goto unregister_aux; + } ret =devm_request_threaded_irq (dev, dp->irq,NULL , dw_dp_irq,IRQF_ONESHOT ,dev_name (dev), dp);if (ret) {dev_err_probe (dev, ret,"failed to request irq\n" ); -return ERR_PTR (ret); + goto unregister_aux; }return dp; + +unregister_aux: +drm_dp_aux_unregister (&dp->aux); +return ERR_PTR (ret); }EXPORT_SYMBOL_GPL (dw_dp_bind);
drivers/gpu/drm/imagination/pvr_fw_trace.c +7 -1
@@ -136,6 +136,7 @@ update_logtype(struct pvr_device *pvr_dev, u32 group_mask)struct rogue_fwif_kccb_cmd cmd;int idx;int err; +int slot;if (group_mask) fw_trace->tracebuf_ctrl->log_type =ROGUE_FWIF_LOG_TYPE_TRACE | group_mask;
@@ -153,8 +154,13 @@ update_logtype(struct pvr_device *pvr_dev, u32 group_mask) cmd.cmd_type =ROGUE_FWIF_KCCB_CMD_LOGTYPE_UPDATE ; cmd.kccb_flags =0 ; - err =pvr_kccb_send_cmd (pvr_dev, &cmd,NULL ); + err =pvr_kccb_send_cmd (pvr_dev, &cmd, &slot); +if (err) + goto err_drm_dev_exit; + + err =pvr_kccb_wait_for_completion (pvr_dev, slot,HZ ,NULL ); +err_drm_dev_exit:drm_dev_exit (idx); err_up_read:
drivers/gpu/drm/mediatek/mtk_dpi.c +9 -14
@@ -836,20 +836,6 @@ static int mtk_dpi_bridge_attach(struct drm_bridge *bridge, enum drm_bridge_attach_flags flags) {struct mtk_dpi *dpi =bridge_to_dpi (bridge); -int ret; - - dpi->next_bridge =devm_drm_of_get_bridge (dpi->dev, dpi->dev->of_node,1 ,-1 ); -if (IS_ERR (dpi->next_bridge)) { - ret =PTR_ERR (dpi->next_bridge); -if (ret == -EPROBE_DEFER ) -return ret; - -/* Old devicetree has only one endpoint */ - dpi->next_bridge =devm_drm_of_get_bridge (dpi->dev, dpi->dev->of_node,0 ,0 ); -if (IS_ERR (dpi->next_bridge)) -return dev_err_probe (dpi->dev,PTR_ERR (dpi->next_bridge), -"Failed to get bridge\n" ); - }return drm_bridge_attach (encoder, dpi->next_bridge, &dpi->bridge, flags);
@@ -1319,6 +1305,15 @@ static int mtk_dpi_probe(struct platform_device *pdev)if (dpi->irq <0 )return dpi->irq; + dpi->next_bridge =devm_drm_of_get_bridge (dpi->dev, dpi->dev->of_node,1 ,-1 ); +if (IS_ERR (dpi->next_bridge) &&PTR_ERR (dpi->next_bridge) == -ENODEV ) { +/* Old devicetree has only one endpoint */ + dpi->next_bridge =devm_drm_of_get_bridge (dpi->dev, dpi->dev->of_node,0 ,0 ); + } +if (IS_ERR (dpi->next_bridge)) +return dev_err_probe (dpi->dev,PTR_ERR (dpi->next_bridge), +"Failed to get bridge\n" ); +platform_set_drvdata (pdev, dpi); dpi->bridge.of_node = dev->of_node;
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h +74 -21
102 lines not on this page · raw message
drivers/gpu/drm/nouveau/nouveau_display.c +2 -0
@@ -351,6 +351,8 @@ nouveau_user_framebuffer_create(struct drm_device *dev,static const struct drm_mode_config_funcs nouveau_mode_config_funcs = { .fb_create = nouveau_user_framebuffer_create, + .atomic_commit = drm_atomic_helper_commit, + .atomic_check = drm_atomic_helper_check, };
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c +53 -20
80 lines not on this page · raw message
drivers/gpu/drm/xe/Kconfig +1 -1
@@ -39,7 +39,7 @@ config DRM_XE select DRM_TTM select DRM_TTM_HELPER select DRM_EXEC - select DRM_GPUSVM if !UML && DEVICE_PRIVATE + select DRM_GPUSVM if !UML select DRM_GPUVM select DRM_SCHED select MMU_NOTIFIER
drivers/gpu/drm/xe/xe_bo.c +7 -2
@@ -1008,6 +1008,7 @@ static long xe_bo_shrink_purge(struct ttm_operation_ctx *ctx, unsigned long *scanned) {struct xe_device *xe =ttm_to_xe_device (bo->bdev); +struct ttm_tt *tt = bo->ttm;long lret;/* Fake move to system, without copying data. */
@@ -1032,8 +1033,10 @@ static long xe_bo_shrink_purge(struct ttm_operation_ctx *ctx, .writeback = false, .allow_move = false}); -if (lret >0 ) +if (lret >0 ) {xe_ttm_tt_account_subtract (xe, bo->ttm); +update_global_total_pages (bo->bdev, -(long )tt->num_pages); + }return lret; }
@@ -1119,8 +1122,10 @@ long xe_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo,if (needs_rpm)xe_pm_runtime_put (xe); -if (lret >0 ) +if (lret >0 ) {xe_ttm_tt_account_subtract (xe, tt); +update_global_total_pages (bo->bdev, -(long )tt->num_pages); + } out_unref:xe_bo_put (xe_bo);
drivers/gpu/drm/xe/xe_debugfs.c +57 -15
93 lines not on this page · raw message
drivers/gpu/drm/xe/xe_device_types.h +18 -0
@@ -42,6 +42,22 @@ struct xe_pat_ops;struct xe_pxp ;struct xe_vram_region ; +/** +* enum xe_wedged_mode - possible wedged modes +* @XE_WEDGED_MODE_NEVER: Device will never be declared wedged. +* @XE_WEDGED_MODE_UPON_CRITICAL_ERROR: Device will be declared wedged only +* when critical error occurs like GT reset failure or firmware failure. +* This is the default mode. +* @XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET: Device will be declared wedged on +* any hang. In this mode, engine resets are disabled to avoid automatic +* recovery attempts. This mode is primarily intended for debugging hangs. +*/ +enum xe_wedged_mode { +XE_WEDGED_MODE_NEVER =0 , +XE_WEDGED_MODE_UPON_CRITICAL_ERROR =1 , +XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET =2 , +}; +#define XE_BO_INVALID_OFFSET LONG_MAX#define GRAPHICS_VER (xe) ((xe)->info.graphics_verx100 / 100)
@@ -556,6 +572,8 @@ struct xe_device {int mode;/** @wedged.method: Recovery method to be sent in the drm device wedged uevent */ unsigned long method; +/** @wedged.inconsistent_reset: Inconsistent reset policy state between GTs */ +bool inconsistent_reset; } wedged;/** @bo_device: Struct to control async free of BOs */
drivers/gpu/drm/xe/xe_exec_queue.c +31 -1
@@ -284,6 +284,7 @@ struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe* @xe: Xe device. * @tile: tile which bind exec queue belongs to. * @flags: exec queue creation flags +* @user_vm: The user VM which this exec queue belongs to * @extensions: exec queue creation extensions * * Normalize bind exec queue creation. Bind exec queue is tied to migration VM
@@ -297,6 +298,7 @@ struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe*/ struct xe_exec_queue *xe_exec_queue_create_bind (struct xe_device *xe,struct xe_tile *tile, +struct xe_vm *user_vm,u32 flags,u64 extensions) {struct xe_gt *gt = tile->primary_gt;
@@ -333,6 +335,9 @@ struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe,xe_exec_queue_put (q);return ERR_PTR (err); } + +if (user_vm) + q->user_vm =xe_vm_get (user_vm); }return q;
@@ -357,6 +362,11 @@ void xe_exec_queue_destroy(struct kref *ref)xe_exec_queue_put (eq); } +if (q->user_vm) { +xe_vm_put (q->user_vm); + q->user_vm =NULL ; + } + q->ops->destroy (q); }
@@ -692,6 +702,22 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data, XE_IOCTL_DBG(xe, eci[0].engine_instance != 0))return -EINVAL ; + vm =xe_vm_lookup (xef, args->vm_id); +if (XE_IOCTL_DBG (xe, !vm)) +return -ENOENT ; + + err =down_read_interruptible (&vm->lock); +if (err) { +xe_vm_put (vm); +return err; + } + +if (XE_IOCTL_DBG (xe,xe_vm_is_closed_or_banned (vm))) { +up_read (&vm->lock); +xe_vm_put (vm); +return -ENOENT ; + } +for_each_tile (tile, xe, id) {struct xe_exec_queue *new;
@@ -699,9 +725,11 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,if (id) flags |=EXEC_QUEUE_FLAG_BIND_ENGINE_CHILD ; - new =xe_exec_queue_create_bind (xe, tile, flags, + new =xe_exec_queue_create_bind (xe, tile, vm, flags, args->extensions);if (IS_ERR (new)) { +up_read (&vm->lock); +xe_vm_put (vm); err =PTR_ERR (new);if (q) goto put_exec_queue;
@@ -713,6 +741,8 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,list_add_tail (&new->multi_gt_list, &q->multi_gt_link); } +up_read (&vm->lock); +xe_vm_put (vm); }else { logical_mask = calc_validate_logical_mask(xe, eci, args->width,
drivers/gpu/drm/xe/xe_exec_queue.h +1 -0
@@ -24,6 +24,7 @@ struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe u32 flags, u64 extensions);struct xe_exec_queue *xe_exec_queue_create_bind (struct xe_device *xe,struct xe_tile *tile, +struct xe_vm *user_vm,u32 flags,u64 extensions);void xe_exec_queue_fini (struct xe_exec_queue *q);
drivers/gpu/drm/xe/xe_exec_queue_types.h +6 -0
@@ -54,6 +54,12 @@ struct xe_exec_queue {struct kref refcount;/** @vm: VM (address space) for this exec queue */ struct xe_vm *vm; +/** +* @user_vm: User VM (address space) for this exec queue (bind queues +* only) +*/ +struct xe_vm *user_vm; +/** @class: class of this exec queue */ enum xe_engine_class class;/**
drivers/gpu/drm/xe/xe_ggtt.c +1 -1
@@ -291,7 +291,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt)else ggtt->pt_ops = &xelp_pt_ops; - ggtt->wq =alloc_workqueue ("xe-ggtt-wq" ,0 ,WQ_MEM_RECLAIM ); + ggtt->wq =alloc_workqueue ("xe-ggtt-wq" ,WQ_MEM_RECLAIM ,0 );if (!ggtt->wq)return -ENOMEM ;
drivers/gpu/drm/xe/xe_guc_ads.c +8 -6
@@ -979,16 +979,17 @@ static int guc_ads_action_update_policies(struct xe_guc_ads *ads, u32 policy_off/** * xe_guc_ads_scheduler_policy_toggle_reset - Toggle reset policy * @ads: Additional data structures object +* @enable_engine_reset: true to enable engine resets, false otherwise * -* This function update the GuC's engine reset policy based on wedged.mode. +* This function update the GuC's engine reset policy. * * Return: 0 on success, and negative error code otherwise. */ -int xe_guc_ads_scheduler_policy_toggle_reset (struct xe_guc_ads *ads) +int xe_guc_ads_scheduler_policy_toggle_reset (struct xe_guc_ads *ads, +bool enable_engine_reset) {struct guc_policies *policies;struct xe_guc *guc =ads_to_guc (ads); -struct xe_device *xe =ads_to_xe (ads);CLASS (xe_guc_buf, buf)(&guc->buf,sizeof (*policies));if (!xe_guc_buf_is_valid (buf))
@@ -1000,10 +1001,11 @@ int xe_guc_ads_scheduler_policy_toggle_reset(struct xe_guc_ads *ads) policies->dpc_promote_time =ads_blob_read (ads, policies.dpc_promote_time); policies->max_num_work_items =ads_blob_read (ads, policies.max_num_work_items); policies->is_valid =1 ; -if (xe->wedged.mode ==2 ) - policies->global_flags |=GLOBAL_POLICY_DISABLE_ENGINE_RESET ; -else + +if (enable_engine_reset) policies->global_flags &= ~GLOBAL_POLICY_DISABLE_ENGINE_RESET ; +else + policies->global_flags |=GLOBAL_POLICY_DISABLE_ENGINE_RESET ;return guc_ads_action_update_policies (ads,xe_guc_buf_flush (buf)); }
drivers/gpu/drm/xe/xe_guc_ads.h +4 -1
@@ -6,6 +6,8 @@#ifndef _XE_GUC_ADS_H_#define _XE_GUC_ADS_H_ +#include <linux/types.h> +struct xe_guc_ads ;int xe_guc_ads_init (struct xe_guc_ads *ads);
@@ -13,6 +15,7 @@ int xe_guc_ads_init_post_hwconfig(struct xe_guc_ads *ads);void xe_guc_ads_populate (struct xe_guc_ads *ads);void xe_guc_ads_populate_minimal (struct xe_guc_ads *ads);void xe_guc_ads_populate_post_load (struct xe_guc_ads *ads); -int xe_guc_ads_scheduler_policy_toggle_reset (struct xe_guc_ads *ads); +int xe_guc_ads_scheduler_policy_toggle_reset (struct xe_guc_ads *ads, +bool enable_engine_reset);#endif
drivers/gpu/drm/xe/xe_late_bind_fw_types.h +3 -1
@@ -15,10 +15,12 @@#define XE_LB_MAX_PAYLOAD_SIZE SZ_4K/** -* xe_late_bind_fw_id - enum to determine late binding fw index +* enum xe_late_bind_fw_id - enum to determine late binding fw index */ enum xe_late_bind_fw_id { +/** @XE_LB_FW_FAN_CONTROL: Fan control */ XE_LB_FW_FAN_CONTROL =0 , +/** @XE_LB_FW_MAX_ID: Number of IDs */ XE_LB_FW_MAX_ID };
drivers/gpu/drm/xe/xe_lrc.c +3 -0
@@ -1050,6 +1050,9 @@ static ssize_t setup_utilization_wa(struct xe_lrc *lrc, {u32 *cmd = batch; +if (IS_SRIOV_VF (gt_to_xe (lrc->gt))) +return 0 ; +if (xe_gt_WARN_ON (lrc->gt, max_len <12 ))return -ENOSPC ;
drivers/gpu/drm/xe/xe_migrate.c +2 -2
@@ -2182,7 +2182,7 @@ void xe_migrate_job_lock(struct xe_migrate *m, struct xe_exec_queue *q)if (is_migrate)mutex_lock (&m->job_mutex);else -xe_vm_assert_held (q->vm);/* User queues VM's should be locked */ +xe_vm_assert_held (q->user_vm);/* User queues VM's should be locked */ }/**
@@ -2200,7 +2200,7 @@ void xe_migrate_job_unlock(struct xe_migrate *m, struct xe_exec_queue *q)if (is_migrate)mutex_unlock (&m->job_mutex);else -xe_vm_assert_held (q->vm);/* User queues VM's should be locked */ +xe_vm_assert_held (q->user_vm);/* User queues VM's should be locked */ }#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST )
drivers/gpu/drm/xe/xe_pm.c +21 -0
@@ -660,6 +660,13 @@ static void xe_pm_runtime_lockdep_prime(void)/** * xe_pm_runtime_get - Get a runtime_pm reference and resume synchronously * @xe: xe device instance +* +* When possible, scope-based runtime PM (through guard(xe_pm_runtime)) is +* be preferred over direct usage of this function. Manual get/put handling +* should only be used when the function contains goto-based logic which +* can break scope-based handling, or when the lifetime of the runtime PM +* reference does not match a specific scope (e.g., runtime PM obtained in one +* function and released in a different one). */ void xe_pm_runtime_get (struct xe_device *xe) {
@@ -692,6 +699,13 @@ void xe_pm_runtime_put(struct xe_device *xe)* xe_pm_runtime_get_ioctl - Get a runtime_pm reference before ioctl * @xe: xe device instance * +* When possible, scope-based runtime PM (through +* ACQUIRE(xe_pm_runtime_ioctl, ...)) is be preferred over direct usage of this +* function. Manual get/put handling should only be used when the function +* contains goto-based logic which can break scope-based handling, or when the +* lifetime of the runtime PM reference does not match a specific scope (e.g., +* runtime PM obtained in one function and released in a different one). +* * Returns: Any number greater than or equal to 0 for success, negative error * code otherwise. */
@@ -761,6 +775,13 @@ static bool xe_pm_suspending_or_resuming(struct xe_device *xe)* It will warn if not protected. * The reference should be put back after this function regardless, since it * will always bump the usage counter, regardless. +* +* When possible, scope-based runtime PM (through guard(xe_pm_runtime_noresume)) +* is be preferred over direct usage of this function. Manual get/put handling +* should only be used when the function contains goto-based logic which can +* break scope-based handling, or when the lifetime of the runtime PM reference +* does not match a specific scope (e.g., runtime PM obtained in one function +* and released in a different one). */ void xe_pm_runtime_get_noresume (struct xe_device *xe) {
drivers/gpu/drm/xe/xe_pm.h +17 -0
@@ -6,6 +6,7 @@#ifndef _XE_PM_H_#define _XE_PM_H_ +#include <linux/cleanup.h> #include <linux/pm_runtime.h> #define DEFAULT_VRAM_THRESHOLD 300/* in MB */
@@ -35,4 +36,20 @@ bool xe_rpm_reclaim_safe(const struct xe_device *xe);struct task_struct *xe_pm_read_callback_task (struct xe_device *xe);int xe_pm_module_init (void ); +static inline void __xe_pm_runtime_noop (struct xe_device *xe) {} + +DEFINE_GUARD(xe_pm_runtime, struct xe_device *, + xe_pm_runtime_get(_T), xe_pm_runtime_put(_T)) +DEFINE_GUARD(xe_pm_runtime_noresume, struct xe_device *, + xe_pm_runtime_get_noresume(_T), xe_pm_runtime_put(_T)) +DEFINE_GUARD_COND (xe_pm_runtime, _ioctl,xe_pm_runtime_get_ioctl (_T), _RET >=0 ) + +/* +* Used when a function needs to release runtime PM in all possible cases +* and error paths, but the wakeref was already acquired by a different +* function (i.e., get() has already happened so only a put() is needed). + */ +DEFINE_GUARD(xe_pm_runtime_release_only, struct xe_device *, +__xe_pm_runtime_noop (_T),xe_pm_runtime_put (_T)); +#endif
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c +1 -1
@@ -276,7 +276,7 @@ int xe_sriov_vf_ccs_init(struct xe_device *xe) flags =EXEC_QUEUE_FLAG_KERNEL |EXEC_QUEUE_FLAG_PERMANENT |EXEC_QUEUE_FLAG_MIGRATE ; - q =xe_exec_queue_create_bind (xe, tile, flags,0 ); + q =xe_exec_queue_create_bind (xe, tile,NULL , flags,0 );if (IS_ERR (q)) { err =PTR_ERR (q); goto err_ret;
drivers/gpu/drm/xe/xe_vm.c +6 -1
@@ -1590,7 +1590,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)if (!vm->pt_root[id])continue ; - q =xe_exec_queue_create_bind (xe, tile, create_flags,0 ); + q =xe_exec_queue_create_bind (xe, tile, vm, create_flags,0 );if (IS_ERR (q)) { err =PTR_ERR (q); goto err_close;
@@ -3536,6 +3536,11 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file) } } +if (XE_IOCTL_DBG (xe, q && vm != q->user_vm)) { + err = -EINVAL ; + goto put_exec_queue; + } +/* Ensure all UNMAPs visible */ xe_svm_flush (vm);
drivers/gpu/drm/xe/xe_vm.h +1 -1
@@ -379,7 +379,7 @@ static inline void xe_vm_set_validation_exec(struct xe_vm *vm, struct drm_exec * }/** -* xe_vm_set_validation_exec() - Accessor to read the drm_exec object +* xe_vm_validation_exec() - Accessor to read the drm_exec object * @vm: The vm we want to register a drm_exec object with. * * Return: The drm_exec object used to lock the vm's resv. The value
drivers/hv/hv_common.c +7 -5
@@ -195,13 +195,15 @@ static void hv_kmsg_dump(struct kmsg_dumper *dumper,/* * Write dump contents to the page. No need to synchronize; panic should -* be single-threaded. +* be single-threaded. Ignore failures from kmsg_dump_get_buffer() since +* panic notification should be done even if there is no message data. +* Don't assume bytes_written is set in case of failure, so initialize it. */ kmsg_dump_rewind (&iter); -kmsg_dump_get_buffer (&iter, false, hv_panic_page,HV_HYP_PAGE_SIZE , + bytes_written =0 ; + (void )kmsg_dump_get_buffer (&iter, false, hv_panic_page,HV_HYP_PAGE_SIZE , &bytes_written); -if (!bytes_written) -return ; +/* * P3 to contain the physical address of the panic page & P4 to * contain the size of the panic data in that page. Rest of the
@@ -210,7 +212,7 @@ static void hv_kmsg_dump(struct kmsg_dumper *dumper,hv_set_msr (HV_MSR_CRASH_P0 ,0 );hv_set_msr (HV_MSR_CRASH_P1 ,0 );hv_set_msr (HV_MSR_CRASH_P2 ,0 ); -hv_set_msr (HV_MSR_CRASH_P3 ,virt_to_phys (hv_panic_page)); +hv_set_msr (HV_MSR_CRASH_P3 , bytes_written ?virt_to_phys (hv_panic_page) :0 );hv_set_msr (HV_MSR_CRASH_P4 , bytes_written);/*
drivers/hwtracing/intel_th/core.c +16 -3
@@ -810,9 +810,12 @@ static int intel_th_output_open(struct inode *inode, struct file *file)int err; dev =bus_find_device_by_devt (&intel_th_bus, inode->i_rdev); -if (!dev || !dev->driver) { +if (!dev) +return -ENODEV ; + +if (!dev->driver) { err = -ENODEV ; - goto out_no_device; + goto out_put_device; } thdrv =to_intel_th_driver (dev->driver);
@@ -836,12 +839,22 @@ static int intel_th_output_open(struct inode *inode, struct file *file) out_put_device:put_device (dev); -out_no_device: +return err; } +static int intel_th_output_release (struct inode *inode,struct file *file) +{ +struct intel_th_device *thdev = file->private_data; + +put_device (&thdev->dev); + +return 0 ; +} +static const struct file_operations intel_th_output_fops = { .open = intel_th_output_open, + .release = intel_th_output_release, .llseek = noop_llseek, };
drivers/i2c/busses/i2c-k1.c +1 -1
@@ -566,7 +566,7 @@ static int spacemit_i2c_probe(struct platform_device *pdev)return dev_err_probe (dev, i2c->irq,"failed to get irq resource" ); ret =devm_request_irq (i2c->dev, i2c->irq, spacemit_i2c_irq_handler, -IRQF_NO_SUSPEND |IRQF_ONESHOT ,dev_name (i2c->dev), i2c); +IRQF_NO_SUSPEND ,dev_name (i2c->dev), i2c);if (ret)return dev_err_probe (dev, ret,"failed to request irq" );
drivers/iio/accel/adxl380.c +3 -3
@@ -1728,9 +1728,9 @@ static int adxl380_config_irq(struct iio_dev *indio_dev) st->int_map[1 ] =ADXL380_INT0_MAP1_REG ; }else { st->irq =fwnode_irq_get_byname (dev_fwnode (st->dev),"INT1" ); -if (st->irq >0 ) -return dev_err_probe (st->dev, -ENODEV , -"no interrupt name specified" ); +if (st->irq <0 ) +return dev_err_probe (st->dev, st->irq, +"no interrupt name specified\n" ); st->int_map[0 ] =ADXL380_INT1_MAP0_REG ; st->int_map[1 ] =ADXL380_INT1_MAP1_REG ; }
drivers/iio/accel/st_accel_core.c +71 -1
84 lines not on this page · raw message
drivers/iio/adc/ad7280a.c +3 -1
@@ -1024,7 +1024,9 @@ static int ad7280_probe(struct spi_device *spi) st->spi->max_speed_hz =AD7280A_MAX_SPI_CLK_HZ ; st->spi->mode =SPI_MODE_1 ; -spi_setup (st->spi); + ret =spi_setup (st->spi); +if (ret <0 ) +return ret; st->ctrl_lb =FIELD_PREP (AD7280A_CTRL_LB_ACQ_TIME_MSK , st->acquisition_time) |FIELD_PREP (AD7280A_CTRL_LB_THERMISTOR_MSK , st->thermistor_term_en);
drivers/iio/adc/ad7606_par.c +2 -1
@@ -43,7 +43,8 @@ static int ad7606_par_bus_setup_iio_backend(struct device *dev, struct iio_dev *indio_dev) {struct ad7606_state *st =iio_priv (indio_dev); -unsigned int ret, c; +unsigned int c; +int ret;struct iio_backend_data_fmt data = { .sign_extend = true, .enable = true,
drivers/iio/adc/ad9467.c +1 -1
@@ -95,7 +95,7 @@#define CHIPID_AD9434 0x6A#define AD9434_DEF_OUTPUT_MODE 0x00 -#define AD9434_REG_VREF_MASK 0xC0 +#define AD9434_REG_VREF_MASK GENMASK(4, 0)/* * Analog Devices AD9467 16-Bit, 200/250 MSPS ADC
drivers/iio/adc/at91-sama5d2_adc.c +1 -0
@@ -2481,6 +2481,7 @@ static void at91_adc_remove(struct platform_device *pdev)struct at91_adc_state *st =iio_priv (indio_dev);iio_device_unregister (indio_dev); +cancel_work_sync (&st->touch_st.workq);at91_adc_dma_disable (st);
drivers/iio/adc/exynos_adc.c +2 -13
@@ -540,15 +540,6 @@ static const struct iio_chan_spec exynos_adc_iio_channels[] = { ADC_CHANNEL(9, "adc9"), }; -static int exynos_adc_remove_devices (struct device *dev,void *c) -{ -struct platform_device *pdev =to_platform_device (dev); - -platform_device_unregister (pdev); - -return 0 ; -} -static int exynos_adc_probe (struct platform_device *pdev) {struct exynos_adc *info =NULL ;
@@ -660,8 +651,7 @@ static int exynos_adc_probe(struct platform_device *pdev)return 0 ; err_of_populate: -device_for_each_child (&indio_dev->dev,NULL , - exynos_adc_remove_devices); +of_platform_depopulate (&indio_dev->dev);iio_device_unregister (indio_dev); err_irq:free_irq (info->irq, info);
@@ -681,8 +671,7 @@ static void exynos_adc_remove(struct platform_device *pdev)struct iio_dev *indio_dev =platform_get_drvdata (pdev);struct exynos_adc *info =iio_priv (indio_dev); -device_for_each_child (&indio_dev->dev,NULL , - exynos_adc_remove_devices); +of_platform_depopulate (&indio_dev->dev);iio_device_unregister (indio_dev);free_irq (info->irq, info);if (info->data->exit_hw)
drivers/iio/adc/pac1934.c +3 -3
@@ -665,9 +665,9 @@ static int pac1934_reg_snapshot(struct pac1934_chip_info *info,/* add the power_acc field */ curr_energy += inc; -clamp (curr_energy,PAC_193X_MIN_POWER_ACC ,PAC_193X_MAX_POWER_ACC ); - - reg_data->energy_sec_acc[cnt] = curr_energy; + reg_data->energy_sec_acc[cnt] =clamp (curr_energy, +PAC_193X_MIN_POWER_ACC , +PAC_193X_MAX_POWER_ACC ); } offset_reg_data_p +=PAC1934_VPOWER_ACC_REG_LEN ;
drivers/iio/chemical/scd4x.c +3 -3
@@ -584,7 +584,7 @@ static const struct iio_chan_spec scd4x_channels[] = { .sign = 'u', .realbits = 16, .storagebits = 16, - .endianness = IIO_BE, + .endianness = IIO_CPU, }, }, {
@@ -599,7 +599,7 @@ static const struct iio_chan_spec scd4x_channels[] = { .sign = 'u', .realbits = 16, .storagebits = 16, - .endianness = IIO_BE, + .endianness = IIO_CPU, }, }, {
@@ -612,7 +612,7 @@ static const struct iio_chan_spec scd4x_channels[] = { .sign = 'u', .realbits = 16, .storagebits = 16, - .endianness = IIO_BE, + .endianness = IIO_CPU, }, }, };
drivers/iio/dac/ad3552r-hs.c +4 -1
@@ -549,12 +549,15 @@ static ssize_t ad3552r_hs_write_data_source(struct file *f,guard (mutex)(&st->lock); +if (count >=sizeof (buf)) +return -ENOSPC ; + ret =simple_write_to_buffer (buf,sizeof (buf) -1 , ppos, userbuf, count);if (ret <0 )return ret; - buf[count] ='\0' ; + buf[ret] ='\0' ; ret =match_string (dbgfs_attr_source,ARRAY_SIZE (dbgfs_attr_source), buf);
drivers/iio/dac/ad5686.c +6 -0
@@ -434,6 +434,12 @@ static const struct ad5686_chip_info ad5686_chip_info_tbl[] = { .num_channels = 4, .regmap_type = AD5686_REGMAP, }, + [ID_AD5695R] = { + .channels = ad5685r_channels, + .int_vref_mv = 2500, + .num_channels = 4, + .regmap_type = AD5686_REGMAP, + }, [ID_AD5696] = { .channels = ad5686_channels, .num_channels = 4,
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +11 -4
@@ -101,6 +101,13 @@ static const struct iio_chan_spec st_lsm6dsx_acc_channels[] = { IIO_CHAN_SOFT_TIMESTAMP(3), }; +static const struct iio_chan_spec st_lsm6ds0_acc_channels[] = { +ST_LSM6DSX_CHANNEL (IIO_ACCEL ,0x28 ,IIO_MOD_X ,0 ), +ST_LSM6DSX_CHANNEL (IIO_ACCEL ,0x2a ,IIO_MOD_Y ,1 ), +ST_LSM6DSX_CHANNEL (IIO_ACCEL ,0x2c ,IIO_MOD_Z ,2 ), +IIO_CHAN_SOFT_TIMESTAMP (3 ), +}; +static const struct iio_chan_spec st_lsm6dsx_gyro_channels[] = {ST_LSM6DSX_CHANNEL (IIO_ANGL_VEL ,0x22 ,IIO_MOD_X ,0 ),ST_LSM6DSX_CHANNEL (IIO_ANGL_VEL ,0x24 ,IIO_MOD_Y ,1 ),
@@ -142,8 +149,8 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { }, .channels = { [ST_LSM6DSX_ID_ACC] = { - .chan = st_lsm6dsx_acc_channels, - .len = ARRAY_SIZE(st_lsm6dsx_acc_channels), + .chan = st_lsm6ds0_acc_channels, + .len = ARRAY_SIZE(st_lsm6ds0_acc_channels), }, [ST_LSM6DSX_ID_GYRO] = { .chan = st_lsm6ds0_gyro_channels,
@@ -1449,8 +1456,8 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { }, .channels = { [ST_LSM6DSX_ID_ACC] = { - .chan = st_lsm6dsx_acc_channels, - .len = ARRAY_SIZE(st_lsm6dsx_acc_channels), + .chan = st_lsm6ds0_acc_channels, + .len = ARRAY_SIZE(st_lsm6ds0_acc_channels), }, [ST_LSM6DSX_ID_GYRO] = { .chan = st_lsm6dsx_gyro_channels,
drivers/iio/industrialio-core.c +4 -3
@@ -1657,6 +1657,7 @@ static void iio_dev_release(struct device *device)mutex_destroy (&iio_dev_opaque->info_exist_lock);mutex_destroy (&iio_dev_opaque->mlock); +lockdep_unregister_key (&iio_dev_opaque->info_exist_key);lockdep_unregister_key (&iio_dev_opaque->mlock_key);ida_free (&iio_ida, iio_dev_opaque->id);
@@ -1717,10 +1718,10 @@ struct iio_dev *iio_device_alloc(struct device *parent, int sizeof_priv)INIT_LIST_HEAD (&iio_dev_opaque->ioctl_handlers);lockdep_register_key (&iio_dev_opaque->mlock_key); -lockdep_set_class (&iio_dev_opaque->mlock, &iio_dev_opaque->mlock_key); +lockdep_register_key (&iio_dev_opaque->info_exist_key); -mutex_init (&iio_dev_opaque->mlock); -mutex_init (&iio_dev_opaque->info_exist_lock); +mutex_init_with_key (&iio_dev_opaque->mlock, &iio_dev_opaque->mlock_key); +mutex_init_with_key (&iio_dev_opaque->info_exist_lock, &iio_dev_opaque->info_exist_key); indio_dev->dev.parent = parent; indio_dev->dev.type = &iio_device_type;
drivers/input/serio/i8042-acpipnpio.h +18 -0
@@ -115,6 +115,17 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { }, .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_NEVER) }, + { +/* +* ASUS Zenbook UX425QA_UM425QA +* Some Zenbooks report "Zenbook" with a lowercase b. +*/ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"ASUSTeK COMPUTER INC." ), + DMI_MATCH(DMI_PRODUCT_NAME, "Zenbook UX425QA_UM425QA"), + }, + .driver_data = (void *)(SERIO_QUIRK_PROBE_DEFER |SERIO_QUIRK_RESET_NEVER ) + }, {/* ASUS ZenBook UX425UA/QA */ .matches = {
@@ -1176,6 +1187,13 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "WUJIE Series-X5SP4NAG"), + }, + .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | + SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + }, /* * A lot of modern Clevo barebones have touchpad and/or keyboard issues * after suspend fixable with the forcenorestore quirk.
drivers/interconnect/debugfs-client.c +5 -0
@@ -150,6 +150,11 @@ int icc_debugfs_client_init(struct dentry *icc_dir)return ret; } + src_node =devm_kstrdup (&pdev->dev,"" ,GFP_KERNEL ); + dst_node =devm_kstrdup (&pdev->dev,"" ,GFP_KERNEL ); +if (!src_node || !dst_node) +return -ENOMEM ; + client_dir =debugfs_create_dir ("test_client" , icc_dir);debugfs_create_str ("src_node" ,0600 , client_dir, &src_node);
drivers/iommu/amd/iommu.c +1 -2
@@ -2426,8 +2426,6 @@ static struct iommu_device *amd_iommu_probe_device(struct device *dev) goto out_err; } -out_err: -iommu_completion_wait (iommu);if (FEATURE_NUM_INT_REMAP_SUP_2K (amd_iommu_efr2))
@@ -2438,6 +2436,7 @@ static struct iommu_device *amd_iommu_probe_device(struct device *dev)if (dev_is_pci (dev))pci_prepare_ats (to_pci_dev (dev),PAGE_SHIFT ); +out_err:return iommu_dev; }
drivers/iommu/io-pgtable-arm.c +1 -1
@@ -639,7 +639,7 @@ static size_t __arm_lpae_unmap(struct arm_lpae_io_pgtable *data, pte =READ_ONCE (*ptep);if (!pte) {WARN_ON (!(data->iop.cfg.quirks &IO_PGTABLE_QUIRK_NO_WARN )); -return -ENOENT ; +return 0 ; }/* If the size matches this level, we're in the right place */
drivers/irqchip/irq-gic-v3-its.c +4 -4
@@ -709,7 +709,7 @@ static struct its_collection *its_build_mapd_cmd(struct its_node *its,struct its_cmd_block *cmd, struct its_cmd_desc *desc) { - unsigned long itt_addr; + phys_addr_t itt_addr;u8 size =ilog2 (desc->its_mapd_cmd.dev->nr_ites); itt_addr =virt_to_phys (desc->its_mapd_cmd.dev->itt);
@@ -879,7 +879,7 @@ static struct its_vpe *its_build_vmapp_cmd(struct its_node *its, struct its_cmd_desc *desc) {struct its_vpe *vpe =valid_vpe (its, desc->its_vmapp_cmd.vpe); -unsigned long vpt_addr, vconf_addr; +phys_addr_t vpt_addr, vconf_addr;u64 target;bool alloc;
@@ -2477,10 +2477,10 @@ static int its_setup_baser(struct its_node *its, struct its_baser *baser, baser->psz = psz; tmp = indirect ?GITS_LVL1_ENTRY_SIZE : esz; -pr_info ("ITS@%pa: allocated %d %s @%lx (%s, esz %d, psz %dK, shr %d)\n" , +pr_info ("ITS@%pa: allocated %d %s @%llx (%s, esz %d, psz %dK, shr %d)\n" , &its->phys_base, (int )(PAGE_ORDER_TO_SIZE (order) / (int )tmp), its_base_type_string[type], - (unsigned long )virt_to_phys (base), + (u64 )virt_to_phys (base), indirect ?"indirect" :"flat" , (int )esz, psz /SZ_1K , (int )shr >>GITS_BASER_SHAREABILITY_SHIFT );
drivers/irqchip/irq-renesas-rzv2h.c +10 -1
@@ -89,6 +89,8 @@#define ICU_RZG3E_TSSEL_MAX_VAL 0x8c#define ICU_RZV2H_TSSEL_MAX_VAL 0x55 +#define field_get (_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1)) +/** * struct rzv2h_hw_info - Interrupt Control Unit controller hardware info structure. * @tssel_lut: TINT lookup table
@@ -328,6 +330,7 @@ static int rzv2h_tint_set_type(struct irq_data *d, unsigned int type)u32 titsr, titsr_k, titsel_n, tien;struct rzv2h_icu_priv *priv;u32 tssr, tssr_k, tssel_n; +u32 titsr_cur, tssr_cur;unsigned int hwirq;u32 tint, sense;int tint_nr;
@@ -376,12 +379,18 @@ static int rzv2h_tint_set_type(struct irq_data *d, unsigned int type)guard (raw_spinlock)(&priv->lock); tssr =readl_relaxed (priv->base + priv->info->t_offs +ICU_TSSR (tssr_k)); + titsr =readl_relaxed (priv->base + priv->info->t_offs +ICU_TITSR (titsr_k)); + + tssr_cur =field_get (ICU_TSSR_TSSEL_MASK (tssel_n, priv->info->field_width), tssr); + titsr_cur =field_get (ICU_TITSR_TITSEL_MASK (titsel_n), titsr); +if (tssr_cur == tint && titsr_cur == sense) +return 0 ; + tssr &= ~(ICU_TSSR_TSSEL_MASK (tssel_n, priv->info->field_width) | tien); tssr |=ICU_TSSR_TSSEL_PREP (tint, tssel_n, priv->info->field_width);writel_relaxed (tssr, priv->base + priv->info->t_offs +ICU_TSSR (tssr_k)); - titsr =readl_relaxed (priv->base + priv->info->t_offs +ICU_TITSR (titsr_k)); titsr &= ~ICU_TITSR_TITSEL_MASK (titsel_n); titsr |=ICU_TITSR_TITSEL_PREP (sense, titsel_n);
drivers/isdn/mISDN/timerdev.c +8 -5
@@ -109,14 +109,14 @@ mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off)spin_unlock_irq (&dev->lock);if (filep->f_flags &O_NONBLOCK )return -EAGAIN ; -wait_event_interruptible (dev->wait, (dev->work || +wait_event_interruptible (dev->wait, (READ_ONCE (dev->work) || !list_empty (list)));if (signal_pending (current))return -ERESTARTSYS ;spin_lock_irq (&dev->lock); }if (dev->work) - dev->work =0 ; +WRITE_ONCE (dev->work,0 );if (!list_empty (list)) { timer = list_first_entry(list, struct mISDNtimer, list);list_del (&timer->list);
@@ -141,13 +141,16 @@ mISDN_poll(struct file *filep, poll_table *wait)if (*debug &DEBUG_TIMER )printk (KERN_DEBUG "%s(%p, %p)\n" , __func__, filep, wait);if (dev) { +u32 work; +poll_wait (filep, &dev->wait, wait); mask =0 ; -if (dev->work || !list_empty (&dev->expired)) + work =READ_ONCE (dev->work); +if (work || !list_empty (&dev->expired)) mask |= (EPOLLIN |EPOLLRDNORM );if (*debug &DEBUG_TIMER )printk (KERN_DEBUG "%s work(%d) empty(%d)\n" , __func__, - dev->work,list_empty (&dev->expired)); + work,list_empty (&dev->expired)); }return mask; }
@@ -172,7 +175,7 @@ misdn_add_timer(struct mISDNtimerdev *dev, int timeout)struct mISDNtimer *timer;if (!timeout) { - dev->work =1 ; +WRITE_ONCE (dev->work,1 );wake_up_interruptible (&dev->wait); id =0 ; }else {
drivers/leds/led-class.c +5 -5
@@ -560,11 +560,6 @@ int led_classdev_register_ext(struct device *parent,#ifdef CONFIG_LEDS_BRIGHTNESS_HW_CHANGED led_cdev->brightness_hw_changed =-1 ;#endif -/* add to the list of leds */ -down_write (&leds_list_lock); -list_add_tail (&led_cdev->node, &leds_list); -up_write (&leds_list_lock); -if (!led_cdev->max_brightness) led_cdev->max_brightness =LED_FULL ;
@@ -574,6 +569,11 @@ int led_classdev_register_ext(struct device *parent,led_init_core (led_cdev); +/* add to the list of leds */ +down_write (&leds_list_lock); +list_add_tail (&led_cdev->node, &leds_list); +up_write (&leds_list_lock); +#ifdef CONFIG_LEDS_TRIGGERS led_trigger_set_default (led_cdev);#endif
drivers/misc/mei/mei-trace.h +9 -9
@@ -21,18 +21,18 @@ TRACE_EVENT(mei_reg_read, TP_ARGS(dev, reg, offs, val),TP_STRUCT__entry (__string (dev ,dev_name (dev )) - __field(const char *, reg) +__string (reg, reg)__field (u32, offs)__field (u32, val) ),TP_fast_assign ( __assign_str(dev); - __entry->reg = reg; +__assign_str (reg); __entry->offs = offs; __entry->val = val; ),TP_printk ("[%s] read %s:[%#x] = %#x" , -__get_str (dev), __entry->reg, __entry->offs, __entry->val) +__get_str (dev),__get_str (reg), __entry->offs, __entry->val) ); TRACE_EVENT(mei_reg_write,
@@ -40,18 +40,18 @@ TRACE_EVENT(mei_reg_write, TP_ARGS(dev, reg, offs, val),TP_STRUCT__entry (__string (dev ,dev_name (dev )) - __field(const char *, reg) +__string (reg, reg)__field (u32, offs)__field (u32, val) ),TP_fast_assign ( __assign_str(dev); - __entry->reg = reg; +__assign_str (reg); __entry->offs = offs; __entry->val = val; ),TP_printk ("[%s] write %s[%#x] = %#x" , -__get_str (dev), __entry->reg, __entry->offs, __entry->val) +__get_str (dev),__get_str (reg), __entry->offs, __entry->val) ); TRACE_EVENT(mei_pci_cfg_read,
@@ -59,18 +59,18 @@ TRACE_EVENT(mei_pci_cfg_read,TP_ARGS (dev, reg, offs, val),TP_STRUCT__entry ( __string(dev, dev_name(dev)) - __field(const char *, reg) + __string(reg, reg) __field(u32, offs)__field (u32, val) ),TP_fast_assign ( __assign_str(dev); - __entry->reg = reg; +__assign_str (reg); __entry->offs = offs; __entry->val = val; ),TP_printk ("[%s] pci cfg read %s:[%#x] = %#x" , -__get_str (dev), __entry->reg, __entry->offs, __entry->val) +__get_str (dev),__get_str (reg), __entry->offs, __entry->val) );#endif /* _MEI_TRACE_H_ */
drivers/misc/uacce/uacce.c +40 -8
100 lines not on this page · raw message
drivers/mmc/host/rtsx_pci_sdmmc.c +41 -0
53 lines not on this page · raw message
drivers/mmc/host/sdhci-of-dwcmshc.c +7 -0
@@ -608,6 +608,13 @@ static void dwcmshc_rk3568_set_clock(struct sdhci_host *host, unsigned int clocksdhci_writel (host, extra, reg);if (clock <=52000000 ) { +if (host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 || + host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ) { +dev_err (mmc_dev (host->mmc), +"Can't reduce the clock below 52MHz in HS200/HS400 mode" ); +return ; + } +/* * Disable DLL and reset both of sample and drive clock. * The bypass bit and start bit need to be set if DLL is not locked.
drivers/net/bonding/bond_main.c +9 -2
@@ -1953,6 +1953,12 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev,*/ if (!bond_has_slaves (bond)) {if (bond_dev->type != slave_dev->type) { +if (slave_dev->type !=ARPHRD_ETHER && +BOND_MODE (bond) ==BOND_MODE_8023AD ) { +SLAVE_NL_ERR (bond_dev, slave_dev, extack, +"8023AD mode requires Ethernet devices" ); +return -EINVAL ; + }slave_dbg (bond_dev, slave_dev,"change device type from %d to %d\n" , bond_dev->type, slave_dev->type);
@@ -4181,8 +4187,9 @@ static bool bond_flow_dissect(struct bonding *bond, struct sk_buff *skb, const vcase BOND_XMIT_POLICY_ENCAP23 :case BOND_XMIT_POLICY_ENCAP34 :memset (fk,0 ,sizeof (*fk)); -return __skb_flow_dissect (NULL , skb, &flow_keys_bonding, - fk, data, l2_proto, nhoff, hlen,0 ); +return __skb_flow_dissect (dev_net (bond->dev), skb, + &flow_keys_bonding, fk, data, + l2_proto, nhoff, hlen,0 );default :break ; }
drivers/net/can/usb/ems_usb.c +7 -1
@@ -486,11 +486,17 @@ static void ems_usb_read_bulk_callback(struct urb *urb) urb->transfer_buffer,RX_BUFFER_SIZE , ems_usb_read_bulk_callback, dev); +usb_anchor_urb (urb, &dev->rx_submitted); + retval =usb_submit_urb (urb,GFP_ATOMIC ); +if (!retval) +return ; + +usb_unanchor_urb (urb);if (retval == -ENODEV )netif_device_detach (netdev); -else if (retval) +else netdev_err (netdev,"failed resubmitting read bulk urb: %d\n" , retval); }
drivers/net/can/usb/esd_usb.c +8 -1
@@ -541,13 +541,20 @@ static void esd_usb_read_bulk_callback(struct urb *urb) urb->transfer_buffer,ESD_USB_RX_BUFFER_SIZE , esd_usb_read_bulk_callback, dev); +usb_anchor_urb (urb, &dev->rx_submitted); + err =usb_submit_urb (urb,GFP_ATOMIC ); +if (!err) +return ; + +usb_unanchor_urb (urb); +if (err == -ENODEV ) {for (i =0 ; i < dev->net_count; i++) {if (dev->nets[i])netif_device_detach (dev->nets[i]->netdev); } - }else if (err) { + }else {dev_err (dev->udev->dev.parent,"failed resubmitting read bulk urb: %pe\n" ,ERR_PTR (err)); }
drivers/net/can/usb/gs_usb.c +7 -0
@@ -754,6 +754,10 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)usb_anchor_urb (urb, &parent->rx_submitted); rc =usb_submit_urb (urb,GFP_ATOMIC ); +if (!rc) +return ; + +usb_unanchor_urb (urb);/* USB failure take down all interfaces */ if (rc == -ENODEV ) {
@@ -762,6 +766,9 @@ static void gs_usb_receive_bulk_callback(struct urb *urb)if (parent->canch[rc])netif_device_detach (parent->canch[rc]->netdev); } + }else if (rc != -ESHUTDOWN &&net_ratelimit ()) { +netdev_info (netdev,"failed to re-submit IN URB: %pe\n" , +ERR_PTR (urb->status)); } }
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c +8 -1
@@ -361,7 +361,14 @@ static void kvaser_usb_read_bulk_callback(struct urb *urb) urb->transfer_buffer,KVASER_USB_RX_BUFFER_SIZE , kvaser_usb_read_bulk_callback, dev); +usb_anchor_urb (urb, &dev->rx_submitted); + err =usb_submit_urb (urb,GFP_ATOMIC ); +if (!err) +return ; + +usb_unanchor_urb (urb); +if (err == -ENODEV ) {for (i =0 ; i < dev->nchannels; i++) {struct kvaser_usb_net_priv *priv;
@@ -372,7 +379,7 @@ static void kvaser_usb_read_bulk_callback(struct urb *urb)netif_device_detach (priv->netdev); } - }else if (err) { + }else {dev_err (&dev->intf->dev,"Failed resubmitting read bulk urb: %d\n" , err); }
drivers/net/can/usb/mcba_usb.c +7 -1
@@ -608,11 +608,17 @@ static void mcba_usb_read_bulk_callback(struct urb *urb) urb->transfer_buffer,MCBA_USB_RX_BUFF_SIZE , mcba_usb_read_bulk_callback, priv); +usb_anchor_urb (urb, &priv->rx_submitted); + retval =usb_submit_urb (urb,GFP_ATOMIC ); +if (!retval) +return ; + +usb_unanchor_urb (urb);if (retval == -ENODEV )netif_device_detach (netdev); -else if (retval) +else netdev_err (netdev,"failed resubmitting read bulk urb: %d\n" , retval); }
drivers/net/can/usb/usb_8dev.c +7 -1
@@ -541,11 +541,17 @@ static void usb_8dev_read_bulk_callback(struct urb *urb) urb->transfer_buffer,RX_BUFFER_SIZE , usb_8dev_read_bulk_callback, priv); +usb_anchor_urb (urb, &priv->rx_submitted); + retval =usb_submit_urb (urb,GFP_ATOMIC ); +if (!retval) +return ; + +usb_unanchor_urb (urb);if (retval == -ENODEV )netif_device_detach (netdev); -else if (retval) +else netdev_err (netdev,"failed resubmitting read bulk urb: %d\n" , retval); }
drivers/net/ethernet/amd/xgbe/xgbe-drv.c +1 -4
@@ -1823,7 +1823,7 @@ static void xgbe_get_stats64(struct net_device *netdev, s->multicast = pstats->rxmulticastframes_g; s->rx_length_errors = pstats->rxlengtherror; s->rx_crc_errors = pstats->rxcrcerror; - s->rx_fifo_errors = pstats->rxfifooverflow; + s->rx_over_errors = pstats->rxfifooverflow; s->tx_packets = pstats->txframecount_gb; s->tx_bytes = pstats->txoctetcount_gb;
@@ -2277,9 +2277,6 @@ static int xgbe_rx_poll(struct xgbe_channel *channel, int budget) goto read_again;if (error || packet->errors) { -if (packet->errors) -netif_err (pdata, rx_err, netdev, -"error in received packet\n" );dev_kfree_skb (skb); goto next_packet; }
drivers/net/ethernet/broadcom/asp2/bcmasp.c +3 -2
@@ -156,7 +156,7 @@ static void bcmasp_netfilt_hw_en_wake(struct bcmasp_priv *priv,ASP_RX_FILTER_NET_OFFSET_L4 (32 ), ASP_RX_FILTER_NET_OFFSET(nfilt->hw_index + 1)); - rx_filter_core_wl(priv, ASP_RX_FILTER_NET_CFG_CH(nfilt->port + 8) | + rx_filter_core_wl(priv, ASP_RX_FILTER_NET_CFG_CH(nfilt->ch) | ASP_RX_FILTER_NET_CFG_EN | ASP_RX_FILTER_NET_CFG_L2_EN | ASP_RX_FILTER_NET_CFG_L3_EN |
@@ -166,7 +166,7 @@ static void bcmasp_netfilt_hw_en_wake(struct bcmasp_priv *priv,ASP_RX_FILTER_NET_CFG_UMC (nfilt->port), ASP_RX_FILTER_NET_CFG(nfilt->hw_index)); - rx_filter_core_wl(priv, ASP_RX_FILTER_NET_CFG_CH(nfilt->port + 8) | + rx_filter_core_wl(priv, ASP_RX_FILTER_NET_CFG_CH(nfilt->ch) | ASP_RX_FILTER_NET_CFG_EN | ASP_RX_FILTER_NET_CFG_L2_EN | ASP_RX_FILTER_NET_CFG_L3_EN |
@@ -714,6 +714,7 @@ struct bcmasp_net_filter *bcmasp_netfilt_get_init(struct bcmasp_intf *intf, nfilter = &priv->net_filters[open_index]; nfilter->claimed = true; nfilter->port = intf->port; + nfilter->ch = intf->channel + priv->tx_chan_offset; nfilter->hw_index = open_index; }
drivers/net/ethernet/broadcom/asp2/bcmasp.h +1 -0
@@ -348,6 +348,7 @@ struct bcmasp_net_filter {bool wake_filter;int port; +int ch;unsigned int hw_index; };
drivers/net/ethernet/emulex/benet/be_cmds.c +2 -1
@@ -3801,6 +3801,7 @@ int be_cmd_get_perm_mac(struct be_adapter *adapter, u8 *mac) {int status;bool pmac_valid = false; +u32 pmac_id;eth_zero_addr (mac);
@@ -3813,7 +3814,7 @@ int be_cmd_get_perm_mac(struct be_adapter *adapter, u8 *mac) adapter->if_handle, 0); }else { status =be_cmd_get_mac_from_list (adapter, mac, &pmac_valid, -NULL , adapter->if_handle,0 ); + &pmac_id, adapter->if_handle,0 ); }return status;
drivers/net/ethernet/emulex/benet/be_main.c +5 -3
@@ -2141,7 +2141,7 @@ static int be_get_new_eqd(struct be_eq_obj *eqo)struct be_aic_obj *aic;struct be_rx_obj *rxo;struct be_tx_obj *txo; -u64 rx_pkts =0 , tx_pkts =0 ; +u64 rx_pkts =0 , tx_pkts =0 , pkts;ulong now;u32 pps, delta;int i;
@@ -2157,15 +2157,17 @@ static int be_get_new_eqd(struct be_eq_obj *eqo) for_all_rx_queues_on_eq(adapter, eqo, rxo, i) {do { start =u64_stats_fetch_begin (&rxo->stats.sync); - rx_pkts += rxo->stats.rx_pkts; + pkts = rxo->stats.rx_pkts; }while (u64_stats_fetch_retry (&rxo->stats.sync, start)); + rx_pkts += pkts; } for_all_tx_queues_on_eq(adapter, eqo, txo, i) {do { start =u64_stats_fetch_begin (&txo->stats.sync); - tx_pkts += txo->stats.tx_reqs; + pkts = txo->stats.tx_reqs; }while (u64_stats_fetch_retry (&txo->stats.sync, start)); + tx_pkts += pkts; }/* Skip, if wrapped around or first calculation */
drivers/net/ethernet/freescale/fec_main.c +7 -6
@@ -1151,7 +1151,7 @@ fec_restart(struct net_device *ndev)u32 rcntl =FEC_RCR_MII ;if (OPT_ARCH_HAS_MAX_FL ) - rcntl |= (fep->netdev->mtu +ETH_HLEN +ETH_FCS_LEN ) <<16 ; + rcntl |= (fep->netdev->mtu +VLAN_ETH_HLEN +ETH_FCS_LEN ) <<16 ;if (fep->bufdesc_ex)fec_ptp_save_state (fep);
@@ -1286,12 +1286,13 @@ fec_restart(struct net_device *ndev)/* When Jumbo Frame is enabled, the FIFO may not be large enough * to hold an entire frame. In such cases, if the MTU exceeds -* (PKT_MAXBUF_SIZE - ETH_HLEN - ETH_FCS_LEN), configure the interface -* to operate in cut-through mode, triggered by the FIFO threshold. +* (PKT_MAXBUF_SIZE - VLAN_ETH_HLEN - ETH_FCS_LEN), configure +* the interface to operate in cut-through mode, triggered by +* the FIFO threshold. * Otherwise, enable the ENET store-and-forward mode. */ if ((fep->quirks &FEC_QUIRK_JUMBO_FRAME ) && - (ndev->mtu > (PKT_MAXBUF_SIZE -ETH_HLEN -ETH_FCS_LEN ))) + (ndev->mtu > (PKT_MAXBUF_SIZE -VLAN_ETH_HLEN -ETH_FCS_LEN )))writel (0xF , fep->hwp +FEC_X_WMRK );else writel (FEC_TXWMRK_STRFWD , fep->hwp +FEC_X_WMRK );
@@ -4052,7 +4053,7 @@ static int fec_change_mtu(struct net_device *ndev, int new_mtu)if (netif_running (ndev))return -EBUSY ; - order =get_order (new_mtu +ETH_HLEN +ETH_FCS_LEN + order =get_order (new_mtu +VLAN_ETH_HLEN +ETH_FCS_LEN +FEC_DRV_RESERVE_SPACE ); fep->rx_frame_size = (PAGE_SIZE << order) -FEC_DRV_RESERVE_SPACE ; fep->pagepool_order = order;
@@ -4609,7 +4610,7 @@ fec_probe(struct platform_device *pdev)else fep->max_buf_size =PKT_MAXBUF_SIZE ; - ndev->max_mtu = fep->max_buf_size -ETH_HLEN -ETH_FCS_LEN ; + ndev->max_mtu = fep->max_buf_size -VLAN_ETH_HLEN -ETH_FCS_LEN ; ret =register_netdev (ndev);if (ret)
drivers/net/ethernet/freescale/ucc_geth.c +3 -1
@@ -1602,8 +1602,10 @@ static void ugeth_mac_config(struct phylink_config *config, unsigned int mode,pr_warn ("TBI mode requires that the device tree specify a tbi-handle\n" ); tbiphy =of_phy_find_device (ug_info->tbi_node); -if (!tbiphy) +if (!tbiphy) {pr_warn ("Could not get TBI device\n" ); +return ; + } value =phy_read (tbiphy,ENET_TBI_MII_CR ); value &= ~0x1000 ;/* Turn off autonegotiation */
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +36 -33
80 lines not on this page · raw message
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h +1 -1
@@ -731,7 +731,7 @@ struct hclge_fd_tcam_config_3_cmd {#define HCLGE_FD_AD_QID_M GENMASK(11, 2)#define HCLGE_FD_AD_USE_COUNTER_B 12#define HCLGE_FD_AD_COUNTER_NUM_S 13 -#define HCLGE_FD_AD_COUNTER_NUM_M GENMASK(20, 13) +#define HCLGE_FD_AD_COUNTER_NUM_M GENMASK(19, 13)#define HCLGE_FD_AD_NXT_STEP_B 20#define HCLGE_FD_AD_NXT_KEY_S 21#define HCLGE_FD_AD_NXT_KEY_M GENMASK(25, 21)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -1
@@ -5690,7 +5690,7 @@ static int hclge_fd_ad_config(struct hclge_dev *hdev, u8 stage, int loc, HCLGE_FD_AD_COUNTER_NUM_S, action->counter_id);hnae3_set_bit (ad_data,HCLGE_FD_AD_NXT_STEP_B , action->use_next_stage);hnae3_set_field (ad_data,HCLGE_FD_AD_NXT_KEY_M ,HCLGE_FD_AD_NXT_KEY_S , - action->counter_id); + action->next_input_key); req->ad_data =cpu_to_le64 (ad_data); ret =hclge_cmd_send (&hdev->hw, &desc,1 );
drivers/net/ethernet/huawei/hinic3/hinic3_irq.c +13 -9
@@ -43,21 +43,12 @@ static void qp_add_napi(struct hinic3_irq_cfg *irq_cfg)struct hinic3_nic_dev *nic_dev =netdev_priv (irq_cfg->netdev);netif_napi_add (nic_dev->netdev, &irq_cfg->napi, hinic3_poll); -netif_queue_set_napi (irq_cfg->netdev, irq_cfg->irq_id, -NETDEV_QUEUE_TYPE_RX , &irq_cfg->napi); -netif_queue_set_napi (irq_cfg->netdev, irq_cfg->irq_id, -NETDEV_QUEUE_TYPE_TX , &irq_cfg->napi);napi_enable (&irq_cfg->napi); }static void qp_del_napi (struct hinic3_irq_cfg *irq_cfg) {napi_disable (&irq_cfg->napi); -netif_queue_set_napi (irq_cfg->netdev, irq_cfg->irq_id, -NETDEV_QUEUE_TYPE_RX ,NULL ); -netif_queue_set_napi (irq_cfg->netdev, irq_cfg->irq_id, -NETDEV_QUEUE_TYPE_TX ,NULL ); -netif_stop_subqueue (irq_cfg->netdev, irq_cfg->irq_id);netif_napi_del (&irq_cfg->napi); }
@@ -150,6 +141,11 @@ int hinic3_qps_irq_init(struct net_device *netdev) goto err_release_irqs; } +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_RX , &irq_cfg->napi); +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_TX , &irq_cfg->napi); +hinic3_set_msix_auto_mask_state (nic_dev->hwdev, irq_cfg->msix_entry_idx,HINIC3_SET_MSIX_AUTO_MASK );
@@ -164,6 +160,10 @@ int hinic3_qps_irq_init(struct net_device *netdev) q_id--; irq_cfg = &nic_dev->q_params.irq_cfg[q_id];qp_del_napi (irq_cfg); +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_RX ,NULL ); +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_TX ,NULL );hinic3_set_msix_state (nic_dev->hwdev, irq_cfg->msix_entry_idx,HINIC3_MSIX_DISABLE ); hinic3_set_msix_auto_mask_state(nic_dev->hwdev,
@@ -184,6 +184,10 @@ void hinic3_qps_irq_uninit(struct net_device *netdev)for (q_id =0 ; q_id < nic_dev->q_params.num_qps; q_id++) { irq_cfg = &nic_dev->q_params.irq_cfg[q_id];qp_del_napi (irq_cfg); +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_RX ,NULL ); +netif_queue_set_napi (irq_cfg->netdev, q_id, +NETDEV_QUEUE_TYPE_TX ,NULL );hinic3_set_msix_state (nic_dev->hwdev, irq_cfg->msix_entry_idx,HINIC3_MSIX_DISABLE ); hinic3_set_msix_auto_mask_state(nic_dev->hwdev,
drivers/net/ethernet/intel/ice/devlink/devlink.c +1 -0
@@ -460,6 +460,7 @@ static void ice_devlink_reinit_down(struct ice_pf *pf)ice_vsi_decfg (ice_get_main_vsi (pf));rtnl_unlock ();ice_deinit_pf (pf); +ice_deinit_hw (&pf->hw);ice_deinit_dev (pf); }
drivers/net/ethernet/intel/ice/ice.h +1 -0
@@ -977,6 +977,7 @@ void ice_map_xdp_rings(struct ice_vsi *vsi);int ice_xdp_xmit (struct net_device *dev,int n,struct xdp_frame **frames,u32 flags); +int ice_get_rss (struct ice_vsi *vsi,u8 *seed,u8 *lut,u16 lut_size);int ice_set_rss_lut (struct ice_vsi *vsi,u8 *lut,u16 lut_size);int ice_get_rss_lut (struct ice_vsi *vsi,u8 *lut,u16 lut_size);int ice_set_rss_key (struct ice_vsi *vsi,u8 *seed);
drivers/net/ethernet/intel/ice/ice_common.c +1 -1
@@ -2251,7 +2251,7 @@ void ice_release_res(struct ice_hw *hw, enum ice_aq_res_ids res)/* there are some rare cases when trying to release the resource * results in an admin queue timeout, so handle them correctly */ - timeout = jiffies +10 *ICE_CTL_Q_SQ_CMD_TIMEOUT ; + timeout = jiffies +10 *usecs_to_jiffies (ICE_CTL_Q_SQ_CMD_TIMEOUT ); do { status = ice_aq_release_res(hw, res, 0, NULL); if (status != -EIO)
drivers/net/ethernet/intel/ice/ice_ethtool.c +1 -5
@@ -3621,11 +3621,7 @@ ice_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh)if (!lut)return -ENOMEM ; - err =ice_get_rss_key (vsi, rxfh->key); -if (err) - goto out; - - err =ice_get_rss_lut (vsi, lut, vsi->rss_table_size); + err =ice_get_rss (vsi, rxfh->key, lut, vsi->rss_table_size);if (err) goto out;
drivers/net/ethernet/intel/ice/ice_lib.c +21 -8
@@ -398,6 +398,8 @@ static int ice_vsi_alloc_ring_stats(struct ice_vsi *vsi)if (!ring_stats) goto err_out; +u64_stats_init (&ring_stats->syncp); +WRITE_ONCE (tx_ring_stats[i], ring_stats); }
@@ -417,6 +419,8 @@ static int ice_vsi_alloc_ring_stats(struct ice_vsi *vsi)if (!ring_stats) goto err_out; +u64_stats_init (&ring_stats->syncp); +WRITE_ONCE (rx_ring_stats[i], ring_stats); }
@@ -3806,22 +3810,31 @@ int ice_vsi_add_vlan_zero(struct ice_vsi *vsi)int ice_vsi_del_vlan_zero (struct ice_vsi *vsi) {struct ice_vsi_vlan_ops *vlan_ops =ice_get_compat_vsi_vlan_ops (vsi); +struct ice_pf *pf = vsi->back;struct ice_vlan vlan;int err; - vlan =ICE_VLAN (0 ,0 ,0 ); - err = vlan_ops->del_vlan (vsi, &vlan); -if (err && err != -EEXIST ) -return err; +if (pf->lag && pf->lag->primary) { +dev_dbg (ice_pf_to_dev (pf),"Interface is primary in aggregate - not deleting prune list\n" ); + }else { + vlan =ICE_VLAN (0 ,0 ,0 ); + err = vlan_ops->del_vlan (vsi, &vlan); +if (err && err != -EEXIST ) +return err; + }/* in SVM both VLAN 0 filters are identical */ if (!ice_is_dvm_ena (&vsi->back->hw))return 0 ; - vlan =ICE_VLAN (ETH_P_8021Q ,0 ,0 ); - err = vlan_ops->del_vlan (vsi, &vlan); -if (err && err != -EEXIST ) -return err; +if (pf->lag && pf->lag->primary) { +dev_dbg (ice_pf_to_dev (pf),"Interface is primary in aggregate - not deleting QinQ prune list\n" ); + }else { + vlan =ICE_VLAN (ETH_P_8021Q ,0 ,0 ); + err = vlan_ops->del_vlan (vsi, &vlan); +if (err && err != -EEXIST ) +return err; + }/* when deleting the last VLAN filter, make sure to disable the VLAN * promisc mode so the filter isn't left by accident
drivers/net/ethernet/intel/ice/ice_main.c +29 -2
@@ -4845,6 +4845,7 @@ static void ice_deinit_features(struct ice_pf *pf)ice_dpll_deinit (pf);if (pf->eswitch_mode ==DEVLINK_ESWITCH_MODE_SWITCHDEV )xa_destroy (&pf->eswitch.reprs); +ice_hwmon_exit (pf); }static void ice_init_wakeup (struct ice_pf *pf)
@@ -5446,8 +5447,6 @@ static void ice_remove(struct pci_dev *pdev)ice_free_vfs (pf); } -ice_hwmon_exit (pf); -if (!ice_is_safe_mode (pf))ice_remove_arfs (pf);
@@ -8002,6 +8001,34 @@ int ice_get_rss_key(struct ice_vsi *vsi, u8 *seed)return status; } +/** +* ice_get_rss - Get RSS LUT and/or key +* @vsi: Pointer to VSI structure
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_ptp.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_txrx.c +11 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_defines.h +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_ethtool.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_ptp.c +25 -18
43 lines not on this page · raw message
drivers/net/ethernet/marvell/octeontx2/af/rvu.c +64 -22
86 lines not on this page · raw message
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_sdp.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +1 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ipvlan/ipvlan_main.c +29 -20
49 lines not on this page · raw message
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/rsi/rsi_91x_mac80211.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/platform/mellanox/mlx-platform.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/platform/x86/hp/hp-bioscfg/bioscfg.h +7 -5
Lines of this file are not shown. View the raw message.
drivers/pmdomain/rockchip/pm-domains.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/w1/slaves/w1_therm.c +20 -42
62 lines not on this page · raw message
include/dt-bindings/power/qcom,rpmhpd.h +1 -0
Lines of this file are not shown. View the raw message.
mm/vma.c +70 -32
102 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c +25 -11
Lines of this file are not shown. View the raw message.
security/keys/trusted-keys/trusted_tpm2.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/fib-onlink-tests.sh +30 -41
71 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.