-----Original Message----- From: Yi Liu [mailto:yi.l.liu@intel.com] Sent: 12 November 2022 12:45 To: Shameerali Kolothum Thodi shameerali.kolothum.thodi@huawei.com; Jason Gunthorpe jgg@nvidia.com; bpf@vger.kernel.org; Jonathan Corbet corbet@lwn.net; David Woodhouse dwmw2@infradead.org; iommu@lists.linux.dev; Joerg Roedel joro@8bytes.org; Kevin Tian kevin.tian@intel.com; linux-doc@vger.kernel.org; linux-kselftest@vger.kernel.org; llvm@lists.linux.dev; Nathan Chancellor nathan@kernel.org; Nick Desaulniers ndesaulniers@google.com; Miguel Ojeda ojeda@kernel.org; Robin Murphy robin.murphy@arm.com; Shuah Khan shuah@kernel.org; Suravee Suthikulpanit suravee.suthikulpanit@amd.com; Tom Rix trix@redhat.com; Will Deacon will@kernel.org Cc: Alex Williamson alex.williamson@redhat.com; Lu Baolu baolu.lu@linux.intel.com; Chaitanya Kulkarni chaitanyak@nvidia.com; Cornelia Huck cohuck@redhat.com; Daniel Jordan daniel.m.jordan@oracle.com; David Gibson david@gibson.dropbear.id.au; Eric Auger eric.auger@redhat.com; Eric Farman farman@linux.ibm.com; Jason Wang jasowang@redhat.com; Jean-Philippe Brucker jean-philippe@linaro.org; Joao Martins joao.m.martins@oracle.com; kvm@vger.kernel.org; Matthew Rosato mjrosato@linux.ibm.com; Michael S. Tsirkin mst@redhat.com; Nicolin Chen nicolinc@nvidia.com; Niklas Schnelle schnelle@linux.ibm.com; zhukeqian zhukeqian1@huawei.com Subject: Re: [PATCH v4 00/17] IOMMUFD Generic interface
Hi Shameer,
On 2022/11/11 23:51, Shameerali Kolothum Thodi wrote:
-----Original Message----- From: Jason Gunthorpe [mailto:jgg@nvidia.com] Sent: 08 November 2022 00:49 To: bpf@vger.kernel.org; Jonathan Corbet corbet@lwn.net; David Woodhouse dwmw2@infradead.org; iommu@lists.linux.dev; Joerg
Roedel
joro@8bytes.org; Kevin Tian kevin.tian@intel.com; linux-doc@vger.kernel.org; linux-kselftest@vger.kernel.org; llvm@lists.linux.dev; Nathan Chancellor nathan@kernel.org; Nick Desaulniers ndesaulniers@google.com; Miguel Ojeda
Robin Murphy robin.murphy@arm.com; Shuah Khan
Suravee Suthikulpanit suravee.suthikulpanit@amd.com; Tom Rix trix@redhat.com; Will Deacon will@kernel.org Cc: Alex Williamson alex.williamson@redhat.com; Lu Baolu baolu.lu@linux.intel.com; Chaitanya Kulkarni
Cornelia Huck cohuck@redhat.com; Daniel Jordan daniel.m.jordan@oracle.com; David Gibson david@gibson.dropbear.id.au; Eric Auger eric.auger@redhat.com;
Eric
Farman farman@linux.ibm.com; Jason Wang jasowang@redhat.com; Jean-Philippe Brucker jean-philippe@linaro.org; Joao Martins joao.m.martins@oracle.com; kvm@vger.kernel.org; Matthew Rosato mjrosato@linux.ibm.com; Michael S. Tsirkin mst@redhat.com;
Nicolin
Chen nicolinc@nvidia.com; Niklas Schnelle schnelle@linux.ibm.com; Shameerali Kolothum Thodi shameerali.kolothum.thodi@huawei.com;
Yi
Liu yi.l.liu@intel.com; zhukeqian zhukeqian1@huawei.com Subject: [PATCH v4 00/17] IOMMUFD Generic interface
[...]
- Userspace page tables aka 'nested translation' for ARM and Intel iommu drivers: https://github.com/nicolinc/iommufd/commits/iommufd_nesting
Hi Eric/Yi/Nicolin,
Could you please provide a latest Kernel/Qemu branch for the ARM nesting
support?
The above link points to Yi's git, but not sure which one is latest/stable to have a play.
Nicolin and I are working on the new version for nesting support. Below kernl branch is our latest progress so far. As the naming, it's still wip. We also need to workout a Qemu version, so still need some time before sharing with you.
https://github.com/yiliu1765/iommufd/tree/wip/iommufd-v6.1-rc3-nesting
Hi Yi,
Thanks for that. I attempted ARM vSVA support based on your above branch and related Qemu branch. With few hacks and additional patches the prototype code works well on HiSilicon ARM platform.
Please find the corresponding branches ere, https://github.com/hisilicon/kernel-dev/tree/iommufd-v6.1-rc3-nesting-arm-vS... https://github.com/hisilicon/qemu/tree/qemu-iommufd-6.1-rc3-arm-vSVA
Please let me know if there are any recent branches for ARM support.
Thanks, Shameer
-- Regards, Yi Liu