]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_sdei: Discover SDEI support via ACPI
authorJames Morse <james.morse@arm.com>
Mon, 8 Jan 2018 15:38:16 +0000 (15:38 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Sun, 14 Jan 2018 18:49:49 +0000 (18:49 +0000)
commitadf617210596341bded56f76269599a17f1e9fbf
tree869611cd3f71dc7868479c36e022f0542daa3134
parentc9fb113d9c6d3c3598db2bd0b26ae2d073ca8e94
firmware: arm_sdei: Discover SDEI support via ACPI

SDEI defines a new ACPI table to indicate the presence of the interface.
The conduit is discovered in the same way as PSCI.

For ACPI we need to create the platform device ourselves as SDEI doesn't
have an entry in the DSDT.

The SDEI platform device should be created after ACPI has been initialised
so that we can parse the table, but before GHES devices are created, which
may register SDE events if they use SDEI as their notification type.

Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/firmware/arm_sdei.c