qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64
@ 2014-12-23  9:42 Gaurav Sharma
  2014-12-23  9:58 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Gaurav Sharma @ 2014-12-23  9:42 UTC (permalink / raw)
  To: QEMU-DEVEL

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

Do we have MPU/MMU support for aarch64 yet ?
For aarch64, in 'aarch64_a57_initfn', I do not see the MPU feature being
enabled also, not same being handled in helper file.

Thanks,
Gaurav

[-- Attachment #2: Type: text/html, Size: 266 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64
  2014-12-23  9:42 [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64 Gaurav Sharma
@ 2014-12-23  9:58 ` Peter Maydell
  2014-12-23 10:15   ` Gaurav Sharma
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2014-12-23  9:58 UTC (permalink / raw)
  To: Gaurav Sharma; +Cc: QEMU-DEVEL

On 23 December 2014 at 09:42, Gaurav Sharma <gauravs.2010@gmail.com> wrote:
> Do we have MPU/MMU support for aarch64 yet ?
> For aarch64, in 'aarch64_a57_initfn', I do not see the MPU
> feature being enabled also, not same being handled in helper file.

We support the MMU, obviously. Otherwise nothing would work.
The MPU is completely different and is for R and M profile devices,
none of which have AArch64.

-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64
  2014-12-23  9:58 ` Peter Maydell
@ 2014-12-23 10:15   ` Gaurav Sharma
  2014-12-23 12:07     ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Gaurav Sharma @ 2014-12-23 10:15 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU-DEVEL

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

to be precise 'get_phys_addr_lpae' is the method where in mmu handling is
being done ?

Thanks,

On Tue, Dec 23, 2014 at 3:28 PM, Peter Maydell <peter.maydell@linaro.org>
wrote:

> On 23 December 2014 at 09:42, Gaurav Sharma <gauravs.2010@gmail.com>
> wrote:
> > Do we have MPU/MMU support for aarch64 yet ?
> > For aarch64, in 'aarch64_a57_initfn', I do not see the MPU
> > feature being enabled also, not same being handled in helper file.
>
> We support the MMU, obviously. Otherwise nothing would work.
> The MPU is completely different and is for R and M profile devices,
> none of which have AArch64.
>
> -- PMM
>

[-- Attachment #2: Type: text/html, Size: 1102 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64
  2014-12-23 10:15   ` Gaurav Sharma
@ 2014-12-23 12:07     ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2014-12-23 12:07 UTC (permalink / raw)
  To: Gaurav Sharma; +Cc: QEMU-DEVEL

On 23 December 2014 at 10:15, Gaurav Sharma <gauravs.2010@gmail.com> wrote:
> to be precise 'get_phys_addr_lpae' is the method where in mmu handling is
> being done ?

Well, it's where we turn vaddrs into physaddrs, which is the
core of the MMU, yes. Other stuff like handling of the MMU specific
system registers, TLB and cache maintenance ops, etc, is elsewhere
(in the obvious places).

-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-23 12:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23  9:42 [Qemu-devel] [QUERY] : 64 bit virtual address line support for aarch64 Gaurav Sharma
2014-12-23  9:58 ` Peter Maydell
2014-12-23 10:15   ` Gaurav Sharma
2014-12-23 12:07     ` Peter Maydell

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).