Re: [PATCH 00/11] arm64: ptdump: View the host stage-2 page-tables

From: Sebastian Ene
Date: Sat Sep 30 2023 - 12:31:27 EST


On Fri, Sep 29, 2023 at 02:11:23PM +0100, Marc Zyngier wrote:

Hello Marc,

Thanks for having a look.

> Hi Sebastian,
>
> On Wed, 27 Sep 2023 12:25:06 +0100,
> Sebastian Ene <sebastianene@xxxxxxxxxx> wrote:
> >
> > Hi,
> >
> > This can be used as a debugging tool for dumping the host stage-2
> > page-tables under pKVM envinronment.
>
> Why only pKVM? Why only the host? Dumping page tables shouldn't be
> reserved to this corner case. Specially considering that pKVM is still
> really far away from being remotely useful upstream.
>

I wanted to publish the initial series which adds support for the host
and then extend it to guest VMs.

> I'd really expect this sort of debugging information to be fully
> available for both host and guest, for all modes (nVHE, VHE, hVHE,
> protected, nested), without limitations other than the configuration
> option.

I agree, let me re-spin the series and add support for non-protected as
well.

>
> Also, please Cc the relevant parties (I'm the only one Cc'd on the KVM
> side...)
>

Thanks,

Sebastian

> Thanks,
>
> M.
>
> --
> Without deviation from the norm, progress is not possible.