Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1311458ybg; Thu, 4 Jun 2020 06:41:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyLex6Zkpee0TziO9L/KkCOoSOhhX9KXhtur8uX0PFXdVxXnIT+ftJM7uZt2YoWhe6OGfj X-Received: by 2002:aa7:d717:: with SMTP id t23mr4200508edq.304.1591278064456; Thu, 04 Jun 2020 06:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591278064; cv=none; d=google.com; s=arc-20160816; b=d3L3Ly75CH+Ua50X/AHr/GUyzbKrKw3l3PdbIDeW0RUF80WfvCiegcCDDvB7805Ztt TKsYLctAZKUocNK8Rn01pNSzccArjLbGIcpFcBiJPj1sxMBrsfVQWuALmk9ZHQvSVj4W Wt3LSS9/EbMMvslY+ZixQMfNJkFyPSE8ZtY0fmZoBB80MS9OXlOaIHyNN7UKm4unH5sm 7w9XUATGEUHmRSTIgRjfORAf7oZBvLwS3DP/Q+n3V53QVCFQ5tgzaD4GfKZHEezRVrwR liI83kgxyeyIPBu/IPaazvJszkqkkaOnI+DtBofrUbOgx/l3VkwvZeVhIIBpbvU4M7J0 d/EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZMaPZF+V7CfNghVvBnaqgqTzlHf579PrFooouexO+HQ=; b=EeD+UkaOK5BsiyRE5EO67BMwvtlfGwcFxsZyvBUyOYHz+PPzSBfZ79gy2dDOpGIwQx QeVcv+nPPjw7amgdk/EJ4+zHt+d3H73nJqOQw5EAYs3Z2s1s80An0J8GVtQOwTa12xbW wtMfUVTVWxR/whds2dWBtoVIjXNT/AWBdOPpzpWpotk6CEgK1HefZFuOYUB5iXxrBMci oUi+OSvnfqCn4Vy48HzBn7pKhGXJaEf5FAgelL1PYNVoCxNdUfrsX5TeHIMc6Kcb/bTa suK9YBbdUJYKkSlp8hrdtqWF+A8pT7Dn4Cwd5pk9lwDMpNOAhPOgnu9xAC9KRVIheuGj rD2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NyXrTY6m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id os18si1571620ejb.390.2020.06.04.06.40.40; Thu, 04 Jun 2020 06:41:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NyXrTY6m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728645AbgFDNgM (ORCPT + 99 others); Thu, 4 Jun 2020 09:36:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728555AbgFDNgM (ORCPT ); Thu, 4 Jun 2020 09:36:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07ED6C08C5C0 for ; Thu, 4 Jun 2020 06:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZMaPZF+V7CfNghVvBnaqgqTzlHf579PrFooouexO+HQ=; b=NyXrTY6mOBpfJPW9mEVjz8IdPn ou/ApnWtA/3t/wrqRoMll4Of8KRD/Kbm4pjgarwN0XSTZp8x2GDHBcNsCiXYoqG+ksI/Z32KHVW7p Y8BwJINAVFWHBlqHIXN6rCuftZ5H7qGIdnpfq0XIwahFYJn0itcQuHL2MzCECHi1jO6m7rm86hrWP SKxdYNQNYDhDlDUifnnyNpU3xUJpS3ueqpHS0ym+F2PHesd3KQpt45i9bsT68Ocp6QwZu46iJ/ZLR X6RWCIlYrTN18Kx0ZZXFm4/i4h8hrIQMPvdv0wFwq+/3EbdznTvulmXu3L6dcZjqaUR+lbhFikJEC uBx5CKCQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgq28-0003ym-1p; Thu, 04 Jun 2020 13:35:48 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 95AF43035D4; Thu, 4 Jun 2020 15:35:45 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3A40620D6E7D9; Thu, 4 Jun 2020 15:35:45 +0200 (CEST) Date: Thu, 4 Jun 2020 15:35:45 +0200 From: Peter Zijlstra To: Paolo Bonzini Cc: Andrew Cooper , Thomas Gleixner , LKML , Andy Lutomirski , X86 ML , "Paul E. McKenney" , Alexandre Chartre , Frederic Weisbecker , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Mathieu Desnoyers , Josh Poimboeuf , Will Deacon , Tom Lendacky , Wei Liu , Michael Kelley , Jason Chen CJ , Zhao Yakui , "H. Peter Anvin" Subject: Re: [patch V9 00/39] x86/entry: Rework leftovers (was part V) Message-ID: <20200604133545.GB3976@hirez.programming.kicks-ass.net> References: <20200521200513.656533920@linutronix.de> <5e68aa83-feac-2aa7-10ee-aebebc60c83e@citrix.com> <20200522211706.GZ2483@worktop.programming.kicks-ass.net> <83474edd-195f-f10b-9fe9-8ee168344e29@citrix.com> <20200604132537.GA3976@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 04, 2020 at 03:29:26PM +0200, Paolo Bonzini wrote: > On 04/06/20 15:25, Peter Zijlstra wrote: > > It being enabled through IA32_DEBUGCTL instead of through DR7 means that > > the current code doesn't disable it and this then means we can have > > nested #DB again. > > /me bangs head on door > > > Who sodding throught this was a good idea ?! What happened to #AC that > > SLD currently uses? > > It was per-core and (presumably) considered unfixable? Yeah, but I don't see how changing the exception vector helps with that. #DB is an IST, and it must be, because of that lovely MOV SS thing. #AC has none of that, _please_ use #AC.