Re: [PATCH] KVM: arm64: Explicitly handle BRBE traps as UNDEFINED

From: Marc Zyngier
Date: Sat Jan 11 2025 - 10:02:48 EST


On Thu, 09 Jan 2025 16:38:36 -0600, Rob Herring (Arm) wrote:
> The Branch Record Buffer Extension (BRBE) adds a number of system
> registers and instructions which we don't currently intend to expose to
> guests. Our existing logic handles this safely, but this could be
> improved with some explicit handling of BRBE.
>
> KVM currently hides BRBE from guests: the cpufeature code's
> ftr_id_aa64dfr0[] table doesn't have an entry for the BRBE field, and so
> this will be zero in the sanitised value of ID_AA64DFR0 exposed to
> guests via read_sanitised_id_aa64dfr0_el1().
>
> [...]

Applied to next, thanks!

[1/1] KVM: arm64: Explicitly handle BRBE traps as UNDEFINED
commit: a7f1fa5564be565bd4bc18875bb46ffd0c01d292

Cheers,

M.
--
Without deviation from the norm, progress is not possible.