Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1954234AbdDYU1g (ORCPT ); Tue, 25 Apr 2017 16:27:36 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37390 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1950225AbdDYU10 (ORCPT ); Tue, 25 Apr 2017 16:27:26 -0400 Date: Tue, 25 Apr 2017 22:27:12 +0200 From: Borislav Petkov To: Andrew Cooper Cc: Juergen Gross , x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, hpa@zytor.com, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, tglx@linutronix.de Subject: Re: [Xen-devel] [PATCH] x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS if forced to zero Message-ID: <20170425202712.63dauw5jtkvlm6sc@pd.tnic> References: <20170425180014.7533-1-jgross@suse.com> <20170425182443.3ab75tkfosol2yk4@pd.tnic> <20170425191809.uvdt4jimnbvqbyf2@pd.tnic> <4dcc2a92-5d58-67df-1bd4-8f36cbaa16b4@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4dcc2a92-5d58-67df-1bd4-8f36cbaa16b4@citrix.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 555 Lines: 16 On Tue, Apr 25, 2017 at 09:17:13PM +0100, Andrew Cooper wrote: > The problem (for all ring-deprivileged virtuailsation; not just Xen PV), > is that I know what that that bug flag is for. I'm asking whether the xen guest boot sets a flag early - like XENPV, for example - which can differentiate between baremetal and virt boot in a fairly generic manner so that we don't set that bug flag then instead of the set and then clear dance we do currently. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.