Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp458480ybz; Tue, 21 Apr 2020 12:23:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKSwv3BYCbMPrUO+kCYf9YGPvdXFsvGvY2H/yMFxeb9DZ0ROacptphV+vwsGJMC84Zi/3Yo X-Received: by 2002:a17:906:5918:: with SMTP id h24mr23076267ejq.210.1587496983907; Tue, 21 Apr 2020 12:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587496983; cv=none; d=google.com; s=arc-20160816; b=eop4wMuBC0bE2sMEyPh4wPakGX/tLqhuhBZGF8B6neCmT6XbblHBlNOYxwhvuQvoE7 aKBSXVLO0QaoitT+RvBwIBxGCMYzKJ4s+bdKLtK00IPBN79dMKhNDGL66S9ydfAY5oNa EJ6fL6vuJV0TXXxyrHiYiGgYwxGUmvf6D/mNzOb1yNLMJzIMCBGzJ1IL4oPphyg/agSA F1f0DeQ9/POUsCRYpb+heUlKSi/O4zjxDlV4quI3AbOonD1zCvCPOnV8vzJteu3fMbcR uwDsQFXnPmCrUBPKXbXYCGype+T3OxXCMH7DwIT5dgKddZzXJo/tM8Ydyh7BMg9ozxnp K5Xw== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=oG8/M8woClgdZByQ4O0E/sOcIdtjW+AdEaBy+B1gN2c=; b=UzygMn8EUiS5J0syHoBJv/2sw361CftN3xOy7nAM7HnPlfhKUtXywBhSga/CR/9FgU efZJ9FcO9gPrIdxGN+zB1QWc1By3KdqdvTbCwoCVUZPGsZccL3gDBZ6j456MjPF/8wDD 6i2BnCQdBk05sGGygosmi8uOpv81c96A+teBQBKerG52nj4Ssj+LMi5Tdx5t+E/fwBWm +XYzffPynrZT82cyluIprl7YWd5C0Y3YKSln8FWN45H9zccsd6sI1Dvhm7uWMx8jWpNX ufmDg6Aeb0AoHHSRaZsxICe9mCTKcFMcLZW9YjBm5QbU1dVnHjkk9wAl1w2pTdSdITuq Ldew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=AE1lJjfP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m5si1372453edq.498.2020.04.21.12.22.40; Tue, 21 Apr 2020 12:23:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=AE1lJjfP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726535AbgDUTTi (ORCPT + 99 others); Tue, 21 Apr 2020 15:19:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726168AbgDUTTi (ORCPT ); Tue, 21 Apr 2020 15:19:38 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4123C0610D6 for ; Tue, 21 Apr 2020 12:19:37 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id w65so7029641pfc.12 for ; Tue, 21 Apr 2020 12:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=oG8/M8woClgdZByQ4O0E/sOcIdtjW+AdEaBy+B1gN2c=; b=AE1lJjfPrNEBUOYdWiCl8AoGLwLDSjR6b43Tas4kfrYBr91FLcFaylMPHmW9WtF7n5 Wyapka3xYfcMFhW9Q86ERqgqqS7TOu37qqMROcTI8dCMF6wZiBjcn+GXxpEOkfTnQ1ON E6BC/n9lC7YKuwIC09EyR8/mxVpLBY+9eda6+jK9AaCfFYRtNZV/AR/rUFw3fgT3iYd2 H3X70fZx9YPnPPb0nBiOvSEArc8AL3dxv6SkSGKfwQdJiHgXuHRNPKZibTG1CjnTfjbR ykaRT22ozu6rxEj+9wnDwF6LewajfdoeptzROI5Y4j0YGetJ5H8bkuW9/c1VytryMvXC icow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=oG8/M8woClgdZByQ4O0E/sOcIdtjW+AdEaBy+B1gN2c=; b=SXEfhSfZO1hCh/V07uL3faCuiE/C19wBvZlhZReKNOeCoVPcysATyiIP+j8kJxLNi9 iYcUV17jc0f70al46k9u6yBq7o/ZyFgCu4xouG8J402HJIz2cVz4rvIEeH9u0WGQsvSq xAv7S2oE5y7CDLdCQex9M8Ysfj3JzDaGEswmBy6cDVO4wD9/cw4ns22N97BpYr1Hwaf8 yNtEs46v166On9lXZtvl2rXk6Oie3oZloDQovB7aIuIuzpTP1QhVJy0/Ja66glaG5akf xR699NuXVawGVohhANbZomZpLrRdplVnR8fz0tAsJ1c9YPymQUSERMfcKQpOi4tqOuQy uvZQ== X-Gm-Message-State: AGi0PubdgTch5hbFVttBWAp2NAGWYpZXQ04dSiYojM3KURXobdZWKAid C8u9h1sT3BnPewc2bpHKrFVbkQuC2ZwYNQ== X-Received: by 2002:a65:6403:: with SMTP id a3mr23843368pgv.222.1587496776634; Tue, 21 Apr 2020 12:19:36 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id x63sm3144542pfx.122.2020.04.21.12.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 12:19:35 -0700 (PDT) Date: Tue, 21 Apr 2020 12:19:35 -0700 (PDT) X-Google-Original-Date: Tue, 21 Apr 2020 12:16:14 PDT (-0700) Subject: Re: [v2 PATCH 2/5] include: pe.h: Add RISC-V related PE definition In-Reply-To: <20200413212907.29244-3-atish.patra@wdc.com> CC: linux-kernel@vger.kernel.org, Atish Patra , ardb@kernel.org, Arnd Bergmann , catalin.marinas@arm.com, Greg KH , mingo@kernel.org, linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, masahiroy@kernel.org, linux@armlinux.org.uk, will@kernel.org From: Palmer Dabbelt To: Atish Patra Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Apr 2020 14:29:04 PDT (-0700), Atish Patra wrote: > Define RISC-V related machine types. > > Signed-off-by: Atish Patra > 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..daf09ffffe38 100644 > --- a/include/linux/pe.h > +++ b/include/linux/pe.h > @@ -55,6 +55,9 @@ > #define IMAGE_FILE_MACHINE_POWERPC 0x01f0 > #define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 > #define IMAGE_FILE_MACHINE_R4000 0x0166 > +#define IMAGE_FILE_MACHINE_RISCV32 0x5032 > +#define IMAGE_FILE_MACHINE_RISCV64 0x5064 > +#define IMAGE_FILE_MACHINE_RISCV128 0x5128 > #define IMAGE_FILE_MACHINE_SH3 0x01a2 > #define IMAGE_FILE_MACHINE_SH3DSP 0x01a3 > #define IMAGE_FILE_MACHINE_SH3E 0x01a4 I'm reading "Unified Extensible Firmware Interface (UEFI) Specification Version 2.8 Errata A" and see all this Reviewed-by: Palmer Dabbelt