Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2803357ybh; Mon, 9 Mar 2020 13:22:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuK50BTEz8t69QzpaqXsgOaQOIMbfW9wsAvjb2ryK0q5FP3R9u/o0gmexyzKPePVK8RfdqG X-Received: by 2002:a9d:73c7:: with SMTP id m7mr740764otk.69.1583785375143; Mon, 09 Mar 2020 13:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583785375; cv=none; d=google.com; s=arc-20160816; b=g+AZlXVJgyakxvmB02IuYijzz9FeRLaA9GLRD9u5EoNCHRr/wJSxBH9aKhu9ulBRJQ Merp2pO6DvisfGcr8yBfwvZeDL0QCWEHb7ZDAu/OqAKRZ5LwYDcodTkAYwhcIXYFH4UY PaNQvi3KUMEQLsS606/CU07tNX+tTQCJ22bAxPpH2Ipc30fNb3XRg+6kKk0faHXDDvUk vl3gBEOSbqtd+YheF6Se/slmIo5l1JhTXrVYi4zTXOtOA3Kec2m4x50bV3oexhhOwdxC R9rV60XLtxbkeU4k/SQvw6/rnMEwDxfpPtSZ2eU3PLX5jWWuuMZmaACBWPueHsy8fiyu UHgw== 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=1IPYKY5i0WcOP6+Mj4yJxK/haVfh2zKAl1BsGlfBYoo=; b=V6rUGtnPhufLmYk4dj2Cw1agpoUpG6d3fijmCNb1IMuszfUXwLD1aFrF33flbHQozY ApQUaDzWiDAYZwsqYrPmM3YoVBejWGRdg4GHs6+yG2Zd0j15pwqkkacEZgkUYQanRqq/ BaWNSCRG2cPftmtGAAHe1WndGeHQlXMj31P/PYxb3G7c807ReVUMK1aADLbMBkShV+YA RG9bqQcz/UBXMsYUJZJP0riaw71yyKXWZd0/tsbVwWmJiyqD5lhGGFSvPopb0Gz6FB10 M9GY4gb8frV4K5p4oTy8UGe0TnwEVKYGV4vLwDEWLawQ5J02sracaciROvXy2b/cEV29 w2Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nI31IECV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p7si6441157ota.299.2020.03.09.13.22.42; Mon, 09 Mar 2020 13:22:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nI31IECV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgCIUWT (ORCPT + 99 others); Mon, 9 Mar 2020 16:22:19 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44906 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbgCIUWT (ORCPT ); Mon, 9 Mar 2020 16:22:19 -0400 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=1IPYKY5i0WcOP6+Mj4yJxK/haVfh2zKAl1BsGlfBYoo=; b=nI31IECVSTE8x6hUOJdpZRMUn8 PMBZ94A1ZJeMRVcmZcKK1/D7DCQn+99kHR7UoTYlAQQInp/PWot3vgF/mIBFNR8sBOZtyp/hzOqfh uRlbmZpJL9fTmFixakxdQ7VCkcuI9tQhFxhQnK2Pun61Cc6eNKcsgNppD2DMOO1QWgcMNiiSFtNZI opI3w1chWcm6Uh5Fz/iWXBFjxLbLQ+dmQqb+qbtWRgO+/n2bZcV0MioIGAbt3y0QHD5JAzBU+RtJT 5ilbIDNGF566RvgE1KB1VyzJku4UxZm1i8gTMArg6REiAGEXcgKHQ4r+atYTD1DCq8M2ckTByzowl w0DD3IVw==; 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 1jBOum-0003m4-OA; Mon, 09 Mar 2020 20:22:16 +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 35E553011E0; Mon, 9 Mar 2020 21:22:15 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1EF51214344E6; Mon, 9 Mar 2020 21:22:15 +0100 (CET) Date: Mon, 9 Mar 2020 21:22:15 +0100 From: Peter Zijlstra To: Thomas Gleixner Cc: Andy Lutomirski , Paolo Bonzini , LKML , X86 ML , kvm list , stable Subject: Re: [PATCH v2] x86/kvm: Disable KVM_ASYNC_PF_SEND_ALWAYS Message-ID: <20200309202215.GM12561@hirez.programming.kicks-ass.net> References: <87ftek9ngq.fsf@nanos.tec.linutronix.de> <87a74s9ehb.fsf@nanos.tec.linutronix.de> <87wo7v8g4j.fsf@nanos.tec.linutronix.de> <877dzu8178.fsf@nanos.tec.linutronix.de> <37440ade-1657-648b-bf72-2b8ca4ac21ce@redhat.com> <871rq199oz.fsf@nanos.tec.linutronix.de> <87d09l73ip.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d09l73ip.fsf@nanos.tec.linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 08:05:18PM +0100, Thomas Gleixner wrote: > Andy Lutomirski writes: > > I'm okay with the save/restore dance, I guess. It's just yet more > > entry crud to deal with architecture nastiness, except that this > > nastiness is 100% software and isn't Intel/AMD's fault. > > And we can do it in C and don't have to fiddle with it in the ASM > maze. Right; I'd still love to kill KVM_ASYNC_PF_SEND_ALWAYS though, even if we do the save/restore in do_nmi(). That is some wild brain melt. Also, AFAIK none of the distros are actually shipping a PREEMPT=y kernel anyway, so killing it shouldn't matter much. If people want to recover that, I'd suggest they sit down and create a sane paravirt interface for this.