Re: [PATCH 2/2]Add Variable Page Size and IA64 Support in Intel IOMMU: IA64 Specific Part
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
- Subject: Re: [PATCH 2/2]Add Variable Page Size and IA64 Support in Intel IOMMU: IA64 Specific Part
- From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
- Date: Mon, 6 Oct 2008 17:35:39 -0700
- Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>, David Woodhouse <dwmw2@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Avi Kivity <avi@xxxxxxxxxx>, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, "linux-ia64@xxxxxxxxxxxxxxx" <linux-ia64@xxxxxxxxxxxxxxx>
- In-reply-to: <200810060855.36880.bjorn.helgaas@xxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <20081001165750.GA21272@xxxxxxxxxxxxxxxxxxxxx> <200810030941.42800.bjorn.helgaas@xxxxxx> <A6AD88C3F2289247BE726C37303E1EB8844A6398@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200810060855.36880.bjorn.helgaas@xxxxxx>
- User-agent: Mutt/1.4.1i
> > Could you please point me to the doc that explicitly says that architecturally ia64 doesn't need cache flush?
>
> The following sections in volume 2 of the SDM mention DMA:
> Part 1, Sec 4.4.3, Cacheability and Coherency Attribute:
> Part 2, Sec 2.5.4, DMA:
>
> It sounds like the expectation is that DMA will be fully coherent
> and no flushes would be required, but there is wiggle room in that
> last paragraph for platforms that don't maintain coherency.
The cache coherency bit in VT-d is for root, context, and page tables which are for DMA management, not DMA data itself. VT-d DMA data should be cache coherent.The Intel IOMMU code doesn't need to deal with non cache coherency in DMA data traffic. But root, context, and page tables could be non cache coherent and this is handled by Intel IOMMU code.
Thanks.
-Fenghua
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]