]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Use CKSEG1ADDR for uncached handler
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Tue, 27 Apr 2010 20:53:30 +0000 (22:53 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:48 +0000 (20:52 +0100)
commitc827fd049e3609de44e15186158d60886615ae6b
treed60e6b0f6de80a485a56c21e4b008c8681c88008
parentbca474c493b950575d9216eae5dc239e303571c2
MIPS: Use CKSEG1ADDR for uncached handler

"MIPS: Calculate proper ebase value for 64-bit kernels"
9af43ea080dd5d6c7b34f38261780e5dd43537bc (lmo) rsp.
5c7260f029ab8c583f5ffce651c0070bd4762a23 (kernel.org) broke some 64-bit
MIPS systems.

Before this we were using XKPHYS/cached as ebase and computed the uncached
xphsys/unchached address for that area. After that commit ebase became a
32-bit compat address and convert does not work anymore.  We now should use
CKSEG1 for this. CKSEG1ADDR does just that in 32-bit and 64-bit.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Ralf Baechle <ralf@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/1149/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c