From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 C4AE61C9EB9 for ; Mon, 21 Oct 2024 19:51:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729540301; cv=none; b=B07L0Ttpw0Jv/Dkilf0AxQoqNZPLam/l5XBlKoDbS7wzW9okiQJiZ0KO/541MvMBPyZnNK5Ru6OPXyKfLaMyWLBdoELfKXCS3bZuxhe+kUZWtOPSbqVXeow0zWesPmjajIhuu45wu88cngLX9Km7g2WDeD/1NZgVfO5mSmmJyo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729540301; c=relaxed/simple; bh=cgF9qdTCV/RUJM1XhvuKTTekZ0x9M+flwDP2OJ+Mxn0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=BtNZYRuzjtDZXLiBffYgqJolIiPt6IDlb8Ze2kzabPi/txA2zjWo9pQ2a02YzeV9h+vgc48zUgdjq0oxeZj3RCVR1O7BHLOgotzB00DuV8CcmD/V3Ld4Dibea6XefE07gDGG2jYYXfdTwYhnOwgWto0eFa6OFYJeZYPIyBkknWs= 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=QlmTf9OE; arc=none smtp.client-ip=209.85.128.201 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="QlmTf9OE" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6e321d26b38so76977397b3.2 for ; Mon, 21 Oct 2024 12:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729540299; x=1730145099; 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=gDT9K1Zk/eR3fGoO0hal0kEeCs6xtYajmWI5rS4tNgs=; b=QlmTf9OE+kVVzxwypoejDuTn9VMF05eTxb6bHCfLTMLqjkGukF/qQc3Q/FYb2qhCon oZtObcuTTd6BVNOWw/bNs15EgJMkJg2VOwacgIw/jgM5JKF7wGYkkI7Ppdk9T4wAYqMX MiSK+YsvYXLl1WyhldungYaRLrZGEayH6fAW20HPDbGIhZeQXl328Auxm1ITZyaLmWhp nkOTyleaTGWM3sib9cYqzYsEQd4d5FSzyUWI3+RGoe0N4VE9yqEVdpotZvNDUeKJ29W/ up9Z0q5BMbFfJBGlWWOQT0NuR3B3mBrxlxM6vJVbgpAm1HuewHKFfiGnKJYIBu4feccH 4ciA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729540299; x=1730145099; 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=gDT9K1Zk/eR3fGoO0hal0kEeCs6xtYajmWI5rS4tNgs=; b=Nt5fknEmT+9YwMLzfIf/pIKcCawBLgG0dE7gi4jJ+f20coEGg+oC3ayJup4tUZzoGL wBdJudagbVL3E5BCZVKGBqvcu3Jcn1cYQBMq8+rxKyKvJznASl4v9R+Y9RHZE12M6ajX fd7hgIY2wt71ZBaiEHgHI8Gi+jMNt7PZYQvgR6krin5/aGuJgAAtU49VAdaVDQsE5Hue B3Bs11FkYO9p2ENldcrSFdL+bGMY6pLwOx9BvAUuesnSKJKfr23ZyaJ5ibuBOPA9xGEN mr8zoeghrcRPzn+sz2aAoEkiFFibWrQZUN7ZuVUXJoK8M5mpVktTfccsgeKt4uh7eCGK wpvA== X-Forwarded-Encrypted: i=1; AJvYcCU4eDlteHVqH3Ly0wokferQaLWaU5PqNATgSHajzRmtqzrcbPoHBmC8jCeqcdGC2P/tm6gIoz6c0a2FJFc=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+6atPiYDwqF4wOgqfXkzjoDveK5Q0FNIDkiG9hGFs9j/dKUN8 4sHp3SmRvgU1PBgjVvwVmjjWfqm5sSP7PTDbyFQCr+s3yVwLxPBKD3+wlaPmN0yypt9EQYs2NA8 amg== X-Google-Smtp-Source: AGHT+IGGFBPehWleZC7XacBr2c3VKS/i1pCA2xiI3p2Sl/k9XQN0j6oRQyRybzYCeQIxtNewnoAH//KfiNc= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:9d:3983:ac13:c240]) (user=seanjc job=sendgmr) by 2002:a05:690c:23c6:b0:6de:19f:34d7 with SMTP id 00721157ae682-6e5bfbd6b2cmr929207b3.2.1729540298379; Mon, 21 Oct 2024 12:51:38 -0700 (PDT) Date: Mon, 21 Oct 2024 12:51:36 -0700 In-Reply-To: <6028e1a0fad729f28451782754417b0be3aea7ed.camel@HansenPartnership.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <6028e1a0fad729f28451782754417b0be3aea7ed.camel@HansenPartnership.com> Message-ID: Subject: Re: [RFC PATCH 0/5] Extend SEV-SNP SVSM support with a kvm_vcpu per VMPL From: Sean Christopherson To: James Bottomley Cc: roy.hopkins@suse.com, ashish.kalra@amd.com, bp@alien8.de, dave.hansen@linux.intel.com, jroedel@suse.de, kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, michael.roth@amd.com, mingo@redhat.com, pbonzini@redhat.com, tglx@linutronix.de, thomas.lendacky@amd.com, x86@kernel.org Content-Type: text/plain; charset="us-ascii" On Fri, Oct 18, 2024, James Bottomley wrote: > > I've prepared this series as an extension to the RFC patch series: > > 'SEV-SNP support for running an SVSM' posted by Tom Lendacky [1]. > > This extends the support for transitioning a vCPU between VM > > Privilege Levels (VMPLs) by storing the vCPU state for each VMPL in > > its own `struct kvm_vcpu`. This additionally allows for separate > > APICs for each VMPL. > > I couldn't attend KVM forum, but I understand based on feedback at a > session there, Paolo took the lead to provide an architecture document > for this feature, is that correct? Yep. > Just asking because I haven't noticed anything about this on the list. Heh, there's quite a queue of blocked readers (and writers!) at this point ;-)