summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-09-01 17:30:08 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-10-04 16:13:57 +0200
commitc195e079e9dd00ffeb274965737280ca6d10ff70 (patch)
tree42b894b7b27a838b0a09aee1851ccfdee0c49871 /Documentation/power
parent18022894eca1315851bfd0614f011fbc01e44d16 (diff)
MIPS: traps: Convert ebase to KSEG0
When allocating boot memory for the exception vector when vectored interrupts (vint) or vectored external interrupt controllers (veic) are enabled, try to ensure that the virtual address resides in KSeg0 (and WARN should that not be possible). This will be helpful on MIPS64 cores supporting the CP0_EBase Write Gate (WG) bit once we start using the WG bit to write the full ebase into CP0_EBase, as we ideally need to avoid hitting the architecturally poorly defined exception base for Cache Errors when CP0_EBase is in XKPhys. An exception is made for Enhanced Virtual Addressing (EVA) kernels which allow segments to be rearranged and to become uncached during cache error handling, making it valid for ebase to be elsewhere. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Matt Redfearn <matt.redfearn@imgtec.com> Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14149/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions