On Tue, 20 Nov 2018 at 21:26, Aaron Lindsay
<aa...@os.amperecomputing.com> wrote:
>
> Because of the PMU's design, many register accesses have side effects
> which are inter-related, meaning that the normal method of saving CP
> registers can result in inconsistent state. These side-effects are
> largely handled in pmu_op_start/finish functions which can be called
> before and after the state is saved/restored. By doing this and adding
> raw read/write functions for the affected registers, we avoid
> migration-related inconsistencies.
>
> Signed-off-by: Aaron Lindsay <aclin...@gmail.com>
> Signed-off-by: Aaron Lindsay <aa...@os.amperecomputing.com>

Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

thanks
-- PMM

Reply via email to