There are two possibly solutions I see in the long run:
- We could set the FW features earlier on pseries, though that is a bit
annoying because that means doing it before the device-tree is
unflattened.
- We could constraint lmb_alloc to the first segment until the FW fixup
occurs, either within lmb_alloc itself, or fixup the callers such as
unflatten_device_tree, to pass an explicit limit.
c) use a different SLB handler during early boot;
d) preload some SLB entries at very early boot to cover
the first 4GB or so.
d) sounds nice and simple, but will it work?
Segher