From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup
Date: Fri, 13 Jun 2014 12:41:44 -0700 [thread overview]
Message-ID: <539B53F8.6090204@freescale.com> (raw)
In-Reply-To: <20140610091540.GE17398@leverpostej>
On 06/10/2014 02:15 AM, Mark Rutland wrote:
> Hi,
>
> Apologies for the delay in replying.
>
> On Fri, Jun 06, 2014 at 11:14:23PM +0100, York Sun wrote:
>> On 06/06/2014 01:17 PM, York Sun wrote:
>>> On 06/06/2014 10:32 AM, Mark Rutland wrote:
>>>>>> How is TCR_EL2.SH0 (or TCR_EL1.SH*) configured?
>>>>>>
>>>>>> You'll only need to flush the cache if they're configured non shareable.
>>>>>
>>>>> It is configured as non shareable.
>>>>
>>>> Is there any reason not to configure them as inner shareable? That way
>>>> the MMU will look in the D-cache, and you won't have to spend time
>>>> flushing them.
>>>>
>>>
>>> Mark,
>>>
>>> I appreciate the reminder. I tried on our emulator. With inner share set for TCR
>>> SH0 bits, u-boot works with the flushing, but doesn't work without flushing. It
>>> went to exception.
>>>
>>> Can you share more information about the inner share? I need to follow up with
>>> our designer to confirm.
>>>
>>
>> A second thought, do I need to set the first MMU table so DDR is inner shareable?
>
> I assume you mean configuring MAIR_ELx such that the mapping covering
> DDR is cacheable for the inner shareable domain? If so, yes.
>
Mark,
I tried both inner share and outer. It doesn't work without flushing the cache.
I will keep this part of code until I learn otherwise.
York
next prev parent reply other threads:[~2014-06-13 19:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 20:49 [U-Boot] [Patch v4 1/5] Added 64-bit MMIO accessors for ARMv8 York Sun
2014-05-29 20:49 ` [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup York Sun
2014-06-02 11:34 ` Mark Rutland
2014-06-02 16:06 ` York Sun
2014-06-02 18:01 ` Mark Rutland
2014-06-04 16:27 ` York Sun
2014-06-05 10:09 ` Mark Rutland
2014-06-05 15:07 ` York Sun
2014-06-05 17:41 ` Mark Rutland
2014-06-05 18:34 ` York Sun
2014-06-06 12:33 ` Mark Rutland
2014-06-06 14:54 ` York Sun
2014-06-06 17:32 ` Mark Rutland
2014-06-06 17:37 ` York Sun
2014-06-06 20:17 ` York Sun
2014-06-06 22:14 ` York Sun
2014-06-10 9:15 ` Mark Rutland
2014-06-10 16:04 ` York Sun
2014-06-13 19:41 ` York Sun [this message]
2014-06-18 14:09 ` fenghua at phytium.com.cn
2014-06-18 15:44 ` York Sun
2014-06-06 13:34 ` Rob Herring
2014-06-06 14:52 ` York Sun
2014-06-06 16:09 ` Tom Rini
2014-05-29 20:49 ` [U-Boot] [Patch v4 3/5] ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC York Sun
2014-06-11 14:05 ` fenghua at phytium.com.cn
2014-06-11 14:55 ` York Sun
2014-05-29 20:49 ` [U-Boot] [Patch v4 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware York Sun
2014-05-29 20:49 ` [U-Boot] [Patch v4 5/5] ARMv8/ls2100a_emu: Add LS2100A emulator and simulator board support York Sun
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=539B53F8.6090204@freescale.com \
--to=yorksun@freescale.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