Re: [PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-12 Thread Toshi Kani
On Fri, 2014-09-12 at 15:33 -0400, Konrad Rzeszutek Wilk wrote: > > - /* Set PWT to Write-Combining. All other bits stay the same */ > > - /* > > -* PTE encoding used in Linux: > > -* PAT > > -* |PCD > > -* ||PWT > > -* ||| > > -* 000 WB

Re: [PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-12 Thread Konrad Rzeszutek Wilk
> - /* Set PWT to Write-Combining. All other bits stay the same */ > - /* > - * PTE encoding used in Linux: > - * PAT > - * |PCD > - * ||PWT > - * ||| > - * 000 WB _PAGE_CACHE_WB > - * 001 WC _PAGE_CACHE_WC

Re: [PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-12 Thread Konrad Rzeszutek Wilk
- /* Set PWT to Write-Combining. All other bits stay the same */ - /* - * PTE encoding used in Linux: - * PAT - * |PCD - * ||PWT - * ||| - * 000 WB _PAGE_CACHE_WB - * 001 WC _PAGE_CACHE_WC - *

Re: [PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-12 Thread Toshi Kani
On Fri, 2014-09-12 at 15:33 -0400, Konrad Rzeszutek Wilk wrote: - /* Set PWT to Write-Combining. All other bits stay the same */ - /* -* PTE encoding used in Linux: -* PAT -* |PCD -* ||PWT -* ||| -* 000 WB _PAGE_CACHE_WB

[PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-10 Thread Toshi Kani
This patch sets WT to the PA7 slot in the PAT MSR when the processor is not affected by the PAT errata. The PA7 slot is chosen to further minimize the risk of using the PAT bit as the PA3 slot is UC and is not currently used. The following Intel processors are affected by the PAT errata.

[PATCH v2 1/6] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-10 Thread Toshi Kani
This patch sets WT to the PA7 slot in the PAT MSR when the processor is not affected by the PAT errata. The PA7 slot is chosen to further minimize the risk of using the PAT bit as the PA3 slot is UC and is not currently used. The following Intel processors are affected by the PAT errata.