diff options
| author | Eliav Farber <[email protected]> | 2024-12-04 14:20:02 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-12-11 19:32:34 +0000 |
| commit | bad6722e478f5b17a5ceb039dfb4c680cf2c0b48 (patch) | |
| tree | 1415c9f991a6a65e0dec4ac7fa5acee7fd18cb24 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | genirq: Reuse irq_thread_fn() for forced thread case (diff) | |
| download | kernel-bad6722e478f5b17a5ceb039dfb4c680cf2c0b48.tar.gz kernel-bad6722e478f5b17a5ceb039dfb4c680cf2c0b48.zip | |
kexec: Consolidate machine_kexec_mask_interrupts() implementation
Consolidate the machine_kexec_mask_interrupts implementation into a common
function located in a new file: kernel/irq/kexec.c. This removes duplicate
implementations from architecture-specific files in arch/arm, arch/arm64,
arch/powerpc, and arch/riscv, reducing code duplication and improving
maintainability.
The new implementation retains architecture-specific behavior for
CONFIG_GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD, which was previously implemented
for ARM64. When enabled (currently for ARM64), it clears the active state
of interrupts forwarded to virtual machines (VMs) before handling other
interrupt masking operations.
Signed-off-by: Eliav Farber <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
