[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end |
Date: |
Mon, 08 Oct 2012 08:52:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-10-06 04:13, Peter Maydell wrote:
> On 5 October 2012 19:01, Jan Kiszka <address@hidden> 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
- [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Jan Kiszka, 2012/10/05
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Peter Maydell, 2012/10/05
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Jan Kiszka, 2012/10/05
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Peter Maydell, 2012/10/05
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end,
Jan Kiszka <=
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Paolo Bonzini, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Jan Kiszka, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Peter Maydell, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Paolo Bonzini, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Jan Kiszka, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Aurelien Jarno, 2012/10/08
- Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Jan Kiszka, 2012/10/08
Re: [Qemu-devel] [PATCH] versatile: Push lsi initialization to the end, Peter Maydell, 2012/10/08