1. 02 Nov, 2023 23 commits
    • Dave Marchevsky's avatar
      bpf: Add __bpf_kfunc_{start,end}_defs macros · 391145ba
      Dave Marchevsky authored
      BPF kfuncs are meant to be called from BPF programs. Accordingly, most
      kfuncs are not called from anywhere in the kernel, which the
      -Wmissing-prototypes warning is unhappy about. We've peppered
      __diag_ignore_all("-Wmissing-prototypes", ... everywhere kfuncs are
      defined in the codebase to suppress this warning.
      
      This patch adds two macros meant to bound one or many kfunc definitions.
      All existing kfunc definitions which use these __diag calls to suppress
      -Wmissing-prototypes are migrated to use the newly-introduced macros.
      A new __diag_ignore_all - for "-Wmissing-declarations" - is added to the
      __bpf_kfunc_start_defs macro based on feedback from Andrii on an earlier
      version of this patch [0] and another recent mailing list thread [1].
      
      In the future we might need to ignore different warnings or do other
      kfunc-specific things. This change will make it easier to make such
      modifications for all kfunc defs.
      
        [0]: https://lore.kernel.org/bpf/CAEf4BzaE5dRWtK6RPLnjTW-MW9sx9K3Fn6uwqCTChK2Dcb1Xig@mail.gmail.com/
        [1]: https://lore.kernel.org/bpf/ZT+2qCc%2FaXep0%2FLf@krava/Signed-off-by: default avatarDave Marchevsky <davemarchevsky@fb.com>
      Suggested-by: default avatarAndrii Nakryiko <andrii@kernel.org>
      Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
      Cc: Jiri Olsa <olsajiri@gmail.com>
      Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
      Acked-by: default avatarDavid Vernet <void@manifault.com>
      Acked-by: default avatarYafang Shao <laoar.shao@gmail.com>
      Link: https://lore.kernel.org/r/20231031215625.2343848-1-davemarchevsky@fb.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      391145ba
    • Manu Bretelle's avatar
      selftests/bpf: fix test_bpffs · cd60f410
      Manu Bretelle authored
      Currently this tests tries to umount /sys/kernel/debug (TDIR) but the
      system it is running on may have mounts below.
      
      For example, danobi/vmtest [0] VMs have
          mount -t tracefs tracefs /sys/kernel/debug/tracing
      as part of their init.
      
      This change instead creates a "random" directory under /tmp and uses this
      as TDIR.
      If the directory already exists, ignore the error and keep moving on.
      
      Test:
      
      Originally:
      
          $ vmtest -k $KERNEL_REPO/arch/x86_64/boot/bzImage "./test_progs -vv -a test_bpffs"
          => bzImage
          ===> Booting
          ===> Setting up VM
          ===> Running command
          [    2.138818] bpf_testmod: loading out-of-tree module taints kernel.
          [    2.140913] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
          bpf_testmod.ko is already unloaded.
          Loading bpf_testmod.ko...
          Successfully loaded bpf_testmod.ko.
          test_test_bpffs:PASS:clone 0 nsec
          fn:PASS:unshare 0 nsec
          fn:PASS:mount / 0 nsec
          fn:FAIL:umount /sys/kernel/debug unexpected error: -1 (errno 16)
          bpf_testmod.ko is already unloaded.
          Loading bpf_testmod.ko...
          Successfully loaded bpf_testmod.ko.
          test_test_bpffs:PASS:clone 0 nsec
          test_test_bpffs:PASS:waitpid 0 nsec
          test_test_bpffs:FAIL:bpffs test  failed 255#282     test_bpffs:FAIL
          Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED
          Successfully unloaded bpf_testmod.ko.
          Command failed with exit code: 1
      
      After this change:
      
          $ vmtest -k $(make image_name) 'cd tools/testing/selftests/bpf && ./test_progs -vv -a test_bpffs'
          => bzImage
          ===> Booting
          ===> Setting up VM
          ===> Running command
          [    2.295696] bpf_testmod: loading out-of-tree module taints kernel.
          [    2.296468] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
          bpf_testmod.ko is already unloaded.
          Loading bpf_testmod.ko...
          Successfully loaded bpf_testmod.ko.
          test_test_bpffs:PASS:clone 0 nsec
          fn:PASS:unshare 0 nsec
          fn:PASS:mount / 0 nsec
          fn:PASS:mount tmpfs 0 nsec
          fn:PASS:mkdir /tmp/test_bpffs_testdir/fs1 0 nsec
          fn:PASS:mkdir /tmp/test_bpffs_testdir/fs2 0 nsec
          fn:PASS:mount bpffs /tmp/test_bpffs_testdir/fs1 0 nsec
          fn:PASS:mount bpffs /tmp/test_bpffs_testdir/fs2 0 nsec
          fn:PASS:reading /tmp/test_bpffs_testdir/fs1/maps.debug 0 nsec
          fn:PASS:reading /tmp/test_bpffs_testdir/fs2/progs.debug 0 nsec
          fn:PASS:creating /tmp/test_bpffs_testdir/fs1/a 0 nsec
          fn:PASS:creating /tmp/test_bpffs_testdir/fs1/a/1 0 nsec
          fn:PASS:creating /tmp/test_bpffs_testdir/fs1/b 0 nsec
          fn:PASS:create_map(ARRAY) 0 nsec
          fn:PASS:pin map 0 nsec
          fn:PASS:stat(/tmp/test_bpffs_testdir/fs1/a) 0 nsec
          fn:PASS:renameat2(/fs1/a, /fs1/b, RENAME_EXCHANGE) 0 nsec
          fn:PASS:stat(/tmp/test_bpffs_testdir/fs1/b) 0 nsec
          fn:PASS:b should have a's inode 0 nsec
          fn:PASS:access(/tmp/test_bpffs_testdir/fs1/b/1) 0 nsec
          fn:PASS:stat(/tmp/test_bpffs_testdir/fs1/map) 0 nsec
          fn:PASS:renameat2(/fs1/c, /fs1/b, RENAME_EXCHANGE) 0 nsec
          fn:PASS:stat(/tmp/test_bpffs_testdir/fs1/b) 0 nsec
          fn:PASS:b should have c's inode 0 nsec
          fn:PASS:access(/tmp/test_bpffs_testdir/fs1/c/1) 0 nsec
          fn:PASS:renameat2(RENAME_NOREPLACE) 0 nsec
          fn:PASS:access(/tmp/test_bpffs_testdir/fs1/b) 0 nsec
          bpf_testmod.ko is already unloaded.
          Loading bpf_testmod.ko...
          Successfully loaded bpf_testmod.ko.
          test_test_bpffs:PASS:clone 0 nsec
          test_test_bpffs:PASS:waitpid 0 nsec
          test_test_bpffs:PASS:bpffs test  0 nsec
          #282     test_bpffs:OK
          Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED
          Successfully unloaded bpf_testmod.ko.
      
      [0] https://github.com/danobi/vmtest
      
      This is a follow-up of https://lore.kernel.org/bpf/20231024201852.1512720-1-chantr4@gmail.com/T/
      
      v1 -> v2:
        - use a TDIR name that is related to test
        - use C-style comments
      Signed-off-by: default avatarManu Bretelle <chantr4@gmail.com>
      Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
      Link: https://lore.kernel.org/r/20231031223606.2927976-1-chantr4@gmail.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      cd60f410
    • Alexei Starovoitov's avatar
      Merge branch 'bpf-fix-incorrect-immediate-spill' · b479d38b
      Alexei Starovoitov authored
      Hao Sun says:
      
      ====================
      bpf: Fix incorrect immediate spill
      
      Immediate is incorrectly cast to u32 before being spilled, losing sign
      information. The range information is incorrect after load again. Fix
      immediate spill by remove the cast. The second patch add a test case
      for this.
      Signed-off-by: default avatarHao Sun <sunhao.th@gmail.com>
      ---
      Changes in v3:
      - Change the expected log to fix the test case
      - Link to v2: https://lore.kernel.org/r/20231101-fix-check-stack-write-v2-0-cb7c17b869b0@gmail.com
      
      Changes in v2:
      - Add fix and cc tags.
      - Link to v1: https://lore.kernel.org/r/20231026-fix-check-stack-write-v1-0-6b325ef3ce7e@gmail.com
      
      ---
      ====================
      
      Link: https://lore.kernel.org/r/20231101-fix-check-stack-write-v3-0-f05c2b1473d5@gmail.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      b479d38b
    • Hao Sun's avatar
      selftests/bpf: Add test for immediate spilled to stack · 85eb035e
      Hao Sun authored
      Add a test to check if the verifier correctly reason about the sign
      of an immediate spilled to stack by BPF_ST instruction.
      Signed-off-by: default avatarHao Sun <sunhao.th@gmail.com>
      Link: https://lore.kernel.org/r/20231101-fix-check-stack-write-v3-2-f05c2b1473d5@gmail.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      85eb035e
    • Hao Sun's avatar
      bpf: Fix check_stack_write_fixed_off() to correctly spill imm · 811c3636
      Hao Sun authored
      In check_stack_write_fixed_off(), imm value is cast to u32 before being
      spilled to the stack. Therefore, the sign information is lost, and the
      range information is incorrect when load from the stack again.
      
      For the following prog:
      0: r2 = r10
      1: *(u64*)(r2 -40) = -44
      2: r0 = *(u64*)(r2 - 40)
      3: if r0 s<= 0xa goto +2
      4: r0 = 1
      5: exit
      6: r0  = 0
      7: exit
      
      The verifier gives:
      func#0 @0
      0: R1=ctx(off=0,imm=0) R10=fp0
      0: (bf) r2 = r10                      ; R2_w=fp0 R10=fp0
      1: (7a) *(u64 *)(r2 -40) = -44        ; R2_w=fp0 fp-40_w=4294967252
      2: (79) r0 = *(u64 *)(r2 -40)         ; R0_w=4294967252 R2_w=fp0
      fp-40_w=4294967252
      3: (c5) if r0 s< 0xa goto pc+2
      mark_precise: frame0: last_idx 3 first_idx 0 subseq_idx -1
      mark_precise: frame0: regs=r0 stack= before 2: (79) r0 = *(u64 *)(r2 -40)
      3: R0_w=4294967252
      4: (b7) r0 = 1                        ; R0_w=1
      5: (95) exit
      verification time 7971 usec
      stack depth 40
      processed 6 insns (limit 1000000) max_states_per_insn 0 total_states 0
      peak_states 0 mark_read 0
      
      So remove the incorrect cast, since imm field is declared as s32, and
      __mark_reg_known() takes u64, so imm would be correctly sign extended
      by compiler.
      
      Fixes: ecdf985d ("bpf: track immediate values written to stack by BPF_ST instruction")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarHao Sun <sunhao.th@gmail.com>
      Acked-by: default avatarShung-Hsi Yu <shung-hsi.yu@suse.com>
      Acked-by: default avatarEduard Zingerman <eddyz87@gmail.com>
      Link: https://lore.kernel.org/r/20231101-fix-check-stack-write-v3-1-f05c2b1473d5@gmail.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      811c3636
    • Matthieu Baerts's avatar
      bpf: fix compilation error without CGROUPS · 05670f81
      Matthieu Baerts authored
      Our MPTCP CI complained [1] -- and KBuild too -- that it was no longer
      possible to build the kernel without CONFIG_CGROUPS:
      
        kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_new':
        kernel/bpf/task_iter.c:919:14: error: 'CSS_TASK_ITER_PROCS' undeclared (first use in this function)
          919 |         case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED:
              |              ^~~~~~~~~~~~~~~~~~~
        kernel/bpf/task_iter.c:919:14: note: each undeclared identifier is reported only once for each function it appears in
        kernel/bpf/task_iter.c:919:36: error: 'CSS_TASK_ITER_THREADED' undeclared (first use in this function)
          919 |         case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED:
              |                                    ^~~~~~~~~~~~~~~~~~~~~~
        kernel/bpf/task_iter.c:927:60: error: invalid application of 'sizeof' to incomplete type 'struct css_task_iter'
          927 |         kit->css_it = bpf_mem_alloc(&bpf_global_ma, sizeof(struct css_task_iter));
              |                                                            ^~~~~~
        kernel/bpf/task_iter.c:930:9: error: implicit declaration of function 'css_task_iter_start'; did you mean 'task_seq_start'? [-Werror=implicit-function-declaration]
          930 |         css_task_iter_start(css, flags, kit->css_it);
              |         ^~~~~~~~~~~~~~~~~~~
              |         task_seq_start
        kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_next':
        kernel/bpf/task_iter.c:940:16: error: implicit declaration of function 'css_task_iter_next'; did you mean 'class_dev_iter_next'? [-Werror=implicit-function-declaration]
          940 |         return css_task_iter_next(kit->css_it);
              |                ^~~~~~~~~~~~~~~~~~
              |                class_dev_iter_next
        kernel/bpf/task_iter.c:940:16: error: returning 'int' from a function with return type 'struct task_struct *' makes pointer from integer without a cast [-Werror=int-conversion]
          940 |         return css_task_iter_next(kit->css_it);
              |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_destroy':
        kernel/bpf/task_iter.c:949:9: error: implicit declaration of function 'css_task_iter_end' [-Werror=implicit-function-declaration]
          949 |         css_task_iter_end(kit->css_it);
              |         ^~~~~~~~~~~~~~~~~
      
      This patch simply surrounds with a #ifdef the new code requiring CGroups
      support. It seems enough for the compiler and this is similar to
      bpf_iter_css_{new,next,destroy}() functions where no other #ifdef have
      been added in kernel/bpf/helpers.c and in the selftests.
      
      Fixes: 9c66dc94 ("bpf: Introduce css_task open-coded iterator kfuncs")
      Link: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/6665206927Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202310260528.aHWgVFqq-lkp@intel.com/Signed-off-by: default avatarMatthieu Baerts <matttbe@kernel.org>
      [ added missing ifdefs for BTF_ID cgroup definitions ]
      Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
      Link: https://lore.kernel.org/r/20231101181601.1493271-1-jolsa@kernel.orgSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      05670f81
    • Jakub Kicinski's avatar
      tools: ynl-gen: don't touch the output file if content is the same · 2b7ac0c8
      Jakub Kicinski authored
      I often regenerate all YNL files in the tree to make sure they
      are in sync with the codegen and specs. Generator rewrites
      the files unconditionally, so since make looks at file modification
      time to decide what to rebuild - my next build takes longer.
      
      We already generate the code to a tempfile most of the time,
      only overwrite the target when we have to.
      
      Before:
      
        $ stat include/uapi/linux/netdev.h
          File: include/uapi/linux/netdev.h
          Size: 2307      	Blocks: 8          IO Block: 4096   regular file
        Access: 2023-10-27 15:19:56.347071940 -0700
        Modify: 2023-10-27 15:19:45.089000900 -0700
        Change: 2023-10-27 15:19:45.089000900 -0700
         Birth: 2023-10-27 15:19:45.088000894 -0700
      
        $ ./tools/net/ynl/ynl-regen.sh -f
        [...]
      
        $ stat include/uapi/linux/netdev.h
          File: include/uapi/linux/netdev.h
          Size: 2307      	Blocks: 8          IO Block: 4096   regular file
        Access: 2023-10-27 15:19:56.347071940 -0700
        Modify: 2023-10-27 15:22:18.417968446 -0700
        Change: 2023-10-27 15:22:18.417968446 -0700
         Birth: 2023-10-27 15:19:45.088000894 -0700
      
      After:
      
        $ stat include/uapi/linux/netdev.h
          File: include/uapi/linux/netdev.h
          Size: 2307      	Blocks: 8          IO Block: 4096   regular file
        Access: 2023-10-27 15:22:41.520114221 -0700
        Modify: 2023-10-27 15:22:18.417968446 -0700
        Change: 2023-10-27 15:22:18.417968446 -0700
         Birth: 2023-10-27 15:19:45.088000894 -0700
      
        $ ./tools/net/ynl/ynl-regen.sh -f
        [...]
      
        $ stat include/uapi/linux/netdev.h
          File: include/uapi/linux/netdev.h
          Size: 2307      	Blocks: 8          IO Block: 4096   regular file
        Access: 2023-10-27 15:22:41.520114221 -0700
        Modify: 2023-10-27 15:22:18.417968446 -0700
        Change: 2023-10-27 15:22:18.417968446 -0700
         Birth: 2023-10-27 15:19:45.088000894 -0700
      Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
      Link: https://lore.kernel.org/r/20231027223408.1865704-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      2b7ac0c8
    • Jiri Pirko's avatar
      netlink: specs: devlink: add forgotten port function caps enum values · 05f0431b
      Jiri Pirko authored
      Add two enum values that the blamed commit omitted.
      
      Fixes: f2f9dd16 ("netlink: specs: devlink: add the remaining command to generate complete split_ops")
      Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
      Link: https://lore.kernel.org/r/20231030161750.110420-1-jiri@resnulli.usSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      05f0431b
    • Jakub Kicinski's avatar
      Merge branch 'add-missing-module_descriptions' · 5ed8499b
      Jakub Kicinski authored
      Andrew Lunn says:
      
      ====================
      Add missing MODULE_DESCRIPTIONS
      
      Fixup PHY and MDIO drivers which are missing MODULE_DESCRIPTION.
      ====================
      
      Link: https://lore.kernel.org/r/20231028184458.99448-1-andrew@lunn.chSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5ed8499b
    • Andrew Lunn's avatar
      net: mdio: fill in missing MODULE_DESCRIPTION()s · 031fba65
      Andrew Lunn authored
      W=1 builds now warn if a module is built without a
      MODULE_DESCRIPTION(). Fill them in based on the Kconfig text, or
      similar.
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
      Acked-by: default avatarAndrew Jeffery <andrew@codeconstruct.com.au>
      Link: https://lore.kernel.org/r/20231028184458.99448-3-andrew@lunn.chSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      031fba65
    • Andrew Lunn's avatar
      net: phy: fill in missing MODULE_DESCRIPTION()s · dd9d75fc
      Andrew Lunn authored
      W=1 builds now warn if a module is built without a
      MODULE_DESCRIPTION(). Fill them in based on the Kconfig text, or
      similar.
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
      Acked-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Link: https://lore.kernel.org/r/20231028184458.99448-2-andrew@lunn.chSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      dd9d75fc
    • Jakub Kicinski's avatar
      Merge branch 'net-sched-fill-in-missing-module_descriptions-for-net-sched' · aca08097
      Jakub Kicinski authored
      Victor Nogueira says:
      
      ====================
      net: sched: Fill in missing MODULE_DESCRIPTIONs for net/sched
      
      W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
      
      Fill in the missing MODULE_DESCRIPTIONs for net/sched
      ====================
      
      Link: https://lore.kernel.org/r/20231027155045.46291-1-victor@mojatatu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      aca08097
    • Victor Nogueira's avatar
      net: sched: Fill in missing MODULE_DESCRIPTION for qdiscs · f96118c5
      Victor Nogueira authored
      W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
      
      Fill in missing MODULE_DESCRIPTIONs for TC qdiscs.
      Signed-off-by: default avatarVictor Nogueira <victor@mojatatu.com>
      Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      Reviewed-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
      Link: https://lore.kernel.org/r/20231027155045.46291-4-victor@mojatatu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      f96118c5
    • Victor Nogueira's avatar
      net: sched: Fill in missing MODULE_DESCRIPTION for classifiers · a9c92771
      Victor Nogueira authored
      W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
      
      Fill in missing MODULE_DESCRIPTIONs for TC classifiers.
      Signed-off-by: default avatarVictor Nogueira <victor@mojatatu.com>
      Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      Reviewed-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
      Link: https://lore.kernel.org/r/20231027155045.46291-3-victor@mojatatu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      a9c92771
    • Victor Nogueira's avatar
      net: sched: Fill in MODULE_DESCRIPTION for act_gate · 49b02a19
      Victor Nogueira authored
      W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
      
      Gate is the only TC action that is lacking such description.
      Fill MODULE_DESCRIPTION for Gate TC ACTION.
      Signed-off-by: default avatarVictor Nogueira <victor@mojatatu.com>
      Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      Reviewed-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
      Link: https://lore.kernel.org/r/20231027155045.46291-2-victor@mojatatu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      49b02a19
    • Linus Torvalds's avatar
      Merge tag 'net-next-6.7-followup' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · ff269e2c
      Linus Torvalds authored
      Pull more networking updates from Jakub Kicinski:
      
       - Support GRO decapsulation for IPsec ESP in UDP
      
       - Add a handful of MODULE_DESCRIPTION()s
      
       - Drop questionable alignment check in TCP AO to avoid
         build issue after changes in the crypto tree
      
      * tag 'net-next-6.7-followup' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next:
        net: tcp: remove call to obsolete crypto_ahash_alignmask()
        net: fill in MODULE_DESCRIPTION()s under drivers/net/
        net: fill in MODULE_DESCRIPTION()s under net/802*
        net: fill in MODULE_DESCRIPTION()s under net/core
        net: fill in MODULE_DESCRIPTION()s in kuba@'s modules
        xfrm: policy: fix layer 4 flowi decoding
        xfrm Fix use after free in __xfrm6_udp_encap_rcv.
        xfrm: policy: replace session decode with flow dissector
        xfrm: move mark and oif flowi decode into common code
        xfrm: pass struct net to xfrm_decode_session wrappers
        xfrm: Support GRO for IPv6 ESP in UDP encapsulation
        xfrm: Support GRO for IPv4 ESP in UDP encapsulation
        xfrm: Use the XFRM_GRO to indicate a GRO call on input
        xfrm: Annotate struct xfrm_sec_ctx with __counted_by
        xfrm: Remove unused function declarations
      ff269e2c
    • Linus Torvalds's avatar
      Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 05bf73aa
      Linus Torvalds authored
      Pull probes updates from Masami Hiramatsu:
       "Cleanups:
      
         - kprobes: Fixes typo in kprobes samples
      
         - tracing/eprobes: Remove 'break' after return
      
        kretprobe/fprobe performance improvements:
      
         - lib: Introduce new `objpool`, which is a high performance lockless
           object queue. This uses per-cpu ring array to allocate/release
           objects from the pre-allocated object pool.
      
           Since the index of ring array is a 32bit sequential counter, we can
           retry to push/pop the object pointer from the ring without lock (as
           seq-lock does)
      
         - lib: Add an objpool test module to test the functionality and
           evaluate the performance under some circumstances
      
         - kprobes/fprobe: Improve kretprobe and rethook scalability
           performance with objpool.
      
           This improves both legacy kretprobe and fprobe exit handler (which
           is based on rethook) to be scalable on SMP systems. Even with
           8-threads parallel test, it shows a great scalability improvement
      
         - Remove unneeded freelist.h which is replaced by objpool
      
         - objpool: Add maintainers entry for the objpool
      
         - objpool: Fix to remove unused include header lines"
      
      * tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        kprobes: unused header files removed
        MAINTAINERS: objpool added
        kprobes: freelist.h removed
        kprobes: kretprobe scalability improvement
        lib: objpool test module added
        lib: objpool added: ring-array based lockless MPMC
        tracing/eprobe: drop unneeded breaks
        samples: kprobes: Fixes a typo
      05bf73aa
    • Linus Torvalds's avatar
      Merge tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 1b10d2c8
      Linus Torvalds authored
      Pull bootconfig updates from Masami Hiramatsu:
      
       - Documentation update for /proc/cmdline, which includes both the
         parameters from bootloader and the embedded parameters in the kernel
      
       - fs/proc: Add bootloader argument as a comment line to
         /proc/bootconfig so that the user can distinguish what parameters
         were passed from bootloader even if bootconfig modified that
      
       - Documentation fix to add /proc/bootconfig to proc.rst
      
      * tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        doc: Add /proc/bootconfig to proc.rst
        fs/proc: Add boot loader arguments as comment to /proc/bootconfig
        doc: Update /proc/cmdline documentation to include boot config
      1b10d2c8
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 1e0c505e
      Linus Torvalds authored
      Pull ia64 removal and asm-generic updates from Arnd Bergmann:
      
       - The ia64 architecture gets its well-earned retirement as planned,
         now that there is one last (mostly) working release that will be
         maintained as an LTS kernel.
      
       - The architecture specific system call tables are updated for the
         added map_shadow_stack() syscall and to remove references to the
         long-gone sys_lookup_dcookie() syscall.
      
      * tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        hexagon: Remove unusable symbols from the ptrace.h uapi
        asm-generic: Fix spelling of architecture
        arch: Reserve map_shadow_stack() syscall number for all architectures
        syscalls: Cleanup references to sys_lookup_dcookie()
        Documentation: Drop or replace remaining mentions of IA64
        lib/raid6: Drop IA64 support
        Documentation: Drop IA64 from feature descriptions
        kernel: Drop IA64 support from sig_fault handlers
        arch: Remove Itanium (IA-64) architecture
      1e0c505e
    • Linus Torvalds's avatar
      Merge tag 'soc-arm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 4684e928
      Linus Torvalds authored
      Pull ARM SoC code updates from Arnd Bergmann:
       "The AMD Pensando DPU platform gets added to arm64, and some minor
        updates make it into Renesas' 32-bit platforms"
      
      * tag 'soc-arm-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        arm: debug: reuse the config DEBUG_OMAP2UART{1,2} for OMAP{3,4,5}
        arm64: Add config for AMD Pensando SoC platforms
        MAINTAINERS: Add entry for AMD PENSANDO
        ARM: shmobile: sh73a0: Reserve boot area when SMP is enabled
        ARM: shmobile: r8a7779: Reserve boot area when SMP is enabled
        ARM: shmobile: rcar-gen2: Reserve boot area when SMP is enabled
        ARM: shmobile: rcar-gen2: Remove unneeded once handling
      4684e928
    • Linus Torvalds's avatar
      Merge tag 'soc-defconfig-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · a39ba9b4
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "These are the usual trivial changes to enable a couple of newly added
        device drivers and remove lines for Kconfig options that are no longer
        needed"
      
      * tag 'soc-defconfig-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (24 commits)
        arm64: defconfig: enable DisplayPort altmode support
        arm64: defconfig: enable CONFIG_TYPEC_QCOM_PMIC
        arm64: defconfig: add various drivers for Amlogic based boards
        ARM: config: aspeed: Remove FIRMWARE_MEMMAP
        ARM: config: aspeed_g5: Enable SSIF BMC driver
        ARM: config: aspeed: Add Ampere SMPro drivers
        ARM: config: aspeed: Add new FSI drivers
        arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A
        ARM: exynos_defconfig: add driver for ISL29018
        ARM: multi_v7_defconfig: add drivers for S5C73M3 & S5K6A3 camera sensors
        arm64: defconfig: Enable RZ/G3S (R9A08G045) SoC
        ARM: multi_v7_defconfig: add tm2-touchkey driver
        ARM: exynos_defconfig: replace SATA_AHCI_PLATFORM with AHCI_DWC driver
        ARM: multi_v7_defconfig: add AHCI_DWC driver
        ARM: multi_v7_defconfig: make Exynos related PHYs modules
        ARM: s5pv210_defconfig: enable IIO required by MAX17040
        ARM: shmobile: defconfig: Refresh for v6.6-rc3
        ARM: defconfig: cleanup orphaned CONFIGs
        arm64: defconfig: Enable Samsung DSIM driver
        arm64: defconfig: Enable CONFIG_USB_MASS_STORAGE
        ...
      a39ba9b4
    • Linus Torvalds's avatar
      Merge tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 385903a7
      Linus Torvalds authored
      Pull SoC driver updates from Arnd Bergmann:
       "The highlights for the driver support this time are
      
         - Qualcomm platforms gain support for the Qualcomm Secure Execution
           Environment firmware interface to access EFI variables on certain
           devices, and new features for multiple platform and firmware
           drivers.
      
         - Arm FF-A firmware support gains support for v1.1 specification
           features, in particular notification and memory transaction
           descriptor changes.
      
         - SCMI firmware support now support v3.2 features for clock and DVFS
           configuration and a new transport for Qualcomm platforms.
      
         - Minor cleanups and bugfixes are added to pretty much all the active
           platforms: qualcomm, broadcom, dove, ti-k3, rockchip, sifive,
           amlogic, atmel, tegra, aspeed, vexpress, mediatek, samsung and
           more.
      
           In particular, this contains portions of the treewide conversion to
           use __counted_by annotations and the device_get_match_data helper"
      
      * tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (156 commits)
        soc: qcom: pmic_glink_altmode: Print return value on error
        firmware: qcom: scm: remove unneeded 'extern' specifiers
        firmware: qcom: scm: add a missing forward declaration for struct device
        firmware: qcom: move Qualcomm code into its own directory
        soc: samsung: exynos-chipid: Convert to platform remove callback returning void
        soc: qcom: apr: Add __counted_by for struct apr_rx_buf and use struct_size()
        soc: qcom: pmic_glink: fix connector type to be DisplayPort
        soc: ti: k3-socinfo: Avoid overriding return value
        soc: ti: k3-socinfo: Fix typo in bitfield documentation
        soc: ti: knav_qmss_queue: Use device_get_match_data()
        firmware: ti_sci: Use device_get_match_data()
        firmware: qcom: qseecom: add missing include guards
        soc/pxa: ssp: Convert to platform remove callback returning void
        soc/mediatek: mtk-mmsys: Convert to platform remove callback returning void
        soc/mediatek: mtk-devapc: Convert to platform remove callback returning void
        soc/loongson: loongson2_guts: Convert to platform remove callback returning void
        soc/litex: litex_soc_ctrl: Convert to platform remove callback returning void
        soc/ixp4xx: ixp4xx-qmgr: Convert to platform remove callback returning void
        soc/ixp4xx: ixp4xx-npe: Convert to platform remove callback returning void
        soc/hisilicon: kunpeng_hccs: Convert to platform remove callback returning void
        ...
      385903a7
    • Linus Torvalds's avatar
      Merge tag 'soc-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · c035f026
      Linus Torvalds authored
      Pull SoC DT updates from Arnd Bergmann:
       "There are a couple new SoCs that are supported for the first time:
      
         - AMD Pensando Elba is a data processing unit based on Cortex-A72 CPU
           cores
      
         - Sophgo makes RISC-V based chips, and we now support the CV1800B
           chip used in the milkv-duo board and the massive sg2042 chip in the
           milkv-pioneer, a 64-core developer workstation.
      
         - Qualcomm Snapdragon 720G (sm7125) is a close relative of Snapdragon
           7c and gets added with some Xiaomi phones
      
         - Renesas gains support for the R8A779F4 (R-Car S4-8) automotive SoC
           and the RZ/G3S (R9A08G045) embedded SoC.
      
        There are also a bunch of newly supported machines that use already
        supported chips. On the 32-bit side, we have:
      
         - USRobotics USR8200 is a NAS/Firewall/router based on the ancient
           Intel IXP4xx platform
      
         - A couple of machines based on the NXP i.MX5 and i.MX6 platforms
      
         - One machine each for Allwinner V3s, Aspeed AST2600, Microchip
           sama5d29 and ST STM32mp157
      
        The other ones all use arm64 cores on chips from allwinner, amlogic,
        freescale, mediatek, qualcomm and rockchip"
      
      * tag 'soc-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (641 commits)
        ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
        ARM: dts: BCM5301X: Set fixed-link for extra Netgear R8000 CPU ports
        ARM: dts: BCM5301X: Explicitly disable unused switch CPU ports
        ARM: dts: BCM5301X: Relicense Vivek's code to the GPL 2.0+ / MIT
        ARM: dts: BCM5301X: Relicense Felix's code to the GPL 2.0+ / MIT
        ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
        arm64: dts: socionext: add missing cache properties
        riscv: dts: thead: convert isa detection to new properties
        arm64: dts: Update cache properties for socionext
        arm64: dts: ti: k3-am654-idk: Add ICSSG Ethernet ports
        arm64: dts: ti: k3-am654-icssg2: add ICSSG2 Ethernet support
        arm64: dts: ti: k3-am65-main: Add ICSSG IEP nodes
        arm64: dts: ti: k3-am62p5-sk: Updates for SK EVM
        arm64: dts: ti: k3-am62p: Add nodes for more IPs
        arm64: dts: rockchip: Add Turing RK1 SoM support
        dt-bindings: arm: rockchip: Add Turing RK1
        dt-bindings: vendor-prefixes: add turing
        arm64: dts: rockchip: Add DFI to rk3588s
        arm64: dts: rockchip: Add DFI to rk356x
        arm64: dts: rockchip: Always enable DFI on rk3399
        ...
      c035f026
  2. 01 Nov, 2023 17 commits
    • Linus Torvalds's avatar
      Merge tag 'vfio-v6.7-rc1' of https://github.com/awilliam/linux-vfio · deefd502
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Add support for "chunk mode" in the mlx5-vfio-pci variant driver,
         which allows both larger device image sizes for migration, beyond the
         previous 4GB limit, and also read-ahead support for improved
         migration performance (Yishai Hadas)
      
       - A new bus master control interface for the CDX bus driver where there
         is no in-band mechanism to toggle device DMA as there is through
         config space on PCI devices (Nipun Gupta)
      
       - Add explicit alignment directives to vfio data structures to reduce
         the chance of breaking 32-bit userspace. In most cases this is
         transparent and the remaining cases where data structures are padded
         work within the existing rules for extending data structures within
         vfio (Stefan Hajnoczi)
      
       - Resolve a bug in the cdx bus driver noted when compiled with clang
         where missing parenthesis result in the wrong operation (Nathan
         Chancellor)
      
       - Resolve errors reported by smatch for a function when dealing with
         invalid inputs (Alex Williamson)
      
       - Add migration support to the mtty vfio/mdev sample driver for testing
         and integration purposes, allowing CI of migration without specific
         hardware requirements. Also resolve many of the short- comings of
         this driver relative to implementation of the vfio interrupt ioctl
         along the way (Alex Williamson)
      
      * tag 'vfio-v6.7-rc1' of https://github.com/awilliam/linux-vfio:
        vfio/mtty: Enable migration support
        vfio/mtty: Overhaul mtty interrupt handling
        vfio: Fix smatch errors in vfio_combine_iova_ranges()
        vfio/cdx: Add parentheses between bitwise AND expression and logical NOT
        vfio/mlx5: Activate the chunk mode functionality
        vfio/mlx5: Add support for READING in chunk mode
        vfio/mlx5: Add support for SAVING in chunk mode
        vfio/mlx5: Pre-allocate chunks for the STOP_COPY phase
        vfio/mlx5: Rename some stuff to match chunk mode
        vfio/mlx5: Enable querying state size which is > 4GB
        vfio/mlx5: Refactor the SAVE callback to activate a work only upon an error
        vfio/mlx5: Wake up the reader post of disabling the SAVING migration file
        vfio: use __aligned_u64 in struct vfio_device_ioeventfd
        vfio: use __aligned_u64 in struct vfio_device_gfx_plane_info
        vfio: trivially use __aligned_u64 for ioctl structs
        vfio-cdx: add bus mastering device feature support
        vfio: add bus master feature to device feature ioctl
        cdx: add support for bus mastering
      deefd502
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-6.7-2023-10-30' of git://git.infradead.org/users/hch/dma-mapping · 009fbfc9
      Linus Torvalds authored
      Pull dma-mapping updates from Christoph Hellwig:
      
       - get rid of the fake support for coherent DMA allocation on coldfire
         with caches (Christoph Hellwig)
      
       - add a few Kconfig dependencies so that Kconfig catches the use of
         invalid configurations (Christoph Hellwig)
      
       - fix a type in dma-debug output (Chuck Lever)
      
       - rewrite a comment in swiotlb (Sean Christopherson)
      
      * tag 'dma-mapping-6.7-2023-10-30' of git://git.infradead.org/users/hch/dma-mapping:
        dma-debug: Fix a typo in a debugging eye-catcher
        swiotlb: rewrite comment explaining why the source is preserved on DMA_FROM_DEVICE
        m68k: remove unused includes from dma.c
        m68k: don't provide arch_dma_alloc for nommu/coldfire
        net: fec: use dma_alloc_noncoherent for data cache enabled coldfire
        m68k: use the coherent DMA code for coldfire without data cache
        dma-direct: warn when coherent allocations aren't supported
        dma-direct: simplify the use atomic pool logic in dma_direct_alloc
        dma-direct: add a CONFIG_ARCH_HAS_DMA_ALLOC symbol
        dma-direct: add dependencies to CONFIG_DMA_GLOBAL_POOL
      009fbfc9
    • Linus Torvalds's avatar
      Merge tag 'pmdomain-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · 3c86a44d
      Linus Torvalds authored
      Pull pmdomain updates from Ulf Hansson:
      
       - Move Kconfig files into the pmdomain subsystem
      
       - Drop use of genpd's redundant ->opp_to_performance_state() callback
      
       - amlogic:
          - Add support for the T7 power-domains controller
          - Fix mask for the second NNA mem power-domain
      
       - bcm: Fixup ASB register read and comparison for bcm2835-power
      
       - imx: Fix device link problem for consumers of the pgc power-domain
      
       - mediatek: Add support for the MT8365 power domains
      
       - qcom:
          - Add support for the rpmhpds for SC8380XP power-domains
          - Add support for the rpmhpds for SM8650 power-domains
          - Add support for the rpmhpd clocks for SM7150
          - Add support for the rpmpds for MSM8917 (families) power-domains
      
       - starfive: Add support for the JH7110 AON PMU
      
      * tag 'pmdomain-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm: (56 commits)
        pmdomain: amlogic: Fix mask for the second NNA mem PD domain
        pmdomain: qcom: rpmhpd: Add SC8380XP power domains
        pmdomain: qcom: rpmhpd: Add SM8650 RPMh Power Domains
        dt-bindings: power: rpmpd: Add SC8380XP support
        dt-bindings: power: qcom,rpmhpd: Add GMXC PD index
        dt-bindings: power: qcom,rpmpd: document the SM8650 RPMh Power Domains
        pmdomain: imx: Make imx pgc power domain also set the fwnode
        pmdomain: qcom: rpmpd: Add QM215 power domains
        pmdomain: qcom: rpmpd: Add MSM8917 power domains
        dt-bindings: power: rpmpd: Add MSM8917, MSM8937 and QM215
        pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
        pmdomain: qcom: rpmhpd: Drop the ->opp_to_performance_state() callback
        pmdomain: qcom: rpmpd: Drop the ->opp_to_performance_state() callback
        pmdomain: qcom: cpr: Drop the ->opp_to_performance_state() callback
        pmdomain: Use device_get_match_data()
        pmdomain: ti: add missing of_node_put
        pmdomain: mediatek: Add support for MT8365
        pmdomain: mediatek: Add support for MTK_SCPD_STRICT_BUS_PROTECTION cap
        pmdomain: mediatek: Add support for WAY_EN operations
        pmdomain: mediatek: Unify configuration for infracfg and smi
        ...
      3c86a44d
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 40aa597c
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
      " MMC core:
         - Enable host caps to be modified via debugfs to test speed-modes
         - Improve random I/O writes for 4k buffers for hsq enabled hosts
      
        MMC host:
         - atmel-mci/sdhci-of-at91: Aubin Constans takes over as maintainer
         - dw_mmc-starfive: Re-work tuning support
         - meson-gx: Fix bogus IRQ when using CMD_CFG_ERROR
         - mmci: Use peripheral flow control for the STM32 variant
         - renesas,sdhi: Add support for the RZ/G3S variant
         - sdhci-esdhc-imx: Optimize the manual tuning logic
         - sdhci-msm: Add support for the SM8650 variant
         - sdhci-npcm: Add driver to support the Nuvoton NPCM BMC variant
         - sdhci-pci-gli: Add workaround to allow GL9750 to enter ASPM L1.2"
      
      * tag 'mmc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (25 commits)
        dt-bindings: mmc: sdhci-msm: document the SM8650 SDHCI Controller
        mmc: meson-gx: Remove setting of CMD_CFG_ERROR
        MAINTAINERS: mmc: take over as maintainer of MCI & SDHCI MICROCHIP DRIVERS
        mmc: jz4740: Use device_get_match_data()
        mmc: sdhci-npcm: Add NPCM SDHCI driver
        dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller
        mmc: sdhci-pltfm: Make driver OF independent
        mmc: sdhci-pltfm: Drop unnecessary error messages in sdhci_pltfm_init()
        mmc: sdhci-pci: Switch to use acpi_evaluate_dsm_typed()
        mmc: debugfs: Allow host caps to be modified
        mmc: core: Always reselect card type
        mmc: mmci: use peripheral flow control for STM32
        mmc: vub300: replace deprecated strncpy with strscpy
        memstick: jmb38x_ms: Annotate struct jmb38x_ms with __counted_by
        mmc: starfive: Change tuning implementation
        dt-bindings: mmc: starfive: Remove properties from required
        mmc: hsq: Improve random I/O write performance for 4k buffers
        mmc: core: Allow dynamical updates of the number of requests for hsq
        mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
        dt-bindings: mmc: renesas,sdhi: Document RZ/G3S support
        ...
      40aa597c
    • Linus Torvalds's avatar
      Merge tag 'for-6.7/dm-changes' of... · 0364249d
      Linus Torvalds authored
      Merge tag 'for-6.7/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mike Snitzer:
      
       - Update DM core to directly call the map function for both the linear
         and stripe targets; which are provided by DM core
      
       - Various updates to use new safer string functions
      
       - Update DM core to respect REQ_NOWAIT flag in normal bios so that
         memory allocations are always attempted with GFP_NOWAIT
      
       - Add Mikulas Patocka to MAINTAINERS as a DM maintainer!
      
       - Improve DM delay target's handling of short delays (< 50ms) by using
         a kthread to check expiration of IOs rather than timers and a wq
      
       - Update the DM error target so that it works with zoned storage. This
         helps xfstests to provide proper IO error handling coverage when
         testing a filesystem with native zoned storage support
      
       - Update both DM crypt and integrity targets to improve performance by
         using crypto_shash_digest() rather than init+update+final sequence
      
       - Fix DM crypt target by backfilling missing memory allocation
         accounting for compound pages
      
      * tag 'for-6.7/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm crypt: account large pages in cc->n_allocated_pages
        dm integrity: use crypto_shash_digest() in sb_mac()
        dm crypt: use crypto_shash_digest() in crypt_iv_tcw_whitening()
        dm error: Add support for zoned block devices
        dm delay: for short delays, use kthread instead of timers and wq
        MAINTAINERS: add Mikulas Patocka as a DM maintainer
        dm: respect REQ_NOWAIT flag in normal bios issued to DM
        dm: enhance alloc_multiple_bios() to be more versatile
        dm: make __send_duplicate_bios return unsigned int
        dm log userspace: replace deprecated strncpy with strscpy
        dm ioctl: replace deprecated strncpy with strscpy_pad
        dm crypt: replace open-coded kmemdup_nul
        dm cache metadata: replace deprecated strncpy with strscpy
        dm: shortcut the calls to linear_map and stripe_map
      0364249d
    • Linus Torvalds's avatar
      Merge tag 'ata-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · 39714efc
      Linus Torvalds authored
      Pull ATA updates from Damien Le Moal:
      
       - Modify the AHCI driver to print the link power management policy used
         on scan, to help with debugging issues (Niklas)
      
       - Add support for the ASM2116 series adapters to the AHCI driver
         (Szuying)
      
       - Prepare libata for the coming gcc and Clang __counted_by attribute
         (Kees)
      
       - Following the recent estensive fixing of libata suspend/resume
         handling, several patches further cleanup and improve disk power
         state management (me)
      
       - Reduce the verbosity of some error messages for non-fatal temporary
         errors, e.g. slow response to device reset when scanning a port, and
         warning messages that are in fact normal, e.g. disabling a device on
         suspend or when removing it (me)
      
       - Cleanup DMA helper functions (me)
      
       - Fix sata_mv drive handling of potential errors durring probe (Ma)
      
       - Cleanup the xgene and imx drivers using the functions
         of_device_get_match_data() and device_get_match_data() (Rob)
      
       - Improve the tegra driver device tree (Rob)
      
      * tag 'ata-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: (22 commits)
        dt-bindings: ata: tegra: Disallow undefined properties
        ata: libata-core: Improve ata_dev_power_set_active()
        ata: libata-eh: Spinup disk on resume after revalidation
        ata: imx: Use device_get_match_data()
        ata: xgene: Use of_device_get_match_data()
        ata: sata_mv: aspeed: fix value check in mv_platform_probe()
        ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list
        ata: libata: Cleanup inline DMA helper functions
        ata: libata-eh: Reduce "disable device" message verbosity
        ata: libata-eh: Improve reset error messages
        ata: libata-sata: Improve ata_sas_slave_configure()
        ata: libata-core: Do not resume runtime suspended ports
        ata: libata-core: Do not poweroff runtime suspended ports
        ata: libata-core: Remove ata_port_resume_async()
        ata: libata-core: Remove ata_port_suspend_async()
        ata: libata-core: Detach a port devices on shutdown
        ata: libata-core: Synchronize ata_port_detach() with hotplug
        ata: libata-scsi: Cleanup ata_scsi_start_stop_xlat()
        scsi: Remove scsi device no_start_on_resume flag
        ata: libata: Annotate struct ata_cpr_log with __counted_by
        ...
      39714efc
    • Linus Torvalds's avatar
      Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linux · 90d624af
      Linus Torvalds authored
      Pull block updates from Jens Axboe:
      
       - Improvements to the queue_rqs() support, and adding null_blk support
         for that as well (Chengming)
      
       - Series improving badblocks support (Coly)
      
       - Key store support for sed-opal (Greg)
      
       - IBM partition string handling improvements (Jan)
      
       - Make number of ublk devices supported configurable (Mike)
      
       - Cancelation improvements for ublk (Ming)
      
       - MD pull requests via Song:
           - Handle timeout in md-cluster, by Denis Plotnikov
           - Cleanup pers->prepare_suspend, by Yu Kuai
           - Rewrite mddev_suspend(), by Yu Kuai
           - Simplify md_seq_ops, by Yu Kuai
           - Reduce unnecessary locking array_state_store(), by Mariusz
             Tkaczyk
           - Make rdev add/remove independent from daemon thread, by Yu Kuai
           - Refactor code around quiesce() and mddev_suspend(), by Yu Kuai
      
       - NVMe pull request via Keith:
           - nvme-auth updates (Mark)
           - nvme-tcp tls (Hannes)
           - nvme-fc annotaions (Kees)
      
       - Misc cleanups and improvements (Jiapeng, Joel)
      
      * tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linux: (95 commits)
        block: ublk_drv: Remove unused function
        md: cleanup pers->prepare_suspend()
        nvme-auth: allow mixing of secret and hash lengths
        nvme-auth: use transformed key size to create resp
        nvme-auth: alloc nvme_dhchap_key as single buffer
        nvmet-tcp: use 'spin_lock_bh' for state_lock()
        powerpc/pseries: PLPKS SED Opal keystore support
        block: sed-opal: keystore access for SED Opal keys
        block:sed-opal: SED Opal keystore
        ublk: simplify aborting request
        ublk: replace monitor with cancelable uring_cmd
        ublk: quiesce request queue when aborting queue
        ublk: rename mm_lock as lock
        ublk: move ublk_cancel_dev() out of ub->mutex
        ublk: make sure io cmd handled in submitter task context
        ublk: don't get ublk device reference in ublk_abort_queue()
        ublk: Make ublks_max configurable
        ublk: Limit dev_id/ub_number values
        md-cluster: check for timeout while a new disk adding
        nvme: rework NVME_AUTH Kconfig selection
        ...
      90d624af
    • Linus Torvalds's avatar
      Merge tag 'io_uring-futex-2023-10-30' of git://git.kernel.dk/linux · 4de520f1
      Linus Torvalds authored
      Pull io_uring futex support from Jens Axboe:
       "This adds support for using futexes through io_uring - first futex
        wake and wait, and then the vectored variant of waiting, futex waitv.
      
        For both wait/wake/waitv, we support the bitset variant, as the
        'normal' variants can be easily implemented on top of that.
      
        PI and requeue are not supported through io_uring, just the above
        mentioned parts. This may change in the future, but in the spirit of
        keeping this small (and based on what people have been asking for),
        this is what we currently have.
      
        Wake support is pretty straight forward, most of the thought has gone
        into the wait side to avoid needing to offload wait operations to a
        blocking context. Instead, we rely on the usual callbacks to retry and
        post a completion event, when appropriate.
      
        As far as I can recall, the first request for futex support with
        io_uring came from Andres Freund, working on postgres. His aio rework
        of postgres was one of the early adopters of io_uring, and futex
        support was a natural extension for that. This is relevant from both a
        usability point of view, as well as for effiency and performance. In
        Andres's words, for the former:
      
           Futex wait support in io_uring makes it a lot easier to avoid
           deadlocks in concurrent programs that have their own buffer pool:
           Obviously pages in the application buffer pool have to be locked
           during IO. If the initiator of IO A needs to wait for a held lock
           B, the holder of lock B might wait for the IO A to complete. The
           ability to wait for a lock and IO completions at the same time
           provides an efficient way to avoid such deadlocks
      
        and in terms of effiency, even without unlocking the full potential
        yet, Andres says:
      
           Futex wake support in io_uring is useful because it allows for more
           efficient directed wakeups. For some "locks" postgres has queues
           implemented in userspace, with wakeup logic that cannot easily be
           implemented with FUTEX_WAKE_BITSET on a single "futex word"
           (imagine waiting for journal flushes to have completed up to a
           certain point).
      
           Thus a "lock release" sometimes need to wake up many processes in a
           row. A quick-and-dirty conversion to doing these wakeups via
           io_uring lead to a 3% throughput increase, with 12% fewer context
           switches, albeit in a fairly extreme workload"
      
      * tag 'io_uring-futex-2023-10-30' of git://git.kernel.dk/linux:
        io_uring: add support for vectored futex waits
        futex: make the vectored futex operations available
        futex: make futex_parse_waitv() available as a helper
        futex: add wake_data to struct futex_q
        io_uring: add support for futex wake and wait
        futex: abstract out a __futex_wake_mark() helper
        futex: factor out the futex wake handling
        futex: move FUTEX2_VALID_MASK to futex.h
      4de520f1
    • Linus Torvalds's avatar
      Merge tag 'for-6.7/io_uring-sockopt-2023-10-30' of git://git.kernel.dk/linux · f5277ad1
      Linus Torvalds authored
      Pull io_uring {get,set}sockopt support from Jens Axboe:
       "This adds support for using getsockopt and setsockopt via io_uring.
      
        The main use cases for this is to enable use of direct descriptors,
        rather than first instantiating a normal file descriptor, doing the
        option tweaking needed, then turning it into a direct descriptor. With
        this support, we can avoid needing a regular file descriptor
        completely.
      
        The net and bpf bits have been signed off on their side"
      
      * tag 'for-6.7/io_uring-sockopt-2023-10-30' of git://git.kernel.dk/linux:
        selftests/bpf/sockopt: Add io_uring support
        io_uring/cmd: Introduce SOCKET_URING_OP_SETSOCKOPT
        io_uring/cmd: Introduce SOCKET_URING_OP_GETSOCKOPT
        io_uring/cmd: return -EOPNOTSUPP if net is disabled
        selftests/net: Extract uring helpers to be reusable
        tools headers: Grab copy of io_uring.h
        io_uring/cmd: Pass compat mode in issue_flags
        net/socket: Break down __sys_getsockopt
        net/socket: Break down __sys_setsockopt
        bpf: Add sockptr support for setsockopt
        bpf: Add sockptr support for getsockopt
      f5277ad1
    • Linus Torvalds's avatar
      Merge tag 'for-6.7/io_uring-2023-10-30' of git://git.kernel.dk/linux · ffa059b2
      Linus Torvalds authored
      Pull io_uring updates from Jens Axboe:
       "This contains the core io_uring updates, of which there are not many,
        and adds support for using WAITID through io_uring and hence not
        needing to block on these kinds of events.
      
        Outside of that, tweaks to the legacy provided buffer handling and
        some cleanups related to cancelations for uring_cmd support"
      
      * tag 'for-6.7/io_uring-2023-10-30' of git://git.kernel.dk/linux:
        io_uring/poll: use IOU_F_TWQ_LAZY_WAKE for wakeups
        io_uring/kbuf: Use slab for struct io_buffer objects
        io_uring/kbuf: Allow the full buffer id space for provided buffers
        io_uring/kbuf: Fix check of BID wrapping in provided buffers
        io_uring/rsrc: cleanup io_pin_pages()
        io_uring: cancelable uring_cmd
        io_uring: retain top 8bits of uring_cmd flags for kernel internal use
        io_uring: add IORING_OP_WAITID support
        exit: add internal include file with helpers
        exit: add kernel_waitid_prepare() helper
        exit: move core of do_wait() into helper
        exit: abstract out should_wake helper for child_wait_callback()
        io_uring/rw: add support for IORING_OP_READ_MULTISHOT
        io_uring/rw: mark readv/writev as vectored in the opcode definition
        io_uring/rw: split io_read() into a helper
      ffa059b2
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · ca995ce4
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - two small cleanup patches
      
       - a fix for PCI passthrough under Xen
      
       - a four patch series speeding up virtio under Xen with user space
         backends
      
      * tag 'for-linus-6.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
        xen: privcmd: Add support for ioeventfd
        xen: evtchn: Allow shared registration of IRQ handers
        xen: irqfd: Use _IOW instead of the internal _IOC() macro
        xen: Make struct privcmd_irqfd's layout architecture independent
        xen/xenbus: Add __counted_by for struct read_buffer and use struct_size()
        xenbus: fix error exit in xenbus_init()
      ca995ce4
    • Linus Torvalds's avatar
      Merge tag 'x86_tdx_for_6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8999ad99
      Linus Torvalds authored
      Pull x86 TDX updates from Dave Hansen:
       "The majority of this is a rework of the assembly and C wrappers that
        are used to talk to the TDX module and VMM. This is a nice cleanup in
        general but is also clearing the way for using this code when Linux is
        the TDX VMM.
      
        There are also some tidbits to make TDX guests play nicer with Hyper-V
        and to take advantage the hardware TSC.
      
        Summary:
      
         - Refactor and clean up TDX hypercall/module call infrastructure
      
         - Handle retrying/resuming page conversion hypercalls
      
         - Make sure to use the (shockingly) reliable TSC in TDX guests"
      
      [ TLA reminder: TDX is "Trust Domain Extensions", Intel's guest VM
        confidentiality technology ]
      
      * tag 'x86_tdx_for_6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/tdx: Mark TSC reliable
        x86/tdx: Fix __noreturn build warning around __tdx_hypercall_failed()
        x86/virt/tdx: Make TDX_MODULE_CALL handle SEAMCALL #UD and #GP
        x86/virt/tdx: Wire up basic SEAMCALL functions
        x86/tdx: Remove 'struct tdx_hypercall_args'
        x86/tdx: Reimplement __tdx_hypercall() using TDX_MODULE_CALL asm
        x86/tdx: Make TDX_HYPERCALL asm similar to TDX_MODULE_CALL
        x86/tdx: Extend TDX_MODULE_CALL to support more TDCALL/SEAMCALL leafs
        x86/tdx: Pass TDCALL/SEAMCALL input/output registers via a structure
        x86/tdx: Rename __tdx_module_call() to __tdcall()
        x86/tdx: Make macros of TDCALLs consistent with the spec
        x86/tdx: Skip saving output regs when SEAMCALL fails with VMFailInvalid
        x86/tdx: Zero out the missing RSI in TDX_HYPERCALL macro
        x86/tdx: Retry partially-completed page conversion hypercalls
      8999ad99
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · f00593e0
      Linus Torvalds authored
      Pull parisc updates from Helge Deller:
       "Usual fixes and updates:
      
         - Add up to 12 nops after TLB inserts for PA8x00 CPUs as the
           specification requires (Dave Anglin)
      
         - Simplify the parisc smp_prepare_boot_cpu() code (Russell King)
      
         - Use 64-bit little-endian values in SBA IOMMU PDIR table for AGP
      
        Since there is upcoming support for booting a 64-bit kernel on QEMU,
        some corner cases were fixed and improvements added:
      
         - Fix 64-bit kernel crash in STI (graphics console) font setup code
           which miscalculated the font start address as it gets signed vs
           unsigned offsets wrong
      
         - Support building an uncompressed Linux kernel
      
         - Add support for soft power-off in qemu"
      
      * tag 'parisc-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
        parisc: Show default CPU PSW.W setting as reported by PDC
        parisc/pdc: Add width field to struct pdc_model
        parisc: Add nop instructions after TLB inserts
        parisc: simplify smp_prepare_boot_cpu()
        parisc/agp: Use 64-bit LE values in SBA IOMMU PDIR table
        parisc/firmware: Use PDC constants for narrow/wide firmware
        parisc: Move parisc_narrow_firmware variable to header file
        parisc/power: Trivial whitespace cleanups and license update
        parisc/power: Add power soft-off when running on qemu
        parisc: Allow building uncompressed Linux kernel
        parisc: Add some missing PDC functions and constants
        parisc: sba-iommu: Fix comment when calculating IOC number
      f00593e0
    • Linus Torvalds's avatar
      Merge tag 'm68k-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · 979ff1e5
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven:
      
       - misc aesthetical improvements for the floating point emulator
      
       - remove the last user of strlcpy()
      
       - use kernel's generic libgcc functions
      
       - misc fixes for W=1 builds
      
       - misc indentation fixes
      
       - misc fixes and improvements
      
       - defconfig updates
      
      * tag 'm68k-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (72 commits)
        m68k: lib: Include <linux/libgcc.h> for __muldi3()
        m68k: fpsp040: Fix indentation by 5 spaces
        m68k: Fix indentation by 2 or 5 spaces in <asm/page_mm.h>
        m68k: kernel: Fix indentation by 7 spaces in traps.c
        m68k: sun3: Fix indentation by 5 or 7 spaces
        m68k: Fix indentation by 7 spaces in <asm/io_mm.h>
        m68k: defconfig: Update virt_defconfig for v6.6-rc3
        m68k: defconfig: Update defconfigs for v6.6-rc1
        m68k: io: Mark mmio read addresses as const
        m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX
        m68k: sun3: Change led_pattern[] to unsigned char
        m68k: Add missing types to asm/irq.h
        m68k: sun3/3x: Add and use "sun3.h"
        m68k: sun3x: Make dvma_print() static
        m68k: sun3x: Make sun3x_halt() static
        m68k: sun3x: Do not mark dvma_map_iommu() inline
        m68k: sun3x: Fix signature of sun3_leds()
        m68k: sun3: Make sun3_platform_init() static
        m68k: sun3: Make print_pte() static
        m68k: sun3: Annotate prom_printf() with __printf()
        ...
      979ff1e5
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 56ec8e4c
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
       "No major architecture features this time around, just some new HWCAP
        definitions, support for the Ampere SoC PMUs and a few fixes/cleanups.
      
        The bulk of the changes is reworking of the CPU capability checking
        code (cpus_have_cap() etc).
      
         - Major refactoring of the CPU capability detection logic resulting
           in the removal of the cpus_have_const_cap() function and migrating
           the code to "alternative" branches where possible
      
         - Backtrace/kgdb: use IPIs and pseudo-NMI
      
         - Perf and PMU:
      
            - Add support for Ampere SoC PMUs
      
            - Multi-DTC improvements for larger CMN configurations with
              multiple Debug & Trace Controllers
      
            - Rework the Arm CoreSight PMU driver to allow separate
              registration of vendor backend modules
      
            - Fixes: add missing MODULE_DEVICE_TABLE to the amlogic perf
              driver; use device_get_match_data() in the xgene driver; fix
              NULL pointer dereference in the hisi driver caused by calling
              cpuhp_state_remove_instance(); use-after-free in the hisi driver
      
         - HWCAP updates:
      
            - FEAT_SVE_B16B16 (BFloat16)
      
            - FEAT_LRCPC3 (release consistency model)
      
            - FEAT_LSE128 (128-bit atomic instructions)
      
         - SVE: remove a couple of pseudo registers from the cpufeature code.
           There is logic in place already to detect mismatched SVE features
      
         - Miscellaneous:
      
            - Reduce the default swiotlb size (currently 64MB) if no ZONE_DMA
              bouncing is needed. The buffer is still required for small
              kmalloc() buffers
      
            - Fix module PLT counting with !RANDOMIZE_BASE
      
            - Restrict CPU_BIG_ENDIAN to LLVM IAS 15.x or newer move
              synchronisation code out of the set_ptes() loop
      
            - More compact cpufeature displaying enabled cores
      
            - Kselftest updates for the new CPU features"
      
       * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (83 commits)
        arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
        arm64: module: Fix PLT counting when CONFIG_RANDOMIZE_BASE=n
        arm64, irqchip/gic-v3, ACPI: Move MADT GICC enabled check into a helper
        perf: hisi: Fix use-after-free when register pmu fails
        drivers/perf: hisi_pcie: Initialize event->cpu only on success
        drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
        arm64: cpufeature: Change DBM to display enabled cores
        arm64: cpufeature: Display the set of cores with a feature
        perf/arm-cmn: Enable per-DTC counter allocation
        perf/arm-cmn: Rework DTC counters (again)
        perf/arm-cmn: Fix DTC domain detection
        drivers: perf: arm_pmuv3: Drop some unused arguments from armv8_pmu_init()
        drivers: perf: arm_pmuv3: Read PMMIR_EL1 unconditionally
        drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
        clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
        arm64: Remove system_uses_lse_atomics()
        arm64: Mark the 'addr' argument to set_ptes() and __set_pte_at() as unused
        drivers/perf: xgene: Use device_get_match_data()
        perf/amlogic: add missing MODULE_DEVICE_TABLE
        arm64/mm: Hoist synchronization out of set_ptes() loop
        ...
      56ec8e4c
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2023-10-31-1' of git://anongit.freedesktop.org/drm/drm · 7d461b29
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Highlights:
         - AMD adds some more upcoming HW platforms
         - Intel made Meteorlake stable and started adding Lunarlake
         - nouveau has a bunch of display rework in prepartion for the NVIDIA
           GSP firmware support
         - msm adds a7xx support
         - habanalabs has finished migration to accel subsystem
      
        Detail summary:
      
        kernel:
         - add initial vmemdup-user-array
      
        core:
         - fix platform remove() to return void
         - drm_file owner updated to reflect owner
         - move size calcs to drm buddy allocator
         - let GPUVM build as a module
         - allow variable number of run-queues in scheduler
      
        edid:
         - handle bad h/v sync_end in EDIDs
      
        panfrost:
         - add Boris as maintainer
      
        fbdev:
         - use fb_ops helpers more
         - only allow logo use from fbcon
         - rename fb_pgproto to pgprot_framebuffer
         - add HPD state to drm_connector_oob_hotplug_event
         - convert to fbdev i/o mem helpers
      
        i915:
         - Enable meteorlake by default
         - Early Xe2 LPD/Lunarlake display enablement
         - Rework subplatforms into IP version checks
         - GuC based TLB invalidation for Meteorlake
         - Display rework for future Xe driver integration
         - LNL FBC features
         - LNL display feature capability reads
         - update recommended fw versions for DG2+
         - drop fastboot module parameter
         - added deviceid for Arrowlake-S
         - drop preproduction workarounds
         - don't disable preemption for resets
         - cleanup inlines in headers
         - PXP firmware loading fix
         - Fix sg list lengths
         - DSC PPS state readout/verification
         - Add more RPL P/U PCI IDs
         - Add new DG2-G12 stepping
         - DP enhanced framing support to state checker
         - Improve shared link bandwidth management
         - stop using GEM macros in display code
         - refactor related code into display code
         - locally enable W=1 warnings
         - remove PSR watchdog timers on LNL
      
        amdgpu:
         - RAS/FRU EEPROM updatse
         - IP discovery updatses
         - GC 11.5 support
         - DCN 3.5 support
         - VPE 6.1 support
         - NBIO 7.11 support
         - DML2 support
         - lots of IP updates
         - use flexible arrays for bo list handling
         - W=1 fixes
         - Enable seamless boot in more cases
         - Enable context type property for HDMI
         - Rework GPUVM TLB flushing
         - VCN IB start/size alignment fixes
      
        amdkfd:
         - GC 10/11 fixes
         - GC 11.5 support
         - use partial migration in GPU faults
      
        radeon:
         - W=1 Fixes
         - fix some possible buffer overflow/NULL derefs
      
        nouveau:
         - update uapi for NO_PREFETCH
         - scheduler/fence fixes
         - rework suspend/resume for GSP-RM
         - rework display in preparation for GSP-RM
      
        habanalabs:
         - uapi: expose tsc clock
         - uapi: block access to eventfd through control device
         - uapi: force dma-buf export to PAGE_SIZE alignments
         - complete move to accel subsystem
         - move firmware interface include files
         - perform hard reset on PCIe AXI drain event
         - optimise user interrupt handling
      
        msm:
         - DP: use existing helpers for DPCD
         - DPU: interrupts reworked
         - gpu: a7xx (a730/a740) support
         - decouple msm_drv from kms for headless devices
      
        mediatek:
         - MT8188 dsi/dp/edp support
         - DDP GAMMA - 12 bit LUT support
         - connector dynamic selection capability
      
        rockchip:
         - rv1126 mipi-dsi/vop support
         - add planar formats
      
        ast:
         - rename constants
      
        panels:
         - Mitsubishi AA084XE01
         - JDI LPM102A188A
         - LTK050H3148W-CTA6
      
        ivpu:
         - power management fixes
      
        qaic:
         - add detach slice bo api
      
        komeda:
         - add NV12 writeback
      
        tegra:
         - support NVSYNC/NHSYNC
         - host1x suspend fixes
      
        ili9882t:
         - separate into own driver"
      
      * tag 'drm-next-2023-10-31-1' of git://anongit.freedesktop.org/drm/drm: (1803 commits)
        drm/amdgpu: Remove unused variables from amdgpu_show_fdinfo
        drm/amdgpu: Remove duplicate fdinfo fields
        drm/amd/amdgpu: avoid to disable gfxhub interrupt when driver is unloaded
        drm/amdgpu: Add EXT_COHERENT support for APU and NUMA systems
        drm/amdgpu: Retrieve CE count from ce_count_lo_chip in EccInfo table
        drm/amdgpu: Identify data parity error corrected in replay mode
        drm/amdgpu: Fix typo in IP discovery parsing
        drm/amd/display: fix S/G display enablement
        drm/amdxcp: fix amdxcp unloads incompletely
        drm/amd/amdgpu: fix the GPU power print error in pm info
        drm/amdgpu: Use pcie domain of xcc acpi objects
        drm/amd: check num of link levels when update pcie param
        drm/amdgpu: Add a read to GFX v9.4.3 ring test
        drm/amd/pm: call smu_cmn_get_smc_version in is_mode1_reset_supported.
        drm/amdgpu: get RAS poison status from DF v4_6_2
        drm/amdgpu: Use discovery table's subrevision
        drm/amd/display: 3.2.256
        drm/amd/display: add interface to query SubVP status
        drm/amd/display: Read before writing Backlight Mode Set Register
        drm/amd/display: Disable SYMCLK32_SE RCO on DCN314
        ...
      7d461b29
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 8bc9e651
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Add a kselftest to check for unprobed DT devices
      
       - Fix address translation for some 3 address cells cases
      
       - Refactor firmware node refcounting for AMBA bus
      
       - Add bindings for qcom,sm4450-pdc, Qualcomm Kryo 465 CPU, and
         Freescale QMC HDLC
      
       - Add Marantec vendor prefix
      
       - Convert qcom,pm8921-keypad, cnxt,cx92755-wdt, da9062-wdt, and
         atmel,at91rm9200-wdt bindings to DT schema
      
       - Several additionalProperties/unevaluatedProperties on child node
         schemas fixes
      
       - Drop reserved-memory bindings which now live in dtschema project
      
       - Fix a reference to rockchip,inno-usb2phy.yaml
      
       - Remove backlight nodes from display panel examples
      
       - Expand example for using DT_SCHEMA_FILES
      
       - Merge simple LVDS panel bindings to one binding doc
      
      * tag 'devicetree-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (34 commits)
        dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Add support for QMC HDLC
        dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Add 'additionalProperties: false' in child nodes
        dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Fix example property name
        dt-bindings: arm,coresight-cti: Add missing additionalProperties on child nodes
        dt-bindings: arm,coresight-cti: Drop type for 'cpu' property
        dt-bindings: soundwire: Add reference to soundwire-controller.yaml schema
        dt-bindings: input: syna,rmi4: Make "additionalProperties: true" explicit
        media: dt-bindings: ti,ds90ub960: Add missing type for "i2c-alias"
        dt-bindings: input: qcom,pm8921-keypad: convert to YAML format
        of: overlay: unittest: overlay_bad_unresolved: Spelling s/ok/okay/
        of: address: Consolidate bus .map() functions
        of: address: Store number of bus flag cells rather than bool
        of: unittest: Add tests for address translations
        of: address: Remove duplicated functions
        of: address: Fix address translation when address-size is greater than 2
        dt-bindings: watchdog: cnxt,cx92755-wdt: convert txt to yaml
        dt-bindings: watchdog: da9062-wdt: convert txt to yaml
        dt-bindings: watchdog: fsl,scu-wdt: Document imx8dl
        dt-bindings: watchdog: atmel,at91rm9200-wdt: convert txt to yaml
        dt-bindings: usb: rockchip,dwc3: update inno usb2 phy binding name
        ...
      8bc9e651