Re: [PATCH v9 2/10] x86, mm, pat: Change reserve_memtype() for WT

From: Thomas Gleixner
Date: Fri May 22 2015 - 03:01:41 EST


On Wed, 13 May 2015, Toshi Kani wrote:

> This patch changes reserve_memtype() to support the WT cache mode
> with PAT. When PAT is not enabled, WB and UC- are the only types
> supported.
>
> When a target range is in RAM, reserve_ram_pages_type() verifies
> the requested type. reserve_ram_pages_type() is changed to fail
> WT and WP requests with -EINVAL since set_page_memtype() is
> limited to handle three types, WB, WC and UC-.
>
> Signed-off-by: Toshi Kani <toshi.kani@xxxxxx>
> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
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/