public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Keerthy <a0393675@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question on Enabling hypervisor mode in u-boot
Date: Tue, 2 Aug 2016 17:29:20 +0530	[thread overview]
Message-ID: <57A08B18.30200@ti.com> (raw)
In-Reply-To: <579FFD45.4030805@ti.com>

Hi Alex,


On Tuesday 02 August 2016 07:24 AM, Keerthy wrote:
>
>
> On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote:
>>
>>> On 01 Aug 2016, at 11:07, Keerthy <a0393675@ti.com> wrote:
>>>
>>> Hi Alexander,
>>>
>>> I am trying to enable hypervisor in u-boot for DRA7(A15 based) family
>>> of SoCs which does not have LPAE support yet.
>>>
>>> Is it mandatory for LPAE to be enabled before enabling hypervisor for
>>> A15?
>>
>> HYP mode shares the same page table layout as the LPAE one. I?m
>> actually surprised you managed to configure an A15 without LPAE. Are
>> you sure it doesn?t support it?
>
> I meant CONFIG_LPAE not enabled yet in our defconfig. I was trying to
> get hyp mode enabled and saw that enabling LPAE config seemed mandatory
> as per your commit.

I am referring 
http://liris.cnrs.fr/~mmrissa/lib/exe/fetch.php?media=armv7-a-r-manual.pdf.

Attrm[3:0] bits for DCACHE_WRITEALLOC, DCACHE_WRITEBACK, 
DCACHE_WRITETHROUGH definitions.

DCACHE_WRITEBACK should have 0x3 << 2 to get 11RW for MAIRn.Attrm[3:0] 
encoding.

Correct me if i am wrong of referring a wrong document.


Regards,
Keerthy

>
>>
>>
>> Alex
>>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

  reply	other threads:[~2016-08-02 11:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 10:07 [U-Boot] Question on Enabling hypervisor mode in u-boot Keerthy
2016-08-01 17:41 ` Andreas Färber
2016-08-02  2:19   ` Keerthy
2016-08-01 21:46 ` Alexander Graf
2016-08-02  1:54   ` Keerthy
2016-08-02 11:59     ` Keerthy [this message]
2016-08-04  5:21       ` Alexander Graf
2016-08-04  5:30         ` Keerthy

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=57A08B18.30200@ti.com \
    --to=a0393675@ti.com \
    --cc=u-boot@lists.denx.de \
    /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