Re: [PATCH v2 2/2] virtio: replace arch_has_restricted_virtio_memory_access()

2022-04-27 Thread Juergen Gross via Virtualization
On 27.04.22 18:30, Michael Kelley (LINUX) wrote: From: Juergen Gross Sent: Wednesday, April 27, 2022 8:34 AM 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

RE: [PATCH v2 2/2] virtio: replace arch_has_restricted_virtio_memory_access()

2022-04-27 Thread Michael Kelley (LINUX) via Virtualization
From: Juergen Gross Sent: Wednesday, April 27, 2022 8:34 AM > > 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. >

[PATCH v2 2/2] virtio: replace arch_has_restricted_virtio_memory_access()

2022-04-27 Thread Juergen Gross via Virtualization
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: Juergen Gross --- V2: - move setting of