From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 85A291CD1E4; Wed, 9 Jul 2025 18:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752087512; cv=none; b=sYf9MTO6bz9zQAxfSGyh9oC8xKgzboK1I/iGgiai7DycP9X4GhFoBegKs24x44UJenV4Ac3eQuYFEKjbmXq+oBnVuYETaL4QUfdsqWydk2IYtdQA/CnmoEgKHnBwZbHdmsWn/pGvM1jShvTtj8dPyaE6YfEHQCsXNwBh4z8qzN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752087512; c=relaxed/simple; bh=QqF18QlY3qrZC4wsPhnG5pDyHTcVkEGCbvNLKmjtv8g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aarv1QAREpj/lGQRLKPJSSqpK/s3q/RVrtX9Yp0lnklKRUN1IdoSl508ajse/Id5BQEY8AM283ibwMaPGUjbQ4GtLzsH/IQn4ukX1+3MgCBqZBpqw643+anfgLZMQn7YrRQVSY2QLaLxn0Xs3r2qSHFF9dpWpI59b/fT+73Qb+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=BwNv6N/q; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="BwNv6N/q" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 06ACC40E020E; Wed, 9 Jul 2025 18:58:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 06aREvEx9Gc7; Wed, 9 Jul 2025 18:58:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1752087503; bh=/7kITGrxxjLtMgkq5/27X+rRYGn55l4yjCE06Pjnrqg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BwNv6N/qjkKIJ6HDQTEpxV7E5hWbs5Ehe+QSBdIAwiRRiAohlDwldzkuZxUh+UOp8 dZI8cmMC4bPp5zOCF37JnJ6JPmcJfSBcenSZmTg6bQ1juXYavz3iJxqIEDuRAXg9bw 2DJTL4ePKECLnappcoUrBl3L+lKcaSuwGsNsReABWlM4eP2xvlNmnrtnVXv7OeoNYK swnSZp18HuQYUtJtVN3nkP6KAV1ZqlFYeyRthCZWR2GJ8aJVbPanA3yNv1+myxwfai lW5AgDBhLsYT4178klN9eMsDqEdjp2te+LkG59KfHJ/44Lvce7ZRHmG07+e5zW9vGt N4wDi89wCiYs3Zkbb0fd+EWEsTc7XN/W9HAPgJ715tiJvUcjdfkImGxEoOmoANiHYu 4NFbkDzGqpSY34P2JMrdTiVmUNkjm901M6Wne8oxRFZCJ/Ta8KHZjpEAsRbVWXzi1B iKt0IpyhQop6D4pbBfcKvwiwDYroUIhPBfyFNh8/DfbpMgkBjkovIblUy6GjMgOgFS OmKqD9Apqk5PtQVpdAXjdfE0gt36gq9Ea9ybk67wGExV7c2Axc6e7wUti0Nn0KaNBb 7bmNtUgkcX5C8K+ZvQ8jDPz2Ib2iuF2oMaLNw0cdxZE38yzEC7HW20DF/IGTLZFFjE gCJ03r8Fb6Hjn8YX6BbeueWw= Received: from zn.tnic (p57969c58.dip0.t-ipconnect.de [87.150.156.88]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 545A040E01FD; Wed, 9 Jul 2025 18:58:02 +0000 (UTC) Date: Wed, 9 Jul 2025 20:57:57 +0200 From: Borislav Petkov To: Sean Christopherson Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, Paolo Bonzini , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, dri-devel@lists.freedesktop.org, Kevin Loughlin , Tom Lendacky , Kai Huang , Ingo Molnar , Zheyun Shen , Mingwei Zhang , Francesco Lavra Subject: Re: [PATCH v3 0/8] x86, KVM: Optimize SEV cache flushing Message-ID: <20250709185757.GDaG67tbGFYHUQxte2@fat_crate.local> References: <20250522233733.3176144-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Jul 09, 2025 at 09:25:35AM -0700, Sean Christopherson wrote: > On Thu, May 22, 2025, Sean Christopherson wrote: > > This is the combination of Kevin's WBNOINVD series[1] with Zheyun's targeted > > flushing series[2]. The combined goal is to use WBNOINVD instead of WBINVD > > when doing cached maintenance to prevent data corruption due to C-bit aliasing, > > and to reduce the number of cache invalidations by only performing flushes on > > CPUs that have entered the relevant VM since the last cache flush. > > > > All of the non-KVM patches are frontloaded and based on v6.15-rc7, so that > > they can go through the tip tree (in a stable branch, please :-) ). > > Tip tree folks, any feedback/thoughts on this series (patches 1-4 in particular)? > It'd be nice to get this into 6.17, and I'd really like land it by 6.18 at the > latest. I'll take a look tomorrow. If I queue 1-4, would you like an immutable branch to merge for the other 4? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette