Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 16:46:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ppc@FreeBSD.org
Subject:   [Bug 224437] [PATCH] powerpc64: Fix cookie verification on boot
Message-ID:  <bug-224437-21-BnzrMkkxHk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224437-21@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224437-21@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224437

--- Comment #1 from commit-hook@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224437-21-BnzrMkkxHk>