HomeFreeBSD

powerpc64le: fix boot when using QEMU PowerNV

Description

powerpc64le: fix boot when using QEMU PowerNV

When using QEMU PowerNV with latest op-build release (v2.7), its
kexec transfers control to FreeBSD kernel in BE mode, causing an
instant exception on LE kernels. Make kboot able to detect and
swap endian to fix this.

Reviewed by: imp
Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D33104

Details

Provenance
luporlAuthored on Nov 25 2021, 7:41 PM
Reviewer
imp
Differential Revision
D33104: powerpc64le: fix boot when using QEMU PowerNV
Parents
R10:b9f3b63ab21e: vt: export RGB offsets with FBIO_GETRGBOFFS
Branches
Unknown
Tags
Unknown