Re: [PATCH 1/2] [for 3.4] drivers/virt: the Freescale hypervisordriver doesn't need to check MSR[GS]

From: Tabi Timur-B04825
Date: Mon Oct 15 2012 - 11:03:07 EST


On Thu, May 17, 2012 at 2:10 PM, Timur Tabi <timur@xxxxxxxxxxxxx> wrote:
> The MSR[GS] bit indicates whether the kernel is running in processor guest
> state mode, but such a check is unnecessary. The driver already checks
> for the /hypervisor node and the fsl,hv-version property, so it already
> knows that it's running under the Freescale hypervisor.
>
> There is nothing in the driver that inherently requires guest state,
> anyway.
>
> This fixes a break that can occur in some randconfig builds.
>
> Signed-off-by: Timur Tabi <timur@xxxxxxxxxxxxx>
> ---

Kumar, I posted this patch back in May. Can you apply it, please? It
fixes a build break.

--
Timur Tabi
Linux kernel developer at Freescale
--
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/