powerpc: Add Microwatt platform
authorPaul Mackerras <paulus@ozlabs.org>
Fri, 18 Jun 2021 03:43:41 +0000 (13:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Jun 2021 11:15:26 +0000 (21:15 +1000)
commit53d143fe08c24c2ce44ee329e41c2a6aad57ebb5
treee111b8fcf66124edf4d0541cc4bc09411fcb8e90
parentc988cfd38e489d9390d253d4392590daf451d87a
powerpc: Add Microwatt platform

Microwatt is a FPGA-based implementation of the Power ISA.  It
currently only implements little-endian 64-bit mode, and does
not (yet) support SMP, VMX, VSX or transactional memory.  It has an
optional FPU, and an optional MMU (required for running Linux,
obviously) which implements a configurable radix tree but not
hypervisor mode or nested radix translation.

This adds a new machine type to support FPGA-based SoCs with a
Microwatt core.  CONFIG_MATH_EMULATION can be selected for Microwatt
SOCs which don't have the FPU.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/YMwWbZVREsVug9R0@thinks.paulus.ozlabs.org
arch/powerpc/Kconfig
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/Makefile
arch/powerpc/platforms/microwatt/Kconfig [new file with mode: 0644]
arch/powerpc/platforms/microwatt/Makefile [new file with mode: 0644]
arch/powerpc/platforms/microwatt/setup.c [new file with mode: 0644]