diff options
author | Thomas Bogendoerfer <[email protected]> | 2020-01-09 11:34:28 +0100 |
---|---|---|
committer | Paul Burton <[email protected]> | 2020-01-09 15:30:56 -0800 |
commit | 10cf8300ecada10f4bd6c9be78439cce98ae6d8b (patch) | |
tree | f7c4812c986b08cfc8e853c6cea57622c26de581 /tools/perf/scripts/python/sctop.py | |
parent | 2634e5a651e74efc415b2eff37116fcb8206b614 (diff) |
MIPS: SGI-IP27: fix readb/writeb addressing
Our chosen byte swapping, which is what firmware already uses, is to
do readl/writel by normal lw/sw intructions (data invariance). This
also means we need to mangle addresses for u8 and u16 accesses. The
mangling for 16bit has been done aready, but 8bit one was missing.
Correcting this causes different addresses for accesses to the
SuperIO and local bus of the IOC3 chip. This is fixed by changing
byte order in ioc3 and m48rtc_rtc structs.
Acked-by: Alexandre Belloni <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions