Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4574859ybv; Tue, 25 Feb 2020 23:07:42 -0800 (PST) X-Google-Smtp-Source: APXvYqz+5DkohAjLZfDE9ZdTaI6tjUbbvhe8O/WI5TCd6zLjCY3K94Ija1dvyjlbiglQB7wCzz/W X-Received: by 2002:aca:3857:: with SMTP id f84mr1860619oia.150.1582700862189; Tue, 25 Feb 2020 23:07:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582700862; cv=none; d=google.com; s=arc-20160816; b=rFUVBMShaq/0z0a0Ga1z3GXIXCxfxu1IcG1LLv7egrdIBRIQr6xhHXudnCd0noaTcX oHX8rbFBPfgAilCowlK2d8kqf1p5RaqSUFdNKZOs1XB7K2fLjrEbLaUVEDBbWWFn9ba/ K8s6ntrpAbH5U3Q0qvCeI4N06MQLbt5KvMH2QoyxwQCTxxH5YCkuM/M3n+O4BIQ+kJjb eLBdZGTNco2C3rZNzElllL6zLR9A1g7EPTy376OM3q6R8h1xYrwEdcE+DjUdA9RhGf41 RhLC7gRLyBuxspWfHgKg7hbK7fy2qFG7KLbiXwVfcSJ/CD4PGerzJviSanYBFXNv6mfq 6Q/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cpYrF7w4mpFn02/SL7bSLQErUx4+nxeXoEf0H6rWG5s=; b=mRXnbPehuUupqDJfEcQ+fekS9a3xP6rrme4gLThalslYm0HR7/ajJh37AgprJ8L7ed HSjDslh8KYixnqHRzlVXGfR5d7S9FWPcQQQWRft7PCmbbHetZ5aV66+Y80NS9ZWKJBQz Z0XwBjbyquIqGYqNprJacRe9ANECTbekkicq/NUgMeeZzNsuMB5Wg9hjIkI3GH4HDDFV jvht5n6+lPT9xuj+zoEaMq0c1g7Eltp7oLEgKZZCW+O7mvlRMwU/BLkNH5Zb/bV5xukD s+ztTgzrOJ4h8Pbhq34YsHcLnLKUYvFrtMGBdqjWcwyU3ZxaAjZz48xBS8Zo+ELHPDt7 HPgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZUggyWOd; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si757488otn.118.2020.02.25.23.07.29; Tue, 25 Feb 2020 23:07: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=@kernel.org header.s=default header.b=ZUggyWOd; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727035AbgBZHGS (ORCPT + 99 others); Wed, 26 Feb 2020 02:06:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:41554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbgBZHGR (ORCPT ); Wed, 26 Feb 2020 02:06:17 -0500 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A386724680 for ; Wed, 26 Feb 2020 07:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582700776; bh=uZjWbm4CHv7CzRvbIQoptYI7eFmVZqT/jpXr1XMve3I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZUggyWOdb8O1B4aYP7ECTmUI12PniQXaw4GAhKMCAzyTOVDikA+4CQ7m8IvF/eHYC DHylRK4TugMmAsQVorPWYkdc+zKWRBzr/03f52i0+4LXaGj7ngPVi+y4bPx5Q6wvvQ gN3avXJRVRrrMK37zeOLogvYyjySaq+75Zjp9HKs= Received: by mail-wm1-f52.google.com with SMTP id a9so1769023wmj.3 for ; Tue, 25 Feb 2020 23:06:16 -0800 (PST) X-Gm-Message-State: APjAAAVTZ1yf8nKLGMQduJ5sj1gu9Ad06CH5dPhL0kWC+aa7+NXZS8Rd 4bT7WiIWBkBzFHjOm+8cZyLyK4ajnb5oMnMwl/PdZA== X-Received: by 2002:a05:600c:24b:: with SMTP id 11mr216141wmj.1.1582700774936; Tue, 25 Feb 2020 23:06:14 -0800 (PST) MIME-Version: 1.0 References: <20200226011037.7179-1-atish.patra@wdc.com> <20200226011037.7179-3-atish.patra@wdc.com> In-Reply-To: <20200226011037.7179-3-atish.patra@wdc.com> From: Ard Biesheuvel Date: Wed, 26 Feb 2020 08:06:04 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 2/5] include: pe.h: Add RISC-V related PE definition To: Atish Patra Cc: Linux Kernel Mailing List , Albert Ou , Alexios Zavras , Allison Randal , Andrew Morton , Anup Patel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Greentime Hu , Greg Kroah-Hartman , Ingo Molnar , Kate Stewart , Kees Cook , Linus Walleij , linux-efi , linux-riscv@lists.infradead.org, Mao Han , Mauro Carvalho Chehab , Michal Simek , Mike Rapoport , Palmer Dabbelt , Paolo Bonzini , Paul Walmsley , Russell King , Thomas Gleixner , Will Deacon , Alexander Graf , "leif@nuviainc.com" , "Chang, Abner (HPS SW/FW Technologist)" , "Schaefer, Daniel (DualStudy)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Feb 2020 at 02:10, Atish Patra wrote: > > Define RISC-V related machine types. > > Signed-off-by: Atish Patra If you put them in alphabetical order wrt SH3: Reviewed-by: Ard Biesheuvel > --- > include/linux/pe.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/linux/pe.h b/include/linux/pe.h > index 8ad71d763a77..6a7c497e4b1f 100644 > --- a/include/linux/pe.h > +++ b/include/linux/pe.h > @@ -56,6 +56,9 @@ > #define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 > #define IMAGE_FILE_MACHINE_R4000 0x0166 > #define IMAGE_FILE_MACHINE_SH3 0x01a2 > +#define IMAGE_FILE_MACHINE_RISCV32 0x5032 > +#define IMAGE_FILE_MACHINE_RISCV64 0x5064 > +#define IMAGE_FILE_MACHINE_RISCV128 0x5128 > #define IMAGE_FILE_MACHINE_SH3DSP 0x01a3 > #define IMAGE_FILE_MACHINE_SH3E 0x01a4 > #define IMAGE_FILE_MACHINE_SH4 0x01a6 > -- > 2.24.0 >