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

(cherry picked from commit e141b62d208867fc5bdb5803d05f5496260722ac)

Details

Provenance
luporlAuthored on Nov 25 2021, 7:41 PM
Reviewer
imp
Differential Revision
D33104: powerpc64le: fix boot when using QEMU PowerNV
Parents
rGf193a24ec570: zfs: merge openzfs/zfs@6a6bd4939 (zfs-2.1-release) into stable/13
Branches
Unknown
Tags
Unknown