firmware: arm_scmi: Reject SCMI drivers when configured in raw mode
authorCristian Marussi <cristian.marussi@arm.com>
Wed, 18 Jan 2023 12:14:23 +0000 (12:14 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 20 Jan 2023 11:41:23 +0000 (11:41 +0000)
commitba80acb0dfca87e6a6257932414350da85dde48f
tree9ec8ea4add0ec5dcd6d66c53dc14444d94e793de
parent74225707b3349d52e6b99a2e15185b5db8126637
firmware: arm_scmi: Reject SCMI drivers when configured in raw mode

Reject SCMI driver registration when SCMI raw mode support is configured,
so as to avoid interferences between the SCMI raw mode transactions and the
normal SCMI stack operations.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20230118121426.492864-15-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c