Skip to content

riscv: Add bfloat16 instruction support

Inochi Amaoto linux-devicetree linux-doc linux-riscv lkml 4 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesApplied 3/3
  2. v33 patches 10 repliesSuperseded 2 of 3 applied
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v4 from the cover letter

1. rebase for v6.14-rc1
2. patch2: add validate for zfbfmin, zvfbfmin, zvfbfwma
3. patch2: apply Clément's tag

Patches in v4 All 3 applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: riscv: add bfloat16 ISA extension descriptionDocumentation/devicetree/bindings/riscv/extensions.yaml+45 -00 repliesApplied
2/3riscv: add ISA extension parsing for bfloat16 ISA extensionarch/riscv/include/asm/hwcap.h arch/riscv/kernel/cpufeature.c+38 -00 repliesApplied
3/3riscv: hwprobe: export bfloat16 ISA extensionDocumentation/arch/riscv/hwprobe.rst arch/riscv/include/uapi/asm/hwprobe.h arch/riscv/kernel/sys_hwprobe.c+18 -00 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchConor DooleyClément Léger
1/3A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] riscv: Add bfloat16 instruction support

Add description for the BFloat16 precision Floating-Point ISA extension, (Zfbfmin, Zvfbfmin, Zvfbfwma). which was ratified in commit 4dc23d62 ("Added Chapter title to BF16") of the riscv-isa-manual.

Changed from v3:
1. rebase for v6.14-rc1
2. patch2: add validate for zfbfmin, zvfbfmin, zvfbfwma
3. patch2: apply Clément's tag

Changed from v2:
1. rebase for v6.13-rc1

Changed from v1:
1. patch3: add missing code in sys_hwprobe.c

Inochi Amaoto (3):
dt-bindings: riscv: add bfloat16 ISA extension description
riscv: add ISA extension parsing for bfloat16 ISA extension
riscv: hwprobe: export bfloat16 ISA extension

 Documentation/arch/riscv/hwprobe.rst          | 12 +++++
 .../devicetree/bindings/riscv/extensions.yaml | 45 +++++++++++++++++++
 arch/riscv/include/asm/hwcap.h                |  3 ++
 arch/riscv/include/uapi/asm/hwprobe.h         |  3 ++
 arch/riscv/kernel/cpufeature.c                | 35 +++++++++++++++
 arch/riscv/kernel/sys_hwprobe.c               |  3 ++
 6 files changed, 101 insertions(+)

--
2.48.1