firmware: arm_scmi: Add polling support to raw mode
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 10 Mar 2025 18:08:11 +0000 (18:08 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 14 Apr 2025 09:12:13 +0000 (10:12 +0100)
commit07cb8c324b63c3e09245b9a8c4ca805a8ca1c8e6
treed13c15a7c5fdc1b828f60b50cbda7e1bb4f6002a
parent9593804c44c24545e1b0496786dcb765d7b0e193
firmware: arm_scmi: Add polling support to raw mode

Provide a couple of additional debugfs entries to enable polling-mode on
the waiting path of injected messages: message_poll will cause the system
to poll while waiting for the reply, while message_poll_async will send an
asynchronous message, as usual, and will use polling mode for the immediate
synchronous part of the async command.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Message-Id: <20250310180811.1463539-1-cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Documentation/ABI/testing/debugfs-scmi-raw
drivers/firmware/arm_scmi/driver.c
drivers/firmware/arm_scmi/raw_mode.c