WSL2-Linux-Kernel/arch/ia64/kernel
Samuel Holland c775a52461 genirq: Add and use an irq_data_update_affinity helper
[ Upstream commit 073352e951 ]

Some architectures and irqchip drivers modify the cpumask returned by
irq_data_get_affinity_mask, usually by copying in to it. This is
problematic for uniprocessor configurations, where the affinity mask
should be constant, as it is known at compile time.

Add and use a setter for the affinity mask, following the pattern of
irq_data_update_effective_affinity. This allows the getter function to
return a const cpumask pointer.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Xen bits
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220701200056.46555-7-samuel@sholland.org
Stable-dep-of: feabecaff5 ("genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:57:31 +01:00
..
syscalls Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
.gitignore
Makefile ia64: drop marked broken DISCONTIGMEM and VIRTUAL_MEM_MAP 2021-04-30 11:20:35 -07:00
Makefile.gate
acpi-ext.c
acpi.c ia64: fix typo in a comment 2021-09-03 09:58:09 -07:00
asm-offsets.c ia64: do not typedef struct pal_min_state_area_s 2021-02-12 05:11:19 +09:00
audit.c
brl_emu.c
crash.c Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
crash_dump.c
cyclone.c
dma-mapping.c
efi.c ia64: fix EFI_DEBUG build 2021-04-30 11:20:35 -07:00
efi_stub.S mm: update legacy flush_tlb_* to use vma 2021-06-29 10:53:52 -07:00
elfcore.c
entry.S ia64: syscalls: switch to generic syscalltbl.sh 2021-04-25 05:25:40 +09:00
entry.h
err_inject.c ia64: fix format strings for err_inject 2021-03-25 09:22:55 -07:00
esi.c
esi_stub.S
fsys.S arch/ia64/kernel/fsys.S: fix typos 2021-04-30 11:20:34 -07:00
fsyscall_gtod_data.h
ftrace.c
gate-data.S
gate.S
gate.lds.S
head.S ia64: drop unused IA64_FW_EMU ifdef 2021-04-30 11:20:35 -07:00
iosapic.c genirq: Add and use an irq_data_update_affinity helper 2023-03-11 13:57:31 +01:00
irq.c genirq: Add and use an irq_data_update_affinity helper 2023-03-11 13:57:31 +01:00
irq.h
irq_ia64.c
irq_lsapic.c
ivt.S
kprobes.c ia64: kprobes: Fix to pass correct trampoline address to the handler 2021-11-18 19:15:57 +01:00
machine_kexec.c ia64: drop marked broken DISCONTIGMEM and VIRTUAL_MEM_MAP 2021-04-30 11:20:35 -07:00
mca.c sched: Change task_struct::state 2021-06-18 11:43:09 +02:00
mca_asm.S
mca_drv.c exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
mca_drv.h
mca_drv_asm.S
minstate.h
module.c ia64: module: fix symbolizer crash on fdescr 2021-04-30 11:20:35 -07:00
msi_ia64.c genirq: Add and use an irq_data_update_affinity helper 2023-03-11 13:57:31 +01:00
numa.c
pal.S ia64: trivial spelling fixes 2021-04-30 11:20:35 -07:00
palinfo.c arch: ia64: Remove rest of perfmon support 2021-01-22 12:12:20 +05:30
patch.c
pci-dma.c
perfmon_itanium.h arch: ia64: Remove rest of perfmon support 2021-01-22 12:12:20 +05:30
process.c sched: Introduce task_is_running() 2021-06-18 11:43:07 +02:00
ptrace.c sched: Change task_struct::state 2021-06-18 11:43:09 +02:00
relocate_kernel.S
sal.c
salinfo.c
setup.c ia64: make num_rsvd_regions static 2021-09-03 09:58:09 -07:00
sigframe.h
signal.c ia64: don't call handle_signal() unless there's actually a signal queued 2021-03-02 17:22:11 -07:00
smp.c
smpboot.c sched/core: Initialize the idle task with preemption disabled 2021-05-12 13:01:45 +02:00
stacktrace.c
sys_ia64.c
time.c EFI updates for v5.12 2021-02-20 19:09:26 -08:00
topology.c arch, mm: remove stale mentions of DISCONIGMEM 2021-06-29 10:53:55 -07:00
traps.c exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
unaligned.c
uncached.c efi: ia64: move IA64-only declarations to new asm/efi.h header 2021-01-18 13:50:37 +01:00
unwind.c
unwind_decoder.c
unwind_i.h
vmlinux.lds.S