Messages in this thread | | | Date | Fri, 24 Jul 2015 17:34:25 +0100 | From | Catalin Marinas <> | Subject | Re: [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
| |