public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhangjin Wu <falcon@tinylab.org>
To: thomas@t-8ch.de
Cc: falcon@tinylab.org, arnd@arndb.de, linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org, w@1wt.eu
Subject: [PATCH v4 00/12] tools/nolibc: add 32/64-bit powerpc support
Date: Wed,  2 Aug 2023 03:36:02 +0800	[thread overview]
Message-ID: <cover.1690916314.git.falcon@tinylab.org> (raw)

Hi, Willy, Hi Thomas

v4 here is mainly with a new nolibc-test-config target from your
suggestions and with the reordering of some patches to make
nolibc-test-config be fast forward.

run-user tests for all of the powerpc variants:

    $ for arch in ppc ppc64 ppc64le; do make run-user XARCH=$arch | grep status; done
    165 test(s): 157 passed,   8 skipped,   0 failed => status: warning
    165 test(s): 157 passed,   8 skipped,   0 failed => status: warning
    165 test(s): 157 passed,   8 skipped,   0 failed => status: warning

and defconfig + run for ppc:

    $ make nolibc-test-config XARCH=ppc
    $ make run XARCH=ppc 
    165 test(s): 159 passed,   6 skipped,   0 failed => status: warning


* tools/nolibc: add support for powerpc
  tools/nolibc: add support for powerpc64

    No change.

* selftests/nolibc: fix up O= option support
  selftests/nolibc: add macros to reduce duplicated changes

    From tinyconfig-part1 patchset, required by our nolibc-test-config target

    Let nolibc-test-config be able to use objtree and the kernel related
    macros directly.

* selftests/nolibc: add XARCH and ARCH mapping support

    Moved before nolibc-test-config, for the NOLIBC_TEST_CONFIG macro used by
    nolibc-test-config target
    
    Willy talked about this twice, let nolibc-test-config be able to use
    nolibc-test-$(XARCH).config listed in NOLIBC_TEST_CONFIG  directly.

* selftests/nolibc: add nolibc-test-config target
  selftests/nolibc: add help for nolibc-test-config target

    A new generic nolibc-test-config target is added, allows to enable
    additional options for a top-level config target.

    defconfig is reserved as an alias of nolibc-test-config.

    As suggested by Thomas and Willy.

* selftests/nolibc: add test support for ppc
  selftests/nolibc: add test support for ppc64le
  selftests/nolibc: add test support for ppc64

    Renamed from $(XARCH).config to nolibc-test-$(XARCH).config

    As suggested by Willy.

* selftests/nolibc: allow customize CROSS_COMPILE by architecture
  selftests/nolibc: customize CROSS_COMPILE for 32/64-bit powerpc

    Moved here as suggested by Willy.

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/lkml/cover.1690468707.git.falcon@tinylab.org/

 
 
Zhangjin Wu (12):
  tools/nolibc: add support for powerpc
  tools/nolibc: add support for powerpc64
  selftests/nolibc: fix up O= option support
  selftests/nolibc: add macros to reduce duplicated changes
  selftests/nolibc: add XARCH and ARCH mapping support
  selftests/nolibc: add nolibc-test-config target
  selftests/nolibc: add help for nolibc-test-config target
  selftests/nolibc: add test support for ppc
  selftests/nolibc: add test support for ppc64le
  selftests/nolibc: add test support for ppc64
  selftests/nolibc: allow customize CROSS_COMPILE by architecture
  selftests/nolibc: customize CROSS_COMPILE for 32/64-bit powerpc

 tools/include/nolibc/arch-powerpc.h           | 202 ++++++++++++++++++
 tools/include/nolibc/arch.h                   |   2 +
 tools/testing/selftests/nolibc/Makefile       | 157 ++++++++++----
 .../nolibc/configs/nolibc-test-ppc.config     |   3 +
 4 files changed, 327 insertions(+), 37 deletions(-)
 create mode 100644 tools/include/nolibc/arch-powerpc.h
 create mode 100644 tools/testing/selftests/nolibc/configs/nolibc-test-ppc.config

-- 
2.25.1


             reply	other threads:[~2023-08-01 19:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01 19:36 Zhangjin Wu [this message]
2023-08-01 19:37 ` [PATCH v4 01/12] tools/nolibc: add support for powerpc Zhangjin Wu
2023-08-01 19:38 ` [PATCH v4 02/12] tools/nolibc: add support for powerpc64 Zhangjin Wu
2023-08-01 19:39 ` [PATCH v4 03/12] selftests/nolibc: fix up O= option support Zhangjin Wu
2023-08-01 19:40 ` [PATCH v4 04/12] selftests/nolibc: add macros to reduce duplicated changes Zhangjin Wu
2023-08-01 19:41 ` [PATCH v4 05/12] selftests/nolibc: add XARCH and ARCH mapping support Zhangjin Wu
2023-08-01 19:42 ` [PATCH v4 06/12] selftests/nolibc: add nolibc-test-config target Zhangjin Wu
2023-08-01 19:43 ` [PATCH v4 07/12] selftests/nolibc: add help for " Zhangjin Wu
2023-08-01 19:44 ` [PATCH v4 08/12] selftests/nolibc: add test support for ppc Zhangjin Wu
2023-08-02  5:21   ` Zhangjin Wu
2023-08-02  7:48     ` Willy Tarreau
2023-08-02 10:32       ` Zhangjin Wu
2023-08-02 16:03         ` Zhangjin Wu
2023-08-02 21:36           ` Thomas Weißschuh
2023-08-03  2:05             ` Willy Tarreau
2023-08-03  2:58               ` Zhangjin Wu
2023-08-03  4:37                 ` Willy Tarreau
2023-08-03  7:51               ` Zhangjin Wu
2023-08-01 19:45 ` [PATCH v4 09/12] selftests/nolibc: add test support for ppc64le Zhangjin Wu
2023-08-01 19:46 ` [PATCH v4 10/12] selftests/nolibc: add test support for ppc64 Zhangjin Wu
2023-08-01 19:47 ` [PATCH v4 11/12] selftests/nolibc: allow customize CROSS_COMPILE by architecture Zhangjin Wu
2023-08-01 19:49 ` [PATCH v4 12/12] selftests/nolibc: customize CROSS_COMPILE for 32/64-bit powerpc Zhangjin Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1690916314.git.falcon@tinylab.org \
    --to=falcon@tinylab.org \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=thomas@t-8ch.de \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox