diff options
| author | Inochi Amaoto <[email protected]> | 2023-08-15 17:40:32 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-09-10 11:04:59 +0530 |
| commit | c9a296d0edc9cb64638c026949ef091d7d9e01e9 (patch) | |
| tree | 47409d057895a66169b09f3e901ef523808402ed /lib/utils/timer | |
| parent | 664692f507a8b3a173256e1231dc1aed00eaf249 (diff) | |
platform: generic: allwinner: fix OF process for T-HEAD c9xx pmu
T-HEAD c9xx pmu needs to clear OV bits of MCOUNTEROF in any condition
to avoid unnecessary OF interrupts.
In addition, the S-mode SCOUNTEROF only have OF bit set when the related
bits of MCOUNTERWEN is set, so also configure MCOUNTERWEN to allow kernel
to access valid SCOUNTEROF.
Signed-off-by: Haijiao Liu <[email protected]>
Co-authored-by: Inochi Amaoto <[email protected]>
Signed-off-by: Inochi Amaoto <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
