Hi Julien, On Tue, Aug 22, 2023 at 08:47:10PM +0100, Julien Grall wrote: > Hi Vikram, > > On 19/08/2023 01:28, Vikram Garhwal wrote: > > Protect iommu_add_dt_device() with dtdevs_lock to prevent concurrent access > > to add/remove/assign/deassign. > > With addition of dynamic programming feature(follow-up patches in this > > series), > > Typo: missing space before '('. > > > this function can be concurrently access by pci device assign/deassign and > > also > > I couldn't find any use of this function in the PCI code. So are you talking > about not yet upstreamed patches? So, this assign and deassign is also used by pci-assignable-add from xl which "Make a device assignable for pci-passthru" > > Also, typo: s/access/accessed/ > > > by dynamic node add/remove using device tree overlays. > > > > Signed-off-by: Vikram Garhwal <vikram.garh...@amd.com> > > Reviewed-by: Luca Fancellu <luca.fance...@arm.com> > > Reviewed-by: Michal Orzel <michal.or...@amd.com> > > The code itself looks good to me. So I will provide my reviewed-by tag once > my question about the commit message is answered. > > Cheers, > > -- > Julien Grall
- Re: [XEN][PATCH v9 14/19] common/device_tree: Add rwlo... Julien Grall
- Re: [XEN][PATCH v9 14/19] common/device_tree: Add ... Vikram Garhwal
- Re: [XEN][PATCH v9 14/19] common/device_tree: ... Vikram Garhwal
- [XEN][PATCH v9 09/19] xen/iommu: Move spin_lock from iommu_... Vikram Garhwal
- Re: [XEN][PATCH v9 09/19] xen/iommu: Move spin_lock fr... Jan Beulich
- Re: [XEN][PATCH v9 09/19] xen/iommu: Move spin_loc... Vikram Garhwal
- Re: [XEN][PATCH v9 09/19] xen/iommu: Move spin_lock fr... Julien Grall
- Re: [XEN][PATCH v9 09/19] xen/iommu: Move spin_loc... Vikram Garhwal
- [XEN][PATCH v9 10/19] xen/iommu: protect iommu_add_dt_devic... Vikram Garhwal
- Re: [XEN][PATCH v9 10/19] xen/iommu: protect iommu_add... Julien Grall
- Re: [XEN][PATCH v9 10/19] xen/iommu: protect iommu... Vikram Garhwal
- Re: [XEN][PATCH v9 10/19] xen/iommu: protect i... Julien Grall
- [XEN][PATCH v9 11/19] xen/iommu: Introduce iommu_remove_dt_... Vikram Garhwal
- [XEN][PATCH v9 13/19] asm/smp.h: Fix circular dependency fo... Vikram Garhwal
- [XEN][PATCH v9 16/19] xen/arm: Implement device tree node a... Vikram Garhwal
- [XEN][PATCH v9 17/19] tools/libs/ctrl: Implement new xc int... Vikram Garhwal
- Re: [XEN][PATCH v9 17/19] tools/libs/ctrl: Implement n... Anthony PERARD
- Re: [XEN][PATCH v9 17/19] tools/libs/ctrl: Impleme... Vikram Garhwal
- [XEN][PATCH v9 19/19] tools/xl: Add new xl command overlay ... Vikram Garhwal