]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
firmware: arm_sdei: add support for CPU private events
authorJames Morse <james.morse@arm.com>
Mon, 8 Jan 2018 15:38:14 +0000 (15:38 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:45:22 +0000 (10:45 -0500)
commitf3b9e4722d69ec92b7102da0880c4b242f4397d3
tree1ce8136eb2b03c6c26ad056716eb37f6e9770d82
parent7e66b80e3672c241aac558c86ab0610483ab14a9
firmware: arm_sdei: add support for CPU private events

BugLink: http://bugs.launchpad.net/bugs/1756096
Private SDE events are per-cpu, and need to be registered and enabled
on each CPU.

Hide this detail from the caller by adapting our {,un}register and
{en,dis}able calls to send an IPI to each CPU if the event is private.

CPU private events are unregistered when the CPU is powered-off, and
re-registered when the CPU is brought back online. This saves bringing
secondary cores back online to call private_reset() on shutdown, kexec
and resume from hibernate.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit f92b5462a2f22d13a75dc663f7b2fac16a3e61cb)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/firmware/arm_sdei.c