From mboxrd@z Thu Jan 1 00:00:00 1970 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 678CB263F49 for ; Fri, 21 Nov 2025 00:24:22 +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=1763684663; cv=none; b=YlQ72Cxt5ZEXoqtqnAjQelnnBq4ebEgDlEJhqO3xL7A2OW+hXDrNhqNasAl9WvsTVOsukxEmNZNo26FbplZ63w2Y+/EpH9cgXk6lACF74onRe5nc0l+UmyXTnMGlcMNiMEQcHRIMZL4J9jXhqP/MOz1Gu5DK00xiMZkn4wFPlKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763684663; c=relaxed/simple; bh=WFtsWkc6oBiaKbV86QmWbyu+9b6FdCObrST/t8uPvqA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=k6UcHslIt0Pu4T0DsawV0BjXBdatDXGEDGhyBHJLRaQ2MYJa54BrNMI+G2JCAJs7kF3XIvynDgLoDYOS0/PZSlBjFAjBfTGVzAGQr98x730DCq/m0fbhjpkDZMbFvk+JfBIPqtVFgLfjhpgTouBPZ9WqvL/+PgHLn7s4f2MyvQY= 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=ZaM2nqsK; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ZaM2nqsK" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-3438744f11bso4453675a91.2 for ; Thu, 20 Nov 2025 16:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763684662; x=1764289462; 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=oGd96OzltDe2oScYSMy6IxJhoHTysu7llELtM9LMLoc=; b=ZaM2nqsKIyAgl3/YpKjKy6stToMpcFTzFoAkaBgxNbi/4ZeTXWJQpi3lD+CoCbtOwf HPAAHBWk8AFiKjNnTeA3xV7YgaxiUryI9FMvpJxJte1aENxNC1tFp1q0tUldaWNxmcVh Jlcx7fUFItUH/DYLjGJ4LpkvDvUDM5PrVdnoWAl3XhO+AwKrslXF2y6X4nIEs/6KHw8X hF96DS7yXgaSgm9Ip/KAdmsupz8sL+hCHYBqB451klgfM5XfshudmD/rd6Ja0aEvGyZw Lr83Kea0BaUeHHFEU7GRmvOReJAHOd7/fBlViPdRmtY32WesyKSZdkEt7pu2Zb4lYwMp ZpYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763684662; x=1764289462; 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=oGd96OzltDe2oScYSMy6IxJhoHTysu7llELtM9LMLoc=; b=wYITnp3rvogg2uhPtROJpFb68+N7lak/rH+CVYRrUzpp0U14gBv9joXRf9y/OTdpn/ WbNjZH9lmz9q8h7C+Y8rPJNH0C6eryOIa3JFh0IAqakf2WXF7Xe1FHAPVuUjtUCnniZN G6gASntAVBBGlbHS5Ha0nCn7hUuxDpUQEoXqu5aav0dp4mD2XPqWPyuuVJGvJj0cAIDd GLHwLL53D/lhX9IFFpmnvA9nipRXYYDdHVvxQKPpYchwwhq6DxVuoOzDkhhRcR4SNWCS skKEUdN4rSQ6J7yVdW7WxunkgeZtc2ark7pbcnPtrzgTUxRgqjJW9GrOJ4dn76EnPDHD hIyw== X-Forwarded-Encrypted: i=1; AJvYcCWVbBPcX6tz+X67LJRymXM9GrAH2yyzbd9y4lsmwPBb9PhyR/mpPetEIBMBfREvnbxP7ZmxptgkJtMHPmg=@vger.kernel.org X-Gm-Message-State: AOJu0Ywe9XAJMGNQbco4l0ZWq9CikOBXR+2det8BI4WECeHN3aDwSGGy mP86rJm3gSKutrzq9/JboStSRBKRy2w/3Np8HrLDWzdhbWoIEYmieU+4tcgxC32s9p56lfg5kqd YE5kiiQ== X-Google-Smtp-Source: AGHT+IGcJW8CLz8xQUpZviFtpcwWxG1D7eJa/+Xzi9UYxz87MzTpWm/PcxpyBZooQN1u8LJlPUFNY5vJavc= X-Received: from pjis12.prod.google.com ([2002:a17:90a:5d0c:b0:33b:ab61:4f71]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90a:ec8f:b0:335:2823:3683 with SMTP id 98e67ed59e1d1-34733e4b2ccmr325314a91.9.1763684661676; Thu, 20 Nov 2025 16:24:21 -0800 (PST) Date: Thu, 20 Nov 2025 16:24:20 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251021074736.1324328-1-yosry.ahmed@linux.dev> Message-ID: Subject: Re: [PATCH v2 00/23] Extend test coverage for nested SVM From: Sean Christopherson To: Yosry Ahmed Cc: Paolo Bonzini , Jim Mattson , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Fri, Nov 21, 2025, Yosry Ahmed wrote: > On Thu, Nov 20, 2025 at 03:50:10PM -0800, Sean Christopherson wrote: > > KVM: selftests: Extend vmx_tsc_adjust_test to cover SVM > > KVM: selftests: Extend nested_invalid_cr3_test to cover SVM > > KVM: selftests: Move nested invalid CR3 check to its own test > > KVM: selftests: Extend vmx_nested_tsc_scaling_test to cover SVM > > KVM: selftests: Extend vmx_close_while_nested_test to cover SVM > > Not sure I understand how you to proceed. Do you want me to respin these > patches separately (as series A), on top of kvm-x86/next, and then > respin the rest of the series separately (as series B, with your struct > kvm_mmu suggestion)? I'm going to apply a subset "soon", hopefully they'll show up in kvm-x86/next tomorrow. I think it's patches 3-9? > As for set_nested_state, if you plan to pickup Jim's EFER fixes I can > just include it as-is in series (A). If not, I can include > generalization of the test, and send covering Jim's fix separately. We're likely going to need a v3 of Jim's GIF series no matter what, so let's plan on bundling patches 1-2 with v3 of that series. That leaves the paging patches. Unless you're super duper speedy, I should get patches 3-9 and Jim's LA57 changes+test pushed to kvm-x86 before you're ready to post the next version of those patches. So: Fold 1-2 into Jim's GIF series. Do nothing for 3-9. Spin a new version of 10+ (the paging patches) after kvm-x86/next is refreshed