[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260204061754.GF79272@liuwe-devbox-debian-v2.local>
Date: Wed, 4 Feb 2026 06:17:54 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Nuno Das Neves <nunodasneves@...ux.microsoft.com>
Cc: linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
mhklinux@...look.com, skinsburskii@...ux.microsoft.com,
kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, longli@...rosoft.com,
prapal@...ux.microsoft.com, mrathor@...ux.microsoft.com,
paekkaladevi@...ux.microsoft.com
Subject: Re: [PATCH v6 0/7] mshv: Debugfs interface for mshv_root
On Wed, Jan 28, 2026 at 10:11:39AM -0800, Nuno Das Neves wrote:
> Expose hypervisor, logical processor, partition, and virtual processor
> statistics via debugfs. These are provided by mapping 'stats' pages via
> hypercall.
>
> Patch #1: Update hv_call_map_stats_page() to return success when
> HV_STATS_AREA_PARENT is unavailable, which is the case on some
> hypervisor versions, where it can fall back to HV_STATS_AREA_SELF
> Patch #2: Use struct hv_stats_page pointers instead of void *
> Patch #3: Make mshv_vp_stats_map/unmap() more flexible to use with debugfs
> code
> Patch #4: Always map vp stats page regardless of scheduler, to reuse in
> debugfs
> Patch #5: Change to hv_stats_page definition and
> VpRootDispatchThreadBlocked
> Patch #6: Introduce the definitions needed for the various stats pages
> Patch #7: Add mshv_debugfs.c, and integrate it with the mshv_root driver to
> expose the partition and VP stats.
>
[...]
>
> drivers/hv/Makefile | 1 +
> drivers/hv/mshv_debugfs.c | 726 +++++++++++++++++++++++++++++
> drivers/hv/mshv_debugfs_counters.c | 490 +++++++++++++++++++
> drivers/hv/mshv_root.h | 49 +-
> drivers/hv/mshv_root_hv_call.c | 64 ++-
> drivers/hv/mshv_root_main.c | 140 +++---
> include/hyperv/hvhdk.h | 7 +
> 7 files changed, 1412 insertions(+), 65 deletions(-)
> create mode 100644 drivers/hv/mshv_debugfs.c
> create mode 100644 drivers/hv/mshv_debugfs_counters.c
>
Applied to hyperv-next. Thank you!
Powered by blists - more mailing lists