Skip to content

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

Willy Tarreau linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

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 22 lines · Thomas Petazzoni

Dear Willy Tarreau,

Quoted 2 lines · Willy Tarreau

Just out of curiosity, what happens if you touch the register at the wrong address ?

On Armada 370/XP, it hangs the CPU.

Quoted 3 lines

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 ?

Answered above: it hangs.

Quoted 7 lines

Because maybe you don't need to detect using CP15 whether the remapping was done, you could simply perform it unconditionally. Another point would be that if the boot loader is the only one to know whether the registeres were remapped, then maybe it could put something into the atags or DT about this. And maybe we'll simply find that DT-enabled boot loaders are remapped and that non-DT ones are not.

Quoted 7 lines
Quoted 2 lines

Just a few ideas since you feel a bit worried about the fragility of the CP15 bit :-)

No, as explained above, we have considered a way of "detecting" whether the remapping occurred, or to unconditionally do the remapping. But none of those solutions work: we need to know, through some external mechanism, whether the remapping has already taken place or not.

OK, thank you for these precisions.

Best regards,
Willy