Commit 188dc759 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by openeuler-sync-bot
Browse files

arm64/mpam: implement CPU_PM notifier

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7PP9I



--------------------------------

When a CPU is suspended (either through suspend-to-RAM or CPUidle),
The content of MPAM context registers can be lost, as PARTID and PMG
is reserved already in this-cpu variable pqr_state, so restore it
on power-up process.

Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
(cherry picked from commit b6104376)
parent 7127644a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment