[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 10/16] lib: General Linux RV64 syscall support.

From: W. J. van der Laan
Subject: Re: [PATCH 10/16] lib: General Linux RV64 syscall support.
Date: Wed, 05 May 2021 20:29:09 +0000

On Wednesday, May 5th, 2021 at 9:45 PM, Jan Nieuwenhuizen <janneke@gnu.org> 

> > I think the decision what kernel to set as minimum depends on whether
> > it is valuable to be able to bootstrap on really old kernels on
> > i386. I have no insight into this.
> Yes, that's an interesting perspective. However, if we can add RISC-V
> support without adding code duplication or extra parameterization, I
> think that's a real benefit. We can always add support for older
> Linux kernels when the need arises.
> I just chose the simple variants at the time because they were familiar
> to me.

So to be clear: you prefer that the newer syscalls, as introduced for RISC-V, 
are used for all platforms?

Currently the i386/arm/etc syscall codepaths are completely unchanged. I 
expected that would be preferred to minimize the chance of breaking anything.

I don't think variability between platforms with regard to syscalls can be 
completely avoided (there are some differences, especially between 32 bit and 
64 bit), but it is definitely possible to bring that down as much as possible.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]