devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eddie Huang <eddie.huang@mediatek.com>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mark Rutland <Mark.Rutland@arm.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Arnd Bergmann <arnd@arndb.de>, Pawel Moll <Pawel.Moll@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Mark Brown <broonie@linaro.org>,
	Will Deacon <Will.Deacon@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	yh.chen@mediatek.com, Robert Richter <rrichter@cavium.com>,
	"srv_heupstream@mediatek.com" <srv_heupstream@mediatek.com>,
	Rob Herring <robh+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Kumar Gala <galak@codeaurora.org>,
	Olof Johansson <olof@lixom.net>,
	"Joe.C" <yingjoe.chen@mediatek.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Jason Cooper <jason@lakedaemon.net>
Subject: Re: [PATCH v2 3/4] arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile
Date: Tue, 23 Dec 2014 16:02:03 +0800	[thread overview]
Message-ID: <1419321723.14341.38.camel@mtksdaap41> (raw)
In-Reply-To: <5497DF4C.4000104@arm.com>

Hi,

On Mon, 2014-12-22 at 09:07 +0000, Marc Zyngier wrote:
> On 20/12/14 20:07, Arnd Bergmann wrote:
> > On Wednesday 17 December 2014 15:01:29 Marc Zyngier wrote:
> >>
> >> Indeed, as described in the documentation:
> >> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/CHDIFAEE.html
> >>
> >> Also it is worth noticing that given how GICV is placed, it will never
> >> work with 64K pages and virtualization. Pretty sad.
> > 
> > Does this mean no VGIC support on this platform so you have to emulate it
> > in order to run virtual machines with 64K pages, or does it mean that
> > it's impossible to use that way because you can't emulate it?
> 
> As Peter said, this is not a configuration we're willing to support:
> - we don't have a API to tell userspace emulation about interrupts
> generated by the generic timers
> - we could move the whole GIC emulation into the kernel (at the moment,
> only the distributor is there), but that would be a complete nightmare
> 
> It really looks like a case of "let's drop a bunch of 64bit cores into
> an existing SoC". Shame people can't read integration guidelines...
> 
> 	M.

MT8173 use GIC-400. We check GIC-400 TRM that VGIC address is not 64KB
alignment. but GIC-500 (GICv3) VGIC base address is. We also check
3.19-rc1 arm64 device tree, amd-seattle-soc.dtsi VGIC is 64KB alignment,
but arm juno.dts is not, they are both GIC-400. So we are a little
confused, and still try to figure out what is the correct address.
Neverthless, MT8173 SoC already use 0x10224000 and 0x10225000 as VGIC
base address.

  reply	other threads:[~2014-12-23  8:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17 14:17 [PATCH v2 0/4] Add basic support for Mediatek MT8173 SoC Eddie Huang
2014-12-17 14:17 ` [PATCH v2 1/4] Document: DT: Add bindings for mediatek MT8173 Soc Platform Eddie Huang
2014-12-17 14:17 ` [PATCH v2 2/4] irqchip: mtk-sysirq: Get irq number from register resource size Eddie Huang
2014-12-17 14:17 ` [PATCH v2 3/4] arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile Eddie Huang
     [not found]   ` <1418825853-10934-4-git-send-email-eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2014-12-17 14:33     ` Mark Rutland
2014-12-17 15:01       ` Marc Zyngier
     [not found]         ` <54919AC9.2090306-5wv7dgnIgG8@public.gmane.org>
2014-12-20 20:07           ` Arnd Bergmann
2014-12-20 22:54             ` Peter Maydell
2014-12-22  9:07             ` Marc Zyngier
2014-12-23  8:02               ` Eddie Huang [this message]
2014-12-23  8:43                 ` Marc Zyngier
     [not found]                   ` <72aa7f4069a000c6e39c53e328015aa3-PqNocJHN/zZWj0EZb7rXcA@public.gmane.org>
2014-12-23 21:07                     ` Arnd Bergmann
2014-12-24  8:47                       ` Marc Zyngier
2014-12-23  7:30       ` Eddie Huang
2014-12-17 14:17 ` [PATCH v2 4/4] arm64: mediatek: Add MT8173 SoC Kconfig and defconfig Eddie Huang
     [not found] ` <1418825853-10934-1-git-send-email-eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2014-12-17 14:35   ` [PATCH v2 0/4] Add basic support for Mediatek MT8173 SoC Arnd Bergmann

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=1419321723.14341.38.camel@mtksdaap41 \
    --to=eddie.huang@mediatek.com \
    --cc=Catalin.Marinas@arm.com \
    --cc=Mark.Rutland@arm.com \
    --cc=Pawel.Moll@arm.com \
    --cc=Will.Deacon@arm.com \
    --cc=arnd@arndb.de \
    --cc=broonie@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jason@lakedaemon.net \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=olof@lixom.net \
    --cc=robh+dt@kernel.org \
    --cc=rrichter@cavium.com \
    --cc=srv_heupstream@mediatek.com \
    --cc=tglx@linutronix.de \
    --cc=yh.chen@mediatek.com \
    --cc=yingjoe.chen@mediatek.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).