OSDN Git Service

firmware: arm_scmi: Add notification dispatch and delivery
authorCristian Marussi <cristian.marussi@arm.com>
Wed, 1 Jul 2020 15:53:42 +0000 (16:53 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 1 Jul 2020 16:07:25 +0000 (17:07 +0100)
commitbd31b249692e256ab92e1a4339e42af0e4971738
treea1e00cf2078d8fecaaab2f174a154e65819d8f3c
parente7c215f358a350c4bc326b9cea86763f480a97f9
firmware: arm_scmi: Add notification dispatch and delivery

Add the core SCMI notifications dispatch and delivery support logic
which is able to dispatch well-known received events from the Rx
interrupt handler to the dedicated deferred worker. From there, it will
deliver the events to the registered users' callbacks.

Dispatch and delivery support is just added here, still not enabled.

Link: https://lore.kernel.org/r/20200701155348.52864-4-cristian.marussi@arm.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/notify.c
drivers/firmware/arm_scmi/notify.h