[v9, 00/10] riscv: support kernel-mode Vector

Andy Chiu andy.chiu at sifive.com
Sun Jan 7 19:16:27 PST 2024


On Sat, Jan 6, 2024 at 2:59 AM Eric Biggers <ebiggers at kernel.org> wrote:
>
> Hi Palmer,
>
> On Fri, Dec 29, 2023 at 02:36:17PM +0000, Andy Chiu wrote:
> > This series provides support running Vector in kernel mode.
>
> Is there any chance that you can take patches 1 and 2 of this series via the
> RISC-V tree for v6.8?  The vector crypto patchset depends on those two patches.

Patch 4 is very essential for non-preemptible kernel-mode Vector,
unless we want to bear restoring overhead at each kernel_vector_end().
It's ~200 cycles on a VLEN=128 hardware. It happens as long as Vector
is also used in user-mode, which will be very common. Please consider
including up to patch 4 if we must split.

>
> Thanks,
>
> - Eric

Thanks,
Andy



More information about the linux-riscv mailing list