Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751367AbaKYU0e (ORCPT ); Tue, 25 Nov 2014 15:26:34 -0500 Received: from cantor2.suse.de ([195.135.220.15]:52765 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbaKYU0d (ORCPT ); Tue, 25 Nov 2014 15:26:33 -0500 Date: Tue, 25 Nov 2014 21:26:28 +0100 From: Borislav Petkov To: Boris Ostrovsky Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Richard Hendershot , Konrad Rzeszutek Wilk , David Vrabel Subject: Re: [PATCH 3.17 100/141] x86, microcode: Fix accessing dis_ucode_ldr on 32-bit Message-ID: <20141125202628.GG4128@pd.tnic> References: <20141119205150.700188369@linuxfoundation.org> <20141119205153.916605840@linuxfoundation.org> <5474C67A.7040200@oracle.com> <20141125182410.GB4128@pd.tnic> <5474CDCE.6040000@oracle.com> <20141125184351.GC4128@pd.tnic> <5474D0A1.2020600@oracle.com> <20141125190849.GF4128@pd.tnic> <5474D86E.6020608@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5474D86E.6020608@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 25, 2014 at 02:28:46PM -0500, Boris Ostrovsky wrote: > You'd have to decide at runtime --- many baremetal systems are > compiled with PARAVIRT. Right, but the microcode loader is not used at all on PV, right? If so, I'd like to add a arch_something_blabla_disabled_loader() function which is run in the loader init path and returns false on baremetal and a true when running as a xen guest. I'm not sure how the detection should be done, though... CPUID with the hypervisor leaf? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- 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/