On 8/30/24 16:40, Mitchell Horne wrote:
The branch main has been updated by mhorne:
URL:
https://cgit.FreeBSD.org/src/commit/?id=38a08e45f19447717726de4d41bd161f966d29da
commit 38a08e45f19447717726de4d41bd161f966d29da
Author: Mitchell Horne <mho...@freebsd.org>
AuthorDate: 2024-08-29 15:25:52 +0000
Commit: Mitchell Horne <mho...@freebsd.org>
CommitDate: 2024-08-30 19:39:56 +0000
arm64: fix L1 pindex calculation in pmap_growkernel()
Use the pmap_l1_pindex() macro which accounts for the NUL2E offset.
While here, use pmap_l2_pindex() macro further down (no change).
Prompted by pull request and commit 2e33abc35460, making the change for
the riscv pmap.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46477
I pushed it slightly early by mistake, but the change is ready and so a
revert seems silly.