Re: [PATCH v12 23/28] riscv: kernel command line option to opt out of user cfi

Radim Krčmář
2025-03-21T07:31:46Z

2025-03-20T15:31:09-07:00, Deepak Gupta <debug@rivosinc.com>:
> On Thu, Mar 20, 2025 at 2:35 PM Radim Krčmář <rkrcmar@ventanamicro.com> wrote:
>> 2025-03-14T14:39:42-07:00, Deepak Gupta <debug@rivosinc.com>:
>> > +__setup("disable_riscv_usercfi=", setup_global_riscv_enable);
>>
>> I'd prefer two command line options instead.
>
> One for zicfilp and one for zicfiss ?

Yes. I don't want to suggest the naming, because I would have used
"nousercfi" without an argument for the current one.