* [PATCH] RISC-V: Remove the removed single-letter extensions
@ 2023-11-10 17:59 Palmer Dabbelt
2023-11-11 16:03 ` Conor Dooley
2024-01-05 21:50 ` patchwork-bot+linux-riscv
0 siblings, 2 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2023-11-10 17:59 UTC (permalink / raw)
To: linux-riscv; +Cc: Palmer Dabbelt
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@rivosinc.com>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Remove the removed single-letter extensions
2023-11-10 17:59 [PATCH] RISC-V: Remove the removed single-letter extensions Palmer Dabbelt
@ 2023-11-11 16:03 ` Conor Dooley
2024-01-05 21:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-11-11 16:03 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: linux-riscv
[-- Attachment #1.1: Type: text/plain, Size: 2495 bytes --]
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@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Remove the removed single-letter extensions
2023-11-10 17:59 [PATCH] RISC-V: Remove the removed single-letter extensions Palmer Dabbelt
2023-11-11 16:03 ` Conor Dooley
@ 2024-01-05 21:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-01-05 21:50 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: linux-riscv
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Fri, 10 Nov 2023 09:59:03 -0800 you 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@rivosinc.com>
>
> [...]
Here is the summary with links:
- RISC-V: Remove the removed single-letter extensions
https://git.kernel.org/riscv/c/cbc911392c05
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-05 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 17:59 [PATCH] RISC-V: Remove the removed single-letter extensions Palmer Dabbelt
2023-11-11 16:03 ` Conor Dooley
2024-01-05 21:50 ` patchwork-bot+linux-riscv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox