I am having to correct, with alarming regularity, confusion regarding the endianness of modern PowerPC and POWER chips. This article is going to answer a lot of those questions, with facts and citations.
- What endianness are modern PowerPC / POWER CPUs, including POWER9?
- Fact: All POWER Architecture processors, with the exception of the POWER4 and POWER5, support both big and little endian modes. This dates back to the 1990s, where AIX and Linux were exclusively big endian and Windows NT (yes, Windows NT) ran on PowerPC in little endian mode. Most POWER hardware, and most PowerPC computers, historically had firmware that only supported big endian mode. This has changed with POWER8, and now modern computers support both. POWER8 and POWER9 can run in either endian, though they still default to big endian during initial bootup (and the firmware services are still in big endian, requiring a byteswap for little endian OSes).
- Isn’t Linux only being developed for PowerPC on little endian now?
- Fact: The Linux kernel supports both endians equally.
- Didn’t Debian drop support for big endian PowerPC with Jessie?
- Fact: Debian still “actively supports” big endian 64-bit PowerPC; it is not a release architecture because it does not have enough dedicated maintainers. The port is still fully functional and is kept up to date.
- When you buy a new POWER computer, aren’t your only choices of operating system little endian?
- Fact: In addition to Debian’s big endian port, there are plenty of other operating systems that support big endian. Gentoo’s PPC64 profile is bi-endian in nature. FreeBSD and Adélie Linux are exclusively big endian, and support all the modern features of POWER9 including DARN, Radix MMU, and more. Devuan is currently adding PPC64 support for both endians.
- Isn’t IBM (or OpenPOWER, or [another member organisation of OpenPOWER]) investing solely in little endian for the future?
- Fact: OpenPOWER is dedicated to supporting development of both BE and LE.
Hiya, sorry it took a little while to respond, I wanted to research a little. TL:DR; from an OpenPOWER standpoint we’d want to support both LE and BE development. I can’t speak for IBM, but given AIX and i are BE, unlikely they’d stop BE support on future chips I’d think. Hth! 🙂
— Hugh Blemings (@hughhalf) August 8, 2018
- Aren’t you stuck with one endian or the other?
- Fact: Linux’s KVM hypervisor lets you run an environment with the opposite endianness of your host. You can freely run either endian on your host and still have the software of the other endianness available to you with no issues.