Re: [PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-30 Thread Toshi Kani
On Sat, 2015-05-30 at 11:18 +0200, Geert Uytterhoeven wrote: > On Sat, May 30, 2015 at 12:59 AM, Toshi Kani wrote: > > --- a/include/asm-generic/io.h > > +++ b/include/asm-generic/io.h > > @@ -785,8 +785,17 @@ static inline void __iomem *ioremap_wc(phys_addr_t > > offset, size_t size) > > } > >

Re: [PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-30 Thread Geert Uytterhoeven
On Sat, May 30, 2015 at 12:59 AM, Toshi Kani wrote: > --- a/include/asm-generic/io.h > +++ b/include/asm-generic/io.h > @@ -785,8 +785,17 @@ static inline void __iomem *ioremap_wc(phys_addr_t > offset, size_t size) > } > #endif > > +#ifndef ioremap_wt > +#define ioremap_wt ioremap_wt > +static

Re: [PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-30 Thread Toshi Kani
On Sat, 2015-05-30 at 11:18 +0200, Geert Uytterhoeven wrote: On Sat, May 30, 2015 at 12:59 AM, Toshi Kani toshi.k...@hp.com wrote: --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -785,8 +785,17 @@ static inline void __iomem *ioremap_wc(phys_addr_t offset, size_t size)

Re: [PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-30 Thread Geert Uytterhoeven
On Sat, May 30, 2015 at 12:59 AM, Toshi Kani toshi.k...@hp.com wrote: --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -785,8 +785,17 @@ static inline void __iomem *ioremap_wc(phys_addr_t offset, size_t size) } #endif +#ifndef ioremap_wt +#define ioremap_wt ioremap_wt

[PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-29 Thread Toshi Kani
From: Toshi Kani This patch adds ioremap_wt() for creating WT mapping on x86. It follows the same model as ioremap_wc() for multi-architecture support. ARCH_HAS_IOREMAP_WT is defined in the x86 version of io.h to indicate that ioremap_wt() is implemented on x86. Also update the PAT

[PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-29 Thread Toshi Kani
From: Toshi Kani toshi.k...@hp.com This patch adds ioremap_wt() for creating WT mapping on x86. It follows the same model as ioremap_wc() for multi-architecture support. ARCH_HAS_IOREMAP_WT is defined in the x86 version of io.h to indicate that ioremap_wt() is implemented on x86. Also update