Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp606130imp; Wed, 20 Feb 2019 06:01:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IbV/4gh/2EC0+ykrMVQ2fmyRqMfZHzmiiLDLLHcuiobAAaOvnDrIg86gUWBJr0VYnwex5H8 X-Received: by 2002:a65:628e:: with SMTP id f14mr29360716pgv.193.1550671306276; Wed, 20 Feb 2019 06:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550671306; cv=none; d=google.com; s=arc-20160816; b=uv1PYguLdFO3bDjlMzr7OGI223NbVOKK0+7+nNYYAzy5kx6wHeoAm3GHG6sC1SjEsU ywnBnB8B6ecgYrzLvBAgDyTaYrXYhGBcymHh0d4zMF9mksMwwpAc3fO+xymKc4tq59qE ok6nC8it1qemIhFGHHg33Bpp8spsTE0PJLBUYc4bwNUbvpl3KJ5w7eM9koc3zl1kM+zG fUtVruVA+QO1zq+81UPBzWwNX2f53MgQ7Cj+FT5Ev7VgTlariP/MryWCcQvfFqQhmPUO zDeNNDR7WpvRMgPDMwwaqeBPgK4hXjPtMkOyTWalN6tjVcy7kFhYvxkLbHfQicOAyVa9 zgWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=l2Kfp0ntAhfmzSV1LpY3r8+PYSArHohnOEgSuMVpmA4=; b=XXTcS6HZFh45ppSCGs+FRsGIK8w3SS/2zTicJ9tX2gFeFpt6shWOuRP1g5zUl9YFy6 BxqGbsnHthY6Rf7pvgmiObNEyKLFdQnbEIiKdugW4UlU5G93MkIH9JoUQUXNge+u6DyY NqDbqAMPlmO442+wdhqqHWxm25qVIdibhZWEwL5jWHjpCtqWJ1xnK93VQr7dNsZMRoaa VZgp8Rk6Gy9sP6npxOKt7qsNaae4i8xnGyev0EbUUidGOtL8qPHzxGAHJ+xrhyEghrAV XVJ5AUZnq0p78HUDlIh6cPRAwJIoduPZd60jf0pkTsr1v6V4CNXQz+SE5jcEXkWXQ83n /Cmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=oJ1ysyAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si17396965pgp.25.2019.02.20.06.01.23; Wed, 20 Feb 2019 06:01:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=oJ1ysyAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbfBTOAx (ORCPT + 99 others); Wed, 20 Feb 2019 09:00:53 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:14161 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbfBTOAx (ORCPT ); Wed, 20 Feb 2019 09:00:53 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 444K4y27Bxz9v1sm; Wed, 20 Feb 2019 15:00:50 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=oJ1ysyAB; dkim-adsp=pass; dkim-atps=neutral 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 vsIyKQq7uP3j; Wed, 20 Feb 2019 15:00:50 +0100 (CET) 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 444K4y0wDRz9tytY; Wed, 20 Feb 2019 15:00:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1550671250; bh=l2Kfp0ntAhfmzSV1LpY3r8+PYSArHohnOEgSuMVpmA4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oJ1ysyABl+p02mEI3bIVPajP7S6a2g/5eC0d5JxBoYEY1cTHUPDwYQvF0UTuN43xJ GU1rb55DKciQP5D8kbJokJkMGvbW2/MbisxQPa94h4vIJ6YljJjuHC0bDy2+c4l7tS 4zO7BSxQedOlj+mEAecfq2hsPYkb6JLORWfhxR2k= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7C1958B83A; Wed, 20 Feb 2019 15:00:51 +0100 (CET) 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 GhqVACHw-eFX; Wed, 20 Feb 2019 15:00:51 +0100 (CET) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 371C78B812; Wed, 20 Feb 2019 15:00:51 +0100 (CET) Subject: Re: [PATCH] powerpc: Move page table dump files in a dedicated subdirectory To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <913780421c7b73d731bbbe04c215e29667f7c938.1550492751.git.christophe.leroy@c-s.fr> <87d0nm7f8l.fsf@concordia.ellerman.id.au> From: Christophe Leroy Message-ID: <0f371616-0ab6-fe96-852a-323159c58572@c-s.fr> Date: Wed, 20 Feb 2019 15:00:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <87d0nm7f8l.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 20/02/2019 à 14:37, Michael Ellerman a écrit : > Christophe Leroy writes: > >> This patch moves the files related to page table dump in a >> dedicated subdirectory. >> >> The purpose is to clean a bit arch/powerpc/mm by regrouping >> multiple files handling a dedicated function. >> >> Signed-off-by: Christophe Leroy >> --- >> arch/powerpc/Kconfig.debug | 4 ---- >> arch/powerpc/mm/Makefile | 10 +--------- >> arch/powerpc/mm/ptdump/Makefile | 9 +++++++++ >> arch/powerpc/mm/{ => ptdump}/dump_bats.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_hashpagetable.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-8xx.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-book3s64.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-generic.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables.c | 0 >> arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables.h | 0 >> arch/powerpc/mm/{ => ptdump}/dump_sr.c | 0 >> 11 files changed, 10 insertions(+), 13 deletions(-) >> create mode 100644 arch/powerpc/mm/ptdump/Makefile >> rename arch/powerpc/mm/{ => ptdump}/dump_bats.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_hashpagetable.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-8xx.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-book3s64.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables-generic.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables.c (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_linuxpagetables.h (100%) >> rename arch/powerpc/mm/{ => ptdump}/dump_sr.c (100%) > > I'd like to shorten the file names as well, now that they're namespaced > in the ptdump directory, how about: > > arch/powerpc/Kconfig.debug | 4 ---- > arch/powerpc/mm/Makefile | 10 +--------- > arch/powerpc/mm/{dump_linuxpagetables-8xx.c => ptdump/8xx.c} | 2 +- > arch/powerpc/mm/ptdump/Makefile | 9 +++++++++ > arch/powerpc/mm/{dump_bats.c => ptdump/bats.c} | 0 > arch/powerpc/mm/{dump_linuxpagetables-book3s64.c => ptdump/book3s64.c} | 2 +- > arch/powerpc/mm/{dump_hashpagetable.c => ptdump/hashpagetable.c} | 0 > arch/powerpc/mm/{dump_linuxpagetables.c => ptdump/ptdump.c} | 2 +- > arch/powerpc/mm/{dump_linuxpagetables.h => ptdump/ptdump.h} | 0 > arch/powerpc/mm/{dump_sr.c => ptdump/segment_regs.c} | 0 > arch/powerpc/mm/{dump_linuxpagetables-generic.c => ptdump/shared.c} | 2 +- Yes good idea. Do you want a v2 or will you do it ? Christophe > > > cheers >