Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 31, 4:39 AM
Unknown Object (File)
Wed, Jan 14, 3:31 PM
Unknown Object (File)
Dec 28 2025, 7:03 AM
Unknown Object (File)
Dec 25 2025, 10:19 PM
Unknown Object (File)
Nov 30 2025, 1:23 PM
Unknown Object (File)
Nov 25 2025, 7:40 PM
Unknown Object (File)
Nov 21 2025, 1:06 AM
Unknown Object (File)
Nov 21 2025, 1:04 AM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 22354
Build 21529: arc lint + arc unit