Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

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

Details

Summary

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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
Closed by commit rS343872: [ppc64] fix /dev/kmem (authored by luporl, committed by ). · Explain WhyFeb 7 2019, 5:31 PM
This revision was automatically updated to reflect the committed changes.