From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www5210.sakura.ne.jp (www5210.sakura.ne.jp [133.167.8.150]) (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 204B9379C35; Sat, 26 Sep 2026 17:21:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=133.167.8.150 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790443301; cv=none; b=b089AMChkEDkreGmYHLXG94vsHLWkhkvkEuEoPPH1Hyw1bKj60Qc1yo7EzG9Ry39DI2Rgk6e/Xhg4hQIAWzCUKV34lHiVToiQmB7LVYRAWo+5DSKOuDcwy+QnVo/CUVx8vBvvJjttKeleG+yTqruw+jNTbdDavYjOeVjTkaDMoQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790443301; c=relaxed/simple; bh=PKAmzdVbyaF31KV/p+hs0qg3JKH38sTcP725YVbI91g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VyhAy9WWmQBjuf6pBaIr6+znOxKGN7Wu4r99SIf/iJvgrOtsj7jrJn5GdQkHcQnEJZqxbJmAEyZFj6Y7X1B0wpTYC3ECr+0Le1iBW8gjhNnVSc8f0xbEW097VrJGuplaRTn/hnYlnsEopgDO8jsT7QkrsIbAeYmf1AS2vR5u7qA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mgml.me; spf=pass smtp.mailfrom=mgml.me; dkim=pass (2048-bit key) header.d=mgml.me header.i=@mgml.me header.b=mAUDJpo2; arc=none smtp.client-ip=133.167.8.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mgml.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mgml.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mgml.me header.i=@mgml.me header.b="mAUDJpo2" Received: from NEET ([104.28.193.80]) (authenticated bits=0) by www5210.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 68QHLFGj099249 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 27 Sep 2026 02:21:15 +0900 (JST) (envelope-from k@mgml.me) DKIM-Signature: a=rsa-sha256; bh=komxAsBAeKVWiVU9cEuuT6C8YxdblA0qxPXmNE/d9VQ=; c=relaxed/relaxed; d=mgml.me; h=From:Message-ID:To:Subject:Date; s=rs20250315; t=1790443275; v=1; b=mAUDJpo2z87DwYwujDD6ONIoBCctJCrf+3xZrGX7g+j5JNVAjM1tM+3cpp7hu+wG 7OJpiMgaFApIjyX+Dwto/qdOJjaiCnq+lEPknO5dFLFsuB/iyTsZwBVCXPnH2tuW lqHEvd6Q89Ut5IojLvyIvvUV/uJEhhdUS2tjA+fCssihsowK4aPIi7cLTQGukcRQ +540fw1+kQ1WBsGgnpJcgNWcBxwU+CZu2QNRKMLYV+bNIv618Ti738CY2L8JIIxL UdyMoJe2LtGJpmCseA0X1hmlYGfKo8XVhKuomi+hBpkCJrw8fp8kNQZT9HmeI1YS e2ZM4NdF5KBRBW0ZpACkQw== Message-ID: Date: Sun, 27 Sep 2026 02:21:15 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5.15.y v3 3/7] KVM: x86/mmu: Derive shadow MMU page role from parent To: Sasha Levin , Sean Christopherson Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, stable@vger.kernel.org, Paolo Bonzini , Peter Xu , David Matlack References: <20260913155523.7423-4-k@mgml.me> <2026-09-25-daily-reply-0014-re-kvm-mmu-role-prereqs-5-15@kernel.org> Content-Language: en-US From: Kenta Akagi In-Reply-To: <2026-09-25-daily-reply-0014-re-kvm-mmu-role-prereqs-5-15@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2026/09/26 3:48, Sasha Levin wrote: >> I vote to backport the relevant upstream commits. Reviewing this without those >> commits is a pain. I think it's these, to get fairly clean cherry-picks? >> >> dc1ce45575b3401102568dd60ba8894849d1d64b KVM: MMU: update comment on the number of page role combinations >> 41e35604eaff2266ba8523787ebe99c5ca4c4045 KVM: X86: Remove useless code to set role.gpte_is_8_bytes when role.direct >> b46a13cb7ea1137b2e01dfaafcacd5cd79db8390 KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes >> bb3b394d35e80d7a58ce015191e4960a13f54ba5 KVM: X86: Rename gpte_is_8_bytes to has_4_byte_gpte and invert the direction > > Agreed. Those four apply to 5.15 in that order without conflicts. > > Kenta, could you send a v4 that starts with them and then carries 3/7 and > 4/7 in their upstream has_4_byte_gpte form? 3/7 doesn't apply on top of > them as it is now. Hi Sasha, Sean, Thank you for the review and suggestion. Understood, I'll test and send v4. Thanks, Akagi