On Tue, Nov 07, 2017 at 11:25:16AM +0000, Ard Biesheuvel wrote:
I'd prefer the name ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK_NONSHAREABLE but other than that, this looks sensible to me. Leif?
And the same for NONSECURE, yes. With that modification, this sounds like something absolutely required in this situation.
Does this scenario have any further implications for runtime use?
I don't think so. These attributes are only used to select the attributes UEFI uses for its own mapping, and they should only be used for non-DRAM, so they shouldn't leak into the UEFI memory map in a way the OS would be able to notice.
Yes, that makes sense. Just wanted to double-check.
/ Leif