Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bffbc94a authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Fix definition of VMEMMAP_SIZE.



This was the cause of various boot failures on V480, V880, etc.
systems.

Kernel image memory was being overwritten because the vmemmap[]
array was being sized to small.  So if you had physical memory
addresses past a certain point, the early bootup would spam
all over variables in the kernel data section.

The vmemmap mappings map page structs, not page struct pointers.
And that was the key thinko in the macro definition.

This was fixable thanks to the help, reports, and tireless patience
of Hermann Lauer.

Reported-by: default avatarHermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c9d80dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment