Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp12168pxu; Tue, 6 Oct 2020 17:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFMQ8kWvuNU9PvgHxVgE9KUJcgf7zJVXVpPgNxG5d7xmorbDcf58uZbCgliRnNtCPa7xQc X-Received: by 2002:a05:6402:187:: with SMTP id r7mr660303edv.360.1602029309630; Tue, 06 Oct 2020 17:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602029309; cv=none; d=google.com; s=arc-20160816; b=oIIJAfKJqEd7cL3rY72HrjojxJK2wck/oo5/oGxaSUfC9g4RAmfzTBtFflgWrTWWXK GKDYF4B4OOlecEahpgKt2sFUPp1zfQOJulTAMtceAExwmex4aKWyffVQqCPwZ4RzOeqy P1wSMIWxQtftilfKFjxpuy7vWFLFc1te2dzfDDDEfIlrKM3xDLsjhGwv+Q5kR8qOGcKc C3klhZMrUisy7mdAUW6ah5RVyQvkBDO2Fu/WH4AUOjlz4fWl6z68SXAt+hK5OKj8kJBB 5gAd/HzFvXqqeUNklJ05720pk6/ywpMtHTWlsoE/jM6nV5wxBmngSMdaOIBtT4yw+n6Z y+ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=mW+mAWf2K8zzBbjR/iKAVKXry2QkcLsACYutic4djF4=; b=D0y35iAKDkU704gD0ZiGW02Zw/X+gPwL5x725nTo5qcXz3CEy5xTz39DiGsB03T8Ux bgYvJBdu6JtBtZokVcI1DCFXNovi+MWzoyZMfHKGAzJxgPuL09tONi7ijVjNJSMPQWxN jbImLvyNw8w+CxpX0uagMfOKEpsX/VgP0J7z6HkQyJFa9MIyzSA4m1vqaWjWFTOP3myO cM8bVeS5vcT61eN/8zo9NfIsr5GpQnGSUAYQ5M/P8BR8qXp669RehJLHamVul/T0gwk+ Ff3IxfBY0Ev891XLGSDnNbkAzKlsismrDz/pJ4stOrAKP2WhNF7E3Lz2fWLWJl+pWpMj VlaA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si109611edy.315.2020.10.06.17.08.04; Tue, 06 Oct 2020 17:08:29 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726740AbgJGAE1 (ORCPT + 99 others); Tue, 6 Oct 2020 20:04:27 -0400 Received: from mga11.intel.com ([192.55.52.93]:4470 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbgJGAE1 (ORCPT ); Tue, 6 Oct 2020 20:04:27 -0400 IronPort-SDR: eTCcfybZeErdyzzx74hol+yEXs0/oKJOvzWyv9+Jo4nzgvT0d9vgvAXpEdWytoE57ttzWpwd3a pL8rjc/+MIqA== X-IronPort-AV: E=McAfee;i="6000,8403,9766"; a="161364552" X-IronPort-AV: E=Sophos;i="5.77,344,1596524400"; d="scan'208";a="161364552" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 17:04:26 -0700 IronPort-SDR: KmB5ByB6QIQHPVZGEN9baEpIgMmRsc5mNFre9CmO3c7LXzyQTKxygNnRE4nbJL7+TOs0tfCaYp GZdWiqfeolGA== X-IronPort-AV: E=Sophos;i="5.77,344,1596524400"; d="scan'208";a="418472064" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.160]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 17:04:26 -0700 Date: Tue, 6 Oct 2020 17:04:24 -0700 From: Sean Christopherson To: Vivek Goyal Cc: Vitaly Kuznetsov , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, virtio-fs-list , pbonzini@redhat.com Subject: Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error Message-ID: <20201007000424.GD28981@linux.intel.com> References: <20201006134629.GB5306@redhat.com> <877ds38n6r.fsf@vitty.brq.redhat.com> <20201006141501.GC5306@redhat.com> <874kn78l2z.fsf@vitty.brq.redhat.com> <20201006150817.GD5306@redhat.com> <871rib8ji1.fsf@vitty.brq.redhat.com> <20201006161200.GB17610@linux.intel.com> <87y2kj71gj.fsf@vitty.brq.redhat.com> <20201006171704.GC17610@linux.intel.com> <20201006173527.GG5306@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201006173527.GG5306@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 06, 2020 at 01:35:27PM -0400, Vivek Goyal wrote: > On Tue, Oct 06, 2020 at 10:17:04AM -0700, Sean Christopherson wrote: > > [..] > > > > Note, TDX doesn't allow injection exceptions, so reflecting a #PF back > > > > into the guest is not an option. > > > > > > Not even #MC? So sad :-) > > > > Heh, #MC isn't allowed either, yet... > > If #MC is not allowd, logic related to hwpoison memory will not work > as that seems to inject #MC. Yep. Piggybacking #MC is undesirable for other reasons, e.g. adds a "hardware" dependency for what is really a paravirt feature.