From: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
To: Eduardo Habkost <ehabkost@redhat.com>,
Igor Mammedov <imammedo@redhat.com>
Cc: chen.fan.fnst@cn.fujitsu.com, pbonzini@redhat.com,
qemu-devel@nongnu.org, afaerber@suse.de,
izumi.taku@jp.fujitsu.com
Subject: Re: [Qemu-devel] [PATCH v12 2/5] apic: use per CPU AS to map APIC MMIO for TCG
Date: Fri, 9 Oct 2015 17:00:45 +0800 [thread overview]
Message-ID: <5617823D.90308@cn.fujitsu.com> (raw)
In-Reply-To: <20151002192123.GG30243@thinpad.lan.raisama.net>
On 10/03/2015 03:21 AM, Eduardo Habkost wrote:
> On Fri, Oct 02, 2015 at 03:24:24PM -0300, Eduardo Habkost wrote:
>> On Tue, Sep 22, 2015 at 02:29:01PM +0200, Igor Mammedov wrote:
>>> On Wed, 16 Sep 2015 17:19:12 +0800
>>> Zhu Guihua <zhugh.fnst@cn.fujitsu.com> wrote:
>>>
>>>> TCG supports per CPU address space, and the emulation quality is
>>>> a bit better with it.
>>>> So use per CPU address space to map APIC MMIO area. This allows the
>>>> APIC base address of each cpu to be moved independent of others.
>>>>
>>>> Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
>>> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
>> The series seems to be OK when using KVM, but something is wrong with TCG.
>>
>> After applying this patch, my Fedora 20 image hangs on boot at:
>>
>> [ OK ] Started udev Coldplug all Devices.
>> Starting dracut initqueue hook...
>> [ OK ] Reached target System Initialization.
>> [ OK ] Reached target Basic System.
>> [ 8.988420] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
>>
>>
>> Before this patch, boot continues with:
>>
>> [ OK ] Reached target Basic System.
>> [ 8.523293] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
>> [ 9.230955] vda: vda1
>> [ OK ] Started dracut initqueue hook.
>> Mounting /sysroot...
>>
>> I am running QEMU as:
>> $ ./x86_64-softmmu/qemu-system-x86_64 -drive if=virtio,file=/home/ehabkost/system/vmachines/Fedora-x86_64-20-20131211.1-sda.qcow2,format=qcow2 -machine pc,accel=tcg -smp 8,sockets=2,threads=2,cores=2,maxcpus=16 -serial stdio -nographic -monitor none
> Debugging revealed that this broke MSI delivery of virtio notifications.
> Writes to PCIDevice::bus_master_as (at msi_send_message()) don't get
> delivered to the APIC memory region anymore.
>
> This patch doesn't seem to be required for the removal of ICC bus, so I
> am applying the rest of the series anyway. If you see any problem with
> that, please let me know.
>
Sorry for late reply. I'll look at this.
Thanks,
Zhu
next prev parent reply other threads:[~2015-10-09 9:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 9:19 [Qemu-devel] [PATCH v12 0/5] remove icc bus/bridge Zhu Guihua
2015-09-16 9:19 ` [Qemu-devel] [PATCH v12 1/5] apic: move APIC's MMIO region mapping into APIC Zhu Guihua
2015-09-22 12:28 ` Igor Mammedov
2015-09-16 9:19 ` [Qemu-devel] [PATCH v12 2/5] apic: use per CPU AS to map APIC MMIO for TCG Zhu Guihua
2015-09-22 12:29 ` Igor Mammedov
2015-10-02 18:24 ` Eduardo Habkost
2015-10-02 19:21 ` Eduardo Habkost
2015-10-09 9:00 ` Zhu Guihua [this message]
2015-09-16 9:19 ` [Qemu-devel] [PATCH v12 3/5] x86: use new method to correct reset sequence Zhu Guihua
2015-09-22 12:29 ` Igor Mammedov
2015-09-16 9:19 ` [Qemu-devel] [PATCH v12 4/5] cpu/apic: drop icc bus/bridge Zhu Guihua
2015-09-22 12:29 ` Igor Mammedov
2015-09-16 9:19 ` [Qemu-devel] [PATCH v12 5/5] icc_bus: drop the unused files Zhu Guihua
2015-09-22 12:30 ` Igor Mammedov
2015-09-30 6:35 ` [Qemu-devel] [PATCH v12 0/5] remove icc bus/bridge Zhu Guihua
2015-10-02 17:58 ` Eduardo Habkost
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=5617823D.90308@cn.fujitsu.com \
--to=zhugh.fnst@cn.fujitsu.com \
--cc=afaerber@suse.de \
--cc=chen.fan.fnst@cn.fujitsu.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=pbonzini@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 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).