]> git.ipfire.org Git - thirdparty/linux.git/commit
mshv: Always map child vp stats pages regardless of scheduler type
authorStanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Wed, 28 Jan 2026 18:11:43 +0000 (10:11 -0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 4 Feb 2026 06:17:05 +0000 (06:17 +0000)
commitc527c7aee28f266423afff872df7bff4fad3e084
tree43f3a8727bf1149c423639b2c4651f28a49fe439
parent1ba923d8cd837ec6ee33525f60f84daaaa26d4e9
mshv: Always map child vp stats pages regardless of scheduler type

Currently vp->vp_stats_pages is only used by the root scheduler for fast
interrupt injection.

Soon, vp_stats_pages will also be needed for exposing child VP stats to
userspace via debugfs. Mapping the pages a second time to a different
address causes an error on L1VH.

Remove the scheduler requirement and always map the vp stats pages.

Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Acked-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/mshv_root_main.c