lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Jul 2015 17:34:25 +0100
From:	Catalin Marinas <catalin.marinas@....com>
To:	Will Deacon <will.deacon@....com>
Cc:	"Jonathan (Zhixiong) Zhang" <zjzhang@...eaurora.org>,
	"fu.wei@...aro.org" <fu.wei@...aro.org>,
	"al.stone@...aro.org" <al.stone@...aro.org>,
	"bp @ alien8 . de Matt Fleming" <matt.fleming@...el.com>,
	"rjw@...ysocki.net" <rjw@...ysocki.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linaro-acpi@...ts.linaro.org" <linaro-acpi@...ts.linaro.org>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ