qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Artyom Tarasenko <atar4qemu@gmail.com>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 0/8] sparc: IOMMU tidy-up and reorganisation
Date: Tue, 19 Dec 2017 09:00:20 +0100	[thread overview]
Message-ID: <CACXAS8DRKEGkC8YFN4PFf1d7kGeerN6cNPcS94zk2YvNoVLgSA@mail.gmail.com> (raw)
In-Reply-To: <1511703326-25325-1-git-send-email-mark.cave-ayland@ilande.co.uk>

On Sun, Nov 26, 2017 at 2:35 PM, Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk> wrote:
> Following on from the previous sun4u patchset, here is the next step of
> IOMMU-related updates for 2.12.
>
> This patchset does 2 main things: firstly it moves the sun4m IOMMU
> device out of hw/dma and into hw/sparc to match existing architectures.
> With this (and the previous sun4m DMA rework) the old sun4m.h header can
> now be completely removed.
>
> Secondly in a similar manner, we split the sun4u IOMMU functionality out
> from the APB device into a new sun4u-iommu device in hw/sparc64, adding in
> a conversion from DPRINTF macros to trace-events for good measure while
> we are here.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>

> Based-on: 1511699686-12605-1-git-send-email-mark.cave-ayland@ilande.co.uk ([PATCHv2 00/15] sun4u: tidy-up CPU, APB and ebus)
>
>
> Mark Cave-Ayland (8):
>   sun4m: move sun4m_iommu.c from hw/dma to hw/sparc
>   sun4m: move IOMMU declarations from sun4m.h to sun4m_iommu.h
>   sun4m: remove include/hw/sparc/sun4m.h and all references to it
>   apb: QOMify IOMMU
>   sun4u: split IOMMU device out from apb.c to sun4u_iommu.c
>   sun4u_iommu: update to reflect IOMMU is no longer part of the APB
>     device
>   sun4u_iommu: convert from IOMMU_DPRINTF to trace-events
>   sun4u_iommu: add trace event for IOMMU translations
>
>  hw/dma/Makefile.objs           |    1 -
>  hw/dma/sparc32_dma.c           |    2 +-
>  hw/dma/sun4m_iommu.c           |  406 ---------------------------------------
>  hw/dma/trace-events            |   10 -
>  hw/intc/slavio_intctl.c        |    1 -
>  hw/net/lance.c                 |    2 +-
>  hw/pci-host/apb.c              |  256 +------------------------
>  hw/sparc/Makefile.objs         |    2 +-
>  hw/sparc/sun4m.c               |    2 +-
>  hw/sparc/sun4m_iommu.c         |  407 ++++++++++++++++++++++++++++++++++++++++
>  hw/sparc/trace-events          |   10 +
>  hw/sparc64/Makefile.objs       |    1 +
>  hw/sparc64/sun4u.c             |    8 +-
>  hw/sparc64/sun4u_iommu.c       |  342 +++++++++++++++++++++++++++++++++
>  hw/sparc64/trace-events        |    5 +
>  hw/timer/slavio_timer.c        |    1 -
>  include/hw/pci-host/apb.h      |   53 +-----
>  include/hw/sparc/sun4m.h       |   35 ----
>  include/hw/sparc/sun4m_iommu.h |   51 +++++
>  include/hw/sparc/sun4u_iommu.h |   50 +++++
>  20 files changed, 889 insertions(+), 756 deletions(-)
>  delete mode 100644 hw/dma/sun4m_iommu.c
>  create mode 100644 hw/sparc/sun4m_iommu.c
>  create mode 100644 hw/sparc64/sun4u_iommu.c
>  delete mode 100644 include/hw/sparc/sun4m.h
>  create mode 100644 include/hw/sparc/sun4m_iommu.h
>  create mode 100644 include/hw/sparc/sun4u_iommu.h
>
> --
> 1.7.10.4
>



-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

      parent reply	other threads:[~2017-12-19  8:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26 13:35 [Qemu-devel] [PATCH 0/8] sparc: IOMMU tidy-up and reorganisation Mark Cave-Ayland
2017-11-26 13:35 ` [Qemu-devel] [PATCH 1/8] sun4m: move sun4m_iommu.c from hw/dma to hw/sparc Mark Cave-Ayland
2017-11-26 13:35 ` [Qemu-devel] [PATCH 2/8] sun4m: move IOMMU declarations from sun4m.h to sun4m_iommu.h Mark Cave-Ayland
2017-11-26 15:13   ` Philippe Mathieu-Daudé
2017-11-26 13:35 ` [Qemu-devel] [PATCH 3/8] sun4m: remove include/hw/sparc/sun4m.h and all references to it Mark Cave-Ayland
2017-11-26 15:13   ` Philippe Mathieu-Daudé
2017-11-26 13:35 ` [Qemu-devel] [PATCH 4/8] apb: QOMify IOMMU Mark Cave-Ayland
2017-11-26 13:35 ` [Qemu-devel] [PATCH 5/8] sun4u: split IOMMU device out from apb.c to sun4u_iommu.c Mark Cave-Ayland
2017-11-26 13:35 ` [Qemu-devel] [PATCH 6/8] sun4u_iommu: update to reflect IOMMU is no longer part of the APB device Mark Cave-Ayland
2017-11-26 15:17   ` Philippe Mathieu-Daudé
2017-11-26 13:35 ` [Qemu-devel] [PATCH 7/8] sun4u_iommu: convert from IOMMU_DPRINTF to trace-events Mark Cave-Ayland
2017-11-26 15:17   ` Philippe Mathieu-Daudé
2017-11-26 13:35 ` [Qemu-devel] [PATCH 8/8] sun4u_iommu: add trace event for IOMMU translations Mark Cave-Ayland
2017-11-26 15:18   ` Philippe Mathieu-Daudé
2017-12-19  8:00 ` Artyom Tarasenko [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=CACXAS8DRKEGkC8YFN4PFf1d7kGeerN6cNPcS94zk2YvNoVLgSA@mail.gmail.com \
    --to=atar4qemu@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --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).