linux-stable/drivers/acpi/arm64
Yicong Yang 0242737dc4 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
Some HiSilicon SMMU PMCG suffers the erratum 162001900 that the PMU
disable control sometimes fail to disable the counters. This will lead
to error or inaccurate data since before we enable the counters the
counter's still counting for the event used in last perf session.

This patch tries to fix this by hardening the global disable process.
Before disable the PMU, writing an invalid event type (0xffff) to
focibly stop the counters. Correspondingly restore each events on
pmu::pmu_enable().

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20230814124012.58013-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2023-08-15 12:50:53 +01:00
..
agdi.c ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init() 2023-06-08 08:07:51 +01:00
apmt.c Merge branches 'for-next/kpti', 'for-next/missing-proto-warn', 'for-next/iss2-decode', 'for-next/kselftest', 'for-next/misc', 'for-next/feat_mops', 'for-next/module-alloc', 'for-next/sysreg', 'for-next/cpucap', 'for-next/acpi', 'for-next/kdump', 'for-next/acpi-doc', 'for-next/doc' and 'for-next/tpidr2-fix', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2023-06-23 18:32:20 +01:00
dma.c ACPI: scan: Support multiple DMA windows with different offsets 2022-09-24 18:39:21 +02:00
gtdt.c acpi/arm64: fix next_platform_timer() section mismatch error 2021-10-12 17:41:19 +01:00
init.c ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init() 2023-06-08 08:07:51 +01:00
init.h ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init() 2023-06-08 08:07:51 +01:00
iort.c perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 2023-08-15 12:50:53 +01:00
Kconfig ACPI: ARM Performance Monitoring Unit Table (APMT) initial support 2022-11-07 14:02:11 +00:00
Makefile ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init() 2023-06-08 08:07:51 +01:00