Re: [GIT PULL] xen /proc/mtrr implementation

From: H. Peter Anvin
Date: Wed May 20 2009 - 19:05:26 EST


Andi Kleen wrote:
>>> Is this new interface only defined for swiotlb or MMIO mappings?
>>> If yes did you check the drivers only actually set it on
>>> swiotlb or MMIO (that seems dubious to me)?
>> Really? Do we ever set unusual memory types on normal system memory?
>
> There were drivers at some point that set WC MTRRs on their
> transfer rings, not mmio.
>
> Maybe these all switched to PAT now, maybe not

Most of those that I've heard of use WB memory and CLFLUSH.

The ones I know of which marked descriptor rings WB were ones which had
descriptor rings in MMIO space (which makes sense: MMIO reads are fully
synchronizing, but writes can be posted and write combined.)

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/