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 C689DC433EF for ; Wed, 13 Oct 2021 15:06:07 +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 8D8E460F23 for ; Wed, 13 Oct 2021 15:06:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8D8E460F23 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.208614.364805 (Exim 4.92) (envelope-from ) id 1mafpG-0007Qi-Us; Wed, 13 Oct 2021 15:05:50 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 208614.364805; Wed, 13 Oct 2021 15:05:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mafpG-0007Qb-Rv; Wed, 13 Oct 2021 15:05:50 +0000 Received: by outflank-mailman (input) for mailman id 208614; Wed, 13 Oct 2021 15:05:50 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mafpG-0007QV-5b for xen-devel@lists.xenproject.org; Wed, 13 Oct 2021 15:05:50 +0000 Received: from mail-wr1-x42d.google.com (unknown [2a00:1450:4864:20::42d]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 03b2cd67-4eae-486f-a546-a264529d4ed5; Wed, 13 Oct 2021 15:05:49 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id u18so9511437wrg.5 for ; Wed, 13 Oct 2021 08:05:49 -0700 (PDT) Received: from [192.168.1.7] ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id m36sm6529717wms.6.2021.10.13.08.05.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 08:05:47 -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: 03b2cd67-4eae-486f-a546-a264529d4ed5 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=zJOBhlYMSYleHwtQe85+9w/XLjPZ59ZgHkB5p8AjHqg=; b=PB5gou64VDJEdNOHBLPaZXOtqYju7+eXNThBxQk8E+mWakLVSTvLcMqPXUBFfQe/Sg c45ABIKKrWnOl/KcjkwmMIFENi8VlvKfrjie5uUXrQcK4nWadENyYM17PGZLvsGBf7Rn RGqAHF/oVjLPH+odzy8t7KX+gEcBDic1e1DRrF0ppxByuW9N6TivoMqd3yMe8KCnVfCQ k4ZUiEo/0a/zG87mu5p7j5deHE73yugJroywCc3vruJ5irn4cK/dLgZRjRenlW0eFqjW sTP1I+E0Zs4b/MVZu5Qbs0oIK7s4D1owYxnoJjcD3ZZKgVwv3v5BwlZzxXeI650OGITh cUEw== 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=zJOBhlYMSYleHwtQe85+9w/XLjPZ59ZgHkB5p8AjHqg=; b=r8ThM7P7Ap2jtHaLrKBtWXn58Wb0t/3Xob83XPA4pasFvnC+0zVhMXC+/WDx5kBHw7 uwkfQoh3k9HhZKSFVO6gwmvOJZ8gOOzl+Jehn8ru4B7wS2id6L7PVobRu7wqFP5UGFx1 pUCgNz1sQJk0R6+L0GKbBUZFIwx57zg1opWvt+Qol6t+7xRqrQJb6mO/x52OExbegiB4 LDKK/INIQP50tcR0EvAIHyMxHB46+4BzSQ0W9u2JGbmmSqdHUNVumSgb8jq0E4OBeZ1k Fu1JFiOOQSashd6DwnV9W5GgY6YcnzGaPwdcx9DfywFQc00pvTcEx+1LgNHLIq6MsdbM zQ1Q== X-Gm-Message-State: AOAM531Tm+eBLrfguzZ3FN7K86W9r8qZ4uugT7R00W3kzadcKB8vygS+ 0UZRxgsgLCovIlFTUWgMSRQ= X-Google-Smtp-Source: ABdhPJwXaayRM6TCF7lUuU37k/KPj6vRiL4BML/ay5d+FJaoibNyrgaKMxOUYjgNWm+aApMqktrSrw== X-Received: by 2002:a5d:59a3:: with SMTP id p3mr7552165wrr.146.1634137548128; Wed, 13 Oct 2021 08:05:48 -0700 (PDT) Subject: Re: [PATCH V6 1/2] xen/arm: Introduce gpaddr_bits field to struct xen_domctl_getdomaininfo To: Jan Beulich Cc: Oleksandr Tyshchenko , Ian Jackson , Wei Liu , Anthony PERARD , Andrew Cooper , George Dunlap , Julien Grall , Stefano Stabellini , Juergen Gross , Volodymyr Babchuk , xen-devel@lists.xenproject.org, =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= References: <9e6e1378-7ee3-b692-b57d-29b597160661@gmail.com> <1634073720-27901-1-git-send-email-olekstysh@gmail.com> From: Oleksandr Message-ID: Date: Wed, 13 Oct 2021 18:05:46 +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 13.10.21 16:56, Jan Beulich wrote: Hi Jan > On 12.10.2021 23:22, Oleksandr Tyshchenko wrote: >> @@ -95,7 +95,7 @@ void getdomaininfo(struct domain *d, struct xen_domctl_getdomaininfo *info) >> >> info->cpu_time = cpu_time; >> >> - info->flags = (info->nr_online_vcpus ? flags : 0) | >> + info->flags |= (info->nr_online_vcpus ? flags : 0) | >> ((d->is_dying == DOMDYING_dead) ? XEN_DOMINF_dying : 0) | >> (d->is_shut_down ? XEN_DOMINF_shutdown : 0) | >> (d->controller_pause_count > 0 ? XEN_DOMINF_paused : 0) | > I don't think this is a useful change - you move from a simple write > to a read-modify-write operation. With this dropped again, hypervisor > parts: > Reviewed-by: Jan Beulich Thanks! Will drop. > > While this has meanwhile moved quite far from the original proposal, > I still wonder in how far Andrew may have remaining concerns. Did > you check with him, perhaps on irc? > But of course catching his > attention may be difficult, so no (further) feedback by him should > probably not keep this from getting committed (if no other open > issues remain). If I remember correctly, I made several attempts to clarify in the initial thread. But, I have to admit, not via IRC (I am expecting some troubles with my IRC client last time and I haven't figured out yet why). Of course, it would be correct to get a feedback to make sure that there would be no remaining concerns (as the main concern to use domctl was addressed) or otherwise. > > Jan > -- Regards, Oleksandr Tyshchenko