All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: 'Eric Auger' <eric.auger@linaro.org>,
	'Peter Maydell' <peter.maydell@linaro.org>
Cc: 'QEMU Developers' <qemu-devel@nongnu.org>, kvmarm@lists.cs.columbia.edu
Subject: RE: [Qemu-devel] [PATCH v3 4/4] target-arm: Add the GICv2m to the virt board
Date: Tue, 26 May 2015 09:39:32 +0300	[thread overview]
Message-ID: <00c101d0977e$b990ea60$2cb2bf20$@samsung.com> (raw)
In-Reply-To: <55634D0D.3010103@linaro.org>

 Hi!

> > Why? The v2m device isn't really related to the GICv3...
> In the future this handle could point to GICv2m or GICv3 ITS or GICv3
> (if I understand it correctly, when it supports message base interrupts
> and no ITS). They all would play the same role of msi-controller.

 Yes, exactly. In my implementation being developed i actually reused first patch from this set, and indeed 'v2m_handle' appeared to be useful for ITS. My code flow is something like:
 if (gicv3)
  create_its()
else
  create_v2m()

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Fedin <p.fedin@samsung.com>
To: 'Eric Auger' <eric.auger@linaro.org>,
	'Peter Maydell' <peter.maydell@linaro.org>
Cc: 'QEMU Developers' <qemu-devel@nongnu.org>,
	'Christoffer Dall' <christoffer.dall@linaro.org>,
	kvmarm@lists.cs.columbia.edu
Subject: Re: [Qemu-devel] [PATCH v3 4/4] target-arm: Add the GICv2m to the virt board
Date: Tue, 26 May 2015 09:39:32 +0300	[thread overview]
Message-ID: <00c101d0977e$b990ea60$2cb2bf20$@samsung.com> (raw)
In-Reply-To: <55634D0D.3010103@linaro.org>

 Hi!

> > Why? The v2m device isn't really related to the GICv3...
> In the future this handle could point to GICv2m or GICv3 ITS or GICv3
> (if I understand it correctly, when it supports message base interrupts
> and no ITS). They all would play the same role of msi-controller.

 Yes, exactly. In my implementation being developed i actually reused first patch from this set, and indeed 'v2m_handle' appeared to be useful for ITS. My code flow is something like:
 if (gicv3)
  create_its()
else
  create_v2m()

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

  reply	other threads:[~2015-05-26  6:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 10:51 [PATCH v3 0/4] Add support for for GICv2m and MSIs to arm-virt Christoffer Dall
2015-05-24 10:51 ` [Qemu-devel] " Christoffer Dall
2015-05-24 10:51 ` [PATCH v3 1/4] target-arm: Add GIC phandle to VirtBoardInfo Christoffer Dall
2015-05-24 10:51   ` [Qemu-devel] " Christoffer Dall
2015-05-26 12:24   ` Eric Auger
2015-05-26 12:24     ` [Qemu-devel] " Eric Auger
2015-05-24 10:51 ` [PATCH v3 2/4] arm_gicv2m: Add GICv2m widget to support MSIs Christoffer Dall
2015-05-24 10:51   ` [Qemu-devel] " Christoffer Dall
2015-05-26 12:24   ` Eric Auger
2015-05-26 12:24     ` [Qemu-devel] " Eric Auger
2015-05-24 10:51 ` [PATCH v3 3/4] target-arm: Extend the gic node properties Christoffer Dall
2015-05-24 10:51   ` [Qemu-devel] " Christoffer Dall
2015-05-26 12:54   ` Eric Auger
2015-05-26 12:54     ` [Qemu-devel] " Eric Auger
2015-05-24 10:51 ` [PATCH v3 4/4] target-arm: Add the GICv2m to the virt board Christoffer Dall
2015-05-24 10:51   ` [Qemu-devel] " Christoffer Dall
2015-05-25 13:09   ` Pavel Fedin
2015-05-25 13:09     ` [Qemu-devel] " Pavel Fedin
2015-05-25 15:01     ` Peter Maydell
2015-05-25 15:01       ` Peter Maydell
2015-05-25 16:25       ` Eric Auger
2015-05-25 16:25         ` Eric Auger
2015-05-26  6:39         ` Pavel Fedin [this message]
2015-05-26  6:39           ` Pavel Fedin
2015-05-25 20:56     ` Christoffer Dall
2015-05-25 20:56       ` Christoffer Dall
2015-05-26 12:54   ` Eric Auger
2015-05-26 12:54     ` [Qemu-devel] " Eric Auger
2015-05-26 12:55     ` Peter Maydell
2015-05-26 12:55       ` [Qemu-devel] " Peter Maydell
2015-05-26 13:07       ` Eric Auger
2015-05-26 13:07         ` [Qemu-devel] " Eric Auger
2015-05-26 13:52         ` Peter Maydell
2015-05-26 13:52           ` [Qemu-devel] " Peter Maydell
2015-05-26 13:54         ` Pavel Fedin
2015-05-26 13:54           ` [Qemu-devel] " Pavel Fedin

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='00c101d0977e$b990ea60$2cb2bf20$@samsung.com' \
    --to=p.fedin@samsung.com \
    --cc=eric.auger@linaro.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --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.