On Tue, Mar 06, 2018 at 07:45:39AM +0000, Liu, Yi L wrote: [...]
> > Do you have online branch so that I can check out? > > yes, I should have pasted it. Here it is: > https://github.com/luxis1999/sva_notifier.git Thanks. > > > The patches are a bit scattered and it's really hard for me to > > reference things within it... So a complete tree to read would be > > nice. > > > > I roughly went over most of the patches, and the framework you > > introduced is still not that clear to me. For now I feel like it can > > be simplified somehow, but I'll hold and speak after I read the whole > > tree again. > > > > Also, it'll be good too if you can always provide some status update > > of the kernel-counterpart it. > > Good suggestion. For this patchset, it only affects Qemu. Yeah, but for > the whole virt-SVA enabling, there is kernel-counterparts. I would do > it in the virt-SVA patchset series. If you still want to post separately - I'm thinking whether it'll be good you put the vfio changes into the 2nd virt-sva series, since that looks more like in that category. Or say, we can introduce SVAOps/PASIDOps, we implement more vIOMMU invalidation request handling, we call it in IOMMU code, but we don't implement any of the device (vfio) that provide that ops. Or maybe we can just post the whole stuff altogether, since after all these two series are still closely related IMHO (e.g., the SVAOps definition should be closely related to how the first vfio user would like to use it). Only my two cents, and I don't know how other people think. It's up to you after all. :) Thanks, -- Peter Xu