OSDN Git Service

target/riscv: pmu: Rename the counters extension to pmu
authorAtish Patra <atish.patra@wdc.com>
Mon, 20 Jun 2022 23:15:53 +0000 (16:15 -0700)
committerAlistair Francis <alistair@alistair23.me>
Sun, 3 Jul 2022 00:03:20 +0000 (10:03 +1000)
commitd3be1299fb37e50535438a675a5b02f5bc068c14
treeea0a9b6e7a410a980796f9875b448c3c8181d03a
parenta5a92fd6ef038170231933c60cc2780f52b3a2e1
target/riscv: pmu: Rename the counters extension to pmu

The PMU counters are supported via cpu config "Counters" which doesn't
indicate the correct purpose of those counters.

Rename the config property to pmu to indicate that these counters
are performance monitoring counters. This aligns with cpu options for
ARM architecture as well.

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Message-Id: <20220620231603.2547260-4-atishp@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/csr.c