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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 C60DFC433E0 for ; Thu, 14 Jan 2021 11:37:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 806C523A01 for ; Thu, 14 Jan 2021 11:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728871AbhANLhG (ORCPT ); Thu, 14 Jan 2021 06:37:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728837AbhANLhE (ORCPT ); Thu, 14 Jan 2021 06:37:04 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52814C061794 for ; Thu, 14 Jan 2021 03:35:59 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id c22so3568573pgg.13 for ; Thu, 14 Jan 2021 03:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rfKQWzY7g6bl4dvYg0DvLy9sotgmT/aIIjZC+k1x6MY=; b=KfoPeokcc84VAT2vVy/K+gWl8B8rV10CEbggJ0yBMdMPp5J+M2XJ0EdRT04iX5+rS8 NB3X3AY4LXXByzg0peB+mqcFb0NgenHQOL5ElwehZWNPU1Ihs86ycwdZWTiMi/3OicJz b0b+iYPvq/cwkJVFM7uQCDIfy1clbGu+CyMBJDI0yH3wU566fex7ZiveLs4mpzziINR7 sQvYcqiEgbl2d/4DcJqJIgiUnBiTDoniFcUBXhehAJUilnCCbwg/Sh+/pEAnQeh3F7EB Y1JfEH+5OkthGpKQasLONrh2joiVM8KwRyWU95lJnnJ6u67kND/6V2P5Bceapv+ImdSU S2LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rfKQWzY7g6bl4dvYg0DvLy9sotgmT/aIIjZC+k1x6MY=; b=CmaXg49Ji3UUU3ci9UqhIPxrJdbFhQEpOpmfQlMvMFc65/pnoW2GI3caeEou7sDqX8 3ce0rews1x81XpNmWntHcDwaGzjHG29ye8pB7xsFNgormYYFvCjPp/aVlJO/nMX/wIiC ZggeUMjJl8blTRNxTsPhaX0EJJ2O0LpslTdR+p0QeABUBK736iQ8owAyf3vNhSEJbX4L vFHVBHfb42lHk3T9pnWTirCyGx/gBguZAs9qUmp4K6nCSJeyZQV9M1dpPZsGZSgf3IDo C9LAx+2XoPSc7MgcluKU98gydGhUsZ/eLdZ2m6URrlLNfePOTR6hKpv6ItSrLlSlEcOW vMgw== X-Gm-Message-State: AOAM5300EDHzMRwPba+oIxUL7YCPR4u0+KOx2iIL3/5iWnGtqlGpMBrW 04quU9G5nDudfKWB1p8tPMkYxjCBheWkuA== X-Google-Smtp-Source: ABdhPJy61sjpnlO4eZYOZOP/pWpxcFUSGlPPxqVSk3fWBIdZQvVnJfxgg8Wg7PuMzAcl4OEdEopBWg== X-Received: by 2002:a63:150b:: with SMTP id v11mr7256845pgl.183.1610624158930; Thu, 14 Jan 2021 03:35:58 -0800 (PST) Received: from localhost ([122.172.85.111]) by smtp.gmail.com with ESMTPSA id m3sm4695787pfa.134.2021.01.14.03.35.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2021 03:35:58 -0800 (PST) From: Viresh Kumar To: Linus Torvalds , Robert Richter , Michal Simek Cc: Viresh Kumar , Vincent Guittot , Arnd Bergmann , oprofile-list@lists.sf.net, William Cohen , Alexander Viro , anmar.oueja@linaro.org, Christoph Hellwig , linux-kernel@vger.kernel.org Subject: [PATCH 07/18] arch: microblaze: Remove CONFIG_OPROFILE support Date: Thu, 14 Jan 2021 17:05:20 +0530 Message-Id: <592887f3a5baf0d2b2919617757f1f629aa4030b.1610622251.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Remove the old oprofile's architecture specific support. Suggested-by: Christoph Hellwig Suggested-by: Linus Torvalds Signed-off-by: Viresh Kumar --- arch/microblaze/Kconfig | 1 - arch/microblaze/Makefile | 2 -- arch/microblaze/oprofile/Makefile | 14 ------------ .../microblaze/oprofile/microblaze_oprofile.c | 22 ------------------- 4 files changed, 39 deletions(-) delete mode 100644 arch/microblaze/oprofile/Makefile delete mode 100644 arch/microblaze/oprofile/microblaze_oprofile.c diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index f82795592ce5..25a5a3fb14aa 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -30,7 +30,6 @@ config MICROBLAZE select HAVE_FTRACE_MCOUNT_RECORD select HAVE_FUNCTION_GRAPH_TRACER select HAVE_FUNCTION_TRACER - select HAVE_OPROFILE select HAVE_PCI select IRQ_DOMAIN select XILINX_INTC diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index bb980891816d..b41f323e1fde 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -54,8 +54,6 @@ core-y += arch/microblaze/kernel/ core-y += arch/microblaze/mm/ core-$(CONFIG_PCI) += arch/microblaze/pci/ -drivers-$(CONFIG_OPROFILE) += arch/microblaze/oprofile/ - boot := arch/microblaze/boot # Are we making a simpleImage. target? If so, crack out the boardname diff --git a/arch/microblaze/oprofile/Makefile b/arch/microblaze/oprofile/Makefile deleted file mode 100644 index 107f2f55d995..000000000000 --- a/arch/microblaze/oprofile/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# arch/microblaze/oprofile/Makefile -# - -obj-$(CONFIG_OPROFILE) += oprofile.o - -DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \ - oprof.o cpu_buffer.o buffer_sync.o \ - event_buffer.o oprofile_files.o \ - oprofilefs.o oprofile_stats.o \ - timer_int.o ) - -oprofile-y := $(DRIVER_OBJS) microblaze_oprofile.o diff --git a/arch/microblaze/oprofile/microblaze_oprofile.c b/arch/microblaze/oprofile/microblaze_oprofile.c deleted file mode 100644 index def17e59888e..000000000000 --- a/arch/microblaze/oprofile/microblaze_oprofile.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Microblaze oprofile code - * - * Copyright (C) 2009 Michal Simek - * Copyright (C) 2009 PetaLogix - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#include -#include - -int __init oprofile_arch_init(struct oprofile_operations *ops) -{ - return -1; -} - -void oprofile_arch_exit(void) -{ -} -- 2.25.0.rc1.19.g042ed3e048af