Received: by 2002:a19:c345:0:0:0:0:0 with SMTP id t66csp9194522lff; Thu, 16 Jan 2020 18:09:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzbSizXC0KuCRKIX7HJA8QUSHWQq5JfB0l9dgyEWLmP66PDpvEi4PyzM4RifWfmGfz60kJM X-Received: by 2002:a17:906:489:: with SMTP id f9mr5828050eja.27.1579226941695; Thu, 16 Jan 2020 18:09:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579226941; cv=none; d=google.com; s=arc-20160816; b=crn8kX0Te5sbWGOpr889B5r2AJIdLnuCPlo8qqlUKJ1VdjZxD9fsn61uzHi3afvB3H 7Ug5rDpqEhpuBQd85zLTkxu4aYyf6jNwCcWuDww0L0vwWcYGlpKds0llVjnQQCntkSsL 4Uv9jthBnWBVyz9a8g6hopdVhuF5PQtMiR5gcF0bp+wWxQ9vkwuff0BqF7M8yDtAewab ocH+4lsA3W7C6INQAGpFGjCR0yrS+TJ0uHUUYR09LPcyMLua3Ov2RGf1iS1cqjwx6SKY TkPHTEYxZlvTxV3doIvddUu+Z8AdZmHQ7kJHHfjz5VsgsoIB7WsI5FqRRrpqS4IMHExE jVCg== 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=4H8hk8pWDoSDZ43IdiKsbPax/Jph/LMcmH4osIfhV2Y=; b=zmvtMoti/CwD1jgi2ZCZCkvSFcUu+7TLQXpBAHxLdQWZNTCo0qLOJ4hDab++ze0GoO lZvTCl/kNL6w2sa7u0SwlOkY8CGi2LWuk1vxYm2fcHxFlOaGGFE1h5srGjxp0EcoYZEv P9OgekEj4SAfWBWcdDaaq8OlJDxZ8sqn+x3zUc+XXbkXJ8CltfBCt2Mme+nzpWkSqIYk 7vM0MAfyX3DCt6A79uPhrk60Xqlnb5ldSYE+9S/Vky+eYYjxh9x4ANpD6pK2JxzpH5F7 8bCH1jkSynUOmjZyTMrJB3CwQlJJ9bB79gAFSb9S0/7HQhUThtFYYs/mmjFSMb1+19Sb rKlg== 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 e22si16296086eje.68.2020.01.16.18.09.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Jan 2020 18:09:01 -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]:51322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isH4G-0003if-Ig for alex.bennee@linaro.org; Thu, 16 Jan 2020 21:09:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isH48-0003iR-58 for qemu-arm@nongnu.org; Thu, 16 Jan 2020 21:08:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isH46-0007h0-MM for qemu-arm@nongnu.org; Thu, 16 Jan 2020 21:08:51 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:59330 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1isH46-0007av-Be; Thu, 16 Jan 2020 21:08:50 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E794A5818C760E828BC3; Fri, 17 Jan 2020 10:08:43 +0800 (CST) Received: from [127.0.0.1] (10.133.216.73) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Fri, 17 Jan 2020 10:08:33 +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> <20200115011412-mutt-send-email-mst@kernel.org> <7732900c-5490-6483-ca10-71c565e81945@huawei.com> <20200115055408-mutt-send-email-mst@kernel.org> From: Guoheyi Message-ID: Date: Fri, 17 Jan 2020 10:08:31 +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.35 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: uXMjRci2uFXa =E5=9C=A8 2020/1/16 20:24, Peter Maydell =E5=86=99=E9=81=93: > On Wed, 15 Jan 2020 at 10:55, Michael S. Tsirkin wrote= : >> Here's a hopefully better patch. Peter does this address the issue? >> >> Signed-off-by: Michael S. Tsirkin >> >> >> diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-= test.c >> index f1ac2d7e96..3ab4872bd7 100644 >> --- a/tests/qtest/bios-tables-test.c >> +++ b/tests/qtest/bios-tables-test.c >> @@ -16,7 +16,10 @@ >> * 1. add empty files for new tables, if any, under tests/data/acpi >> * 2. list any changed files in tests/bios-tables-test-allowed-diff.= h >> * 3. commit the above *before* making changes that affect the table= s >> - * Maintainer: >> + * >> + * Contributor or ACPI Maintainer (steps 4-7 need to be redone to res= olve conflicts >> + * in binary commit created in step 6): >> + * >> * After 1-3 above tests will pass but ignore differences with the e= xpected files. >> * You will also notice that tests/bios-tables-test-allowed-diff.h l= ists >> * a bunch of files. This is your hint that you need to do the below= : >> @@ -28,13 +31,23 @@ >> * output. If not - disassemble them yourself in any way you like. >> * Look at the differences - make sure they make sense and match wha= t the >> * changes you are merging are supposed to do. >> + * Save the changes, preferably in form of ASL diff for the commit lo= g in >> + * step 6. >> * >> * 5. From build directory, run: >> * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh >> - * 6. Now commit any changes. >> - * 7. Before doing a pull request, make sure tests/bios-tables-test-a= llowed-diff.h >> - * is empty - this will ensure following changes to ACPI tables wi= ll >> - * be noticed. >> + * 6. Now commit any changes to the expected binary, include diff fro= m step 4 >> + * in commit log. >> + * 7. Before sending patches to the list (Contributor) >> + * or before doing a pull request (Maintainer), make sure >> + * tests/bios-tables-test-allowed-diff.h is empty - this will ensu= re >> + * following changes to ACPI tables will be noticed. >> + * >> + * The resulting patchset/pull request then looks like this: >> + * - patch 1: list changed files in tests/bios-tables-test-allowed-di= ff.h. >> + * - patches 2 - n: real changes, may contain multiple patches. >> + * - patch n + 1: update golden master binaries and empty Though I drafted the inital text, "2 - n" seems like a expression "2=20 minus n" for myself after a second glance, especially when we have a "n=20 +1" just below. Maybe we can use a different notation :) >> + * tests/bios-tables-test-allowed-diff.h >> */ > I think that seems reasonable, but you're the ACPI expert. > As long as the patches on list: > * can be reviewed by somebody for whether their ACPI changes > are correct, including whether the golden-master changes are right > * can be applied by a maintainer without having to do anything > special > * don't break bisection > > then I'm happy. It sounds like those steps will work for that. > >> diff --git a/roms/seabios b/roms/seabios >> index f21b5a4aeb..c9ba5276e3 160000 >> --- a/roms/seabios >> +++ b/roms/seabios >> @@ -1 +1 @@ >> -Subproject commit f21b5a4aeb020f2a5e2c6503f906a9349dd2f069 >> +Subproject commit c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d > You have a stray submodule update in your patch, though :-) A file config.mak will be generated in roms/seabios after building qemu,=20 and we may probably add it in our commit by "git commit -a" :) Thanks, Heyi > > thanks > -- PMM > > .