Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp719507rdb; Sun, 1 Oct 2023 02:25:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGy7mLYREsPGC6KddJ7t4IixcV/2dYbB11Z2TmwJCLTUQtX5oa7Cgt3y6msC7JaYX8EbhV7 X-Received: by 2002:a17:90b:1194:b0:269:32d2:5ac4 with SMTP id gk20-20020a17090b119400b0026932d25ac4mr8844686pjb.25.1696152341081; Sun, 01 Oct 2023 02:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696152341; cv=none; d=google.com; s=arc-20160816; b=uzOCOfxZkst2He9DSjTJeRDSEus20CnLcED+wF0PVaTVJzF/xJp9T6EVG8bt+fesw5 b5po2DEYXVr3K02KJIVW5Jeaa34jrU/NvnDyW5zviEKb+kaPVtcZCi8L5WlX3ArVt04V qDsvF3TYIniohO892IfVCOkxOCiLy6nMPemSIrNf29ORroNEqyXGE2eh4TVsUj46FoWk PdjKTtBw8v51V4xVpmXhhM2jDjGKZ9gEdp3dBvLdfwINT+eA7k4dMu2UF9Xx3BcuCJ2k uBqDnv+urgXul02mhV88paaYLNrD/mVek3BVt9IEGzo/TFSQO3ailBDTJs3rV7mIXOAy p6nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oVAYMt1psfEMubw8IExYSnqOjs4RqYc6AhVubaDiWyY=; fh=ZoNjzRM+NMKBQC+s1xYfWtL9jyj8NBPLe5n3pNdOsyc=; b=whItRH7np7gGQZjT8XQlkifTRZWHtD3U8rMfvOrc2BCxJgX74ucIe/eajYyvNt07rn kMagsVhyNE6OkxVjufVTH+ebWnv2MooB/y/CD/sYrnGyCm1VHYBRcv8e0fU1LDHN1dNc jNMEmd8ZfpOQBiZ9UO10QA2meGWYe2kU9orTWIYdvwhOyIyRguJIyvabvANsIt9GtLmF v8WScCM569kpB4d8wwFm8zoa57YI8dXV9EpJDPv536wbv36fgaiu9KXiOLBldAMUq4Hu 8NYfT0bGyTkdFOt9a0ijdffdUkXCkGqqMfge7WpyXv7dj9gjBAAXe28MzBgQEZxI5D4G 1KhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VkBa0lGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id i12-20020a633c4c000000b00573feb80075si5959915pgn.692.2023.10.01.02.25.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 02:25:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VkBa0lGS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 232A38118763; Sat, 30 Sep 2023 09:31:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234508AbjI3QbW (ORCPT + 99 others); Sat, 30 Sep 2023 12:31:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234506AbjI3QbV (ORCPT ); Sat, 30 Sep 2023 12:31:21 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FE5DD for ; Sat, 30 Sep 2023 09:31:17 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4063bfc6c03so46145e9.0 for ; Sat, 30 Sep 2023 09:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696091476; x=1696696276; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oVAYMt1psfEMubw8IExYSnqOjs4RqYc6AhVubaDiWyY=; b=VkBa0lGSahf/nivE9g7CLynqfuZdR0kC0Eo8hK2ck9QpK4i2QMUdpulFWwG+OytqV8 ik7IBvpsfFeqJZmKlzel1jejTagAF8k+v0OhlzW5WB6SKwgjR7tddkuA6879iw5h/fRh ZkQalWPCNe7MMYlSxBtB3Rh4T21zu5fa8iNGJVIJ1YaTQW/JWlB0RXn4shqpukTSzR91 lgKXTmU83yQdmLno4oOs7Hri1ElqfmX6s1r/UmIw10na4NZVQlTONJPLaKrtr1JUvSdE gBq95EJuvVkkM/GG/ylR0fUZx0uguKSmIvpNzJkrXmgTFSZEupoDwk7uEvq6cY2OdaKW nCeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696091476; x=1696696276; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oVAYMt1psfEMubw8IExYSnqOjs4RqYc6AhVubaDiWyY=; b=hk49qdo88C+5/jc4UiazyjQnOdHxdiKApWDJVe54OqDYdIaQsZpdEwYpUnHTW/FtrP 89kUXuOuu4LxRLV2zOlO4wel3XrC0V2G68tIoNBv0de4uDHiCd+iIePDKeQgw3fUMEbV BH6ES18oNCuZoDo64OFrC4wV9soUsx87rUCdo50E1u/ZIDufiJ1gq/ZYqgsuR2mD34lF +mIXaJaan8NmncxcR2vCGOX4naCbsxOIUrMfbx8XAoXW2XdMwZDJ8BaztnVsnlujYpWa bBg2zz6u5ZN0dt8YgSiG3bO1V4yrxdE+Kv+bGzZpCt/quVVhreCom9o6JO0O0tXVEZ/F +KiQ== X-Gm-Message-State: AOJu0Yzc3aQ5kdGcioZ+FzE3jYNj3UZTthednd6lR34x7bDFMl1EIk6g CXX8GI2YTU/0hOmj2UaN+J6VcQ== X-Received: by 2002:a05:600c:3b87:b0:3f7:3e85:36a with SMTP id n7-20020a05600c3b8700b003f73e85036amr20307wms.7.1696091475846; Sat, 30 Sep 2023 09:31:15 -0700 (PDT) Received: from google.com (110.121.148.146.bc.googleusercontent.com. [146.148.121.110]) by smtp.gmail.com with ESMTPSA id t25-20020a7bc3d9000000b00405391f485fsm3703154wmj.41.2023.09.30.09.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 09:31:15 -0700 (PDT) Date: Sat, 30 Sep 2023 16:31:13 +0000 From: Sebastian Ene To: Marc Zyngier 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 Message-ID: References: <20230927112517.2631674-1-sebastianene@google.com> <87a5t5m8ec.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a5t5m8ec.wl-maz@kernel.org> X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Sat, 30 Sep 2023 09:31:45 -0700 (PDT) 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 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.