Re: [PATCH] x86/paravirt: Drop {read,write}_cr8() hooks

From: Juergen Gross
Date: Mon Jul 15 2019 - 09:23:02 EST


On 15.07.19 15:00, Andrew Cooper wrote:
There is a lot of infrastructure for functionality which is used
exclusively in __{save,restore}_processor_state() on the suspend/resume
path.

cr8 is an alias of APIC_TASKPRI, and APIC_TASKPRI is saved/restored
independently by lapic_{suspend,resume}().

Aren't those called only with CONFIG_PM set?


Juergen