Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp637983lqo; Fri, 10 May 2024 09:59:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYPAM0o/kV7X6j469zeE60LekOVmZ82FkeX+e86zfxuR40HXlNB5KqtfhBz6+Aq+BQ/x7oxBeYB+K3bd8ig9b/o5lr/gFt4ysSbxFBWQ== X-Google-Smtp-Source: AGHT+IHYe1vPt6EKXWoyfJDgIAQ5+STU6Mjsxlexjj7aQYdYvbotveFOIClOqd4UfYwWNGoaqOEl X-Received: by 2002:a05:620a:4044:b0:790:abda:149c with SMTP id af79cd13be357-792bbdd9e21mr1052212085a.11.1715360398453; Fri, 10 May 2024 09:59:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715360398; cv=pass; d=google.com; s=arc-20160816; b=gJVi+PHaXoVfYXvo6KbTA66L8DDijX9EVq0jckJcisbYVQz8jKKzniJCdRZH5cIi20 XfcPKG0KgDLKKED+KKrODwivfNEN6diWQAajvOWIA5iBjqFMBG6B1tqdSUOEvFmqw22z bHjs2wDAqnz9QUCycio3AnmYwCvGLHShiqcgU8BaQ7XgnVgzHb5Dt76Q1WQDBju7spj+ JJhV9/mKNN/IgRgA1Uxfv4QyouvSQ62KcbJqdgbIhvnTuYT9yLjP6rZokeAquYN+SwrS KpC2tJab1RtkFK/tgTaPOxPumisBiGL0658GShuMNbjskOruaQ/0Fq5xUJcIHOa2vFLC 7n4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=f7sEcl6o9eRoGhOwSAHXKaKKxu23m+YNGmYQyYZJgpk=; fh=M9EK2RJhMQ/cyqDU+jDPLyiXfUtSbC9WOJjjRQ1ClnA=; b=d9DSBu/7TTnd37jewVQ6Es8jFSnt2dHObiAAYViJFDJCTE8ZFbeA4q4AzfeF71PGu8 GdemTReFv8G7V1eNElPqZoAPpbfVctu0ely9U+3lX5d1qnclhMjDjio1CYaV8con2YrJ +USo4f5FKnrgYw7eQ1dGRqck11bwIhkLgD/LQoCXt/2Bt6CwpTgTgrv5x5SXQ00pVjrS boHKQYatAKZD+gQNd37WxQAOCEN5GjExnsaMEMRZkDMICQVUx9deXJaK4QPLqF3FgbiG 1CEDsWQyVr/Ao6i9jWs4WRQlr+uIg26gIENAueYavkETBgbFNem375ODv0Jzr/pnlMND u+uA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IvCsnucj; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-176034-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf30a7besi382345185a.294.2024.05.10.09.59.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 09:59:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176034-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IvCsnucj; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-176034-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 21DC71C222BD for ; Fri, 10 May 2024 16:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2591418654; Fri, 10 May 2024 16:59:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IvCsnucj" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CEB0168BD for ; Fri, 10 May 2024 16:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715360386; cv=none; b=HVf643d0QD6Ye1mfftxf70qkOUOAo+Gtyry2FJO3qHCYM+lNiWmePV5MqDNHzGPFvUx3/CgMibWX0mwVrBEOMBHbJgSJs80EBcPFBsxKWQb6gj4XJMxMEy6GFoFfcCvk72E6oTEJ/ecBjK5UWQE9t/pzLz9vXgQ1umAK/2XipY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715360386; c=relaxed/simple; bh=mrAxYLN7YaKXLmK0pnZRcR4iGVsgpjNfTJqetsyp/K4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pqR4xBAEUQROzuzvxdpS/gd/dBZKdqcLIk1r/kMM7HPq29ozDdD9EYSd4JTy6xJSD4QPbMqTZLQbOVEMYd1EEpolfJYn57XruL4MMNi9j0xumT/fR/L/CzUUl25aIAUZ4DTuk84HrclxKaL70kBEdwyyml1ZfIoI0G59KBf+2WM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IvCsnucj; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715360384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=f7sEcl6o9eRoGhOwSAHXKaKKxu23m+YNGmYQyYZJgpk=; b=IvCsnucjqAjUgKz4MPAoLQasbLiz3zftf7a5C/zolYGJQi3IvX0HTzaS0ms4pqwOl3PEXn vhb1+/EGEMQEpd224QQiaF1Iu599oVDeeHAmxG43v80CiJlbWhwHUjWWomgISenNRJrB4e f8eO7PntCNUUom31vt2Wpeb9B1p7iFA= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-678-CTk5cbB7NpedeCUnJJVLzw-1; Fri, 10 May 2024 12:59:42 -0400 X-MC-Unique: CTk5cbB7NpedeCUnJJVLzw-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a5a05c1efa7so81957466b.1 for ; Fri, 10 May 2024 09:59:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715360381; x=1715965181; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f7sEcl6o9eRoGhOwSAHXKaKKxu23m+YNGmYQyYZJgpk=; b=Pjt7GdXHaPEh9W/zt84TiNqOnb5p6mCUtpf3GQR51GIlf7bnLFG8hEi9ynlrT6y9fx b0Wnojsnc0hBxihMF/rbPPfFNxpCWAIsfnW4TXRmFGrztG/O/SzlqV3a2pe3m0j5PZPH bwmYqzRRwksDWO6ju8oFu9yTbevPWGOMjvmgak4qswi4NyRdaVqvvjIdwEgRKRTtwy46 sHeVhTSVeUKX++xPUPXWQtP0gLimicCNHQ0TpShIhnypX0nkG2MAAuuCzM3+okJvK/OK YyoYMU405gDTlxY6zmTk2JHd+Fmful+7RG+b+KyXWEx8wRBUyrpiyL9VzwELNAUjSstx apzQ== X-Forwarded-Encrypted: i=1; AJvYcCVuP3Wh4zQgLCg2J6KDeLGcGbAv0PY0VqWl/tugVWhxV/OeZy+NpfgJwmjyrPbBEKz3DcrGUdbOPT1nz+78w/C4KNSeRgZdS7/8U43F X-Gm-Message-State: AOJu0YyrcqP7WtEhAhKvfduqqBIqGiucPnXZL5e3MpDgEElmJQ9OVxmP sxklej5kwfvhcJQl5Lql+DKQs211+KuW7KpRRY4/BIrkcd4grbVJKwzbCQMIMLcJkL1YUbyrBRs UM1GeV2Aqe4CFegxXhxIQZVSLbOaile3MuSkmRpwI5bf/BftZYqyME18yFnzN6Q== X-Received: by 2002:a50:c012:0:b0:56d:f3f3:f61f with SMTP id 4fb4d7f45d1cf-5734d597da8mr3087135a12.9.1715360381396; Fri, 10 May 2024 09:59:41 -0700 (PDT) X-Received: by 2002:a50:c012:0:b0:56d:f3f3:f61f with SMTP id 4fb4d7f45d1cf-5734d597da8mr3087084a12.9.1715360380864; Fri, 10 May 2024 09:59:40 -0700 (PDT) Received: from [192.168.10.48] ([151.95.155.52]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5735a2490casm559601a12.32.2024.05.10.09.59.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 May 2024 09:59:39 -0700 (PDT) Message-ID: Date: Fri, 10 May 2024 18:59:37 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v15 22/23] KVM: SEV: Fix return code interpretation for RMP nested page faults To: Michael Roth Cc: Sean Christopherson , kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, linux-crypto@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, jroedel@suse.de, thomas.lendacky@amd.com, hpa@zytor.com, ardb@kernel.org, vkuznets@redhat.com, jmattson@google.com, luto@kernel.org, dave.hansen@linux.intel.com, slp@redhat.com, pgonda@google.com, peterz@infradead.org, srinivas.pandruvada@linux.intel.com, rientjes@google.com, dovmurik@linux.ibm.com, tobin@ibm.com, bp@alien8.de, vbabka@suse.cz, kirill@shutemov.name, ak@linux.intel.com, tony.luck@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, alpergun@google.com, jarkko@kernel.org, ashish.kalra@amd.com, nikunj.dadhania@amd.com, pankaj.gupta@amd.com, liam.merwick@oracle.com, papaluri@amd.com References: <20240501085210.2213060-1-michael.roth@amd.com> <20240510015822.503071-1-michael.roth@amd.com> <20240510015822.503071-2-michael.roth@amd.com> <566b57c0-27cd-4591-bded-9a397a1d44d5@redhat.com> <20240510163719.pnwdwarsbgmcop3h@amd.com> From: Paolo Bonzini Content-Language: en-US Autocrypt: addr=pbonzini@redhat.com; keydata= xsEhBFRCcBIBDqDGsz4K0zZun3jh+U6Z9wNGLKQ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ITA92ngCmPdHa6M1hMh4RDX+Jf1fiWubzp1voAg0 JBrdmNZSQDz0iKmSrx8xkoXYfA3bgtFN8WJH2xgFL28XnqY4M6dLhJwV3z08tPSRqYFm4NMP dRsn0/7oymhneL8RthIvjDDQ5ktUjMe8LtHr70OZE/TT88qvEdhiIVUogHdo4qBrk41+gGQh b906Dudw5YhTJFU3nC6bbF2nrLlB4C/XSiH76ZvqzV0Z/cAMBo5NF/w= In-Reply-To: <20240510163719.pnwdwarsbgmcop3h@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/10/24 18:37, Michael Roth wrote: >> So, we're... a bit tight for 6.10 to include SNP and that is an >> understatement. My plan is to merge it for 6.11, but do so >> immediately after the merge window ends. In other words, it >> is a delay in terms of release but not in terms of time. I >> don't want QEMU and kvm-unit-tests work to be delayed any >> further, in particular. > > That's unfortunate, I'd thought from the PUCK call that we still had > some time to stabilize things before merge window. But whatever you > think is best. Well, the merge window starts next sunday, doesn't it? If there's an -rc8 I agree there's some leeway, but that is not too likely. >> Once we sort out the loose ends of patches 21-23, you could send >> it as a pull request. > Ok, as a pull request against kvm/next, or kvm/queue? Against kvm/next. Paolo