RE: [PATCH v4 00/17] IOMMUFD Generic interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Yi Liu [mailto:yi.l.liu@xxxxxxxxx]
> Sent: 12 November 2022 12:45
> To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@xxxxxxxxxx>;
> Jason Gunthorpe <jgg@xxxxxxxxxx>; bpf@xxxxxxxxxxxxxxx; Jonathan Corbet
> <corbet@xxxxxxx>; David Woodhouse <dwmw2@xxxxxxxxxxxxx>;
> iommu@xxxxxxxxxxxxxxx; Joerg Roedel <joro@xxxxxxxxxx>; Kevin Tian
> <kevin.tian@xxxxxxxxx>; linux-doc@xxxxxxxxxxxxxxx;
> linux-kselftest@xxxxxxxxxxxxxxx; llvm@xxxxxxxxxxxxxxx; Nathan Chancellor
> <nathan@xxxxxxxxxx>; Nick Desaulniers <ndesaulniers@xxxxxxxxxx>; Miguel
> Ojeda <ojeda@xxxxxxxxxx>; Robin Murphy <robin.murphy@xxxxxxx>; Shuah
> Khan <shuah@xxxxxxxxxx>; Suravee Suthikulpanit
> <suravee.suthikulpanit@xxxxxxx>; Tom Rix <trix@xxxxxxxxxx>; Will
> Deacon <will@xxxxxxxxxx>
> Cc: Alex Williamson <alex.williamson@xxxxxxxxxx>; Lu Baolu
> <baolu.lu@xxxxxxxxxxxxxxx>; Chaitanya Kulkarni <chaitanyak@xxxxxxxxxx>;
> Cornelia Huck <cohuck@xxxxxxxxxx>; Daniel Jordan
> <daniel.m.jordan@xxxxxxxxxx>; David Gibson
> <david@xxxxxxxxxxxxxxxxxxxxx>; Eric Auger <eric.auger@xxxxxxxxxx>; Eric
> Farman <farman@xxxxxxxxxxxxx>; Jason Wang <jasowang@xxxxxxxxxx>;
> Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>; Joao Martins
> <joao.m.martins@xxxxxxxxxx>; kvm@xxxxxxxxxxxxxxx; Matthew Rosato
> <mjrosato@xxxxxxxxxxxxx>; Michael S. Tsirkin <mst@xxxxxxxxxx>; Nicolin
> Chen <nicolinc@xxxxxxxxxx>; Niklas Schnelle <schnelle@xxxxxxxxxxxxx>;
> zhukeqian <zhukeqian1@xxxxxxxxxx>
> 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@xxxxxxxxxx]
> >> Sent: 08 November 2022 00:49
> >> To: bpf@xxxxxxxxxxxxxxx; Jonathan Corbet <corbet@xxxxxxx>; David
> >> Woodhouse <dwmw2@xxxxxxxxxxxxx>; iommu@xxxxxxxxxxxxxxx; Joerg
> Roedel
> >> <joro@xxxxxxxxxx>; Kevin Tian <kevin.tian@xxxxxxxxx>;
> >> linux-doc@xxxxxxxxxxxxxxx; linux-kselftest@xxxxxxxxxxxxxxx;
> >> llvm@xxxxxxxxxxxxxxx; Nathan Chancellor <nathan@xxxxxxxxxx>; Nick
> >> Desaulniers <ndesaulniers@xxxxxxxxxx>; Miguel Ojeda
> <ojeda@xxxxxxxxxx>;
> >> Robin Murphy <robin.murphy@xxxxxxx>; Shuah Khan
> <shuah@xxxxxxxxxx>;
> >> Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>; Tom Rix
> >> <trix@xxxxxxxxxx>; Will Deacon <will@xxxxxxxxxx>
> >> Cc: Alex Williamson <alex.williamson@xxxxxxxxxx>; Lu Baolu
> >> <baolu.lu@xxxxxxxxxxxxxxx>; Chaitanya Kulkarni
> <chaitanyak@xxxxxxxxxx>;
> >> Cornelia Huck <cohuck@xxxxxxxxxx>; Daniel Jordan
> >> <daniel.m.jordan@xxxxxxxxxx>; David Gibson
> >> <david@xxxxxxxxxxxxxxxxxxxxx>; Eric Auger <eric.auger@xxxxxxxxxx>;
> Eric
> >> Farman <farman@xxxxxxxxxxxxx>; Jason Wang <jasowang@xxxxxxxxxx>;
> >> Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>; Joao Martins
> >> <joao.m.martins@xxxxxxxxxx>; kvm@xxxxxxxxxxxxxxx; Matthew Rosato
> >> <mjrosato@xxxxxxxxxxxxx>; Michael S. Tsirkin <mst@xxxxxxxxxx>;
> Nicolin
> >> Chen <nicolinc@xxxxxxxxxx>; Niklas Schnelle <schnelle@xxxxxxxxxxxxx>;
> >> Shameerali Kolothum Thodi <shameerali.kolothum.thodi@xxxxxxxxxx>;
> Yi
> >> Liu <yi.l.liu@xxxxxxxxx>; zhukeqian <zhukeqian1@xxxxxxxxxx>
> >> 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-vSVA
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





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux