Skip to content
Commit 3f9dfbeb authored by Juergen Gross's avatar Juergen Gross
Browse files

virtio: replace arch_has_restricted_virtio_memory_access()



Instead of using arch_has_restricted_virtio_memory_access() together
with CONFIG_ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS, replace those
with platform_has() and a new platform feature
PLATFORM_VIRTIO_RESTRICTED_MEM_ACCESS.

Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
Reviewed-by: default avatarOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Arm64 only
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
parent 2130a790
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment