From: Jan Kiszka <jan.kiszka@siemens.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end
Date: Mon, 08 Oct 2012 08:52:30 +0200 [thread overview]
Message-ID: <5072782E.9090707@siemens.com> (raw)
In-Reply-To: <CAFEAcA-KZS3AvjKTAKYVfzfi8E1J1Vhf0f051VGJrbfK7VjMog@mail.gmail.com>
On 2012-10-06 04:13, Peter Maydell wrote:
> On 5 October 2012 19:01, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> I'm not a fan of this either, but the alternatives are way more
>> complicated. We either need to rewrite the chardev subsystem,
>> specifically how mux'ed devices are registered and how the active one is
>> selected. Or we need to avoid flushing "unrelated" BHs for block
>> devices. Not sure of those read requests can be postponed.
>
> Is this a regression? If it is then the obvious answer is to back
> out whatever broke it...
I'm using this machine for the first time, so I cannot answer this from
the top of my head. However, I don't think it can be a regression.
Mux chardevs work like this: You create the backend, then you register
the frontend with them, one by one. The last one registered is the first
one active. It should also receive the open event of chardev. But as
that open even is issued via a BH and last frontend, the serial device,
arrives after the first BH flushing, things break.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-10-08 6:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 17:30 [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end Jan Kiszka
2012-10-05 17:42 ` Peter Maydell
2012-10-05 18:01 ` Jan Kiszka
2012-10-06 2:13 ` Peter Maydell
2012-10-08 6:52 ` Jan Kiszka [this message]
2012-10-08 15:18 ` Paolo Bonzini
2012-10-08 15:28 ` Jan Kiszka
2012-10-08 16:02 ` Peter Maydell
2012-10-08 16:28 ` Paolo Bonzini
2012-10-08 16:46 ` Jan Kiszka
2012-10-08 17:07 ` Aurelien Jarno
2012-10-08 17:09 ` Jan Kiszka
2012-10-08 16:33 ` Peter Maydell
2012-10-08 16:39 ` Paolo Bonzini
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=5072782E.9090707@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=peter.maydell@linaro.org \
--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.