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: 33970 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C0F2620492 for ; Mon, 21 Jul 2014 14:48:31 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf23780890yhl.10 for ; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=/9N33bI6yjgfv3ojs572vy9itv/F4cpzApPexUH6/Ew=; b=X++0t+vN3cf/G3qoVSy4l85i7U/J+OEPbJiy9UFJRxuY2kL38G10skKdhLGhhXq3lU 8BOx6kFGrPLiTK+Zsc5l8rGzSPnkg9CNoMrVfHHCaOQZc8bp1XPEh3nKB+XdqPxlMHm2 e498j+czcyTTmwOJDVsL44Td1PnTLSZfWV/fl3rbHcVrJoGh2uH2RIKG2gjCD2b8FuEh etuOcc0ZNw3Ro0pkMCayN3R16dlmy7ztn5HCDlSpdTbPm/USg2jD4vc/6j4RfXcYpqnf SBUB5M7mWayfWu/OkH+s/OCFLKW3PZdRA2fBmc7xIhygPPuf3oMYAgOjMU2otIUSoxvv 0Uyw== X-Gm-Message-State: ALoCoQlgy5toqByd1CMNhFojlO16aGq8nhFk1TflFeIn1hh2rHZQOpnfsmBm4JG3jyHVzTOGhKnA X-Received: by 10.236.124.100 with SMTP id w64mr11815387yhh.57.1405954111563; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.81 with SMTP id w75ls1607105qgw.35.gmail; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr29882006vck.29.1405954111371; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id kd5si3899047veb.67.2014.07.21.07.48.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jul 2014 07:48:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so12224766vcb.41 for ; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) X-Received: by 10.53.5.230 with SMTP id cp6mr18403122vdd.25.1405954111246; Mon, 21 Jul 2014 07:48:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp118414vcb; Mon, 21 Jul 2014 07:48:30 -0700 (PDT) X-Received: by 10.181.5.39 with SMTP id cj7mr5070057wid.79.1405954110170; Mon, 21 Jul 2014 07:48:30 -0700 (PDT) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx.google.com with ESMTPS id jq9si28553168wjc.24.2014.07.21.07.48.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jul 2014 07:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.179 as permitted sender) client-ip=209.85.212.179; Received: by mail-wi0-f179.google.com with SMTP id f8so4196349wiw.0 for ; Mon, 21 Jul 2014 07:48:29 -0700 (PDT) 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 Cc: Marek Vasut , Harro Haan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org, John Stultz 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 ", }, };