Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA18C07E96 for ; Tue, 6 Jul 2021 12:50:45 +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 2F77A601FD for ; Tue, 6 Jul 2021 12:50:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F77A601FD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.151262.279562 (Exim 4.92) (envelope-from ) id 1m0kWs-000114-1Q; Tue, 06 Jul 2021 12:50:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 151262.279562; Tue, 06 Jul 2021 12:50:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1m0kWr-00010x-Ud; Tue, 06 Jul 2021 12:50:21 +0000 Received: by outflank-mailman (input) for mailman id 151262; Tue, 06 Jul 2021 12:50:21 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1m0kWr-00010r-9S for xen-devel@lists.xenproject.org; Tue, 06 Jul 2021 12:50:21 +0000 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id debb4e55-8a17-4b30-ba55-e426740b65fe; Tue, 06 Jul 2021 12:50:19 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7DA791FB; Tue, 6 Jul 2021 05:50:19 -0700 (PDT) Received: from [10.57.8.167] (unknown [10.57.8.167]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 375303F73B; Tue, 6 Jul 2021 05:50:17 -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: debb4e55-8a17-4b30-ba55-e426740b65fe Subject: Re: [PATCH v4] arm64: Change type of hsr, cpsr, spsr_el1 to uint64_t To: Julien Grall , Olaf Hering Cc: xen-devel@lists.xenproject.org, Stefano Stabellini , Volodymyr Babchuk , Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Wei Liu , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , bertrand.marquis@arm.com References: <20210705063952.25629-1-michal.orzel@arm.com> <20210706140010.4b8802d9.olaf@aepfle.de> <5d4ebedb-ebba-f586-f377-32467213369b@arm.com> <10e11e44-b643-b214-57d6-db4499e19da7@xen.org> From: Michal Orzel Message-ID: Date: Tue, 6 Jul 2021 14:50:12 +0200 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: <10e11e44-b643-b214-57d6-db4499e19da7@xen.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit On 06.07.2021 14:31, Julien Grall wrote: > > > On 06/07/2021 13:30, Michal Orzel wrote: >> Hi, >> >> On 06.07.2021 14:00, Olaf Hering wrote: >>> Am Mon,  5 Jul 2021 08:39:52 +0200 >>> schrieb Michal Orzel : >>> >>>> Modify type of hsr, cpsr, spsr_el1 to uint64_t. >>> >>> I think this is now commit 918b8842a852e0e7446286f546724b1c63c56c66, which fails to build: >>> >>> ... >>> diff -u reference.size tmp.size >>> --- reference.size      2021-06-29 10:50:32.237518309 +0200 >>> +++ tmp.size    2021-07-06 13:58:19.052592351 +0200 >>> @@ -4,8 +4,8 @@ >>>   start_info                |       -       -    1112    1168 >>>   trap_info                 |       -       -       8      16 >>>   cpu_user_regs             |       -       -      68     200 >>> -vcpu_guest_core_regs      |     304     304       -       - >>> -vcpu_guest_context        |     344     344    2800    5168 >>> +vcpu_guest_core_regs      |     312     312       -       - >>> +vcpu_guest_context        |     352     352    2800    5168 >>>   arch_vcpu_info            |       0       0      24      16 >>>   vcpu_time_info            |      32      32      32      32 >>>   vcpu_info                 |      48      48      64      64 >>> gmake[2]: *** [Makefile:24: check-headers] Error 1 >>> >>> osstest may catch this error as well. >>> >>> Olaf >>> >> >> Where does this report come from so that I can investigate it? >> Locally I can build this patch on arm64,arm32,x86 without any issues. > > This is coming from the tools/include/xen-foreign. I could reproduce it with a: > > make tools > > I am currently writing a patch for it. I will send it once I have tested it. > > Cheers, > >> >> Cheers, >> Michal >> > As far as I understand this checker, it is all about the size of these structures. What is the reason that the size of them cannot change? Cheers,