[PATCH] RISC-V: Remove the removed single-letter extensions

Conor Dooley conor at kernel.org
Sat Nov 11 08:03:40 PST 2023


On Fri, Nov 10, 2023 at 09:59:03AM -0800, Palmer Dabbelt wrote:
> There were a few single-letter extensions that we had references to
> floating around in the kernel, but that never ended up as actual ISA
> specs and have mostly been replaced by multi-letter extensions.  This
> removes the references to those extensions.
> 
> Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Getting the jump on your talk on Monday?

Cheers,
Conor.

> ---
>  arch/riscv/include/asm/hwcap.h | 6 ------
>  arch/riscv/kernel/cpufeature.c | 4 ----
>  2 files changed, 10 deletions(-)
> 
> diff --git a/arch/riscv/include/asm/hwcap.h b/arch/riscv/include/asm/hwcap.h
> index fe6656af967a..d0a5804c7d78 100644
> --- a/arch/riscv/include/asm/hwcap.h
> +++ b/arch/riscv/include/asm/hwcap.h
> @@ -14,19 +14,13 @@
>  #include <uapi/asm/hwcap.h>
>  
>  #define RISCV_ISA_EXT_a		('a' - 'a')
> -#define RISCV_ISA_EXT_b		('b' - 'a')
>  #define RISCV_ISA_EXT_c		('c' - 'a')
>  #define RISCV_ISA_EXT_d		('d' - 'a')
>  #define RISCV_ISA_EXT_f		('f' - 'a')
>  #define RISCV_ISA_EXT_h		('h' - 'a')
>  #define RISCV_ISA_EXT_i		('i' - 'a')
> -#define RISCV_ISA_EXT_j		('j' - 'a')
> -#define RISCV_ISA_EXT_k		('k' - 'a')
>  #define RISCV_ISA_EXT_m		('m' - 'a')
> -#define RISCV_ISA_EXT_p		('p' - 'a')
>  #define RISCV_ISA_EXT_q		('q' - 'a')
> -#define RISCV_ISA_EXT_s		('s' - 'a')
> -#define RISCV_ISA_EXT_u		('u' - 'a')
>  #define RISCV_ISA_EXT_v		('v' - 'a')
>  
>  /*
> diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeature.c
> index 7aeba01dcfd4..bb0d1f242f24 100644
> --- a/arch/riscv/kernel/cpufeature.c
> +++ b/arch/riscv/kernel/cpufeature.c
> @@ -158,10 +158,6 @@ const struct riscv_isa_ext_data riscv_isa_ext[] = {
>  	__RISCV_ISA_EXT_DATA(d, RISCV_ISA_EXT_d),
>  	__RISCV_ISA_EXT_DATA(q, RISCV_ISA_EXT_q),
>  	__RISCV_ISA_EXT_DATA(c, RISCV_ISA_EXT_c),
> -	__RISCV_ISA_EXT_DATA(b, RISCV_ISA_EXT_b),
> -	__RISCV_ISA_EXT_DATA(k, RISCV_ISA_EXT_k),
> -	__RISCV_ISA_EXT_DATA(j, RISCV_ISA_EXT_j),
> -	__RISCV_ISA_EXT_DATA(p, RISCV_ISA_EXT_p),
>  	__RISCV_ISA_EXT_DATA(v, RISCV_ISA_EXT_v),
>  	__RISCV_ISA_EXT_DATA(h, RISCV_ISA_EXT_h),
>  	__RISCV_ISA_EXT_DATA(zicbom, RISCV_ISA_EXT_ZICBOM),
> -- 
> 2.42.1
> 
> 
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20231111/94f66d10/attachment.sig>


More information about the linux-riscv mailing list