diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2021-11-15 10:29:10 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-11-17 11:24:51 +0000 |
commit | 530897ecdb3d69d71757c353a003e7138a791bcc (patch) | |
tree | 1e104b0c52dfe617f685a9021c92ff1199ab93e3 /drivers/firmware/arm_scmi/Kconfig | |
parent | 5f90f189a052f6fc46048f6ce29a37b709548b81 (diff) | |
download | linux-530897ecdb3d69d71757c353a003e7138a791bcc.tar.gz linux-530897ecdb3d69d71757c353a003e7138a791bcc.tar.bz2 linux-530897ecdb3d69d71757c353a003e7138a791bcc.zip |
firmware: arm_scmi: Make virtio Version_1 compliance optional
Introduce a compilation option to disable strict enforcement of compliance
against VirtIO Version_1 backends, so as to allow to support also Legacy
VirtIO devices implementations.
Link: https://lore.kernel.org/r/20211115102910.7639-1-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/Kconfig')
-rw-r--r-- | drivers/firmware/arm_scmi/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig index da1daa593204..638ecec89ff1 100644 --- a/drivers/firmware/arm_scmi/Kconfig +++ b/drivers/firmware/arm_scmi/Kconfig @@ -89,6 +89,21 @@ config ARM_SCMI_TRANSPORT_VIRTIO If you want the ARM SCMI PROTOCOL stack to include support for a transport based on VirtIO, answer Y. +config ARM_SCMI_TRANSPORT_VIRTIO_VERSION1_COMPLIANCE + bool "SCMI VirtIO transport Version 1 compliance" + depends on ARM_SCMI_TRANSPORT_VIRTIO + default y + help + This enforces strict compliance with VirtIO Version 1 specification. + + If you want the ARM SCMI VirtIO transport layer to refuse to work + with Legacy VirtIO backends and instead support only VirtIO Version 1 + devices (or above), answer Y. + + If you want instead to support also old Legacy VirtIO backends (like + the ones implemented by kvmtool) and let the core Kernel VirtIO layer + take care of the needed conversions, say N. + endif #ARM_SCMI_PROTOCOL config ARM_SCMI_POWER_DOMAIN |