[PATCH v2 0/3] x86/idt: Minor alloc_intr_gate() sanitization
From: Vitaly Kuznetsov
Date: Tue Apr 28 2020 - 05:38:33 EST
This series is a successor of "[PATCH] x86/idt: Keep spurious entries unset
in system_vectors".
The original issue I tried to address was that /proc/interrupts output
was always containing all possible system vectors, including non allocated
ones (e.g. 'Hypervisor callback interrupts' on bare metal). Thomas
suggested to expand this cosmetic change to making alloc_intr_gate()
__init.
Vitaly Kuznetsov (3):
x86/xen: Split HVM vector callback setup and interrupt gate allocation
x86/idt: Annotate alloc_intr_gate() with __init
x86/idt: Keep spurious entries unset in system_vectors
arch/x86/kernel/idt.c | 22 ++++++++++++++++++----
arch/x86/xen/suspend_hvm.c | 2 +-
arch/x86/xen/xen-ops.h | 2 +-
drivers/xen/events/events_base.c | 28 +++++++++++++++++-----------
4 files changed, 37 insertions(+), 17 deletions(-)
--
2.25.3