]> git.hungrycats.org Git - linux/commit
Merge patch series "RISC-V: hwprobe: Misaligned scalar perf fix and rename"
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 14 Aug 2024 20:13:26 +0000 (13:13 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 15 Aug 2024 20:12:21 +0000 (13:12 -0700)
commit32d5f7add080a936e28ab4142bfeea6b06999789
treecdc02d299aae5f7fdf22e68bec3ecc58cb47533b
parente01d48c699bbe015d887cb598e4047f08f3998a8
parent1f5288874de776412041022607513ffac74ae1a6
Merge patch series "RISC-V: hwprobe: Misaligned scalar perf fix and rename"

Evan Green <evan@rivosinc.com> says:

The CPUPERF0 hwprobe key was documented and identified in code as
a bitmask value, but its contents were an enum. This produced
incorrect behavior in conjunction with the WHICH_CPUS hwprobe flag.
The first patch in this series fixes the bitmask/enum problem by
creating a new hwprobe key that returns the same data, but is
properly described as a value instead of a bitmask. The second patch
renames the value definitions in preparation for adding vector misaligned
access info. As of this version, the old defines are kept in place to
maintain source compatibility with older userspace programs.

* b4-shazam-merge:
  RISC-V: hwprobe: Add SCALAR to misaligned perf defines
  RISC-V: hwprobe: Add MISALIGNED_PERF key

Link: https://lore.kernel.org/r/20240809214444.3257596-1-evan@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>