Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem

Authored by luporl on Feb 5 2019, 6:23 PM.



For direct mapped kernel addresses, ppc64 function was not
performing the dmap to physical conversion, before jumping
to the code that fetched the value from physical memory.

Test Plan

This issue was found while trying to use ktrdump, which was failing to fetch values from /dev/kmem.
With this change, it works properly.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

luporl created this revision.Feb 5 2019, 6:23 PM
luporl edited the summary of this revision. (Show Details)Feb 5 2019, 6:29 PM
jhibbits accepted this revision.Feb 7 2019, 3:18 PM
This revision is now accepted and ready to land.Feb 7 2019, 3:18 PM
This revision was automatically updated to reflect the committed changes.