From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BB18C433E0 for ; Mon, 18 Jan 2021 04:49:20 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C28F4224B0 for ; Mon, 18 Jan 2021 04:49:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C28F4224B0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DJzpP42YTzDqDX for ; Mon, 18 Jan 2021 15:49:17 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::536; helo=mail-pg1-x536.google.com; envelope-from=viresh.kumar@linaro.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=LcrQFfbq; dkim-atps=neutral Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DJzmT5CchzDr2J for ; Mon, 18 Jan 2021 15:47:37 +1100 (AEDT) Received: by mail-pg1-x536.google.com with SMTP id c132so10203932pga.3 for ; Sun, 17 Jan 2021 20:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rTJZHyk4t8Gugvj+lnFByV1qa/S239wOnkv0tkeq884=; b=LcrQFfbq2DgyjtEw+XwXil8SMVWAvoBGFPQ1xNnHeqrSjU6FHo10ZmvcBDhRIVephc 6/Bjug8Iwkbe987mh30YDtQ1eNA0JSnEioxymlCsS6zgy5BaSmGqIKVgxvXci7qHz+CX Hcj7UhFuI6eQ5WPOWQeMJ6ALX26h7YVUUQG7uwDcfzyewyPiv7RA/6wXxV2ijs5HtGl2 N3yCD9hSxLa/e1pkMF3WZUCutFASEXihiMcG7IPYhM6JogqWNQH3TF8vD3pR0xcOovzJ EEiwq/afZTQz3Je1Pi+IdBVGrlLftD3O9oUuPrlhGDhm40aNt19SeVlqni9aXTd+/9S2 tRGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rTJZHyk4t8Gugvj+lnFByV1qa/S239wOnkv0tkeq884=; b=ZGqoWr+IB8HODky38yzidWcCHFBc7q+C0Y/Cejgg9QgQ6OHNqmQcqn/nZK4JlWOVO0 0lZFNmcLXXeABPgLI7vcJOqE/AgBlFUVigj4fAb1ArQMQTTvC5Kkdb54qP+viCpujpPJ 5QUJvWz8/dznNIX4clFMWyM7O31hlulv1KItDSbcqDcimpYQ95qx4dT7rlYI1QgbN2Wq Kd8Blx0u1Ital9I1+NPNrZq4vlPc3j0cPO8Bgr93R9TQSCNcLl7GL8oJ1IYG3y3zCIKx 9+OE6OiEmhr3AsHIcPDKgZqZX2sZIb3H8CUbT1H/dgozsmMhUxQuyz9Luieps6/h8UnA kArw== X-Gm-Message-State: AOAM531ZN6x310QYo3HhizNSkqTbfjLhU8MQT5o3MlIQqwUN6xaaSj5W PkCQQ7Gn8iB1vBabXRIs4n838A== X-Google-Smtp-Source: ABdhPJynUWLanc6SluN4pJDVPiUJTTJKU/6YxXhX0vjc19aR9mWq5EEgNrgbdwzek/NvTyhBfsFB0A== X-Received: by 2002:a62:7e46:0:b029:19e:786b:9615 with SMTP id z67-20020a627e460000b029019e786b9615mr24394761pfc.37.1610945252531; Sun, 17 Jan 2021 20:47:32 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id 145sm14726406pge.88.2021.01.17.20.47.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2021 20:47:31 -0800 (PST) Date: Mon, 18 Jan 2021 10:17:29 +0530 From: Viresh Kumar To: Linus Torvalds , Robert Richter , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Arnd Bergmann , Jeremy Kerr Subject: Re: [PATCH 10/18] arch: powerpc: Stop building and using oprofile Message-ID: <20210118044729.g24gnfdmao7or5kp@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Vincent Guittot , Christoph Hellwig , linux-kernel@vger.kernel.org, anmar.oueja@linaro.org, oprofile-list@lists.sf.net, Alexander Viro , William Cohen , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 > Suggested-by: Linus Torvalds > Signed-off-by: Viresh Kumar > --- > 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