Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1023768pxk; Fri, 18 Sep 2020 01:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMaaRFDyOwoPIa8JWVquCFzUyhjmrLR0gWrdpljAYU6d8Xm6mbyBYuR2k3dMiaCjo/EN1K X-Received: by 2002:a17:906:4b4a:: with SMTP id j10mr34471368ejv.498.1600417976501; Fri, 18 Sep 2020 01:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600417976; cv=none; d=google.com; s=arc-20160816; b=Wp3hNRE8Vg7B6lrNzf8xgc5zmHs3fCANJ1EeEHIFJ8p8m+c7++8KwqMzpOYehJIGG5 NdcCcXFao7pX3j+Mr7nsenyEe6a8xTLNvofa6KlPeE/K7u4UtOKgDdVxY8nlVaHANpop dwzTGm5l1m6Hs6M16ed3YNkV9ame2hsIJi6ZYMb9XiOurrR4SrsisVBn4jEPcwR0nORJ PBVPOTtLuJZt4znk8NhxQ/skngjZhLKiwGDs+ToJ6lkvHpj+jvAL1udhgbIYaWSo4VKw JfyUg1Pi3ejfTOS5J05qttcvzmdtrpoDnDpZ/mhMQ/LEh9Ub8r+fh1ljCS1MfjGrRgu2 bHUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:from:dkim-signature:dkim-signature:date; bh=5/lIViaoHLNUxC0C4//BMN+h9Q6KReEAfsk7sUvBHgc=; b=j4e6kpCuIrcTgPBtvBZGVpVCWaTUHGIBUw7y4ydnqjVNycKuO5f45RM7y7DW6b36lP e9WDyp0rX87/5wE73sMeYnlii6t6IxPaPuCc5vDSNVwj1azpHOFxqeqRw2TGhdui3H86 zSKKKlE3uDOdNxv76/mTZSfo2iCpWuer+iJc4gaNJhD/KrKDbZON43gwFXQRyAZYzaYw wuJsiVLlyHEuoWqMCOueGIp/7z9gA+7UtXXgUEsXJVwTdX82KF77SNop8NGD2lagavv5 PEde4vfb4V4tFHMAUBZIrbw8c0+RGX9IFERLxPgA8VQFpb34tLbOfP00ZLOf36u3uEfS gK7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=jHBSvPZz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si1834190ejo.309.2020.09.18.01.32.33; Fri, 18 Sep 2020 01:32:56 -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=fail header.i=@linutronix.de header.s=2020 header.b=jHBSvPZz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726628AbgIRIbR (ORCPT + 99 others); Fri, 18 Sep 2020 04:31:17 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:32840 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbgIRIbC (ORCPT ); Fri, 18 Sep 2020 04:31:02 -0400 Date: Fri, 18 Sep 2020 08:30:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1600417860; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5/lIViaoHLNUxC0C4//BMN+h9Q6KReEAfsk7sUvBHgc=; b=jHBSvPZzDbjJxLOLBASg8kXYDkXAFWxjEnCh43+tiy65Z9Dqocsvli/lGDVXqliDoHP67X fLLcCKf3FqKv1m+xTPnwZs4uLyB6kwZwrFg/HIv5IPV8UrmNiu1+33pzGLzoEiX1wpglLO Y8F5A5Bj+CRypFjuGKkI76mMFDxSTLh7vroXkZx7e25Avz/Af8hsqGD09JT0j93a8eSVx9 MFvn0QGTGp7CvpnKAcuqWE5mCrM3WyZF2Tj/7tX5kE10skn61BTIEWJ3kV2tBrKOwXmi/F Vl7hJrYr2V/qK7VN40DjRoyW4oEd3CAT+bqUCu7IJElUbptRE5IY85e9tUJApw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1600417860; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5/lIViaoHLNUxC0C4//BMN+h9Q6KReEAfsk7sUvBHgc=; b=YRbDE3xJkaHKT/oQueyzgPQyCYTbd7pI6djw/VMvXeOgESzhTZgYlSfPpvVSdGNQYwvWhv JFgC912Lv4X3WBAg== From: "tip-bot2 for Atish Patra" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: efi/core] include: pe.h: Add RISC-V related PE definition Cc: Atish Patra , Palmer Dabbelt , Ard Biesheuvel , x86 , LKML In-Reply-To: <20200415195422.19866-3-atish.patra@wdc.com> References: <20200415195422.19866-3-atish.patra@wdc.com> MIME-Version: 1.0 Message-ID: <160041785944.15536.6458913813753159065.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the efi/core branch of tip: Commit-ID: 6d0fd536183034953bf84826fecb37e47779d24b Gitweb: https://git.kernel.org/tip/6d0fd536183034953bf84826fecb37e47779d24b Author: Atish Patra AuthorDate: Fri, 28 Aug 2020 10:20:31 -07:00 Committer: Ard Biesheuvel CommitterDate: Fri, 11 Sep 2020 09:30:01 +03:00 include: pe.h: Add RISC-V related PE definition Define RISC-V related machine types. Signed-off-by: Atish Patra Reviewed-by: Palmer Dabbelt Link: https://lore.kernel.org/r/20200415195422.19866-3-atish.patra@wdc.com Signed-off-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 8ad71d7..daf09ff 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