Re: [OS-BUILD PATCH] redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64

2021-08-06 Thread Jerry Snitselaar (via Email Bridge)
From: Jerry Snitselaar on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1289#note_645347993

Acked-by: Jerry Snitselaar 
(via approve button)
___
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


Re: [OS-BUILD PATCH] redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64

2021-08-06 Thread pbrobinson (via Email Bridge)
From: pbrobinson on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1289#note_644965461

LGTM :thumbsup:
Reviewed-by: Peter Robinson 
___
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


Re: [OS-BUILD PATCH] redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64

2021-08-06 Thread Patrick Talbert (via Email Bridge)
From: Patrick Talbert on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1289#note_644810737

@ddutile @alex.williamson as well
___
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: Fix CONFIG_VIRTIO_IOMMU to 'y' on aarch64

2021-08-03 Thread Eric Auger (via Email Bridge)
From: Eric Auger 

redhat/configs: Fix CONFIG_VIRTIO_IOMMU to 'y' 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, with both protected virtio-blk-pci
and a virtio-net-pci devices)

Commit fe6d9534dbe4 ("redhat/configs: Set CONFIG_VIRTIO_IOMMU on aarch64")
enabled the compilation of the virtio-iommu driver on ARM but set the
config to 'm'. However if there are devices behind the vIOMMU that are
needed during the boot such as a virtio-blk-pci device, the guest fails
to boot as the driver is not loaded. Let's fix this bootstrap issue
by compiling the driver in-kernel as it is done for other iommu drivers.

Signed-off-by: Eric Auger 

diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_VIRTIO_IOMMU
@@ -1 +1 @@
-CONFIG_VIRTIO_IOMMU=m
+CONFIG_VIRTIO_IOMMU=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1289
___
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