From: Jan Kiszka <jan.kiszka@siemens.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
"688964@bugs.debian.org" <688964@bugs.debian.org>,
Nikolai Kondrashov <spbnick@gmail.com>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Bug#688964: qemu-kvm: Fedora 17 guest hangs on boot with soft lockup in udevd
Date: Thu, 27 Sep 2012 21:03:05 +0200 [thread overview]
Message-ID: <5064A2E9.201@siemens.com> (raw)
In-Reply-To: <50649E6D.4050102@msgid.tls.msk.ru>
On 2012-09-27 20:43, Michael Tokarev wrote:
> On 27.09.2012 22:28, Jan Kiszka wrote:
> []
>>> --- a/hw/intel-hda.c
>>> +++ b/hw/intel-hda.c
>>> @@ -1107,6 +1107,9 @@ static void intel_hda_reset(DeviceState *dev)
>>> DeviceState *qdev;
>>> HDACodecDevice *cdev;
>>>
>>> + if (d->msi) {
>>> + msi_reset(&d->pci);
>>> + }
>>> intel_hda_regs_reset(d);
>>> d->wall_base_ns = qemu_get_clock_ns(vm_clock);
>>>
>>> which is exactly about this hda thing. I'm CC'ing relevant
>>> people here.
>>
>> I suppose we are resetting the MSI configuration also in cases here
>> where only the HDA internals are supposed to be reset (when called from
>> intel_hda_set_g_ctl).
>
> Hmm. I was looking at this code already (but i don't know the machinery
> anyway). Here it is (I addedd two printfs in obvious places):
>
> in intel_hda_reset
> calling intel_hda_reset from intel_hda_set_g_ctl
> in intel_hda_reset
> (at this time it hangs in guest).
>
> The following patch fixes it. Is it correct? :)
>
It looks ok to me.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-09-27 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20120927142751.28864.67471.reportbug@gimli.ponomarevs.fi>
[not found] ` <50646F5F.7080703@msgid.tls.msk.ru>
[not found] ` <50647E08.7050606@gmail.com>
2012-09-27 17:15 ` [Qemu-devel] Bug#688964: qemu-kvm: Fedora 17 guest hangs on boot with soft lockup in udevd Michael Tokarev
2012-09-27 17:39 ` Michael Tokarev
2012-09-27 18:28 ` Jan Kiszka
2012-09-27 18:43 ` Michael Tokarev
2012-09-27 19:03 ` Jan Kiszka [this message]
2012-09-27 19:32 ` Michael S. Tsirkin
2012-09-27 19:34 ` Michael Tokarev
2012-09-27 19:40 ` Nikolai Kondrashov
2012-09-27 19:57 ` Nikolai Kondrashov
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=5064A2E9.201@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=688964@bugs.debian.org \
--cc=kraxel@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=spbnick@gmail.com \
/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).