[PATCH 0/2] platform: generic: thead: Add Canaan K230 PMU support
Yangyu Chen
cyy at cyyself.name
Sun Apr 21 08:50:58 PDT 2024
Since dt-binding for the Canaan Kendryte K230 SoC has been merged into the
linux kernel. It's time to add its support in OpenSBI to probe it has
T-Head PMU. As this SoC is the first chip with RISC-V Vector 1.0 in the
market, adding PMU support for profiling is essential.
This patchset adds T-Head PMU support for Canaan Kendryte K230 SoC by
adding a K230 SoC compatible string to the thead_generic_match. Also, do
some clean-up to separate the T-Head PMU Errata handling that no longer
enables T-Head PMU by default for all the T-Head Chips, as newer cores may
feature Sscofpmf.
Yangyu Chen (2):
platform: generic: thead: separate T-Head PMU Errata
platform: generic: thead: add Canaan Kendryte K230
platform/generic/include/thead/c9xx_errata.h | 1 +
platform/generic/thead/thead-generic.c | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
--
2.43.0
More information about the opensbi
mailing list