Commit 7bf1001
perf: arm_v7_pmu: Don't disable counter in (armv7|krait_|scorpion_)pmu_enable_event()
Currently (armv7|krait_|scorpion_)pmu_enable_event() start by disabling
the event counter it has been asked to enable. This should not be
necessary as the counter (and the PMU as a whole) should not be active
when *_enable_event() is called.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Tested-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250218-arm-brbe-v19-v20-5-4e9922fc2e8e@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>1 parent 7a53877 commit 7bf1001
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
860 | | - | |
861 | | - | |
862 | 860 | | |
863 | 861 | | |
864 | 862 | | |
| |||
1450 | 1448 | | |
1451 | 1449 | | |
1452 | 1450 | | |
1453 | | - | |
1454 | | - | |
1455 | 1451 | | |
1456 | 1452 | | |
1457 | 1453 | | |
| |||
1762 | 1758 | | |
1763 | 1759 | | |
1764 | 1760 | | |
1765 | | - | |
1766 | | - | |
1767 | 1761 | | |
1768 | 1762 | | |
1769 | 1763 | | |
| |||
0 commit comments