Re: [PATCH v2] target/riscv: Update check for Zca/Zcf/Zcd

2023-04-16 Thread Alistair Francis
On Fri, Apr 14, 2023 at 12:13 AM Weiwei Li wrote: > > Even though Zca/Zcf/Zcd can be included by C/F/D, however, their priv > version is higher than the priv version of C/F/D. So if we use check > for them instead of check for C/F/D totally, it will trigger new > problem when we try to disable

[PATCH v2] target/riscv: Update check for Zca/Zcf/Zcd

2023-04-13 Thread Weiwei Li
Even though Zca/Zcf/Zcd can be included by C/F/D, however, their priv version is higher than the priv version of C/F/D. So if we use check for them instead of check for C/F/D totally, it will trigger new problem when we try to disable the extensions based on the configured priv version.