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 8B9C7C433EF for ; Fri, 8 Oct 2021 13:21:20 +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 4C04861039 for ; Fri, 8 Oct 2021 13:21:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4C04861039 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.204729.359890 (Exim 4.92) (envelope-from ) id 1mYpoC-0005Q7-1S; Fri, 08 Oct 2021 13:21:08 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 204729.359890; Fri, 08 Oct 2021 13:21:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mYpoB-0005Q0-Uk; Fri, 08 Oct 2021 13:21:07 +0000 Received: by outflank-mailman (input) for mailman id 204729; Fri, 08 Oct 2021 13:21:06 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mYpoA-0005Pu-ED for xen-devel@lists.xenproject.org; Fri, 08 Oct 2021 13:21:06 +0000 Received: from mail-ed1-x530.google.com (unknown [2a00:1450:4864:20::530]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1ede6adc-a05f-4dfb-8d7a-faa6058767f3; Fri, 08 Oct 2021 13:21:05 +0000 (UTC) Received: by mail-ed1-x530.google.com with SMTP id g8so36419759edt.7 for ; Fri, 08 Oct 2021 06:21:05 -0700 (PDT) Received: from [192.168.1.7] ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id q18sm915408ejc.84.2021.10.08.06.21.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Oct 2021 06:21:02 -0700 (PDT) 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" X-Inumbo-ID: 1ede6adc-a05f-4dfb-8d7a-faa6058767f3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=HImk4itwCVYEvOpDrBtzEhuEI4WM1KqqfELDSsaj/wo=; b=qCS6yeQq9ZLr9ZcvR0Zt0XrotUFqvo0/HafLmgCbIZbozJR9kU/kQtc7GxXWCFf38q 7wImhooSbNFa5fs8r6DXwjikAdCNbPw7mb+zKZnjVT6RCULevvMHXib/P1tIy/No6rBx KesLyf0G8nMkdrq09lFHcRoz73O8VvoNnJXmSe7F5tDTL0FeKVurhPcKJSRHRbKzr43V KmjyLYrqJC0qG5ZREdeom9G3pr06b+lJKExu06O4Q26wQD3zzgZwhd/KJzskyC9RdKbA STrFiCAsMXCj/KxYt00C2mtlgLGr6S4DHeqWt6J1g4NRlSYmMHA7ZGa7OxlmHuy7dVpl Jn3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=HImk4itwCVYEvOpDrBtzEhuEI4WM1KqqfELDSsaj/wo=; b=CVPkuyQ3yWlJzuS3SzkZnacSyD0kE4tIqwHROvndPLzxIQqC+HMqyr7aPsMSacABmF gplsGI2R02N8jgBUYdd1WLumh2ujvGa86vuteYDdPm3gCZzHTcwhgSLwwBV2EiBZzH5n T17Zj3RawdbO/EhjSV59oDTwOuB0TZZsd3gqDNWsXrirrppVbeOKyt0/9/lOivXneYtA /T3A0gbd7783JrnuCU7l37nM5KUrOOCLsLu8axk4ZpjpvILNsgaaqzmhWrKl1ytq/DKy hXM7QSrmQfAdw6K129psU9H3EALs3N4QcqCZLi4dnhkkqz6IZ30Z7Qxj5Fzm92mm2pnB AhFg== X-Gm-Message-State: AOAM531u9XfoGayDd42rCLDWZsA0Fm6bJ4Jkl9CETcdVaBfEzuxXKPWK KlP88ahfq5D6beQ9TVfSX1VkQtH1UwQ= X-Google-Smtp-Source: ABdhPJwX1hbPNKvfOyvD46mgN2jkFlJNEsrdzVhEYv66HWz/6C3+q6M+uuI6SgPknHWywyAKCa8Kjg== X-Received: by 2002:a17:906:2f16:: with SMTP id v22mr4038222eji.126.1633699262706; Fri, 08 Oct 2021 06:21:02 -0700 (PDT) Subject: Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig To: Jan Beulich Cc: Stefano Stabellini , Oleksandr Tyshchenko , Ian Jackson , Wei Liu , Anthony PERARD , Andrew Cooper , George Dunlap , Julien Grall , Juergen Gross , Volodymyr Babchuk , xen-devel@lists.xenproject.org References: <1633519346-3686-1-git-send-email-olekstysh@gmail.com> <1633519346-3686-2-git-send-email-olekstysh@gmail.com> <68cb29bb-7d84-dc27-eead-4a079b9caf68@suse.com> <387608b9-c7b2-e814-7fa5-a262acc0c73d@gmail.com> From: Oleksandr Message-ID: <2fcb101c-28b0-67c5-0f4d-e3d75b9f4d33@gmail.com> Date: Fri, 8 Oct 2021 16:21:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 08.10.21 15:36, Jan Beulich wrote: Hi Jan > On 08.10.2021 12:25, Oleksandr wrote: >> Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be >> reused to retrieve gpaddr_bits? I don't see why not at the moment, but >> maybe there are some implications/concerns which are invisible to me. >> >> I see that arch_get_domain_info() is present, so the field will be >> common, and each arch will write a value it considers >> appropriate. This could be a good compromise to not add an extra domctl >> and to not alter domain_create. > Technically I think it could be reused. What I'm less certain of is > whether the specific piece of information is a good fit there. ok, thank you for your answer. I am also not 100% sure whether it is a *good* fit there, but I cannot say it is not fit at all for being there. I might mistake, but it is almost the same piece of information describing the whole domain as other existing fields in that structure. > > Jan > -- Regards, Oleksandr Tyshchenko