Received: by 2002:a19:c345:0:0:0:0:0 with SMTP id t66csp6319378lff; Tue, 14 Jan 2020 18:03:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwHpCBOK68cm8oVoHpsjViLs5n0/Rq82fztOgS0h9/QOaJsmWpXX35rta4eudQOqy5Bg+jK X-Received: by 2002:a17:906:66c9:: with SMTP id k9mr22262448ejp.341.1579053825300; Tue, 14 Jan 2020 18:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579053825; cv=none; d=google.com; s=arc-20160816; b=Ho8ghLac3Q6BaeLLuil+HoUnbDuVaLamKl4Oz9LBSqdJHBOaitMyLkLBznvfBTW9Ub l5CLBTh8fYPdm9WfblsWm3oMBhSeiEJquxm+sLlqxGjZDsyKUMrTMiaPOKh4xwmeDC+Q E1NY8ZUx/shrdsmV1gkUhD6ifbP4Hn31FfAIkkFLpDK+j4Xy+IF7x3Pi+6bXyNT4trm+ qPzarjLK3xxzbp0IfPt4UNPQqbQ3dFEJwgSah0ECwJX4EqTkbWOoZ/Ez7ACQ9n2DKdn4 yLhhu3GL73421XmoDLuttXnRq/urXTfWzC0/G2ienDH8ztoZRGUsVYcDxmnzgzgXVZV5 DLjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=qqNLJ6HRaG5QZtyQcfKCNKilHxHr0kXE5WqqCfP6U1Q=; b=zdGQTLCBPRrWldRo1aXeyj+he50FpzTdandue9nqUL6++Bya7VDcsEUUKt3QFLyHaH WxxLcxdhr9rgM/Pa9ivfLdCuJKSbubS51vUQWTBHn1OYHwyEsb3ajt3kS5slwH3yfY5b 61Xc2oZJnLF8KVdbgcUzc+QTa04xwFHw9OKvcJGUADRP4GQ5RnhtuzKRtPacs+0EMtNj f1KizTpjzjMTAgJOolmBNGviRhcoUX4T92uGfcGJ4mJThAPD7ucAq5waoMidn+iZk5Gt SYRhwMK9L1hAFMKXG6EWdK5lZS0uZrZ4YaR+SdtSkvhqkCpn90lzIX4cgkEbTI5PQgak hNZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bu20si11201242edb.155.2020.01.14.18.03.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Jan 2020 18:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:48252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irY23-0005wh-Si for alex.bennee@linaro.org; Tue, 14 Jan 2020 21:03:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irY1o-0005vx-Pu for qemu-arm@nongnu.org; Tue, 14 Jan 2020 21:03:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irY1n-0000Ry-KO for qemu-arm@nongnu.org; Tue, 14 Jan 2020 21:03:28 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:47968 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irY1n-0000NH-9m; Tue, 14 Jan 2020 21:03:27 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A6DF7FA05AC0B4B78E44; Wed, 15 Jan 2020 10:03:23 +0800 (CST) Received: from [127.0.0.1] (10.133.216.73) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.439.0; Wed, 15 Jan 2020 10:03:15 +0800 Subject: Re: [PATCH 2/2] arm/virt/acpi: remove _ADR from devices identified by _HID To: Peter Maydell , "Michael S. Tsirkin" References: <20191219064759.35053-1-guoheyi@huawei.com> <20191219064759.35053-3-guoheyi@huawei.com> <20200105072504-mutt-send-email-mst@kernel.org> From: Guoheyi Message-ID: Date: Wed, 15 Jan 2020 10:03:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed X-Originating-IP: [10.133.216.73] X-CFilter-Loop: Reflected Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 45.249.212.32 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Corey Minyard , QEMU Developers , Shannon Zhao , qemu-arm , Igor Mammedov , wanghaibin.wang@huawei.com Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: rfUM37vIDAJ3 Hi Peter, Michael, Have we come to conclusion on how to submit patches for ARM ACPI tables? Some rough thoughts: is it possible to use the disassembled ASL file as=20 the 'golden master' data? One problem I can imagine is that this may=20 introduce dependency on the version of iASL tool. If so, how about=20 adding acpica source code as a submodule, just like what we did for the=20 device tree compile "dtc". There may be much more which I missed; looking forward to your comments. Thanks, Heyi =E5=9C=A8 2020/1/6 23:51, Peter Maydell =E5=86=99=E9=81=93: > On Sun, 5 Jan 2020 at 12:34, Michael S. Tsirkin wrote: >> On Thu, Dec 19, 2019 at 02:47:59PM +0800, Heyi Guo wrote: >>> hw/arm/virt-acpi-build.c | 8 -------- >>> tests/data/acpi/virt/DSDT | Bin 18449 -> 18426 bytes >>> tests/data/acpi/virt/DSDT.memhp | Bin 19786 -> 19763 bytes >>> tests/data/acpi/virt/DSDT.numamem | Bin 18449 -> 18426 bytes >>> 4 files changed, 8 deletions(-) >> Please do not include binary changes in acpi patches. >> >> See comment at the top of tests/bios-tables-test.c for documentation >> on how to update these. > If you want the patches not to include binary changes then > you will need to take these yourself through your own tree. > As the Arm subtree maintainer I am not going to follow a > specific process for acpi related patches that requires me > to do anything other than "apply patches from email, test > them, send pull request". I also have no way to > identify whether any differences that I might see if I > disassembled the ACPI tables make sense, as that comment > suggests I should be doing. The differences in the tables need > to be checked by the people reviewing the patches, which will > not be me for anything ACPI related -- I just don't know > enough about the ACPI specs. > > Patches should be self contained, including updating test > cases as required. The underlying problem here is that > the 'golden master' data for the acpi tests is a pile > of binary blobs rather than something that's human > readable and reviewable as part of a patch. > > thanks > -- PMM > > .