1. 13 Jan, 2024 5 commits
    • Eric Dumazet's avatar
      mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req() · 66ff70df
      Eric Dumazet authored
      syzbot reported that subflow_check_req() was using uninitialized data in
      subflow_check_req() [1]
      
      This is because mp_opt.token is only set when OPTION_MPTCP_MPJ_SYN is also set.
      
      While we are are it, fix mptcp_subflow_init_cookie_req()
      to test for OPTION_MPTCP_MPJ_ACK.
      
      [1]
      
      BUG: KMSAN: uninit-value in subflow_token_join_request net/mptcp/subflow.c:91 [inline]
       BUG: KMSAN: uninit-value in subflow_check_req+0x1028/0x15d0 net/mptcp/subflow.c:209
        subflow_token_join_request net/mptcp/subflow.c:91 [inline]
        subflow_check_req+0x1028/0x15d0 net/mptcp/subflow.c:209
        subflow_v6_route_req+0x269/0x410 net/mptcp/subflow.c:367
        tcp_conn_request+0x153a/0x4240 net/ipv4/tcp_input.c:7164
       subflow_v6_conn_request+0x3ee/0x510
        tcp_rcv_state_process+0x2e1/0x4ac0 net/ipv4/tcp_input.c:6659
        tcp_v6_do_rcv+0x11bf/0x1fe0 net/ipv6/tcp_ipv6.c:1669
        tcp_v6_rcv+0x480b/0x4fb0 net/ipv6/tcp_ipv6.c:1900
        ip6_protocol_deliver_rcu+0xda6/0x2a60 net/ipv6/ip6_input.c:438
        ip6_input_finish net/ipv6/ip6_input.c:483 [inline]
        NF_HOOK include/linux/netfilter.h:314 [inline]
        ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492
        dst_input include/net/dst.h:461 [inline]
        ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79
        NF_HOOK include/linux/netfilter.h:314 [inline]
        ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310
        __netif_receive_skb_one_core net/core/dev.c:5532 [inline]
        __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5646
        netif_receive_skb_internal net/core/dev.c:5732 [inline]
        netif_receive_skb+0x58/0x660 net/core/dev.c:5791
        tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1555
        tun_get_user+0x53af/0x66d0 drivers/net/tun.c:2002
        tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048
        call_write_iter include/linux/fs.h:2020 [inline]
        new_sync_write fs/read_write.c:491 [inline]
        vfs_write+0x8ef/0x1490 fs/read_write.c:584
        ksys_write+0x20f/0x4c0 fs/read_write.c:637
        __do_sys_write fs/read_write.c:649 [inline]
        __se_sys_write fs/read_write.c:646 [inline]
        __x64_sys_write+0x93/0xd0 fs/read_write.c:646
        do_syscall_x64 arch/x86/entry/common.c:52 [inline]
        do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
       entry_SYSCALL_64_after_hwframe+0x63/0x6b
      
      Local variable mp_opt created at:
        subflow_check_req+0x6d/0x15d0 net/mptcp/subflow.c:145
        subflow_v6_route_req+0x269/0x410 net/mptcp/subflow.c:367
      
      CPU: 1 PID: 5924 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller-00055-g5eff55d7 #0
      Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
      
      Fixes: f296234c ("mptcp: Add handling of incoming MP_JOIN requests")
      Reported-by: default avatarsyzbot <syzkaller@googlegroups.com>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Florian Westphal <fw@strlen.de>
      Cc: Peter Krystad <peter.krystad@linux.intel.com>
      Cc: Matthieu Baerts <matttbe@kernel.org>
      Cc: Mat Martineau <martineau@kernel.org>
      Cc: Geliang Tang <geliang.tang@linux.dev>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarMat Martineau <martineau@kernel.org>
      Link: https://lore.kernel.org/r/20240111194917.4044654-5-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      66ff70df
    • Eric Dumazet's avatar
      mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() · be1d9d9d
      Eric Dumazet authored
      subflow_finish_connect() uses four fields (backup, join_id, thmac, none)
      that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set
      in mptcp_parse_option()
      
      Fixes: f296234c ("mptcp: Add handling of incoming MP_JOIN requests")
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Florian Westphal <fw@strlen.de>
      Cc: Peter Krystad <peter.krystad@linux.intel.com>
      Cc: Matthieu Baerts <matttbe@kernel.org>
      Cc: Mat Martineau <martineau@kernel.org>
      Cc: Geliang Tang <geliang.tang@linux.dev>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarMat Martineau <martineau@kernel.org>
      Link: https://lore.kernel.org/r/20240111194917.4044654-4-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      be1d9d9d
    • Eric Dumazet's avatar
      mptcp: strict validation before using mp_opt->hmac · c1665273
      Eric Dumazet authored
      mp_opt->hmac contains uninitialized data unless OPTION_MPTCP_MPJ_ACK
      was set in mptcp_parse_option().
      
      We must refine the condition before we call subflow_hmac_valid().
      
      Fixes: f296234c ("mptcp: Add handling of incoming MP_JOIN requests")
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Florian Westphal <fw@strlen.de>
      Cc: Peter Krystad <peter.krystad@linux.intel.com>
      Cc: Matthieu Baerts <matttbe@kernel.org>
      Cc: Mat Martineau <martineau@kernel.org>
      Cc: Geliang Tang <geliang.tang@linux.dev>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarMat Martineau <martineau@kernel.org>
      Link: https://lore.kernel.org/r/20240111194917.4044654-3-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      c1665273
    • Eric Dumazet's avatar
      mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN · 89e23277
      Eric Dumazet authored
      mptcp_parse_option() currently sets OPTIONS_MPTCP_MPJ, for the three
      possible cases handled for MPTCPOPT_MP_JOIN option.
      
      OPTIONS_MPTCP_MPJ is the combination of three flags:
      - OPTION_MPTCP_MPJ_SYN
      - OPTION_MPTCP_MPJ_SYNACK
      - OPTION_MPTCP_MPJ_ACK
      
      This is a problem, because backup, join_id, token, nonce and/or hmac fields
      could be left uninitialized in some cases.
      
      Distinguish the three cases, as following patches will need this step.
      
      Fixes: f296234c ("mptcp: Add handling of incoming MP_JOIN requests")
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Florian Westphal <fw@strlen.de>
      Cc: Peter Krystad <peter.krystad@linux.intel.com>
      Cc: Matthieu Baerts <matttbe@kernel.org>
      Cc: Mat Martineau <martineau@kernel.org>
      Cc: Geliang Tang <geliang.tang@linux.dev>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarMat Martineau <martineau@kernel.org>
      Link: https://lore.kernel.org/r/20240111194917.4044654-2-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      89e23277
    • Dmitry Antipov's avatar
      net: liquidio: fix clang-specific W=1 build warnings · cbdd50ec
      Dmitry Antipov authored
      When compiling with clang-18 and W=1, I've noticed the following
      warnings:
      
      drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:1493:16: warning: cast
      from 'void (*)(struct octeon_device *, struct octeon_mbox_cmd *, void *)' to
      'octeon_mbox_callback_t' (aka 'void (*)(void *, void *, void *)') converts to
      incompatible function type [-Wcast-function-type-strict]
       1493 |         mbox_cmd.fn = (octeon_mbox_callback_t)cn23xx_get_vf_stats_callback;
            |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      and:
      
      drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:432:16: warning: cast
      from 'void (*)(struct octeon_device *, struct octeon_mbox_cmd *, void *)' to
      'octeon_mbox_callback_t' (aka 'void (*)(void *, void *, void *)') converts to
      incompatible function type [-Wcast-function-type-strict]
        432 |         mbox_cmd.fn = (octeon_mbox_callback_t)octeon_pfvf_hs_callback;
            |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Fix both of the above by adjusting 'octeon_mbox_callback_t' to match actual
      callback definitions (at the cost of adding an extra forward declaration).
      Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Link: https://lore.kernel.org/r/20240111162432.124014-1-dmantipov@yandex.ruSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      cbdd50ec
  2. 12 Jan, 2024 30 commits
  3. 11 Jan, 2024 5 commits
    • Linus Torvalds's avatar
      Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · 3e7aeb78
      Linus Torvalds authored
      Pull networking updates from Paolo Abeni:
       "The most interesting thing is probably the networking structs
        reorganization and a significant amount of changes is around
        self-tests.
      
        Core & protocols:
      
         - Analyze and reorganize core networking structs (socks, netdev,
           netns, mibs) to optimize cacheline consumption and set up build
           time warnings to safeguard against future header changes
      
           This improves TCP performances with many concurrent connections up
           to 40%
      
         - Add page-pool netlink-based introspection, exposing the memory
           usage and recycling stats. This helps indentify bad PP users and
           possible leaks
      
         - Refine TCP/DCCP source port selection to no longer favor even
           source port at connect() time when IP_LOCAL_PORT_RANGE is set. This
           lowers the time taken by connect() for hosts having many active
           connections to the same destination
      
         - Refactor the TCP bind conflict code, shrinking related socket
           structs
      
         - Refactor TCP SYN-Cookie handling, as a preparation step to allow
           arbitrary SYN-Cookie processing via eBPF
      
         - Tune optmem_max for 0-copy usage, increasing the default value to
           128KB and namespecifying it
      
         - Allow coalescing for cloned skbs coming from page pools, improving
           RX performances with some common configurations
      
         - Reduce extension header parsing overhead at GRO time
      
         - Add bridge MDB bulk deletion support, allowing user-space to
           request the deletion of matching entries
      
         - Reorder nftables struct members, to keep data accessed by the
           datapath first
      
         - Introduce TC block ports tracking and use. This allows supporting
           multicast-like behavior at the TC layer
      
         - Remove UAPI support for retired TC qdiscs (dsmark, CBQ and ATM) and
           classifiers (RSVP and tcindex)
      
         - More data-race annotations
      
         - Extend the diag interface to dump TCP bound-only sockets
      
         - Conditional notification of events for TC qdisc class and actions
      
         - Support for WPAN dynamic associations with nearby devices, to form
           a sub-network using a specific PAN ID
      
         - Implement SMCv2.1 virtual ISM device support
      
         - Add support for Batman-avd mulicast packet type
      
        BPF:
      
         - Tons of verifier improvements:
             - BPF register bounds logic and range support along with a large
               test suite
             - log improvements
             - complete precision tracking support for register spills
             - track aligned STACK_ZERO cases as imprecise spilled registers.
               This improves the verifier "instructions processed" metric from
               single digit to 50-60% for some programs
             - support for user's global BPF subprogram arguments with few
               commonly requested annotations for a better developer
               experience
             - support tracking of BPF_JNE which helps cases when the compiler
               transforms (unsigned) "a > 0" into "if a == 0 goto xxx" and the
               like
             - several fixes
      
         - Add initial TX metadata implementation for AF_XDP with support in
           mlx5 and stmmac drivers. Two types of offloads are supported right
           now, that is, TX timestamp and TX checksum offload
      
         - Fix kCFI bugs in BPF all forms of indirect calls from BPF into
           kernel and from kernel into BPF work with CFI enabled. This allows
           BPF to work with CONFIG_FINEIBT=y
      
         - Change BPF verifier logic to validate global subprograms lazily
           instead of unconditionally before the main program, so they can be
           guarded using BPF CO-RE techniques
      
         - Support uid/gid options when mounting bpffs
      
         - Add a new kfunc which acquires the associated cgroup of a task
           within a specific cgroup v1 hierarchy where the latter is
           identified by its id
      
         - Extend verifier to allow bpf_refcount_acquire() of a map value
           field obtained via direct load which is a use-case needed in
           sched_ext
      
         - Add BPF link_info support for uprobe multi link along with bpftool
           integration for the latter
      
         - Support for VLAN tag in XDP hints
      
         - Remove deprecated bpfilter kernel leftovers given the project is
           developed in user-space (https://github.com/facebook/bpfilter)
      
        Misc:
      
         - Support for parellel TC self-tests execution
      
         - Increase MPTCP self-tests coverage
      
         - Updated the bridge documentation, including several so-far
           undocumented features
      
         - Convert all the net self-tests to run in unique netns, to avoid
           random failures due to conflict and allow concurrent runs
      
         - Add TCP-AO self-tests
      
         - Add kunit tests for both cfg80211 and mac80211
      
         - Autogenerate Netlink families documentation from YAML spec
      
         - Add yml-gen support for fixed headers and recursive nests, the tool
           can now generate user-space code for all genetlink families for
           which we have specs
      
         - A bunch of additional module descriptions fixes
      
         - Catch incorrect freeing of pages belonging to a page pool
      
        Driver API:
      
         - Rust abstractions for network PHY drivers; do not cover yet the
           full C API, but already allow implementing functional PHY drivers
           in rust
      
         - Introduce queue and NAPI support in the netdev Netlink interface,
           allowing complete access to the device <> NAPIs <> queues
           relationship
      
         - Introduce notifications filtering for devlink to allow control
           application scale to thousands of instances
      
         - Improve PHY validation, requesting rate matching information for
           each ethtool link mode supported by both the PHY and host
      
         - Add support for ethtool symmetric-xor RSS hash
      
         - ACPI based Wifi band RFI (WBRF) mitigation feature for the AMD
           platform
      
         - Expose pin fractional frequency offset value over new DPLL generic
           netlink attribute
      
         - Convert older drivers to platform remove callback returning void
      
         - Add support for PHY package MMD read/write
      
        New hardware / drivers:
      
         - Ethernet:
             - Octeon CN10K devices
             - Broadcom 5760X P7
             - Qualcomm SM8550 SoC
             - Texas Instrument DP83TG720S PHY
      
         - Bluetooth:
             - IMC Networks Bluetooth radio
      
        Removed:
      
         - WiFi:
             - libertas 16-bit PCMCIA support
             - Atmel at76c50x drivers
             - HostAP ISA/PCMCIA style 802.11b driver
             - zd1201 802.11b USB dongles
             - Orinoco ISA/PCMCIA 802.11b driver
             - Aviator/Raytheon driver
             - Planet WL3501 driver
             - RNDIS USB 802.11b driver
      
        Driver updates:
      
         - Ethernet high-speed NICs:
             - Intel (100G, ice, idpf):
                - allow one by one port representors creation and removal
                - add temperature and clock information reporting
                - add get/set for ethtool's header split ringparam
                - add again FW logging
                - adds support switchdev hardware packet mirroring
                - iavf: implement symmetric-xor RSS hash
                - igc: add support for concurrent physical and free-running
                  timers
                - i40e: increase the allowable descriptors
             - nVidia/Mellanox:
                - Preparation for Socket-Direct multi-dev netdev. That will
                  allow in future releases combining multiple PFs devices
                  attached to different NUMA nodes under the same netdev
             - Broadcom (bnxt):
                - TX completion handling improvements
                - add basic ntuple filter support
                - reduce MSIX vectors usage for MQPRIO offload
                - add VXLAN support, USO offload and TX coalesce completion
                  for P7
             - Marvell Octeon EP:
                - xmit-more support
                - add PF-VF mailbox support and use it for FW notifications
                  for VFs
             - Wangxun (ngbe/txgbe):
                - implement ethtool functions to operate pause param, ring
                  param, coalesce channel number and msglevel
             - Netronome/Corigine (nfp):
                - add flow-steering support
                - support UDP segmentation offload
      
         - Ethernet NICs embedded, slower, virtual:
             - Xilinx AXI: remove duplicate DMA code adopting the dma engine
               driver
             - stmmac: add support for HW-accelerated VLAN stripping
             - TI AM654x sw: add mqprio, frame preemption & coalescing
             - gve: add support for non-4k page sizes.
             - virtio-net: support dynamic coalescing moderation
      
         - nVidia/Mellanox Ethernet datacenter switches:
             - allow firmware upgrade without a reboot
             - more flexible support for bridge flooding via the compressed
               FID flooding mode
      
         - Ethernet embedded switches:
             - Microchip:
                - fine-tune flow control and speed configurations in KSZ8xxx
                - KSZ88X3: enable setting rmii reference
             - Renesas:
                - add jumbo frames support
             - Marvell:
                - 88E6xxx: add "eth-mac" and "rmon" stats support
      
         - Ethernet PHYs:
             - aquantia: add firmware load support
             - at803x: refactor the driver to simplify adding support for more
               chip variants
             - NXP C45 TJA11xx: Add MACsec offload support
      
         - Wifi:
             - MediaTek (mt76):
                - NVMEM EEPROM improvements
                - mt7996 Extremely High Throughput (EHT) improvements
                - mt7996 Wireless Ethernet Dispatcher (WED) support
                - mt7996 36-bit DMA support
             - Qualcomm (ath12k):
                - support for a single MSI vector
                - WCN7850: support AP mode
             - Intel (iwlwifi):
                - new debugfs file fw_dbg_clear
                - allow concurrent P2P operation on DFS channels
      
         - Bluetooth:
             - QCA2066: support HFP offload
             - ISO: more broadcast-related improvements
             - NXP: better recovery in case receiver/transmitter get out of sync"
      
      * tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1714 commits)
        lan78xx: remove redundant statement in lan78xx_get_eee
        lan743x: remove redundant statement in lan743x_ethtool_get_eee
        bnxt_en: Fix RCU locking for ntuple filters in bnxt_rx_flow_steer()
        bnxt_en: Fix RCU locking for ntuple filters in bnxt_srxclsrldel()
        bnxt_en: Remove unneeded variable in bnxt_hwrm_clear_vnic_filter()
        tcp: Revert no longer abort SYN_SENT when receiving some ICMP
        Revert "mlx5 updates 2023-12-20"
        Revert "net: stmmac: Enable Per DMA Channel interrupt"
        ipvlan: Remove usage of the deprecated ida_simple_xx() API
        ipvlan: Fix a typo in a comment
        net/sched: Remove ipt action tests
        net: stmmac: Use interrupt mode INTM=1 for per channel irq
        net: stmmac: Add support for TX/RX channel interrupt
        net: stmmac: Make MSI interrupt routine generic
        dt-bindings: net: snps,dwmac: per channel irq
        net: phy: at803x: make read_status more generic
        net: phy: at803x: add support for cdt cross short test for qca808x
        net: phy: at803x: refactor qca808x cable test get status function
        net: phy: at803x: generalize cdt fault length function
        net: ethernet: cortina: Drop TSO support
        ...
      3e7aeb78
    • Linus Torvalds's avatar
      Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · de927f6c
      Linus Torvalds authored
      Pull s390 updates from Alexander Gordeev:
      
       - Add machine variable capacity information to /proc/sysinfo.
      
       - Limit the waste of page tables and always align vmalloc area size and
         base address on segment boundary.
      
       - Fix a memory leak when an attempt to register interruption sub class
         (ISC) for the adjunct-processor (AP) guest failed.
      
       - Reset response code AP_RESPONSE_INVALID_GISA to understandable by
         guest AP_RESPONSE_INVALID_ADDRESS in response to a failed
         interruption sub class (ISC) registration attempt.
      
       - Improve reaction to adjunct-processor (AP)
         AP_RESPONSE_OTHERWISE_CHANGED response code when enabling interrupts
         on behalf of a guest.
      
       - Fix incorrect sysfs 'status' attribute of adjunct-processor (AP)
         queue device bound to the vfio_ap device driver when the mediated
         device is attached to a guest, but the queue device is not passed
         through.
      
       - Rework struct ap_card to hold the whole adjunct-processor (AP) card
         hardware information. As result, all the ugly bit checks are replaced
         by simple evaluations of the required bit fields.
      
       - Improve handling of some weird scenarios between service element (SE)
         host and SE guest with adjunct-processor (AP) pass-through support.
      
       - Change local_ctl_set_bit() and local_ctl_clear_bit() so they return
         the previous value of the to be changed control register. This is
         useful if a bit is only changed temporarily and the previous content
         needs to be restored.
      
       - The kernel starts with machine checks disabled and is expected to
         enable it once trap_init() is called. However the implementation
         allows machine checks early. Consistently enable it in trap_init()
         only.
      
       - local_mcck_disable() and local_mcck_enable() assume that machine
         checks are always enabled. Instead implement and use
         local_mcck_save() and local_mcck_restore() to disable machine checks
         and restore the previous state.
      
       - Modification of floating point control (FPC) register of a traced
         process using ptrace interface may lead to corruption of the FPC
         register of the tracing process. Fix this.
      
       - kvm_arch_vcpu_ioctl_set_fpu() allows to set the floating point
         control (FPC) register in vCPU, but may lead to corruption of the FPC
         register of the host process. Fix this.
      
       - Use READ_ONCE() to read a vCPU floating point register value from the
         memory mapped area. This avoids that, depending on code generation, a
         different value is tested for validity than the one that is used.
      
       - Get rid of test_fp_ctl(), since it is quite subtle to use it
         correctly. Instead copy a new floating point control register value
         into its save area and test the validity of the new value when
         loading it.
      
       - Remove superfluous save_fpu_regs() call.
      
       - Remove s390 support for ARCH_WANTS_DYNAMIC_TASK_STRUCT. All machines
         provide the vector facility since many years and the need to make the
         task structure size dependent on the vector facility does not exist.
      
       - Remove the "novx" kernel command line option, as the vector code runs
         without any problems since many years.
      
       - Add the vector facility to the z13 architecture level set (ALS). All
         hypervisors support the vector facility since many years. This allows
         compile time optimizations of the kernel.
      
       - Get rid of MACHINE_HAS_VX and replace it with cpu_has_vx(). As
         result, the compiled code will have less runtime checks and less
         code.
      
       - Convert pgste_get_lock() and pgste_set_unlock() ASM inlines to C.
      
       - Convert the struct subchannel spinlock from pointer to member.
      
      * tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (24 commits)
        Revert "s390: update defconfigs"
        s390/cio: make sch->lock spinlock pointer a member
        s390: update defconfigs
        s390/mm: convert pgste locking functions to C
        s390/fpu: get rid of MACHINE_HAS_VX
        s390/als: add vector facility to z13 architecture level set
        s390/fpu: remove "novx" option
        s390/fpu: remove ARCH_WANTS_DYNAMIC_TASK_STRUCT support
        KVM: s390: remove superfluous save_fpu_regs() call
        s390/fpu: get rid of test_fp_ctl()
        KVM: s390: use READ_ONCE() to read fpc register value
        KVM: s390: fix setting of fpc register
        s390/ptrace: handle setting of fpc register correctly
        s390/nmi: implement and use local_mcck_save() / local_mcck_restore()
        s390/nmi: consistently enable machine checks in trap_init()
        s390/ctlreg: return old register contents when changing bits
        s390/ap: handle outband SE bind state change
        s390/ap: store TAPQ hwinfo in struct ap_card
        s390/vfio-ap: fix sysfs status attribute for AP queue devices
        s390/vfio-ap: improve reaction to response code 07 from PQAP(AQIC) command
        ...
      de927f6c
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · c2990100
      Linus Torvalds authored
      Pull asm-generic cleanups from Arnd Bergmann:
       "A series from Baoquan He cleans up the asm-generic/io.h to remove the
        ioremap_uc() definition from everything except x86, which still needs
        it for pre-PAT systems. This series notably contains a patch from
        Jiaxun Yang that converts MIPS to use asm-generic/io.h like every
        other architecture does, enabling future cleanups.
      
        Some of my own patches fix -Wmissing-prototype warnings in
        architecture specific code across several architectures. This is now
        needed as the warning is enabled by default. There are still some
        remaining warnings in minor platforms, but the series should catch
        most of the widely used ones make them more consistent with one
        another.
      
        David McKay fixes a bug in __generic_cmpxchg_local() when this is used
        on 64-bit architectures. This could currently only affect parisc64 and
        sparc64.
      
        Additional cleanups address from Linus Walleij, Uwe Kleine-König,
        Thomas Huth, and Kefeng Wang help reduce unnecessary inconsistencies
        between architectures"
      
      * tag 'asm-generic-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        asm-generic: Fix 32 bit __generic_cmpxchg_local
        Hexagon: Make pfn accessors statics inlines
        ARC: mm: Make virt_to_pfn() a static inline
        mips: remove extraneous asm-generic/iomap.h include
        sparc: Use $(kecho) to announce kernel images being ready
        arm64: vdso32: Define BUILD_VDSO32_64 to correct prototypes
        csky: fix arch_jump_label_transform_static override
        arch: add do_page_fault prototypes
        arch: add missing prepare_ftrace_return() prototypes
        arch: vdso: consolidate gettime prototypes
        arch: include linux/cpu.h for trap_init() prototype
        arch: fix asm-offsets.c building with -Wmissing-prototypes
        arch: consolidate arch_irq_work_raise prototypes
        hexagon: Remove CONFIG_HEXAGON_ARCH_VERSION from uapi header
        asm/io: remove unnecessary xlate_dev_mem_ptr() and unxlate_dev_mem_ptr()
        mips: io: remove duplicated codes
        arch/*/io.h: remove ioremap_uc in some architectures
        mips: add <asm-generic/io.h> including
      c2990100
    • Linus Torvalds's avatar
      Merge tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · 4cd083d5
      Linus Torvalds authored
      Pull module updates from Luis Chamberlain:
       "Just one cleanup and one documentation improvement change. No
        functional changes"
      
      * tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        kernel/module: improve documentation for try_module_get()
        module: Remove redundant TASK_UNINTERRUPTIBLE
      4cd083d5
    • Linus Torvalds's avatar
      Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · a05aea98
      Linus Torvalds authored
      Pull sysctl updates from Luis Chamberlain:
       "To help make the move of sysctls out of kernel/sysctl.c not incur a
        size penalty sysctl has been changed to allow us to not require the
        sentinel, the final empty element on the sysctl array. Joel Granados
        has been doing all this work.
      
        In the v6.6 kernel we got the major infrastructure changes required to
        support this. For v6.7 we had all arch/ and drivers/ modified to
        remove the sentinel. For v6.8-rc1 we get a few more updates for fs/
        directory only.
      
        The kernel/ directory is left but we'll save that for v6.9-rc1 as
        those patches are still being reviewed. After that we then can expect
        also the removal of the no longer needed check for procname == NULL.
      
        Let us recap the purpose of this work:
      
         - this helps reduce the overall build time size of the kernel and run
           time memory consumed by the kernel by about ~64 bytes per array
      
         - the extra 64-byte penalty is no longer inncurred now when we move
           sysctls out from kernel/sysctl.c to their own files
      
        Thomas Weißschuh also sent a few cleanups, for v6.9-rc1 we expect to
        see further work by Thomas Weißschuh with the constificatin of the
        struct ctl_table.
      
        Due to Joel Granados's work, and to help bring in new blood, I have
        suggested for him to become a maintainer and he's accepted. So for
        v6.9-rc1 I look forward to seeing him sent you a pull request for
        further sysctl changes. This also removes Iurii Zaikin as a maintainer
        as he has moved on to other projects and has had no time to help at
        all"
      
      * tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        sysctl: remove struct ctl_path
        sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
        coda: Remove the now superfluous sentinel elements from ctl_table array
        sysctl: Remove the now superfluous sentinel elements from ctl_table array
        fs: Remove the now superfluous sentinel elements from ctl_table array
        cachefiles: Remove the now superfluous sentinel element from ctl_table array
        sysclt: Clarify the results of selftest run
        sysctl: Add a selftest for handling empty dirs
        sysctl: Fix out of bounds access for empty sysctl registers
        MAINTAINERS: Add Joel Granados as co-maintainer for proc sysctl
        MAINTAINERS: remove Iurii Zaikin from proc sysctl
      a05aea98