lkml.org 
[lkml]   [2014]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH RFC 4/9] ARM: dump the status of NS bit in L1 PTE
Date
From: Marek Vasut <marex@denx.de>

Add minor adjustment to the page table dumper to also print the status
of the L1 PTE NS bit.

Signed-off-by: Marek Vasut <marex@denx.de>
---
arch/arm/mm/dump.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/mm/dump.c b/arch/arm/mm/dump.c
index c508f41..0100edb 100644
--- a/arch/arm/mm/dump.c
+++ b/arch/arm/mm/dump.c
@@ -176,6 +176,11 @@ static const struct prot_bits section_bits[] = {
.val = PMD_SECT_S,
.set = "SHD",
.clear = " ",
+ }, {
+ .mask = PMD_SECT_NS,
+ .val = PMD_SECT_NS,
+ .set = "NS ",
+ .clear = "ns ",
},
};

--
1.9.3


\
 
 \ /
  Last update: 2014-07-21 17:21    [W:0.582 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site