[PowerPC64LE] powernv ILE setup code.
authorBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:32:50 +0000 (00:32 +0000)
committerBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:32:50 +0000 (00:32 +0000)
commitc16359cf66897b7088b505af2f7db219700e8d39
tree9c8d697c869302291bb25fab0d95517392b3492d
parentdadfbc2e604e636760ab4f1367ebc446a2ca51c2
[PowerPC64LE] powernv ILE setup code.

When running without a hypervisor, we need to set the ILE bit in the LPCR
ourselves.

For the boot processor, handle it in powernv_attach() like we do for other
LPCR bits.

No change for the APs, as they will use the lpcr global to set up their own
LPCR when they do their own cpudep_ap_early_bootstrap() and pick up this
automatically.

Sponsored by: Tag1 Consulting, Inc.
sys/powerpc/include/spr.h
sys/powerpc/powernv/platform_powernv.c