1. 05 Mar, 2022 7 commits
    • Geliang Tang's avatar
      mptcp: add the mibs for MP_FASTCLOSE · 1e75629c
      Geliang Tang authored
      This patch added two more mibs for MP_FASTCLOSE, MPTCP_MIB_MPFASTCLOSETX
      for the MP_FASTCLOSE sending and MPTCP_MIB_MPFASTCLOSERX for receiving.
      
      Also added a debug log for MP_FASTCLOSE receiving, printed out the recv_key
      of MP_FASTCLOSE in mptcp_parse_option to show that MP_RST is received.
      Signed-off-by: default avatarGeliang Tang <geliang.tang@suse.com>
      Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      1e75629c
    • Geliang Tang's avatar
      selftests: mptcp: adjust output alignment for more tests · 9a0a9367
      Geliang Tang authored
      The number of self tests in mptcp_join.sh will soon be more than 100, the
      output alignment is no longer OK. This patch adjusted it.
      Signed-off-by: default avatarGeliang Tang <geliang.tang@suse.com>
      Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      9a0a9367
    • Meng Tang's avatar
      bcm63xx_enet: Use platform_get_irq() to get the interrupt · 43ff0d76
      Meng Tang authored
      platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on
      static allocation of IRQ resources in DT core code, this
      causes an issue when using hierarchical interrupt domains
      using "interrupts" property in the node as this bypassed
      the hierarchical setup and messed up the irq chaining.
      
      In preparation for removal of static setup of IRQ resource
      from DT core code use platform_get_irq().
      Signed-off-by: default avatarMeng Tang <tangmeng@uniontech.com>
      Link: https://lore.kernel.org/r/20220303100815.25605-1-tangmeng@uniontech.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      43ff0d76
    • Jonathan Lemon's avatar
      ptp: ocp: Add serial port information to the debug summary · 61fd7ac2
      Jonathan Lemon authored
      On the debug summary page, show the /dev/ttyS<port> mapping.
      Signed-off-by: default avatarJonathan Lemon <jonathan.lemon@gmail.com>
      Link: https://lore.kernel.org/r/20220304054615.1737-1-jonathan.lemon@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      61fd7ac2
    • Horatiu Vultur's avatar
      net: sparx5: Fix initialization of variables on stack · 349fa279
      Horatiu Vultur authored
      The variables 'res' inside the functions sparx5_ptp_get_1ppm and
      sparx5_ptp_get_nominal_value was not initialized. So in case of the default
      case of the switch after, it would return an uninitialized variable.
      This makes also the clang builds to failed.
      
      Fixes: 0933bd04 ("net: sparx5: Add support for ptp clocks")
      Signed-off-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
      Link: https://lore.kernel.org/r/20220304140918.3356873-1-horatiu.vultur@microchip.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      349fa279
    • Jakub Kicinski's avatar
      Merge tag 'for-net-next-2022-03-04' of... · 2bc0a832
      Jakub Kicinski authored
      Merge tag 'for-net-next-2022-03-04' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
      
      Luiz Augusto von Dentz says:
      
      ====================
      bluetooth-next pull request for net-next:
      
       - Add new PID/VID (0x13d3/0x3567) for MT7921
       - Add new PID/VID (0x2550/0x8761) for Realtek 8761BU
       - Add support for LG LGSBWAC02 (MT7663BUN)
       - Add support for BCM43430A0 and BCM43430A1
       - Add support for Intel Madison Peak (MsP2)
      
      * tag 'for-net-next-2022-03-04' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next: (21 commits)
        Bluetooth: btusb: Add another Realtek 8761BU
        Bluetooth: hci_bcm: add BCM43430A0 & BCM43430A1
        Bluetooth: use memset avoid memory leaks
        Bluetooth: btmtksdio: Fix kernel oops when sdio suspend.
        Bluetooth: btusb: Add a new PID/VID 13d3/3567 for MT7921
        Bluetooth: move adv_instance_cnt read within the device lock
        Bluetooth: hci_event: Add missing locking on hdev in hci_le_ext_adv_term_evt
        Bluetooth: btusb: Make use of of BIT macro to declare flags
        Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
        Bluetooth: mediatek: fix the conflict between mtk and msft vendor event
        Bluetooth: mt7921s: support bluetooth reset mechanism
        Bluetooth: make array bt_uuid_any static const
        Bluetooth: 6lowpan: No need to clear memory twice
        Bluetooth: btusb: Improve stability for QCA devices
        Bluetooth: btusb: add support for LG LGSBWAC02 (MT7663BUN)
        Bluetooth: btusb: Add support for Intel Madison Peak (MsP2) device
        Bluetooth: Improve skb handling in mgmt_device_connected()
        Bluetooth: Fix skb allocation in mgmt_remote_name() & mgmt_device_connected()
        Bluetooth: mgmt: Remove unneeded variable
        Bluetooth: hci_sync: fix undefined return of hci_disconnect_all_sync()
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220304193919.649815-1-luiz.dentz@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      2bc0a832
    • Jakub Kicinski's avatar
      Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 6646dc24
      Jakub Kicinski authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2022-03-04
      
      We've added 32 non-merge commits during the last 14 day(s) which contain
      a total of 59 files changed, 1038 insertions(+), 473 deletions(-).
      
      The main changes are:
      
      1) Optimize BPF stackmap's build_id retrieval by caching last valid build_id,
         as consecutive stack frames are likely to be in the same VMA and therefore
         have the same build id, from Hao Luo.
      
      2) Several improvements to arm64 BPF JIT, that is, support for JITing
         the atomic[64]_fetch_add, atomic[64]_[fetch_]{and,or,xor} and lastly
         atomic[64]_{xchg|cmpxchg}. Also fix the BTF line info dump for JITed
         programs, from Hou Tao.
      
      3) Optimize generic BPF map batch deletion by only enforcing synchronize_rcu()
         barrier once upon return to user space, from Eric Dumazet.
      
      4) For kernel build parse DWARF and generate BTF through pahole with enabled
         multithreading, from Kui-Feng Lee.
      
      5) BPF verifier usability improvements by making log info more concise and
         replacing inv with scalar type name, from Mykola Lysenko.
      
      6) Two follow-up fixes for BPF prog JIT pack allocator, from Song Liu.
      
      7) Add a new Kconfig to allow for loading kernel modules with non-matching
         BTF type info; their BTF info is then removed on load, from Connor O'Brien.
      
      8) Remove reallocarray() usage from bpftool and switch to libbpf_reallocarray()
         in order to fix compilation errors for older glibc, from Mauricio Vásquez.
      
      9) Fix libbpf to error on conflicting name in BTF when type declaration
         appears before the definition, from Xu Kuohai.
      
      10) Fix issue in BPF preload for in-kernel light skeleton where loaded BPF
          program fds prevent init process from setting up fd 0-2, from Yucong Sun.
      
      11) Fix libbpf reuse of pinned perf RB map when max_entries is auto-determined
          by libbpf, from Stijn Tintel.
      
      12) Several cleanups for libbpf and a fix to enforce perf RB map #pages to be
          non-zero, from Yuntao Wang.
      
      * https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (32 commits)
        bpf: Small BPF verifier log improvements
        libbpf: Add a check to ensure that page_cnt is non-zero
        bpf, x86: Set header->size properly before freeing it
        x86: Disable HAVE_ARCH_HUGE_VMALLOC on 32-bit x86
        bpf, test_run: Fix overflow in XDP frags bpf_test_finish
        selftests/bpf: Update btf_dump case for conflicting names
        libbpf: Skip forward declaration when counting duplicated type names
        bpf: Add some description about BPF_JIT_ALWAYS_ON in Kconfig
        bpf, docs: Add a missing colon in verifier.rst
        bpf: Cache the last valid build_id
        libbpf: Fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinning
        bpf, selftests: Use raw_tp program for atomic test
        bpf, arm64: Support more atomic operations
        bpftool: Remove redundant slashes
        bpf: Add config to allow loading modules with BTF mismatches
        bpf, arm64: Feed byte-offset into bpf line info
        bpf, arm64: Call build_prologue() first in first JIT pass
        bpf: Fix issue with bpf preload module taking over stdout/stdin of kernel.
        bpftool: Bpf skeletons assert type sizes
        bpf: Cleanup comments
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220304164313.31675-1-daniel@iogearbox.netSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      6646dc24
  2. 04 Mar, 2022 33 commits