Re: [PATCH] ACPI: use ioremap_cache()

From: Shaohua Li
Date: Tue Dec 28 2010 - 00:03:39 EST


On Tue, 2010-12-28 at 11:35 +0800, H. Peter Anvin wrote:
> On 12/27/2010 07:21 PM, Shaohua Li wrote:
> > RCRB is a memory mapped io. In ICH, it's chipset configuration
> > registers. this range can't be cached.
> > I thought we should add a check like
> > if page is E820_RAM or E820_ACPI then
> > cached_map
> > else
> > uncached_map
> > we have page_is_ram() API which just checks E820_RAM, I thought we can
> > add a new API to check E820_ACPI.
>
> For x86, that is handled by the MTRRs;
does it cause any problem if the pat and mtrr doesn't match?

--
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/