firmware: arm_scmi: Add support for notifications message processing
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 27 Mar 2020 14:34:29 +0000 (14:34 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 14 Apr 2020 08:31:49 +0000 (09:31 +0100)
commit4d09852b6f0126cafc45d070de589c7bf64fdd17
tree097f30ca674f1cf1f1356dd8784afb4c4a55ca5e
parentd5141f37c42e0b833863f157ac4cee203b2ba3d2
firmware: arm_scmi: Add support for notifications message processing

Add the mechanisms to distinguish notifications from delayed responses
and command responses. Also add support to properly fetch notification
messages upon reception. Notifications processing does not continue any
further after the fetch phase.

Link: https://lore.kernel.org/r/20200327143438.5382-5-cristian.marussi@arm.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
[Reworked/renamed scmi_handle_xfer_delayed_resp()]
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c