Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp945760rbd; Fri, 23 Feb 2024 08:17:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV1Gi0JDe2EQ1Xcn8vNHxvuYNlmlUYxPX2pL2138NcJDHAeGQ3AfksE1RS81HfFaZ7IWCopNoO74qyAzMVcYY5wHLvYK+FqmV4fJa05xQ== X-Google-Smtp-Source: AGHT+IFeE7Jt66EcnPMVQbIaMazXKGk03xHppfLOdGktDHAFkYMpjAMOFMKbj3u5IMSjXKdLs6MC X-Received: by 2002:a05:6512:2314:b0:512:e394:bfb1 with SMTP id o20-20020a056512231400b00512e394bfb1mr197951lfu.43.1708705028584; Fri, 23 Feb 2024 08:17:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705028; cv=pass; d=google.com; s=arc-20160816; b=YDb/k05G6wsxImQm6UWqRA7ufEYa0KREzK2S5+eunbM7Hx27IrBtVvKRHUrb4KMfmb HF3cVFJ9zyO7/bvDjFpTiwQ4ZtrN6zW5newKBbndB50TM6uP+V/UFyw4pJF/E0g764B7 dVM8Lk42qUhWXktlcxGfQ2giPKZOAyzlhfcz9thITvO8tjRtS3RzBsqEc5PSTH920w8Z WTrmNRd3iKwGyRAbUBW1EtjzbsZrHDxUzHN7fbCQDmOS8fWbMIAA7WeYehrTkyaWFnOi NIb6BPB0Wp2TSHNDlAWv+G0T+ASO8Lydg9x+vaCxVg68Ut91xekv5fC+F1dv5Q5vs/AS utfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=/NLktSsNTI2TQw0/DJtmGZ9UBM2FfO1AcEKluSzavPE=; fh=snuN8lTu7CCcd4L/3/zvkp75hhbwDFXBlKsWrCpSFxM=; b=DmD4BHHjbWcixGib9+QKE9Im7GZI46JthUcXa2Sx+t+CmL/CDFM9DMR5qX9cF5tng9 B7CnPvy3lbn8Be8FXgCJh/ceSatjKVv8xX4L8dQKE3N7/xGvTYV7wSkzrT+kUjJFaDcT C6uVX6AmwAzOSJzGXDB6v/+bu+7KonO52JZdZeNo37MEpLAVTa/Ssu93bGEUYwgRhFp2 XsMCCR1s4bO1GZm6i+ZX7qrXCv0FEwowSB8MZWzRD6PoFqhP7QQvYjd6Mq0ZGgvfHz2V egaukm9MjrUV3m/v+kZGjaOmfT4l5TBUaXaUW+eGN2LrlM91LQen6Qm/mCNPriHFMHSM xjFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dWk8Oeyp; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-78677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k25-20020a1709061c1900b00a3f8146c96esi1568458ejg.695.2024.02.23.08.17.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:17:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dWk8Oeyp; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-78677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9330A1F28383 for ; Fri, 23 Feb 2024 16:09:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EE5684A49; Fri, 23 Feb 2024 16:08:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dWk8Oeyp" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E3E584FA8 for ; Fri, 23 Feb 2024 16:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704506; cv=none; b=XWcAt0+uYMGYags0hOyAyC7j2OgL++dbsHkJJ4h5btLITezONIAX3RE/jXVWWxbaSg0sEwdySo6y6eZJDL6KMaRwvUal0YXOdq/wnl/ui7jvIZecuiP0ZgSkzYeSEmYS8hR9ngbqzY4sA5QsAQE+tW2MMcLfkbtyK0Lg/0GwMJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704506; c=relaxed/simple; bh=2PMjD9iHH3ocbBefw//1TN5JlDlwz5Msjr28jhhqymw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Ay3ZdVjdOOGZ28vbI4ArAud+a/HBkkofXbcMgn1LYKAHW6HtNduJf7l5Ewa6Kfzp7YB69/oYrpQlpirQzW7ZOz+ju8oOsmDw/HJ5VYSCh19kOuLYYJeYxOnrYm/AoB6kwB8NmDpaenlzROPQnkN9XnfJu1p2+zIHWxBjfeeQfYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=dWk8Oeyp; arc=none smtp.client-ip=209.85.216.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2992c1d4e7fso205114a91.3 for ; Fri, 23 Feb 2024 08:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708704504; x=1709309304; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=/NLktSsNTI2TQw0/DJtmGZ9UBM2FfO1AcEKluSzavPE=; b=dWk8Oeyp5tiCJYZFuBQNshLJNO3A32T9B1EamHkjVf8KFM9eXrZXirrUfc7Y2nf4cU RwfifSzbd7P8NWTaWMqCEtXffUmEfqHpJD0ToQFgoNCcm8jj8ws8upDmNVemIQdbugb9 2mQ527Skp5TvZzK5m687LE0glJnpqGDgagCtqXbC0HB3uA8XlzpzJCHJiiUTU0toykG9 wni4aPX1JxZpiFz6dkI84FMFxa878d+bUAZHVqD6Lvx51U3mEAHTZ3GIQjbCoNRQvFJk EKv1Pg43awpb52jDvqaU1uCovzhAUBCilVtUkaMILD23azBl5L/X/6StA0Zw5TdSWzmM Ryiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708704504; x=1709309304; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/NLktSsNTI2TQw0/DJtmGZ9UBM2FfO1AcEKluSzavPE=; b=jWMrXDPe1kOsxB1YTCJHpbepgoAaAe3AhXxo4qFZGD3uvU9F8erkm2RWzhiKJGjNpo iKXUxQUjc8DqOj54d1LyI096+/S6f7HWI3x2j7ZwhlMkVuLHqLNxzQecF41iyCsMpT2j JAjRcYNIRCw2aTYt/muRWklfE7Q1kseG3cXFqd91Vo4ofATg/cUd49lS5UHjxPb6qYz6 leSRXxx/OekyFL2k2uVyOwab+JWNsEReiiAvFkeniN6ebeKVgC0fNXMMusFp+CI1m2LW FpSiot8H+mpqGUbzXI1R4uS6F050ZSzxRpSm+m8kT3rP+S3m/TtAYL0Yl4S/ONFEufcX VIOQ== X-Gm-Message-State: AOJu0Yywsl4cFqEGgIBVVyiX0wAaJVdqxH/MXcXDme4p3z+1BMjgzmE+ VtnRWlHd/Ol1Nc7i6/kUvbaE59efYCQyOqwle5waxotns0ZrbPCTMY7kBEsAF3q9CcQJyzT4NEP dqg== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:90b:1d48:b0:29a:8489:1f05 with SMTP id ok8-20020a17090b1d4800b0029a84891f05mr3149pjb.2.1708704504478; Fri, 23 Feb 2024 08:08:24 -0800 (PST) Date: Fri, 23 Feb 2024 08:08:23 -0800 In-Reply-To: <20240223104009.632194-7-pbonzini@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240223104009.632194-1-pbonzini@redhat.com> <20240223104009.632194-7-pbonzini@redhat.com> Message-ID: Subject: Re: [PATCH v2 06/11] KVM: SEV: disable DEBUG_SWAP by default From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, michael.roth@amd.com, aik@amd.com Content-Type: text/plain; charset="us-ascii" On Fri, Feb 23, 2024, Paolo Bonzini wrote: > Disable all VMSA features in KVM_SEV_INIT and KVM_SEV_ES_INIT. They are > not actually supported by SEV (a SEV guest does not have a VMSA to which > you can apply features) and they cause unexpected changes in measurement > for SEV-ES. Sorry :-( I've done my best to avoid having to deal with attestation, so it's a bit of a blind spot for me.