Page MenuHomeFreeBSD

powerpc: Link Book-E kernels at the same address as AIM kernels
ClosedPublic

Authored by jhibbits on Aug 17 2019, 3:44 AM.
Tags
None
Referenced Files
F148101601: D21301.diff
Sun, Mar 15, 6:57 PM
F147981818: D21301.id61028.diff
Sun, Mar 15, 12:16 AM
Unknown Object (File)
Fri, Mar 13, 9:04 PM
Unknown Object (File)
Tue, Mar 3, 7:51 PM
Unknown Object (File)
Fri, Feb 27, 10:54 AM
Unknown Object (File)
Feb 8 2026, 11:05 AM
Unknown Object (File)
Feb 8 2026, 6:11 AM
Unknown Object (File)
Feb 7 2026, 7:45 PM
Subscribers

Details

Summary

Reduce the diff between AIM and Book-E even more. This also cleans up
vmparam.h significantly.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25940
Build 24501: arc lint + arc unit

Event Timeline

on MPC85XXSPE build:

/usr/src/sys/powerpc/booke/pmap.c:222: warning: integer overflow in expression [-Woverflow]
/usr/src/sys/powerpc/booke/pmap.c:222: warning: overflow in implicit constant conversion [-Woverflow]
/usr/src/sys/powerpc/booke/pmap.c:2148: warning: integer overflow in expression [-Woverflow]

sys/powerpc/booke/pmap.c
222

(vm_offset_t)VM_MAXUSER_ADDRESS

2148

(vm_offset_t)VM_MAXUSER_ADDRESS

The new KERNBASE allows my RB800 to boot without having to modify it, so that's a definite improvement there.
Will check for regression on G4 / G5 / POWER9 (and maybe test the X5000, if I can finally get uboot loader set up on it so I don't have to futz with mkimg to build test kernels) tomorrow.

This revision is now accepted and ready to land.Aug 19 2019, 1:31 PM