All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset
Date: Mon, 28 Mar 2011 18:20:15 +0200	[thread overview]
Message-ID: <4D90B53F.8070708@mail.berlios.de> (raw)
In-Reply-To: <20110328092450.GE16639@valinux.co.jp>

Am 28.03.2011 11:24, schrieb Isaku Yamahata:
> On Mon, Mar 28, 2011 at 11:21:23AM +0200, Markus Armbruster wrote:
>> Isaku Yamahata <yamahata@valinux.co.jp> writes:
>>
>>> On Mon, Mar 28, 2011 at 07:18:04AM +0200, Stefan Weil wrote:
>>>> Am 28.03.2011 04:17, schrieb Isaku Yamahata:
>> [...]
>>>>> On Sat, Mar 26, 2011 at 10:53:09PM +0100, Stefan Weil wrote:
>>>>>> cirrus_reset is also called by the pci framework,
>>>>>> so there is no need to call it in cirrus_init_common.
>>>>>>
>>>>>> Cc: Michael S. Tsirkin<mst@redhat.com>
>>>>>> Signed-off-by: Stefan Weil<weil@mail.berlios.de>
>> [...]
>>>> I tested the new code with isa pc, too. In gdb, I could see that it 
>>>> also
>>>> calls
>>>> cirrus_reset twice. But isa pc is broken since the switch to sea 
>>>> bios, so
>>>> obviously isa is an unmaintained part of qemu. Even with bochs bios,
>>>> it no longer works, so it is broken at least twice.
>>>
>>> Ah, I see. The the second reset is called not via pci reset framework,
>>> but qemu reset framework. So removing the above reset call makes sense.
>>> It would be another patch to make use of pci reset framework.
>>
>> Then the proposed commit message's claim cirrus_reset() is "called by
>> the pci framework" is incorrect, isn't it?
>
> Yes, incorrect. The commit message should be fixed.
> The code change itself looks correct.

For current qemu it is correct, or is there a working configuration
with isa cirrus? I asked that question on #qemu but did not get
an answer (Anthony replied that isa was broken long ago).

This was the reason why I wrote the commit text as it is.
I don't mind if the committer adds more descriptive text,
but the main focus should be fixing isa emulation.
I also noticed that some more emulations obviously also
include redundant reset calls. These should be fixed, too.

  reply	other threads:[~2011-03-28 16:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 21:53 [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset Stefan Weil
2011-03-28  2:17 ` Isaku Yamahata
2011-03-28  5:18   ` Stefan Weil
2011-03-28  5:25     ` Isaku Yamahata
2011-03-28  9:21       ` Markus Armbruster
2011-03-28  9:24         ` Isaku Yamahata
2011-03-28 16:20           ` Stefan Weil [this message]
2011-03-28 16:40             ` 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=4D90B53F.8070708@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=armbru@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yamahata@valinux.co.jp \
    /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.