summaryrefslogtreecommitdiff
path: root/kernel/livepatch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-07-29 23:51:48 +0200
committerThomas Gleixner <tglx@linutronix.de>2021-08-10 10:59:20 +0200
commit826da771291fc25a428e871f9e7fb465e390f852 (patch)
treed5675ccc63c138913774d52f644dd5a962bcb2e5 /kernel/livepatch
parent77e89afc25f30abd56e76a809ee2884d7c1b63ce (diff)
genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
X86 IO/APIC and MSI interrupts (when used without interrupts remapping) require that the affinity setup on startup is done before the interrupt is enabled for the first time as the non-remapped operation mode cannot safely migrate enabled interrupts from arbitrary contexts. Provide a new irq chip flag which allows affected hardware to request this. This has to be opt-in because there have been reports in the past that some interrupt chips cannot handle affinity setting before startup. Fixes: 18404756765c ("genirq: Expose default irq affinity mask (take 3)") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Marc Zyngier <maz@kernel.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210729222542.779791738@linutronix.de
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions