1. 20 Feb, 2023 21 commits
  2. 17 Feb, 2023 2 commits
    • David S. Miller's avatar
      Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net · 675f176b
      David S. Miller authored
      Some of the devlink bits were tricky, but I think I got it right.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      675f176b
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-02-17' of git://anongit.freedesktop.org/drm/drm · ec35307e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just a final collection of misc fixes, the biggest disables the
        recently added dynamic debugging support, it has a regression that
        needs some bigger fixes.
      
        Otherwise a bunch of fixes across the board, vc4, amdgpu and vmwgfx
        mostly, with some smaller i915 and ast fixes.
      
        drm:
         - dynamic debug disable for now
      
        fbdev:
         - deferred i/o device close fix
      
        amdgpu:
         - Fix GC11.x suspend warning
         - Fix display warning
      
        vc4:
         - YUV planes fix
         - hdmi display fix
         - crtc reduced blanking fix
      
        ast:
         - fix start address computation
      
        vmwgfx:
         - fix bo/handle races
      
        i915:
         - gen11 WA fix"
      
      * tag 'drm-fixes-2023-02-17' of git://anongit.freedesktop.org/drm/drm:
        drm/amd/display: Fail atomic_check early on normalize_zpos error
        drm/amd/amdgpu: fix warning during suspend
        drm/vmwgfx: Do not drop the reference to the handle too soon
        drm/vmwgfx: Stop accessing buffer objects which failed init
        drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
        drm: Disable dynamic debug as broken
        drm/ast: Fix start address computation
        fbdev: Fix invalid page access after closing deferred I/O devices
        drm/vc4: crtc: Increase setup cost in core clock calculation to handle extreme reduced blanking
        drm/vc4: hdmi: Always enable GCP with AVMUTE cleared
        drm/vc4: Fix YUV plane handling when planes are in different buffers
      ec35307e
  3. 16 Feb, 2023 17 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2023-02-16' of... · f7597e3c
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2023-02-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Moving gen11 hw wa to the right place. (Matt)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y+47eUvwbafER35/@intel.com
      f7597e3c
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2023-02-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · a2a04b51
      Dave Airlie authored
      Multiple fixes in vc4 to address issues with YUV planes, HDMI and CRTC;
      an invalid page access fix for fbdev, mark dynamic debug as broken, a
      double free and refcounting fix for vmwgfx.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230216091905.i5wswy4dd74x4br5@houat
      a2a04b51
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.2-2023-02-15' of... · caa068c9
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.2-2023-02-15' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.2-2023-02-15:
      
      amdgpu:
      - Fix GC11.x suspend warning
      - Fix display warning
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230216041122.7714-1-alexander.deucher@amd.com
      caa068c9
    • Linus Torvalds's avatar
      Merge tag 'net-6.2-final' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 3ac88fa4
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Fixes from the main networking tree only, probably because all
        sub-trees have backed off and haven't submitted their changes.
      
        None of the fixes here are particularly scary and no outstanding
        regressions. In an ideal world the "current release" sections would be
        empty at this stage but that never happens.
      
        Current release - regressions:
      
         - fix unwanted sign extension in netdev_stats_to_stats64()
      
        Current release - new code bugs:
      
         - initialize net->notrefcnt_tracker earlier
      
         - devlink: fix netdev notifier chain corruption
      
         - nfp: make sure mbox accesses in IPsec code are atomic
      
         - ice: fix check for weight and priority of a scheduling node
      
        Previous releases - regressions:
      
         - ice: xsk: fix cleaning of XDP_TX frame, prevent inf loop
      
         - igb: fix I2C bit banging config with external thermal sensor
      
        Previous releases - always broken:
      
         - sched: tcindex: update imperfect hash filters respecting rcu
      
         - mpls: fix stale pointer if allocation fails during device rename
      
         - dccp/tcp: avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions
      
         - remove WARN_ON_ONCE(sk->sk_forward_alloc) from
           sk_stream_kill_queues()
      
         - af_key: fix heap information leak
      
         - ipv6: fix socket connection with DSCP (correct interpretation of
           the tclass field vs fib rule matching)
      
         - tipc: fix kernel warning when sending SYN message
      
         - vmxnet3: read RSS information from the correct descriptor (eop)"
      
      * tag 'net-6.2-final' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (35 commits)
        devlink: Fix netdev notifier chain corruption
        igb: conditionalize I2C bit banging on external thermal sensor support
        net: mpls: fix stale pointer if allocation fails during device rename
        net/sched: tcindex: search key must be 16 bits
        tipc: fix kernel warning when sending SYN message
        igb: Fix PPS input and output using 3rd and 4th SDP
        net: use a bounce buffer for copying skb->mark
        ixgbe: add double of VLAN header when computing the max MTU
        i40e: add double of VLAN header when computing the max MTU
        ixgbe: allow to increase MTU to 3K with XDP enabled
        net: stmmac: Restrict warning on disabling DMA store and fwd mode
        net/sched: act_ctinfo: use percpu stats
        net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
        ice: fix lost multicast packets in promisc mode
        ice: Fix check for weight and priority of a scheduling node
        bnxt_en: Fix mqprio and XDP ring checking logic
        net: Fix unwanted sign extension in netdev_stats_to_stats64()
        net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
        net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
        af_key: Fix heap information leak
        ...
      3ac88fa4
    • Linus Torvalds's avatar
      Merge tag 'block-6.2-2023-02-16' of git://git.kernel.dk/linux · d3d6f0eb
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Just a few NVMe fixes that should go into the 6.2 release, adding a
        quirk and fixing two issues introduced in this release:
      
         - NVMe fixes via Christoph:
             - Always return an ERR_PTR from nvme_pci_alloc_dev (Irvin Cote)
             - Add bogus ID quirk for ADATA SX6000PNP (Daniel Wagner)
             - Set the DMA mask earlier (Christoph Hellwig)"
      
      * tag 'block-6.2-2023-02-16' of git://git.kernel.dk/linux:
        nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
        nvme-pci: set the DMA mask earlier
        nvme-pci: add bogus ID quirk for ADATA SX6000PNP
      d3d6f0eb
    • Linus Torvalds's avatar
      Merge tag 'spi-v6.2-rc8-abi' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · b5596f1d
      Linus Torvalds authored
      Pull spi fix from Mark Brown:
       "One more last minute patch for v6.2 updating the parsing of the newly
        added spi-cs-setup-delay-ns.
      
        It's been pointed out that due to the way DT parsing works the change
        in property size is ABI visible so let's not let a release go out
        without it being fixed. The change got split from some earlier ABI
        related fixes to the property since the first version sent had a build
        error"
      
      * tag 'spi-v6.2-rc8-abi' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: Use a 32-bit DT property for spi-cs-setup-delay-ns
      b5596f1d
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 18902059
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix a potential Kconfig issue with gpio-mlxbf2 not selecting
         GPIOLIB_IRQCHIP
      
       - another immutable irqchip conversion, this time for gpio-vf610
      
       - fix a wakeup issue on Clevo NH5xAx
      
      * tag 'gpio-fixes-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mlxbf2: select GPIOLIB_IRQCHIP
        gpiolib: acpi: Add a ignore wakeup quirk for Clevo NH5xAx
        gpio: vf610: make irq_chip immutable
        gpiolib: acpi: remove redundant declaration
      18902059
    • Christoph Hellwig's avatar
      stop mainaining UUID · 88d35583
      Christoph Hellwig authored
      The uuid code is very low maintainance now that the major overhaul
      has completed, and doesn't need it's own tree.  All the recent work
      has been done by Andy who'd like to stay on as a reviewer without an
      explicit tree.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarAndy Shevchenko <andy@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      88d35583
    • Christoph Hellwig's avatar
      orphan sysvfs · a8cd2990
      Christoph Hellwig authored
      This code has been stale for years and I have no way to test it.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a8cd2990
    • Jakub Kicinski's avatar
      Merge branch 'mlx5-next' of https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux · 84cb1b53
      Jakub Kicinski authored
      Leon Romanovsky says:
      
      ====================
      mlx5-next changes
      
      Following previous conversations [1] and our clear commitment to do
      the TC work [2], please pull mlx5-next shared branch, which includes
      low-level steering logic to allow RoCEv2 traffic to be encrypted/
      decrypted through IPsec.
      
      [1] https://lore.kernel.org/all/20230126230815.224239-1-saeed@kernel.org/
      [2] https://lore.kernel.org/all/Y+Z7lVVWqnRBiPh2@nvidia.com/
      
      * 'mlx5-next' of https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux:
        net/mlx5: Configure IPsec steering for egress RoCEv2 traffic
        net/mlx5: Configure IPsec steering for ingress RoCEv2 traffic
        net/mlx5: Add IPSec priorities in RDMA namespaces
        net/mlx5: Implement new destination type TABLE_TYPE
        net/mlx5: Introduce new destination type TABLE_TYPE
      ====================
      
      Link: https://lore.kernel.org/r/20230215095624.1365200-1-leon@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      84cb1b53
    • Jakub Kicinski's avatar
      Merge tag 'wireless-next-2023-03-16' of... · ca0df43d
      Jakub Kicinski authored
      Merge tag 'wireless-next-2023-03-16' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
      
      Johannes Berg says:
      
      ====================
      Major stack changes:
       * EHT channel puncturing support (client & AP)
       * some support for AP MLD without mac80211
       * fixes for A-MSDU on mesh connections
      
      Major driver changes:
      
      iwlwifi
       * EHT rate reporting
       * Bump FW API to 74 for AX devices
       * STEP equalizer support: transfer some STEP (connection to radio
         on platforms with integrated wifi) related parameters from the
         BIOS to the firmware
      
      mt76
       * switch to using page pool allocator
       * mt7996 EHT (Wi-Fi 7) support
       * Wireless Ethernet Dispatch (WED) reset support
      
      libertas
       * WPS enrollee support
      
      brcmfmac
       * Rename Cypress 89459 to BCM4355
       * BCM4355 and BCM4377 support
      
      mwifiex
       * SD8978 chipset support
      
      rtl8xxxu
       * LED support
      
      ath12k
       * new driver for Qualcomm Wi-Fi 7 devices
      
      ath11k
       * IPQ5018 support
       * Fine Timing Measurement (FTM) responder role support
       * channel 177 support
      
      ath10k
       * store WLAN firmware version in SMEM image table
      
      * tag 'wireless-next-2023-03-16' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (207 commits)
        wifi: brcmfmac: p2p: Introduce generic flexible array frame member
        wifi: mac80211: add documentation for amsdu_mesh_control
        wifi: cfg80211: remove gfp parameter from cfg80211_obss_color_collision_notify description
        wifi: mac80211: always initialize link_sta with sta
        wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
        wifi: cfg80211: Set SSID if it is not already set
        wifi: rtw89: move H2C of del_pkt_offload before polling FW status ready
        wifi: rtw89: use readable return 0 in rtw89_mac_cfg_ppdu_status()
        wifi: rtw88: usb: drop now unnecessary URB size check
        wifi: rtw88: usb: send Zero length packets if necessary
        wifi: rtw88: usb: Set qsel correctly
        wifi: mac80211: fix off-by-one link setting
        wifi: mac80211: Fix for Rx fragmented action frames
        wifi: mac80211: avoid u32_encode_bits() warning
        wifi: mac80211: Don't translate MLD addresses for multicast
        wifi: cfg80211: call reg_notifier for self managed wiphy from driver hint
        wifi: cfg80211: get rid of gfp in cfg80211_bss_color_notify
        wifi: nl80211: Allow authentication frames and set keys on NAN interface
        wifi: mac80211: fix non-MLO station association
        wifi: mac80211: Allow NSS change only up to capability
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20230216105406.208416-1-johannes@sipsolutions.netSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      ca0df43d
    • Bartosz Golaszewski's avatar
      Merge tag 'intel-gpio-v6.2-2' of... · b8b3b0bf
      Bartosz Golaszewski authored
      Merge tag 'intel-gpio-v6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-current
      
      intel-gpio for v6.2-2
      
      * Ignore spurious wakeup by touchpad on Clevo NH5xAx
      * Miscellaneous fix(es)
      b8b3b0bf
    • Paolo Abeni's avatar
      Merge branch 'seg6-add-psp-flavor-support-for-srv6-end-behavior' · 40967f77
      Paolo Abeni authored
      Andrea Mayer says:
      
      ====================
      seg6: add PSP flavor support for SRv6 End behavior
      
      Segment Routing for IPv6 (SRv6 in short) [1] is the instantiation of the
      Segment Routing (SR) [2] architecture on the IPv6 dataplane.
      In SRv6, the segment identifiers (SID) are IPv6 addresses and the segment list
      (SID List) is carried in the Segment Routing Header (SRH). A segment may be
      bound to a specific packet processing operation called "behavior". The RFC8986
      [3] defines and standardizes the most common/relevant behaviors for network
      operators, e.g., End, End.X and End.T and so on.
      
      The RFC8986 also introduces the "flavors" framework aiming to modify or extend
      the capabilities of SRv6 End, End.X and End.T behaviors. Specifically, these
      behaviors support the following flavors (either individually or in
      combinations):
       - Penultimate Segment Pop (PSP);
       - Ultimate Segment Pop (USP);
       - Ultimate Segment Decapsulation (USD).
      
      Such flavors enable an End/End.X/End.T behavior to pop the SRH on the
      penultimate/ultimate SR endpoint node listed in the SID List or to perform a
      full decapsulation.
      
      Currently, the Linux kernel supports a large subset of behaviors described in
      RFC8986, including the End, End.X and End.T. However, PSP, USP and USD flavors
      have not yet been implemented.
      
      In this patchset, we extend the SRv6 subsystem to implement the PSP flavor in
      the SRv6 End behavior. To accomplish this task, we leverage the flavor
      framework previously introduced by another patchset required for supporting the
      efficient representation of the SID List through the NEXT-C-SID mechanism [4].
      
      In details, the patchset is made of:
       - patch 1/3: seg6: factor out End lookup nexthop processing to a dedicated
                    function
       - patch 2/3: seg6: add PSP flavor support for SRv6 End behavior
       - patch 3/3: selftests: seg6: add selftest for PSP flavor in SRv6 End
                    behavior
      
      From the user space perspective, we do not need to change the iproute2 code to
      support the PSP flavor. However, we provide the man page for the PSP flavor in
      a separate patch.
      
      Comments, improvements and suggestions are always appreciated.
      
      [1] - RFC8754: https://datatracker.ietf.org/doc/html/rfc8754
      [2] - RFC8402: https://datatracker.ietf.org/doc/html/rfc8402
      [3] - RFC8986: https://datatracker.ietf.org/doc/html/rfc8986
      [4] - https://datatracker.ietf.org/doc/html/draft-ietf-spring-srv6-srh-compression
      ====================
      
      Link: https://lore.kernel.org/r/20230215134659.7613-1-andrea.mayer@uniroma2.itSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      40967f77
    • Andrea Mayer's avatar
      selftests: seg6: add selftest for PSP flavor in SRv6 End behavior · 5198cb40
      Andrea Mayer authored
      This selftest is designed for testing the PSP flavor in SRv6 End behavior.
      It instantiates a virtual network composed of several nodes: hosts and
      SRv6 routers. Each node is realized using a network namespace that is
      properly interconnected to others through veth pairs.
      The test makes use of the SRv6 End behavior and of the PSP flavor needed
      for removing the SRH from the IPv6 header at the penultimate node.
      
      The correct execution of the behavior is verified through reachability
      tests carried out between hosts.
      Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
      Signed-off-by: default avatarPaolo Lungaroni <paolo.lungaroni@uniroma2.it>
      Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      5198cb40
    • Andrea Mayer's avatar
      seg6: add PSP flavor support for SRv6 End behavior · bdf3c0b9
      Andrea Mayer authored
      The "flavors" framework defined in RFC8986 [1] represents additional
      operations that can modify or extend a subset of existing behaviors such as
      SRv6 End, End.X and End.T. We report these flavors hereafter:
       - Penultimate Segment Pop (PSP);
       - Ultimate Segment Pop (USP);
       - Ultimate Segment Decapsulation (USD).
      
      Depending on how the Segment Routing Header (SRH) has to be handled, an
      SRv6 End* behavior can support these flavors either individually or in
      combinations.
      In this patch, we only consider the PSP flavor for the SRv6 End behavior.
      
      A PSP enabled SRv6 End behavior is used by the Source/Ingress SR node
      (i.e., the one applying the SRv6 Policy) when it needs to instruct the
      penultimate SR Endpoint node listed in the SID List (carried by the SRH) to
      remove the SRH from the IPv6 header.
      
      Specifically, a PSP enabled SRv6 End behavior processes the SRH by:
         i) decreasing the Segment Left (SL) from 1 to 0;
        ii) copying the Last Segment IDentifier (SID) into the IPv6 Destination
            Address (DA);
       iii) removing (i.e., popping) the outer SRH from the extension headers
            following the IPv6 header.
      
      It is important to note that PSP operation (steps i, ii, iii) takes place
      only at a penultimate SR Segment Endpoint node (i.e., when the SL=1) and
      does not happen at non-penultimate Endpoint nodes. Indeed, when a SID of
      PSP flavor is processed at a non-penultimate SR Segment Endpoint node, the
      PSP operation is not performed because it would not be possible to decrease
      the SL from 1 to 0.
      
                                                       SL=2 SL=1 SL=0
                                                         |    |    |
      For example, given the SRv6 policy (SID List := <  X,   Y,   Z  >):
       - a PSP enabled SRv6 End behavior bound to SID "Y" will apply the PSP
         operation as Segment Left (SL) is 1, corresponding to the Penultimate
         Segment of the SID List;
       - a PSP enabled SRv6 End behavior bound to SID "X" will *NOT* apply the
         PSP operation as the Segment Left is 2. This behavior instance will
         apply the "standard" End packet processing, ignoring the configured PSP
         flavor at all.
      
      [1] - RFC8986: https://datatracker.ietf.org/doc/html/rfc8986Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
      Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      bdf3c0b9
    • Andrea Mayer's avatar
      seg6: factor out End lookup nexthop processing to a dedicated function · 525c65ff
      Andrea Mayer authored
      The End nexthop lookup/input operations are moved into a new helper
      function named input_action_end_finish(). This avoids duplicating the
      code needed to compute the nexthop in the different flavors of the End
      behavior.
      Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
      Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      525c65ff
    • Lukas Bulwahn's avatar
      net: dsa: ocelot: fix selecting MFD_OCELOT · f5b12be3
      Lukas Bulwahn authored
      Commit 3d7316ac ("net: dsa: ocelot: add external ocelot switch
      control") adds config NET_DSA_MSCC_OCELOT_EXT, which selects the
      non-existing config MFD_OCELOT_CORE.
      
      Replace this select with the intended and existing MFD_OCELOT.
      Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
      Acked-by: default avatarColin Foster <colin.foster@in-advantage.com>
      Link: https://lore.kernel.org/r/20230215104631.31568-1-lukas.bulwahn@gmail.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f5b12be3