[ARM] Initializing TTBR0 to inner/outer WB

Jiong Wang jiong.wang@foss.arm.com
Mon Mar 21 14:47:00 GMT 2016

While running tests on internal systems, we identified an issue in the
startup code for newlib on AArch32 systems with Multiprocessor
Extensions to the architecture.

The issue is we were configuring page table flags to be Inner
cacheable/Outer non-cacheable, while for at least architectures with
Multiprocessor Extension, we'd configure it to Inner/Outer write-back, no
write-allocate, and cacheable.

The attached patch fixes this, and no regression on arm-none-eabi
bare-metal tests.

OK for trunk?


2016-03-21  Jiong Wang  <jiong.wang@arm.com>

   * arm/cpu-init/rdimon-aem.S: Set TTBR0 to inner/outer
   cacheable WB, and no allocate on WB for arch with multiprocessor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: new-fix.patch
Type: text/x-patch
Size: 1081 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160321/3affca8a/attachment.bin>

More information about the Newlib mailing list