diff options
| author | Leo Yu-Chi Liang <[email protected]> | 2025-03-24 12:39:43 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-04-14 17:25:54 +0530 |
| commit | 5ab908d6227e6021678cca57d7040d9401a3615e (patch) | |
| tree | 190d1d7c7da706f8557a53d68f106b538ae3f238 /docs | |
| parent | 37eaca4ab33d8a392a30fd69d87d5a4886ce03b7 (diff) | |
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 <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/pmu_support.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/pmu_support.md b/docs/pmu_support.md index 9b48f1ea..b552e673 100644 --- a/docs/pmu_support.md +++ b/docs/pmu_support.md @@ -74,10 +74,10 @@ pmu { <0x10000 0x10033 0x000ff000>; /* For event ID 0x0002 */ 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>, /* For event ID 0xffffffff0000000f - 0xffffffff000000ff */ - <0xffffffff 0x0 0xffffffff 0xffffff0f 0x00000ff0>; + <0xffffffff 0xf 0xffffffff 0xffffff0f 0x00000ff0>; }; ``` |
