1. 02 Mar, 2023 3 commits
  2. 01 Mar, 2023 13 commits
    • Linus Torvalds's avatar
      Merge tag 'nfsd-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · ee3f96b1
      Linus Torvalds authored
      Pull nfsd fix from Chuck Lever:
      
       - Make new GSS Kerberos Kunit tests work on non-x86 platforms
      
      * tag 'nfsd-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
        SUNRPC: Properly terminate test case arrays
        SUNRPC: Let Kunit tests run with some enctypes compiled out
      ee3f96b1
    • Arnd Bergmann's avatar
      power: supply: qcom_battmgr: remove bogus do_div() · 92304df8
      Arnd Bergmann authored
      The argument to do_div() is a 32-bit integer, and it was read from a
      32-bit register so there is no point in doing a 64-bit division on it.
      
      On 32-bit arm, do_div() causes a compile-time warning here:
      
          include/asm-generic/div64.h:238:22: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types]
            238 |   __rem = __div64_32(&(n), __base); \
                |                      ^~~~
                |                      |
                |                      unsigned int *
          drivers/power/supply/qcom_battmgr.c:1130:4: note: in expansion of macro 'do_div'
           1130 |    do_div(battmgr->status.percent, 100);
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
      Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      92304df8
    • Linus Torvalds's avatar
      capability: just use a 'u64' instead of a 'u32[2]' array · f122a08b
      Linus Torvalds authored
      Back in 2008 we extended the capability bits from 32 to 64, and we did
      it by extending the single 32-bit capability word from one word to an
      array of two words.  It was then obfuscated by hiding the "2" behind two
      macro expansions, with the reasoning being that maybe it gets extended
      further some day.
      
      That reasoning may have been valid at the time, but the last thing we
      want to do is to extend the capability set any more.  And the array of
      values not only causes source code oddities (with loops to deal with
      it), but also results in worse code generation.  It's a lose-lose
      situation.
      
      So just change the 'u32[2]' into a 'u64' and be done with it.
      
      We still have to deal with the fact that the user space interface is
      designed around an array of these 32-bit values, but that was the case
      before too, since the array layouts were different (ie user space
      doesn't use an array of 32-bit values for individual capability masks,
      but an array of 32-bit slices of multiple masks).
      
      So that marshalling of data is actually simplified too, even if it does
      remain somewhat obscure and odd.
      
      This was all triggered by my reaction to the new "cap_isidentical()"
      introduced recently.  By just using a saner data structure, it went from
      
      	unsigned __capi;
      	CAP_FOR_EACH_U32(__capi) {
      		if (a.cap[__capi] != b.cap[__capi])
      			return false;
      	}
      	return true;
      
      to just being
      
      	return a.val == b.val;
      
      instead.  Which is rather more obvious both to humans and to compilers.
      
      Cc: Mateusz Guzik <mjguzik@gmail.com>
      Cc: Casey Schaufler <casey@schaufler-ca.com>
      Cc: Serge Hallyn <serge@hallyn.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Paul Moore <paul@paul-moore.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f122a08b
    • Linus Torvalds's avatar
      Merge tag 'sh-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux · 1d2aea1b
      Linus Torvalds authored
      Pull sh updates from John Paul Adrian Glaubitz:
      
       - regression fix in connection with the rtl8169 driver on SuperH boards
         that was introduced when the driver was switched to use
         devm_clk_get_optional_enabled() to simplify the code (Geert
         Uytterhoeven)
      
       - build warning fix to allow the kernel to be built with CONFIG_WERROR
         enabled (Michael Karcher)
      
      * tag 'sh-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
        sh: clk: Fix clk_enable() to return 0 on NULL clk
        sh: intc: Avoid spurious sizeof-pointer-div warning
      1d2aea1b
    • Linus Torvalds's avatar
      Merge tag 'loongarch-6.3' of... · a8356cdb
      Linus Torvalds authored
      Merge tag 'loongarch-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
      
      Pull LoongArch updates from Huacai Chen:
      
       - Make -mstrict-align configurable
      
       - Add kernel relocation and KASLR support
      
       - Add single kernel image implementation for kdump
      
       - Add hardware breakpoints/watchpoints support
      
       - Add kprobes/kretprobes/kprobes_on_ftrace support
      
       - Add LoongArch support for some selftests.
      
      * tag 'loongarch-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: (23 commits)
        selftests/ftrace: Add LoongArch kprobe args string tests support
        selftests/seccomp: Add LoongArch selftesting support
        tools: Add LoongArch build infrastructure
        samples/kprobes: Add LoongArch support
        LoongArch: Mark some assembler symbols as non-kprobe-able
        LoongArch: Add kprobes on ftrace support
        LoongArch: Add kretprobes support
        LoongArch: Add kprobes support
        LoongArch: Simulate branch and PC* instructions
        LoongArch: ptrace: Add hardware single step support
        LoongArch: ptrace: Add function argument access API
        LoongArch: ptrace: Expose hardware breakpoints to debuggers
        LoongArch: Add hardware breakpoints/watchpoints support
        LoongArch: kdump: Add crashkernel=YM handling
        LoongArch: kdump: Add single kernel image implementation
        LoongArch: Add support for kernel address space layout randomization (KASLR)
        LoongArch: Add support for kernel relocation
        LoongArch: Add la_abs macro implementation
        LoongArch: Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs
        LoongArch: Use la.pcrel instead of la.abs when it's trivially possible
        ...
      a8356cdb
    • Linus Torvalds's avatar
      Merge tag 'uml-for-linus-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux · 64e85168
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Add support for rust (yay!)
      
       - Add support for LTO
      
       - Add platform bus support to virtio-pci
      
       - Various virtio fixes
      
       - Coding style, spelling cleanups
      
      * tag 'uml-for-linus-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux: (27 commits)
        Documentation: rust: Fix arch support table
        uml: vector: Remove unused definitions VECTOR_{WRITE,HEADERS}
        um: virt-pci: properly remove PCI device from bus
        um: virtio_uml: move device breaking into workqueue
        um: virtio_uml: mark device as unregistered when breaking it
        um: virtio_uml: free command if adding to virtqueue failed
        UML: define RUNTIME_DISCARD_EXIT
        virt-pci: add platform bus support
        um-virt-pci: Make max delay configurable
        um: virt-pci: implement pcibios_get_phb_of_node()
        um: Support LTO
        um: put power options in a menu
        um: Use CFLAGS_vmlinux
        um: Prevent building modules incompatible with MODVERSIONS
        um: Avoid pcap multiple definition errors
        um: Make the definition of cpu_data more compatible
        x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
        rust: arch/um: Add support for CONFIG_RUST under x86_64 UML
        rust: arch/um: Disable FP/SIMD instruction to match x86
        rust: arch/um: Use 'pie' relocation mode under UML
        ...
      64e85168
    • Linus Torvalds's avatar
      Merge tag 'ubifs-for-linus-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · e31b283a
      Linus Torvalds authored
      Pull jffs2, ubi and ubifs updates from Richard Weinberger:
       "JFFS2:
         - Fix memory corruption in error path
         - Spelling and coding style fixes
      
        UBI:
         - Switch to BLK_MQ_F_BLOCKING in ubiblock
         - Wire up partent device (for sysfs)
         - Multiple UAF bugfixes
         - Fix for an infinite loop in WL error path
      
        UBIFS:
         - Fix for multiple memory leaks in error paths
         - Fixes for wrong space accounting
         - Minor cleanups
         - Spelling and coding style fixes"
      
      * tag 'ubifs-for-linus-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs: (36 commits)
        ubi: block: Fix a possible use-after-free bug in ubiblock_create()
        ubifs: make kobj_type structures constant
        mtd: ubi: block: wire-up device parent
        mtd: ubi: wire-up parent MTD device
        ubi: use correct names in function kernel-doc comments
        ubi: block: set BLK_MQ_F_BLOCKING
        jffs2: Fix list_del corruption if compressors initialized failed
        jffs2: Use function instead of macro when initialize compressors
        jffs2: fix spelling mistake "neccecary"->"necessary"
        ubifs: Fix kernel-doc
        ubifs: Fix some kernel-doc comments
        UBI: Fastmap: Fix kernel-doc
        ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
        ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
        ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
        ubifs: ubifs_releasepage: Remove ubifs_assert(0) to valid this process
        ubifs: ubifs_writepage: Mark page dirty after writing inode failed
        ubifs: dirty_cow_znode: Fix memleak in error handling path
        ubifs: Re-statistic cleaned znode count if commit failed
        ubi: Fix permission display of the debugfs files
        ...
      e31b283a
    • Linus Torvalds's avatar
      Merge tag '9p-6.3-for-linus-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs · 3808330b
      Linus Torvalds authored
      Pull 9p updates from Eric Van Hensbergen:
      
       - some fixes and cleanup setting up for a larger set of performance
         patches I've been working on
      
       - a contributed fixes relating to 9p/rdma
      
       - some contributed fixes relating to 9p/xen
      
      * tag '9p-6.3-for-linus-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
        fs/9p: fix error reporting in v9fs_dir_release
        net/9p: fix bug in client create for .L
        9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
        9p/xen: fix connection sequence
        9p/xen: fix version parsing
        fs/9p: Expand setup of writeback cache to all levels
        net/9p: Adjust maximum MSIZE to account for p9 header
      3808330b
    • Linus Torvalds's avatar
      Merge tag 'jfs-6.3' of https://github.com/kleikamp/linux-shaggy · 6e110580
      Linus Torvalds authored
      Pull jfs update from Dave Kleikamp:
       "Just one simple sanity check"
      
      * tag 'jfs-6.3' of https://github.com/kleikamp/linux-shaggy:
        fs/jfs: fix shift exponent db_agl2size negative
      6e110580
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · e103eced
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - Handle vendor extension and allocation entries as unrecognized benign
         secondary entries
      
       - Fix wrong ->i_blocks on devices with non-512 byte sector
      
       - Add the check to avoid returning -EIO from exfat_readdir() at current
         position exceeding the directory size
      
       - Fix a bug that reach the end of the directory stream at a position
         not aligned with the dentry size
      
       - Redefine DIR_DELETED as 0xFFFFFFF7, the bad cluster number
      
       - Two cleanup fixes and fix cluster leakage in error handling
      
      * tag 'exfat-for-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: fix the newly allocated clusters are not freed in error handling
        exfat: don't print error log in normal case
        exfat: remove unneeded code from exfat_alloc_cluster()
        exfat: handle unreconized benign secondary entries
        exfat: fix inode->i_blocks for non-512 byte sector size device
        exfat: redefine DIR_DELETED as the bad cluster number
        exfat: fix reporting fs error when reading dir beyond EOF
        exfat: fix unexpected EOF while reading dir
      e103eced
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · c0927a7a
      Linus Torvalds authored
      Pull moar xfs updates from Darrick Wong:
       "This contains a fix for a deadlock in the allocator. It continues the
        slow march towards being able to offline AGs, and it refactors the
        interface to the xfs allocator to be less indirection happy.
      
        Summary:
      
         - Fix a deadlock in the free space allocator due to the AG-walking
           algorithm forgetting to follow AG-order locking rules
      
         - Make the inode allocator prefer existing free inodes instead of
           failing to allocate new inode chunks when free space is low
      
         - Set minleft correctly when setting allocator parameters for bmap
           changes
      
         - Fix uninitialized variable access in the getfsmap code
      
         - Make a distinction between active and passive per-AG structure
           references. For now, active references are taken to perform some
           work in an AG on behalf of a high level operation; passive
           references are used by lower level code to finish operations
           started by other threads. Eventually this will become part of
           online shrink
      
         - Split out all the different allocator strategies into separate
           functions to move us away from design antipattern of filling out a
           huge structure for various differentish things and issuing a single
           function multiplexing call
      
         - Various cleanups in the filestreams allocator code, which we might
           very well want to deprecate instead of continuing
      
         - Fix a bug with the agi rotor code that was introduced earlier in
           this series"
      
      * tag 'xfs-6.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (44 commits)
        xfs: restore old agirotor behavior
        xfs: fix uninitialized variable access
        xfs: refactor the filestreams allocator pick functions
        xfs: return a referenced perag from filestreams allocator
        xfs: pass perag to filestreams tracing
        xfs: use for_each_perag_wrap in xfs_filestream_pick_ag
        xfs: track an active perag reference in filestreams
        xfs: factor out MRU hit case in xfs_filestream_select_ag
        xfs: remove xfs_filestream_select_ag() longest extent check
        xfs: merge new filestream AG selection into xfs_filestream_select_ag()
        xfs: merge filestream AG lookup into xfs_filestream_select_ag()
        xfs: move xfs_bmap_btalloc_filestreams() to xfs_filestreams.c
        xfs: use xfs_bmap_longest_free_extent() in filestreams
        xfs: get rid of notinit from xfs_bmap_longest_free_extent
        xfs: factor out filestreams from xfs_bmap_btalloc_nullfb
        xfs: convert trim to use for_each_perag_range
        xfs: convert xfs_alloc_vextent_iterate_ags() to use perag walker
        xfs: move the minimum agno checks into xfs_alloc_vextent_check_args
        xfs: fold xfs_alloc_ag_vextent() into callers
        xfs: move allocation accounting to xfs_alloc_vextent_set_fsbno()
        ...
      c0927a7a
    • Linus Torvalds's avatar
      Merge tag 'i3c/for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux · 1899946a
      Linus Torvalds authored
      Pull i3c updates from Alexandre Belloni:
       "Subsystem:
         - transfer pid from boardinfo to device info
      
        Drivers:
         - dw-i3c-master: stop hardcoding initial speed"
      
      * tag 'i3c/for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux:
        i3c: master: dw: stop hardcoding initial speed
        i3c: transfer pid from boardinfo to device info
      1899946a
    • Linus Torvalds's avatar
      Merge tag 'docs-6.3-2' of git://git.lwn.net/linux · b1f1382a
      Linus Torvalds authored
      Pull Documentation stragglers from Jonathan Corbet:
       "A handful of documentation patches that were ready before the merge
        window, but which I didn't get merged for the first round:
      
         - A recommendation from Thorsten (also akpm) on use of Link tags to
           point out problem reports
      
         - Some front-page formatting tweaks
      
         - Another Spanish translation
      
         - One typo(ish) fix"
      
      * tag 'docs-6.3-2' of git://git.lwn.net/linux:
        docs: recommend using Link: whenever using Reported-by:
        Documentation: front page: use recommended heading adornments
        docs/sp_SP: Add process programming-language translation
        docs: locking: refer to the actual existing config names
      b1f1382a
  3. 28 Feb, 2023 12 commits
  4. 27 Feb, 2023 12 commits
    • David Gow's avatar
      kunit: Fix 'hooks.o' build by recursing into kunit · 32ff6831
      David Gow authored
      KUnit's 'hooks.o' file need to be built-in whenever KUnit is enabled
      (even if CONFIG_KUNIT=m).  We'd previously attemtped to do this by
      adding 'kunit/hooks.o' to obj-y in lib/Makefile, but this caused hooks.c
      to be rebuilt even when it was unchanged.
      
      Instead, always recurse into lib/kunit using obj-y when KUnit is
      enabled, and add the hooks there.
      
      Fixes: 7170b7ed ("kunit: Add "hooks" to call into KUnit when it's built as a module").
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Link: https://lore.kernel.org/linux-kselftest/CAHk-=wiEf7irTKwPJ0jTMOF3CS-13UXmF6Fns3wuWpOZ_wGyZQ@mail.gmail.com/Signed-off-by: default avatarDavid Gow <davidgow@google.com>
      Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      32ff6831
    • Linus Torvalds's avatar
      Merge tag 'net-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 5ca26d60
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from wireless and netfilter.
      
        The notable fixes here are the EEE fix which restores boot for many
        embedded platforms (real and QEMU); WiFi warning suppression and the
        ICE Kconfig cleanup.
      
        Current release - regressions:
      
         - phy: multiple fixes for EEE rework
      
         - wifi: wext: warn about usage only once
      
         - wifi: ath11k: allow system suspend to survive ath11k
      
        Current release - new code bugs:
      
         - mlx5: Fix memory leak in IPsec RoCE creation
      
         - ibmvnic: assign XPS map to correct queue index
      
        Previous releases - regressions:
      
         - netfilter: ip6t_rpfilter: Fix regression with VRF interfaces
      
         - netfilter: ctnetlink: make event listener tracking global
      
         - nf_tables: allow to fetch set elements when table has an owner
      
         - mlx5:
            - fix skb leak while fifo resync and push
            - fix possible ptp queue fifo use-after-free
      
        Previous releases - always broken:
      
         - sched: fix action bind logic
      
         - ptp: vclock: use mutex to fix "sleep on atomic" bug if driver also
           uses a mutex
      
         - netfilter: conntrack: fix rmmod double-free race
      
         - netfilter: xt_length: use skb len to match in length_mt6, avoid
           issues with BIG TCP
      
        Misc:
      
         - ice: remove unnecessary CONFIG_ICE_GNSS
      
         - mlx5e: remove hairpin write debugfs files
      
         - sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"
      
      * tag 'net-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (53 commits)
        tcp: tcp_check_req() can be called from process context
        net: phy: c45: fix network interface initialization failures on xtensa, arm:cubieboard
        xen-netback: remove unused variables pending_idx and index
        net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy
        net: dsa: ocelot_ext: remove unnecessary phylink.h include
        net: mscc: ocelot: fix duplicate driver name error
        net: dsa: felix: fix internal MDIO controller resource length
        net: dsa: seville: ignore mscc-miim read errors from Lynx PCS
        net/sched: act_sample: fix action bind logic
        net/sched: act_mpls: fix action bind logic
        net/sched: act_pedit: fix action bind logic
        wifi: wext: warn about usage only once
        wifi: mt76: usb: fix use-after-free in mt76u_free_rx_queue
        qede: avoid uninitialized entries in coal_entry array
        nfc: fix memory leak of se_io context in nfc_genl_se_io
        ice: remove unnecessary CONFIG_ICE_GNSS
        net/sched: cls_api: Move call to tcf_exts_miss_cookie_base_destroy()
        ibmvnic: Assign XPS map to correct queue index
        docs: net: fix inaccuracies in msg_zerocopy.rst
        tools: net: add __pycache__ to gitignore
        ...
      5ca26d60
    • Chuck Lever's avatar
      SUNRPC: Properly terminate test case arrays · fb5b855d
      Chuck Lever authored
      Unable to handle kernel paging request at virtual address 73657420 when execute
      [73657420] *pgd=00000000
      Internal error: Oops: 80000005 [#1] ARM
      CPU: 0 PID: 1 Comm: swapper Tainted: G                 N 6.2.0-rc7-00133-g373f26a81164-dirty #9
      Hardware name: Generic DT based system
      PC is at 0x73657420
      LR is at kunit_run_tests+0x3e0/0x5f4
      
      On x86 with GCC 12, the missing array terminators did not seem to
      matter. Other platforms appear to be more picky.
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      fb5b855d
    • Chuck Lever's avatar
      SUNRPC: Let Kunit tests run with some enctypes compiled out · fe90151c
      Chuck Lever authored
      Allow the new GSS Kerberos encryption type test suites to run
      outside of the kunit infrastructure. Replace the assertion that
      fires when lookup_enctype() so that the case is skipped instead of
      failing outright.
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      fe90151c
    • Eric Dumazet's avatar
      tcp: tcp_check_req() can be called from process context · 580f98cc
      Eric Dumazet authored
      This is a follow up of commit 0a375c82 ("tcp: tcp_rtx_synack()
      can be called from process context").
      
      Frederick Lawler reported another "__this_cpu_add() in preemptible"
      warning caused by the same reason.
      
      In my former patch I took care of tcp_rtx_synack()
      but forgot that tcp_check_req() also contained some SNMP updates.
      
      Note that some parts of tcp_check_req() always run in BH context,
      I added a comment to clarify this.
      
      Fixes: 8336886f ("tcp: TCP Fast Open Server - support TFO listeners")
      Link: https://lore.kernel.org/netdev/8cd33923-a21d-397c-e46b-2a068c287b03@cloudflare.com/T/Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Reported-by: default avatarFrederick Lawler <fred@cloudflare.com>
      Tested-by: default avatarFrederick Lawler <fred@cloudflare.com>
      Link: https://lore.kernel.org/r/20230227083336.4153089-1-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      580f98cc
    • Oleksij Rempel's avatar
      net: phy: c45: fix network interface initialization failures on xtensa, arm:cubieboard · 972074ea
      Oleksij Rempel authored
      Without proper initialization, "changed" returned random numbers and caused
      interface initialization failures.
      
      Fixes: 022c3f87 ("net: phy: add genphy_c45_ethtool_get/set_eee() support")
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
      Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
      Link: https://lore.kernel.org/r/20230225071644.2754893-1-o.rempel@pengutronix.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      972074ea
    • Tom Rix's avatar
      xen-netback: remove unused variables pending_idx and index · ccf8f7d7
      Tom Rix authored
      building with gcc and W=1 reports
      drivers/net/xen-netback/netback.c:886:21: error: variable
        ‘pending_idx’ set but not used [-Werror=unused-but-set-variable]
        886 |                 u16 pending_idx;
            |                     ^~~~~~~~~~~
      
      pending_idx is not used so remove it.  Since index was only
      used to set pending_idx, remove index as well.
      Signed-off-by: default avatarTom Rix <trix@redhat.com>
      Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
      Link: https://lore.kernel.org/r/20230226163429.2351600-1-trix@redhat.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      ccf8f7d7
    • Jakub Kicinski's avatar
      Merge tag 'wireless-2023-02-27' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless · 4db692d6
      Jakub Kicinski authored
      Kalle Valo says:
      
      ====================
      wireless fixes for v6.3
      
      First set of fixes for v6.3. We have only three oneliners. The most
      important one is the patch reducing warnings about the Wireless
      Extensions usage, reported by Linus.
      
      * tag 'wireless-2023-02-27' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless:
        wifi: wext: warn about usage only once
        wifi: mt76: usb: fix use-after-free in mt76u_free_rx_queue
        wifi: ath11k: allow system suspend to survive ath11k
      ====================
      
      Link: https://lore.kernel.org/r/20230227131053.BD779C433D2@smtp.kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      4db692d6
    • Linus Torvalds's avatar
      Merge tag 'arm-fixes-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 98281842
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "A few bugfixes already came up during the merge window. Samsung,
        ASpeed, Spear have minor DT changes, in case of Samsung this fixes a
        regression compared to earlier versions.
      
        Bartosz takes over as the primary maintainer for the TI DaVinci
        platform, and we get a few last minute defconfig changes"
      
      * tag 'arm-fixes-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: dts: spear320-hmi: correct STMPE GPIO compatible
        ARM: dts: aspeed: p10bmc: Update battery node name
        arm64: defconfig: Add IOSCHED_BFQ to the default configs
        arm64: defconfig: Fix unintentional disablement of PCI on i.MX
        ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
        ARM: dts: exynos: correct TMU phandle in Odroid HC1
        ARM: dts: exynos: correct TMU phandle in Odroid XU
        ARM: dts: exynos: correct TMU phandle in Exynos5250
        ARM: dts: exynos: correct TMU phandle in Exynos4210
        ARM: dts: exynos: correct TMU phandle in Exynos4
        MAINTAINERS: make me the maintainer of DaVinci platforms
      98281842
    • Linus Torvalds's avatar
      Merge tag 'soc-drivers-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 11c70529
      Linus Torvalds authored
      Pull ARM SoC driver updates from Arnd Bergmann:
       "As usual, there are lots of minor driver changes across SoC platforms
        from NXP, Amlogic, AMD Zynq, Mediatek, Qualcomm, Apple and Samsung.
        These usually add support for additional chip variations in existing
        drivers, but also add features or bugfixes.
      
        The SCMI firmware subsystem gains a unified raw userspace interface
        through debugfs, which can be used for validation purposes.
      
        Newly added drivers include:
      
         - New power management drivers for StarFive JH7110, Allwinner D1 and
           Renesas RZ/V2M
      
         - A driver for Qualcomm battery and power supply status
      
         - A SoC device driver for identifying Nuvoton WPCM450 chips
      
         - A regulator coupler driver for Mediatek MT81xxv"
      
      * tag 'soc-drivers-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (165 commits)
        power: supply: Introduce Qualcomm PMIC GLINK power supply
        soc: apple: rtkit: Do not copy the reg state structure to the stack
        soc: sunxi: SUN20I_PPU should depend on PM
        memory: renesas-rpc-if: Remove redundant division of dummy
        soc: qcom: socinfo: Add IDs for IPQ5332 and its variant
        dt-bindings: arm: qcom,ids: Add IDs for IPQ5332 and its variant
        dt-bindings: power: qcom,rpmpd: add RPMH_REGULATOR_LEVEL_LOW_SVS_L1
        firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/
        MAINTAINERS: Update qcom CPR maintainer entry
        dt-bindings: firmware: document Qualcomm SM8550 SCM
        dt-bindings: firmware: qcom,scm: add qcom,scm-sa8775p compatible
        soc: qcom: socinfo: Add Soc IDs for IPQ8064 and variants
        dt-bindings: arm: qcom,ids: Add Soc IDs for IPQ8064 and variants
        soc: qcom: socinfo: Add support for new field in revision 17
        soc: qcom: smd-rpm: Add IPQ9574 compatible
        soc: qcom: pmic_glink: remove redundant calculation of svid
        soc: qcom: stats: Populate all subsystem debugfs files
        dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes
        soc: qcom: pmic_glink: add CONFIG_NET/CONFIG_OF dependencies
        soc: qcom: pmic_glink: Introduce altmode support
        ...
      11c70529
    • Linus Torvalds's avatar
      Merge tag 'fuse-update-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · d40b2f4c
      Linus Torvalds authored
      Pull fuse updates from Miklos Szeredi:
      
       - Fix regression in fileattr permission checking
      
       - Fix possible hang during PID namespace destruction
      
       - Add generic support for request extensions
      
       - Add supplementary group list extension
      
       - Add limited support for supplying supplementary groups in create
         requests
      
       - Documentation fixes
      
      * tag 'fuse-update-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: add inode/permission checks to fileattr_get/fileattr_set
        fuse: fix all W=1 kernel-doc warnings
        fuse: in fuse_flush only wait if someone wants the return code
        fuse: optional supplementary group in create requests
        fuse: add request extension
      d40b2f4c
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · da15efe1
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Extend slot-gpio to be used for host specific card detect interrupts
         - Align to common busy polling behaviour for mmc ioctls
         - Suggest the BFQ I/O scheduler to be built along with MMC/SD support
         - Add devm_mmc_alloc_host() to enable further cleanups in host drivers
      
        MMC host:
         - atmel-mci: Fix race condition when stopping/starting a command
         - dw_mmc-starfive: Add new driver to support the StarFive JH7110 variant
         - dw_mmc-rockchip: Add support for the RK3588 variant
         - jz4740: Add support for the vqmmc power supply
         - meson-gx: Convert the DT bindings to the dt-schema
         - meson-gx: Enable the platform interrupt to be used for card detect
         - moxart: Set the supported maximum request/block/segment sizes
         - renesas,sdhi: Add support for the RZ/V2M variants
         - sdhci: Rework code to drop SDHCI_QUIRK_MISSING_CAPS
         - sdhci-esdhc-imx: Improve tuning logic support
         - sdhci-msm: Add support for the IPQ5332 and the IPQ9574 variants
         - sdhci-of-dwcmshc: Add the missing device table IDs for acpi
         - sdhci-of-dwcmshc: Improve clock support for the Rockchip variant
         - sdhci-of-dwcmshc: Enable support of V4 host for the BlueField-3 variant
         - sdhci-pxav2: Add support for the PXA168 V1 variant
         - sdhci-pxav2: Add support for SDIO IRQs for the PXA168 V1 variant
         - uniphier-sd: Add support for SD UHS-I speed modes"
      
      * tag 'mmc-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (59 commits)
        mmc: meson-gx: Use devm_platform_get_and_ioremap_resource()
        mmc: meson-gx: constify member data of struct meson_host
        mmc: meson-gx: use devm_clk_get_enabled() for core clock
        mmc: core: fix return value check in devm_mmc_alloc_host()
        dt-bindings: mmc: meson-gx: fix interrupt binding
        mmc: meson-gx: support platform interrupt as card detect interrupt
        dt-bindings: mmc: meson-gx: support specifying cd interrupt
        mmc: core: support setting card detect interrupt from drivers
        mmc: starfive: Add sdio/emmc driver support
        dt-bindings: mmc: Add StarFive MMC module
        dt-bindings: mmc: sdhci-msm: Allow 1 icc path
        dt-bindings: mmc: rockchip-dw-mshc: Add RK3588 compatible string
        mmc: core: Align to common busy polling behaviour for mmc ioctls
        dt-bindings: mmc: Add resets property to cadence SDHCI binding
        mmc: meson-gx: remove meson_mmc_get_cd
        mmc: moxart: set maximum request/block/segment sizes
        mmc: sdhci-brcmstb: Use devm_platform_get_and_ioremap_resource()
        mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi
        mmc: sdhci-of-dwcmshc: Update DLL and pre-change delay for rockchip platform
        mmc: jz4740: Add support for vqmmc power supply
        ...
      da15efe1