]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
parisc: Fix initial page table creation for boot
authorHelge Deller <deller@gmx.de>
Wed, 4 Mar 2026 21:24:18 +0000 (22:24 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 6 Mar 2026 10:33:13 +0000 (11:33 +0100)
commit8475d8fe21ec9c7eb2faca555fbc5b68cf0d2597
tree34173716a4ea9b97769abde99bf8334a318447ae
parent17c144f1104bfc29a3ce3f7d0931a1bfb7a3558c
parisc: Fix initial page table creation for boot

The KERNEL_INITIAL_ORDER value defines the initial size (usually 32 or
64 MB) of the page table during bootup. Up until now the whole area was
initialized with PTE entries, but there was no check if we filled too
many entries.  Change the code to fill up with so many entries that the
"_end" symbol can be reached by the kernel, but not more entries than
actually fit into the initial PTE tables.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.0+
arch/parisc/kernel/head.S