]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC64LE] powernv ILE setup code.
authorbdragon <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:32:50 +0000 (00:32 +0000)
committerbdragon <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 00:32:50 +0000 (00:32 +0000)
commit5e38b29306979acd4c06820d6fcde757240dc0dd
tree9c8d697c869302291bb25fab0d95517392b3492d
parent6fe2a75e4dffe7e95725b143a5c63cb175077bc3
[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