[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210118044729.g24gnfdmao7or5kp@vireshk-i7>
Date: Mon, 18 Jan 2021 10:17:29 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Robert Richter <rric@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Arnd Bergmann <arnd@...db.de>, Jeremy Kerr <jk@...abs.org>
Cc: Vincent Guittot <vincent.guittot@...aro.org>,
Arnd Bergmann <arnd@...nel.org>, oprofile-list@...ts.sf.net,
William Cohen <wcohen@...hat.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
anmar.oueja@...aro.org, Christoph Hellwig <hch@...radead.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 10/18] arch: powerpc: Stop building and using oprofile
On 14-01-21, 17:05, Viresh Kumar wrote:
> The "oprofile" user-space tools don't use the kernel OPROFILE support
> any more, and haven't in a long time. User-space has been converted to
> the perf interfaces.
>
> This commits stops building oprofile for powerpc and removes any
> reference to it from directories in arch/powerpc/ apart from
> arch/powerpc/oprofile, which will be removed in the next commit (this is
> broken into two commits as the size of the commit became very big, ~5k
> lines).
>
> Note that the member "oprofile_cpu_type" in "struct cpu_spec" isn't
> removed as it was also used by other parts of the code.
>
> Suggested-by: Christoph Hellwig <hch@...radead.org>
> Suggested-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
> arch/powerpc/Kconfig | 1 -
> arch/powerpc/Makefile | 2 -
> arch/powerpc/configs/44x/akebono_defconfig | 1 -
> arch/powerpc/configs/44x/currituck_defconfig | 1 -
> arch/powerpc/configs/44x/fsp2_defconfig | 1 -
> arch/powerpc/configs/44x/iss476-smp_defconfig | 1 -
> arch/powerpc/configs/cell_defconfig | 1 -
> arch/powerpc/configs/g5_defconfig | 1 -
> arch/powerpc/configs/maple_defconfig | 1 -
> arch/powerpc/configs/pasemi_defconfig | 1 -
> arch/powerpc/configs/pmac32_defconfig | 1 -
> arch/powerpc/configs/powernv_defconfig | 1 -
> arch/powerpc/configs/ppc64_defconfig | 1 -
> arch/powerpc/configs/ppc64e_defconfig | 1 -
> arch/powerpc/configs/ppc6xx_defconfig | 1 -
> arch/powerpc/configs/ps3_defconfig | 1 -
> arch/powerpc/configs/pseries_defconfig | 1 -
> arch/powerpc/include/asm/cputable.h | 20 ---
> arch/powerpc/include/asm/oprofile_impl.h | 135 ------------------
> arch/powerpc/include/asm/spu.h | 33 -----
> arch/powerpc/kernel/cputable.c | 67 ---------
> arch/powerpc/kernel/dt_cpu_ftrs.c | 2 -
> arch/powerpc/platforms/cell/Kconfig | 5 -
> arch/powerpc/platforms/cell/spu_notify.c | 55 -------
+ this..
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile
index 10064a33ca96..7ea6692f67e2 100644
--- a/arch/powerpc/platforms/cell/Makefile
+++ b/arch/powerpc/platforms/cell/Makefile
@@ -19,7 +19,6 @@ spu-priv1-$(CONFIG_PPC_CELL_COMMON) += spu_priv1_mmio.o
spu-manage-$(CONFIG_PPC_CELL_COMMON) += spu_manage.o
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
- spu_notify.o \
spu_syscalls.o \
$(spu-priv1-y) \
$(spu-manage-y) \
--
viresh
Powered by blists - more mailing lists