aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2022-03-22 15:15:12 -0700
committerPeter Zijlstra <[email protected]>2022-04-05 10:24:38 +0200
commit2a606a18cd672a16343d146a126721b34cc6adbd (patch)
treede6c1658adb954ac20819332cf1e033fd7cb8cf2 /lib/mpi/mpi-sub-ui.c
parentcc37e520a236069c0de0e7ea455082fa11c73b12 (diff)
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 <[email protected]> [peterz: build fix] Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions