1. 18 Nov, 2022 1 commit
  2. 17 Nov, 2022 7 commits
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 84368d88
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Another set of devicetree and code changes for SoC platforms, notably:
      
         - DT schema warning fixes for i.MX
      
         - Functional fixes for i.MX tqma8mqml-mba8mx USB and i.MX8M OCOTP
      
         - MAINTAINERS updates for Hisilicon and RISC-V, documenting which
           RISC-V SoC specific patches will now get merged through the SoC
           tree in the future.
      
         - A code fix for at91 suspend, to work around broken hardware
      
         - A devicetree fix for lan966x/pcb8291 LED support
      
         - Lots of DT fixes for Qualcomm SoCs, mostly fixing minor problems
           like incorrect register sizes and schema warnings. One fix makes
           the UFS controller work on sc8280xp, and six fixes address the same
           regulator problem in a variety of platforms"
      
      * tag 'soc-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (31 commits)
        MAINTAINERS: repair Microchip corei2c driver entry
        MAINTAINERS: add an entry for StarFive devicetrees
        MAINTAINERS: generify the Microchip RISC-V entry name
        MAINTAINERS: add entries for misc. RISC-V SoC drivers and devicetrees
        MAINTAINERS: git://github.com -> https://github.com for HiSilicon
        soc: imx8m: Enable OCOTP clock before reading the register
        arm64: dts: imx93-pinfunc: drop execution permission
        arm64: dts: imx8mn: Fix NAND controller size-cells
        arm64: dts: imx8mm: Fix NAND controller size-cells
        ARM: dts: imx7: Fix NAND controller size-cells
        arm64: dts: imx8mm-tqma8mqml-mba8mx: Fix USB DR
        ARM: at91: pm: avoid soft resetting AC DLL
        ARM: dts: lan966x: Enable sgpio on pcb8291
        arm64: dts: qcom: sm8250: Disable the not yet supported cluster idle state
        ARM: dts: at91: sama7g5: fix signal name of pin PB2
        arm64: dts: qcom: sc7280: Add the reset reg for lpass audiocc on SC7280
        arm64: dts: qcom: sc8280xp: fix UFS PHY serdes size
        arm64: dts: qcom: sc8280xp: drop broken DP PHY nodes
        arm64: dts: qcom: sc8280xp: fix USB PHY PCS registers
        arm64: dts: qcom: sc8280xp: fix USB1 PHY RX1 registers
        ...
      84368d88
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-6.1-rc6' of https://github.com/ceph/ceph-client · ae753340
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
       "Three filesystem bug fixes, intended for stable"
      
      * tag 'ceph-for-6.1-rc6' of https://github.com/ceph/ceph-client:
        ceph: fix NULL pointer dereference for req->r_session
        ceph: avoid putting the realm twice when decoding snaps fails
        ceph: fix a NULL vs IS_ERR() check when calling ceph_lookup_inode()
        MAINTAINERS: git://github.com -> https://github.com for ceph
      ae753340
    • Linus Torvalds's avatar
      Merge tag 'nfsd-6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · 81ac2565
      Linus Torvalds authored
      Pull nfsd fix from Chuck Lever:
      
       - Fix another tracepoint crash
      
      * tag 'nfsd-6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
        NFSD: Fix trace_nfsd_fh_verify_err() crasher
      81ac2565
    • Linus Torvalds's avatar
      Merge tag 'net-6.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 847ccab8
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from bpf.
      
        Current release - regressions:
      
         - tls: fix memory leak in tls_enc_skb() and tls_sw_fallback_init()
      
        Previous releases - regressions:
      
         - bridge: fix memory leaks when changing VLAN protocol
      
         - dsa: make dsa_master_ioctl() see through port_hwtstamp_get() shims
      
         - dsa: don't leak tagger-owned storage on switch driver unbind
      
         - eth: mlxsw: avoid warnings when not offloaded FDB entry with IPv6
           is removed
      
         - eth: stmmac: ensure tx function is not running in
           stmmac_xdp_release()
      
         - eth: hns3: fix return value check bug of rx copybreak
      
        Previous releases - always broken:
      
         - kcm: close race conditions on sk_receive_queue
      
         - bpf: fix alignment problem in bpf_prog_test_run_skb()
      
         - bpf: fix writing offset in case of fault in
           strncpy_from_kernel_nofault
      
         - eth: macvlan: use built-in RCU list checking
      
         - eth: marvell: add sleep time after enabling the loopback bit
      
         - eth: octeon_ep: fix potential memory leak in octep_device_setup()
      
        Misc:
      
         - tcp: configurable source port perturb table size
      
         - bpf: Convert BPF_DISPATCHER to use static_call() (not ftrace)"
      
      * tag 'net-6.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (51 commits)
        net: use struct_group to copy ip/ipv6 header addresses
        net: usb: smsc95xx: fix external PHY reset
        net: usb: qmi_wwan: add Telit 0x103a composition
        netdevsim: Fix memory leak of nsim_dev->fa_cookie
        tcp: configurable source port perturb table size
        l2tp: Serialize access to sk_user_data with sk_callback_lock
        net: thunderbolt: Fix error handling in tbnet_init()
        net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()
        net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()
        net: dsa: don't leak tagger-owned storage on switch driver unbind
        net/x25: Fix skb leak in x25_lapb_receive_frame()
        net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
        bridge: switchdev: Fix memory leaks when changing VLAN protocol
        net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process
        net: hns3: fix return value check bug of rx copybreak
        net: hns3: fix incorrect hw rss hash type of rx packet
        net: phy: marvell: add sleep time after enabling the loopback bit
        net: ena: Fix error handling in ena_init()
        kcm: close race conditions on sk_receive_queue
        net: ionic: Fix error handling in ionic_init_module()
        ...
      847ccab8
    • Hangbin Liu's avatar
      net: use struct_group to copy ip/ipv6 header addresses · 58e0be1e
      Hangbin Liu authored
      kernel test robot reported warnings when build bonding module with
      make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/bonding/:
      
                       from ../drivers/net/bonding/bond_main.c:35:
      In function ‘fortify_memcpy_chk’,
          inlined from ‘iph_to_flow_copy_v4addrs’ at ../include/net/ip.h:566:2,
          inlined from ‘bond_flow_ip’ at ../drivers/net/bonding/bond_main.c:3984:3:
      ../include/linux/fortify-string.h:413:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of f
      ield (2nd parameter); maybe use struct_group()? [-Wattribute-warning]
        413 |                         __read_overflow2_field(q_size_field, size);
            |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘fortify_memcpy_chk’,
          inlined from ‘iph_to_flow_copy_v6addrs’ at ../include/net/ipv6.h:900:2,
          inlined from ‘bond_flow_ip’ at ../drivers/net/bonding/bond_main.c:3994:3:
      ../include/linux/fortify-string.h:413:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of f
      ield (2nd parameter); maybe use struct_group()? [-Wattribute-warning]
        413 |                         __read_overflow2_field(q_size_field, size);
            |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      This is because we try to copy the whole ip/ip6 address to the flow_key,
      while we only point the to ip/ip6 saddr. Note that since these are UAPI
      headers, __struct_group() is used to avoid the compiler warnings.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Fixes: c3f83241 ("net: Add full IPv6 addresses to flow_keys")
      Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
      Link: https://lore.kernel.org/r/20221115142400.1204786-1-liuhangbin@gmail.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      58e0be1e
    • Alexandru Tachici's avatar
      net: usb: smsc95xx: fix external PHY reset · 809ff97a
      Alexandru Tachici authored
      An external PHY needs settling time after power up or reset.
      In the bind() function an mdio bus is registered. If at this point
      the external PHY is still initialising, no valid PHY ID will be
      read and on phy_find_first() the bind() function will fail.
      
      If an external PHY is present, wait the maximum time specified
      in 802.3 45.2.7.1.1.
      
      Fixes: 05b35e7e ("smsc95xx: add phylib support")
      Signed-off-by: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Link: https://lore.kernel.org/r/20221115114434.9991-2-alexandru.tachici@analog.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      809ff97a
    • Enrico Sau's avatar
      net: usb: qmi_wwan: add Telit 0x103a composition · e103ba33
      Enrico Sau authored
      Add the following Telit LE910C4-WWX composition:
      
      0x103a: rmnet
      Signed-off-by: default avatarEnrico Sau <enrico.sau@gmail.com>
      Acked-by: default avatarBjørn Mork <bjorn@mork.no>
      Link: https://lore.kernel.org/r/20221115105859.14324-1-enrico.sau@gmail.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      e103ba33
  3. 16 Nov, 2022 22 commits
  4. 15 Nov, 2022 10 commits