Hi Zenghui,
On 20.12.22 08:14, Zenghui Yu wrote:
On 2022/12/20 6:08, Alexander Graf wrote:
We currently only support GICv2 emulation.
Before looking into it, I think it's worth finalizing the GIC version in
the hvf case - only v2 is allowed and fail early if user selects the
unsupported versions. Currently finalize_gic_version() does not deal
with hvf at all.
Currently finalize_gic_version() treats HVF the same as TCG, which is
incorrect. However, with this patch applied, they happen to match.
I don't think it's worth changing the finalize_gic_version()
implementation to reflect the gicv2 only state for HVF. Instead, let's
rather get GICv3 support in and then add explicit handling for HVF on top.
Alex