Re: [OS-BUILD PATCH] redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64

2021-07-11 Thread pbrobinson (via Email Bridge)
From: pbrobinson on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1249#note_623272541

This is arm64 only so it should really just be enabled in
common/generic/arm/aarch64/ and the option to disable it can be removed as
it's already common/generic/CONFIG_VIRTIO_IOMMU and actually doesn't need to
be there at all being explicitly an arm64 feature.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[OS-BUILD PATCH] redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64

2021-07-11 Thread Eric Auger (via Email Bridge)
From: Eric Auger 

redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1972795

Upstream Status: RHEL only
Tested: on ARM with qemu (Jean-Philippe Brucker's qemu branch as the
qemu integration is not yet upstream)

We want to support the virtio-iommu on ARM. So let's compile it.

Signed-off-by: Eric Auger 

diff --git a/redhat/configs/ark/generic/CONFIG_VIRTIO_IOMMU 
b/redhat/configs/ark/generic/CONFIG_VIRTIO_IOMMU
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_VIRTIO_IOMMU
@@ -0,0 +1 @@
+# CONFIG_VIRTIO_IOMMU is not set
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU
@@ -0,0 +1 @@
+CONFIG_VIRTIO_IOMMU=m

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1249
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure