From: Conor Dooley <conor@kernel.org>
To: Palmer Dabbelt <palmer@rivosinc.com>
Cc: linux-riscv@lists.infradead.org
Subject: Re: [PATCH] RISC-V: Remove the removed single-letter extensions
Date: Sat, 11 Nov 2023 16:03:40 +0000 [thread overview]
Message-ID: <20231111-hangup-persevere-a097c83115be@squawk> (raw)
In-Reply-To: <20231110175903.2631-1-palmer@rivosinc.com>
[-- 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
next prev parent reply other threads:[~2023-11-11 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-10 17:59 [PATCH] RISC-V: Remove the removed single-letter extensions Palmer Dabbelt
2023-11-11 16:03 ` Conor Dooley [this message]
2024-01-05 21:50 ` patchwork-bot+linux-riscv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231111-hangup-persevere-a097c83115be@squawk \
--to=conor@kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@rivosinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox