Stephane Eranian 2a606a18cd ACPI: Add perf low power callback
Add an optional callback needed by some PMU features, e.g., AMD
BRS, to give a chance to the perf_events code to change its state before
a CPU goes to low power and after it comes back.

The callback is void when the PERF_NEEDS_LOPWR_CB flag is not set.
This flag must be set in arch specific perf_event.h header whenever needed.
When not set, there is no impact on the ACPI code.

Signed-off-by: Stephane Eranian <eranian@google.com>
[peterz: build fix]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220322221517.2510440-9-eranian@google.com
2022-04-05 10:24:38 +02:00
..
2022-01-17 19:45:38 +01:00
2022-01-12 15:57:59 -08:00
2022-03-25 12:14:39 -07:00
2022-04-05 10:24:38 +02:00
2022-01-12 19:40:31 +01:00
2021-06-23 19:27:50 +02:00
2020-11-09 19:25:20 +01:00
2022-01-22 08:33:37 +02:00
2021-06-07 15:36:46 +02:00
2020-11-09 19:08:06 +01:00
2022-03-25 12:14:39 -07:00
2022-03-21 14:26:28 -07:00
2021-06-25 15:02:43 +02:00
2020-11-09 19:08:06 +01:00