[PATCH] arm64: KVM: Enable support for Cortex-A72

Peter Maydell peter.maydell at linaro.org
Wed Aug 24 03:54:50 PDT 2016


On 24 August 2016 at 11:19, Suzuki K Poulose <Suzuki.Poulose at arm.com> wrote:
> On 24/08/16 10:23, Shannon Zhao wrote:
>> Yes, this works for qemu with "-cpu host". But if it specifies the cpu
>> type with "-cpu cortex-a72". It will fail without this patch.
>
>
> Thats because you specify the expected target from the kernel in Qemu.

That's because if the user said "I really really want a cortex-A72 in
the guest" then we need to tell the kernel "really must be an A72"
(and the kernel can then fake it up in some hypothetical future world
where we can simulate A72 on non-A72 h/w). If the user is happy
with "whatever the kernel's best effort is" that's what -cpu host does.
If there's no way to tell the kernel "must be an A72" we fail the command
because we can't do what the user asked for.

thanks
-- PMM



More information about the linux-arm-kernel mailing list