[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250418053239.4351-1-cyan.yang@sifive.com>
Date: Fri, 18 Apr 2025 13:32:27 +0800
From: Cyan Yang <cyan.yang@...ive.com>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
corbet@....net,
paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu,
alex@...ti.fr,
samuel.holland@...ive.com
Cc: linux-doc@...r.kernel.org,
devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Cyan Yang <cyan.yang@...ive.com>
Subject: [PATCH 00/12] riscv: Add vendor extensions support for SiFive
This patch set adds four vendor-specific ISA extensions from SiFive:
"xsfvqmaccdod", "xsfvqmaccqoq", "xsfvfnrclipxfqf", and "xsfvfwmaccqqq".
Additionally, a new hwprobe key, RISCV_HWPROBE_KEY_VENDOR_EXT_SIFIVE_0,
has been added to query which SiFive vendor extensions are supported on
the current platform.
Signed-off-by: Cyan Yang <cyan.yang@...ive.com>
Cyan Yang (12):
dt-bindings: riscv: Add xsfvqmaccdod and xsfvqmaccqoq ISA extension
description
riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions
riscv: hwprobe: Document SiFive xsfvqmaccdod and xsfvqmaccqoq vendor
extensions
riscv: hwprobe: Add SiFive vendor extension support and probe for
xsfqmaccdod and xsfqmaccqoq
dt-bindings: riscv: Add xsfvfnrclipxfqf ISA extension description
riscv: Add SiFive xsfvfnrclipxfqf vendor extension
riscv: hwprobe: Document SiFive xsfvfnrclipxfqf vendor extension
riscv: hwprobe: Add SiFive xsfvfnrclipxfqf vendor extension
dt-bindings: riscv: Add xsfvfwmaccqqq ISA extension description
riscv: Add SiFive xsfvfwmaccqqq vendor extension
riscv: hwprobe: Document SiFive xsfvfwmaccqqq vendor extension
riscv: hwprobe: Add SiFive xsfvfwmaccqqq vendor extension
Documentation/arch/riscv/hwprobe.rst | 22 ++++++++++++++++
.../devicetree/bindings/riscv/extensions.yaml | 25 +++++++++++++++++++
arch/riscv/Kconfig.vendor | 13 ++++++++++
arch/riscv/include/asm/hwprobe.h | 3 ++-
.../include/asm/vendor_extensions/sifive.h | 16 ++++++++++++
.../asm/vendor_extensions/sifive_hwprobe.h | 19 ++++++++++++++
arch/riscv/include/uapi/asm/hwprobe.h | 1 +
arch/riscv/include/uapi/asm/vendor/sifive.h | 6 +++++
arch/riscv/kernel/sys_hwprobe.c | 5 ++++
arch/riscv/kernel/vendor_extensions.c | 10 ++++++++
arch/riscv/kernel/vendor_extensions/Makefile | 2 ++
arch/riscv/kernel/vendor_extensions/sifive.c | 21 ++++++++++++++++
.../kernel/vendor_extensions/sifive_hwprobe.c | 22 ++++++++++++++++
13 files changed, 164 insertions(+), 1 deletion(-)
create mode 100644 arch/riscv/include/asm/vendor_extensions/sifive.h
create mode 100644 arch/riscv/include/asm/vendor_extensions/sifive_hwprobe.h
create mode 100644 arch/riscv/include/uapi/asm/vendor/sifive.h
create mode 100644 arch/riscv/kernel/vendor_extensions/sifive.c
create mode 100644 arch/riscv/kernel/vendor_extensions/sifive_hwprobe.c
--
2.39.5 (Apple Git-154)
Powered by blists - more mailing lists