Messages in this thread | | | Date | Sat, 22 Jul 2023 14:07:47 +0200 | From | Willy Tarreau <> | Subject | Re: [PATCH v1 7/8] selftests/nolibc: add test support for powerpc64le |
| |
On Wed, Jul 19, 2023 at 05:17:26AM +0800, Zhangjin Wu wrote: > Here adds test support for little endian 64-bit PowerPC. > > The powernv machine of qemu-system-ppc64le is used for there is just a > working powernv_defconfig. > > As the document [1] shows: > > PowerNV (as Non-Virtualized) is the "bare metal" platform using the > OPAL firmware. It runs Linux on IBM and OpenPOWER systems and it can be > used as an hypervisor OS, running KVM guests, or simply as a host OS. > > [1]: https://qemu.readthedocs.io/en/latest/system/ppc/powernv.html > > Signed-off-by: Zhangjin Wu <falcon@tinylab.org> > --- > tools/testing/selftests/nolibc/Makefile | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile > index 9c375fab84e5..fbdf7fd9bf96 100644 > --- a/tools/testing/selftests/nolibc/Makefile > +++ b/tools/testing/selftests/nolibc/Makefile > @@ -19,6 +19,7 @@ endif > XARCH ?= $(or $(XARCH_$(ARCH)),$(ARCH)) > > # ARCH is supported by kernel > +ARCH_powerpc64le = powerpc
Given that this one will only be used as an alias, I really think you should call it "ppc64le" and not with that long a name. Everyone knows that arch under the name ppc64 anyway so it's not like it would cause any confusion.
Willy
| |