riscv: Add vendor extensions support for SiFive
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v2 from the cover letter
- Fixed a sparse warning
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 9 of 12 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | dt-bindings: riscv: Add xsfvqmaccdod and xsfvqmaccqoq ISA extension descriptionDocumentation/ | +13 | 0 replies | Applied |
| 2/12 | riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensionsarch/ arch/ arch/ +2 more | +57 | 2 replies | |
| 3/12 | riscv: hwprobe: Document SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensionsDocumentation/ arch/ arch/ | +16 | 0 replies | Applied |
| 4/12 | riscv: hwprobe: Add SiFive vendor extension support and probe for xsfqmaccdod and xsfqmaccqoqarch/ arch/ arch/ +3 more | +50 | 0 replies | Applied |
| 5/12 | dt-bindings: riscv: Add xsfvfnrclipxfqf ISA extension descriptionDocumentation/ | +6 | 0 replies | Applied |
| 6/12 | riscv: Add SiFive xsfvfnrclipxfqf vendor extensionarch/ arch/ | +2 | 0 replies | |
| 7/12 | riscv: hwprobe: Document SiFive xsfvfnrclipxfqf vendor extensionDocumentation/ | +4 | 0 replies | Applied |
| 8/12 | riscv: hwprobe: Add SiFive xsfvfnrclipxfqf vendor extensionarch/ arch/ | +2 | 0 replies | Applied |
| 9/12 | dt-bindings: riscv: Add xsfvfwmaccqqq ISA extension descriptionDocumentation/ | +6 | 0 replies | Applied |
| 10/12 | riscv: Add SiFive xsfvfwmaccqqq vendor extensionarch/ arch/ | +2 | 0 replies | |
| 11/12 | riscv: hwprobe: Document SiFive xsfvfwmaccqqq vendor extensionDocumentation/ | +4 | 0 replies | Applied |
| 12/12 | riscv: hwprobe: Add SiFive xsfvfwmaccqqq vendor extensionarch/ arch/ | +2 | 0 replies | Applied |
Reviews trailers per patch
3 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Conor Dooley |
|---|---|
| 1/12 | A-b |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | A-b |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | A-b |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 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.
---
Changes in v2:
- Fixed a sparse warning
- Link to v1: https://lore.kernel.org/r/[email protected]
---
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
Signature · 1 line
2.39.5 (Apple Git-154)