Thread (4 messages) 4 messages, 3 authors, 2014-01-30
DORMANTno replies REVIEWED: 3 (3M)

1 review trailer.

[PATCH v2] ARM: mm: Fix stage-2 device memory attributes

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2014-01-30 11:41:33

On Tue, Jan 28, 2014 at 09:24:24PM +0000, Christoffer Dall wrote:
The stage-2 memory attributes are distinct from the Hyp memory
attributes and the Stage-1 memory attributes.  We were using the stage-1
memory attributes for stage-2 mappings causing device mappings to be
mapped as normal memory.  Add the S2 equivalent defines for memory
attributes and fix the comments explaining the defines while at it.

Add a prot_pte_s2 field to the mem_type struct and fill out the field
for device mappings accordingly.

Cc: Marc Zyngier <redacted>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Christoffer Dall <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help