]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Add ability to set the mcde state for a process
authorEric Snowberg <eric.snowberg@oracle.com>
Thu, 17 Nov 2016 21:27:36 +0000 (13:27 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 9 Mar 2017 03:30:16 +0000 (19:30 -0800)
commit5a51d6405596897ef4186ce2847a06595123f9f8
treed952de04a253d2e04bd18c0d861d3ed2b3cefdcd
parent58369ded44b1165808443e79d6992471645afe06
sparc64: Add ability to set the mcde state for a process

turn off version checking (PSTATE.mcde) to avoid tripping over ADI
versions in flux.  This has been partially remedied by using non-faulting
loads.

However, there is still a need to turn off PSTATE.mcde in memory dump
functions.  This is to determine if an address is readable.  If the
address is unreadable, the dump shows the memory contents as "********"
instead of a 4-byte hex value.

Orabug: 25130002

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by: Khalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
fs/proc/base.c