Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10110297pxu; Tue, 29 Dec 2020 14:17:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPRgIc3AISqi9eMc8JteMfeirPBRYTN4GMKjhLFa7VL4o7sO6ADM3KPSfTr6yGKk0MvOnB X-Received: by 2002:a05:6402:229c:: with SMTP id cw28mr47976422edb.285.1609280240255; Tue, 29 Dec 2020 14:17:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609280240; cv=none; d=google.com; s=arc-20160816; b=YQgH+vwBB+KjQkdHDFWL7VqausR42C+V4LLZaSxZQbpGIAyE0l9qQ8mEq5NDbjijre 6UJnLlxmJqyoRQrxyQ9uc9bHeUxBc0+poI+aDVPc5XJlcvmzEzqwbpGx3n4MgODgbl3I w95vbjGgI1fAC88jmz+V3mwasBjUYazmOTTRTd7w12YMyjIUWZa+hmftqZrzcPdYBFpR fwosHu03h/BrmechXA4EuLsgNM+S2bcSh/ciOxLzkDpXNZ1T55Ce6APyz9D1ne2WagG7 VKXUBSd18qwFSJvuQ/mQxQuRrsaaCnGDjqIeZ+JsbcXCxezBaBXBGQwROe99lquKqJ9Y RD2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PizDOlpVsbZH64i8GikIjYAR5gm+hOoRIX/6bX40NPY=; b=UldaBWvmwzzRWBg9NeZwgRiKQ/TYpfSDAIjOGE0HViPTH1Jup6MCkLT3wZc0LvDtkK oAssKHyQjRMi+eisVhi0FwpOU2JdxsTziKjAorVLzAkLgy51/v7ZIVKOxJ/7DuktiPxQ nYkzsrsJ8FQnaoOeSv4IZY2qCk8fa47nFsi+vPNrfmt4gpzSjP3L9x00vuE5KC48QXBd Vkr/Mx+LtYD9HC5piD9jDnFITZl9L/YhRODDZjKJNUcGmrhD6iVD8QuMeR2MWetE6ULK 8kGGfyWbISbqPnNjiEBY6XBuYp/+YO09FQaiDaAxdt7LF2zlpTIUKRbE9y+1NNJSpkSu 1H0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tIkFpkAY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o25si21371969ejg.728.2020.12.29.14.16.58; Tue, 29 Dec 2020 14:17:20 -0800 (PST) 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=pass header.i=@google.com header.s=20161025 header.b=tIkFpkAY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbgL2WO7 (ORCPT + 99 others); Tue, 29 Dec 2020 17:14:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgL2WO6 (ORCPT ); Tue, 29 Dec 2020 17:14:58 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21FF7C0613D6 for ; Tue, 29 Dec 2020 14:14:18 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id s15so7740469plr.9 for ; Tue, 29 Dec 2020 14:14:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PizDOlpVsbZH64i8GikIjYAR5gm+hOoRIX/6bX40NPY=; b=tIkFpkAYvxjSJbAi6xFgMwqFfQ1saKG9rOj6RgONZ75cs96TTDk3U4q+QkAzIWv+nL jjStgb0rHgjLB2LmJ/6FZcjzd0V4XfBAtXZm+P6Y5NfOhxwPrnsNxXC6tyl5eO4waGxy xCPwIbGAuh/eipyySHHCNgd4f7wveAwpY00nt9F2ho5JVq2OcNFuSerHcv96O/MJeveq kvL/c4a1s8SDktbqBX8RBhp928WpSjoXYupqCttcYtDJa6oHJFXbKZI7K5BhVNSrmfky y8vR3cDDnc3LDuyPA2fkD1CS+umzgKxHXk2wUeRRFC+OYR0beisUadB2OeI4eyPNbyc7 x8RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PizDOlpVsbZH64i8GikIjYAR5gm+hOoRIX/6bX40NPY=; b=WmZn8quEKembtXwGfCgHJfgWEFq2Iyqxom+DBBEjDOkPuw1L4scKX+y/EB3lWQzIXP MimhyKSbdh3Zbxx8GjLzoInRUxagcL/AkC59YO25/zQGcnfTx8Ju8cMlpFnqTR09bscx QgRh6ISUpqVvHxIMUMILddiHRIRjgwdAUUhkvFDRa9Tt3CuxnHbPLmuEanHTClRpm8i5 O5g9Ck1JNUY0zR3ujEW9Z2cW8JQYTha6xzmH1wiTBXrADjhyaPfE+PLeu84WalB0Z52W YZ23NHWWKhmavmJsjxRz41DGN121p1LTqWO1g42XEC2ykMeAW70VLxqlplaPwVvdUl1R T1Gw== X-Gm-Message-State: AOAM532JNYVmNfrBOj5U9lqftfgcUPC3KVJegCWvszF6LcOIQo89RSHN BiwuDNfamIXSwo2jk86zf7rt/g== X-Received: by 2002:a17:902:7c04:b029:db:e44d:9366 with SMTP id x4-20020a1709027c04b02900dbe44d9366mr50594161pll.51.1609280057285; Tue, 29 Dec 2020 14:14:17 -0800 (PST) Received: from google.com ([2620:15c:f:10:1ea0:b8ff:fe73:50f5]) by smtp.gmail.com with ESMTPSA id 4sm4346037pjn.14.2020.12.29.14.14.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 14:14:16 -0800 (PST) Date: Tue, 29 Dec 2020 14:14:10 -0800 From: Sean Christopherson To: Uros Bizjak Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Krish Sadhukhan Subject: Re: [PATCH v3] KVM/x86: Move definition of __ex to x86.h Message-ID: References: <20201221194800.46962-1-ubizjak@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 28, 2020, Sean Christopherson wrote: > On Mon, Dec 21, 2020, Uros Bizjak wrote: > > Merge __kvm_handle_fault_on_reboot with its sole user > > and move the definition of __ex to a common include to be > > shared between VMX and SVM. > > > > v2: Rebase to the latest kvm/queue. > > > > v3: Incorporate changes from review comments. > > The v2, v3, ... vN patch history should go below the '---' so that it doesn't > need to be manually stripped when applying. > > > Cc: Paolo Bonzini > > Cc: Sean Christopherson > > Signed-off-by: Uros Bizjak > > Reviewed-by: Krish Sadhukhan > > --- > > vN stuff down here > > > arch/x86/include/asm/kvm_host.h | 25 ------------------------- > > arch/x86/kvm/svm/sev.c | 2 -- > > arch/x86/kvm/svm/svm.c | 2 -- > > arch/x86/kvm/vmx/vmx.c | 4 +--- > > arch/x86/kvm/vmx/vmx_ops.h | 4 +--- > > arch/x86/kvm/x86.h | 24 ++++++++++++++++++++++++ > > 6 files changed, 26 insertions(+), 35 deletions(-) > > Reviewed-by: Sean Christopherson Paolo, can you hold off on queuing this patch? Long story short, this jogged my memory for something tangentially related and I ended up with series that kills off __ex() / ____kvm_handle_fault_on_reboot() completely. It's coded up, I just need to test. I'm OOO for a few days, will hopefully get it posted next week. Thanks!