Re: [PATCH] mseal sysmap: add arch-support txt

From: Geert Uytterhoeven
Date: Fri Mar 14 2025 - 06:41:45 EST


Hi Jeff,

On Thu, 13 Mar 2025 at 23:26, Jeff Xu <jeffxu@xxxxxxxxxxxx> wrote:
> On Wed, Mar 12, 2025 at 10:21 PM Lorenzo Stoakes
> <lorenzo.stoakes@xxxxxxxxxx> wrote:
> > On Thu, Mar 13, 2025 at 12:06:23AM +0000, jeffxu@xxxxxxxxxxxx wrote:
> > > From: Jeff Xu <jeffxu@xxxxxxxxxxxx>
> > > Add Documentation/features/core/mseal_sys_mappings/arch-support.txt
> > >
> > > Signed-off-by: Jeff Xu <jeffxu@xxxxxxxxxxxx>

Thanks for your patch!

> > > --- /dev/null
> > > +++ b/Documentation/features/core/mseal_sys_mappings/arch-support.txt
> > > @@ -0,0 +1,30 @@
> > > +#
> > > +# Feature name: mseal-system-mappings
> > > +# Kconfig: ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS
> > > +# description: arch supports mseal system mappings
> > > +#
> > > + -----------------------
> > > + | arch |status|
> > > + -----------------------
> > > + | alpha: | TODO |
> > > + | arc: | TODO |
> > > + | arm: | N/A |
> > > + | arm64: | ok |
> > > + | csky: | TODO |
> > > + | hexagon: | TODO |
> > > + | loongarch: | TODO |
> > > + | m68k: | TODO |
> > > + | microblaze: | TODO |
> > > + | mips: | TODO |
> > > + | nios2: | TODO |
> > > + | openrisc: | TODO |
> > > + | parisc: | TODO |
> > > + | powerpc: | TODO |
> > > + | riscv: | TODO |
> > > + | s390: | ok |
> > > + | sh: | TODO |
> > > + | sparc: | TODO |
> > > + | um: | TODO |
> > > + | x86: | ok |
> > > + | xtensa: | TODO |
> > > + -----------------------

> > Plus I feel this need expansion a bit 'N/A' is because of being non-64 bit
> > right?
> >
> Below is the definition of N/A in Documentation/features/arch-support.txt
> | N/A| # feature doesn't apply to the architecture
>
> It fits the arm case because mseal is not supported in 32 bit.

IIUIC, you can already s@TODO@N/A@ for all other 32-bit architectures,
so we don't accidentally spend time on looking into adding the support?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds