On Sun, Jun 30, 2024, Stanislav Uschakow wrote: > This is a request for comment backport of > > <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3a0f64de479cae75effb630a2e0a237ca0d0623c> > > - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b601c3bc9d5053065acdaa1481c > > - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d884eefd75cc54887bc2e9e724207443525dfb2c > > for 5.10.x. I ran the kvm-unit-tests on patched and unpatched kernel without introducing regressions. > > I'm not quite sure if that backport is sufficient since the d884eefd75cc > targets v5.15 and the codebase differs quite between v5.10 and v5.15. Why? The 5.10 implementation isn't suitable for anything remotely resembling a production environment. The TDP MMU wasn't enabled by default until 5.15 for very good reasons. And even in 5.15, using the TDP MMU dicey. See commit 7e546bd08943 ("Revert "KVM: x86: enable TDP MMU by default"") from the 5.15.y stable tree.