From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1F34E71D2D for ; Fri, 29 Sep 2023 13:11:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233217AbjI2NLe (ORCPT ); Fri, 29 Sep 2023 09:11:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232925AbjI2NLc (ORCPT ); Fri, 29 Sep 2023 09:11:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0678DB7 for ; Fri, 29 Sep 2023 06:11:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C531C433C8; Fri, 29 Sep 2023 13:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695993090; bh=+3IbZ7xWcXNT6XMr5+cOgZF70Vv4fcEw5AojiRWiycU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uSClnQAaZ11GHeskn06UXBdsLB+reV5bPZTGYmHEmn6adKWZklIbWCfwNSvh7wxoB 2M7Syzcszu+dEsJqGNHU5hEwtrGFV1qy6KDE/7wkxtiD72U+QfkZdrWimb6y2qhCbp m2C/ZX1xxt+EluUQ1M6IBnJCbX35BCxcEo66YAKTE+mJG1RGA2Stgc7LyFrLfjdmMx N5GyiQO0Of/oE/IvAwgyzhUxdbskBCpKTtPQHzHT7OrVwB4BFXeewUJQsKNk1u4A+0 fZWpmJ8CJgJvJom3L/oX/nDrGVJzXrqvCGPV9DVboa3smTharMrhIWQs+yp3GopLG9 ctVbr3O6KFBnw== Received: from [85.255.233.37] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qmDHD-00HFiA-P4; Fri, 29 Sep 2023 14:11:28 +0100 Date: Fri, 29 Sep 2023 14:11:23 +0100 Message-ID: <87a5t5m8ec.wl-maz@kernel.org> From: Marc Zyngier To: Sebastian Ene Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, will@kernel.org, ryan.roberts@arm.com, mark.rutland@arm.com, vdonnefort@google.com Subject: Re: [PATCH 00/11] arm64: ptdump: View the host stage-2 page-tables In-Reply-To: <20230927112517.2631674-1-sebastianene@google.com> References: <20230927112517.2631674-1-sebastianene@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 85.255.233.37 X-SA-Exim-Rcpt-To: sebastianene@google.com, linux-kernel@vger.kernel.org, kernel-team@android.com, will@kernel.org, ryan.roberts@arm.com, mark.rutland@arm.com, vdonnefort@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On Wed, 27 Sep 2023 12:25:06 +0100, Sebastian Ene 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'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. Also, please Cc the relevant parties (I'm the only one Cc'd on the KVM side...) Thanks, M. -- Without deviation from the norm, progress is not possible.