10cf8300 | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
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 nee
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 <alexandre.belloni@bootlin.com> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: David S. Miller <davem@davemloft.net> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-rtc@vger.kernel.org
show more ...
|
78691e4f | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
MIPS: SGI-IP27: Only reserve interrupts used in Linux
Reduce number of reserved interrupts by removing bits copied from IRIX and not used by Linux.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer
MIPS: SGI-IP27: Only reserve interrupts used in Linux
Reduce number of reserved interrupts by removing bits copied from IRIX and not used by Linux.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
show more ...
|
524c4e1f | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
MIPS: SGI-IP27: Use specific get_region_shift
IP35 has a different way to find out regions, so we move the IP27 implementation to IP27 specific file.
Signed-off-by: Thomas Bogendoerfer <tbogendoerf
MIPS: SGI-IP27: Use specific get_region_shift
IP35 has a different way to find out regions, so we move the IP27 implementation to IP27 specific file.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
show more ...
|
aa2d74f9 | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
MIPS: SGI-IP27: Split kldir.h into generic SN and IP27 parts
SGI-IP35 uses slightly different memory layout, so we move IP27 defines to IP27 specific files and keep the common stuff in kldir.h
Sign
MIPS: SGI-IP27: Split kldir.h into generic SN and IP27 parts
SGI-IP35 uses slightly different memory layout, so we move IP27 defines to IP27 specific files and keep the common stuff in kldir.h
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
show more ...
|
e9d2eb99 | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
MIPS: SGI-IP27: Move get_nasid() to a IP27 specific file
get_nasid() will be different for SGI-IP35, therefore move IP27 implementation to IP27 specific file.
Signed-off-by: Thomas Bogendoerfer <tb
MIPS: SGI-IP27: Move get_nasid() to a IP27 specific file
get_nasid() will be different for SGI-IP35, therefore move IP27 implementation to IP27 specific file.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
show more ...
|
58fd034d | 09-Jan-2020 |
Thomas Bogendoerfer <tbogendoerfer@suse.de> |
MIPS: SGI-IP27: move IP27 specific macro to IP27 specific header file
Extracting node id from HUB register is specific to IP27 alias SN0. Move the macro definition to a SN0 header file.
Signed-off-
MIPS: SGI-IP27: move IP27 specific macro to IP27 specific header file
Extracting node id from HUB register is specific to IP27 alias SN0. Move the macro definition to a SN0 header file.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
show more ...
|