Re: [PATCH] target/riscv: fix invalid riscv, event-to-mhpmcounters entry

2023-04-04 Thread Alistair Francis
On Wed, Apr 5, 2023 at 3:35 AM Conor Dooley wrote: > > From: Conor Dooley > > dt-validate complains: > > soc: pmu: {'riscv,event-to-mhpmcounters': > > [[1, 1, 524281], [2, 2, 524284], [65561, 65561, 524280], > > [65563, 65563, 524280], [65569, 65569, 524280], [0, 0, 0], [0, 0]], > > pmu: riscv,ev

Re: [PATCH] target/riscv: fix invalid riscv, event-to-mhpmcounters entry

2023-04-04 Thread Alistair Francis
On Wed, Apr 5, 2023 at 3:35 AM Conor Dooley wrote: > > From: Conor Dooley > > dt-validate complains: > > soc: pmu: {'riscv,event-to-mhpmcounters': > > [[1, 1, 524281], [2, 2, 524284], [65561, 65561, 524280], > > [65563, 65563, 524280], [65569, 65569, 524280], [0, 0, 0], [0, 0]], > > pmu: riscv,ev

[PATCH] target/riscv: fix invalid riscv,event-to-mhpmcounters entry

2023-04-04 Thread Conor Dooley
From: Conor Dooley dt-validate complains: > soc: pmu: {'riscv,event-to-mhpmcounters': > [[1, 1, 524281], [2, 2, 524284], [65561, 65561, 524280], > [65563, 65563, 524280], [65569, 65569, 524280], [0, 0, 0], [0, 0]], > pmu: riscv,event-to-mhpmcounters:6: [0, 0] is too short There are bogus 0 entri