Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp957969pxb; Thu, 15 Apr 2021 10:19:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDccC6rmF67EgfJiKjofpSyjI9OM2P1WmlkAuJoAnJGRv+ibxjTnMS8tkSsrIRLb7ItTFF X-Received: by 2002:a17:906:b104:: with SMTP id u4mr4476556ejy.211.1618507178381; Thu, 15 Apr 2021 10:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618507178; cv=none; d=google.com; s=arc-20160816; b=iNN+yknvGZkvIUC6mz/5zbx8zvvuCeGPXlgkoieWHzWO3gz6XsjKgD2G962SFrH6Xf yD2aYoff4OJjcesku6wrcUR30WyMsEkPPIoqKx6zy4778wEpaNocrYeU2X9NvX5/+7Rm gGb2ramZeTfbV4J6cR9P7ZpFvPdpkOZoxe6qeDpM+gb15RkJR72zBlmR3rv1qqPVkcoW YdmuYgivtdyoyX19NPeyn4iqwzOWAKbcOYdcQiCflfo8koVB9TM4mtxu+HIKpsuTAmPH HiQAKiJa6mhAONkGcYrLsH+mjVCEkZr7qW3e3Db6wUvcfXiAtQulsEjmIYhye9LTZ4bv Bb0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=tF7wrIP6T12hkwOoPPRFPQZPCvPod6X6H7Gd/lglEnQ=; b=LxyiTUvdPKslwmvV49kD5kTsd0RaYSP3iRXq6pazZbjj84d+Bd+7KCaCJYxJ3REXI4 GCW1jKlCFJvRW9ojkz2nyjh8VoDiUfJ9uhlB7nhoDNJyzH6fTYB/GxOyM3R52kN3TPKX /YdfQ3Ts2mbHcxVTxHMMi7zgUqygDkZMqUMoAH5ochF0ZI4OPwG2zmGi2uOyCFcN9MML YygtrqS09XBDe9aPTmDqOW91GL/HoPloePheqkb6juNkA11pIFNGumrkrDjHWFdM+yA2 J8kp89N+xPa99Tqf4BU0x4fIcm1VTQBv1BwueYYoNYOD4NvhnfO4CR7UGonIk6/+yxPs T5Mw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si361326edd.261.2021.04.15.10.19.10; Thu, 15 Apr 2021 10:19: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234188AbhDORSm (ORCPT + 99 others); Thu, 15 Apr 2021 13:18:42 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:38735 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233343AbhDORSj (ORCPT ); Thu, 15 Apr 2021 13:18:39 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4FLmJQ28nVz9vBLm; Thu, 15 Apr 2021 19:18:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id xQ_LIEXY2H5D; Thu, 15 Apr 2021 19:18:14 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4FLmJQ08Wvz9tyvC; Thu, 15 Apr 2021 19:18:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F13E68B804; Thu, 15 Apr 2021 19:18:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id CN9zIg9V5yLe; Thu, 15 Apr 2021 19:18:13 +0200 (CEST) Received: from po16121vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B7A058B7F6; Thu, 15 Apr 2021 19:18:13 +0200 (CEST) Received: by po16121vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 7341B679F6; Thu, 15 Apr 2021 17:18:13 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH v1 0/5] Convert powerpc to GENERIC_PTDUMP To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Steven Price , akpm@linux-foundation.org Cc: linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-mm@kvack.org Date: Thu, 15 Apr 2021 17:18:13 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series converts powerpc to generic PTDUMP. For that, we first need to add missing hugepd support to pagewalk and ptdump. Christophe Leroy (5): mm: pagewalk: Fix walk for hugepage tables mm: ptdump: Fix build failure mm: ptdump: Provide page size to notepage() mm: ptdump: Support hugepd table entries powerpc/mm: Convert powerpc to GENERIC_PTDUMP arch/arm64/mm/ptdump.c | 2 +- arch/powerpc/Kconfig | 2 + arch/powerpc/Kconfig.debug | 30 ------ arch/powerpc/mm/Makefile | 2 +- arch/powerpc/mm/mmu_decl.h | 2 +- arch/powerpc/mm/ptdump/8xx.c | 6 +- arch/powerpc/mm/ptdump/Makefile | 9 +- arch/powerpc/mm/ptdump/book3s64.c | 6 +- arch/powerpc/mm/ptdump/ptdump.c | 161 +++++++++--------------------- arch/powerpc/mm/ptdump/shared.c | 6 +- arch/riscv/mm/ptdump.c | 2 +- arch/s390/mm/dump_pagetables.c | 3 +- arch/x86/mm/dump_pagetables.c | 2 +- include/linux/ptdump.h | 2 +- mm/pagewalk.c | 54 ++++++++-- mm/ptdump.c | 33 ++++-- 16 files changed, 145 insertions(+), 177 deletions(-) -- 2.25.0