MIPS: Print segment physical address when EU=1
authorJames Hogan <james.hogan@imgtec.com>
Wed, 27 Jul 2016 15:07:54 +0000 (16:07 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2016 09:44:30 +0000 (11:44 +0200)
commit5573f6ad3efe3a247589b5fc468d8647b16f0952
tree80bb16b0a91c8ea0f995c8e5410b053edbf21e5a
parent2f8f8c04e8c72b38a0ecdd814b02c0fddc42b932
MIPS: Print segment physical address when EU=1

Currently the debugfs interface to print the segment configuration
refuses to print the physical address of mapped segments. However if the
EU bit is set these become unmapped at error level (when
CP0_Status.ERL=1), so the physical address is still relevant.

Update the logic to print the physical address of mapped segments when
the EU bit is set, while still hiding the Cache Coherency Attribute
(since EU overrides that to uncached when ERL=1 too).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13833/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/segment.c
This page took 0.028924 seconds and 5 git commands to generate.