Re: [RFC PATCH 2/5] include: pe.h: Add RISC-V related PE definition

From: Atish Patra
Date: Wed Feb 26 2020 - 19:53:07 EST


On Wed, 2020-02-26 at 08:06 +0100, Ard Biesheuvel wrote:
> On Wed, 26 Feb 2020 at 02:10, Atish Patra <atish.patra@xxxxxxx>
> wrote:
> > Define RISC-V related machine types.
> >
> > Signed-off-by: Atish Patra <atish.patra@xxxxxxx>
>
> If you put them in alphabetical order wrt SH3:
>

Done.

> Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
>

>
> > ---
> > 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
> >

--
Regards,
Atish