[PATCH v4 0/4] Provide core API for NMIs

From: Julien Thierry
Date: Mon Nov 12 2018 - 06:38:12 EST


Hi,

This patch series provides a way for irqchips to define some IRQs as NMIs.

As we hope (maybe) to get the arm64 use case for this into next, this
version is simply a rebase of the previous one.

Changes since v3[1]:
- Rebased on v4.20-rc2

Changes since v2[2]:
- Fix ARM build error reported by kbuild bot
- Fix documentation warnings reported by kbuild bot

Changes since v1[3]:
- Rebased to v4.19-rc1
- Fix some coding style issues

Changes since RFC[4]:
- Rebased to v4.18-rc6
- Remove disable_nmi, one should call disable_nmi_nosync instead
- Remove code related to affinity balancing from NMI functions
- Require PERCPU configuration for NMIs

[1] https://lkml.org/lkml/2018/8/31/173
[2] https://lkml.org/lkml/2018/8/28/661
[3] https://lkml.org/lkml/2018/7/24/321
[4] https://lkml.org/lkml/2018/7/9/768

Cheers,

Julien

-->

Julien Thierry (4):
genirq: Provide basic NMI management for interrupt lines
genirq: Provide NMI management for percpu_devid interrupts
genirq: Provide NMI handlers
irqdesc: Add domain handler for NMIs

include/linux/interrupt.h | 18 +++
include/linux/irq.h | 10 ++
include/linux/irqdesc.h | 5 +
kernel/irq/chip.c | 54 +++++++
kernel/irq/debugfs.c | 6 +-
kernel/irq/internals.h | 2 +
kernel/irq/irqdesc.c | 35 +++++
kernel/irq/manage.c | 377 +++++++++++++++++++++++++++++++++++++++++++++-
8 files changed, 504 insertions(+), 3 deletions(-)

--
1.9.1