[Bug 224437] [PATCH] powerpc64: Fix cookie verification on boot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 19 16:46:15 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224437
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: nwhitehorn
Date: Tue Dec 19 16:45:41 UTC 2017
New revision: 326981
URL: https://svnweb.freebsd.org/changeset/base/326981
Log:
The highest-order bit of the bootloader cookie is 1, with the result that
the 32-bit cookie can be sign-extended on its way out of the loader and
through Open Firmware. If sign-extended, the in-kernel check of its value
would fail on 64-bit systems, resulting in a mountroot prompt. Solve this
by telling the kernel to ignore the high-order bits.
PR: kern/224437
Submitted by: Gustavo Romero
Changes:
head/sys/powerpc/booke/booke_machdep.c
head/sys/powerpc/powerpc/machdep.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ppc
mailing list