Re: [PATCH v2] kvm: x86: zero EFER on INIT

From: Radim KrÄmÃÅ
Date: Mon Oct 19 2015 - 10:48:58 EST


2015-10-19 11:35+0200, Paolo Bonzini:
> Not zeroing EFER means that a 32-bit firmware cannot enter paging mode
> without clearing EFER.LME first (which it should not know about).
> Yang Zhang from Intel confirmed that the manual is wrong and EFER is
> cleared to zero on INIT.

Also in APM v2, "Table 14-1. Initial Processor State.".

>
> Fixes: d28bc9dd25ce023270d2e039e7c98d38ecbf7758
> Cc: stable@xxxxxxxxxxxxxxx
> Cc: Yang Z Zhang <yang.z.zhang@xxxxxxxxx>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---

Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>
--
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/