Addresses wider than the processor bus certainly won't be too useful. Differential D26144/git commit dd6fd1d4307247432272a10521ea19a70bb157bb was valuable for pointing to the appropriate places.
Appears D26133/dd6fd1d4307247432272a10521ea19a70bb157bb was incorrectly using the total amount of memory, rather than the maximum address. Correct this small error.
Leave behind get_physaddr_bits() and get_physaddr_count() as inline static functions. These values might potentially be needed for other code.