lkml.org 
[lkml]   [2015]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V7 3/5] arm64: mm: add PROT_DEVICE_nGnRnE and PROT_NORMAL_WT
On Fri, Jul 24, 2015 at 05:26:54PM +0100, Will Deacon wrote:
> On Fri, Jul 24, 2015 at 05:15:00PM +0100, Catalin Marinas wrote:
> > On Tue, Jul 21, 2015 at 10:59:18PM +0100, Jonathan (Zhixiong) Zhang wrote:
> > > *
> > > * n = AttrIndx[2:0]
> > > * n MAIR
> > > @@ -303,12 +303,14 @@ ENTRY(__cpu_setup)
> > > * DEVICE_GRE 010 00001100
> > > * NORMAL_NC 011 01000100
> > > * NORMAL 100 11111111
> > > + * NORMAL_WT 101 10111011
> >
> > I don't think the write allocation hint makes much sense for WT memory
> > (though it shouldn't cause issues either). Just use 10101010.
>
> The EFI spec actually specifies the 1011 1011 encoding, so I think we should
> follow that.

OK (I didn't bother reading the spec).

--
Catalin



\
 
 \ /
  Last update: 2015-07-24 18:41    [W:0.833 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site