[cfarm-users] cfarm95: RISC-V host with RVV 1.0 vector extension

Andy Polyakov appro at cryptogams.org
Sun Oct 6 17:28:20 CEST 2024


>>>>> We are happy to announce the addition of cfarm95, a BPI-F3 machine
>>>>> from BananaPi. This RISC-V machine is based on a SpacemiT K1 SoC
>>>>> with 8 SpacemiT X60 cores. The most interesting feature of this
>>>>> hardware is its implementation of the RVV 1.0 vector extension;
>>>>
>>>> Cool! There is a problem though. If an asynchronous signal, e.g. SIGALRM, is
>>>> delivered to a thread that is executing vector instruction the application
>>>> crashes with SIGILL. I assume that return-from-signal code path doesn't
>>>> restore some processor state bit. Just in case anybody runs into it...
>>>
> 
> This commit looks like a possible fix: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c27fa53b858b4ee6552a719aa599c250cf98a586
> 
> What do you think?

Sounds plausible.

> It's been fixed in linux 6.9, so the vendor kernel based on 6.6 probably
> doesn't have it.  I can try rebuilding a kernel with this patch.

It would be absolutely appreciated :-) Cheers.



More information about the cfarm-users mailing list