Hi Geert
On Tue, Mar 18, 2025 at 10:21 AM Jeff Xu <[email protected]> wrote:
>
> Hi Geert,
>
> On Mon, Mar 17, 2025 at 12:14 PM Geert Uytterhoeven
> <[email protected]> wrote:
> >
> > Hi Jeff,
> >
> > On Mon, 17 Mar 2025 at 20:02, Jeff Xu <[email protected]> wrote:
> > > On Mon, Mar 17, 2025 at 11:14 AM Jeff Xu <[email protected]> wrote:
> > > > On Fri, Mar 14, 2025 at 3:41 AM Geert Uytterhoeven
> > > > <[email protected]> wrote:
> > > > > On Thu, 13 Mar 2025 at 23:26, Jeff Xu <[email protected]> wrote:
> > > > > > On Wed, Mar 12, 2025 at 10:21 PM Lorenzo Stoakes
> > > > > > <[email protected]> wrote:
> > > > > > > On Thu, Mar 13, 2025 at 12:06:23AM +0000, [email protected]
> > > > > > > wrote:
> > > > > > > > From: Jeff Xu <[email protected]>
> > > > > > > > Add
> > > > > > > > Documentation/features/core/mseal_sys_mappings/arch-support.txt
> > > > > > > >
> > > > > > > > Signed-off-by: Jeff Xu <[email protected]>
> > > > >
> > > > > Thanks for your patch!
> > >
> > > I used "find * |xargs grep -i CONFIG_64BIT" to look for CONFIG_64BIT
> > > under arch/, and together with internet search/wiki page, and below is
> > > the proposed update.
> >
> > That way you only find users of the symbol, not where it is defined.
> >
> > You can use
> >
> > git grep -W "config\s*64BIT" -- arch/
> >
> > to find out which architectures are 32-bit, 64-bit, or support both.
> >
Microblaze, openrisc, sh, hexagon all don't have CONFIG 64BIT defined
in KCONFIG, and are not using CONFIG_64BIT in their arch code. Is
there something else that makes you point out the hexagon as 32 bit
only (and not other 3) ?
The microblaze/ openrisc/sh are currently listed as TODO in this patch
, and that is because the search results show they have 64 bits CPU.
But I like to double check.
I included some people who recently merged into those arches in case
anyone is familiar with 32bit/64 bits usage in those architectures.
Thanks
-Jeff
> Good to know, thanks!
>
> > > > > > > > --- /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 |
> > > No CONFIG_64BIT found under arch/alpha, but search results show alpha
> > > supports 64 bits. Keep as TODO.
> >
> > Alpha is 64-bit only. So the code under arch/alpha/ does not need to check
> > for
> > CONFIG_64BIT, hence you didn't find it;-)
> >
> > > > > > > > + | arc: | TODO |
> > > > > > > > + | arm: | N/A |
> > > > > > > > + | arm64: | ok |
> > > > > > > > + | csky: | TODO |
> > > (N/A)
> > >
> > > > > > > > + | hexagon: | TODO |
> > > No CONFIG_64BIT found under arch/hexagon, but search results show
> > > hexagon supports 64 bits. Keep as TODO.
> >
> > 32-bit only on Linux.
> >
> Ok. Thank you for correcting this.
>
> Thanks
> -Jeff
>
> > Gr{oetje,eeting}s,
> >
> > Geert
> >
> > --
> > Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
> > [email protected]
> >
> > 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