Hi Narinder,

Is this an architectural L2 cache or an external one?
If the former, you should not need any platform-specific invalidation.

Can you try without your modifications, but with the patch Leo Duran
sent this morning?

Regards,

Leif

On 13 March 2015 at 03:24, Narinder Dhillon <[email protected]> wrote:
> Hi All,
> Figured it out. L2 cache needed to be flushed. All good now.
> Thanx,
>
> On Wed, Mar 11, 2015 at 7:55 AM, Ronald Cron <[email protected]> wrote:
>>
>> Hi, we do not currently experience this issue on Juno even if two nodes
>> are declared. Though, there is one difference compared to your situation :
>> the two segments of memory are not contiguous. I have started to look into
>> our bug history but did not find anything obvious yet. I will try to dig
>> more but I am not sure to have much time in the coming days.
>>
>>
>>
>> Regards, Ronald Cron.
>>
>>
>>
>> From: Narinder Dhillon [mailto:[email protected]]
>> Sent: 06 March 2015 18:54
>> To: [email protected]
>> Subject: [edk2] Two Node ARM64 SoC Memory Corruption
>>
>>
>>
>> Hi All,
>>
>>
>>
>> I am trying to find out what is causing memory corruption in my 2 node
>> board.
>>
>>
>>
>> Each node has 16GB of RAM and I have followed the example if ArmJunoPkg to
>> add an extra HOB for RAM on second node. This is recognized by Linux NUMA
>> kernel correctly.
>>
>>
>>
>> When I build a debug version of UEFI, it works but the release version of
>> the UEFI crashes just before jumping to kernel. After a lot of debugging,
>> the culprit seems to be some piece of code that is trashing RAM locations
>> above the 8GB area on Node1. It is always 128 bytes cleared to zero.
>>
>>
>>
>> I can run UEFI in one node configuration with 32GB of RAM and I don't see
>> this crash. I have tried disabling drivers for our board but problem
>> persists.
>>
>>
>>
>> Is there any special consideration for adding second node to UEFI ?
>>
>> The second node is not executing any code but it's DDR is initialized and
>> can be accessed by first node.
>>
>>
>>
>> Thanx,
>>
>>
>>
>>
>>
>>
>>
>>
>> -- IMPORTANT NOTICE: The contents of this email and any attachments are
>> confidential and may also be privileged. If you are not the intended
>> recipient, please notify the sender immediately and do not disclose the
>> contents to any other person, use it for any purpose, or store or copy the
>> information in any medium. Thank you.
>>
>> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2557590
>> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2548782
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs
>> to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to