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: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
- Subject: RE: [PATCH 2/2]Add Variable Page Size and IA64 Support in Intel IOMMU: IA64 Specific Part
- From: "Yu, Fenghua" <fenghua.yu@xxxxxxxxx>
- Date: Sat, 4 Oct 2008 07:17:53 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
- Cc: Bjorn Helgaas <bjorn.helgaas@xxxxxx>, "Luck, Tony" <tony.luck@xxxxxxxxx>, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>, 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: <1223100597.30832.37.camel@xxxxxxxxxxxxxxxxxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <20081001165750.GA21272@xxxxxxxxxxxxxxxxxxxxx> <200810020951.08408.bjorn.helgaas@xxxxxx> <A6AD88C3F2289247BE726C37303E1EB88408AA3E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200810030941.42800.bjorn.helgaas@xxxxxx> <A6AD88C3F2289247BE726C37303E1EB8844A6398@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1223100597.30832.37.camel@xxxxxxxxxxxxxxxxxxxxx>
- Thread-index: Ackl5+HUt8L9tt7nRaGn76xCd5YlnQAQFDPQ
- Thread-topic: [PATCH 2/2]Add Variable Page Size and IA64 Support in Intel IOMMU: IA64 Specific Part
>> VT-d hardware supports both non cache coherency and cache coherency by
>> bit Coherency in Extended Capabilities Register.
>
>But is the version without the cache coherency actually going to be
>_seen_ on IA64?
>
Currently there is only one IA64 platform CraterLake supporting VT-d. Its BIOS sets cache coherency bit. But since there is no architecture spec saying cache coherency is required for all ia64 platforms, non cache coherency could be seen in future platforms having VT-d. And one VT-d architect explicitly tell me that ia64 Linux IOMMU needs to deal with non cache coherency case and flush cache line for non cache coherency case (just like x86-64 is doing).
>> Could you please point me to the doc that explicitly says that
>> architecturally ia64 doesn't need cache flush?
>
>For safety, we can always make the driver just refuse to initialise on
>IA64 if the cache coherency bit isn't set.
The current patch set works just fine for both cache coherency and non cache coherency. We don't need to abandon non cache coherency support on ia64 unless there is explicit spec claiming that non cache coherency is a requirement on all ia64 platforms.
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]