From patchwork Fri Jul 21 18:52:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ram Pai X-Patchwork-Id: 792277 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xDg995HDxz9s4s for ; Sat, 22 Jul 2017 05:01:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jyso/rvU"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xDg9937rxzDqxq for ; Sat, 22 Jul 2017 05:01:33 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jyso/rvU"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xDfyz0WvMzDqxB for ; Sat, 22 Jul 2017 04:52:43 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jyso/rvU"; dkim-atps=neutral Received: by mail-qk0-x242.google.com with SMTP id d145so2342858qkc.0 for ; Fri, 21 Jul 2017 11:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=rZQSLP5k6ffgWK+oO5GOUCIoiALhs+aAl77IcNExu/k=; b=jyso/rvUHcfaDc8DIVh+Z8zHSSDt6cJFDpf2ul7hqxaWncY2K1oPK+5mh9juSU6yM9 lR9rVtkFvJtpo6o+OT5sBDLAEbgDI+N1WVe1Xqm7w968X6EXXUxMOotXd7bZvPbWn2a+ 38kLSGgF2AgUxdyGEXZiplNjAS3qgw1a+b4yk/dPC7blAMdL7C7BcL1GLh6EdGDab5gm JPiYFbPTCa6BNAyN7r2wjczeESxPKsCIsZiSJMTmL1BjQAfnhHZFf0AFpQIR36YqfjUP OFmc4rcQdJLp5PF7f+tni5me8tdbZXJJjnMOLCMPbhKy+nWbQAmdd+OzwEE9oJDowhzP 6vAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=rZQSLP5k6ffgWK+oO5GOUCIoiALhs+aAl77IcNExu/k=; b=fw6JqRm4IuSq+ZeYsq5seS/YNb/zmuL7igZfgXbLV90Xx94u6CJErFOVEAqadLSnaa QWRqehgmj1TDj4e117365OMDABIpMH4JQtyC/x3XfJucViHm25N71aM6cEAJ7PxmI7+j uC4aon38b8KfJy6jtpDxf51MmxD6nxBs+qm9totbOIQZVUMx+Pzke3aWM2gS+906xf8q AnUCXr0StZjAZuar/VLsbAelY5Et1qn4SIxEqapnr5CGs+9DFpeMt0GGfgtpDiLc602R CoR863R6hEhR0hOD92XEYZiqTBDdgUDmsHn7KIKJVMnVShsQ7tg46k133BQPNGRXuMQO xo+w== X-Gm-Message-State: AIVw113F93jMu1eZCb9QLYQLUa9E6DCbhD4+86YpwwMbAmaD/AJRCPzz YXzO3SpNTURrh5cd X-Received: by 10.55.113.197 with SMTP id m188mr11094152qkc.227.1500663161101; Fri, 21 Jul 2017 11:52:41 -0700 (PDT) Received: from localhost.localdomain (50-39-103-96.bvtn.or.frontiernet.net. [50.39.103.96]) by smtp.gmail.com with ESMTPSA id t43sm3994873qth.30.2017.07.21.11.52.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jul 2017 11:52:40 -0700 (PDT) From: Ram Pai To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/6] powerpc: capture the PTE format changes in the dump pte report Date: Fri, 21 Jul 2017 11:52:06 -0700 Message-Id: <1500663129-10615-4-git-send-email-linuxram@us.ibm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1500663129-10615-1-git-send-email-linuxram@us.ibm.com> References: <1500663129-10615-1-git-send-email-linuxram@us.ibm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxram@us.ibm.com, mhocko@kernel.org, paulus@samba.org, aneesh.kumar@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The H_PAGE_F_SECOND,H_PAGE_F_GIX are not in the 64K main-PTE. capture these changes in the dump pte report. Reviewed-by: Aneesh Kumar K.V Signed-off-by: Ram Pai --- arch/powerpc/mm/dump_linuxpagetables.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/mm/dump_linuxpagetables.c b/arch/powerpc/mm/dump_linuxpagetables.c index 44fe483..5627edd 100644 --- a/arch/powerpc/mm/dump_linuxpagetables.c +++ b/arch/powerpc/mm/dump_linuxpagetables.c @@ -213,7 +213,7 @@ struct flag_info { .val = H_PAGE_4K_PFN, .set = "4K_pfn", }, { -#endif +#else /* CONFIG_PPC_64K_PAGES */ .mask = H_PAGE_F_GIX, .val = H_PAGE_F_GIX, .set = "f_gix", @@ -224,6 +224,7 @@ struct flag_info { .val = H_PAGE_F_SECOND, .set = "f_second", }, { +#endif /* CONFIG_PPC_64K_PAGES */ #endif .mask = _PAGE_SPECIAL, .val = _PAGE_SPECIAL,