From: "Michael S. Tsirkin" <mst@redhat.com>
To: Ani Sinha <ani@anisinha.ca>
Cc: "Eduardo Habkost" <ehabkost@redhat.com>,
"Julia Suvorova" <jusual@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [PATCH v10 13/13] tests/acpi: add DSDT.hpbrroot DSDT table blob to test global i440fx hotplug
Date: Wed, 30 Sep 2020 04:04:33 -0400 [thread overview]
Message-ID: <20200930040207-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <CAARzgwy_+kVWQs5sQo4qAYC3Gi5LhdLoMQDPzKadwRPZ1D8Brw@mail.gmail.com>
On Wed, Sep 30, 2020 at 01:17:53PM +0530, Ani Sinha wrote:
>
>
> On Wed, Sep 30, 2020 at 1:14 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Wed, Sep 30, 2020 at 01:09:09PM +0530, Ani Sinha wrote:
>
> >
>
> >
>
> > On Wed, Sep 30, 2020 at 1:06 PM Michael S. Tsirkin <mst@redhat.com>
> wrote:
>
> >
>
> >Â Â Â On Tue, Sep 29, 2020 at 06:03:00PM +0530, Ani Sinha wrote:
>
> >
>
> >Â Â Â > On Tue, Sep 29, 2020 at 5:05 PM Michael S. Tsirkin <mst@redhat.com>
>
> >Â Â Â wrote:
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > > On Tue, Sep 29, 2020 at 04:58:03PM +0530, Ani Sinha wrote:
>
> >
>
> >Â Â Â > > > On Tue, Sep 29, 2020 at 4:45 PM Michael S. Tsirkin <
> mst@redhat.com>
>
> >Â Â Â wrote:
>
> >
>
> >Â Â Â > > > >
>
> >
>
> >Â Â Â > > > > On Tue, Sep 29, 2020 at 04:35:50PM +0530, Ani Sinha wrote:
>
> >
>
> >Â Â Â > > > > > On Tue, Sep 29, 2020 at 4:25 PM Michael S. Tsirkin <
>
> >Â Â Â mst@redhat.com> wrote:
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > On Tue, Sep 29, 2020 at 04:11:45PM +0530, Ani Sinha
> wrote:
>
> >
>
> >Â Â Â > > > > > > > On Tue, Sep 29, 2020 at 4:07 PM Michael S. Tsirkin <
>
> >Â Â Â mst@redhat.com> wrote:
>
> >
>
> >Â Â Â > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > On Tue, Sep 29, 2020 at 04:02:07PM +0530, Ani Sinha
> wrote:
>
> >
>
> >Â Â Â > > > > > > > > > On Tue, Sep 29, 2020 at 4:00 PM Ani Sinha <
>
> >Â Â Â ani@anisinha.ca> wrote:
>
> >
>
> >Â Â Â > > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > > In your pull request the following patch is
> completely
>
> >Â Â Â screwed up:
>
> >
>
> >Â Â Â > > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > > commit cda2006eded0ed91974e1d9e7f9f288e65812a3e
>
> >
>
> >Â Â Â > > > > > > > > > > Author: Ani Sinha <ani@anisinha.ca>
>
> >
>
> >Â Â Â > > > > > > > > > > Date:Â Â Tue Sep 29 03:22:52 2020 -0400
>
> >
>
> >Â Â Â > > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > >Â Â Â tests/acpi: update golden master DSDT binary
> table
>
> >Â Â Â blobs for q35
>
> >
>
> >Â Â Â > > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > > This is not my patch. It has all sorts of changes
> which
>
> >Â Â Â does not
>
> >
>
> >Â Â Â > > > > > > > > > > belong there. Can you please check?
>
> >
>
> >Â Â Â > > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > > See https://patchew.org/QEMU/
>
> >Â Â Â 20200929071948.281157-1-mst@redhat.com/
>
> >Â Â Â 20200929071948.281157-46-mst@redhat.com/
>
> >
>
> >Â Â Â > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > > I had to regenerate the binary, yes. That's par for
> the
>
> >Â Â Â course.
>
> >
>
> >Â Â Â > > > > > > > > But it looks like I added disasssembled files. Will
> fix up
>
> >Â Â Â and drop,
>
> >
>
> >Â Â Â > > > > > > > > thanks for noticing this.
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > OK I pushed out a fixed variant. Pls take a look.
>
> >
>
> >Â Â Â > > > > >
>
> >
>
> >Â Â Â > > > > > OK I am not used to this workflow. How am I supposed to get
> it?
>
> >Â Â Â Which tag?
>
> >
>
> >Â Â Â > > > >
>
> >
>
> >Â Â Â > > > > New for_upstream tag - I just sent in a pull request.
>
> >
>
> >Â Â Â > > >
>
> >
>
> >Â Â Â > > > Can you please point me to your tree?
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > >Â Â git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/
> for_upstream
>
> >
>
> >Â Â Â >
>
> >
>
> >Â Â Â > I have sent the updated patches based on your pull request tag. I
> just
>
> >
>
> >Â Â Â > had to regenrated the blob for tests/data/acpi/pc/DSDT.hpbrroot.
>
> >
>
> >Â Â Â >
>
> >
>
> >Â Â Â > make && make check-qtest-x86_64 V=1 passes.
>
> >
>
> >Â Â Â >
>
> >
>
> >Â Â Â > The diff looks good.
>
> >
>
> >Â Â Â >
>
> >
>
> >Â Â Â > Can you please send a pull request with these two patches ASAP?
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >Â Â Â Thanks, I will queue them and merge in the next pull request.
>
> >
>
> >
>
> > I'm willing to get down on my knees begging you to just do one another
> pull
>
> > request for these two patches. Were so close with my entire work merged.
>
> >
>
> > Please let's not wait another week or so.Â
>
>
>
>
>
> OK it's not too much work but ... could you please add justification
>
> about why adding this one unit test is needed so urgently?
>
> That motivation would be quite helpful for the pull request.
>
>
> A patch without unit test doesn't complete the patch work. A unit test makes
> sure that the change would not get broken by other changes that come in later.
> Typically all code changes are accompanied by unit test in the same patch.
> Hence since the main work has already been merged, the unit test should merge
> ASAP so that no breakage can happen in between.
>
> Plus this completes an entire series of work which I've been working for a
> while. I really would love to see it all merged cleanly and fully completed.
>
Absolutely, thanks for the great work!
I am not sure that's a good justification to rushing a pull request
though ... are you waiting to get paid and it hinges on the test, or are
under a deadline, or something like this? It's okay to say so if so.
>
>
>
>
>
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > >
>
> >
>
> >Â Â Â > > > >
>
> >
>
> >Â Â Â > > > > >
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > > I think DSDT.hbridge is wrong. The checksum looks
> weird:
>
> >
>
> >Â Â Â > > > > > > >
>
> >
>
> >Â Â Â > > > > > > >
>
> >
>
> >   > > > > > > > + *   Length      0x00000B89 (2953)
>
> >
>
> >   > > > > > > >  *   Revision     0x01 **** 32-bit table (V1),
> no
>
> >Â Â Â 64-bit math support
>
> >
>
> >   > > > > > > > - *   Checksum     0x05
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > What is weird about it?
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > >
>
> >
>
> >Â Â Â > > > > > > > This file should be introduced just by one patch. my
> patch.
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > I just re-run rebuild-expected-aml, no changes.
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > I have this:
>
> >
>
> >Â Â Â > > > > > > commit 5e3a486211f02d9ecb18939ca21087515ec81883
>
> >
>
> >Â Â Â > > > > > > Author: Ani Sinha <ani@anisinha.ca>
>
> >
>
> >Â Â Â > > > > > > Date:Â Â Fri Sep 18 14:11:05 2020 +0530
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > >Â Â Â tests/acpi: unit test for
>
> >Â Â Â 'acpi-pci-hotplug-with-bridge-support' bridge flag
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > >Â Â Â This change adds a new unit test for the global flag
>
> >
>
> >Â Â Â > > > > > >Â Â Â 'acpi-pci-hotplug-with-bridge-support' which is
> available
>
> >Â Â Â for cold plugged pci
>
> >
>
> >Â Â Â > > > > > >Â Â Â bridges in i440fx. The flag can be used to turn off
> ACPI
>
> >Â Â Â based hotplug support
>
> >
>
> >Â Â Â > > > > > >Â Â Â on all pci bridges.
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > Here is the full DSDT header, attached:
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > /*
>
> >
>
> >Â Â Â > > > > > >Â * Intel ACPI Component Architecture
>
> >
>
> >Â Â Â > > > > > >Â * AML/ASL+ Disassembler version 20190509 (64-bit
> version)
>
> >
>
> >Â Â Â > > > > > >Â * Copyright (c) 2000 - 2019 Intel Corporation
>
> >
>
> >Â Â Â > > > > > >Â *
>
> >
>
> >Â Â Â > > > > > >Â * Disassembling to symbolic ASL+ operators
>
> >
>
> >Â Â Â > > > > > >Â *
>
> >
>
> >Â Â Â > > > > > >Â * Disassembly of tests/data/acpi/pc/DSDT.hpbridge, Tue
> Sep 29
>
> >Â Â Â 06:51:03 2020
>
> >
>
> >Â Â Â > > > > > >Â *
>
> >
>
> >Â Â Â > > > > > >Â * Original Table Header:
>
> >
>
> >   > > > > > > *   Signature    "DSDT"
>
> >
>
> >   > > > > > > *   Length      0x0000139D (5021)
>
> >
>
> >   > > > > > > *   Revision     0x01 **** 32-bit table (V1), no
> 64-bit
>
> >Â Â Â math support
>
> >
>
> >   > > > > > > *   Checksum     0x05
>
> >
>
> >Â Â Â > > > > > >Â *Â Â Â OEM IDÂ Â Â Â Â Â "BOCHS "
>
> >
>
> >Â Â Â > > > > > >Â *Â Â Â OEM Table IDÂ Â Â "BXPCDSDT"
>
> >
>
> >   > > > > > > *   OEM Revision   0x00000001 (1)
>
> >
>
> >Â Â Â > > > > > >Â *Â Â Â Compiler IDÂ Â Â "BXPC"
>
> >
>
> >Â Â Â > > > > > >Â *Â Â Â Compiler Version 0x00000001 (1)
>
> >
>
> >Â Â Â > > > > > >Â */
>
> >
>
> >Â Â Â > > > > > > DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT",
>
> >Â Â Â 0x00000001)
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > > > > --
>
> >
>
> >Â Â Â > > > > > > MST
>
> >
>
> >Â Â Â > > > > > >
>
> >
>
> >Â Â Â > > > >
>
> >
>
> >Â Â Â > >
>
> >
>
> >
>
> >
>
> >
>
>
>
>
next prev parent reply other threads:[~2020-09-30 8:05 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-18 8:40 [PATCH v10 00/13] i440fx/acpi: addition of feature and bug fixes Ani Sinha
2020-09-18 8:40 ` [PATCH v10 01/13] tests/acpi: mark addition of table DSDT.roothp for unit testing root pci hotplug Ani Sinha
2020-09-18 8:41 ` [PATCH v10 02/13] tests/acpi: add new unit test to test hotplug off/on feature on the root pci bus Ani Sinha
2020-09-18 8:41 ` [PATCH v10 03/13] tests/acpi: add a new ACPI table in order to test root pci hotplug on/off Ani Sinha
2020-09-18 8:41 ` [PATCH v10 04/13] Fix a gap where acpi_pcihp_find_hotplug_bus() returns a non-hotpluggable bus Ani Sinha
2020-09-18 8:41 ` [PATCH v10 05/13] i440fx/acpi: do not add hotplug related amls for cold plugged bridges Ani Sinha
2020-09-18 8:41 ` [PATCH v10 06/13] tests/acpi: list added acpi table binary file for pci bridge hotplug test Ani Sinha
2020-09-18 8:41 ` [PATCH v10 07/13] tests/acpi: unit test for 'acpi-pci-hotplug-with-bridge-support' bridge flag Ani Sinha
2020-09-18 8:41 ` [PATCH v10 08/13] tests/acpi: add newly added acpi DSDT table blob for pci bridge hotplug flag Ani Sinha
2020-09-18 8:41 ` [PATCH v10 09/13] Add ACPI DSDT tables for q35 that are being updated by the next patch Ani Sinha
2020-09-18 8:41 ` [PATCH v10 10/13] piix4: don't reserve hw resources when hotplug is off globally Ani Sinha
2020-09-18 8:41 ` [PATCH v10 11/13] tests/acpi: update golden master DSDT binary table blobs for q35 Ani Sinha
2020-09-18 8:41 ` [PATCH v10 12/13] tests/acpi: unit test exercising global pci hotplug off for i440fx Ani Sinha
2020-09-18 8:41 ` [PATCH v10 13/13] tests/acpi: add DSDT.hpbrroot DSDT table blob to test global i440fx hotplug Ani Sinha
2020-09-29 7:11 ` Michael S. Tsirkin
2020-09-29 7:23 ` Ani Sinha
2020-09-29 7:26 ` Michael S. Tsirkin
2020-09-29 8:23 ` Ani Sinha
2020-09-29 8:51 ` Ani Sinha
2020-09-29 9:37 ` Ani Sinha
2020-09-29 9:42 ` Michael S. Tsirkin
2020-09-29 9:50 ` Ani Sinha
2020-09-29 10:30 ` Ani Sinha
2020-09-29 10:32 ` Ani Sinha
2020-09-29 10:36 ` Ani Sinha
2020-09-29 10:37 ` Michael S. Tsirkin
2020-09-29 10:41 ` Ani Sinha
2020-09-29 10:50 ` Ani Sinha
2020-09-29 10:57 ` Michael S. Tsirkin
2020-09-29 11:10 ` Ani Sinha
2020-09-29 10:55 ` Michael S. Tsirkin
2020-09-29 11:05 ` Ani Sinha
2020-09-29 11:14 ` Michael S. Tsirkin
2020-09-29 11:28 ` Ani Sinha
2020-09-29 11:35 ` Michael S. Tsirkin
2020-09-29 12:33 ` Ani Sinha
2020-09-30 7:36 ` Michael S. Tsirkin
2020-09-30 7:39 ` Ani Sinha
2020-09-30 7:43 ` Michael S. Tsirkin
2020-09-30 7:47 ` Ani Sinha
2020-09-30 8:04 ` Michael S. Tsirkin [this message]
2020-09-30 8:07 ` Ani Sinha
2020-09-30 9:30 ` Ani Sinha
2020-09-30 15:28 ` Michael S. Tsirkin
2020-09-30 15:45 ` Ani Sinha
2020-09-18 9:55 ` [PATCH v10 00/13] i440fx/acpi: addition of feature and bug fixes Philippe Mathieu-Daudé
2020-09-18 13:12 ` Ani Sinha
2020-09-18 14:51 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200930040207-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=aleksandar.qemu.devel@gmail.com \
--cc=ani@anisinha.ca \
--cc=aurelien@aurel32.net \
--cc=ehabkost@redhat.com \
--cc=f4bug@amsat.org \
--cc=imammedo@redhat.com \
--cc=jusual@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).