lkml.org 
[lkml]   [2015]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 2/10] x86, mm, pat: Change reserve_memtype() for WT
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@hp.com>
> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


\
 
 \ /
  Last update: 2015-05-22 09:21    [W:0.292 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site