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
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
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>
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>
* 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
* 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()
* 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
* 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()
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>
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>