Linux 6.12.105
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.12.105 kernel.
All users of the 6.12 kernel series must upgrade.
The updated 6.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.12.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
------------
Makefile | 2 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 arch/loongarch/mm/pageattr.c | 2 arch/m68k/Kconfig.cpu | 4 arch/openrisc/include/asm/processor.h | 2 arch/openrisc/kernel/dma.c | 4 arch/openrisc/kernel/signal.c | 5 arch/powerpc/platforms/pseries/lparcfg.c | 2 arch/powerpc/platforms/pseries/pci.c | 2 arch/riscv/mm/pageattr.c | 8 arch/x86/kernel/cpu/mce/amd.c | 4 arch/x86/kernel/cpu/mce/core.c | 21 - arch/x86/kvm/svm/sev.c | 49 ++- arch/x86/kvm/svm/svm.h | 1 arch/x86/kvm/x86.c | 13 block/genhd.c | 12 crypto/ccm.c | 2 drivers/ata/libata-eh.c | 29 -- drivers/ata/libata-scsi.c | 117 +++++++- drivers/ata/libata.h | 3 drivers/crypto/ccp/sp-dev.c | 14 + drivers/crypto/qce/core.c | 2 drivers/crypto/starfive/jh7110-aes.c | 2 drivers/crypto/tegra/tegra-se-aes.c | 22 - drivers/gpio/gpio-sloppy-logic-analyzer.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 63 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 50 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 24 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 10 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 85 +----- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 3 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 5 drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c | 42 +-- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 26 + drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 31 +- drivers/gpu/drm/amd/display/dc/dce/dce_transform.c | 7 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_csc_v.c | 7 drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 36 ++ drivers/gpu/drm/amd/pm/amdgpu_pm.c | 26 - drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 6 drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c | 5 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 102 ++++--- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 58 ---- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 14 - drivers/gpu/drm/display/drm_hdmi_state_helper.c | 3 drivers/gpu/drm/panthor/panthor_fw.c | 3 drivers/gpu/drm/radeon/radeon_kms.c | 1 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 10 drivers/gpu/drm/xe/xe_lrc.c | 7 drivers/gpu/drm/xe/xe_oa.c | 4 drivers/input/joystick/iforce/iforce-packets.c | 11 drivers/input/joystick/iforce/iforce-usb.c | 3 drivers/input/joystick/psxpad-spi.c | 1 drivers/input/joystick/xpad.c | 2 drivers/input/keyboard/atkbd.c | 8 drivers/input/misc/cs40l50-vibra.c | 10 drivers/input/mouse/focaltech.c | 2 drivers/input/rmi4/rmi_f54.c | 43 ++- drivers/input/rmi4/rmi_f55.c | 4 drivers/input/touchscreen/hynitron_cstxxx.c | 13 drivers/input/touchscreen/sur40.c | 23 - drivers/iommu/iommufd/device.c | 2 drivers/mmc/host/atmel-mci.c | 2 drivers/mmc/host/omap_hsmmc.c | 2 drivers/mmc/host/sdhci.c | 16 + drivers/mmc/host/sdhci.h | 2 drivers/mtd/ubi/attach.c | 4 drivers/mtd/ubi/fastmap-wl.c | 8 drivers/mtd/ubi/io.c | 10 drivers/mtd/ubi/ubi.h | 12 drivers/net/can/rcar/rcar_canfd.c | 28 +- drivers/net/ethernet/intel/ice/ice_vf_lib.c | 27 + drivers/net/ethernet/intel/ice/ice_vf_lib_private.h | 1 drivers/net/ethernet/intel/ice/ice_virtchnl.c | 21 + drivers/net/ethernet/intel/igc/igc_main.c | 9 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 16 + drivers/net/ethernet/microsoft/mana/mana_en.c | 4 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 drivers/net/ipvlan/ipvlan_main.c | 4 drivers/net/macvlan.c | 4 drivers/net/tap.c | 24 + drivers/net/veth.c | 2 drivers/net/vrf.c | 49 +-- drivers/net/vxlan/vxlan_core.c | 34 +- drivers/net/vxlan/vxlan_mdb.c | 4 drivers/pmdomain/arm/scmi_perf_domain.c | 2 drivers/s390/cio/vfio_ccw_async.c | 16 + drivers/s390/cio/vfio_ccw_chp.c | 31 +- drivers/s390/cio/vfio_ccw_cp.c | 74 ++++- drivers/s390/cio/vfio_ccw_cp.h | 10 drivers/s390/cio/vfio_ccw_drv.c | 21 + drivers/s390/cio/vfio_ccw_fsm.c | 8 drivers/s390/cio/vfio_ccw_ops.c | 39 ++ drivers/s390/cio/vfio_ccw_private.h | 10 drivers/s390/net/qeth_core_main.c | 3 drivers/s390/net/qeth_l3_main.c | 5 drivers/video/fbdev/core/fb_io_fops.c | 8 fs/binfmt_elf.c | 4 fs/binfmt_elf_fdpic.c | 4 fs/binfmt_misc.c | 46 +-- fs/btrfs/block-group.c | 61 ++-- fs/btrfs/block-group.h | 3 fs/btrfs/extent-tree.c | 6 fs/btrfs/messages.h | 7 fs/btrfs/space-info.c | 2 fs/btrfs/transaction.c | 5 fs/btrfs/zoned.c | 5 fs/btrfs/zoned.h | 6 fs/ceph/addr.c | 164 +++++------- fs/ceph/caps.c | 17 + fs/ceph/file.c | 9 fs/ceph/mds_client.c | 11 fs/ceph/mds_client.h | 1 fs/ceph/mdsmap.c | 2 fs/erofs/Kconfig | 3 fs/eventpoll.c | 17 + fs/exec.c | 8 fs/f2fs/data.c | 2 fs/notify/fanotify/Kconfig | 1 fs/notify/fsnotify.c | 38 ++ fs/open.c | 12 fs/smb/client/cifsfs.c | 22 + fs/smb/client/cifsglob.h | 27 - fs/smb/client/cifssmb.c | 6 fs/smb/client/connect.c | 2 fs/smb/client/inode.c | 2 fs/smb/client/smb2ops.c | 18 - fs/smb/client/transport.c | 8 fs/smb/common/cifsglob.h | 36 ++ fs/smb/server/auth.c | 4 fs/smb/server/connection.c | 23 + fs/smb/server/connection.h | 5 fs/smb/server/oplock.c | 8 fs/smb/server/smb2misc.c | 2 fs/smb/server/smb2ops.c | 32 +- fs/smb/server/smb2pdu.c | 88 +++--- fs/smb/server/smb2pdu.h | 9 fs/smb/server/smb_common.c | 43 ++- fs/smb/server/smb_common.h | 43 --- fs/super.c | 133 +++++---- fs/xfs/libxfs/xfs_exchmaps.c | 10 fs/xfs/libxfs/xfs_sb.c | 4 fs/xfs/scrub/agheader_repair.c | 120 +++++++- fs/xfs/scrub/alloc.c | 5 fs/xfs/scrub/attr_repair.c | 3 fs/xfs/scrub/bmap.c | 5 fs/xfs/scrub/dirtree_repair.c | 22 + fs/xfs/scrub/nlinks.c | 13 fs/xfs/scrub/nlinks_repair.c | 7 fs/xfs/scrub/parent.c | 2 fs/xfs/scrub/tempfile.c | 1 fs/xfs/scrub/trace.h | 2 fs/xfs/xfs_dquot.c | 3 fs/xfs/xfs_dquot_item_recover.c | 2 include/linux/fs.h | 77 +++++ include/linux/fsnotify.h | 39 +- include/linux/libata.h | 2 include/linux/netdevice.h | 45 +++ include/linux/pagewalk.h | 7 include/linux/psp-sev.h | 9 include/linux/tcp.h | 4 include/linux/userfaultfd_k.h | 6 include/net/ip_tunnels.h | 30 +- include/net/ip_vs.h | 7 include/net/tcp.h | 58 ++-- include/uapi/linux/ip_vs.h | 6 kernel/bpf/verifier.c | 51 +-- kernel/events/core.c | 159 ++++------- kernel/fork.c | 12 kernel/trace/ftrace.c | 9 kernel/trace/ring_buffer.c | 124 +++------ mm/damon/paddr.c | 15 + mm/hugetlb_vmemmap.c | 2 mm/internal.h | 6 mm/khugepaged.c | 35 +- mm/pagewalk.c | 89 ++++-- mm/ptdump.c | 10 mm/vmalloc.c | 60 +++- net/ceph/cls_lock_client.c | 21 + net/ceph/decode.c | 18 - net/ceph/osdmap.c | 9 net/core/dev.c | 14 + net/core/pktgen.c | 43 +-- net/ipv4/bpf_tcp_ca.c | 2 net/ipv4/tcp.c | 4 net/ipv4/tcp_dctcp.h | 2 net/ipv4/tcp_input.c | 62 +++- net/ipv4/tcp_minisocks.c | 12 net/ipv4/tcp_output.c | 6 net/ipv4/tcp_timer.c | 4 net/mptcp/fastopen.c | 7 net/mptcp/options.c | 67 ++++ net/mptcp/protocol.h | 1 net/netfilter/ipset/ip_set_bitmap_gen.h | 2 net/netfilter/ipset/ip_set_core.c | 19 - net/netfilter/ipset/ip_set_list_set.c | 10 net/netfilter/ipvs/ip_vs_conn.c | 4 net/netfilter/ipvs/ip_vs_core.c | 6 net/netfilter/ipvs/ip_vs_ctl.c | 4 net/netfilter/ipvs/ip_vs_dh.c | 4 net/netfilter/ipvs/ip_vs_lblc.c | 2 net/netfilter/ipvs/ip_vs_lblcr.c | 8 net/netfilter/nf_flow_table_core.c | 7 net/netfilter/nf_tables_offload.c | 2 net/packet/af_packet.c | 7 net/sched/act_api.c | 10 net/sched/cls_bpf.c | 18 + net/sched/cls_u32.c | 3 net/sched/sch_api.c | 24 + net/tls/tls_sw.c | 5 net/x25/af_x25.c | 4 net/x25/x25_timer.c | 25 + security/security.c | 9 security/selinux/ss/policydb.c | 31 ++ security/selinux/ss/services.c | 28 +- sound/pci/hda/patch_realtek.c | 1 sound/soc/codecs/cs35l41-lib.c | 2 sound/soc/codecs/cs35l45-tables.c | 32 +- sound/soc/codecs/cs4265.c | 4 sound/soc/codecs/lpass-wsa-macro.c | 8 sound/soc/codecs/tas2562.c | 9 sound/soc/intel/common/sof-function-topology-lib.c | 7 sound/soc/sof/ipc4-topology.c | 33 ++ sound/soc/sof/sof-audio.c | 9 sound/soc/xilinx/xlnx_formatter_pcm.c | 10 tools/testing/selftests/bpf/progs/verifier_linked_scalars.c | 112 ++++++++ tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 231 files changed, 2838 insertions(+), 1502 deletions(-)
Aditya Chillara (1):
perf/core: Fix group leader use-after-free after sibling detach
Ajrat Makhmutov (1):
ALSA: hda/realtek: Enable headset mic on F+ FLAPTOP r
Aldo Ariel Panzardo (1):
net/sched: serialize qdisc_rtab_list against concurrent get/put
Alexey Velichayshiy (1):
netfilter: nf_tables_offload: suppress WARN_ON_ONCE for ENOMEM in abort path
Ali Ahmet Memis (1):
openrisc: signal: do not restore privileged SR bits on sigreturn
Amir Goldstein (2):
fsnotify: opt-in for permission events at file open time
fs: don't block write during exec on pre-content watched files
Andy Shevchenko (1):
libceph: Amend checking to fix make W=1 build breakage
Asad Kamal (2):
drm/amdgpu: fix aperture iounmap skipped on device removal drm/amd/pm: Use same metric table for APU
Bard Liao (1):
ASoC: SOF: topology: Use acpi mach from the machine driver
Baul Lee (1):
net/x25: fix use-after-free of the socket by its timers
Breno Leitao (1):
x86/mce: Set up the polling timer before CMCI discovery
Bryam Vargas (5):
selinux: require every boolean value to be defined
selinux: reject a class permission count below its inherited common
selinux: do not cancel a policy conversion that never started
selinux: reject an unclaimed class value in security_get_classes()
Input: synaptics-rmi4 - bound the F54 report size to the allocated buffer
Candice Li (2):
drm/amdgpu: reject oversized IBs with per-ring packet limits drm/amdgpu: validate GEM_CREATE domain combinations
Cengiz Can (1):
gpio: sloppy-logic-analyzer: fix use-after-free via debugfs trigger on unbind
Chao Shi (1):
block: stop the timeout timer when releasing a never added disk
Chao Yu (1):
f2fs: fix UAF issue in f2fs_merge_page_bio()
Chen Changcheng (1):
fs/super: fix emergency thaw double-unlock of s_umount
ChenXiaoSong (3):
smb/server: rename include guard in smb_common.h smb/server: fix minimum SMB1 PDU size smb/server: fix minimum SMB2 PDU size
Cheng Ming Lin (1):
mtd: ubi: skip programming unused bits in ubi headers
Chengfeng Ye (1):
net: pktgen: fix proc entry use-after-free
Chia-Yu Chang (1):
tcp: reorganize tcp_sock_write_txrx group for variables later
Christian Brauner (8):
super: remove pointless s_root checks
super: skip dying superblocks early
super: use a common iterator (Part 1)
super: use common iterator (Part 2)
super: fix emergency thaw deadlock on frozen block devices
binfmt_misc: don't leak the user namespace when the mount fails
binfmt_misc: restore write access when removing an entry
binfmt_misc: use exe_file_deny_write_access() for the interpreter clone
Christoph Hellwig (1):
xfs: check v5 superblock features early
Chuck Lever (1):
net/tls: Fail tls_sw_splice_read() after a failed async decrypt
Damien Le Moal (1):
ata: libata-scsi: terminate deferred commands on time out
Daniel Borkmann (4):
bpf: Fix linked reg delta tracking when src_reg == dst_reg
bpf: Clear delta when clearing reg id for non-{add,sub} ops selftests/bpf: Add tests for delta tracking when src_reg == dst_reg selftests/bpf: Add tests for stale delta leaking through id reassignment
Daniel Golle (1):
net: ethernet: mtk_eth_soc: improve support for named interrupts
Darrick J. Wong (15):
xfs: zero i_nlink before repair puts inode on unlinked list
xfs: only check mergeability of bnobt records
xfs: don't double-lock when deleting a self-referential directory
xfs: set the prev pointer when reinserting an inode on the unlinked list
xfs: pass runtime errors from xrep_iunlink_mark_ondisk_rec up to callers
xfs: nlink scrub must take IOLOCK before determining ILOCK state
xfs: load next_agino from the correct xfarray in xrep_iunlink_relink_prev
xfs: don't zap the attr fork on repair when there are queued pptr updates
xfs: don't walk off the end of a null sc->sa.agi_bp in AGI repair
xfs: fix allocated inodes that show up in the unlinked list
xfs: fix another iunlink infinite loop bug in online fsck
xfs: don't return EFSCORRUPTED when scrubbing corrupt parent pointers
xfs: avoid UAF on sc->tempip in xrep_tempfile_create
xfs: check xfarray iteration errors when committing unlinked inode lists
fs: unlock the superblock during iterate_supers_type
David Carlier (1):
igc: remove napi_synchronize() in igc_down()
David Rosca (6):
drm/amdgpu: Reject UVD message with invalid number of h265 refs drm/amdgpu: Reject UVD message with dimensions above 4096 drm/amdgpu: Implement insert_end for VCE 3 drm/amdgpu: Fix UVD min buffer sizes
drm/amdgpu: Fix UVD dpb min size calculation for H264 drm/amdgpu: Fix UVD decode image min size calculation
David Sterba (1):
btrfs: add debug build only WARN
Dawid Osuchowski (1):
ice: fix VF interrupts cleanup
Dawid Wróbel (1):
ASoC: codecs: lpass-wsa-macro: Fix enum kcontrol accesses
Dmitry Torokhov (6):
Input: synaptics-rmi4 - fix F55 transmitter electrode count typo
Input: synaptics-rmi4 - zero report size on F54 work error
Input: synaptics-rmi4 - block s_input when F54 queue is busy
Input: synaptics-rmi4 - propagate F54 worker errors to V4L2 queue
Input: sur40 - fix input device registration ordering
Input: sur40 - fix V4L error path cleanup
Dongli Zhang (1):
net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp()
Eric Dumazet (5):
vxlan: use pskb_network_may_pull() for transmit path header pulls
ipvlan: inherit needed_headroom and needed_tailroom from phy_dev
macvlan: inherit needed_headroom and needed_tailroom from lowerdev
af_packet: Don't send zero-byte data in tpacket_snd().
ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS
Eric Farman (10):
s390/vfio_ccw: Free all memory if cp_init() fails s390/vfio_ccw: Limit the number of channel program segments s390/vfio_ccw: Cancel existing workqueues s390/vfio_ccw: Ensure index for read/write regions are within range s390/vfio_ccw: Ensure first IDAW remains constant s390/vfio_ccw: Fix out of bounds check on CCW array s390/vfio_ccw: Move cp cleanup out of not operational s390/vfio_ccw: Selectively expand io_mutex s390/vfio_ccw: Calculate idal length based on idaw type s390/vfio_ccw: Implement a crw lock
Erni Sri Satya Vennela (1):
net: mana: Fix EQ leak in mana_remove on NULL port
Filipe Manana (1):
btrfs: remove fs_info argument from btrfs_zoned_activate_one_bg()
Florian Westphal (2):
netfilter: ipset: fix list type element drift bug
netfilter: ipset: let destroy callbacks adjust ext mem size
Frank Sorenson (1):
cifs: add fscache_resize_cookie() to cifs_setsize()
Frank Wunderlich (1):
net: ethernet: mtk_eth_soc: only use legacy mode on missing IRQ name
Gang Yan (1):
selftests: mptcp: join: mark tests with data corruption as failed
Gao Xiang (1):
erofs: fix EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS on some UP platforms
George Wilson (2):
powerpc/pseries: pci - logic bug powerpc/pseries: lparcfg - fix kbuf[] underflow
Greg Kroah-Hartman (1):
Linux 6.12.105
Guanghui Yang (1):
btrfs: zoned: fix missing chunk metadata reservation
Guangshuo Li (1):
drm/radeon: fix autosuspend cleanup during teardown
Guidong Han (1):
eventpoll: pin files while checking reverse paths
Guillaume Nault (2):
vrf: Make pcpu_dstats update functions available to other modules.
vxlan: Handle stats using NETDEV_PCPU_STAT_DSTATS.
Haibo Chen (1):
mmc: sdhci: make tuning_err a signed int
Herbert Xu (1):
crypto: ccm - Set rfc4309 maxauthsize from child
Hidayath Khan (1):
s390/qeth: validate user buffer length in SNMP and ARP query ioctls
HyeongJun An (1):
Input: cs40l50-vibra - validate custom data from user space
Ilpo Järvinen (2):
tcp: Pass flags to __tcp_send_ack
tcp: fast path functions later
Jamal Hadi Salim (2):
net/sched: act_api: fix TOCTOU NULL deref on a->goto_chain net/sched: cls_bpf: reject dev-bound programs bound to a different device
Jianing Li (1):
Input: hynitron_cstxxx - validate touch count and finger IDs
Jiayuan Chen (1):
tcp: fix icsk_ack.ato bitfield overflow
John Harrison (1):
drm/connector/hdmi: Fix out of bounds memory read
Jon Hunter (1):
arm64: tegra: Add EL2 virtual timer interrupt for Tegra194
Jonas Köppeler (1):
veth: fix queue index used to wake the peer txq in veth_poll
Josh Poimboeuf (1):
ftrace: Fix off-by-one fentry site disable in ftrace_free_mem()
Junrui Luo (1):
drm/amdgpu: disallow multiple FENCE chunks in one submit
Jérémy Jean (1):
netfilter: flowtable: publish GC-visible tuple last
Kefu Chai (1):
libceph: tolerate addrvecs with multiple entries of the same type
Kyohei Kadota (1):
Input: xpad - add support for ZENAIM LEVERLESS
Lance Yang (1):
mm/khugepaged: guard is_zero_pfn() calls with pte_present()
Leon Hwang (1):
ftrace: Protect direct_functions in ftrace_find_rec_direct
Lijo Lazar (1):
drm/amd/pm: Use macro to initialize metrics table
Lin Jiapeng (1):
xfs: fix exchange-range reflink flag clearing issue with INO1_WRITTEN
Linmao Li (2):
Input: psxpad-spi - set driver data before use drm/xe/oa: Fix sync entry leak on OA config emit failure
Liyuan Pang (1):
ubi: fastmap: fix ubi->fm memory leak
Long Li (2):
xfs: fix ilock leak on error in xfs_dq_get_next_id
xfs: don't swallow dquot recovery verification errors
Lorenzo Stoakes (1):
mm/pagewalk: split walk_page_range_novma() into kernel/user parts
Lorenzo Stoakes (ARM) (2):
mm/vmalloc: acquire init_mm lock on huge vmap to avoid ptdump UAF mm/ptdump: always stabilise against page table freeing using init_mm
Mark Brown (1):
ASoC: tas2562: Validate values for volume writes
Matthew Brost (1):
drm/xe: Order ring writes before ring tail updates
Matthew Wilcox (Oracle) (4):
ceph: Remove ceph_writepage()
ceph: Use a folio in ceph_page_mkwrite()
ceph: Convert ceph_find_incompatible() to take a folio
ceph: Convert writepage_nounlock() to write_folio_nounlock()
Matthieu Baerts (NGI0) (2):
mptcp: avoid combining some incoming suboptions
mptcp: options: reset DSS fields in case of unexpected size
Max Kellermann (3):
ceph: avoid fs reclaim while using current->journal_info
ceph: fix hanging __ceph_get_caps() with stale mds_wanted include/linux/fs.h: add inode_lock_killable()
Mike Rapoport (Microsoft) (1):
userfaultfd: prevent registration of special VMAs
Mingyu Wang (1):
fbdev: core: Fix pointer desynchronization in fb_io_read()
Myeonghun Pak (1):
mmc: sdhci: unmap the bounce buffer before device release
Namjae Jeon (4):
ksmbd: rename smb2_get_msg to smb_get_msg
ksmbd: validate minimum PDU size for transform requests
ksmbd: conn lock to serialize smb2 negotiate
ksmbd: reject repeated SMB2 NEGOTIATE requests
Naohiro Aota (1):
btrfs: add space_info argument to btrfs_chunk_alloc()
Nathan Lucas (2):
drm/amd/display: fix BT.2020 YCbCr limited output CSC matrix drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE
Osama Abdelkader (1):
drm/panthor: skip zero-sized firmware sections
Paolo Abeni (1):
net: harmonize tstats and dstats
Paolo Bonzini (1):
KVM: SVM: Serialize accesses to the owner and mirror list with separate lock
Paulo Alcantara (1):
smb: client: fix race with fallocate(2) and AIO+DIO
Pavitra Jha (2):
libceph: fix multiple unsafe decodes in decode_locker()
libceph: fix two unsafe bare decodes in decode_lockers()
Pei Xiao (1):
mmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition
Peiyang He (1):
iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace
Pengpeng Hou (1):
Input: iforce - validate input packet lengths
Peter Seiderer (1):
net: pktgen: fix code style (WARNING: Block comments)
Peter Ujfalusi (5):
ASoC: SOF: sof-audio: Fix error path in sof_widget_setup_unlocked()
ASoC: cs4265: sort the register default table
ASoC: cs35l45: sort the register default table
ASoC: cs35l41: sort the register default table
ASoC: SOF: ipc4-topology: Refresh copier IPC payload before widget setup
Peter Zijlstra (1):
perf: Unify perf_event_free_task() / perf_event_exit_task_context()
Philipp David (1):
igc: fix netdev not re-attached after resume if interface is down
Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: move debug_vm handling to amdgpu_cs_parser_fini
Praveen Talari (1):
pmdomain: arm: Fix -EINVAL from scmi_pd_set_perf_state() on state 0
Qiang Ma (1):
xfs: clear zapped attr fork state when bmap repair finds no attr fork
Qiang Yu (1):
drm/amdgpu: read TRUNCATE_COORD_MODE on gfx12
Raphael Zimmer (1):
libceph: Avoid using invalid osd indices from primary_temp
Richard Davies (1):
Input: focaltech - fix array out-of-bounds in focaltech_process_rel_packet
Rosen Penev (1):
ASoC: xilinx: formatter_pcm: pass aud_drv_data to irq handlers
SJ Park (1):
mm/damon: adjust isolated pages stat for DAMOS_MIGRATE_{HOT,COLD}Sean Christopherson (2):
crypto: ccp: Add external API interface for PSP module initialization
KVM: SVM: Ensure PSP module is initialized if KVM module is built-in
Siddharth Vadapalli (1):
net: ethernet: ti: am65-cpsw-nuss: Fix port_id extraction from SRC TAG
Song Liu (1):
fsnotify, lsm: Decouple fsnotify from lsm
Steven Rostedt (4):
ring-buffer: Simplify functions with __free(kfree) to free allocations
ring-buffer: Simplify ring_buffer_read_page() with guard()
ring-buffer: Make ring_buffer_{un}map() simpler with guard(mutex)
ring-buffer: Remove jump to out label in ring_buffer_swap_cpu()
Tengda Wu (1):
ring-buffer: Use current_context for safe per-CPU buffer swap
Thorsten Blum (2):
crypto: starfive - use scatterlist length before DMA mapping
crypto: qce - fix error path in devm_qce_register_algs
Tu Nguyen (1):
can: rcar_canfd: change the initializing flow for clocks and resets
Uwe Kleine-König (1):
m68k: Define NR_CPUS to 1
Vincent Donnefort (2):
ring-buffer: Initialise reader page order in rb_allocate_cpu_buffer()
ring-buffer: Prevent resizing of persistent ring buffer
Vladislav Dronov (1):
crypto: tegra - fix rctx->cryptlen calculation in tegra_gcm_do_one_req()
Wei Fang (1):
net: packet: fix wrong transport_header when sending VLAN-tagged frame
Weiming Shi (1):
KVM: x86: Cancel delayed I/O APIC EOI handling before destroying vCPUs
Wentao Liang (1):
ceph: fix writeback_count leak in write_folio_nounlock()
Wyatt Feng (1):
mptcp: fastopen: only mark MPTFO subflows with SYN data
Xiang Mei (1):
libceph: bound pg_{temp,upmap,upmap_items} length to CEPH_PG_MAX_SIZE
Xiang Mei (Microsoft) (1):
netfilter: ipset: fix refcount race between list:set GC and swap
Yang Wang (5):
drm/amdgpu: fix nbif 6.3.1 l1 low power not functional drm/amdgpu: check ASPM on the dGPU host link drm/amd/pm: fix torn gpu metrics reads drm/amd/pm: adjust the visibility of pp_table sysfs node drm/amd/pm: fix pptable use-after-free
Yazen Ghannam (2):
x86/mce: Remove __mcheck_cpu_init_early()
x86/mce: Set CR4.MCE last during init
Yiming Zhu (1):
ceph: fix MDS random selection readiness predicate
Yizhou Zhao (1):
ipvs: separate destination availability state
Yunxiang Li (1):
drm/amdgpu: remove unused function parameter
Yuxiang Yang (1):
tcp: challenge ACK for non-exact RST in SYN-RECEIVED
Zack Rusin (1):
drm/vmwgfx: take fman->lock around fence list mutation in fifo_down
Zhan Xusheng (1):
mmc: omap_hsmmc: fix busy_timeout overflow in ns conversion on 32-bit
Zhang Changzhong (1):
net/sched: cls_u32: skip hash tables in u32_bind_class()
ZhangGuoDong (2):
smb: move smb_version_values to common/smbglob.h
smb: move get_rfc1002_len() to common/smbglob.h
Zhefu Zhang (1):
Input: atkbd - skip deactivate for Xiaomi Book Pro 14's internal keyboard
liyouhong (1):
mm/damon/ops-common: putback folios on invalid migrate nid
Greg Kroah-Hartman
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 12 -SUBLEVEL = 104 +SUBLEVEL = 105 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arm64/boot/dts/nvidia/tegra194.dtsi +2 -0
@@ -3161,6 +3161,8 @@ timer { <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, <GIC_PPI 10 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; interrupt-parent = <&gic>; always-on;
arch/loongarch/mm/pageattr.c +1 -1
@@ -118,7 +118,7 @@ static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, pgpreturn 0 ;mmap_write_lock (&init_mm); - ret =walk_page_range_novma (&init_mm, start, end, &pageattr_ops,NULL , &masks); + ret =walk_kernel_page_table_range (start, end, &pageattr_ops,NULL , &masks);mmap_write_unlock (&init_mm);flush_tlb_kernel_range (start, end);
arch/m68k/Kconfig.cpu +4 -0
@@ -538,6 +538,10 @@ config CACHE_COPYBACK endchoice endif # HAVE_CACHE_CB +config NR_CPUS + int + default "1" + # Coldfire cores that do not have a data cache configured can do coherent DMA. config COLDFIRE_COHERENT_DMA bool
arch/openrisc/include/asm/processor.h +2 -0
@@ -26,6 +26,8 @@ | SPR_SR_DCE | SPR_SR_SM)#define USER_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_ICE \ | SPR_SR_DCE | SPR_SR_IEE | SPR_SR_TEE) +/* SR bits user space may change via sigreturn, the rest stay kernel owned */ +#define SPR_SR_USER_MASK (SPR_SR_F | SPR_SR_CY | SPR_SR_OV)/* * User space process size. This is hardcoded into a few places,
arch/openrisc/kernel/dma.c +2 -2
@@ -75,7 +75,7 @@ void *arch_dma_set_uncached(void *cpu_addr, size_t size)* them and setting the cache-inhibit bit. */ mmap_write_lock (&init_mm); - error =walk_page_range_novma (&init_mm, va, va + size, + error =walk_kernel_page_table_range (va, va + size, &set_nocache_walk_ops,NULL ,NULL );mmap_write_unlock (&init_mm);
@@ -90,7 +90,7 @@ void arch_dma_clear_uncached(void *cpu_addr, size_t size)mmap_write_lock (&init_mm);/* walk_page_range shouldn't be able to fail here */ -WARN_ON (walk_page_range_novma (&init_mm, va, va + size, +WARN_ON (walk_kernel_page_table_range (va, va + size, &clear_nocache_walk_ops,NULL ,NULL ));mmap_write_unlock (&init_mm); }
arch/openrisc/kernel/signal.c +3 -2
@@ -74,6 +74,7 @@ static long save_fp_state(struct sigcontext __user *sc)static int restore_sigcontext (struct pt_regs *regs,struct sigcontext __user *sc) { +unsigned long old_sr = regs->sr;int err =0 ;/* Always make any pending restarted system calls return -EINTR */
@@ -89,8 +90,8 @@ static int restore_sigcontext(struct pt_regs *regs, err |=__copy_from_user (®s->sr, &sc->regs.sr,sizeof (unsigned long )); err |=restore_fp_state (sc); -/* make sure the SM-bit is cleared so user-mode cannot fool us */ - regs->sr &= ~SPR_SR_SM ; +/* keep the privileged SR bits kernel owned, restore only user flags */ + regs->sr = (old_sr & ~SPR_SR_USER_MASK ) | (regs->sr &SPR_SR_USER_MASK ); regs->orig_gpr11 =-1 ;/* Avoid syscall restart checks */
arch/powerpc/platforms/pseries/lparcfg.c +1 -1
@@ -687,7 +687,7 @@ static ssize_t lparcfg_write(struct file *file, const char __user * buf,if (!firmware_has_feature (FW_FEATURE_SPLPAR ))return -EINVAL ; -if (count >sizeof (kbuf)) +if (count ==0 || count >sizeof (kbuf))return -EINVAL ;if (copy_from_user (kbuf, buf, count))
arch/powerpc/platforms/pseries/pci.c +1 -1
@@ -132,7 +132,7 @@ static int pseries_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs)/* First integer stores max config */ max_config_vfs =of_read_number (&max_vfs[0 ],1 ); -if (max_config_vfs < num_vfs && num_vfs >MAX_VFS_FOR_MAP_PE ) { +if (max_config_vfs < num_vfs || num_vfs >MAX_VFS_FOR_MAP_PE ) { dev_err(&pdev->dev, "Num VFs %x > %x Configurable VFs\n", num_vfs, (num_vfs > MAX_VFS_FOR_MAP_PE) ?
arch/riscv/mm/pageattr.c +4 -4
@@ -299,7 +299,7 @@ static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask,if (ret) goto unlock; - ret =walk_page_range_novma (&init_mm, lm_start, lm_end, + ret =walk_kernel_page_table_range (lm_start, lm_end, &pageattr_ops,NULL , &masks);if (ret) goto unlock;
@@ -317,13 +317,13 @@ static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask,if (ret) goto unlock; - ret =walk_page_range_novma (&init_mm, lm_start, lm_end, + ret =walk_kernel_page_table_range (lm_start, lm_end, &pageattr_ops,NULL , &masks);if (ret) goto unlock; } - ret =walk_page_range_novma (&init_mm, start, end, &pageattr_ops,NULL , + ret =walk_kernel_page_table_range (start, end, &pageattr_ops,NULL , &masks); unlock:
@@ -335,7 +335,7 @@ static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask,*/ flush_tlb_all ();#else - ret =walk_page_range_novma (&init_mm, start, end, &pageattr_ops,NULL , + ret =walk_kernel_page_table_range (start, end, &pageattr_ops,NULL , &masks);mmap_write_unlock (&init_mm);
arch/x86/kernel/cpu/mce/amd.c +4 -0
@@ -674,6 +674,10 @@ void mce_amd_feature_init(struct cpuinfo_x86 *c)u32 low =0 , high =0 , address =0 ;int offset =-1 ; + mce_flags.overflow_recov =cpu_feature_enabled (X86_FEATURE_OVERFLOW_RECOV ); + mce_flags.succor =cpu_feature_enabled (X86_FEATURE_SUCCOR ); + mce_flags.smca =cpu_feature_enabled (X86_FEATURE_SMCA ); + mce_flags.amd_threshold =1 ;for (bank =0 ; bank <this_cpu_read (mce_num_banks); ++bank) {if (mce_flags.smca)
arch/x86/kernel/cpu/mce/core.c +4 -17
@@ -1836,8 +1836,6 @@ static void __mcheck_cpu_init_generic(void)bitmap_fill (all_banks,MAX_NR_BANKS );machine_check_poll (MCP_UC |MCP_QUEUE_LOG | m_fl, &all_banks); -cr4_set_bits (X86_CR4_MCE ); -rdmsrl (MSR_IA32_MCG_CAP , cap);if (cap &MCG_CTL_P )wrmsr (MSR_IA32_MCG_CTL ,0xffffffff ,0xffffffff );
@@ -2011,19 +2009,6 @@ static int __mcheck_cpu_ancient_init(struct cpuinfo_x86 *c)return 0 ; } -/* -* Init basic CPU features needed for early decoding of MCEs. -*/ -static void __mcheck_cpu_init_early (struct cpuinfo_x86 *c) -{ -if (c->x86_vendor ==X86_VENDOR_AMD || c->x86_vendor ==X86_VENDOR_HYGON ) { - mce_flags.overflow_recov = !!cpu_has (c,X86_FEATURE_OVERFLOW_RECOV ); - mce_flags.succor = !!cpu_has (c,X86_FEATURE_SUCCOR ); - mce_flags.smca = !!cpu_has (c,X86_FEATURE_SMCA ); - mce_flags.amd_threshold =1 ; - } -} -static void mce_centaur_feature_init (struct cpuinfo_x86 *c) {struct mca_config *cfg = &mca_cfg;
@@ -2266,12 +2251,12 @@ void mcheck_cpu_init(struct cpuinfo_x86 *c) mca_cfg.initialized =1 ; -__mcheck_cpu_init_early (c); +__mcheck_cpu_setup_timer ();__mcheck_cpu_init_generic ();__mcheck_cpu_init_vendor (c);__mcheck_cpu_init_clear_banks ();__mcheck_cpu_check_banks (); -__mcheck_cpu_setup_timer (); +cr4_set_bits (X86_CR4_MCE ); }/*
@@ -2439,6 +2424,7 @@ static void mce_syscore_resume(void)__mcheck_cpu_init_generic ();__mcheck_cpu_init_vendor (raw_cpu_ptr (&cpu_info));__mcheck_cpu_init_clear_banks (); +cr4_set_bits (X86_CR4_MCE ); }static struct syscore_ops mce_syscore_ops = {
@@ -2458,6 +2444,7 @@ static void mce_cpu_restart(void *data)__mcheck_cpu_init_generic ();__mcheck_cpu_init_clear_banks ();__mcheck_cpu_init_timer (); +cr4_set_bits (X86_CR4_MCE ); }/* Reinit MCEs after user configuration changes */
arch/x86/kvm/svm/sev.c +37 -12
104 lines not on this page · raw message
arch/x86/kvm/svm/svm.h +1 -0
@@ -103,6 +103,7 @@ struct kvm_sev_info {u64 ap_jump_table;/* SEV-ES AP Jump Table address */ u64 vmsa_features;u16 ghcb_version;/* Highest guest GHCB protocol version allowed */ +/* The three fields below are protected by sev_mirror_lock */ struct kvm *enc_context_owner;/* Owner of copied encryption context */ struct list_head mirror_vms;/* List of VMs mirroring */ struct list_head mirror_entry;/* Use as a list entry of mirrors */
arch/x86/kvm/x86.c +13 -0
@@ -12982,6 +12982,19 @@ EXPORT_SYMBOL_GPL(__x86_set_memory_region);void kvm_arch_pre_destroy_vm (struct kvm *kvm) { +/* +* Cancel (and flush) the I/O APIC's delayed EOI handling before vCPUs +* are destroyed, as processing the EOI broadcast will inject another +* IRQ if the line is asserted, i.e. will try to deliver an IRQ to the +* target vCPU(s). +* +* Do NOT free the in-kernel PIC or I/O APIC here (but do make sure to +* flush any background work), as KVM expects interrupt routing +* structures to be valid until vCPUs are destroyed. +*/ +if (kvm->arch.vioapic) +cancel_delayed_work_sync (&kvm->arch.vioapic->eoi_inject); +kvm_mmu_pre_destroy_vm (kvm); }
block/genhd.c +8 -4
@@ -1192,14 +1192,18 @@ static void disk_release(struct device *dev)/* * To undo the all initialization from blk_mq_init_allocated_queue in * case of a probe failure where add_disk is never called we have to -* call blk_mq_exit_queue here. We can't do this for the more common -* teardown case (yet) as the tagset can be gone by the time the disk -* is released once it was added. +* call blk_mq_exit_queue here, after stopping the timer and work items +* that I/O issued before add_disk may have left pending. We can't do +* this for the more common teardown case (yet) as the tagset can be +* gone by the time the disk is released once it was added. */ if (queue_is_mq (disk->queue) &&test_bit (GD_OWNS_QUEUE , &disk->state) && - !test_bit (GD_ADDED , &disk->state)) + !test_bit (GD_ADDED , &disk->state)) { +blk_sync_queue (disk->queue); +blk_mq_cancel_work_sync (disk->queue);blk_mq_exit_queue (disk->queue); + }blkcg_exit_disk (disk);
crypto/ccm.c +1 -1
@@ -751,7 +751,7 @@ static int crypto_rfc4309_create(struct crypto_template *tmpl, inst->alg.ivsize =8 ; inst->alg.chunksize =crypto_aead_alg_chunksize (alg); - inst->alg.maxauthsize =16 ; + inst->alg.maxauthsize =crypto_aead_alg_maxauthsize (alg); inst->alg.base.cra_ctxsize =sizeof (struct crypto_rfc4309_ctx );
drivers/ata/libata-eh.c +6 -23
@@ -650,29 +650,12 @@ void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap,set_host_byte (scmd,DID_OK );ata_qc_for_each_raw (ap, qc, i) { -if (qc->scsicmd != scmd) -continue ; -if ((qc->flags &ATA_QCFLAG_ACTIVE ) || - qc == qc->dev->link->deferred_qc) +if (qc->scsicmd == scmd && + qc->flags &ATA_QCFLAG_ACTIVE )break ; } -if (i <ATA_MAX_QUEUE && qc == qc->dev->link->deferred_qc) { -/* -* This is a deferred command that timed out while -* waiting for the command queue to drain. Since the qc -* is not active yet (deferred_qc is still set, so the -* deferred qc work has not issued the command yet), -* simply signal the timeout by finishing the SCSI -* command and clear the deferred qc to prevent the -* deferred qc work from issuing this qc. -*/ -WARN_ON_ONCE (qc->flags &ATA_QCFLAG_ACTIVE ); - qc->dev->link->deferred_qc =NULL ; -cancel_work (&qc->dev->link->deferred_qc_work); -set_host_byte (scmd,DID_TIME_OUT ); -scsi_eh_finish_cmd (scmd, &ap->eh_done_q); - }else if (i <ATA_MAX_QUEUE ) { +if (i <ATA_MAX_QUEUE ) {/* the scmd has an associated qc */ if (!(qc->flags &ATA_QCFLAG_EH )) {/* which hasn't failed yet, timeout */
@@ -946,10 +929,10 @@ static void ata_eh_set_pending(struct ata_port *ap, int fastdrain) ap->pflags |=ATA_PFLAG_EH_PENDING ;/* -* If we have a deferred qc, requeue it so that it is retried once EH -* completes. +* If we have deferred QCs, requeue them so that the SCSI EH task can +* run. */ -ata_scsi_requeue_deferred_qc (ap); +ata_scsi_requeue_deferred_qc (ap,NULL );if (!fastdrain)return ;
drivers/ata/libata-scsi.c +101 -16
151 lines not on this page · raw message
drivers/ata/libata.h +2 -1
@@ -176,7 +176,8 @@ int ata_scsi_dev_config(struct scsi_device *sdev, struct queue_limits *lim, struct ata_device *dev);int __ata_scsi_queuecmd (struct scsi_cmnd *scmd,struct ata_device *dev);void ata_scsi_deferred_qc_work (struct work_struct *work); -void ata_scsi_requeue_deferred_qc (struct ata_port *ap); +enum scsi_timeout_action ata_scsi_requeue_deferred_qc (struct ata_port *ap, +struct scsi_cmnd *scmd);/* libata-eh.c */ extern unsigned int ata_internal_cmd_timeout (struct ata_device *dev,u8 cmd);
drivers/crypto/ccp/sp-dev.c +14 -0
@@ -19,6 +19,7 @@#include <linux/types.h> #include <linux/ccp.h> +#include "sev-dev.h" #include "ccp-dev.h" #include "sp-dev.h"
@@ -265,8 +266,12 @@ struct sp_device *sp_get_psp_master_device(void)static int __init sp_mod_init (void ) {#ifdef CONFIG_X86 +static bool initialized;int ret; +if (initialized) +return 0 ; + ret =sp_pci_init ();if (ret)return ret;
@@ -275,6 +280,8 @@ static int __init sp_mod_init(void)psp_pci_init ();#endif + initialized = true; +return 0 ;#endif
@@ -291,6 +298,13 @@ static int __init sp_mod_init(void)return -ENODEV ; } +#if IS_BUILTIN (CONFIG_KVM_AMD ) &&IS_ENABLED (CONFIG_KVM_AMD_SEV ) +int __init sev_module_init (void ) +{ +return sp_mod_init (); +} +#endif + static void __exit sp_mod_exit(void) {#ifdef CONFIG_X86
drivers/crypto/qce/core.c +1 -1
@@ -58,7 +58,7 @@ static int qce_register_algs(struct qce_device *qce) ret = ops->register_algs (qce);if (ret) {for (j = i -1 ; j >=0 ; j--) - ops->unregister_algs (qce); + qce_ops[j]->unregister_algs (qce);return ret; } }
drivers/crypto/starfive/jh7110-aes.c +1 -1
@@ -681,7 +681,7 @@ static int starfive_aes_aead_do_one_req(struct crypto_engine *engine, void *areqif (cryp->total_in)sg_zero_buffer (rctx->in_sg,sg_nents (rctx->in_sg), -sg_dma_len (rctx->in_sg) - cryp->total_in, + rctx->in_sg->length - cryp->total_in, cryp->total_in); ctx->rctx = rctx;
drivers/crypto/tegra/tegra-se-aes.c +3 -19
@@ -45,7 +45,6 @@ struct tegra_aes_reqctx {struct tegra_aead_ctx {struct tegra_se *se; -unsigned int authsize;u32 alg;u32 key_id;u32 keylen;
@@ -1290,7 +1289,7 @@ static int tegra_gcm_do_one_req(struct crypto_engine *engine, void *areq)if (rctx->encrypt) rctx->cryptlen = req->cryptlen;else - rctx->cryptlen = req->cryptlen - ctx->authsize; + rctx->cryptlen = req->cryptlen - rctx->authsize;memcpy (rctx->iv, req->iv,GCM_AES_IV_SIZE ); rctx->iv[3 ] = (1 <<24 );
@@ -1394,8 +1393,6 @@ static int tegra_aead_cra_init(struct crypto_aead *tfm)static int tegra_ccm_setauthsize (struct crypto_aead *tfm,unsigned int authsize) { -struct tegra_aead_ctx *ctx =crypto_aead_ctx (tfm); -switch (authsize) {case 4 :case 6 :
@@ -1404,28 +1401,15 @@ static int tegra_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsizecase 12 :case 14 :case 16 : -break ; +return 0 ;default :return -EINVAL ; } - - ctx->authsize = authsize; - -return 0 ; }static int tegra_gcm_setauthsize (struct crypto_aead *tfm,unsigned int authsize) { -struct tegra_aead_ctx *ctx =crypto_aead_ctx (tfm); -int ret; - - ret =crypto_gcm_check_authsize (authsize); -if (ret) -return ret; - - ctx->authsize = authsize; - -return 0 ; +return crypto_gcm_check_authsize (authsize); }static void tegra_aead_cra_exit (struct crypto_aead *tfm)
drivers/gpio/gpio-sloppy-logic-analyzer.c +1 -1
@@ -301,7 +301,7 @@ static int gpio_la_poll_probe(struct platform_device *pdev)debugfs_create_ulong ("delay_ns_acquisition" ,0400 , priv->debug_dir, &priv->acq_delay);debugfs_create_file_unsafe ("buf_size" ,0600 , priv->debug_dir, priv, &fops_buf_size);debugfs_create_file_unsafe ("capture" ,0200 , priv->debug_dir, priv, &fops_capture); -debugfs_create_file_unsafe ("trigger" ,0200 , priv->debug_dir, priv, &fops_trigger); +debugfs_create_file ("trigger" ,0200 , priv->debug_dir, priv, &fops_trigger);return 0 ; }
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +47 -16
112 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +49 -1
68 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +1 -1
@@ -382,7 +382,7 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach)/* FIXME: This should be after the "if", but needs a fix to make sure * DMABuf imports are initialized in the right VM list. */ -amdgpu_vm_bo_invalidate (adev, bo, false); +amdgpu_vm_bo_invalidate (bo, false);if (!bo->tbo.resource || bo->tbo.resource->mem_type ==TTM_PL_SYSTEM )return ;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +22 -2
@@ -304,6 +304,25 @@ const struct drm_gem_object_funcs amdgpu_gem_object_funcs = { .vm_ops = &amdgpu_gem_vm_ops, }; +static bool amdgpu_gem_are_domains_valid (u32 domains) +{ +u32 normal =AMDGPU_GEM_DOMAIN_CPU | +AMDGPU_GEM_DOMAIN_GTT | +AMDGPU_GEM_DOMAIN_VRAM ; +/* Treat all non CPU/GTT/VRAM domains as special domains. */ +u32 special =AMDGPU_GEM_DOMAIN_MASK & ~normal; +u32 normal_mask = domains & normal; +u32 special_mask = domains & special; + +if (!special_mask) +return true; + +if (normal_mask) +return false; + +return !(special_mask & (special_mask -1 )); +} +/* * GEM ioctls. */
@@ -340,6 +359,8 @@ int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data,/* reject invalid gem domains */ if (args->in.domains & ~AMDGPU_GEM_DOMAIN_MASK )return -EINVAL ; +if (!amdgpu_gem_are_domains_valid (args->in.domains)) +return -EINVAL ;if (!amdgpu_is_tmz (adev) && (flags &AMDGPU_GEM_CREATE_ENCRYPTED )) {DRM_NOTE_ONCE ("Cannot allocate secure buffer since TMZ is disabled\n" );
@@ -840,7 +861,6 @@ int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,int amdgpu_gem_op_ioctl (struct drm_device *dev,void *data,struct drm_file *filp) { -struct amdgpu_device *adev =drm_to_adev (dev);struct drm_amdgpu_gem_op *args = data;struct drm_gem_object *gobj;struct amdgpu_vm_bo_base *base;
@@ -900,7 +920,7 @@ int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data, robj->allowed_domains |=AMDGPU_GEM_DOMAIN_GTT ;if (robj->flags &AMDGPU_GEM_CREATE_VM_ALWAYS_VALID ) -amdgpu_vm_bo_invalidate (adev, robj, true); +amdgpu_vm_bo_invalidate (robj, true);amdgpu_bo_unreserve (robj);break ;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +1 -2
@@ -1152,7 +1152,6 @@ void amdgpu_bo_move_notify(struct ttm_buffer_object *bo,bool evict, struct ttm_resource *new_mem) { - struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); struct ttm_resource *old_mem = bo->resource;struct amdgpu_bo *abo;
@@ -1160,7 +1159,7 @@ void amdgpu_bo_move_notify(struct ttm_buffer_object *bo,return ; abo =ttm_to_amdgpu_bo (bo); -amdgpu_vm_bo_invalidate (adev, abo, evict); +amdgpu_vm_bo_invalidate (abo, evict);amdgpu_bo_kunmap (abo);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +2 -8
@@ -2066,8 +2066,6 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)*/ void amdgpu_ttm_fini (struct amdgpu_device *adev) { -int idx; -if (!adev->mman.initialized)return ;
@@ -2090,13 +2088,9 @@ void amdgpu_ttm_fini(struct amdgpu_device *adev)amdgpu_ttm_fw_reserve_vram_fini (adev);amdgpu_ttm_drv_reserve_vram_fini (adev); -if (drm_dev_enter (adev_to_drm (adev), &idx)) { - -if (adev->mman.aper_base_kaddr) -iounmap (adev->mman.aper_base_kaddr); +if (adev->mman.aper_base_kaddr) { +iounmap (adev->mman.aper_base_kaddr); adev->mman.aper_base_kaddr =NULL ; - -drm_dev_exit (idx); }amdgpu_vram_mgr_fini (adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +18 -67
151 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -3
@@ -2139,14 +2139,12 @@ bool amdgpu_vm_evictable(struct amdgpu_bo *bo)/** * amdgpu_vm_bo_invalidate - mark the bo as invalid * -* @adev: amdgpu_device pointer * @bo: amdgpu buffer object * @evicted: is the BO evicted * * Mark @bo as invalid. */ -void amdgpu_vm_bo_invalidate (struct amdgpu_device *adev, -struct amdgpu_bo *bo,bool evicted) +void amdgpu_vm_bo_invalidate (struct amdgpu_bo *bo,bool evicted) {struct amdgpu_vm_bo_base *bo_base;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +1 -2
@@ -511,8 +511,7 @@ int amdgpu_vm_bo_update(struct amdgpu_device *adev,struct amdgpu_bo_va *bo_va, bool clear);bool amdgpu_vm_evictable (struct amdgpu_bo *bo); -void amdgpu_vm_bo_invalidate (struct amdgpu_device *adev, -struct amdgpu_bo *bo,bool evicted); +void amdgpu_vm_bo_invalidate (struct amdgpu_bo *bo,bool evicted);uint64_t amdgpu_vm_map_gart (const dma_addr_t *pages_addr,uint64_t addr);struct amdgpu_bo_va *amdgpu_vm_bo_find (struct amdgpu_vm *vm,struct amdgpu_bo *bo);
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +5 -0
@@ -1692,6 +1692,11 @@ static void gfx_v12_0_constants_init(struct amdgpu_device *adev)gfx_v12_0_get_tcc_info (adev); adev->gfx.config.pa_sc_tile_steering_override =0 ; +/* Set whether texture coordinate truncation is conformant. */ + tmp =RREG32_SOC15 (GC ,0 , regTA_CNTL2); + adev->gfx.config.ta_cntl2_truncate_coord_mode = +REG_GET_FIELD (tmp,TA_CNTL2 ,TRUNCATE_COORD_MODE ); +/* XXX SH_MEM regs */ /* where to put LDS, scratch, GPUVM in FSA64 space */ mutex_lock (&adev->srbm_mutex);
drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c +17 -25
79 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +22 -4
@@ -871,6 +871,23 @@ static void vce_v3_0_ring_emit_ib(struct amdgpu_ring *ring,amdgpu_ring_write (ring, ib->length_dw); } +static void vce_v3_0_ring_emit_fence (struct amdgpu_ring *ring,u64 addr, +u64 seq,unsigned flags) +{ +WARN_ON (flags &AMDGPU_FENCE_FLAG_64BIT ); + +amdgpu_ring_write (ring,VCE_CMD_FENCE ); +amdgpu_ring_write (ring, addr); +amdgpu_ring_write (ring,upper_32_bits (addr)); +amdgpu_ring_write (ring, seq); +amdgpu_ring_write (ring,VCE_CMD_TRAP ); +} + +static void vce_v3_0_ring_insert_end (struct amdgpu_ring *ring) +{ +amdgpu_ring_write (ring,VCE_CMD_END ); +} +static void vce_v3_0_emit_vm_flush (struct amdgpu_ring *ring,unsigned int vmid,uint64_t pd_addr) {
@@ -880,7 +897,6 @@ static void vce_v3_0_emit_vm_flush(struct amdgpu_ring *ring,amdgpu_ring_write (ring,VCE_CMD_FLUSH_TLB );amdgpu_ring_write (ring, vmid); -amdgpu_ring_write (ring,VCE_CMD_END ); }static void vce_v3_0_emit_pipeline_sync (struct amdgpu_ring *ring)
@@ -952,17 +968,19 @@ static const struct amdgpu_ring_funcs vce_v3_0_ring_vm_funcs = { .set_wptr = vce_v3_0_ring_set_wptr, .patch_cs_in_place = amdgpu_vce_ring_parse_cs_vm, .emit_frame_size = -6 +/* vce_v3_0_emit_vm_flush */ +5 +/* vce_v3_0_emit_vm_flush */ 4 +/* vce_v3_0_emit_pipeline_sync */ - 6 + 6, /* amdgpu_vce_ring_emit_fence x2 vm fence */ +5 +5 +/* vce_v3_0_ring_emit_fence x2 vm fence */ + 1, /* vce_v3_0_ring_insert_end */ .emit_ib_size = 5, /* vce_v3_0_ring_emit_ib */ .emit_ib = vce_v3_0_ring_emit_ib, .emit_vm_flush = vce_v3_0_emit_vm_flush, .emit_pipeline_sync = vce_v3_0_emit_pipeline_sync, - .emit_fence = amdgpu_vce_ring_emit_fence, + .emit_fence = vce_v3_0_ring_emit_fence, .test_ring = amdgpu_vce_ring_test_ring, .test_ib = amdgpu_vce_ring_test_ib, .insert_nop = amdgpu_ring_insert_nop, + .insert_end = vce_v3_0_ring_insert_end, .pad_ib = amdgpu_ring_generic_pad_ib, .begin_use = amdgpu_vce_ring_begin_use, .end_use = amdgpu_vce_ring_end_use,
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c +20 -11
@@ -50,7 +50,8 @@ enum dc_color_space_type {COLOR_SPACE_RGB_LIMITED_TYPE ,COLOR_SPACE_YCBCR601_TYPE ,COLOR_SPACE_YCBCR709_TYPE , -COLOR_SPACE_YCBCR2020_TYPE , +COLOR_SPACE_YCBCR2020_LIMITED_TYPE , +COLOR_SPACE_YCBCR2020_FULL_TYPE ,COLOR_SPACE_YCBCR601_LIMITED_TYPE ,COLOR_SPACE_YCBCR709_LIMITED_TYPE , COLOR_SPACE_YCBCR709_BLACK_TYPE,
@@ -102,9 +103,15 @@ static const struct out_csc_color_matrix_type output_csc_matrix[] = { {0xE00 ,0xF349 ,0xFEB7 ,0x1000 ,0x6CE ,0x16E3 ,0x24F ,0x200 , 0xFCCB, 0xF535, 0xE00, 0x1000} }, - { COLOR_SPACE_YCBCR2020_TYPE, +/* Corrected. Not included in the TODO above. */ + { COLOR_SPACE_YCBCR2020_LIMITED_TYPE, + { 0x0E04, 0xF31D, 0xFEDF, 0x1004, +0x0733 ,0x1294 ,0x01A0 ,0x0201 , + 0xFC16, 0xF5E6, 0x0E04, 0x1004} }, +/* Corrected. Not included in the TODO above. */ + { COLOR_SPACE_YCBCR2020_FULL_TYPE, { 0x1000, 0xF149, 0xFEB7, 0x1004, -0x0868 ,0x15B2 ,0x01E6 ,0x201 , +0x0868 ,0x15B2 ,0x01E6 ,0 , 0xFB88, 0xF478, 0x1000, 0x1004} }, { COLOR_SPACE_YCBCR709_BLACK_TYPE, { 0x0000, 0x0000, 0x0000, 0x1000,
@@ -171,14 +178,14 @@ static bool is_ycbcr709_type(return ret; } -static bool is_ycbcr2020_type ( -enum dc_color_space color_space) +static bool is_ycbcr2020_limited_type (enum dc_color_space color_space) { -bool ret = false; +return color_space ==COLOR_SPACE_2020_YCBCR_LIMITED ; +} -if (color_space ==COLOR_SPACE_2020_YCBCR_LIMITED || color_space ==COLOR_SPACE_2020_YCBCR_FULL ) - ret = true; -return ret; +static bool is_ycbcr2020_full_type (enum dc_color_space color_space) +{ +return color_space ==COLOR_SPACE_2020_YCBCR_FULL ; } static bool is_ycbcr709_limited_type(
@@ -207,8 +214,10 @@ static enum dc_color_space_type get_color_space_type(enum dc_color_space color_s type =COLOR_SPACE_YCBCR601_LIMITED_TYPE ; else if (is_ycbcr709_limited_type(color_space)) type =COLOR_SPACE_YCBCR709_LIMITED_TYPE ; - else if (is_ycbcr2020_type(color_space)) - type =COLOR_SPACE_YCBCR2020_TYPE ; + else if (is_ycbcr2020_limited_type(color_space)) + type =COLOR_SPACE_YCBCR2020_LIMITED_TYPE ; + else if (is_ycbcr2020_full_type(color_space)) + type =COLOR_SPACE_YCBCR2020_FULL_TYPE ; else if (color_space == COLOR_SPACE_YCBCR709) type =COLOR_SPACE_YCBCR709_BLACK_TYPE ; else if (color_space == COLOR_SPACE_YCBCR709_BLACK)
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c +4 -3
@@ -115,10 +115,11 @@ static const struct out_csc_color_matrix global_color_matrix[] = { { 0x2000, 0, 0, 0, 0, 0x2000, 0, 0, 0, 0, 0x2000, 0} }, { COLOR_SPACE_2020_RGB_LIMITEDRANGE, { 0x1B67, 0, 0, 0x201, 0, 0x1B67, 0, 0x201, 0, 0, 0x1B67, 0x201} }, -{ COLOR_SPACE_2020_YCBCR_LIMITED, { 0x1000, 0xF149, 0xFEB7, 0x1004, 0x0868, - 0x15B2, 0x01E6, 0x201, 0xFB88, 0xF478, 0x1000, 0x1004} }, +/* COLOR_SPACE_2020_YCBCR_* values corrected. Not included in the TODO above. */ +{ COLOR_SPACE_2020_YCBCR_LIMITED, { 0x0E04, 0xF31D, 0xFEDF, 0x1004, 0x0733, + 0x1294, 0x01A0, 0x201, 0xFC16, 0xF5E6, 0x0E04, 0x1004} }, { COLOR_SPACE_2020_YCBCR_FULL, { 0x1000, 0xF149, 0xFEB7, 0x1004, 0x0868, 0x15B2, - 0x01E6, 0x201, 0xFB88, 0xF478, 0x1000, 0x1004} } + 0x01E6, 0, 0xFB88, 0xF478, 0x1000, 0x1004} } }; static bool setup_scaling_configuration(
drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_csc_v.c +4 -3
@@ -93,10 +93,11 @@ static const struct out_csc_color_matrix global_color_matrix[] = { { 0x2000, 0, 0, 0, 0, 0x2000, 0, 0, 0, 0, 0x2000, 0} }, { COLOR_SPACE_2020_RGB_LIMITEDRANGE, { 0x1B67, 0, 0, 0x201, 0, 0x1B67, 0, 0x201, 0, 0, 0x1B67, 0x201} }, -{ COLOR_SPACE_2020_YCBCR_LIMITED, { 0x1000, 0xF149, 0xFEB7, 0x1004, 0x0868, - 0x15B2, 0x01E6, 0x201, 0xFB88, 0xF478, 0x1000, 0x1004} }, +/* COLOR_SPACE_2020_YCBCR_* values corrected. Not included in the TODO above. */ +{ COLOR_SPACE_2020_YCBCR_LIMITED, { 0x0E04, 0xF31D, 0xFEDF, 0x1004, 0x0733, + 0x1294, 0x01A0, 0x201, 0xFC16, 0xF5E6, 0x0E04, 0x1004} }, { COLOR_SPACE_2020_YCBCR_FULL, { 0x1000, 0xF149, 0xFEB7, 0x1004, 0x0868, 0x15B2, - 0x01E6, 0x201, 0xFB88, 0xF478, 0x1000, 0x1004} } + 0x01E6, 0, 0xFB88, 0xF478, 0x1000, 0x1004} } }; enum csc_color_mode {
drivers/gpu/drm/amd/pm/amdgpu_dpm.c +28 -8
@@ -1059,17 +1059,28 @@ int amdgpu_dpm_dispatch_task(struct amdgpu_device *adev,return ret; } -int amdgpu_dpm_get_pp_table (struct amdgpu_device *adev,char **table) +int amdgpu_dpm_get_pp_table (struct amdgpu_device *adev,char *table, +size_t size) {const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; +char *pptable =NULL ;int ret =0 ; -if (!pp_funcs->get_pp_table) -return 0 ; +if ((!table && size) || (table && !size)) +return -EINVAL ; + +if (amdgpu_sriov_vf (adev) || !pp_funcs->get_pp_table || adev->scpm_enabled) +return -EOPNOTSUPP ;mutex_lock (&adev->pm.mutex); ret = pp_funcs->get_pp_table (adev->powerplay.pp_handle, - table); + &pptable); +if (ret >0 && !pptable) { + ret = -EINVAL ; + }else if (ret >0 && table) { + ret =min_t (size_t, ret, size); +memcpy (table, pptable, ret); + }mutex_unlock (&adev->pm.mutex);return ret;
@@ -1318,17 +1329,23 @@ int amdgpu_dpm_set_power_profile_mode(struct amdgpu_device *adev,return ret; } -int amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void **table) +ssize_t amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void *buf, +size_t size) {const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; -int ret =0 ; +void *table; +ssize_t ret;if (!pp_funcs->get_gpu_metrics)return 0 ;mutex_lock (&adev->pm.mutex); ret = pp_funcs->get_gpu_metrics (adev->powerplay.pp_handle, - table); + &table); +if (ret >0 ) { + ret =min_t (ssize_t, ret, size); +memcpy (buf, table, ret); + }mutex_unlock (&adev->pm.mutex);return ret;
@@ -1569,7 +1586,10 @@ int amdgpu_dpm_set_pp_table(struct amdgpu_device *adev,const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;int ret =0 ; -if (!pp_funcs->set_pp_table) +if (!buf || !size) +return -EINVAL ; + +if (amdgpu_sriov_vf (adev) || !pp_funcs->set_pp_table || adev->scpm_enabled)return -EOPNOTSUPP ;mutex_lock (&adev->pm.mutex);
drivers/gpu/drm/amd/pm/amdgpu_pm.c +11 -15
@@ -538,7 +538,6 @@ static ssize_t amdgpu_get_pp_table(struct device *dev, {struct drm_device *ddev =dev_get_drvdata (dev);struct amdgpu_device *adev =drm_to_adev (ddev); -char *table =NULL ;int size, ret;if (amdgpu_in_reset (adev))
@@ -552,7 +551,7 @@ static ssize_t amdgpu_get_pp_table(struct device *dev,return ret; } - size =amdgpu_dpm_get_pp_table (adev, &table); + size =amdgpu_dpm_get_pp_table (adev, buf,PAGE_SIZE -1 );pm_runtime_mark_last_busy (ddev->dev);pm_runtime_put_autosuspend (ddev->dev);
@@ -560,11 +559,6 @@ static ssize_t amdgpu_get_pp_table(struct device *dev,if (size <=0 )return size; -if (size >=PAGE_SIZE ) - size =PAGE_SIZE -1 ; - -memcpy (buf, table, size); -return size; }
@@ -1889,7 +1883,6 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev, {struct drm_device *ddev =dev_get_drvdata (dev);struct amdgpu_device *adev =drm_to_adev (ddev); -void *gpu_metrics;ssize_t size =0 ;int ret;
@@ -1904,15 +1897,10 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,return ret; } - size =amdgpu_dpm_get_gpu_metrics (adev, &gpu_metrics); + size =amdgpu_dpm_get_gpu_metrics (adev, buf,PAGE_SIZE -1 );if (size <=0 ) goto out; -if (size >=PAGE_SIZE ) - size =PAGE_SIZE -1 ; - -memcpy (buf, gpu_metrics, size); - out:pm_runtime_mark_last_busy (ddev->dev);pm_runtime_put_autosuspend (ddev->dev);
@@ -2408,7 +2396,7 @@ static struct amdgpu_device_attr amdgpu_device_attrs[] = {AMDGPU_DEVICE_ATTR_RO (pp_num_states,ATTR_FLAG_BASIC |ATTR_FLAG_ONEVF ),AMDGPU_DEVICE_ATTR_RO (pp_cur_state,ATTR_FLAG_BASIC |ATTR_FLAG_ONEVF ),AMDGPU_DEVICE_ATTR_RW (pp_force_state,ATTR_FLAG_BASIC |ATTR_FLAG_ONEVF ), -AMDGPU_DEVICE_ATTR_RW (pp_table,ATTR_FLAG_BASIC |ATTR_FLAG_ONEVF ), +AMDGPU_DEVICE_ATTR_RW (pp_table,ATTR_FLAG_BASIC ),AMDGPU_DEVICE_ATTR_RW (pp_dpm_sclk,ATTR_FLAG_BASIC |ATTR_FLAG_ONEVF , .attr_update = pp_dpm_clk_default_attr_update), AMDGPU_DEVICE_ATTR_RW(pp_dpm_mclk, ATTR_FLAG_BASIC|ATTR_FLAG_ONEVF,
@@ -2535,6 +2523,14 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_if (amdgpu_dpm_get_apu_thermal_limit (adev, &limit) == -EOPNOTSUPP ) *states =ATTR_STATE_UNSUPPORTED ; + }else if (DEVICE_ATTR_IS (pp_table)) { +int ret; + + ret =amdgpu_dpm_get_pp_table (adev,NULL ,0 ); +if (ret <=0 ) + *states =ATTR_STATE_UNSUPPORTED ; +else + *states =ATTR_STATE_SUPPORTED ; }switch (gc_ver) {
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +4 -2
@@ -483,7 +483,8 @@ int amdgpu_dpm_get_pp_num_states(struct amdgpu_device *adev,int amdgpu_dpm_dispatch_task (struct amdgpu_device *adev,enum amd_pp_task task_id,enum amd_pm_state_type *user_state); -int amdgpu_dpm_get_pp_table (struct amdgpu_device *adev,char **table); +int amdgpu_dpm_get_pp_table (struct amdgpu_device *adev,char *table, +size_t size); int amdgpu_dpm_set_fine_grain_clk_vol(struct amdgpu_device *adev, uint32_t type, long *input,
@@ -513,7 +514,8 @@ int amdgpu_dpm_get_power_profile_mode(struct amdgpu_device *adev, char *buf);int amdgpu_dpm_set_power_profile_mode (struct amdgpu_device *adev,long *input,uint32_t size); -int amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void **table); +ssize_t amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void *buf, +size_t size);/** * @get_pm_metrics: Get one snapshot of power management metrics from PMFW. The
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c +4 -1
@@ -650,9 +650,12 @@ static int pp_dpm_get_pp_table(void *handle, char **table) {struct pp_hwmgr *hwmgr = handle; -if (!hwmgr || !hwmgr->pm_en || !hwmgr->soft_pp_table) +if (!hwmgr || !hwmgr->pm_en || !table)return -EINVAL ; +if (!hwmgr->soft_pp_table) +return -EOPNOTSUPP ; + *table = (char *)hwmgr->soft_pp_table;return hwmgr->soft_pp_table_size; }
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +1 -1
@@ -580,7 +580,7 @@ static int smu_sys_get_pp_table(void *handle,return -EOPNOTSUPP ;if (!smu_table->power_play_table && !smu_table->hardcode_pptable) -return -EINVAL ; +return -EOPNOTSUPP ;if (smu_table->hardcode_pptable) *table = smu_table->hardcode_pptable;
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +55 -47
258 lines not on this page · raw message
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c +0 -58
64 lines not on this page · raw message
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h +12 -2
@@ -40,6 +40,18 @@#define SMU_IH_INTERRUPT_CONTEXT_ID_FAN_ABNORMAL 0x8#define SMU_IH_INTERRUPT_CONTEXT_ID_FAN_RECOVERY 0x9 +#define smu_cmn_init_soft_gpu_metrics (ptr, frev, crev) \ + do { \ + typecheck(struct gpu_metrics_v##frev##_##crev, \ + typeof(*(ptr))); \ + struct metrics_table_header *header = \ + (struct metrics_table_header *)(ptr); \ + memset(header, 0xFF, sizeof(*(ptr))); \ + header->format_revision = frev; \ + header->content_revision = crev; \ + header->structure_size = sizeof(*(ptr)); \ + } while (0) +extern const int link_speed[];/* Helper to Convert from PCIE Gen 1/2/3/4/5/6 to 0.1 GT/s speed units */
@@ -125,8 +137,6 @@ int smu_cmn_get_metrics_table(struct smu_context *smu,int smu_cmn_get_combo_pptable (struct smu_context *smu); -void smu_cmn_init_soft_gpu_metrics (void *table,uint8_t frev,uint8_t crev); -int smu_cmn_set_mp1_state (struct smu_context *smu,enum pp_mp1_state mp1_state);
drivers/gpu/drm/display/drm_hdmi_state_helper.c +2 -1
@@ -710,7 +710,8 @@ drm_atomic_helper_connector_hdmi_update_audio_infoframe(struct drm_connector *comutex_lock (&connector->hdmi.infoframes.lock); -memcpy (&infoframe->data, frame,sizeof (infoframe->data)); +BUILD_BUG_ON (sizeof (*frame) >sizeof (infoframe->data)); +memcpy (&infoframe->data, frame,sizeof (*frame)); infoframe->set = true; ret =write_infoframe (connector, infoframe);
drivers/gpu/drm/panthor/panthor_fw.c +3 -0
@@ -549,6 +549,9 @@ static int panthor_fw_load_section_entry(struct panthor_device *ptdev,return -EINVAL ; } +if (!section_size) +return 0 ; + name_len = iter->size - iter->offset; section =drmm_kzalloc (&ptdev->base,sizeof (*section),GFP_KERNEL );
drivers/gpu/drm/radeon/radeon_kms.c +1 -0
@@ -71,6 +71,7 @@ void radeon_driver_unload_kms(struct drm_device *dev)if (radeon_is_px (dev)) {pm_runtime_get_sync (dev->dev);pm_runtime_forbid (dev->dev); +pm_runtime_dont_use_autosuspend (dev->dev); }radeon_acpi_fini (rdev);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +9 -1
@@ -658,9 +658,14 @@ void vmw_fence_fifo_down(struct vmw_fence_manager *fman) ret =vmw_fence_obj_wait (fence, false, false,VMW_FENCE_WAIT_TIMEOUT ); +spin_lock (&fman->lock);if (unlikely (ret !=0 )) { +bool cookie =dma_fence_begin_signalling (); +list_del_init (&fence->head); -dma_fence_signal (&fence->base); +dma_fence_signal_locked (&fence->base); +dma_fence_end_signalling (cookie); +INIT_LIST_HEAD (&action_list);list_splice_init (&fence->seq_passed_actions, &action_list);
@@ -668,7 +673,10 @@ void vmw_fence_fifo_down(struct vmw_fence_manager *fman) }BUG_ON (!list_empty (&fence->head)); +spin_unlock (&fman->lock); +dma_fence_put (&fence->base); +spin_lock (&fman->lock); }spin_unlock (&fman->lock);
drivers/gpu/drm/xe/xe_lrc.c +7 -0
@@ -1139,6 +1139,13 @@ void xe_lrc_write_ring(struct xe_lrc *lrc, const void *data, size_t size)__xe_lrc_write_ring (lrc, ring, &noop,sizeof (noop)); } + +/* +* The ring and the LRC context image are both WC, so the ring tail +* update which publishes these writes can become visible to the device +* first. Ensure the ring contents are visible before returning. +*/ +xe_device_wmb (xe); }u64 xe_lrc_descriptor (struct xe_lrc *lrc)
drivers/gpu/drm/xe/xe_oa.c +4 -0
@@ -1483,6 +1483,10 @@ static long xe_oa_config_locked(struct xe_oa_stream *stream, u64 arg) config =xchg (&stream->oa_config, config);drm_dbg (&stream->oa->xe->drm,"changed to oa config uuid=%s\n" , stream->oa_config->uuid); + }else { +while (param.num_syncs--) +xe_sync_entry_cleanup (¶m.syncs[param.num_syncs]); +kfree (param.syncs); } err_config_put:
drivers/input/joystick/iforce/iforce-packets.c +10 -1
@@ -161,6 +161,9 @@ void iforce_process_packet(struct iforce *iforce,switch (packet_id) {case 0x01 :/* joystick position data */ +if (len <7 ) +break ; +input_report_abs (dev,ABS_X , (__s16 )get_unaligned_le16 (data)); input_report_abs(dev, ABS_Y,
@@ -176,6 +179,9 @@ void iforce_process_packet(struct iforce *iforce,break ;case 0x03 :/* wheel position data */ +if (len <7 ) +break ; +input_report_abs (dev,ABS_WHEEL , (__s16 )get_unaligned_le16 (data));input_report_abs (dev,ABS_GAS ,255 - data[2 ]);
@@ -187,6 +193,9 @@ void iforce_process_packet(struct iforce *iforce,break ;case 0x02 :/* status report */ +if (len <2 ) +break ; +input_report_key (dev,BTN_DEAD , data[0 ] &0x02 );input_sync (dev);
@@ -206,7 +215,7 @@ void iforce_process_packet(struct iforce *iforce, } } -for (j =3 ; j < len; j +=2 ) +for (j =3 ; j +sizeof (u16) <= len; j +=sizeof (u16))mark_core_as_ready (iforce,get_unaligned_le16 (data + j));break ;
drivers/input/joystick/iforce/iforce-usb.c +3 -0
@@ -159,6 +159,9 @@ static void iforce_usb_irq(struct urb *urb) goto exit; } +if (!urb->actual_length) + goto exit; +iforce_process_packet (iforce, iforce_usb->data_in[0 ], iforce_usb->data_in +1 , urb->actual_length -1 );
drivers/input/joystick/psxpad-spi.c +1 -0
@@ -369,6 +369,7 @@ static int psxpad_spi_probe(struct spi_device *spi)return err; } +spi_set_drvdata (spi, pad);pm_runtime_enable (&spi->dev);return 0 ;
drivers/input/joystick/xpad.c +2 -0
@@ -418,6 +418,7 @@ static const struct xpad_device { { 0x3285, 0x0646, "Nacon Pro Compact", 0, XTYPE_XBOXONE }, { 0x3285, 0x0662, "Nacon Revolution5 Pro", 0, XTYPE_XBOX360 }, { 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE }, + { 0x3507, 0x000b, "ZENAIM LEVERLESS", 0, XTYPE_XBOX360 }, { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, { 0x3537, 0x100f, "GameSir Nova 2 Lite", 0, XTYPE_XBOX360 }, { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
@@ -577,6 +578,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOX360_VENDOR (0x31e3 ),/* Wooting Keyboards */ XPAD_XBOX360_VENDOR (0x3285 ),/* Nacon GC-100 */ XPAD_XBOXONE_VENDOR (0x3285 ),/* Nacon Evol-X */ +XPAD_XBOX360_VENDOR (0x3507 ),/* ZENAIM Controllers */ XPAD_XBOX360_VENDOR (0x3537 ),/* GameSir Controllers */ XPAD_XBOXONE_VENDOR (0x3537 ),/* GameSir Controllers */ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */
drivers/input/keyboard/atkbd.c +8 -0
@@ -1952,6 +1952,14 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { }, .callback = atkbd_deactivate_fixup, }, + { + /* Xiaomi Book Pro 14 (TM2424) */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "XIAOMI"), + DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14"), + }, + .callback = atkbd_deactivate_fixup, + }, { } };
drivers/input/misc/cs40l50-vibra.c +8 -2
@@ -139,10 +139,10 @@ static struct cs40l50_effect *cs40l50_find_effect(int id, struct list_head *effestatic int cs40l50_effect_bank_set (struct cs40l50_work *work_data,struct cs40l50_effect *effect) { -s16 bank_type = work_data->custom_data[0 ] &CS40L50_CUSTOM_DATA_MASK ; +u32 bank_type = work_data->custom_data[0 ] &CS40L50_CUSTOM_DATA_MASK ;if (bank_type >=CS40L50_WVFRM_BANK_NUM ) { -dev_err (work_data->vib->dev,"Invalid bank (%d)\n" , bank_type); +dev_err (work_data->vib->dev,"Invalid bank (%u)\n" , bank_type);return -EINVAL ; }
@@ -327,6 +327,12 @@ static int cs40l50_add(struct input_dev *dev, struct ff_effect *effect,return -EINVAL ; } +if (periodic->custom_len <CS40L50_OWT_CUSTOM_DATA_SIZE ) { +dev_err (vib->dev,"Invalid custom data length (%u)\n" , + periodic->custom_len); +return -EINVAL ; + } + work_data.custom_data =memdup_array_user (effect->u.periodic.custom_data, effect->u.periodic.custom_len,sizeof (s16));
drivers/input/mouse/focaltech.c +1 -1
@@ -197,7 +197,7 @@ static void focaltech_process_rel_packet(struct psmouse *psmouse, {struct focaltech_data *priv = psmouse->private;struct focaltech_hw_state *state = &priv->state; -int finger1, finger2; +unsigned int finger1, finger2; state->pressed = packet[0 ] >>7 ; finger1 = ((packet[0 ] >>4 ) &0x7 ) -1 ;
drivers/input/rmi4/rmi_f54.c +32 -11
104 lines not on this page · raw message
drivers/input/rmi4/rmi_f55.c +2 -2
@@ -54,10 +54,10 @@ static int rmi_f55_detect(struct rmi_function *fn) f55->num_tx_electrodes = f55->qry[F55_NUM_TX_OFFSET ]; f55->cfg_num_rx_electrodes = f55->num_rx_electrodes; - f55->cfg_num_tx_electrodes = f55->num_rx_electrodes; + f55->cfg_num_tx_electrodes = f55->num_tx_electrodes; drv_data->num_rx_electrodes = f55->cfg_num_rx_electrodes; - drv_data->num_tx_electrodes = f55->cfg_num_rx_electrodes; + drv_data->num_tx_electrodes = f55->cfg_num_tx_electrodes;if (f55->qry[F55_PHYS_CHAR_OFFSET ] &F55_CAP_SENSOR_ASSIGN ) {int i, total;
drivers/input/touchscreen/hynitron_cstxxx.c +10 -3
@@ -313,6 +313,12 @@ static void cst3xx_touch_report(struct i2c_client *client)return ; touch_cnt = buf[5 ] &CST3XX_TOUCH_COUNT_MASK ; +if (touch_cnt > ts_data->chip->max_touch_num) { +dev_err (&client->dev,"cst3xx invalid touch count (%d vs %d max)\n" , + touch_cnt, ts_data->chip->max_touch_num); +return ; + } +/* * Check the check bit of the last touch slot. The check bit is * always present after touch point 1 for valid data, and then
@@ -335,9 +341,10 @@ static void cst3xx_touch_report(struct i2c_client *client) finger_id = (buf[idx] >>4 ) &0x0f ;/* Sanity check we don't have more fingers than we expect */ -if (ts_data->chip->max_touch_num < finger_id) { -dev_err (&client->dev,"cst3xx touch read failure\n" ); -break ; +if (finger_id >= ts_data->chip->max_touch_num) { +dev_err (&client->dev, +"cst3xx invalid finger id %d\n" , finger_id); +return ; }/* sw value of 0 means no touch, 0x03 means touch */
drivers/input/touchscreen/sur40.c +13 -10
@@ -725,21 +725,13 @@ static int sur40_probe(struct usb_interface *interface, goto err_free_input; } -/* register the polled input device */ - error =input_register_device (input); -if (error) { -dev_err (&interface->dev, -"Unable to register polled input device." ); - goto err_free_buffer; - } -/* register the video master device */ snprintf (sur40->v4l2.name,sizeof (sur40->v4l2.name),"%s" ,DRIVER_LONG ); error =v4l2_device_register (sur40->dev, &sur40->v4l2);if (error) {dev_err (&interface->dev,"Unable to register video master device." ); - goto err_unreg_v4l2; + goto err_free_buffer; }/* initialize the lock and subdevice */
@@ -795,6 +787,14 @@ static int sur40_probe(struct usb_interface *interface,if (error) {dev_err (&interface->dev,"Unable to register video subdevice." ); + goto err_free_ctrl; + } + +/* register the polled input device */ + error =input_register_device (input); +if (error) { +dev_err (&interface->dev, +"Unable to register polled input device." ); goto err_unreg_video; }
@@ -806,6 +806,8 @@ static int sur40_probe(struct usb_interface *interface, err_unreg_video:video_unregister_device (&sur40->vdev); +err_free_ctrl: +v4l2_ctrl_handler_free (&sur40->hdl); err_unreg_v4l2:v4l2_device_unregister (&sur40->v4l2); err_free_buffer:
@@ -823,11 +825,12 @@ static void sur40_disconnect(struct usb_interface *interface) {struct sur40_state *sur40 =usb_get_intfdata (interface); +input_unregister_device (sur40->input); +v4l2_ctrl_handler_free (&sur40->hdl);video_unregister_device (&sur40->vdev);v4l2_device_unregister (&sur40->v4l2); -input_unregister_device (sur40->input);kfree (sur40->bulk_in_buffer);kfree (sur40);
drivers/iommu/iommufd/device.c +1 -1
@@ -453,7 +453,7 @@ static int iommufd_hwpt_replace_device(struct iommufd_device *idev, goto out_disable_iopf;if (old->fault) { -iommufd_auto_response_faults (hwpt, old_handle); +iommufd_auto_response_faults (old, old_handle);if (!hwpt->fault)iommufd_fault_iopf_disable (idev); }
drivers/mmc/host/atmel-mci.c +2 -0
@@ -2619,6 +2619,8 @@ static void atmci_remove(struct platform_device *pdev)free_irq (platform_get_irq (pdev,0 ), host); +cancel_work_sync (&host->bh_work); +clk_disable_unprepare (host->mck);pm_runtime_disable (dev);
drivers/mmc/host/omap_hsmmc.c +1 -1
@@ -1358,7 +1358,7 @@ omap_hsmmc_prepare_data(struct omap_hsmmc_host *host, struct mmc_request *req)if (req->data ==NULL ) {OMAP_HSMMC_WRITE (host->base,BLK ,0 );if (req->cmd->flags &MMC_RSP_BUSY ) { - timeout = req->cmd->busy_timeout *NSEC_PER_MSEC ; + timeout = (u64 )req->cmd->busy_timeout *NSEC_PER_MSEC ;/* * Set an arbitrary 100ms data timeout for commands with
drivers/mmc/host/sdhci.c +16 -0
@@ -4134,6 +4134,14 @@ void __sdhci_read_caps(struct sdhci_host *host, const u16 *ver, }EXPORT_SYMBOL_GPL (__sdhci_read_caps); +static void sdhci_unmap_bounce_buffer (void *data) +{ +struct sdhci_host *host = data; + +dma_unmap_single (mmc_dev (host->mmc), host->bounce_addr, + host->bounce_buffer_size,DMA_BIDIRECTIONAL ); +} +static void sdhci_allocate_bounce_buffer (struct sdhci_host *host) {struct mmc_host *mmc = host->mmc;
@@ -4188,6 +4196,14 @@ static void sdhci_allocate_bounce_buffer(struct sdhci_host *host) } host->bounce_buffer_size = bounce_size; + ret =devm_add_action_or_reset (mmc_dev (mmc), + sdhci_unmap_bounce_buffer, host); +if (ret) { +devm_kfree (mmc_dev (mmc), host->bounce_buffer); + host->bounce_buffer =NULL ; + host->bounce_buffer_size =0 ; +return ; + }/* Lie about this since we're bouncing */ mmc->max_segs = max_blocks;
drivers/mmc/host/sdhci.h +1 -1
@@ -604,7 +604,7 @@ struct sdhci_host {unsigned int tuning_count;/* Timer count for re-tuning */ unsigned int tuning_mode;/* Re-tuning mode supported by host */ -unsigned int tuning_err;/* Error code for re-tuning */ +int tuning_err;/* Error code for re-tuning */ #define SDHCI_TUNING_MODE_1 0#define SDHCI_TUNING_MODE_2 1#define SDHCI_TUNING_MODE_3 2
drivers/mtd/ubi/attach.c +3 -1
@@ -1600,7 +1600,7 @@ int ubi_attach(struct ubi_device *ubi, int force_scan) err =ubi_read_volume_table (ubi, ai);if (err) - goto out_ai; + goto out_fm; err =ubi_wl_init (ubi, ai);if (err)
@@ -1642,6 +1642,8 @@ int ubi_attach(struct ubi_device *ubi, int force_scan) out_vtbl:ubi_free_all_volumes (ubi);vfree (ubi->vtbl); +out_fm: +ubi_free_fastmap (ubi); out_ai:destroy_ai (ai);return err;
drivers/mtd/ubi/fastmap-wl.c +1 -7
@@ -530,8 +530,6 @@ int ubi_is_erase_work(struct ubi_work *wrk)static void ubi_fastmap_close (struct ubi_device *ubi) { -int i; -return_unused_pool_pebs (ubi, &ubi->fm_pool);return_unused_pool_pebs (ubi, &ubi->fm_wl_pool);
@@ -540,11 +538,7 @@ static void ubi_fastmap_close(struct ubi_device *ubi) ubi->fm_anchor =NULL ; } -if (ubi->fm) { -for (i =0 ; i < ubi->fm->used_blocks; i++) -kfree (ubi->fm->e[i]); - } -kfree (ubi->fm); +ubi_free_fastmap (ubi); }/**
drivers/mtd/ubi/io.c +10 -0
@@ -868,6 +868,8 @@ int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum,return -EROFS ; } +memset ((char *)ec_hdr +UBI_EC_HDR_SIZE ,0xFF , ubi->ec_hdr_alsize -UBI_EC_HDR_SIZE ); + err =ubi_io_write (ubi, ec_hdr, pnum,0 , ubi->ec_hdr_alsize);return err; }
@@ -1150,6 +1152,14 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,return -EROFS ; } +if (ubi->vid_hdr_shift) { +memset ((char *)p,0xFF , ubi->vid_hdr_shift); +memset ((char *)p + ubi->vid_hdr_shift +UBI_VID_HDR_SIZE ,0xFF , + ubi->vid_hdr_alsize - (ubi->vid_hdr_shift +UBI_VID_HDR_SIZE )); + }else { +memset ((char *)p +UBI_VID_HDR_SIZE ,0xFF , ubi->vid_hdr_alsize -UBI_VID_HDR_SIZE ); + } + err =ubi_io_write (ubi, p, pnum, ubi->vid_hdr_aloffset, ubi->vid_hdr_alsize);return err;
drivers/mtd/ubi/ubi.h +12 -0
@@ -970,10 +970,22 @@ int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_attach_info *scan_ai);int ubi_fastmap_init_checkmap (struct ubi_volume *vol,int leb_count);void ubi_fastmap_destroy_checkmap (struct ubi_volume *vol); +static inline void ubi_free_fastmap (struct ubi_device *ubi) +{ +if (ubi->fm) { +int i; + +for (i =0 ; i < ubi->fm->used_blocks; i++) +kmem_cache_free (ubi_wl_entry_slab, ubi->fm->e[i]); +kfree (ubi->fm); + ubi->fm =NULL ; + } +}#else static inline int ubi_update_fastmap (struct ubi_device *ubi) {return 0 ; }static inline int ubi_fastmap_init_checkmap (struct ubi_volume *vol,int leb_count) {return 0 ; }static inline void ubi_fastmap_destroy_checkmap (struct ubi_volume *vol) {} +static inline void ubi_free_fastmap (struct ubi_device *ubi) { }#endif /* block.c */
drivers/net/can/rcar/rcar_canfd.c +14 -14
@@ -1989,27 +1989,27 @@ static int rcar_canfd_probe(struct platform_device *pdev) } } - err =reset_control_reset (gpriv->rstc1); -if (err) - goto fail_dev; - err =reset_control_reset (gpriv->rstc2); -if (err) { -reset_control_assert (gpriv->rstc1); - goto fail_dev; - } -/* Enable peripheral clock for register access */ err =clk_prepare_enable (gpriv->clkp);if (err) {dev_err (dev,"failed to enable peripheral clock: %pe\n" ,ERR_PTR (err)); - goto fail_reset; + goto fail_dev; + } + + err =reset_control_reset (gpriv->rstc1); +if (err) + goto fail_clk; + err =reset_control_reset (gpriv->rstc2); +if (err) { +reset_control_assert (gpriv->rstc1); + goto fail_clk; } err =rcar_canfd_reset_controller (gpriv);if (err) {dev_err (dev,"reset controller failed: %pe\n" ,ERR_PTR (err)); - goto fail_clk; + goto fail_reset; }/* Controller in Global reset & Channel reset mode */
@@ -2061,11 +2061,11 @@ static int rcar_canfd_probe(struct platform_device *pdev)rcar_canfd_channel_remove (gpriv, ch); fail_mode:rcar_canfd_disable_global_interrupts (gpriv); -fail_clk: -clk_disable_unprepare (gpriv->clkp); fail_reset:reset_control_assert (gpriv->rstc1);reset_control_assert (gpriv->rstc2); +fail_clk: +clk_disable_unprepare (gpriv->clkp); fail_dev:return err; }
@@ -2085,9 +2085,9 @@ static void rcar_canfd_remove(struct platform_device *pdev)/* Enter global sleep mode */ rcar_canfd_set_bit (gpriv->base,RCANFD_GCTR ,RCANFD_GCTR_GSLPR ); -clk_disable_unprepare (gpriv->clkp);reset_control_assert (gpriv->rstc1);reset_control_assert (gpriv->rstc2); +clk_disable_unprepare (gpriv->clkp); }static int __maybe_unused rcar_canfd_suspend (struct device *dev)
drivers/net/ethernet/intel/ice/ice_vf_lib.c +27 -0
@@ -847,6 +847,30 @@ static void ice_notify_vf_reset(struct ice_vf *vf) NULL); } +/** +* ice_reset_interrupts - clear all queue interrupt configuration for a VSI +* @vsi: the VSI whose interrupt registers should be cleared +* +* Zero the QINT_RQCTL and QINT_TQCTL registers for all allocated queues +* in the VSI. This clears the entire register including MSIX_INDX, ITR_INDX, +* CAUSE_ENA and NEXTQ fields, unlike ice_vf_dis_rxq_interrupt() which only +* clears the CAUSE_ENA bit. +*/ +void ice_reset_interrupts (struct ice_vsi *vsi) +{ +struct ice_pf *pf = vsi->back; +struct ice_hw *hw = &pf->hw; +int i; + +ice_for_each_alloc_rxq (vsi, i) +wr32 (hw,QINT_RQCTL (vsi->rxq_map[i]),0 ); + +ice_for_each_alloc_txq (vsi, i) +wr32 (hw,QINT_TQCTL (vsi->txq_map[i]),0 ); + +ice_flush (hw); +} +/** * ice_reset_vf - Reset a particular VF * @vf: pointer to the VF structure
@@ -929,6 +953,9 @@ int ice_reset_vf(struct ice_vf *vf, u32 flags)ice_dis_vf_qs (vf); +/* cleanup interrupt registers */ +ice_reset_interrupts (vsi); +/* Call Disable LAN Tx queue AQ whether or not queues are * enabled. This is needed for successful completion of VFR. */
drivers/net/ethernet/intel/ice/ice_vf_lib_private.h +1 -0
@@ -26,6 +26,7 @@void ice_initialize_vf_entry (struct ice_vf *vf);void ice_deinitialize_vf_entry (struct ice_vf *vf);void ice_dis_vf_qs (struct ice_vf *vf); +void ice_reset_interrupts (struct ice_vsi *vsi);int ice_check_vf_init (struct ice_vf *vf);enum virtchnl_status_code ice_err_to_virt_err (int err);struct ice_port_info *ice_vf_get_port_info (struct ice_vf *vf);
drivers/net/ethernet/intel/ice/ice_virtchnl.c +21 -0
@@ -1277,6 +1277,24 @@ static void ice_vf_ena_rxq_interrupt(struct ice_vsi *vsi, u32 q_idx)wr32 (hw,QINT_RQCTL (pfq), reg |QINT_RQCTL_CAUSE_ENA_M ); } +/** +* ice_vf_dis_rxq_interrupt - disable Rx queue interrupt via QINT_RQCTL +* @vsi: VSI of the VF to configure +* @q_idx: VF queue index used to determine the queue in the PF's space +*/ +static void ice_vf_dis_rxq_interrupt (struct ice_vsi *vsi,u32 q_idx) +{ +struct ice_hw *hw = &vsi->back->hw; +u32 pfq = vsi->rxq_map[q_idx]; +u32 reg; + + reg =rd32 (hw,QINT_RQCTL (pfq)); + reg &= ~QINT_RQCTL_CAUSE_ENA_M ; +wr32 (hw,QINT_RQCTL (pfq), reg); + +ice_flush (hw); +} +/** * ice_vc_ena_qs_msg * @vf: pointer to the VF info
@@ -1470,6 +1488,8 @@ static int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) goto error_param; } +for_each_set_bit (vf_q_id, &q_map,ICE_MAX_RSS_QS_PER_VF ) +ice_vf_dis_rxq_interrupt (vsi, vf_q_id);bitmap_zero (vf->rxq_ena,ICE_MAX_RSS_QS_PER_VF ); }else if (q_map) {for_each_set_bit (vf_q_id, &q_map,ICE_MAX_RSS_QS_PER_VF ) {
@@ -1490,6 +1510,7 @@ static int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) goto error_param; } +ice_vf_dis_rxq_interrupt (vsi, vf_q_id);/* Clear enabled queues flag */ clear_bit (vf_q_id, vf->rxq_ena); }
drivers/net/ethernet/intel/igc/igc_main.c +5 -4
@@ -5199,7 +5199,6 @@ void igc_down(struct igc_adapter *adapter)for (i =0 ; i < adapter->num_q_vectors; i++) {if (adapter->q_vector[i]) { -napi_synchronize (&adapter->q_vector[i]->napi);napi_disable (&adapter->q_vector[i]->napi); } }
@@ -7405,11 +7404,13 @@ static int igc_resume(struct device *dev)if (netif_running (netdev)) { err =__igc_open (netdev, true); -if (!err) -netif_device_attach (netdev); +if (err) +return err; } -return err; +netif_device_attach (netdev); + +return 0 ; }static int igc_runtime_resume (struct device *dev)
drivers/net/ethernet/mediatek/mtk_eth_soc.c +14 -2
@@ -3215,11 +3215,23 @@ static int mtk_get_irqs(struct platform_device *pdev, struct mtk_eth *eth)int i;/* future SoCs beginning with MT7988 should use named IRQs in dts */ - eth->irq[MTK_FE_IRQ_TX ] =platform_get_irq_byname (pdev,"fe1" ); - eth->irq[MTK_FE_IRQ_RX ] =platform_get_irq_byname (pdev,"fe2" ); + eth->irq[MTK_FE_IRQ_TX ] =platform_get_irq_byname_optional (pdev,"fe1" ); + eth->irq[MTK_FE_IRQ_RX ] =platform_get_irq_byname_optional (pdev,"fe2" );if (eth->irq[MTK_FE_IRQ_TX ] >=0 && eth->irq[MTK_FE_IRQ_RX ] >=0 )return 0 ; +/* only use legacy mode if platform_get_irq_byname_optional returned -ENXIO */ +if (eth->irq[MTK_FE_IRQ_TX ] != -ENXIO ) +return dev_err_probe (&pdev->dev, eth->irq[MTK_FE_IRQ_TX ], +"Error requesting FE TX IRQ\n" ); + +if (eth->irq[MTK_FE_IRQ_RX ] != -ENXIO ) +return dev_err_probe (&pdev->dev, eth->irq[MTK_FE_IRQ_RX ], +"Error requesting FE RX IRQ\n" ); + +if (!MTK_HAS_CAPS (eth->soc->caps,MTK_SHARED_INT )) +dev_warn (&pdev->dev,"legacy DT: missing interrupt-names." ); +/* legacy way: * On MTK_SHARED_INT SoCs (MT7621 + MT7628) the first IRQ is taken * from devicetree and used for both RX and TX - it is shared.
drivers/net/ethernet/microsoft/mana/mana_en.c +2 -2
@@ -3011,7 +3011,7 @@ void mana_remove(struct gdma_dev *gd, bool suspending)if (!ndev) {if (i ==0 )dev_err (dev,"No net device to remove\n" ); - goto out; +break ; }/* All cleanup actions should stay after rtnl_lock(), otherwise
@@ -3039,7 +3039,7 @@ void mana_remove(struct gdma_dev *gd, bool suspending) }mana_destroy_eq (ac); -out: +mana_gd_deregister_device (gd);if (suspending)
drivers/net/ethernet/ti/am65-cpsw-nuss.c +2 -0
@@ -1190,6 +1190,8 @@ static int am65_cpsw_nuss_rx_packets(struct am65_cpsw_rx_flow *flow,k3_udma_glue_rx_cppi5_to_dma_addr (rx_chn->rx_chn, &buf_dma); pkt_len =cppi5_hdesc_get_pktlen (desc_rx);cppi5_desc_get_tags_ids (&desc_rx->hdr, &port_id,NULL ); +/* Port ID is contained in the lower 8-bits of the 16-bit Source Tag */ + port_id &=0xFF ;dev_dbg (dev,"%s rx port_id:%d\n" , __func__, port_id); port =am65_common_get_port (common, port_id); ndev = port->ndev;
drivers/net/ipvlan/ipvlan_main.c +4 -0
@@ -145,6 +145,8 @@ static int ipvlan_init(struct net_device *dev) dev->lltx = true;netif_inherit_tso_max (dev, phy_dev); dev->hard_header_len = phy_dev->hard_header_len; + dev->needed_headroom = phy_dev->needed_headroom; + dev->needed_tailroom = phy_dev->needed_tailroom;netdev_lockdep_set_classes (dev);
@@ -770,6 +772,8 @@ static int ipvlan_device_event(struct notifier_block *unused,case NETDEV_FEAT_CHANGE :list_for_each_entry (ipvlan, &port->ipvlans, pnode) {netif_inherit_tso_max (ipvlan->dev, dev); + ipvlan->dev->needed_headroom = dev->needed_headroom; + ipvlan->dev->needed_tailroom = dev->needed_tailroom;netdev_update_features (ipvlan->dev); }break ;
drivers/net/macvlan.c +4 -0
@@ -942,6 +942,8 @@ static int macvlan_init(struct net_device *dev) dev->lltx = true;netif_inherit_tso_max (dev, lowerdev); dev->hard_header_len = lowerdev->hard_header_len; + dev->needed_headroom = lowerdev->needed_headroom; + dev->needed_tailroom = lowerdev->needed_tailroom;macvlan_set_lockdep_class (dev); vlan->pcpu_stats = netdev_alloc_pcpu_stats(struct vlan_pcpu_stats);
@@ -1813,6 +1815,8 @@ static int macvlan_device_event(struct notifier_block *unused,case NETDEV_FEAT_CHANGE :list_for_each_entry (vlan, &port->vlans, list) {netif_inherit_tso_max (vlan->dev, dev); + vlan->dev->needed_headroom = dev->needed_headroom; + vlan->dev->needed_tailroom = dev->needed_tailroom;netdev_update_features (vlan->dev); }break ;
drivers/net/tap.c +14 -10
@@ -1199,10 +1199,21 @@ static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)skb_reset_mac_header (skb); skb->protocol =eth_hdr (skb)->h_proto; +rcu_read_lock (); + tap =rcu_dereference (q->tap); +if (!tap) { +kfree_skb (skb); +rcu_read_unlock (); +return 0 ; + } + skb->dev = tap->dev; +if (vnet_hdr_len) { err =virtio_net_hdr_to_skb (skb, gso,tap_is_little_endian (q)); -if (err) +if (err) { +rcu_read_unlock (); goto err_kfree; + } }/* Move network header to the right position for VLAN tagged packets */
@@ -1210,15 +1221,8 @@ static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp) vlan_get_protocol_and_depth(skb, skb->protocol, &depth) != 0)skb_set_network_header (skb, depth); -rcu_read_lock (); - tap =rcu_dereference (q->tap); -if (tap) { - skb->dev = tap->dev; -skb_probe_transport_header (skb); -dev_queue_xmit (skb); - }else { -kfree_skb (skb); - } +skb_probe_transport_header (skb); +dev_queue_xmit (skb);rcu_read_unlock ();return 0 ;
drivers/net/veth.c +1 -1
@@ -967,7 +967,7 @@ static int veth_poll(struct napi_struct *napi, int budget)struct veth_rq *rq = container_of(napi, struct veth_rq, xdp_napi);struct veth_priv *priv =netdev_priv (rq->dev); -int queue_idx = rq->xdp_rxq.queue_index; +int queue_idx = rq - priv->rq;struct netdev_queue *peer_txq;struct veth_stats stats = {};struct net_device *peer_dev;
drivers/net/vrf.c +14 -35
86 lines not on this page · raw message
drivers/net/vxlan/vxlan_core.c +17 -17
@@ -1814,14 +1814,14 @@ static int vxlan_rcv(struct sock *sk, struct sk_buff *skb)if (unlikely (!(vxlan->dev->flags &IFF_UP ))) {rcu_read_unlock (); -dev_core_stats_rx_dropped_inc (vxlan->dev); +dev_dstats_rx_dropped (vxlan->dev);vxlan_vnifilter_count (vxlan, vni, vninode,VXLAN_VNI_STATS_RX_DROPS ,0 ); reason =SKB_DROP_REASON_DEV_READY ; goto drop; } -dev_sw_netstats_rx_add (vxlan->dev, skb->len); +dev_dstats_rx_add (vxlan->dev, skb->len);vxlan_vnifilter_count (vxlan, vni, vninode,VXLAN_VNI_STATS_RX , skb->len);gro_cells_receive (&vxlan->gro_cells, skb);
@@ -1875,8 +1875,8 @@ static int arp_reduce(struct net_device *dev, struct sk_buff *skb, __be32 vni)if (dev->flags &IFF_NOARP ) goto out; -if (!pskb_may_pull (skb,arp_hdr_len (dev))) { -dev_core_stats_tx_dropped_inc (dev); +if (!pskb_network_may_pull (skb,arp_hdr_len (dev))) { +dev_dstats_tx_dropped (dev);vxlan_vnifilter_count (vxlan, vni,NULL ,VXLAN_VNI_STATS_TX_DROPS ,0 ); goto out;
@@ -1940,7 +1940,7 @@ static int arp_reduce(struct net_device *dev, struct sk_buff *skb, __be32 vni) reply->pkt_type =PACKET_HOST ;if (netif_rx (reply) ==NET_RX_DROP ) { -dev_core_stats_rx_dropped_inc (dev); +dev_dstats_rx_dropped (dev);vxlan_vnifilter_count (vxlan, vni,NULL ,VXLAN_VNI_STATS_RX_DROPS ,0 ); }
@@ -2104,7 +2104,7 @@ static int neigh_reduce(struct net_device *dev, struct sk_buff *skb, __be32 vni) goto out;if (netif_rx (reply) ==NET_RX_DROP ) { -dev_core_stats_rx_dropped_inc (dev); +dev_dstats_rx_dropped (dev);vxlan_vnifilter_count (vxlan, vni,NULL ,VXLAN_VNI_STATS_RX_DROPS ,0 ); }
@@ -2289,8 +2289,8 @@ static void vxlan_encap_bypass(struct sk_buff *skb, struct vxlan_dev *src_vxlan, {union vxlan_addr loopback;union vxlan_addr *remote_ip = &dst_vxlan->default_dst.remote_ip; +unsigned int len = skb->len;struct net_device *dev; -int len = skb->len; skb->pkt_type =PACKET_HOST ; skb->encapsulation =0 ;
@@ -2317,16 +2317,16 @@ static void vxlan_encap_bypass(struct sk_buff *skb, struct vxlan_dev *src_vxlan,if ((dst_vxlan->cfg.flags &VXLAN_F_LEARN ) && snoop)vxlan_snoop (dev, &loopback,eth_hdr (skb)->h_source,0 , vni); -dev_sw_netstats_tx_add (src_vxlan->dev,1 , len); +dev_dstats_tx_add (src_vxlan->dev, len);vxlan_vnifilter_count (src_vxlan, vni,NULL ,VXLAN_VNI_STATS_TX , len);if (__netif_rx (skb) ==NET_RX_SUCCESS ) { -dev_sw_netstats_rx_add (dst_vxlan->dev, len); +dev_dstats_rx_add (dst_vxlan->dev, len);vxlan_vnifilter_count (dst_vxlan, vni,NULL ,VXLAN_VNI_STATS_RX , len); }else { drop: -dev_core_stats_rx_dropped_inc (dev); +dev_dstats_rx_dropped (dev);vxlan_vnifilter_count (dst_vxlan, vni,NULL ,VXLAN_VNI_STATS_RX_DROPS ,0 ); }
@@ -2630,7 +2630,7 @@ void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev,return ; drop: -dev_core_stats_tx_dropped_inc (dev); +dev_dstats_tx_dropped (dev);vxlan_vnifilter_count (vxlan, vni,NULL ,VXLAN_VNI_STATS_TX_DROPS ,0 );dev_kfree_skb (skb);return ;
@@ -2671,7 +2671,7 @@ static void vxlan_xmit_nh(struct sk_buff *skb, struct net_device *dev,return ; drop: -dev_core_stats_tx_dropped_inc (dev); +dev_dstats_tx_dropped (dev);vxlan_vnifilter_count (netdev_priv (dev), vni,NULL ,VXLAN_VNI_STATS_TX_DROPS ,0 );dev_kfree_skb (skb);
@@ -2709,7 +2709,7 @@ static netdev_tx_t vxlan_xmit_nhid(struct sk_buff *skb, struct net_device *dev,return NETDEV_TX_OK ; drop: -dev_core_stats_tx_dropped_inc (dev); +dev_dstats_tx_dropped (dev);vxlan_vnifilter_count (netdev_priv (dev), vni,NULL ,VXLAN_VNI_STATS_TX_DROPS ,0 );dev_kfree_skb (skb);
@@ -2757,8 +2757,8 @@ static netdev_tx_t vxlan_xmit(struct sk_buff *skb, struct net_device *dev)return arp_reduce (dev, skb, vni); #if IS_ENABLED(CONFIG_IPV6) else if (ntohs(eth->h_proto) == ETH_P_IPV6 && - pskb_may_pull(skb, sizeof(struct ipv6hdr) + - sizeof(struct nd_msg)) && + pskb_network_may_pull(skb, sizeof(struct ipv6hdr) + + sizeof(struct nd_msg)) && ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6) {struct nd_msg *m = (struct nd_msg *)(ipv6_hdr (skb) +1 );
@@ -2808,7 +2808,7 @@ static netdev_tx_t vxlan_xmit(struct sk_buff *skb, struct net_device *dev) !is_multicast_ether_addr(eth->h_dest))vxlan_fdb_miss (vxlan, eth->h_dest); -dev_core_stats_tx_dropped_inc (dev); +dev_dstats_tx_dropped (dev);vxlan_vnifilter_count (vxlan, vni,NULL ,VXLAN_VNI_STATS_TX_DROPS ,0 );kfree_skb_reason (skb,SKB_DROP_REASON_NO_TX_TARGET );
@@ -3383,7 +3383,7 @@ static void vxlan_setup(struct net_device *dev) dev->min_mtu =ETH_MIN_MTU ; dev->max_mtu =ETH_MAX_MTU ; - dev->pcpu_stat_type =NETDEV_PCPU_STAT_TSTATS ; + dev->pcpu_stat_type =NETDEV_PCPU_STAT_DSTATS ;INIT_LIST_HEAD (&vxlan->next);timer_setup (&vxlan->age_timer, vxlan_cleanup,TIMER_DEFERRABLE );
drivers/net/vxlan/vxlan_mdb.c +2 -2
@@ -1631,7 +1631,7 @@ struct vxlan_mdb_entry *vxlan_mdb_entry_skb_get(struct vxlan_dev *vxlan,switch (skb->protocol) {case htons (ETH_P_IP ): -if (!pskb_may_pull (skb,sizeof (struct iphdr ))) +if (!pskb_network_may_pull (skb,sizeof (struct iphdr )))return NULL ; group.dst.sa.sa_family =AF_INET ; group.dst.sin.sin_addr.s_addr =ip_hdr (skb)->daddr;
@@ -1640,7 +1640,7 @@ struct vxlan_mdb_entry *vxlan_mdb_entry_skb_get(struct vxlan_dev *vxlan,break ;#if IS_ENABLED (CONFIG_IPV6 )case htons (ETH_P_IPV6 ): -if (!pskb_may_pull (skb,sizeof (struct ipv6hdr ))) +if (!pskb_network_may_pull (skb,sizeof (struct ipv6hdr )))return NULL ; group.dst.sa.sa_family =AF_INET6 ; group.dst.sin6.sin6_addr =ipv6_hdr (skb)->daddr;
drivers/pmdomain/arm/scmi_perf_domain.c +1 -1
@@ -33,7 +33,7 @@ scmi_pd_set_perf_state(struct generic_pm_domain *genpd, unsigned int state)return 0 ;if (!state) -return -EINVAL ; +return 0 ; ret = pd->perf_ops->level_set (pd->ph, pd->domain_id, state, false);if (ret)
drivers/s390/cio/vfio_ccw_async.c +16 -0
@@ -8,6 +8,7 @@*/ #include <linux/vfio.h> +#include <linux/nospec.h> #include "vfio_ccw_private.h"
@@ -24,11 +25,20 @@ static ssize_t vfio_ccw_async_region_read(struct vfio_ccw_private *private,return -EINVAL ;mutex_lock (&private->io_mutex); + +if (i >= private->num_regions) { + ret = -EINVAL ; + goto out_unlock; + } + + i =array_index_nospec (i, private->num_regions); region = private->region[i].data;if (copy_to_user (buf, (void *)region + pos, count)) ret = -EFAULT ;else ret = count; + +out_unlock:mutex_unlock (&private->io_mutex);return ret; }
@@ -48,6 +58,12 @@ static ssize_t vfio_ccw_async_region_write(struct vfio_ccw_private *private,if (!mutex_trylock (&private->io_mutex))return -EAGAIN ; +if (i >= private->num_regions) { + ret = -EINVAL ; + goto out_unlock; + } + + i =array_index_nospec (i, private->num_regions); region = private->region[i].data;if (copy_from_user ((void *)region + pos, buf, count)) { ret = -EFAULT ;
drivers/s390/cio/vfio_ccw_chp.c +26 -5
@@ -9,6 +9,7 @@*/ #include <linux/slab.h> +#include <linux/nospec.h> #include <linux/vfio.h> #include "vfio_ccw_private.h"
@@ -26,6 +27,13 @@ static ssize_t vfio_ccw_schib_region_read(struct vfio_ccw_private *private,return -EINVAL ;mutex_lock (&private->io_mutex); + +if (i >= private->num_regions) { + ret = -EINVAL ; + goto out; + } + + i =array_index_nospec (i, private->num_regions); region = private->region[i].data;if (cio_update_schib (sch)) {
@@ -85,19 +93,30 @@ static ssize_t vfio_ccw_crw_region_read(struct vfio_ccw_private *private,loff_t pos = *ppos &VFIO_CCW_OFFSET_MASK ;struct ccw_crw_region *region;struct vfio_ccw_crw *crw; +unsigned long flags;int ret;if (pos + count >sizeof (*region))return -EINVAL ; +mutex_lock (&private->io_mutex); +if (i >= private->num_regions) { + ret = -EINVAL ; + goto out; + } + + i =array_index_nospec (i, private->num_regions); + region = private->region[i].data; + +spin_lock_irqsave (&private->crw_lock, flags);
Lines of this file are not shown. View the raw message.
drivers/s390/cio/vfio_ccw_cp.c +55 -19
74 lines not on this page · raw message
fs/binfmt_misc.c +26 -20
46 lines not on this page · raw message
fs/btrfs/block-group.c +36 -25
61 lines not on this page · raw message
fs/ceph/addr.c +74 -90
164 lines not on this page · raw message
fs/smb/server/smb2pdu.c +42 -46
88 lines not on this page · raw message
fs/smb/server/smb_common.c +33 -10
43 lines not on this page · raw message
fs/smb/server/smb_common.h +9 -34
43 lines not on this page · raw message
fs/super.c +70 -63
133 lines not on this page · raw message
fs/xfs/scrub/agheader_repair.c +103 -17
120 lines not on this page · raw message
include/linux/fs.h +71 -6
77 lines not on this page · raw message
include/linux/netdevice.h +42 -3
45 lines not on this page · raw message
include/net/tcp.h +30 -28
58 lines not on this page · raw message
kernel/bpf/verifier.c +27 -24
51 lines not on this page · raw message
kernel/events/core.c +62 -97
159 lines not on this page · raw message
kernel/trace/ring_buffer.c +47 -77
124 lines not on this page · raw message
mm/pagewalk.c +64 -25
89 lines not on this page · raw message
mm/vmalloc.c +54 -6
60 lines not on this page · raw message
net/core/pktgen.c +24 -19
43 lines not on this page · raw message
net/ipv4/tcp_input.c +46 -16
62 lines not on this page · raw message
net/mptcp/options.c +65 -2
67 lines not on this page · raw message
net/netfilter/ipset/ip_set_bitmap_gen.h +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/intel/common/sof-function-topology-lib.c +6 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/verifier_linked_scalars.c +112 -0
112 lines not on this page · raw message
tools/testing/selftests/net/mptcp/mptcp_join.sh +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.