[PATCH v8 02/13] KVM: arm64: PMU: Set the default PMU for the guest before vCPU reset

Sebastian Ott sebott at redhat.com
Mon Oct 23 08:25:38 PDT 2023


On Fri, 20 Oct 2023, Raghavendra Rao Ananta wrote:
> From: Reiji Watanabe <reijiw at google.com>
>
> The following patches will use the number of counters information
> from the arm_pmu and use this to set the PMCR.N for the guest
> during vCPU reset. However, since the guest is not associated
> with any arm_pmu until userspace configures the vPMU device
> attributes, and a reset can happen before this event, assign a
> default PMU to the guest just before doing the reset.
>
> Signed-off-by: Reiji Watanabe <reijiw at google.com>
> Signed-off-by: Raghavendra Rao Ananta <rananta at google.com>

Reviewed-by: Sebastian Ott <sebott at redhat.com>




More information about the linux-arm-kernel mailing list