lkml.org 
[lkml]   [2021]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 10/20] iommu/iommufd: Add IOMMU_DEVICE_GET_INFO
On Thu, Oct 14, 2021 at 08:01:49AM +0000, Tian, Kevin wrote:
> > From: Jean-Philippe Brucker <jean-philippe@linaro.org>
> > Sent: Thursday, September 30, 2021 6:33 PM
> >
> > The PTE flags define whether the memory access is cache-coherent or not.
> > * WB is cacheable (short for write-back cacheable. Doesn't matter here
> > what OI or RWA mean.)
> > * NC is non-cacheable.
> >
> > | Normal PCI access | No_snoop PCI access
> > -------+-------------------+-------------------
> > PTE WB | Cacheable | Non-cacheable
> > PTE NC | Non-cacheable | Non-cacheable
>
> This implies that PCI no-snoop supersedes PTE flags when it's supported
> by the system?
>

Yes, no way for the SMMU to ignore no-snoop, as far as I can see

Thanks,
Jean

\
 
 \ /
  Last update: 2021-10-14 11:17    [W:0.890 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site