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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D3D8C433EF for ; Tue, 12 Oct 2021 16:18:55 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C658C60F3A for ; Tue, 12 Oct 2021 16:18:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C658C60F3A Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.207535.363405 (Exim 4.92) (envelope-from ) id 1maKUE-0004Nv-JU; Tue, 12 Oct 2021 16:18:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 207535.363405; Tue, 12 Oct 2021 16:18:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1maKUE-0004No-Fi; Tue, 12 Oct 2021 16:18:42 +0000 Received: by outflank-mailman (input) for mailman id 207535; Tue, 12 Oct 2021 16:18:41 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1maKUD-0004Ni-KK for xen-devel@lists.xenproject.org; Tue, 12 Oct 2021 16:18:41 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1maKUD-0005OV-IN for xen-devel@lists.xenproject.org; Tue, 12 Oct 2021 16:18:41 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1maKUD-0001U6-HB for xen-devel@lists.xenproject.org; Tue, 12 Oct 2021 16:18:41 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1maKU8-0004v7-IY; Tue, 12 Oct 2021 17:18:36 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=BqoNaHwO/t2HEKKLHC9PSN+pgvPlyF6oIXIuIW+uIr0=; b=dT/Fp2YET/sLaD0w3uByxvG5bA m/xDAwwwJ7ljU4Q/BMGSGDSK7R+6h57aYmsiY3STwSBy43L0ow/si632YMnSpHDQajkJoCMb/X4rE XnlIr4cfH5oyOXqxuWNs6T6IO4bW/8SCWkGFzwbSJ7m2+SXrdB+rB+Aa6cg42jrh0kRw=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24933.46428.243423.112077@mariner.uk.xensource.com> Date: Tue, 12 Oct 2021 17:18:36 +0100 To: Oleksandr Cc: Ian Jackson , xen-devel@lists.xenproject.org, Oleksandr Tyshchenko , Wei Liu , Anthony PERARD , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Juergen Gross , Volodymyr Babchuk , Roger Pau =?iso-8859-1?Q?Monn=E9?= Subject: Re: [PATCH V6 1/2] xen/arm: Introduce gpaddr_bits field to struct xen_domctl_getdomaininfo In-Reply-To: <60541d52-4b44-e212-cc06-bb41e9ce67f9@gmail.com> References: <1633974539-7380-1-git-send-email-olekstysh@gmail.com> <1633974539-7380-2-git-send-email-olekstysh@gmail.com> <24933.42667.311553.565032@mariner.uk.xensource.com> <60541d52-4b44-e212-cc06-bb41e9ce67f9@gmail.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Oleksandr writes ("Re: [PATCH V6 1/2] xen/arm: Introduce gpaddr_bits field to struct xen_domctl_getdomaininfo"): > > Oleksandr Tyshchenko writes ("[PATCH V6 1/2] xen/arm: Introduce gpaddr_bits field to struct xen_domctl_getdomaininfo"): > > You say "to the toolstack", but you are exposing this information up > > to callers of libxl. Do you mean some higher-layer toolstack that > > uses libxl ? What does it use this information for ? > > > > FTAOD I am not opposed to exposing this in this way; indeed it seems > > likely to be useful. I just want to fully understand before I give > > this my tools ack. > > I didn't mean any higher-layer toolstack, sorry if I was unclear. In the > first place this information is > needed by the entity which generates the device-tree for the guest on > Arm (tools/libs/light/libxl_arm.c) to properly calculate the extended > regions to be inserted into the hypervisor node. Right, OK. So I think this is being exposed at the libxl gratuitously, because someone might want it in the future. I approve :-). Reviewed-by: Ian Jackson Thanks, Ian.