qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* nested-smmuv3 topic for QEMU/libvirt, Nov 2024
@ 2024-11-01  4:09 Nicolin Chen
  2024-11-01 11:55 ` Jason Gunthorpe
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Nicolin Chen @ 2024-11-01  4:09 UTC (permalink / raw)
  To: Shameerali Kolothum Thodi
  Cc: Eric Auger, Mostafa Saleh, qemu-arm@nongnu.org,
	qemu-devel@nongnu.org, Peter Maydell, Jason Gunthorpe,
	Jean-Philippe Brucker, Moritz Fischer, Michael Shavit,
	Andrea Bolognani, Michael S. Tsirkin, Peter Xu, Zhangfei Gao,
	nathanc, arighi, ianm, jan, mochs

Hi,

This is a continued discussion following previous month's:
https://lore.kernel.org/qemu-devel/Zvr%2Fbf7KgLN1cjOl@Asurada-Nvidia/

Kernel changes are getting closer to merge, as Jason's planning to
take vIOMMU series and smmuv3_nesting series into the iommufd tree:
https://lore.kernel.org/all/cover.1730313494.git.nicolinc@nvidia.com/
https://lore.kernel.org/all/cover.1730313494.git.nicolinc@nvidia.com/
https://lore.kernel.org/all/0-v4-9e99b76f3518+3a8-smmuv3_nesting_jgg@nvidia.com/

So, I think it's probably a good time to align with each others and
talk about kicking off some QEMU upstream work in the month ahead.

@Shameer,
Do you have some update on the pluggable smmuv3 module?

Updates on my side:
1) I have kept uAPI updated to the latest version and verified too.
   There should be some polishing changes depending on how the basic
   nesting infrastructure would look like from Intel/Duan's work.
2) I got some help from NVIDIA folks for the libvirt task. And they
   have done some drafting and are now verifying the PCI topology
   with "iommu=none".

Once the pluggable smmuv3 module is ready to test, we will make some
change to libvirt for that and drop the auto-assigning patches from
the VIRT code, so as to converge for a libvirt+QEMU test.

FWIW, Robin requested a different solution for MSI mapping [1], v.s.
the RMR one that we have been using since Eric's work. I drafted a
few VFIO/IOMMUFD patches for that, yet paused for getting the vIOMMU
series merged to this kernel cycle. I plan to continue in Nov/Dec.
So, for the near term we will continue with the RMR solution, until
we have something solid later.

[1] https://lore.kernel.org/linux-iommu/ZrVN05VylFq8lK4q@Asurada-Nvidia/

Thanks
Nicolin


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-12-02 15:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01  4:09 nested-smmuv3 topic for QEMU/libvirt, Nov 2024 Nicolin Chen
2024-11-01 11:55 ` Jason Gunthorpe
2024-12-02  6:04   ` Zhangfei Gao
2024-12-02  8:07     ` Shameerali Kolothum Thodi via
2024-12-02 15:00       ` Zhangfei Gao
2024-11-01 18:35 ` Shameerali Kolothum Thodi via
2024-11-01 19:29   ` Nicolin Chen
2024-11-08 13:05     ` Shameerali Kolothum Thodi via
2024-11-20 21:13   ` Andrea Bolognani
2024-11-21  9:47     ` Shameerali Kolothum Thodi via
2024-11-07 11:11 ` Eric Auger
2024-11-07 20:31   ` Nicolin Chen
2024-11-07 22:10     ` Donald Dutile
2024-11-18 17:59     ` Eric Auger
2024-11-19  7:07       ` Duan, Zhenzhong
2024-11-19  8:17         ` Eric Auger
2024-11-20 20:44       ` Nicolin Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).