Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 7:37 AM
Unknown Object (File)
Mon, Apr 21, 7:35 AM
Unknown Object (File)
Fri, Apr 18, 2:17 AM
Unknown Object (File)
Fri, Apr 18, 12:12 AM
Unknown Object (File)
Thu, Apr 17, 10:17 PM
Unknown Object (File)
Thu, Apr 17, 10:07 PM
Unknown Object (File)
Thu, Apr 17, 9:27 PM
Unknown Object (File)
Thu, Apr 17, 8:27 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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable