[Ksummit-discuss] [TECH TOPIC] Semantics of MMIO mapping attributes accross archs

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Jul 6 22:04:39 UTC 2015


On Mon, 2015-07-06 at 10:14 -0700, Andy Lutomirski wrote:

> I should have said it more clearly: I think that this construct
> *should* result in the outermost prot.  That is: pgprot_xyz(p) should
> have mode xyz regardless of p.
> 
> x86 doesn't work that way right now.  Instead pgprot_xyz(p) returns
> garbage if p has prot bits set.

Agreed. It should.

Ben.




More information about the Ksummit-discuss mailing list