Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753098Ab2KYNH4 (ORCPT ); Sun, 25 Nov 2012 08:07:56 -0500 Received: from gate.crashing.org ([63.228.1.57]:60135 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058Ab2KYNHz (ORCPT ); Sun, 25 Nov 2012 08:07:55 -0500 Subject: Re: [PATCH 1/2] [for 3.4] drivers/virt: the Freescale hypervisor driver doesn't need to check MSR[GS] Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <1337281828-31120-1-git-send-email-timur@freescale.com> Date: Sun, 25 Nov 2012 07:07:31 -0600 Cc: , Scott Wood , Anatolij Gustschin , , Benjamin Herrenschmidt , Content-Transfer-Encoding: 7bit Message-Id: References: <1337281828-31120-1-git-send-email-timur@freescale.com> To: Timur Tabi X-Mailer: Apple Mail (2.1278) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 902 Lines: 26 On May 17, 2012, at 2:10 PM, Timur Tabi 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 > --- > drivers/virt/fsl_hypervisor.c | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) applied to next - k -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/