Skip to content

Switch internal registers address to 0xF1 on Armada 370/XP

Sebastian Hesselbarth linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 9 patches 0 repliesNew

1 of 9 patches is in this archive. The cover letter announces 9.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
9/9arm: mvebu: switch internal register address at runtime if needed+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP
Quoted 8 lines · Willy Tarreau

On Tue, May 21, 2013 at 12:33:25PM +0200, Thomas Petazzoni wrote:
(...)

Quoted 5 lines

As it was explained above, we unfortunately can't read the current base address of the internal register window, so we need a different mechanism to know if the bootloader has done the remapping at 0xF1000000 (new generation bootloader) or has left the internal registers at 0xD0000000 (old generation bootloader).

Quoted 6 lines

Just out of curiosity, what happens if you touch the register at the wrong address ? I mean, if you blindly write to the 0xD0xxxxxx address that you want the registers to be mapped at 0xF1xxxxxx. Will the chip hang, will it silently ignore the sequence ? Because maybe you don't need to detect using CP15 whether the remapping was done, you could simply perform it unconditionally.

Willy,

I tried the above on Dove which is possibly affected by the workaround as it is also ARMv7. In Dove you can access unmapped addresses without any problems, but as Thomas already stated Armada 370/XP just hang. Must be some default AHB slave in Dove, which Armada 370/XP is missing.

Sebastian