2023-09-20 11:13:57

by Andrew Jones

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] riscv: Rearrange hwcap.h and cpufeature.h

On Wed, Sep 20, 2023 at 03:46:52PM +0800, Xiao Wang wrote:
> Now hwcap.h and cpufeature.h are mutually including each other, and most of
> the variable/API declarations in hwcap.h are implemented in cpufeature.c,
> so, it's better to move them into cpufeature.h and leave only macros for
> ISA extension logical IDs in hwcap.h.
>
> BTW, the riscv_isa_extension_mask macro is not used now, so this patch
> removes it.
>
> Signed-off-by: Xiao Wang <[email protected]>


Suggested-by: Andrew Jones <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>

Thanks,
drew