mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
docs: pmu_support: fix example typos
The (event ID & "second column mask") should equal the "first column match value". Modify the example to fit the description. Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20250324043943.2513070-1-ycliang@andestech.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
37eaca4ab3
commit
5ab908d622
@@ -74,10 +74,10 @@ pmu {
|
|||||||
<0x10000 0x10033 0x000ff000>;
|
<0x10000 0x10033 0x000ff000>;
|
||||||
/* For event ID 0x0002 */
|
/* For event ID 0x0002 */
|
||||||
riscv,raw-event-to-mhpmcounters = <0x0000 0x0002 0xffffffff 0xffffffff 0x00000f8>,
|
riscv,raw-event-to-mhpmcounters = <0x0000 0x0002 0xffffffff 0xffffffff 0x00000f8>,
|
||||||
/* For event ID 0-4 */
|
/* For event ID 0-15 */
|
||||||
<0x0 0x0 0xffffffff 0xfffffff0 0x00000ff0>,
|
<0x0 0x0 0xffffffff 0xfffffff0 0x00000ff0>,
|
||||||
/* For event ID 0xffffffff0000000f - 0xffffffff000000ff */
|
/* For event ID 0xffffffff0000000f - 0xffffffff000000ff */
|
||||||
<0xffffffff 0x0 0xffffffff 0xffffff0f 0x00000ff0>;
|
<0xffffffff 0xf 0xffffffff 0xffffff0f 0x00000ff0>;
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user