Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp474642pxj; Thu, 10 Jun 2021 05:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwydHCMLXmDrstSCXYUHPchxmUIJ7xhzNwjddTeM1zGZ0OkYRqLv7b8r8WiI8P6e2LbUVK X-Received: by 2002:a17:906:80cd:: with SMTP id a13mr4256257ejx.421.1623328238698; Thu, 10 Jun 2021 05:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623328238; cv=none; d=google.com; s=arc-20160816; b=q3JbZcZ/868vlIJWovbX3KsR/3lyDWStRfCJa7PNHb/BZHKZmer3Cs9un+CWzKjRB+ g2Mw0filkQFDPhcGEmHCrns2NMBlNTJMtdvXMKIyNMEdXSRtoPAfbFjs5nnqVnkhbOa7 x0vR3QxrKOoqrgM/YXjGRmS1lOG2boYxq4B7wCci+dewcB6nViVTqCAzMcR1cLS/Y3VU Mx/zrGSaf8W5sa7HvGijBkuy8xQd17/6CttfI8Q6XNMaRGBRMYvy+mdT1LfdIshdG+mq ksGYboP3ZQgGXpCcmKREv4kdAg5T6w4zya8uGIY9Zw3hhAEi1P7Y7wK3iPtK8KZrZSp/ gmlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Cz1s2IQka+/hUSzTaXRG40rwUG20nqBoQfcRKCy68Gs=; b=OiTzVe4Sm9xdP+JZnNyUk+Kree3xk018NSaG411MtBfecC1LYjd6WkVtOFtkyjojNf inKsEb9DbbnHmSPl0RBM7okb37em/Tr2RxXM05gIAUKNTdTPzSNdEVjLpaEwjz2FQwDF yVek19d8nwSkQQffhJzLcUDUW//nhN7aY6iQ/v2xpLqamQGIiNigeam8lMG6ZMvmLSSm ZDUW/8cnASIKN3p7PYwcTZqBy4wnvPHkKsj72zX7ChA7QVxK9TNKO2yDr0aDh/tp4lbV 2szYsl/R8pDGyRNju1kHfVkGc3coxjaFeuIhWoUQqjy6KRzb2hMNNrrKHp+waipQYGEC 4yzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si2085104ejl.222.2021.06.10.05.30.15; Thu, 10 Jun 2021 05:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbhFJM3g (ORCPT + 99 others); Thu, 10 Jun 2021 08:29:36 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:5325 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbhFJM3O (ORCPT ); Thu, 10 Jun 2021 08:29:14 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4G135C1mG5z1BL5C; Thu, 10 Jun 2021 20:22:23 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 20:27:16 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 20:27:10 +0800 From: Kefeng Wang To: Russell King , CC: Catalin Marinas , , Andrew Morton , Jungseung Lee , Will Deacon , Kefeng Wang Subject: [PATCH v3 4/6] ARM: mm: Kill page table base print in show_pte() Date: Thu, 10 Jun 2021 20:35:54 +0800 Message-ID: <20210610123556.171328-5-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210610123556.171328-1-wangkefeng.wang@huawei.com> References: <20210610123556.171328-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now the show_pts() will dump the virtual (hashed) address of page table base, it is useless, kill it. Signed-off-by: Kefeng Wang --- arch/arm/mm/fault.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 9a6d74f6ea1d..76aced067b12 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -37,7 +37,6 @@ void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr) if (!mm) mm = &init_mm; - printk("%spgd = %p\n", lvl, mm->pgd); pgd = pgd_offset(mm, addr); printk("%s[%08lx] *pgd=%08llx", lvl, addr, (long long)pgd_val(*pgd)); -- 2.26.2