Received: by 10.223.185.116 with SMTP id b49csp1375231wrg; Wed, 21 Feb 2018 17:53:17 -0800 (PST) X-Google-Smtp-Source: AH8x225L0zoW1YttV3tPzuxu1VDCgoPKQJBR7kHcbK6BdbfpYITw1KB5Si2YTMnaMh/TC5DIgIIs X-Received: by 2002:a17:902:22f:: with SMTP id 44-v6mr4903266plc.418.1519264397470; Wed, 21 Feb 2018 17:53:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519264397; cv=none; d=google.com; s=arc-20160816; b=pQUKT4TA/pashw+n8IUaY81OSAHiledg8awYU8kmiZsECo5TsUyadkxyA1ofoli/Vy 5NOGfVwkiVB/kPvhHoB2JQODrF269argmzG+JekIXbldao8C8L000c/A2QFzvrHTwmE9 qI+SVp9lVQ4r5B3bTBRtpzSjrL6aZWbVT8cWFFueOvJi9LtJQojCXeO4XQumh/Cn1mP3 +bolBG/ltSJxJ0ZjQZGhu+e/Ce41Fzz/tuDS1TNFL1AOSVDGZ6cccF6Q9Jah6nV6T15A D1ygmTgw0TjB7aiXFHlqmQXItaXE/diQWXUOdO+9Yt392bmxkcCPOKB9df49LGRtyVeL lVgg== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=LRc5kK3KIlpwW+hJuYl8j3i8Yl3OjKZF+rT3EhvJ0fE=; b=HnMnKU0s7S1nilGKSvrOfGYML+0TVTK6wiX7FMoVtKKsNgShOC/faPdRBkeeJa+M1g fSjpEeZEaesTLHPN1sNRy7xAQTBlyi7wFK/6z5ntMVrcz2+0aBDP08WlBEi2JhVDLoMs g0QnZ/IJ/ZC1djgtt24CPuqDxhDJXqD+5Z2NCSkQiQuF4T/MTRks59N8nB3zK+y8XANy iTwSlCxospsTGRmdRYM3HHlIzGVAaHwN+X/BoRCMx20t6xnHL/G1xbCIFgjmJVuWzAEr dIhXGgfldsol9DqvHUsBD3IvQDEDmu1zulGj2r7J8PUNEp0BoC6/K429kGUvD90H+ccM AgQA== ARC-Authentication-Results: i=1; mx.google.com; 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 o127si5638288pga.599.2018.02.21.17.53.01; Wed, 21 Feb 2018 17:53:17 -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; 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 S1751799AbeBVBwU (ORCPT + 99 others); Wed, 21 Feb 2018 20:52:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:42528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645AbeBVBwT (ORCPT ); Wed, 21 Feb 2018 20:52:19 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9315B20837; Thu, 22 Feb 2018 01:52:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9315B20837 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 21 Feb 2018 20:52:15 -0500 From: Steven Rostedt To: James Hogan Cc: linux-metag@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-mm@kvack.org Subject: Re: [PATCH 04/13] Drop a bunch of metag references Message-ID: <20180221205215.40fa4407@gandalf.local.home> In-Reply-To: <20180221233825.10024-5-jhogan@kernel.org> References: <20180221233825.10024-1-jhogan@kernel.org> <20180221233825.10024-5-jhogan@kernel.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Feb 2018 23:38:16 +0000 James Hogan wrote: > Now that arch/metag/ has been removed, drop a bunch of metag references > in various codes across the whole tree: > - VM_GROWSUP and __VM_ARCH_PECIFIC_1. > - MT_METAG_* ELF note types. > - METAG Kconfig dependencies (FRAME_POINTER) and ranges > (MAX_STACK_SIZE_MB). > - metag cases in tools (checkstack.pl, recordmcount.c, perf). > > Signed-off-by: James Hogan > Cc: Steven Rostedt > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: Arnaldo Carvalho de Melo > Cc: Alexander Shishkin > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: linux-mm@kvack.org > Cc: linux-metag@vger.kernel.org > --- > include/linux/mm.h | 2 -- > include/trace/events/mmflags.h | 2 +- > include/uapi/linux/elf.h | 3 --- > lib/Kconfig.debug | 2 +- > mm/Kconfig | 7 +++---- > scripts/checkstack.pl | 4 ---- > scripts/recordmcount.c | 20 -------------------- Acked-by: Steven Rostedt (VMware) -- Steve > tools/perf/perf-sys.h | 4 ---- > 8 files changed, 5 insertions(+), 39 deletions(-) > diff --git a/include/trace/events/mmflags.h b/include/trace/events/mmflags.h > index dbe1bb058c09..a81cffb76d89 100644 > --- a/include/trace/events/mmflags.h > +++ b/include/trace/events/mmflags.h > @@ -115,7 +115,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" ) > #define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" } > #elif defined(CONFIG_PPC) > #define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } > -#elif defined(CONFIG_PARISC) || defined(CONFIG_METAG) || defined(CONFIG_IA64) > +#elif defined(CONFIG_PARISC) || defined(CONFIG_IA64) > #define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" } > #elif !defined(CONFIG_MMU) > #define __VM_ARCH_SPECIFIC_1 {VM_MAPPED_COPY,"mappedcopy" } > diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c > index 16e086dcc567..8c9691c3329e 100644 > --- a/scripts/recordmcount.c > +++ b/scripts/recordmcount.c > @@ -33,20 +33,6 @@ > #include > #include > > -/* > - * glibc synced up and added the metag number but didn't add the relocations. > - * Work around this in a crude manner for now. > - */ > -#ifndef EM_METAG > -#define EM_METAG 174 > -#endif > -#ifndef R_METAG_ADDR32 > -#define R_METAG_ADDR32 2 > -#endif > -#ifndef R_METAG_NONE > -#define R_METAG_NONE 3 > -#endif > - > #ifndef EM_AARCH64 > #define EM_AARCH64 183 > #define R_AARCH64_NONE 0 > @@ -538,12 +524,6 @@ do_file(char const *const fname) > gpfx = '_'; > break; > case EM_IA_64: reltype = R_IA64_IMM64; gpfx = '_'; break; > - case EM_METAG: reltype = R_METAG_ADDR32; > - altmcount = "_mcount_wrapper"; > - rel_type_nop = R_METAG_NONE; > - /* We happen to have the same requirement as MIPS */ > - is_fake_mcount32 = MIPS32_is_fake_mcount; > - break; > case EM_MIPS: /* reltype: e_class */ gpfx = '_'; break; > case EM_PPC: reltype = R_PPC_ADDR32; gpfx = '_'; break; > case EM_PPC64: reltype = R_PPC64_ADDR64; gpfx = '_'; break;