Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Toshi Kani
On Mon, 2014-09-08 at 10:23 -0700, Andy Lutomirski wrote: > On Sep 8, 2014 8:18 AM, "Toshi Kani" wrote: > > > > On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: > > > On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman wrote: > > > > I think that what confused Andy (or at least me) is the

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Andy Lutomirski
On Sep 8, 2014 8:18 AM, "Toshi Kani" wrote: > > On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: > > On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman wrote: > > > I think that what confused Andy (or at least me) is the documentation in > > > Documentation/x86/pat.txt > > > If it's

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Toshi Kani
On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: > On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman wrote: > > I think that what confused Andy (or at least me) is the documentation in > > Documentation/x86/pat.txt > > If it's possible, can you please update pat.txt as part of the patch? >

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Toshi Kani
On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman yi...@plexistor.com wrote: I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Andy Lutomirski
On Sep 8, 2014 8:18 AM, Toshi Kani toshi.k...@hp.com wrote: On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman yi...@plexistor.com wrote: I think that what confused Andy (or at least me) is the documentation in

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-08 Thread Toshi Kani
On Mon, 2014-09-08 at 10:23 -0700, Andy Lutomirski wrote: On Sep 8, 2014 8:18 AM, Toshi Kani toshi.k...@hp.com wrote: On Sun, 2014-09-07 at 09:49 -0700, Andy Lutomirski wrote: On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman yi...@plexistor.com wrote: I think that what confused Andy (or at

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Andy Lutomirski
On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman wrote: > I think that what confused Andy (or at least me) is the documentation in > Documentation/x86/pat.txt > If it's possible, can you please update pat.txt as part of the patch? Indeed. That file seems to indicate several times that the intended

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Yigal Korman
I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of the patch? Thank you, Yigal On 04/09/2014 21:57, Toshi Kani wrote: > On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: >> On Thu,

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Yigal Korman
I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of the patch? Thank you, Yigal On 04/09/2014 21:57, Toshi Kani wrote: On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: On Thu,

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Andy Lutomirski
On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman yi...@plexistor.com wrote: I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of the patch? Indeed. That file seems to indicate several times

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 12:14 -0700, Andy Lutomirski wrote: > On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani wrote: > > On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: > >> On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > >> > This patch adds set_memory_wt(), set_memory_array_wt(), and

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani wrote: > On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: >> On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: >> > This patch adds set_memory_wt(), set_memory_array_wt(), and >> > set_pages_array_wt() for setting range(s) of memory to WT. >>

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: > On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > > This patch adds set_memory_wt(), set_memory_array_wt(), and > > set_pages_array_wt() for setting range(s) of memory to WT. > > > > Possibly dumb question: I thought that

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > This patch adds set_memory_wt(), set_memory_array_wt(), and > set_pages_array_wt() for setting range(s) of memory to WT. > Possibly dumb question: I thought that set_memory_xyz was only for RAM. Is that incorrect? --Andy -- To unsubscribe

[PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting range(s) of memory to WT. Note that reserve_memtype() only supports WT for non-RAM ranges at this point. Signed-off-by: Toshi Kani --- arch/x86/include/asm/cacheflush.h |6 +++

[PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting range(s) of memory to WT. Note that reserve_memtype() only supports WT for non-RAM ranges at this point. Signed-off-by: Toshi Kani toshi.k...@hp.com --- arch/x86/include/asm/cacheflush.h |6 +++

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani toshi.k...@hp.com wrote: This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting range(s) of memory to WT. Possibly dumb question: I thought that set_memory_xyz was only for RAM. Is that incorrect? --Andy -- To

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani toshi.k...@hp.com wrote: This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting range(s) of memory to WT. Possibly dumb question: I thought that

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani toshi.k...@hp.com wrote: This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 12:14 -0700, Andy Lutomirski wrote: On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani toshi.k...@hp.com wrote: This patch adds set_memory_wt(),