Message ID | 20200625234516.31406-8-atish.patra@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=pbEX=AH=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9467860D for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Jun 2020 09:53:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55FE721531 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Jun 2020 09:53:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GtiZS3dN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b="STZouody" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 55FE721531 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6C2Q/llwJF2+h76tMQjr68y/7x4+1wRyx+GYUqhdsm8=; b=GtiZS3dN93YbwlxFoj49Xe9rL KL9IGRbftMAWShrVRm5JNmJCtgVDAR8F/TxEe14a17hnslXo6tJUZrdW2SciDgcRS2ZxuwlTnTW9C NvXXF1OMnPalKGz+XLn+PbdONQg6vKzYpjvLEDAGMF0QkdvJ7pvrnmNWPT1MIzX6sIfA7gy32lmkl ySfOzCTWjm7r+MEKkLQj9mQSHjie9Nz1rZwN9+iBNkWnJssPKlvOSOtqu6jOwzLKUX6jcQXL5YjNw mUfFFB/EZz6yO3EbzOpuYU5r3u8CQf9cuXg/mM9bnr7lekub/JhUjepNLOObcoEgS5lQ2QUt2z8O1 Zh8z654gw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jol0P-0002nx-Q1; Fri, 26 Jun 2020 09:50:45 +0000 Received: from esa2.hgst.iphmx.com ([68.232.143.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jojnI-0002Se-O1; Fri, 26 Jun 2020 08:33:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1593160405; x=1624696405; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=M/aLmMoaf+R1cfTR4Mi4doOLt0MJCtDnvFjCl4cVqNk=; b=STZouody1zwMIXI3S2FKaTn9h46bBago7NH3Pdp7J/4I0sbmLmvo+kwx oeLCV6fi+s5FQRTFCGO8Fi5ap5zmonF2SiI5zWzitkD35+qHDeOvs3XeM 8Ypkc18Jrwp2FcwVMr2Zk3E3cVLc51JlFg9DicOGGcrsP/BI2gjF3CX3n dG7iekK+phBPyKqTjmrcxdMrfKJkSv1bdGHX51tOAA6UjjwUWie/NPkxk Q+r25Ul12BAz3C9tIJ3M0Okse/OTp6zazRqgwLvZ4vC8govnrm9ADvSTO CjbzvNmDvMYnvKmV/0hkIHW7cq91CEB/E5nvcIoDnpZw/hTwLiryTwQEh Q==; IronPort-SDR: 3JKjASaZsXLb5USMDrV2CAcxss2JLjtSORhf4ec0FbCbfDlHxNnvLMujS/a/4L3p0xm5xMZjF0 E4nU0zM4jlSS5bTyoFkgCeNZNWB+MDiRhW+AN5zw+iATaC4xLmcW5lzlNJS5QK27B9Q+rbIZFR pfKpwtaf/UXgAk5iJyOU0prsFVVJbhrN00L0+eGONTwE4JstV2Lzjg6OX3Gtoab6/PMJ27SNhu ORWHSbnRSriOVnrd8CNoiwsXy2oWF06XqnX/1x6Brx/7VRmusbqaFhesFLKmTvMLF4pSuRhrC1 6Mo= X-IronPort-AV: E=Sophos;i="5.75,280,1589212800"; d="scan'208";a="243966122" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 26 Jun 2020 07:45:59 +0800 IronPort-SDR: OJ4ZZ1wmDZXWhSV5XMzf/hgYCpIL4BI7/8W+asnozef6Zbl8HT9bD9LegxFDzUqdd8NLkaD+vm iHinNe445+xB/TE05zcphDSQ86JsxLOhg= Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2020 16:34:27 -0700 IronPort-SDR: rsP8xzULUfBFMDuMCtJGe0TMaOrFxT6DTyZwDjC5tdJA7trEYutCByptrNB4uMfLlWXegYkKzb pktVpb+3JPPA== WDCIronportException: Internal Received: from 2349pbt5e4f.ad.shared (HELO jedi-01.hgst.com) ([10.86.58.78]) by uls-op-cesaip01.wdc.com with ESMTP; 25 Jun 2020 16:45:26 -0700 From: Atish Patra <atish.patra@wdc.com> To: linux-kernel@vger.kernel.org Subject: [RFC PATCH 07/11] include: pe.h: Add RISC-V related PE definition Date: Thu, 25 Jun 2020 16:45:12 -0700 Message-Id: <20200625234516.31406-8-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200625234516.31406-1-atish.patra@wdc.com> References: <20200625234516.31406-1-atish.patra@wdc.com> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.143.124 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-efi@vger.kernel.org, Heinrich Schuchardt <xypron.glpk@gmx.de>, Masahiro Yamada <masahiroy@kernel.org>, Palmer Dabbelt <palmerdabbelt@google.com>, Atish Patra <atish.patra@wdc.com>, Palmer Dabbelt <palmer@dabbelt.com>, linux-riscv@lists.infradead.org, Ard Biesheuvel <ardb@kernel.org>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Add UEFI support for RISC-V
|
expand
|
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