From: "Michael S. Tsirkin" <mst@redhat.com>
To: Marcel Apfelbaum <marcel.a@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality
Date: Thu, 26 Dec 2013 20:19:08 +0200 [thread overview]
Message-ID: <20131226181908.GA10012@redhat.com> (raw)
In-Reply-To: <1388078100.17391.22.camel@localhost.localdomain>
On Thu, Dec 26, 2013 at 07:15:00PM +0200, Marcel Apfelbaum wrote:
> On Thu, 2013-12-26 at 18:51 +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 06:12:25PM +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 05:58:09PM +0200, Marcel Apfelbaum wrote:
> > > > On Thu, 2013-12-26 at 17:41 +0200, Michael S. Tsirkin wrote:
> > > > > On Thu, Dec 26, 2013 at 04:09:58PM +0200, Marcel Apfelbaum wrote:
> > > > > > On Thu, 2013-12-26 at 15:53 +0200, Michael S. Tsirkin wrote:
> > > > > > > On Thu, Dec 26, 2013 at 03:24:28PM +0200, Marcel Apfelbaum wrote:
> > > > > > > > On Thu, 2013-12-26 at 14:46 +0200, Michael S. Tsirkin wrote:
> > > > > > > > > On Thu, Dec 26, 2013 at 02:19:48PM +0200, Marcel Apfelbaum wrote:
> > > > > > > > > > Acpi unit-test will fail every time the acpi tables change.
> > > > > > > > > >
> > > > > > > > > > The series adds a script that rebuilds the expected aml files, so the test
> > > > > > > > > > will pass. It also validates the modifications.
> > > > > > > > > >
> > > > > > > > > > The acpi unit test will rebuild the aml tables if TEST_ACPI_REBUILD_AML
> > > > > > > > > > environment variable is set.
> > > > > > > > >
> > > > > > > > > OK I had to fix some trailing whitespace, otherwise
> > > > > > > > > looks good.
> > > > > > > > > I applied it all, pls check the pci branch.
> > > > > > > > Thanks!
> > > > > > > > I pulled the pci branch, but I did not see the patches yet.
> > > > > > > > I used git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git,
> > > > > > > > pci branch.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Marcel
> > > > > > >
> > > > > > >
> > > > > > > Actually had to revert. Build fails with recent gcc:
> > > > > > Strange, I update the gcc to the Fedora's latest 4.8.2 and
> > > > > > it still doesn't happen.
> > > > > > Anyway, I use qemu_write_full as advised and resent.
> > > > > >
> > > > > > Thanks,
> > > > > > Marcel
> > > > >
> > > > > OK I applied this for now but I see an issue: iasl crashes below.
> > > > Thanks!
> > > > By the way, I resend the whole series, I hope you used it.
> > >
> > > yes pushed, take a look
> > >
> > > > > I think this happens when we run it on a file
> > > > > it does not understand.
> > > > > It's an iasl bug but would be nice to work around
> > > > > it in some way (and it would be nice to report to
> > > > > robert moore)
> > > >
> > > > I cannot reproduce it, I'll try anyway.
> > > > By the way, the test checks if iasl exits with error,
> > > > so it should handle this gracefully. (I hope!)
> > > >
> > > > Regarding the IASL project, I'll see if I can open a bug,
> > >
> > > no, just send mail.
> > >
> > > > (if I can reproduce it, otherwise I risk they'll ask some
> > > > questions I cannot answer...)
> > > >
> > > > Thanks,
> > > > Marcel
> > >
> > > This is on fedora 19, 32 bit.
> >
> > I see that the issue is with HPET table.
> >
> > iasl -e DSDT -e SSDT -d HPET
> >
> > crashes for me
> >
> > iasl -d HPET
> >
> > does not crash
> >
> > I think that only DSDT and SSDT need -e.
> >
> > Just skip -e for anything that is not an SSDT
> > and not a DSDT.
> Thanks for the tip. I'll send a fix soon.
> Marcel
>
> >
>
>
also I see you still do
aml_file = g_strdup_printf("%s/%s/%.4s", data_dir,
data->machine,
(gchar *)&sdt->header.signature);
this will not work if we have > 1 SSDT.
next prev parent reply other threads:[~2013-12-26 18:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-26 12:19 [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality Marcel Apfelbaum
2013-12-26 12:19 ` [Qemu-devel] [PATCH v2 1/2] acpi unit-test: added script to rebuild the expected aml files Marcel Apfelbaum
2013-12-26 13:54 ` Michael S. Tsirkin
2013-12-26 12:19 ` [Qemu-devel] [PATCH v2 2/2] acpi unit-test: hook to rebuild " Marcel Apfelbaum
2013-12-26 12:46 ` [Qemu-devel] [PATCH v2 0/2] acpi unit-test: rebuild aml files functionality Michael S. Tsirkin
2013-12-26 13:24 ` Marcel Apfelbaum
2013-12-26 13:53 ` Michael S. Tsirkin
2013-12-26 14:09 ` Marcel Apfelbaum
2013-12-26 15:41 ` Michael S. Tsirkin
2013-12-26 15:58 ` Marcel Apfelbaum
2013-12-26 16:12 ` Michael S. Tsirkin
2013-12-26 16:51 ` Michael S. Tsirkin
2013-12-26 17:15 ` Marcel Apfelbaum
2013-12-26 18:19 ` Michael S. Tsirkin [this message]
2013-12-26 22:01 ` Marcel Apfelbaum
2013-12-29 12:45 ` Marcel Apfelbaum
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=20131226181908.GA10012@redhat.com \
--to=mst@redhat.com \
--cc=marcel.a@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.