virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <17-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <3-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <2-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <1-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • * Re: [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec
           [not found] <0-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
                       ` (4 preceding siblings ...)
           [not found] ` <1-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    @ 2023-11-08 18:34 ` André Draszik
      2023-11-08 19:22   ` Jason Gunthorpe
           [not found] ` <10-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
                       ` (12 subsequent siblings)
      18 siblings, 1 reply; 28+ messages in thread
    From: André Draszik @ 2023-11-08 18:34 UTC (permalink / raw)
      To: Jason Gunthorpe
      Cc: Zhenhua Huang, acpica-devel, Alyssa Rosenzweig, Albert Ou, asahi,
    	Lu Baolu, Catalin Marinas, Dexuan Cui, devicetree,
    	David Woodhouse, Frank Rowand, Hanjun Guo, Haiyang Zhang,
    	Christoph Hellwig, iommu, Jean-Philippe Brucker, Jonathan Hunter,
    	Joerg Roedel, K. Y. Srinivasan, Len Brown, linux-acpi,
    	linux-arm-kernel, linux-hyperv, linux-mips, linux-riscv,
    	linux-snps-arc, linux-tegra, Russell King, Lorenzo Pieralisi,
    	Marek Szyprowski, Hector Martin, Palmer Dabbelt, Paul Walmsley,
    	Rafael J. Wysocki, Robert Moore, Rob Herring, Robin Murphy,
    	Sudeep Holla, Suravee Suthikulpanit, Sven Peter, Thierry Reding,
    	Thomas Bogendoerfer, Krishna Reddy, Vineet Gupta, virtualization,
    	Wei Liu, Will Deacon
    
    Hi Jason,
    
    On Fri, 2023-11-03 at 13:44 -0300, 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_zhenhuah@quicinc.com
    > 
    > I haven't been able to test this on any HW that touches these paths, so if
    > some people with HW can help get it in shape it can become non-RFC.
    
    Thank you for this series.
    
    Please note that we're also observing this issue on 6.1.
    I think this series is a good candidate for a back port (slightly complicated by
    the fact that various refactors have happened since).
    
    For me, it's working fine so far on master, and I've also done my own back port
    to 6.1 and am currently testing both. An official back port once finalised
    could be useful, though :-)
    
    
    Cheers,
    Andre'
    
    
    ^ permalink raw reply	[flat|nested] 28+ messages in thread
  • [parent not found: <10-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <12-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <13-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <5-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <6-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <7-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <8-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <9-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <11-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <14-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <15-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • [parent not found: <16-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>]
  • * Re: [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec
           [not found] <0-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
                       ` (17 preceding siblings ...)
           [not found] ` <16-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    @ 2023-11-14  4:56 ` Zhenhua Huang
      18 siblings, 0 replies; 28+ messages in thread
    From: Zhenhua Huang @ 2023-11-14  4:56 UTC (permalink / raw)
      To: Jason Gunthorpe, acpica-devel, Alyssa Rosenzweig, Albert Ou,
    	asahi, Lu Baolu, Catalin Marinas, Dexuan Cui, devicetree,
    	David Woodhouse, Frank Rowand, Hanjun Guo, Haiyang Zhang,
    	Christoph Hellwig, iommu, Jean-Philippe Brucker, Jonathan Hunter,
    	Joerg Roedel, K. Y. Srinivasan, Len Brown, linux-acpi,
    	linux-arm-kernel, linux-hyperv, linux-mips, linux-riscv,
    	linux-snps-arc, linux-tegra, Russell King, Lorenzo Pieralisi,
    	Marek Szyprowski, Hector Martin, Palmer Dabbelt, Paul Walmsley,
    	Rafael J. Wysocki, Robert Moore, Rob Herring, Robin Murphy,
    	Sudeep Holla, Suravee Suthikulpanit, Sven Peter, Thierry Reding,
    	Thomas Bogendoerfer, Krishna Reddy, Vineet Gupta, virtualization,
    	Wei Liu, Will Deacon
    
    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_zhenhuah@quicinc.com
    > 
    > I haven't been able to test this on any HW that touches these paths, so if
    > some people with HW can help get it in shape it can become non-RFC.
    
    Thank you for addressing it quickly with a thorough way. I have 
    backported it to Android common kernel 6.1 and tested basic sanity well.
    I will share these to OEMs and see if they can reproduce further, thanks.
    
    Thanks,
    Zhenhua
    
    ^ permalink raw reply	[flat|nested] 28+ messages in thread

  • end of thread, other threads:[~2023-11-14  5:35 UTC | newest]
    
    Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <0-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
         [not found] ` <4-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-06 14:32   ` [PATCH RFC 04/17] acpi: Do not return struct iommu_ops from acpi_iommu_configure_id() Rafael J. Wysocki
         [not found] ` <17-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-08  8:18   ` [PATCH RFC 17/17] iommu: Mark dev_iommu_priv_set() with a lockdep Baolu Lu
    2023-11-13 20:35   ` Jerry Snitselaar
         [not found] ` <3-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-08 16:11   ` [PATCH RFC 03/17] of: Use -ENODEV consistently in of_iommu_configure() Rob Herring
         [not found] ` <2-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-08 16:17   ` [PATCH RFC 02/17] of: Do not return struct iommu_ops from of_iommu_configure() Rob Herring
         [not found] ` <1-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-06  7:17   ` [PATCH RFC 01/17] iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops() Christoph Hellwig
    2023-11-08  8:01   ` Baolu Lu
    2023-11-08 16:18   ` Rob Herring
    2023-11-12 17:35   ` Moritz Fischer
    2023-11-08 18:34 ` [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec André Draszik
    2023-11-08 19:22   ` Jason Gunthorpe
         [not found] ` <10-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-06 14:36   ` [PATCH RFC 10/17] acpi: Do not use dev->iommu within acpi_iommu_configure() Rafael J. Wysocki
    2023-11-12 17:44   ` Moritz Fischer
    2023-11-13 22:37     ` Jason Gunthorpe
    2023-11-13 20:13   ` Jerry Snitselaar
         [not found] ` <12-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-08 18:12   ` [PATCH RFC 12/17] iommu: Make iommu_ops_from_fwnode() static André Draszik
    2023-11-13 20:02   ` Jerry Snitselaar
         [not found] ` <13-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:06   ` [PATCH RFC 13/17] iommu: Remove dev_iommu_fwspec_set() Jerry Snitselaar
         [not found] ` <5-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:10   ` [PATCH RFC 05/17] iommu: Make iommu_fwspec->ids a distinct allocation Jerry Snitselaar
         [not found] ` <6-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:11   ` [PATCH RFC 06/17] iommu: Add iommu_fwspec_alloc/dealloc() Jerry Snitselaar
         [not found] ` <7-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:11   ` [PATCH RFC 07/17] iommu: Add iommu_probe_device_fwspec() Jerry Snitselaar
         [not found] ` <8-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:11   ` [PATCH RFC 08/17] of: Do not use dev->iommu within of_iommu_configure() Jerry Snitselaar
         [not found] ` <9-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:12   ` [PATCH RFC 09/17] iommu: Add iommu_fwspec_append_ids() Jerry Snitselaar
         [not found] ` <11-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:14   ` [PATCH RFC 11/17] iommu: Hold iommu_probe_device_lock while calling ops->of_xlate Jerry Snitselaar
         [not found] ` <14-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:18   ` [PATCH RFC 14/17] iommu: Remove pointless iommu_fwspec_free() Jerry Snitselaar
         [not found] ` <15-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:23   ` [PATCH RFC 15/17] iommu: Add ops->of_xlate_fwspec() Jerry Snitselaar
         [not found] ` <16-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com>
    2023-11-13 20:25   ` [PATCH RFC 16/17] iommu: Mark dev_iommu_get() with lockdep Jerry Snitselaar
    2023-11-14  4:56 ` [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec Zhenhua Huang
    

    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).