linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Atish Patra <atish.patra@wdc.com>
To: linux-kernel@vger.kernel.org
Cc: Atish Patra <atish.patra@wdc.com>,
	Palmer Dabbelt <palmerdabbelt@google.com>,
	Ard Biesheuvel <ardb@kernel.org>,
	Alistair Francis <alistair.francis@wdc.com>,
	Anup Patel <anup.patel@wdc.com>,
	Arvind Sankar <nivedita@alum.mit.edu>,
	Greentime Hu <greentime.hu@sifive.com>,
	Ingo Molnar <mingo@kernel.org>,
	linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Mike Rapoport <rppt@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Paul Walmsley <paul.walmsley@sifive.com>
Subject: [PATCH v7 4/9] include: pe.h: Add RISC-V related PE definition
Date: Fri, 28 Aug 2020 10:20:31 -0700	[thread overview]
Message-ID: <20200828172036.8056-5-atish.patra@wdc.com> (raw)
In-Reply-To: <20200828172036.8056-1-atish.patra@wdc.com>

Define RISC-V related machine types.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Link: https://lore.kernel.org/r/20200415195422.19866-3-atish.patra@wdc.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 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
-- 
2.24.0


  parent reply	other threads:[~2020-08-28 17:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 17:20 [PATCH v7 0/9] Add UEFI support for RISC-V Atish Patra
2020-08-28 17:20 ` [PATCH v7 1/9] RISC-V: Move DT mapping outof fixmap Atish Patra
2020-08-28 17:20 ` [PATCH v7 2/9] RISC-V: Add early ioremap support Atish Patra
2020-08-28 17:20 ` [PATCH v7 3/9] RISC-V: Implement late mapping page table allocation functions Atish Patra
2020-08-28 17:20 ` Atish Patra [this message]
2020-08-28 17:20 ` [PATCH v7 5/9] RISC-V: Add PE/COFF header for EFI stub Atish Patra
2020-09-11 13:09   ` Ard Biesheuvel
2020-09-12  2:04     ` Atish Patra
2020-09-14 18:32       ` Ard Biesheuvel
2020-08-28 17:20 ` [PATCH v7 6/9] RISC-V: Add EFI stub support Atish Patra
2020-08-28 17:20 ` [PATCH v7 7/9] efi: Rename arm-init to efi-init common for all arch Atish Patra
2020-08-28 17:20 ` [PATCH v7 8/9] RISC-V: Add EFI runtime services Atish Patra
2020-08-28 17:20 ` [PATCH v7 9/9] RISC-V: Add page table dump support for uefi Atish Patra
2020-09-09  1:16 ` [PATCH v7 0/9] Add UEFI support for RISC-V Palmer Dabbelt
2020-09-09  7:29   ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200828172036.8056-5-atish.patra@wdc.com \
    --to=atish.patra@wdc.com \
    --cc=alistair.francis@wdc.com \
    --cc=anup.patel@wdc.com \
    --cc=ardb@kernel.org \
    --cc=greentime.hu@sifive.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=masahiroy@kernel.org \
    --cc=mingo@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=nivedita@alum.mit.edu \
    --cc=palmer@dabbelt.com \
    --cc=palmerdabbelt@google.com \
    --cc=paul.walmsley@sifive.com \
    --cc=rppt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).