Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-18 Thread H. Peter Anvin
On 11/03/2013 04:02 AM, Andreas Werner wrote: > Revision 2: > added comment in code. > > This patch adds the Write-through memory type in combination with mtrr. > If you call ioremap_cache to request cachable memory (write-back) the > function tries to set the PAT to write-back only if the

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-18 Thread H. Peter Anvin
On 11/03/2013 04:02 AM, Andreas Werner wrote: Revision 2: added comment in code. This patch adds the Write-through memory type in combination with mtrr. If you call ioremap_cache to request cachable memory (write-back) the function tries to set the PAT to write-back only if the mtrr

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
On Sun, Nov 03, 2013 at 09:44:46AM -0800, H. Peter Anvin wrote: > On 11/03/2013 04:02 AM, Andreas Werner wrote: > > > > Since marking IO Memory as cachable is not valid, WT is the > > best way for caching/bursting on MMIO Devices. > > > > Uh... WT *is* cachable... > > -hpa > > Sorry

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread H. Peter Anvin
On 11/03/2013 04:02 AM, Andreas Werner wrote: > > Since marking IO Memory as cachable is not valid, WT is the > best way for caching/bursting on MMIO Devices. > Uh... WT *is* cachable... -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
Revision 2: added comment in code. This patch adds the Write-through memory type in combination with mtrr. If you call ioremap_cache to request cachable memory (write-back) the function tries to set the PAT to write-back only if the mtrr setting of the requested region is also marked as

[PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
Revision 2: added comment in code. This patch adds the Write-through memory type in combination with mtrr. If you call ioremap_cache to request cachable memory (write-back) the function tries to set the PAT to write-back only if the mtrr setting of the requested region is also marked as

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread H. Peter Anvin
On 11/03/2013 04:02 AM, Andreas Werner wrote: Since marking IO Memory as cachable is not valid, WT is the best way for caching/bursting on MMIO Devices. Uh... WT *is* cachable... -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
On Sun, Nov 03, 2013 at 09:44:46AM -0800, H. Peter Anvin wrote: On 11/03/2013 04:02 AM, Andreas Werner wrote: Since marking IO Memory as cachable is not valid, WT is the best way for caching/bursting on MMIO Devices. Uh... WT *is* cachable... -hpa Sorry my mistake, i