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
Unknown Object (File)
Fri, May 15, 7:36 PM
Unknown Object (File)
Fri, May 15, 7:36 PM
Unknown Object (File)
Fri, May 15, 7:29 PM
Unknown Object (File)
Fri, May 15, 7:21 PM
Unknown Object (File)
Thu, Apr 30, 5:10 PM
Unknown Object (File)
Apr 26 2026, 11:54 PM
Unknown Object (File)
Apr 26 2026, 8:51 PM
Unknown Object (File)
Apr 10 2026, 4:14 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 25932
Build 24494: 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