From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758199AbcLORd7 (ORCPT ); Thu, 15 Dec 2016 12:33:59 -0500 Received: from mx2.suse.de ([195.135.220.15]:50588 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757243AbcLORdz (ORCPT ); Thu, 15 Dec 2016 12:33:55 -0500 Date: Thu, 15 Dec 2016 18:14:22 +0100 From: Borislav Petkov To: Andrew Cooper Cc: Jan Beulich , Juergen Gross , xen-devel , Boris Ostrovsky , Linux Kernel Mailing List Subject: Re: [Xen-devel] Can't boot as Xen dom0 due to commit fe055896 Message-ID: <20161215171422.4blmkcgqduribmbj@pd.tnic> References: <73a4d64b-b139-6579-a560-92311641d6c7@suse.com> <20161215164635.thm7ruio2ddnxszw@pd.tnic> <5852D8A20200007800129CC6@prv-mh.provo.novell.com> <1759e235-b514-7a5d-4eae-e898437bdbd2@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1759e235-b514-7a5d-4eae-e898437bdbd2@citrix.com> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 15, 2016 at 04:59:49PM +0000, Andrew Cooper wrote: > Xen has the same logic as Linux does to look for an uncompressed > microcode blob in the initrd and apply it early in boot. > > If dom0 goes looking, it should see the same microcode version as it has > in its initrd. So it sounds to me like I wanna do this: --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index dd47e60aabf5..e238119b5dff 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1202,6 +1202,7 @@ config X86_REBOOTFIXUPS config MICROCODE bool "CPU microcode loading support" default y + depends on !XEN depends on CPU_SUP_AMD || CPU_SUP_INTEL select FW_LOADER ---help--- -- -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --