Re: [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec

2023-11-13 Thread Zhenhua Huang
Thanks Jason. On 2023/11/4 0:44, Jason Gunthorpe wrote: This is a more complete solution that the first attempt here: https://lore.kernel.org/r/1698825902-10685-1-git-send-email-quic_zhenh...@quicinc.com I haven't been able to test this on any HW that touches these paths, so if some people

Re: [PATCH RFC 10/17] acpi: Do not use dev->iommu within acpi_iommu_configure()

2023-11-13 Thread Jason Gunthorpe
On Sun, Nov 12, 2023 at 09:44:18AM -0800, Moritz Fischer wrote: > On Fri, Nov 03, 2023 at 01:44:55PM -0300, Jason Gunthorpe wrote: > > This call chain is using dev->iommu->fwspec to pass around the fwspec > > between the three parts (acpi_iommu_configure(), acpi_iommu_fwspec_init(), > >

Re: [PATCH RFC 17/17] iommu: Mark dev_iommu_priv_set() with a lockdep

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 16/17] iommu: Mark dev_iommu_get() with lockdep

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 15/17] iommu: Add ops->of_xlate_fwspec()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 14/17] iommu: Remove pointless iommu_fwspec_free()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 11/17] iommu: Hold iommu_probe_device_lock while calling ops->of_xlate

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 10/17] acpi: Do not use dev->iommu within acpi_iommu_configure()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 09/17] iommu: Add iommu_fwspec_append_ids()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 08/17] of: Do not use dev->iommu within of_iommu_configure()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 07/17] iommu: Add iommu_probe_device_fwspec()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 06/17] iommu: Add iommu_fwspec_alloc/dealloc()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 05/17] iommu: Make iommu_fwspec->ids a distinct allocation

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 13/17] iommu: Remove dev_iommu_fwspec_set()

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

Re: [PATCH RFC 12/17] iommu: Make iommu_ops_from_fwnode() static

2023-11-13 Thread Jerry Snitselaar
On Fri, Nov 03, 2023 at 01:44:57PM -0300, Jason Gunthorpe wrote: ... > @@ -1044,11 +1043,6 @@ static inline int iommu_fwspec_add_ids(struct device > *dev, u32 *ids, > } > > static inline ^ was missed in the deletion below > -const struct iommu_ops *iommu_ops_from_fwnode(struct

RE: [PATCH net,v4, 2/3] hv_netvsc: Fix race of register_netdevice_notifier and VF register

2023-11-13 Thread Haiyang Zhang
> -Original Message- > From: Simon Horman > Sent: Sunday, November 12, 2023 4:41 AM > To: Haiyang Zhang > Cc: linux-hyperv@vger.kernel.org; net...@vger.kernel.org; KY Srinivasan > ; wei@kernel.org; Dexuan Cui > ; eduma...@google.com; k...@kernel.org; > pab...@redhat.com;