Merge patch series "RISC-V: Enable cbo.zero in usermode"
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 21 Sep 2023 11:22:30 +0000 (04:22 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Nov 2023 02:15:47 +0000 (19:15 -0700)
commita9429d5f99bc25885ba5d4c2c58a25467f5d741b
tree79dd84651f19846d7ededca000db3e1d529375d5
parent71e11d066c1db20f85240d248cd8c3c6ae8bd7d7
parenta29e2a48afe3549ee34d39cf42343ba3fced09c6
Merge patch series "RISC-V: Enable cbo.zero in usermode"

Andrew Jones <ajones@ventanamicro.com> says:

In order for usermode to issue cbo.zero, it needs privilege granted to
issue the extension instruction (patch 2) and to know that the extension
is available and its block size (patch 3). Patch 1 could be separate from
this series (it just fixes up some error messages), patches 4-5 convert
the hwprobe selftest to a statically-linked, TAP test and patch 6 adds a
new hwprobe test for the new information as well as testing CBO
instructions can or cannot be issued as appropriate.

* b4-shazam-merge:
  RISC-V: selftests: Add CBO tests
  RISC-V: selftests: Convert hwprobe test to kselftest API
  RISC-V: selftests: Statically link hwprobe test
  RISC-V: hwprobe: Expose Zicboz extension and its block size
  RISC-V: Enable cbo.zero in usermode
  RISC-V: Make zicbom/zicboz errors consistent

Link: https://lore.kernel.org/r/20230918131518.56803-8-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>