Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

From: H. Peter Anvin
Date: Fri Mar 07 2014 - 00:04:08 EST


On 03/06/2014 05:58 PM, Fengguang Wu wrote:
> Hi all,
>
> I find the below WARNING shows up only in
>
> qemu-system-x86_64 -cpu qemu64,+smep,+smap
>

Yes, it is because Qemu doesn't show the AMD-specific SMP CPUID bit.
It's harmless in that sense.

Unfortunately these things are hard to fix in Qemu.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/