Linux/linux 3609fa9. MAINTAINERS .mailmap, drivers/of unittest.c

Merge tag 'devicetree-fixes-for-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:

 - Fix an error path memory leak in DT unittest

 - Update Saravana's bouncing email

* tag 'devicetree-fixes-for-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  of: unittest: Fix memory leak in unittest_data_add()
  MAINTAINERS: Update Saravana Kannan's email address
DeltaFile
+3-5drivers/of/unittest.c
+3-3MAINTAINERS
+2-0.mailmap
+8-83 files

Linux/linux 9ace475. Makefile

Linux 6.19-rc4
DeltaFile
+1-1Makefile
+1-11 files

Linux/linux 54e82e9include/linux irq-entry-common.h

Merge tag 'core_urgent_for_v6.19_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull core entry fix from Borislav Petkov:

 - Make sure clang inlines trivial local_irq_* helpers

* tag 'core_urgent_for_v6.19_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  entry: Always inline local_irq_{enable,disable}_exit_to_user()
DeltaFile
+2-2include/linux/irq-entry-common.h
+2-21 files

Linux/linux aacb0a6drivers/pmdomain/imx gpc.c, drivers/pmdomain/mediatek mtk-pm-domains.c

Merge tag 'pmdomain-v6.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm

Pull pmdomain fixes from Ulf Hansson:

 - mediatek: Fix spinlock recursion fix during probe

 - imx: Fix reference count leak during probe

* tag 'pmdomain-v6.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
  pmdomain: imx: Fix reference count leak in imx_gpc_probe()
  pmdomain: mtk-pm-domains: Fix spinlock recursion fix in probe
DeltaFile
+6-15drivers/pmdomain/mediatek/mtk-pm-domains.c
+2-3drivers/pmdomain/imx/gpc.c
+8-182 files

Linux/linux 805f9a0tools/arch/x86/include/asm msr-index.h cpufeatures.h, tools/include/uapi/drm drm.h

Merge tag 'perf-tools-fixes-for-v6.19-2026-01-02' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools

Pull perf tool fixes and from Namhyung Kim:

 - skip building BPF skeletons if libopenssl is missing

 - a couple of test updates

 - handle error cases of filename__read_build_id()

 - support NVIDIA Olympus for ARM SPE profiling

 - update tool headers to sync with the kernel

* tag 'perf-tools-fixes-for-v6.19-2026-01-02' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools:
  tools build: Fix the common set of features test wrt libopenssl
  tools headers: Sync syscall table with kernel sources
  tools headers: Sync linux/socket.h with kernel sources
  tools headers: Sync linux/gfp_types.h with kernel sources

    [15 lines not shown]
DeltaFile
+30-0tools/arch/x86/include/asm/msr-index.h
+21-3tools/perf/trace/beauty/include/linux/socket.h
+15-0tools/include/uapi/drm/drm.h
+12-0tools/perf/trace/beauty/include/uapi/linux/fcntl.h
+11-0tools/include/uapi/linux/kvm.h
+11-0tools/arch/x86/include/asm/cpufeatures.h
+100-329 files not shown
+170-2835 files

Linux/linux 235a1ebdrivers/of unittest.c

of: unittest: Fix memory leak in unittest_data_add()

In unittest_data_add(), if of_resolve_phandles() fails, the allocated
unittest_data is not freed, leading to a memory leak.

Fix this by using scope-based cleanup helper __free(kfree) for automatic
resource cleanup. This ensures unittest_data is automatically freed when
it goes out of scope in error paths.

For the success path, use retain_and_null_ptr() to transfer ownership
of the memory to the device tree and prevent double freeing.

Fixes: 2eb46da2a760 ("of/selftest: Use the resolver to fixup phandles")
Suggested-by: Rob Herring <robh at kernel.org>
Co-developed-by: Jianhao Xu <jianhao.xu at seu.edu.cn>
Signed-off-by: Jianhao Xu <jianhao.xu at seu.edu.cn>
Signed-off-by: Zilin Guan <zilin at seu.edu.cn>
Link: https://patch.msgid.link/20251231114915.234638-1-zilin@seu.edu.cn
Signed-off-by: Rob Herring (Arm) <robh at kernel.org>
DeltaFile
+3-5drivers/of/unittest.c
+3-51 files

Linux/linux bbbc721kernel/power suspend.c

Merge tag 'pm-6.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fix from Rafael Wysocki:
 "Fix a recent regression that affects system suspend testing
  at the 'core' level (Rafael Wysocki)"

* tag 'pm-6.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PM: sleep: Fix suspend_test() at the TEST_CORE level
DeltaFile
+6-3kernel/power/suspend.c
+6-31 files

Linux/linux dec1ecfinclude/kunit run-in-irq-context.h

Merge tag 'libcrypto-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull crypto library fix from Eric Biggers:
 "Fix the kunit_run_irq_test() function (which I recently added for the
  CRC and crypto tests) to be less timing-dependent.

  This fixes flakiness in the polyval kunit test suite"

* tag 'libcrypto-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
  kunit: Enforce task execution in {soft,hard}irq contexts
DeltaFile
+33-20include/kunit/run-in-irq-context.h
+33-201 files

Linux/linux 6ce4d44drivers/infiniband/core addr.c, drivers/infiniband/hw/bnxt_re qplib_res.c ib_verbs.c

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull rdma fixes from Jason Gunthorpe:

 - Fix several syzkaller found bugs:
    - Poor parsing of the RDMA_NL_LS_OP_IP_RESOLVE netlink
    - GID entry refcount leaking when CM destruction races with
      multicast establishment
    - Missing refcount put in ib_del_sub_device_and_put()

 - Fixup recently introduced uABI padding for 32 bit consistency

 - Avoid user triggered math overflow in MANA and AFA

 - Reading invalid netdev data during an event

 - kdoc fixes

 - Fix never-working gid copying in ib_get_gids_from_rdma_hdr

    [38 lines not shown]
DeltaFile
+10-23drivers/infiniband/core/addr.c
+21-11drivers/infiniband/ulp/rtrs/rtrs-pri.h
+32-0drivers/infiniband/sw/rxe/rxe_net.c
+15-9drivers/infiniband/ulp/rtrs/rtrs.h
+3-5drivers/infiniband/hw/bnxt_re/qplib_res.c
+1-6drivers/infiniband/hw/bnxt_re/ib_verbs.c
+82-5412 files not shown
+107-6818 files

Linux/linux 3d35fa1tools/testing/selftests kselftest_harness.h, tools/testing/selftests/ftrace/test.d/event toplevel-enable.tc

Merge tag 'linux_kselftest-fixes-6.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull kselftest fixes from Shuah Khan:

 - Fix for build failures in tests that use an empty FIXTURE() seen in
   Android's build environment, which uses -D_FORTIFY_SOURCE=3, a build
   failure occurs in tests that use an empty FIXTURE()

 - Fix func_traceonoff_triggers.tc sometimes failures on Kunpeng-920
   board resulting from including transient trace file name in checksum
   compare

 - Fix to remove available_events requirement from toplevel-enable for
   instance as it isn't a valid requirement for this test

* tag 'linux_kselftest-fixes-6.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  kselftest/harness: Use helper to avoid zero-size memset warning
  selftests/ftrace: Test toplevel-enable for instance
  selftests/ftrace: traceonoff_triggers: strip off names
DeltaFile
+7-1tools/testing/selftests/kselftest_harness.h
+3-2tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc
+2-1tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc
+12-43 files

Linux/linux bea82c8drivers/block ublk_drv.c, drivers/md md.c raid5.c

Merge tag 'block-6.19-20260102' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:

 - Scan partition tables asynchronously for ublk, similarly to how nvme
   does it. This avoids potential deadlocks, which is why nvme does it
   that way too. Includes a set of selftests as well.

 - MD pull request via Yu:
     - Fix null-pointer dereference in raid5 sysfs group_thread_cnt
       store (Tuo Li)
     - Fix possible mempool corruption during raid1 raid_disks update
       via sysfs (FengWei Shih)
     - Fix logical_block_size configuration being overwritten during
       super_1_validate() (Li Nan)
     - Fix forward incompatibility with configurable logical block size:
       arrays assembled on new kernels could not be assembled on older
       kernels (v6.18 and before) due to non-zero reserved pad rejection
       (Li Nan)

    [20 lines not shown]
DeltaFile
+68-0tools/testing/selftests/ublk/test_generic_15.sh
+50-11drivers/md/md.c
+32-3drivers/block/ublk_drv.c
+12-4tools/testing/selftests/ublk/test_common.sh
+6-4drivers/md/raid5.c
+3-2tools/testing/selftests/ublk/Makefile
+171-243 files not shown
+174-279 files

Linux/linux 509b5b1include/linux io_uring_types.h, io_uring memmap.c tctx.c

Merge tag 'io_uring-6.19-20260102' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:

 - Removed dead argument length for io_uring_validate_mmap_request()

 - Use GFP_NOWAIT for overflow CQEs on legacy ring setups rather than
   GFP_ATOMIC, which makes it play nicer with memcg limits

 - Fix a potential circular locking issue with tctx node removal and
   exec based cancelations

* tag 'io_uring-6.19-20260102' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/memmap: drop unused sz param in io_uring_validate_mmap_request()
  io_uring/tctx: add separate lock for list of tctx's in ctx
  io_uring: use GFP_NOWAIT for overflow CQEs on legacy rings
DeltaFile
+4-5io_uring/memmap.c
+7-1include/linux/io_uring_types.h
+4-4io_uring/tctx.c
+6-1io_uring/io_uring.c
+5-0io_uring/cancel.c
+2-0io_uring/register.c
+28-116 files

Linux/linux 71b62edarch/x86/kernel/cpu/microcode amd.c

Merge tag 'x86-urgent-2026-01-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Ingo Molnar:
 "Fix the AMD microcode Entrysign signature checking code to include
  more models"

* tag 'x86-urgent-2026-01-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/microcode/AMD: Fix Entrysign revision check for Zen5/Strix Halo
DeltaFile
+1-1arch/x86/kernel/cpu/microcode/amd.c
+1-11 files

Linux/linux b993744arch/loongarch/kernel unwind_orc.c mcount_dyn.S, arch/loongarch/mm cache.c

Merge tag 'loongarch-fixes-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson

Pull LoongArch fixes from Huacai Chen:
 "Complete CPUCFG registers definition, set correct protection_map[] for
  VM_NONE/VM_SHARED, fix some bugs in the orc stack unwinder, ftrace and
  BPF JIT"

* tag 'loongarch-fixes-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson:
  samples/ftrace: Adjust LoongArch register restore order in direct calls
  LoongArch: BPF: Enhance the bpf_arch_text_poke() function
  LoongArch: BPF: Enable trampoline-based tracing for module functions
  LoongArch: BPF: Adjust the jump offset of tail calls
  LoongArch: BPF: Save return address register ra to t0 before trampoline
  LoongArch: BPF: Zero-extend bpf_tail_call() index
  LoongArch: BPF: Sign extend kfunc call arguments
  LoongArch: Refactor register restoration in ftrace_common_return
  LoongArch: Enable exception fixup for specific ADE subcode
  LoongArch: Remove unnecessary checks for ORC unwinder
  LoongArch: Remove is_entry_func() and kernel_entry_end

    [3 lines not shown]
DeltaFile
+47-11arch/loongarch/net/bpf_jit.c
+5-22arch/loongarch/kernel/unwind_orc.c
+26-0arch/loongarch/net/bpf_jit.h
+10-4arch/loongarch/kernel/mcount_dyn.S
+4-4samples/ftrace/ftrace-direct-modify.c
+4-4arch/loongarch/mm/cache.c
+96-457 files not shown
+120-5713 files

Linux/linux 9b04368drivers/gpu/drm drm_pagemap.c, drivers/gpu/drm/i915/gem i915_gem_execbuffer.c

Merge tag 'drm-fixes-2026-01-02' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Happy New Year, jetlagged fixes from me, still pretty quiet, xe is
  most of this, with i915/nouveau/imagination fixes and some shmem
  cleanups.

  shmem:
   - docs and MODULE_LICENSE fix

  xe:
   - Ensure svm device memory is idle before migration completes
   - Fix a SVM debug printout
   - Use READ_ONCE() / WRITE_ONCE() for g2h_fence

  i915:
   - Fix eb_lookup_vmas() failure path

  nouveau:

    [14 lines not shown]
DeltaFile
+38-13drivers/gpu/drm/xe/xe_svm.c
+17-20drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+20-5drivers/gpu/drm/xe/xe_migrate.c
+13-4drivers/gpu/drm/drm_pagemap.c
+14-3include/drm/drm_pagemap.h
+10-4drivers/gpu/drm/xe/xe_guc_ct.c
+112-495 files not shown
+144-5411 files

Linux/linux e3a97abfs/smb/server smb2pdu.c

Merge tag 'v6.19-rc3-smb3-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:

 - Fix memory leak

 - Fix two refcount leaks

 - Fix error path in create_smb2_pipe

* tag 'v6.19-rc3-smb3-server-fixes' of git://git.samba.org/ksmbd:
  smb/server: fix refcount leak in smb2_open()
  smb/server: fix refcount leak in parse_durable_handle_context()
  smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()
  ksmbd: Fix memory leak in get_file_all_info()
DeltaFile
+9-3fs/smb/server/smb2pdu.c
+9-31 files

Linux/linux 047b4e7fs/smb/client smb2ops.c ioctl.c

Merge tag 'v6.19-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - Fix array out of bounds error in copy_file_range

 - Add tracepoint to help debug ioctl failures

* tag 'v6.19-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb: client: fix UBSAN array-index-out-of-bounds in smb2_copychunk_range
  smb3 client: add missing tracepoint for unsupported ioctls
DeltaFile
+6-0fs/smb/client/smb2ops.c
+3-0fs/smb/client/ioctl.c
+1-0fs/smb/client/trace.h
+10-03 files

Linux/linux 69153e8block bfq-iosched.h

block, bfq: update outdated comment

The function bfq_bfqq_may_idle() was renamed as bfq_better_to_idle()
in commit 277a4a9b56cd ("block, bfq: give a better name to
bfq_bfqq_may_idle").  Update the comment accordingly.

Signed-off-by: Julia Lawall <Julia.Lawall at inria.fr>
Signed-off-by: Jens Axboe <axboe at kernel.dk>
DeltaFile
+1-1block/bfq-iosched.h
+1-11 files

Linux/linux 70eafc7io_uring memmap.c

io_uring/memmap: drop unused sz param in io_uring_validate_mmap_request()

io_uring_validate_mmap_request() doesn't use its size_t sz argument, so
remove it.

Signed-off-by: Caleb Sander Mateos <csander at purestorage.com>
Signed-off-by: Jens Axboe <axboe at kernel.dk>
DeltaFile
+4-5io_uring/memmap.c
+4-51 files

Linux/linux 5623eb1include/linux io_uring_types.h, io_uring tctx.c cancel.c

io_uring/tctx: add separate lock for list of tctx's in ctx

ctx->tcxt_list holds the tasks using this ring, and it's currently
protected by the normal ctx->uring_lock. However, this can cause a
circular locking issue, as reported by syzbot, where cancelations off
exec end up needing to remove an entry from this list:

======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Tainted: G             L
------------------------------------------------------
syz.0.9999/12287 is trying to acquire lock:
ffff88805851c0a8 (&ctx->uring_lock){+.+.}-{4:4}, at: io_uring_del_tctx_node+0xf0/0x2c0 io_uring/tctx.c:179

but task is already holding lock:
ffff88802db5a2e0 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: prepare_bprm_creds fs/exec.c:1360 [inline]
ffff88802db5a2e0 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0xb9/0x1400 fs/exec.c:1733

which lock already depends on the new lock.

    [131 lines not shown]
DeltaFile
+4-4io_uring/tctx.c
+7-1include/linux/io_uring_types.h
+5-0io_uring/cancel.c
+5-0io_uring/io_uring.c
+2-0io_uring/register.c
+23-55 files

Linux/linux 7be19f9drivers/gpu/drm/i915/gem i915_gem_execbuffer.c

Merge tag 'drm-intel-fixes-2025-12-31' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes

drm/i915 fixes for v6.19-rc4:
- Fix eb_lookup_vmas() failure path

Signed-off-by: Dave Airlie <airlied at redhat.com>
From: Jani Nikula <jani.nikula at intel.com>
Link: https://patch.msgid.link/4e79f041395bb8bcc9b2a76bb98b5e3df1c1c3eb@intel.com
DeltaFile
+17-20drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+17-201 files

Linux/linux 9abfe0bdrivers/gpu/drm drm_gem_shmem_helper.c, drivers/gpu/drm/imagination pvr_gem.c

Merge tag 'drm-misc-fixes-2025-12-29' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes

drm-misc-fixes for v6.19-rc4:
- Documentation fixes and MODULE_LICENSE fix for shmem helper.
- Fix warnings in nouveau prepare_fb().
- Prevent export of protected objects in imagination driver.

Signed-off-by: Dave Airlie <airlied at redhat.com>
From: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Link: https://patch.msgid.link/5506492b-02ca-47bc-8712-51e67f0e4b8b@linux.intel.com
DeltaFile
+13-0drivers/gpu/drm/nouveau/dispnv50/atom.h
+11-0drivers/gpu/drm/imagination/pvr_gem.c
+3-2drivers/gpu/drm/drm_gem_shmem_helper.c
+1-1drivers/gpu/drm/nouveau/dispnv50/wndw.c
+28-34 files

Linux/linux 1054f19drivers/gpu/drm drm_pagemap.c, drivers/gpu/drm/xe xe_svm.c xe_migrate.c

Merge tag 'drm-xe-fixes-2025-12-30' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes

Core Changes:
- Ensure a SVM device memory allocation is idle before migration complete (Thomas)

Driver Changes:
- Fix a SVM debug printout (Thomas)
- Use READ_ONCE() / WRITE_ONCE() for g2h_fence (Jonathan)

Signed-off-by: Dave Airlie <airlied at redhat.com>

From: Thomas Hellstrom <thomas.hellstrom at linux.intel.com>
Link: https://patch.msgid.link/aVOTf6-whmkgrUuq@fedora
DeltaFile
+38-13drivers/gpu/drm/xe/xe_svm.c
+20-5drivers/gpu/drm/xe/xe_migrate.c
+14-3include/drm/drm_pagemap.h
+13-4drivers/gpu/drm/drm_pagemap.c
+10-4drivers/gpu/drm/xe/xe_guc_ct.c
+4-2drivers/gpu/drm/xe/xe_migrate.h
+99-316 files

Linux/linux b69053ddrivers/net/wireless/mediatek/mt76 mt76_connac_mcu.c

wifi: mt76: Remove blank line after mt792x firmware version dmesg

An extra blank line gets printed after printing firmware version
because the build date is null terminated. Remove the "\n" from
dev_info() calls to print firmware version and build date to fix
the problem.

Reported-by: Mario Limonciello <superm1 at gmail.com>
Signed-off-by: Shuah Khan <skhan at linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+3-3drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
+3-31 files

Linux/linux af7809fdrivers/net/wireless/mediatek/mt76 mt76_connac_mcu.c

Revert "wifi: mt76: Strip whitespace from build ddate"

This reverts commit f804a5895ebad2b2d4fb8a3688d2115926e993d5.

This change introduced the following panic, and mt792x_load_firmware()
fails. wifi is dead on systems with mt792x wireless.

kern  :crit  : kernel BUG at lib/string_helpers.c:1043!
kern  :warn  : Oops: invalid opcode: 0000 [#1] SMP NOPTI
kern  :warn  : CPU: 14 UID: 0 PID: 61 Comm: kworker/14:0 Tainted: G        W
        6.19.0-rc1 #1 PREEMPT(voluntary)
kern  :warn  : Tainted: [W]=WARN
kern  :warn  : Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP07, BIOS 03.16 07/25/2025
kern  :warn  : Workqueue: events mt7921_init_work [mt7921_common]
kern  :warn  : RIP: 0010:__fortify_panic+0xd/0xf
kern  :warn  : Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 40 0f b6 ff e8 c3 55 71 00 <0f> 0b 48 8b 54 24 10 48 8b 74 24 08 4c 89 e9 48 c7 c7 00 a2 d5 a0
kern  :warn  : RSP: 0018:ffffa7a5c03a3d10 EFLAGS: 00010246
kern  :warn  : RAX: ffffffffa0d7aaf2 RBX: 0000000000000000 RCX: ffffffffa0d7aaf2
kern  :warn  : RDX: 0000000000000011 RSI: ffffffffa0d5a170 RDI: ffffffffa128db10

    [32 lines not shown]
DeltaFile
+1-5drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
+1-51 files

Linux/linux 19b8a76tools/testing/selftests kselftest_harness.h

kselftest/harness: Use helper to avoid zero-size memset warning

When building kselftests with a toolchain that enables source
fortification (e.g., Android's build environment, which uses
-D_FORTIFY_SOURCE=3), a build failure occurs in tests that use an
empty FIXTURE().

The root cause is that an empty fixture struct results in
`sizeof(self_private)` evaluating to 0. The compiler's fortification
checks then detect the `memset()` call with a compile-time constant size
of 0, issuing a `-Wuser-defined-warnings` which is promoted to an error
by `-Werror`.

An initial attempt to guard the call with `if (sizeof(self_private) > 0)`
was insufficient. The compiler's static analysis is aggressive enough
to flag the `memset(..., 0)` pattern before evaluating the conditional,
thus still triggering the error.

To resolve this robustly, this change introduces a `static inline`

    [19 lines not shown]
DeltaFile
+7-1tools/testing/selftests/kselftest_harness.h
+7-11 files

Linux/linux 9528d5cdrivers/platform/mellanox mlxbf-pmc.c, drivers/platform/x86 asus-armoury.h samsung-galaxybook.c

Merge tag 'platform-drivers-x86-v6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull x86 platform driver fixes from Ilpo Järvinen:

 - alienware-wmi-wmax: Area-51, x16, and 16X Aurora laptops support

 - asus-armoury:
    - Fix FA507R PPT data
    - Add TDP data for more laptop models

 - asus-nb-wmi: Asus Zenbook 14 display toggle key support

 - dell-lis3lv02d: Dell Latitude 5400 support

 - hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing

 - ibm_rtl: Fix EBDA signature search pointer arithmetic

 - ideapad-laptop: Reassign KEY_CUT to KEY_SELECTIVE_SCREENSHOT

    [39 lines not shown]
DeltaFile
+173-3drivers/platform/x86/asus-armoury.h
+32-0drivers/platform/x86/dell/alienware-wmi-wmax.c
+9-8include/linux/intel_vsec.h
+7-7drivers/platform/mellanox/mlxbf-pmc.c
+6-3drivers/platform/x86/samsung-galaxybook.c
+5-3drivers/platform/x86/intel/pmt/discovery.c
+232-2412 files not shown
+265-3118 files

Linux/linux 0eccd4atools/testing/selftests/ftrace/test.d/event toplevel-enable.tc

selftests/ftrace: Test toplevel-enable for instance

'available_events' is actually not required by
'test.d/event/toplevel-enable.tc' and its Existence has been tested in
'test.d/00basic/basic4.tc'.

So the require of 'available_events' can be dropped and then we can add
'instance' flag to test 'test.d/event/toplevel-enable.tc' for instance.

Test result show as below:
 # ./ftracetest test.d/event/toplevel-enable.tc
 === Ftrace unit tests ===
 [1] event tracing - enable/disable with top level files [PASS]
 [2] (instance)  event tracing - enable/disable with top level files [PASS]

 # of passed:  2
 # of failed:  0
 # of unresolved:  0
 # of untested:  0

    [8 lines not shown]
DeltaFile
+2-1tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc
+2-11 files

Linux/linux b889b4ftools/testing/selftests/ftrace/test.d/ftrace func_traceonoff_triggers.tc

selftests/ftrace: traceonoff_triggers: strip off names

The func_traceonoff_triggers.tc sometimes goes to fail
on my board, Kunpeng-920.

[root at localhost]# ./ftracetest ./test.d/ftrace/func_traceonoff_triggers.tc -l fail.log
=== Ftrace unit tests ===
[1] ftrace - test for function traceon/off triggers     [FAIL]
[2] (instance)  ftrace - test for function traceon/off triggers [UNSUPPORTED]

I look up the log, and it shows that the md5sum is different between csum1 and csum2.

++ cnt=611
++ sleep .1
+++ cnt_trace
+++ grep -v '^#' trace
+++ wc -l
++ cnt2=611
++ '[' 611 -ne 611 ']'

    [42 lines not shown]
DeltaFile
+3-2tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc
+3-21 files

Linux/linux 349bd28drivers/vfio/pci vfio_pci_rdwr.c, drivers/vfio/pci/nvgrace-gpu main.c

Merge tag 'vfio-v6.19-rc4' of https://github.com/awilliam/linux-vfio

Pull VFIO fixes from Alex Williamson:

 - Restrict ROM access to dword to resolve a regression introduced with
   qword access seen on some Intel NICs. Update VGA region access to the
   same given lack of precedent for 64-bit users (Kevin Tian)

 - Fix missing .get_region_info_caps callback in the xe-vfio-pci variant
   driver due to integration through the DRM tree (Michal Wajdeczko)

 - Add aligned 64-bit access macros to tools/include/linux/types.h,
   allowing removal of uapi/linux/type.h includes from various vfio
   selftest, resolving redefinition warnings for integration with KVM
   selftests (David Matlack)

 - Fix error path memory leak in pds-vfio-pci variant driver (Zilin Guan)

 - Fix error path use-after-free in xe-vfio-pci variant driver (Alper Ak)

    [9 lines not shown]
DeltaFile
+18-7drivers/vfio/pci/vfio_pci_rdwr.c
+9-1include/linux/vfio_pci_core.h
+8-0tools/include/linux/types.h
+5-2drivers/vfio/pci/pds/dirty.c
+4-1drivers/vfio/pci/xe/main.c
+2-2drivers/vfio/pci/nvgrace-gpu/main.c
+46-136 files not shown
+46-1912 files