]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:45:18 +0000 (10:45 -0500)
commit513f52be32d00653045a0260a5366919ef52ad0d
treedca2fe48e00117611250a26d80fb070531e92e16
parent1be9214066e4cb5430d9e922ecdecff1b36ed0c9
firmware: arm_sdei: Add driver for Software Delegated Exceptions

BugLink: http://bugs.launchpad.net/bugs/1756096
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>
(cherry picked from commit ad6eb31ef90355993eb55ff77e0e855ae7d91e4c)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.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]