From patchwork Mon Jul 21 14:47:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4595781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2C510C0514 for ; Mon, 21 Jul 2014 14:51:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78CAE20127 for ; Mon, 21 Jul 2014 14:51:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B64E120120 for ; Mon, 21 Jul 2014 14:51:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X9Ets-0003EU-UP; Mon, 21 Jul 2014 14:49:12 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X9EtZ-0002bk-RR for linux-arm-kernel@lists.infradead.org; Mon, 21 Jul 2014 14:48:54 +0000 Received: by mail-wi0-f179.google.com with SMTP id f8so4196366wiw.0 for ; Mon, 21 Jul 2014 07:48:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/9N33bI6yjgfv3ojs572vy9itv/F4cpzApPexUH6/Ew=; b=AMUVi+/vScOdVTkYp9me4lFukwJels6bpwlVZcDh/iEqN83iJ1DVTRZG7oKPFyrM2H aeRPTp0YQgotNiy3+MKkJ1rfXemCVVVebVxXOzx2Ik1maRS6tfpbPwLt4eFHXIWZ4wZy jiUgl3hR1U41vnJGWZPjtF77otZavAJyY4n+QvcsGUDKc2XYeCQ+t3hA3ONG9L8R4gyv v1wM2SXsbHIdiFHwNIzAD+lhJa6MLEzJ1RhWZn6kU6LlCwGbuzYLmSiRo2CR9SKT3R/N N/90XcRXa/i7SsZi80eWn9TzHVTju0DwhppvBIwhZVG/NkCo6KecDMKS9eRxGkAwTvRX zh1g== X-Gm-Message-State: ALoCoQn9MHlf3tOCZQxVu2da8VP2uD7O8tDGnDG65IF+pWmfFNnhv9CHd1TQN/5DJcHW3nkmZvbK X-Received: by 10.180.89.143 with SMTP id bo15mr5047738wib.78.1405954109608; Mon, 21 Jul 2014 07:48:29 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id di7sm38135166wjb.34.2014.07.21.07.48.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jul 2014 07:48:28 -0700 (PDT) From: Daniel Thompson To: Russell King , Thomas Gleixner , Jason Cooper Subject: [PATCH RFC 4/9] ARM: dump the status of NS bit in L1 PTE Date: Mon, 21 Jul 2014 15:47:15 +0100 Message-Id: <1405954040-30399-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1405954040-30399-1-git-send-email-daniel.thompson@linaro.org> References: <1405954040-30399-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140721_074854_041410_162AAF82 X-CRM114-Status: GOOD ( 11.81 ) X-Spam-Score: -0.7 (/) Cc: Marek Vasut , linaro-kernel@lists.linaro.org, patches@linaro.org, Harro Haan , linux-kernel@vger.kernel.org, John Stultz , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marek Vasut Add minor adjustment to the page table dumper to also print the status of the L1 PTE NS bit. Signed-off-by: Marek Vasut --- 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 ", }, };