Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2857863imb; Mon, 4 Mar 2019 16:27:42 -0800 (PST) X-Google-Smtp-Source: APXvYqy3w67fSmBvr4cfCAmmbG8U9op6jBREyh3hq2j7xCGFcXp6l2vFHYYfM0F0IAq6UHq+D0bB X-Received: by 2002:a63:d347:: with SMTP id u7mr21313995pgi.269.1551745662726; Mon, 04 Mar 2019 16:27:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551745662; cv=none; d=google.com; s=arc-20160816; b=X2xx4W75pjQ8TJATdf13mKytx7XUuyeClEhfa1k0eV5oB79VTW6UYo880fhaN08qaa NLURnz76bM0raJU/fhz3qsecAxjKK+OmpA5fPZNioQQH9CPAfLOgI0olHylxPnCtAHeL 4j3aKtAPwpc//6BLlaquZxNiBWhjdDNirsaTUTB7bjxdbSb+qNyqp9WbwGsXQwcP/BwD Z2ZjUpYO0k4j3IgFnfO3hZ9K45wK+7g0qbJJqjocTmNOcsYhpG1m5B41Pu3fmCDK4swe lNojC7dp2KveLAbZ/us86EHrdgTdgOBk8SnmYXAQicxlUP7z2v7BOk00B2Rn7f+OalF5 MbhA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7D6R1hbiS1TVqH0gs1uD4xGzsX7DgHc5hwTY1MQLTbY=; b=ovm7hu4nzfqr3K9G0MLyUu9mO3IYD2X8Pq+pHL47D3RuEXqa0MkR5sYWY/31t87hs8 fZP3h4tn8A2yl+tnhmxLs9mIfsD1ZZzHhF+LqNOVd2dwFUj1yPvFOSdNypht0LoOFjb2 SDqTxQCBfMBG8b5tDUMut/msTLpxtA0A2vuGPxJpyJs3pPRIyhWj4xqNULwJ7eCv9ej4 T3B3SzKvaELhgLUkWVAdwgnQHKfusyynY+ANRORjFUMrEuXze1D1kJyxcTsYXSa+47ck oDQQl4grtL6TiLTzp4E0N0nKa/Hnq5F/0Esxl5m3VP4Ioryrc7y2LDW3/mfcfVyNA5CD NtzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=suSD9b7i; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n79si6666416pfb.133.2019.03.04.16.27.27; Mon, 04 Mar 2019 16:27:42 -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=@gmail.com header.s=20161025 header.b=suSD9b7i; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbfCEA0r (ORCPT + 99 others); Mon, 4 Mar 2019 19:26:47 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:34965 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbfCEA0r (ORCPT ); Mon, 4 Mar 2019 19:26:47 -0500 Received: by mail-it1-f193.google.com with SMTP id 188so1754781itb.0 for ; Mon, 04 Mar 2019 16:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7D6R1hbiS1TVqH0gs1uD4xGzsX7DgHc5hwTY1MQLTbY=; b=suSD9b7iUGbtJnh6UoQNmNqV20U0Ee4+63MRu+ycP7bM8GnuG95g0EoGRv34pALh8t laAPVApFCPXVLnCqB8Rx6g/zBFOHH1BpIcl33LEL0PcXgxjwHS45MEWVxyyAM/ulRg3D needFv/v4e6xxwggXgILL/I1YOd4H0R+EW+Nttu6C0K32JXID4/VZ8U8PPSPukdN5Mm+ oKG1jLSYkjRB0RnaVYT5hE6tpoLPnZZXokHCHBL3C1C2kn7CWNI+hDvWLuOLHYMLdfp8 D/A8Pio4sr8PujEgQnZ4KAAnw6TY9+kJFauHxuvoGrYMHjA3YjY/tIFXQsyEV7FKSUoq QJMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7D6R1hbiS1TVqH0gs1uD4xGzsX7DgHc5hwTY1MQLTbY=; b=FrHDJAfRSLkENXQayZ/os1oqy/tOZ3XL/wI6kMbLL7oLKMeJaBCHTm+e36KEKFoUJp y4I1pWN/AT/4feoa2OLRJaGyeXGKrmQtorGMph8dEYFQVXrvYRmqaIfTPmP2g67Yekqd uY+JABm1ZOTg4Ph/eu+zX11vg3csQ/gAgK9H6kNSS/ByRScCgX9Tou0NdpYgGXDBbG/1 0t7o7cF56RDOtB0V7A0cy22Qr/iuHqsVWf02T2Ylkw6We2IZwHc5rc+OaIIAZkyPxh6w JpW3uIUze/bei5gxiMvpwpqnFcOEOCfHvFMP4tQOb9UuIkcFCW3k+oKsrD5+FYne4AIt Hbew== X-Gm-Message-State: APjAAAVK+vHxMRGkLKP0o4vAGi+HEWmo8L9xucW8g65TLPzQtp7vXXKQ 0QEfhcqwhgjELnZ+bRogWeUDCufsKs3LLxTbojk= X-Received: by 2002:a02:6a0b:: with SMTP id l11mr12119121jac.138.1551745606514; Mon, 04 Mar 2019 16:26:46 -0800 (PST) MIME-Version: 1.0 References: <20190109124044.GA11935@altlinux.org> <20190109124316.GH11981@altlinux.org> <20190227153034.GD23744@altlinux.org> In-Reply-To: <20190227153034.GD23744@altlinux.org> From: Vincent Chen Date: Tue, 5 Mar 2019 08:26:36 +0800 Message-ID: Subject: Re: [PATCH 08/14] Move EM_NDS32 to uapi/linux/elf-em.h To: "Dmitry V. Levin" Cc: Greentime Hu , Elvira Khabirova , Eugene Syromyatnikov , Oleg Nesterov , Andy Lutomirski , Paul Moore , linux-audit@redhat.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry V. Levin =E6=96=BC 2019=E5=B9=B42=E6=9C=8827=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=8811:30=E5=AF=AB=E9=81=93=EF=BC= =9A > > This should never have been defined in the arch tree to begin with, > and now uapi/linux/audit.h header is going to use EM_NDS32 > in order to define AUDIT_ARCH_NDS32 which is needed to implement > syscall_get_arch() which in turn is required to extend > the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. > > Acked-by: Paul Moore > Cc: Greentime Hu > Cc: Vincent Chen > Cc: Elvira Khabirova > Cc: Eugene Syromyatnikov > Cc: Oleg Nesterov > Cc: Andy Lutomirski > Cc: linux-audit@redhat.com > Signed-off-by: Dmitry V. Levin > --- > This is just a gentle ping, the patch is unchanged. > > arch/nds32/include/asm/elf.h | 3 +-- > include/uapi/linux/elf-em.h | 2 ++ > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/nds32/include/asm/elf.h b/arch/nds32/include/asm/elf.h > index 95f3ea253e4c..02250626b9f0 100644 > --- a/arch/nds32/include/asm/elf.h > +++ b/arch/nds32/include/asm/elf.h > @@ -10,14 +10,13 @@ > > #include > #include > +#include > > typedef unsigned long elf_greg_t; > typedef unsigned long elf_freg_t[3]; > > extern unsigned int elf_hwcap; > > -#define EM_NDS32 167 > - > #define R_NDS32_NONE 0 > #define R_NDS32_16_RELA 19 > #define R_NDS32_32_RELA 20 > diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h > index bd02325028d8..4b8df722330e 100644 > --- a/include/uapi/linux/elf-em.h > +++ b/include/uapi/linux/elf-em.h > @@ -40,6 +40,8 @@ > #define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core proce= ssor */ > #define EM_TI_C6000 140 /* TI C6X DSPs */ > #define EM_HEXAGON 164 /* QUALCOMM Hexagon */ > +#define EM_NDS32 167 /* Andes Technology compact code size > + embedded RISC processor family */ > #define EM_AARCH64 183 /* ARM 64 bit */ > #define EM_TILEPRO 188 /* Tilera TILEPro */ > #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */ > -- > ldv Thanks for fixing this. Acked-by Vincent Chen