Skip to content

x86/idt: Minor alloc_intr_gate() sanitization

Vitaly Kuznetsov lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/entry branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 3 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3x86/xen: Split HVM vector callback setup and interrupt gate allocationarch/x86/xen/suspend_hvm.c arch/x86/xen/xen-ops.h drivers/xen/events/events_base.c+19 -130 replies
2/3x86/idt: Annotate alloc_intr_gate() with __initarch/x86/kernel/idt.c+13 -30 replies
3/3x86/idt: Keep spurious entries unset in system_vectorsarch/x86/kernel/idt.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] x86/idt: Minor alloc_intr_gate() sanitization

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(-)
Signature · 1 line
2.25.3