1329376 Commits

Author SHA1 Message Date
Stephen Rothwell
cd07c43f9b Merge branch 'vfs.all' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git 2024-12-20 09:19:26 +11:00
Stephen Rothwell
aff4665b9d Merge branch 'master' of https://github.com/Paragon-Software-Group/linux-ntfs3.git 2024-12-20 09:19:24 +11:00
Stephen Rothwell
a81b732739 Merge branch 'linux-next' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git 2024-12-20 09:19:23 +11:00
Stephen Rothwell
1abd31c54a Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git 2024-12-20 09:19:22 +11:00
Stephen Rothwell
549a56daf7 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git 2024-12-20 09:19:21 +11:00
Stephen Rothwell
b5f413d95e Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git 2024-12-20 09:19:20 +11:00
Stephen Rothwell
8dad5129f0 Merge branch 'for_next' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git 2024-12-20 09:19:18 +11:00
Stephen Rothwell
7f8ba7d724 Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git 2024-12-20 09:19:17 +11:00
Stephen Rothwell
cc224a7428 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git 2024-12-20 09:19:16 +11:00
Stephen Rothwell
f6e8d51a69 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git 2024-12-20 09:19:16 +11:00
Stephen Rothwell
58f089dcb6 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6.git 2024-12-20 09:19:13 +11:00
Stephen Rothwell
0c911c7a68 Merge branch 'master' of git://github.com/ceph/ceph-client.git 2024-12-20 09:19:12 +11:00
Stephen Rothwell
389534fa27 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git 2024-12-20 09:19:12 +11:00
Stephen Rothwell
d5d92a4e97 Merge branch 'for-next' of git://evilpiepirate.org/bcachefs.git 2024-12-20 09:19:10 +11:00
Stephen Rothwell
17261b7679 Merge branch 'nfsd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux 2024-12-20 09:19:08 +11:00
Stephen Rothwell
d4b735805f Merge branch 'next-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git 2024-12-20 09:19:05 +11:00
Stephen Rothwell
d6eb4e1318 Merge branch 'vfs.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git 2024-12-20 09:19:04 +11:00
Dave Airlie
87fd883325 Merge tag 'drm-misc-fixes-2024-12-19' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
drm-misc-fixes for v6.13-rc4:
- udma-buf fixes related to sealing.
- dma-buf build warning fix when debugfs is not enabled.
- Assorted drm/panel fixes.
- Correct error return in drm_dp_tunnel_mgr_create.
- Fix even more divide by zero in drm_mode_vrefresh.
- Fix FBDEV dependencies in Kconfig.
- Documentation fix for drm_sched_fini.
- IVPU NULL pointer, memory leak and WARN fix.

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d0763051-87b7-483e-89e0-a9f993383450@linux.intel.com
2024-12-20 07:13:45 +10:00
Thomas Weißschuh
21096800c5 power: supply: core: fix build of extension sysfs group if CONFIG_SYSFS=n
Add and use wrapper functions for the sysfs interaction.
Restore the compatibility of CONFIG_POWER_SUPPLY=y and CONFIG_SYSFS=n.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/lkml/20241218195229.GA2796534@ax162/
Fixes: 288a2cabcf6b ("power: supply: core: add UAPI to discover currently used extensions")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241219-psy-extensions-sysfs-v1-1-868fc6cb46d6@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-12-19 21:45:58 +01:00
Jakub Kicinski
07e5c4eb94 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.13-rc4).

No conflicts.

Adjacent changes:

drivers/net/ethernet/renesas/rswitch.h
  32fd46f5b69e ("net: renesas: rswitch: remove speed from gwca structure")
  922b4b955a03 ("net: renesas: rswitch: rework ts tags management")

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-19 11:35:07 -08:00
Ingo Molnar
1c875bc67c Merge branch into tip/master: 'x86/tdx'
# New commits in x86/tdx:
    6f5c71cc42d4 ("x86/virt/tdx: Require the module to assert it has the NO_RBP_MOD mitigation")
    fae43b24a6ba ("x86/virt/tdx: Switch to use auto-generated global metadata reading code")
    6bfb77f4893f ("x86/virt/tdx: Use dedicated struct members for PAMT entry sizes")
    04a7bc7316b8 ("x86/virt/tdx: Use auto-generated code to read global metadata")
    c4e0862a62c0 ("x86/virt/tdx: Start to track all global metadata in one structure")
    e8aa393b0ada ("x86/virt/tdx: Rename 'struct tdx_tdmr_sysinfo' to reflect the spec better")
    564ea84c8c14 ("x86/tdx: Dump attributes and TD_CTLS on boot")
    cd9ce8217345 ("x86/tdx: Disable unnecessary virtualization exceptions")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:28 +01:00
Ingo Molnar
42e848120d Merge branch into tip/master: 'x86/sev'
# New commits in x86/sev:
    21fc6178e920 ("x86/sev/docs: Document the SNP Reverse Map Table (RMP)")
    8ae3291f773b ("x86/sev: Add full support for a segmented RMP table")
    0f14af0d1d7d ("x86/sev: Treat the contiguous RMP table as a single RMP segment")
    ac517965a5a1 ("x86/sev: Map only the RMP table entries instead of the full RMP range")
    e2f3d40df82e ("x86/sev: Move the SNP probe routine out of the way")
    4972808d6f4a ("x86/sev: Require the RMPREAD instruction after Zen4")
    0cbc02584158 ("x86/sev: Add support for the RMPREAD instruction")
    3e43c60eb3e3 ("x86/sev: Prepare for using the RMPREAD instruction to access the RMP")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:28 +01:00
Ingo Molnar
54781cda45 Merge branch into tip/master: 'x86/mm'
# New commits in x86/mm:
    dd4059634dab ("x86/mtrr: Rename mtrr_overwrite_state() to guest_force_mtrr_state()")
    9d93db0d1881 ("x86/mm/selftests: Fix typo in lam.c")
    6db2526c1d69 ("x86/mm/tlb: Only trim the mm_cpumask once a second")
    953753db887f ("x86/mm/tlb: Also remove local CPU from mm_cpumask if stale")
    2815a56e4b72 ("x86/mm/tlb: Add tracepoint for TLB flush IPI to stale CPU")
    209954cbc7d0 ("x86/mm/tlb: Update mm_cpumask lazily")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:27 +01:00
Ingo Molnar
1d690c62e1 Merge branch into tip/master: 'x86/misc'
# New commits in x86/misc:
    6a5abeea9c72 ("x86/mtrr: Rename mtrr_overwrite_state() to guest_force_mtrr_state()")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:27 +01:00
Ingo Molnar
be442533dd Merge branch into tip/master: 'x86/cpu'
# New commits in x86/cpu:
    e5d3a57891ba ("x86/cpu: Make all all CPUID leaf names consistent")
    588e148d8bab ("x86/fpu: Remove unnecessary CPUID level check")
    754aaac3bbf1 ("x86/fpu: Move CPUID leaf definitions to common code")
    e558eadf6bd6 ("x86/tsc: Remove CPUID "frequency" leaf magic numbers.")
    030c15b5610c ("x86/tsc: Move away from TSC leaf magic numbers")
    a86740a77bf0 ("x86/cpu: Move TSC CPUID leaf definition")
    5d82d8e0a9ac ("x86/cpu: Refresh DCA leaf reading code")
    262fba55708b ("x86/cpu: Remove unnecessary MwAIT leaf checks")
    8bd6821c9cf3 ("x86/cpu: Use MWAIT leaf definition")
    497f70284695 ("x86/cpu: Move MWAIT leaf definition to common header")
    5366d8965d35 ("x86/cpu: Remove 'x86_cpu_desc' infrastructure")
    f3f325152673 ("x86/cpu: Move AMD erratum 1386 table over to 'x86_cpu_id'")
    3fa5626720c0 ("x86/cpu: Replace PEBS use of 'x86_cpu_desc' use with 'x86_cpu_id'")
    85b08180df07 ("x86/cpu: Expose only stepping min/max interface")
    b8e10c86e674 ("x86/cpu: Introduce new microcode matching helper")
    4bf610499c42 ("x86/cpufeature: Document cpu_feature_enabled() as the default to use")
    29188c160061 ("x86/paravirt: Remove the WBINVD callback")
    7a470e826d75 ("x86/cpufeatures: Free up unused feature bits")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:27 +01:00
Ingo Molnar
6eb8f9450a Merge branch into tip/master: 'x86/cleanups'
# New commits in x86/cleanups:
    3560a023a9b9 ("x86/cpu: Fix typo in x86_match_cpu()'s doc")
    13148e22c151 ("x86/apic: Remove "disablelapic" cmdline option")
    ab0e7f20768a ("Documentation: Merge x86-specific boot options doc into kernel-parameters.txt")
    525077ae7145 ("x86/ioremap: Remove unused size parameter in remapping functions")
    095ac6fa1950 ("x86/ioremap: Simplify setup_data mapping variants")
    5daececd4ff5 ("x86/boot/compressed: Remove unused header includes from kaslr.c")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:26 +01:00
Ingo Molnar
88205fabfd Merge branch into tip/master: 'x86/cache'
# New commits in x86/cache:
    faf6ef673787 ("x86/resctrl: Document the new "mba_MBps_event" file")
    8e931105acae ("x86/resctrl: Add write option to "mba_MBps_event" file")
    f5cd0e316f14 ("x86/resctrl: Add "mba_MBps_event" file to CTRL_MON directories")
    141cb5c482b3 ("x86/resctrl: Make mba_sc use total bandwidth if local is not supported")
    2c272fadb58b ("x86/resctrl: Compute memory bandwidth for all supported events")
    481d363748b2 ("x86/resctrl: Modify update_mba_bw() to use per CTRL_MON group event")
    3b49c37a2f46 ("x86/resctrl: Prepare for per-CTRL_MON group mba_MBps control")
    2937f9c361f7 ("x86/resctrl: Introduce resctrl_file_fflags_init() to initialize fflags")
    135eef38d7e0 ("x86/resctrl: Use kthread_run_on_cpu()")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:26 +01:00
Ingo Molnar
06108a5f86 Merge branch into tip/master: 'x86/boot'
# New commits in x86/boot:
    35aafa1d41ce ("x86/boot/64: Fix spurious undefined reference when CONFIG_X86_5LEVEL=n, on GCC-12")
    a3eaa2be7004 ("x86/sysfs: Constify 'struct bin_attribute'")
    5a82223e0743 ("x86/kexec: Mark relocate_kernel page as ROX instead of RWX")
    93e489ad7a46 ("x86/kexec: Clean up register usage in relocate_kernel()")
    b7155dfd4999 ("x86/kexec: Eliminate writes through kernel mapping of relocate_kernel page")
    b3adabae8a96 ("x86/kexec: Drop page_list argument from relocate_kernel()")
    8dbec5c77bc3 ("x86/kexec: Add data section to relocate_kernel")
    cb33ff9e063c ("x86/kexec: Move relocate_kernel to kernel .data section")
    eeebbde57113 ("x86/kexec: Invoke copy of relocate_kernel() instead of the original")
    6a750b4c0099 ("x86/kexec: Copy control page into place in machine_kexec_prepare()")
    4b5bc2ec9a23 ("x86/kexec: Allocate PGD for x86_64 transition page tables separately")
    9e5683e2d0b5 ("x86/kexec: Only swap pages for ::preserve_context mode")
    46d4e205e22c ("x86/kexec: Use named labels in swap_pages in relocate_kernel_64.S")
    207bdf7f72ae ("x86/kexec: Clean up and document register use in relocate_kernel_64.S")
    faf0ed487415 ("x86/boot: Reject absolute references in .head.text")
    a6a4ae9c3f3a ("x86/boot: Move .head.text into its own output section")
    35350eb689e6 ("x86/kernel: Move ENTRY_TEXT to the start of the image")
    3b6f99a94b04 ("x86/boot: Disable UBSAN in early boot code")
    0d9b9a328cb6 ("x86/boot/64: Avoid intentional absolute symbol references in .head.text")
    093562198e1a ("x86/boot/64: Determine VA/PA offset before entering C code")
    09d35045cd0f ("x86/sev: Avoid WARN()s and panic()s in early boot code")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:25 +01:00
Ingo Molnar
c779bc69c8 Merge branch into tip/master: 'sched/core'
# New commits in sched/core:
    af98d8a36a96 ("sched/fair: Fix CPU bandwidth limit bypass during CPU hotplug")
    7675361ff9a1 ("sched: deadline: Cleanup goto label in pick_earliest_pushable_dl_task")
    7d5265ffcd8b ("rseq: Validate read-only fields under DEBUG_RSEQ config")
    2a77e4be12cb ("sched/fair: Untangle NEXT_BUDDY and pick_next_task()")
    95d9fed3a2ae ("sched/fair: Mark m*_vruntime() with __maybe_unused")
    0429489e0928 ("sched/fair: Fix variable declaration position")
    61b82dfb6b7e ("sched/fair: Do not try to migrate delayed dequeue task")
    736c55a02c47 ("sched/fair: Rename cfs_rq.nr_running into nr_queued")
    43eef7c3a4a6 ("sched/fair: Remove unused cfs_rq.idle_nr_running")
    31898e7b87dd ("sched/fair: Rename cfs_rq.idle_h_nr_running into h_nr_idle")
    9216582b0bfb ("sched/fair: Removed unsued cfs_rq.h_nr_delayed")
    1a49104496d3 ("sched/fair: Use the new cfs_rq.h_nr_runnable")
    c2a295bffeaf ("sched/fair: Add new cfs_rq.h_nr_runnable")
    7b8a702d9438 ("sched/fair: Rename h_nr_running into h_nr_queued")
    c907cd44a108 ("sched: Unify HK_TYPE_{TIMER|TICK|MISC} to HK_TYPE_KERNEL_NOISE")
    6010d245ddc9 ("sched/isolation: Consolidate housekeeping cpumasks that are always identical")
    1174b9344bc7 ("sched/isolation: Make "isolcpus=nohz" equivalent to "nohz_full"")
    ae5c677729e9 ("sched/core: Remove HK_TYPE_SCHED")
    a76328d44c7a ("sched/fair: Remove CONFIG_CFS_BANDWIDTH=n definition of cfs_bandwidth_used()")
    3a181f20fb4e ("sched/deadline: Consolidate Timer Cancellation")
    53916d5fd3c0 ("sched/deadline: Check bandwidth overflow earlier for hotplug")
    d4742f6ed7ea ("sched/deadline: Correctly account for allocated bandwidth during hotplug")
    41d4200b7103 ("sched/deadline: Restore dl_server bandwidth on non-destructive root domain changes")
    59297e2093ce ("sched: add READ_ONCE to task_on_rq_queued")
    108ad0999085 ("sched: Don't try to catch up excess steal time.")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:25 +01:00
Ingo Molnar
08eccca432 Merge branch into tip/master: 'perf/core'
# New commits in perf/core:
    02c56362a7d3 ("uprobes: Guard against kmemdup() failing in dup_return_instance()")
    d29e744c7167 ("perf/x86: Relax privilege filter restriction on AMD IBS")
    6057b90ecc84 ("perf/core: Export perf_exclude_event()")
    8622e45b5da1 ("uprobes: Reuse return_instances between multiple uretprobes within task")
    0cf981de7687 ("uprobes: Ensure return_instance is detached from the list before freeing")
    636666a1c733 ("uprobes: Decouple return_instance list traversal and freeing")
    2ff913ab3f47 ("uprobes: Simplify session consumer tracking")
    e0925f2dc4de ("uprobes: add speculative lockless VMA-to-inode-to-uprobe resolution")
    83e3dc9a5d4d ("uprobes: simplify find_active_uprobe_rcu() VMA checks")
    03a001b156d2 ("mm: introduce mmap_lock_speculate_{try_begin|retry}")
    eb449bd96954 ("mm: convert mm_lock_seq to a proper seqcount")
    7528585290a1 ("mm/gup: Use raw_seqcount_try_begin()")
    96450ead1652 ("seqlock: add raw_seqcount_try_begin")
    b4943b8bfc41 ("perf/x86/rapl: Add core energy counter support for AMD CPUs")
    54d2759778c1 ("perf/x86/rapl: Move the cntr_mask to rapl_pmus struct")
    bdc57ec70548 ("perf/x86/rapl: Remove the global variable rapl_msrs")
    abf03d9bd20c ("perf/x86/rapl: Modify the generic variable names to *_pkg*")
    eeca4c6b2529 ("perf/x86/rapl: Add arguments to the init and cleanup functions")
    cd29d83a6d81 ("perf/x86/rapl: Make rapl_model struct global")
    8bf1c86e5ac8 ("perf/x86/rapl: Rename rapl_pmu variables")
    1d5e2f637a94 ("perf/x86/rapl: Remove the cpu_to_rapl_pmu() function")
    e4b444347795 ("x86/topology: Introduce topology_logical_core_id()")
    2f2db347071a ("perf/x86/rapl: Remove the unused get_rapl_pmu_cpumask() function")
    ae55e308bde2 ("perf/x86/intel/ds: Simplify the PEBS records processing for adaptive PEBS")
    3c00ed344cef ("perf/x86/intel/ds: Factor out functions for PEBS records processing")
    7087bfb0adc9 ("perf/x86/intel/ds: Clarify adaptive PEBS processing")
    faac6f105ef1 ("perf/core: Check sample_type in perf_sample_save_brstack")
    f226805bc5f6 ("perf/core: Check sample_type in perf_sample_save_callchain")
    b9c44b91476b ("perf/core: Save raw sample data conditionally based on sample type")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:25 +01:00
Ingo Molnar
6e616ada09 Merge branch into tip/master: 'objtool/core'
# New commits in objtool/core:
    41a1e976623e ("x86/mm: Convert unreachable() to BUG()")
    c3cb6c158c64 ("objtool: Allow arch code to discover jump table size")
    e7e0eb53c2f0 ("objtool: Warn about unknown annotation types")
    87116ae6da03 ("objtool: Fix ANNOTATE_REACHABLE to be a normal annotation")
    e7a174fb43d2 ("objtool: Convert {.UN}REACHABLE to ANNOTATE")
    06e24745985c ("objtool: Remove annotate_{,un}reachable()")
    624bde3465f6 ("loongarch: Use ASM_REACHABLE")
    2190966fbc14 ("x86: Convert unreachable() to BUG()")
    c837de381098 ("unreachable: Unify")
    bb8170067470 ("objtool: Collect more annotations in objtool.h")
    a8a330dd9900 ("objtool: Collapse annotate sequences")
    112765ca1cb9 ("objtool: Convert ANNOTATE_INTRA_FUNCTION_CALL to ANNOTATE")
    f0cd57c35a75 ("objtool: Convert ANNOTATE_IGNORE_ALTERNATIVE to ANNOTATE")
    18aa6118a168 ("objtool: Convert VALIDATE_UNRET_BEGIN to ANNOTATE")
    317f2a64618c ("objtool: Convert instrumentation_{begin,end}() to ANNOTATE")
    bf5febebd99f ("objtool: Convert ANNOTATE_RETPOLINE_SAFE to ANNOTATE")
    22c3d5807968 ("objtool: Convert ANNOTATE_NOENDBR to ANNOTATE")
    2116b349e29a ("objtool: Generic annotation infrastructure")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:24 +01:00
Ingo Molnar
c46f39a3e7 Merge branch into tip/master: 'locking/core'
# New commits in locking/core:
    63a48181fbcd ("smp/scf: Evaluate local cond_func() before IPI side-effects")
    d387ceb17149 ("locking/lockdep: Enforce PROVE_RAW_LOCK_NESTING only if ARCH_SUPPORTS_RT")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:24 +01:00
Ingo Molnar
4022ad48f0 Merge branch into tip/master: 'x86/urgent'
# New commits in x86/urgent:
    10331a93486f ("virt: tdx-guest: Just leak decrypted memory on unrecoverable errors")
    45dec3ca1fe1 ("x86/static-call: Fix 32-bit build")
    e8b345babf2a ("x86/fred: Clear WFE in missing-ENDBRANCH #CPs")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:23 +01:00
Ingo Molnar
f391ba1ed5 Merge branch into tip/master: 'irq/core'
# New commits in irq/core:
    b4706d814921 ("genirq/kexec: Prevent redundant IRQ masking by checking state before shutdown")
    bad6722e478f ("kexec: Consolidate machine_kexec_mask_interrupts() implementation")
    429f49ad361c ("genirq: Reuse irq_thread_fn() for forced thread case")
    6f8b79683dfb ("genirq: Move irq_thread_fn() further up in the code")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:23 +01:00
Ingo Molnar
e91b274469 Merge branch into tip/master: 'sched/urgent'
# New commits in sched/urgent:
    2357a7f934ae ("freezer, sched: report the frozen task stat as 'D'")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:23 +01:00
Ingo Molnar
6371c819b1 Merge branch into tip/master: 'locking/urgent'
# New commits in locking/urgent:
    4a0779145781 ("locking/rtmutex: Make sure we wake anything on the wake_q when we release the lock->wait_lock")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:22 +01:00
Ingo Molnar
8516ed93ca Merge branch into tip/master: 'irq/urgent'
# New commits in irq/urgent:
    a60b990798eb ("PCI/MSI: Handle lack of irqdomain gracefully")

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2024-12-19 20:24:22 +01:00
Alexander Aring
6784ed98fd dlm: return -ENOENT if no comm was found
Currently if no comm can be found dlm_comm_seq() returns -EEXIST which
means entry already exists for a lookup it makes no sense to return
-EEXIST. We change it to -ENOENT. There is no user that will evaluate
the return value on a specific value so this should be fine.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2024-12-19 13:11:24 -06:00
Alexander Aring
57cdd1a1cf dlm: fix srcu_read_lock() return type to int
The return type of srcu_read_lock() is int and not bool. Whereas we
using the ret variable only to evaluate a bool type of
dlm_lowcomms_con_has_addr() to check if an address is already being set.

Fixes: 6f0b0b5d7ae7 ("fs: dlm: remove dlm_node_addrs lookup list")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2024-12-19 13:11:23 -06:00
Krzysztof Wilczyński
9e1b45d7a5
Merge branch 'controller/xilinx-cpm'
* controller/xilinx-cpm:
  PCI: xilinx-cpm: Add support for Versal CPM5 Root Port Controller 1
  dt-bindings: PCI: xilinx-cpm: Add compatible string for CPM5 host1
2024-12-19 19:09:32 +00:00
Krzysztof Wilczyński
58cbeab014
Merge branch 'controller/rockchip'
* controller/rockchip:
  PCI: rockchip: Add missing fields descriptions for struct rockchip_pcie_ep
  PCI: dw-rockchip: Enumerate endpoints based on dll_link_up irq in the combined sys irq
2024-12-19 19:09:32 +00:00
Krzysztof Wilczyński
83a7a06fd9
Merge branch 'controller/mediatek'
* controller/mediatek:
  PCI: mediatek-gen3: Avoid PCIe resetting via PCIE_RSTB for Airoha EN7581 SoC
  PCI: mediatek-gen3: Use msleep() in mtk_pcie_en7581_power_up()
  PCI: mediatek-gen3: Add reset delay in mtk_pcie_en7581_power_up()
  PCI: mediatek-gen3: Add comment about initialization order in mtk_pcie_en7581_power_up()
  PCI: mediatek-gen3: Move reset/assert callbacks in .power_up()
  PCI: mediatek-gen3: Use clk_bulk_prepare_enable() in mtk_pcie_en7581_power_up()
  PCI: mediatek-gen3: Add missing reset_control_deassert() for mac_rst in mtk_pcie_en7581_power_up()
2024-12-19 19:09:31 +00:00
Krzysztof Wilczyński
5f7267109a
Merge branch 'for-linus'
* for-linus:
  PCI/bwctrl: Enable only if more than one speed is supported
  PCI: Honor Max Link Speed when determining supported speeds
2024-12-19 19:09:31 +00:00
Krzysztof Wilczyński
889d559f82
Merge branch 'endpoint'
* endpoint:
  misc: pci_endpoint_test: Add support for capabilities
  PCI: endpoint: pci-epf-test: Add support for capabilities
  PCI: endpoint: Verify that requested BAR size is a power of two
  PCI: endpoint: Add size check for fixed size BARs in pci_epc_set_bar()
  PCI: artpec6: Implement dw_pcie_ep operation get_features
  PCI: dwc: ep: Add 'address' alignment to 'size' check in dw_pcie_prog_ep_inbound_atu()
  PCI: dwc: ep: Prevent changing BAR size/flags in pci_epc_set_bar()
  PCI: dwc: ep: Write BAR_MASK before iATU registers in pci_epc_set_bar()
  PCI: endpoint: Finish virtual EP removal in pci_epf_remove_vepf()
  PCI: endpoint: Simplify pci_epc_get()
  PCI: endpoint: Destroy the EPC device in devm_pci_epc_destroy()
  PCI: endpoint: Replace magic number '6' by PCI_STD_NUM_BARS
2024-12-19 19:09:30 +00:00
Krzysztof Wilczyński
5ffa14d9f4
Merge branch 'resource'
* resource:
  PCI: Encourage resource request API users to supply driver name
2024-12-19 19:09:30 +00:00
Krzysztof Wilczyński
61d607186f
Merge branch 'devres'
* devres:
  HID: amd_sfh: Use always-managed version of pcim_intx()
  wifi: qtnfmac: use always-managed version of pcim_intx()
  ata: Use always-managed version of pci_intx()
  PCI/MSI: Use never-managed version of pci_intx()
  vfio/pci: Use never-managed version of pci_intx()
  misc: Use never-managed version of pci_intx()
  ntb: Use never-managed version of pci_intx()
  drivers/xen: Use never-managed version of pci_intx()
  PCI: Export pci_intx_unmanaged() and pcim_intx()
2024-12-19 19:09:29 +00:00
Krzysztof Wilczyński
e56ed6c131
Merge branch 'aspm'
* aspm:
  PCI/ASPM: Save parent L1SS config in pci_save_aspm_l1ss_state()
2024-12-19 19:09:29 +00:00
Krzysztof Wilczyński
61c3108052
Merge branch 'misc'
* misc:
  PCI: Don't include 'pm_wakeup.h' directly
  misc: pci_endpoint_test: Add consecutive BAR test
  PCI: Update code comment on PCI_EXP_LNKCAP_SLS for PCIe r3.0
  PCI/ACPI: Constify 'struct bin_attribute'
  PCI/P2PDMA: Constify 'struct bin_attribute'
  PCI/VPD: Constify 'struct bin_attribute'
  PCI/sysfs: Constify 'struct bin_attribute'
2024-12-19 19:09:29 +00:00
Alexander Aring
134129520b dlm: fix removal of rsb struct that is master and dir record
An rsb struct was not being removed in the case where it
was both the master and the dir record.  This case (master
and dir node) was missed in the condition for doing add_scan()
from deactivate_rsb().  Fixing this triggers a related WARN_ON
that needs to be fixed, and requires adjusting where two
del_scan() calls are made.

Fixes: c217adfc8caa ("dlm: fix add_scan and del_scan usage")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2024-12-19 13:07:02 -06:00
Wolfram Sang
cd3e4149e2
PCI: Don't include 'pm_wakeup.h' directly
The header clearly states that it does not want to be included directly,
only via 'device.h'. The 'platform_device.h' works equally well.

Thus, remove the direct inclusion.

Link: https://lore.kernel.org/r/20241118072917.3853-12-wsa+renesas@sang-engineering.com
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
2024-12-19 19:06:45 +00:00