All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH 0/3] hw/arm/virt: Support Cortex-A57
       [not found] <1398362083-17737-1-git-send-email-peter.maydell@linaro.org>
@ 2014-05-01 13:49 ` Peter Maydell
  0 siblings, 0 replies; only message in thread
From: Peter Maydell @ 2014-05-01 13:49 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Rob Herring, Peter Crosthwaite, kvmarm, Patch Tracking

On 24 April 2014 18:54, Peter Maydell <peter.maydell@linaro.org> wrote:
> This patchset wires up our new Cortex-A57 emulation into
> the "virt" machine model. Rather than the somewhat hacky
> approach in the previous system emulation patchsets, I've
> decided that our best approach is to have the board model
> create the GIC itself. This essentially corresponds to
> modelling a board with a standalone GIC -- you can see
> this in some real hardware which uses a GIC-400. I think
> this makes more sense than either borrowing the a15mpcore_priv
> device, or creating an a57mpcore_priv device (since the A57
> does not actually have a built-in GICv2).
>
> To handle hosts with 64K pages in KVM mode, we need to
> amke sure our GIC puts its GICC and GICD at 64K boundaries
> (so that the host kernel can map a 64K host page with the
> host GICV in as the guest GICC).
>
> For consistency, we make the 'virt' machine's GIC the
> same for all supported CPUs; 32 bit CPUs don't need
> the 64K spacing, but they don't object to it either, and
> it's simpler to use the same memory map for everything
> rather than fiddle with it based on CPU features.
>
> Peter Maydell (3):
>   hw/arm/virt: Create the GIC ourselves rather than (ab)using
>     a15mpcore_priv
>   hw/arm/virt: Put GIC register banks on 64K boundaries
>   hw/arm/virt: Add support for Cortex-A57
>
>  hw/arm/virt.c | 93 +++++++++++++++++++++++++++++++++++++++--------------------
>  1 file changed, 61 insertions(+), 32 deletions(-)

Applying to target-arm.next...

thanks
-- PMM

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-01 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1398362083-17737-1-git-send-email-peter.maydell@linaro.org>
2014-05-01 13:49 ` [Qemu-devel] [PATCH 0/3] hw/arm/virt: Support Cortex-A57 Peter Maydell

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.