Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11704464rwl; Tue, 3 Jan 2023 03:35:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXtrXC9vGN85MvGu2usdCN87Y6pv6Yx4qVdx927kC8wBtlnCdXT8DxoR7n3OETv2fvXEjfcH X-Received: by 2002:a17:906:284a:b0:7c1:e78:1e2 with SMTP id s10-20020a170906284a00b007c10e7801e2mr49215236ejc.11.1672745708039; Tue, 03 Jan 2023 03:35:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672745708; cv=none; d=google.com; s=arc-20160816; b=neumj12uiwCDDHpVps+CPcwH12RC70GeBCLckYw515xpEnX7g5vm8ABe/GsWkx4dnx IV439I/DKXrSyG59PGahNjYn2TQG0tKkJxP78UujCRyLLdCZDYtiikVq0AWzmzhlOl1U vioZW2WlXeeOO66iKHmeYXcS3lSah+ctdx48qFoeowWxN7rYSP2+l+Vqg7mNOoulzjfs ZriU2VVm/Flh0dpAqSmhRV8/FZzjKC6J13VJANvHglxEuaX8unhF22gdkyljKbOXujA0 2fdDtVnltzF/ZsdK/K/3HpHv4JDi5jGbDtTxBFOuaqSl2xcLHB+8hSs0wkkLFg03vW3q jTFA== 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=hHNeXXmIEWKAYHBGGQRDhAL79D6KkvMsBbRma5cfExU=; b=K6mN5k0tbOX7SGM0znTZLySjjzT0Uz8keFhPs6lrtCQ0z/35QDC0PKfVV1o+4cEPaC dsPa1QsTOngFh9kYlagGrNxvYbNkMrWeBcodWP7W8Yz/JPX3UCgkzdahFyMmP90ER05i JjgPMjsx2IcoHDygm/LwZSxmGuIH2j8undkIBgursXR14ryRWN8f2N4rrqPjKKa6au9J qzhKhmpGrRWGzhTpZ9aWdNF5svRwkQZiy5EMuQ90nFmgqB7QLWRGMJu+ZlhCqsq61Bi8 1j0UNTu0gWf/BiIFUw6a6FiN0zush6xmK1FiclMOYzFBKYt8P14jUj01NRQGGrl2k1zP VF+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=NNIoSo0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a0564020e8300b00487529d2a0dsi16194998eda.335.2023.01.03.03.34.53; Tue, 03 Jan 2023 03:35:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=NNIoSo0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237415AbjACL3k (ORCPT + 61 others); Tue, 3 Jan 2023 06:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237128AbjACL31 (ORCPT ); Tue, 3 Jan 2023 06:29:27 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 744D8DF10; Tue, 3 Jan 2023 03:29:25 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 2040B1EC050B; Tue, 3 Jan 2023 12:29:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1672745364; 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:in-reply-to:in-reply-to: references:references; bh=hHNeXXmIEWKAYHBGGQRDhAL79D6KkvMsBbRma5cfExU=; b=NNIoSo0twPIZ1qGXBAOvS6g0W76sdRRKJAUfcPEizOgk+DopUiobxXahbjbSM/UqS5oaij 5IR4OoNV1AEVjL8M+pT+zcowSBdqyq5XWwoSes448KG+tY8ey0gB2A/tL7HE2BsRAEsNfe sqKiAjN4/vnBAsFmLLpUQfzPBxqtfR0= Date: Tue, 3 Jan 2023 12:29:23 +0100 From: Borislav Petkov To: "Nikunj A. Dadhania" Cc: David Rientjes , linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, dave.hansen@linux.intel.com, seanjc@google.com, pbonzini@redhat.com, thomas.lendacky@amd.com, michael.roth@amd.com, stable@kernel.org Subject: Re: [PATCH v3] x86/sev: Add SEV-SNP guest feature negotiation support Message-ID: References: <20230102083810.71178-1-nikunj@amd.com> <3169b54b-d990-7707-5ec4-cde7261318fe@google.com> <45487a87-764a-7ff3-292b-4a55fe29f7ba@amd.com> <02a2e641-6b6d-e1c5-2c43-8815306d92a0@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <02a2e641-6b6d-e1c5-2c43-8815306d92a0@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2023 at 09:07:14AM +0530, Nikunj A. Dadhania wrote: > Currently, GHCBData[24:63] is unused. If we intend to use the bit range(40bits), GHCB spec > will need to be updated. And probably would not be enough. My fear too... > As the termination request is done using GHCB MSR protocol, exit codes cannot be used. We need to figure out some other way of communicating to the guest owner because of which feature the guest refused booting. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette