From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [Xen-devel] [ANNOUNCE] Xen port to Cortex-A15 / ARMv7 with virt extensions
Date: Fri, 16 Dec 2011 17:47:04 +0000 [thread overview]
Message-ID: <20111216174704.GF6342@arm.com> (raw)
In-Reply-To: <4EEB822C.7010809@citrix.com>
On Fri, Dec 16, 2011 at 05:38:52PM +0000, David Vrabel wrote:
> On 16/12/11 16:54, Catalin Marinas wrote:
> > On Fri, Dec 16, 2011 at 03:43:57PM +0000, David Vrabel wrote:
> >> On 30/11/11 14:11, Catalin Marinas wrote:
> >>> On 30 November 2011 11:39, Stefano Stabellini
> >>> <stefano.stabellini@eu.citrix.com> wrote:
> >>>> A git branch is available here (not ready for submission):
> >>>>
> >>>> git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git arm
> >>>>
> >>>> the branch above is based on git://linux-arm.org/linux-2.6.git arm-lpae,
> >>>> even though guests don't really need lpae support to run on Xen.
> >>>
> >>> Indeed, you don't really need LPAE. What you may need though is
> >>> generic timers support for A15, it would allow less Hypervisor traps.
> >>> For up-to-date architecture patches (well, development tree, not
> >>> guaranteed to be stable), I would recommend this (they get into
> >>> mainline at some point):
> >>>
> >>> http://git.kernel.org/?p=linux/kernel/git/cmarinas/linux-arm-arch.git;a=summary
> >>>
> >>> Either use master or just cherry-pick the branches that you are interested in.
> >>
> >> Which branches are required for the Versatile Express with the
> >> Cortex-A15? I merged linux-arm-arch/arm-arch/vexpress in
> >
> > That's the branch if you only need VE and A15 support
> >
> >> but I get a
> >> instruction fault immediately after branching to __mmap_switched.
> >>
> >> Is it not setting up the MMU correctly?
> >
> > Do you run this on a software model? What config options do you use? You
> > would need to enable VEXPRESS_EXTENDED_MEMORY_MAP and
> > ARCH_VEXPRESS_CA15X4.
>
> The envelope model, yes. Both those options are enabled. I've also
> attached the complete config and the model configuration.
>
> I took a closer look at the diffs between what Stefano had in his tree
> (which included a bunch of LPAE support which I don't have enabled) and
> the kernel boots the addition of some isb's when the MMU is switched on.
>
> These were added by: "ARM: LPAE: add ISBs around MMU enabling code"
> (commit 1c553c2 in your tree) which is think is only present in the LPAE
> branch. Is this patch not actually specific to LPAE? Are there other
> similar patches?
This patch is not specific to LPAE, it's an architecture requirement and
it became visible with A15. The complete patch is here:
http://git.kernel.org/?p=linux/kernel/git/cmarinas/linux-arm-arch.git;a=commitdiff;h=1c553c2afdd7a57cf874a38925bc58381b28150b
though I only kept it in my LPAE branch (which is on it's way to
mainline for 3.3-rc1).
--
Catalin
WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Arnd Bergmann <arnd@arndb.de>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [ANNOUNCE] Xen port to Cortex-A15 / ARMv7 with virt extensions
Date: Fri, 16 Dec 2011 17:47:04 +0000 [thread overview]
Message-ID: <20111216174704.GF6342@arm.com> (raw)
In-Reply-To: <4EEB822C.7010809@citrix.com>
On Fri, Dec 16, 2011 at 05:38:52PM +0000, David Vrabel wrote:
> On 16/12/11 16:54, Catalin Marinas wrote:
> > On Fri, Dec 16, 2011 at 03:43:57PM +0000, David Vrabel wrote:
> >> On 30/11/11 14:11, Catalin Marinas wrote:
> >>> On 30 November 2011 11:39, Stefano Stabellini
> >>> <stefano.stabellini@eu.citrix.com> wrote:
> >>>> A git branch is available here (not ready for submission):
> >>>>
> >>>> git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git arm
> >>>>
> >>>> the branch above is based on git://linux-arm.org/linux-2.6.git arm-lpae,
> >>>> even though guests don't really need lpae support to run on Xen.
> >>>
> >>> Indeed, you don't really need LPAE. What you may need though is
> >>> generic timers support for A15, it would allow less Hypervisor traps.
> >>> For up-to-date architecture patches (well, development tree, not
> >>> guaranteed to be stable), I would recommend this (they get into
> >>> mainline at some point):
> >>>
> >>> http://git.kernel.org/?p=linux/kernel/git/cmarinas/linux-arm-arch.git;a=summary
> >>>
> >>> Either use master or just cherry-pick the branches that you are interested in.
> >>
> >> Which branches are required for the Versatile Express with the
> >> Cortex-A15? I merged linux-arm-arch/arm-arch/vexpress in
> >
> > That's the branch if you only need VE and A15 support
> >
> >> but I get a
> >> instruction fault immediately after branching to __mmap_switched.
> >>
> >> Is it not setting up the MMU correctly?
> >
> > Do you run this on a software model? What config options do you use? You
> > would need to enable VEXPRESS_EXTENDED_MEMORY_MAP and
> > ARCH_VEXPRESS_CA15X4.
>
> The envelope model, yes. Both those options are enabled. I've also
> attached the complete config and the model configuration.
>
> I took a closer look at the diffs between what Stefano had in his tree
> (which included a bunch of LPAE support which I don't have enabled) and
> the kernel boots the addition of some isb's when the MMU is switched on.
>
> These were added by: "ARM: LPAE: add ISBs around MMU enabling code"
> (commit 1c553c2 in your tree) which is think is only present in the LPAE
> branch. Is this patch not actually specific to LPAE? Are there other
> similar patches?
This patch is not specific to LPAE, it's an architecture requirement and
it became visible with A15. The complete patch is here:
http://git.kernel.org/?p=linux/kernel/git/cmarinas/linux-arm-arch.git;a=commitdiff;h=1c553c2afdd7a57cf874a38925bc58381b28150b
though I only kept it in my LPAE branch (which is on it's way to
mainline for 3.3-rc1).
--
Catalin
next prev parent reply other threads:[~2011-12-16 17:47 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 14:53 [ANNOUNCE] Xen port to Cortex-A15 / ARMv7 with virt extensions Stefano Stabellini
2011-11-29 14:53 ` Stefano Stabellini
2011-11-29 14:53 ` Stefano Stabellini
2011-11-29 14:53 ` Stefano Stabellini
2011-11-29 21:29 ` Arnd Bergmann
2011-11-29 21:29 ` Arnd Bergmann
2011-11-29 21:29 ` Arnd Bergmann
[not found] ` <201111292129.20444.arnd-r2nGTMty4D4@public.gmane.org>
2011-11-30 4:42 ` Anup Patel
2011-11-30 11:41 ` Stefano Stabellini
2011-11-30 11:41 ` Stefano Stabellini
2011-11-30 11:41 ` Stefano Stabellini
2011-11-30 4:42 ` Anup Patel
2011-11-30 11:39 ` Stefano Stabellini
2011-11-30 11:39 ` Stefano Stabellini
2011-11-30 11:39 ` Stefano Stabellini
2011-11-30 13:03 ` Arnd Bergmann
2011-11-30 13:03 ` Arnd Bergmann
2011-11-30 13:25 ` [Xen-devel] " Ian Campbell
2011-11-30 13:25 ` Ian Campbell
2011-11-30 14:32 ` Arnd Bergmann
2011-11-30 14:32 ` Arnd Bergmann
2011-11-30 14:32 ` Arnd Bergmann
2011-11-30 14:32 ` Arnd Bergmann
2011-11-30 14:51 ` Pawel Moll
2011-11-30 14:51 ` Pawel Moll
2011-11-30 14:51 ` Pawel Moll
2011-11-30 16:27 ` Ian Campbell
2011-11-30 16:27 ` Ian Campbell
2011-11-30 16:27 ` Ian Campbell
2011-11-30 18:15 ` Arnd Bergmann
2011-11-30 18:15 ` Arnd Bergmann
2011-11-30 18:15 ` Arnd Bergmann
2011-11-30 18:32 ` [Embeddedxen-devel] " Stefano Stabellini
2011-11-30 18:32 ` Stefano Stabellini
2011-11-30 18:32 ` Stefano Stabellini
2011-12-01 10:26 ` Ian Campbell
2011-12-01 10:26 ` Ian Campbell
2011-12-01 10:26 ` Ian Campbell
2011-12-01 15:10 ` [Android-virt] " Catalin Marinas
2011-12-01 15:10 ` Catalin Marinas
2011-12-01 15:10 ` Catalin Marinas
2011-12-01 15:42 ` Arnd Bergmann
2011-12-01 15:42 ` Arnd Bergmann
2011-12-01 15:42 ` Arnd Bergmann
2011-12-01 16:02 ` Catalin Marinas
2011-12-01 16:02 ` Catalin Marinas
2011-12-01 16:02 ` Catalin Marinas
2011-12-01 16:44 ` Arnd Bergmann
2011-12-01 16:44 ` Arnd Bergmann
2011-12-01 16:44 ` Arnd Bergmann
2011-12-01 16:57 ` Catalin Marinas
2011-12-01 16:57 ` Catalin Marinas
2011-12-01 16:57 ` Catalin Marinas
2011-12-01 15:52 ` Ian Campbell
2011-12-01 15:52 ` Ian Campbell
2011-12-01 15:52 ` Ian Campbell
2011-12-01 15:10 ` Catalin Marinas
2011-12-01 15:12 ` Stefano Stabellini
2011-12-01 15:12 ` Stefano Stabellini
2011-12-01 15:12 ` Stefano Stabellini
2011-12-01 10:34 ` Ian Campbell
2011-12-01 10:34 ` Ian Campbell
2011-11-30 18:15 ` Arnd Bergmann
2011-11-30 13:25 ` Ian Campbell
2011-11-30 13:03 ` Arnd Bergmann
2011-11-30 14:11 ` Catalin Marinas
2011-11-30 14:11 ` Catalin Marinas
2011-11-30 14:11 ` Catalin Marinas
2011-11-30 14:20 ` Stefano Stabellini
2011-11-30 14:20 ` Stefano Stabellini
2011-11-30 14:20 ` Stefano Stabellini
2011-12-16 15:43 ` [Xen-devel] " David Vrabel
2011-12-16 15:43 ` David Vrabel
2011-12-16 16:54 ` Catalin Marinas
2011-12-16 16:54 ` Catalin Marinas
2011-12-16 17:38 ` David Vrabel
2011-12-16 17:38 ` David Vrabel
2011-12-16 17:47 ` Catalin Marinas [this message]
2011-12-16 17:47 ` Catalin Marinas
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=20111216174704.GF6342@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.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.