From: Eduardo Otubo <otubo@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "Thomas Huth" <thuth@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
qemu-devel@nongnu.org, "Michael Tokarev" <mjt@tls.msk.ru>,
"Alexander Graf" <agraf@suse.de>,
"Nageswara Sastry" <nasastry@in.ibm.com>
Subject: Re: [Qemu-devel] [PATCH 0/5] dma/i82374: avoid double creation of i82374 device
Date: Tue, 27 Mar 2018 10:24:53 +0200 [thread overview]
Message-ID: <20180327082453.GA15484@vader> (raw)
In-Reply-To: <20180326153441.32641-1-f4bug@amsat.org>
On 26/03/2018 - 12:34:36, Philippe Mathieu-Daudé wrote:
> Hi,
>
> This series intend to fix: https://bugs.launchpad.net/qemu/+bug/1721224
>
> Patch #1 is the fix for 2.12, following patches are just refactors for 2.13.
>
> The 8257 only has 4 DMA channels. To have 8 channels, the IBM PC/AT
> implementation uses 2x 8257, the second cascaded onto the first.
> The i8257_dma_init() name is misleading since this function creates two
> 8257 to register a total of 8 channels on the ISA bus.
>
> The refactor is to enforce that 2 controllers are used (cascaded) - no
> logical change.
>
> Regards,
>
> Phil.
>
> Philippe Mathieu-Daudé (5):
> hw/dma/i82374: Avoid double creation of the 82374 controller
> hw/dma/i8257: Define I8257_CHANNEL_COUNT
> hw/dma/i8257: Split i8257_dma_init() by master/slave
> hw/dma/i8257: Rename i8257_dma_init() -> i8257_dma_init_cascaded()
> hw/dma/i8257: Rename i8257_dma_init(false) -> i8257_dma_init_pc_at()
>
> include/hw/dma/i8257.h | 23 +++++++++++++++++++++--
> hw/dma/i82374.c | 9 ++++++++-
> hw/dma/i8257.c | 38 ++++++++++++++++++++++++++++----------
> hw/i386/pc.c | 2 +-
> hw/mips/mips_fulong2e.c | 2 +-
> hw/mips/mips_jazz.c | 2 +-
> hw/mips/mips_malta.c | 2 +-
> 7 files changed, 61 insertions(+), 17 deletions(-)
>
> --
> 2.16.3
>
>
Reviewed-by: Eduardo Otubo <otubo@redhat.com>
--
Eduardo Otubo
prev parent reply other threads:[~2018-03-27 8:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 15:34 [Qemu-devel] [PATCH 0/5] dma/i82374: avoid double creation of i82374 device Philippe Mathieu-Daudé
2018-03-26 15:34 ` [Qemu-devel] [PATCH for-2.12 1/5] hw/dma/i82374: Avoid double creation of the 82374 controller Philippe Mathieu-Daudé
2018-03-27 9:43 ` Thomas Huth
2018-03-26 15:34 ` [Qemu-devel] [PATCH for-2.13 2/5] hw/dma/i8257: Define I8257_CHANNEL_COUNT Philippe Mathieu-Daudé
2018-03-26 15:34 ` [Qemu-devel] [PATCH for-2.13 3/5] hw/dma/i8257: Split i8257_dma_init() by master/slave Philippe Mathieu-Daudé
2018-03-26 15:34 ` [Qemu-devel] [PATCH for-2.13 /5] hw/dma/i8257: Rename i8257_dma_init() -> i8257_dma_init_cascaded() Philippe Mathieu-Daudé
2018-03-26 15:34 ` [Qemu-devel] [PATCH for-2.13 5/5] hw/dma/i8257: Rename i8257_dma_init(false) -> i8257_dma_init_pc_at() Philippe Mathieu-Daudé
2018-03-26 15:43 ` Marcel Apfelbaum
2018-03-26 16:02 ` [Qemu-devel] [PATCH for-2.13 4/5] hw/dma/i8257: Rename i8257_dma_init() -> i8257_dma_init_cascaded() Philippe Mathieu-Daudé
2018-03-27 8:24 ` Eduardo Otubo [this message]
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=20180327082453.GA15484@vader \
--to=otubo@redhat.com \
--cc=agraf@suse.de \
--cc=ehabkost@redhat.com \
--cc=f4bug@amsat.org \
--cc=hpoussin@reactos.org \
--cc=mjt@tls.msk.ru \
--cc=nasastry@in.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.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).