[PATCH -next v13 19/19] riscv: Enable Vector code to be built

Vineet Gupta vineetg at rivosinc.com
Mon Jan 30 10:38:24 PST 2023



On 1/29/23 22:38, Andy Chiu wrote:
>>> +     default n
>> I forget, but is the reason for this being default n, when the others
>> are default y a conscious choice?
> Yes, I think it could be y if V is allocated in the first-use trap, as
> far as I'm concerned. Hey Vineet, do you have any comments about that?

Yes I think this can be enabled by default now that everything is 
allocated on demand.
FWIW thread_struct would have 5 word overhead due to struct 
__riscv_v_state but nothing I would worry about too much.

-Vineet



More information about the kvm-riscv mailing list