Re: [PATCH -next v20 20/26] riscv: Add prctl controls for userspace vector management

From: Rémi Denis-Courmont
Date: Wed May 24 2023 - 12:16:40 EST


Le keskiviikkona 24. toukokuuta 2023, 12.25.30 EEST Andy Chiu a écrit :
> How about adding the following 2 patches to deal with the problem.
> However, I am concerned if this makes ELF_HWCAP too complicated. e.g.
> Future extensions may as well want to do something here after we create
> an entry here.

Fine with me but I feel that we are missing the bigger picture here, as to
what the usage pattern/guideline for the prctl() on userspace side should be?

Maybe it was already discussed, and I just missed it, but I couldn't find it in
the documentation.

--
Rémi Denis-Courmont
http://www.remlab.net/