Commit 561068a
committed
fix: fail physical counter test if phy counter reg isn't in snapshot
Right now the test would pass on stock AL kernels, because without the
commits from 6.4 [1] backported the CNTPCT_EL0 register won't even be
included in the snapshot, and thus the assert is never reached.
Fix this by failing the test if the register isnt found.
[1]: https://lore.kernel.org/all/[email protected]/
Fixes: 525e686
Signed-off-by: Patrick Roy <[email protected]>1 parent 0975cd4 commit 561068a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
0 commit comments