OSDN Git Service

firmware: arm_sdei: Add driver for Software Delegated Exceptions
authorJames Morse <james.morse@arm.com>
Mon, 8 Jan 2018 15:38:09 +0000 (15:38 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 13 Jan 2018 10:44:56 +0000 (10:44 +0000)
commitad6eb31ef90355993eb55ff77e0e855ae7d91e4c
treed4e797a79367739b40ba7d69746882e7ba56d2fa
parent86f04f640058143388f56c048f86e66ea5204ae2
firmware: arm_sdei: Add driver for Software Delegated Exceptions

The Software Delegated Exception Interface (SDEI) is an ARM standard
for registering callbacks from the platform firmware into the OS.
This is typically used to implement firmware notifications (such as
firmware-first RAS) or promote an IRQ that has been promoted to a
firmware-assisted NMI.

Add the code for detecting the SDEI version and the framework for
registering and unregistering events. Subsequent patches will add the
arch-specific backend code and the necessary power management hooks.

Only shared events are supported, power management, private events and
discovery for ACPI systems will be added by later patches.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
MAINTAINERS
arch/arm64/include/asm/sdei.h [new file with mode: 0644]
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/arm_sdei.c [new file with mode: 0644]
include/linux/arm_sdei.h [new file with mode: 0644]
include/uapi/linux/arm_sdei.h [new file with mode: 0644]