Re: [PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-04 Thread Toshi Kani
On Wed, 2015-03-04 at 23:09 +0100, Ingo Molnar wrote: > * Toshi Kani wrote: : > Hm, so I don't see where you set the proper x86 PAT table attributes > for the pmds. > > MTRR's are basically a legacy mechanism, the proper way to set cache > attribute is PAT and I don't see where this generic

Re: [PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-04 Thread Ingo Molnar
* Toshi Kani wrote: > ioremap_pud_range() and ioremap_pmd_range() are changed to create > huge I/O mappings when their capability is enabled, and a request > meets required conditions -- both virtual & physical addresses are > aligned by their huge page size, and a requested range fufills

Re: [PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-04 Thread Ingo Molnar
* Toshi Kani toshi.k...@hp.com wrote: ioremap_pud_range() and ioremap_pmd_range() are changed to create huge I/O mappings when their capability is enabled, and a request meets required conditions -- both virtual physical addresses are aligned by their huge page size, and a requested

Re: [PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-04 Thread Toshi Kani
On Wed, 2015-03-04 at 23:09 +0100, Ingo Molnar wrote: * Toshi Kani toshi.k...@hp.com wrote: : Hm, so I don't see where you set the proper x86 PAT table attributes for the pmds. MTRR's are basically a legacy mechanism, the proper way to set cache attribute is PAT and I don't see where

[PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-03 Thread Toshi Kani
ioremap_pud_range() and ioremap_pmd_range() are changed to create huge I/O mappings when their capability is enabled, and a request meets required conditions -- both virtual & physical addresses are aligned by their huge page size, and a requested range fufills their huge page size. When

[PATCH v3 3/6] mm: Change ioremap to set up huge I/O mappings

2015-03-03 Thread Toshi Kani
ioremap_pud_range() and ioremap_pmd_range() are changed to create huge I/O mappings when their capability is enabled, and a request meets required conditions -- both virtual physical addresses are aligned by their huge page size, and a requested range fufills their huge page size. When