Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3913781rdh; Fri, 29 Sep 2023 06:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcqcBxEB98QmA9X86ymHB0rEZwo8LIo7tJIejvIHyxTAloY2kQWJmGmu9dwIxDus1ftkU3 X-Received: by 2002:a05:6a21:19f:b0:13c:988c:e885 with SMTP id le31-20020a056a21019f00b0013c988ce885mr4723382pzb.56.1695993247138; Fri, 29 Sep 2023 06:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695993247; cv=none; d=google.com; s=arc-20160816; b=Li7m/PpwBotCzEmMDI68ZskqLTS1Ep8rNARdlbCfSqc5ztofxa1ldMC4j+Xj6xN63O ukiv6i1Yp4dguEuyT1v8v1k99gPhJEf+qnbq8x97N0QXhFiu6g6SrJSPCR1q4K+b9Hc+ SEG53nmAOu8mmejkDHPppGEdHd+uZPNgeG/EjC3PLOzhutfnoYOwbCqYjTzxmt1LCTWi YuV0UjLPIIQfxgd7CINp5XbrLgn2r6SZWpzI7k1VF6q4OQimxGt4a4Kb+a684tGFTeGY SFE7bTxxGaXG/hl9hkuUg+N1Dx36BrHIznsW+kh/FmNzcAeKiSuizNAdpxwsbC54VmPk ya1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=ZTRDiXEXkKUMiz6YQ3qP+Pr/NaFcJKMObFKhOoibS3Y=; fh=XwDmmmISV/9OKp2xNdlO7ZpIL+p7fvpQeDI9hkdPYks=; b=Ilg+zBysDHmx9fuoPRmitQMLTf6VdFlbkzjZCp3URsBWqQmSuYfsm9DvuJKZ5J+2yx OGmcKx/jLGb5jfg8AwAeT3c8f14M2W5mqaOBekrjBFj2gXKb02kgT+9M3MLPkpCdopWL sm07q2ZHrPnwW+GqoRb67yfMeYRn8bOBJRlBa0laYlaZUhkoEFvS/fQAgbVS7r66kr9E 7t8P6HDcRzgK+qV+LhqWcZmDYbXQQaI84ueQT0R4W9plyJR9f+0qpFc+7hvrZ6XWQbPy 4bPCn1aePRHBf3XjkW9RwgwyL1AWRoZirMQwXDs6H2Ys2Qte2/ee19P00KWYuIYsYwGN 9P2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uSClnQAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l8-20020a17090a850800b00275cffed966si1489245pjn.57.2023.09.29.06.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uSClnQAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6DACB836E593; Fri, 29 Sep 2023 06:11:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233125AbjI2NLd (ORCPT + 99 others); Fri, 29 Sep 2023 09:11:33 -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 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 29 Sep 2023 06:11:41 -0700 (PDT) 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.