Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3860890imb; Tue, 5 Mar 2019 22:31:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzG9gwg4HyusOlAUXaQrHjZJqVegkkDgIctLFHAo9+uXZMAD5w09TSNI8Rq+FQ9uq36jsxT X-Received: by 2002:aa7:8012:: with SMTP id j18mr5957031pfi.42.1551853896322; Tue, 05 Mar 2019 22:31:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551853896; cv=none; d=google.com; s=arc-20160816; b=uqC4wceB6ji00snpS7h38w5wcKDyZGSmWOYYga9WplKqKF8QIwQ/pL9lvAl3wNSui7 kBPKnMua6XRBLn7DLMgSCbrPfKh/NZfgOlHqbouo8++CSm8hKL519PiGd84Dtf8So7R4 ttbkqkLkXVHBLBjA60aWiAH5JxU77ayTSZEMuTQ/nihjQ4MrIHxHyXbIoOOLgFIpZLyS NewPcl2l30GSrHTMd8FDGvGLtRg1DTQVIngM2bcZRoFmUuJwP/x5+6FPUspTa7f7X/uu sQ7B+vdAemi1gn08N+Os3fzYPKqXx2GQ04J0lE2sp+thL1H8pqV91iz8E4nT2hp5mA3z VMQQ== 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=UgvsFVEFEIm0Ah792Wt/GKnqyIOu7B8JgslYQMKcNHM=; b=YhgpkeMmI/1tsqhJ9foffrs1+pi1s2nrMFCvfoeyg40/vefPZ0PQWY/ITOXc8yB6P/ fEevRrHDrAM3ggVt2A3Lc6b9AFdpWkKkdPYrbTwAYPMoWEOBken+IA6J7EefHyb3lc7w iPbFgXAKtlPod++HNQggnlquYC3o/ST9KdwiYH+CdB1sT4Y5lTgC6vSDtmUbX99IFdzK 34iFeBVa7QCYctAlS/BqSz4j7ZbgP+Gv6b6PU/Ecf0Fydex6P0enIrQCTT0IvCYvM7ny AclUp5zqpeNv1DtgxTt4GGNcAs0aVWzX4z5d3VWn4bmnGrqYYL2BffgtYf1o70eT+xTI sOlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLk9b524; 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 b15si912161pfm.72.2019.03.05.22.31.21; Tue, 05 Mar 2019 22:31:36 -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=DLk9b524; 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 S1728890AbfCFG2f (ORCPT + 99 others); Wed, 6 Mar 2019 01:28:35 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:39469 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726378AbfCFG2e (ORCPT ); Wed, 6 Mar 2019 01:28:34 -0500 Received: by mail-ed1-f65.google.com with SMTP id p27so9322189edc.6 for ; Tue, 05 Mar 2019 22:28:33 -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=UgvsFVEFEIm0Ah792Wt/GKnqyIOu7B8JgslYQMKcNHM=; b=DLk9b5243SH++rK8MAkLLkDbD7FEOpivI+HRG+/qfpEJLxj6neHs2qZhH1KM0xETm2 TdOfUMoF1br7PbPU7gLuq0ET3UW0DqQhjG+5muOdrr95eqe6ok61i/SlmFmeo4mfL8Ag OADnISsljNX+uChrciqJriIWveZUt2+8hYWcE+wJF1XiR04spxLG6Botu09sByu03CVe hJvUIsK0I6iMIMyYjYIY/zY9STaT5MVvCuoIJMewEYMhmQwP4RI8JMtdhR9t4f6L/xmg uTXCSdG7E8sD3r/dr6TL3k4sM9If46GlCRplisTco5iu1w0TyyPmwSYBYmmq+h89Pj/K c0JQ== 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=UgvsFVEFEIm0Ah792Wt/GKnqyIOu7B8JgslYQMKcNHM=; b=TU3/g+fn2zJg3n+1F+DYmcX/j/cK0U1JYQfqrnf2qg10Gs0AGd7Xzlz7z3zGD+a02Y 8hg7z8IC1Fj9FRMR5YH9mEqeacBVXMrSiFu/5E9KtMlb4/rIjUFSelxVjHwamGBISg2F 6vGzxgb9WmuPrwLyNUf2dhSvAN6a4beSbyupcieC/9FmH1eZUxTw+0wb20k7YlCwp3eS G+xSKcXV9A+r5uzo+PtOsgUZ1deO5rX4hppgMQubSVAbMrfJEf9gXwQF6N4a3BcU2cD4 b+MLqf4G54zcKb5lNJx5wfTex7KvC/WBlzUy2/Y6MW7i5mh1U0ywlor57yDB4lHpI1JU eyRg== X-Gm-Message-State: APjAAAU62WCAJrci28J3ZlxidVoI93qzNQojPlnqRZVDbCxV07F5M2wp H2Gq2gNahzy6+/zjL5zMDwDt2akCZnMMbpOPmQw= X-Received: by 2002:a17:906:1c4b:: with SMTP id l11mr2758217ejg.20.1551853712788; Tue, 05 Mar 2019 22:28:32 -0800 (PST) MIME-Version: 1.0 References: <20190109124044.GA11935@altlinux.org> <20190109124316.GH11981@altlinux.org> <20190227153034.GD23744@altlinux.org> In-Reply-To: From: Greentime Hu Date: Wed, 6 Mar 2019 14:27:55 +0800 Message-ID: Subject: Re: [PATCH 08/14] Move EM_NDS32 to uapi/linux/elf-em.h To: Vincent Chen Cc: "Dmitry V. Levin" , 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 Vincent Chen =E6=96=BC 2019=E5=B9=B43=E6=9C=885=E6=97= =A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=888:26=E5=AF=AB=E9=81=93=EF=BC=9A > > 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 pro= cessor */ > > #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 Thank you. I add his email address. :P Acked-by: Vincent Chen Acked-by: Greentime Hu