Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5146082rdb; Sat, 16 Sep 2023 05:06:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLBXTOCEOlx2hvIuD1Wo+rIHOh/MDK5Yi0iOFryQuJcIb9wH0ZHDc3n0md48KxwqWHh79c X-Received: by 2002:a05:6e02:1605:b0:34f:7e1b:a7a2 with SMTP id t5-20020a056e02160500b0034f7e1ba7a2mr6119027ilu.13.1694865983067; Sat, 16 Sep 2023 05:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694865982; cv=none; d=google.com; s=arc-20160816; b=gIsOUnvzuTBJ/yM0QJREPmqpq4Jnv6MwHcZjYjScephqBsUMCe0GQ3K6zoI9cHuJWE T1nQF28Pl9tUQ2elIQGEPszyfC2te4sUKTVTSfpE1Rx5Wlb5nkk4EU1e3iI47Pr8CZ1M KTJI5WK+4941VSVDIA+bkXH/ixM3oqkDa19DMP02jPhB3pRiOUTlMq/6bCMhIQPA66c3 OeJDpCAAL/Zjb/u8RJ9BMNgF7XetmRTVL+XOcIQwIRpZrV98Ad29JeuKOy2lLqtHqBeZ GyNfxIy3YeVihav2pmC6Luzc0hyQlz5rI5er5kmYHqTjnSFgNMEyis8UKI2xed79U/Bi /FrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=qn6NlpCVDELjGtYtWbx8L1vHBwfKNBzzEn/aUXZpa3c=; fh=1RJOXoR66dTpI6bZFe2nJ1z8thLy2iHoPKQ+QSstjLw=; b=rLp0y5E/uuua5L6wGWJtVhIfh0+d9isFZTd0DRk9jd/6ZohvyDhvjCbSNrJ0CyQHJe uAIG8sORmWuMJE7MD+Qo9OJqMwH0lGUKbqBVfF8q47ir/aSkow/KqIMqzm0xnOXg41fM sqCLTCxIPuB3m4tM9SW74z8y7vv+O3VuNTPY+yxnyFw7BwDbWHpdFq0LUit7grNVuiQ1 mQskl0BIS5WUXwqItEWXIgEfwEjCMuVMMWKZzw/5BmRnZM6Uj3pIXPwEdlFw8W0aEO8P vnEdyQpoj534onYbLJExO4ywtzu8bDfUapNmC4wy+4LvNUppa3ly6LJy0N8QxsJGxOuv asxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=hiQi+BpB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id by42-20020a056a0205aa00b00573f82e1488si5376544pgb.234.2023.09.16.05.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 05:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=hiQi+BpB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8DD9F80A1E12; Sat, 16 Sep 2023 00:18:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238215AbjIPHNz (ORCPT + 99 others); Sat, 16 Sep 2023 03:13:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231889AbjIPHNw (ORCPT ); Sat, 16 Sep 2023 03:13:52 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3060173C; Sat, 16 Sep 2023 00:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1694848422; bh=iHI+Ng0xOmJAxN0+mPX7GStvN8y9ccAlkUVs7+5qX3I=; h=From:Subject:Date:To:Cc:From; b=hiQi+BpBnZ8kPBTlIqzCwZ3pmNBG8TIbXV1RBc4WCaFChP7NK0t0VmCWKVaGJh3ga bIeeKEVuEiOz+Zpk0w21o75bfdu4QdvOyedWgtIiZcqiSa3Q2dz1fqy+O3uOCRDepV xwkPMb/mcx/LdeJx9A0K1gM083TxT0lZNWGNx6iA= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Subject: [PATCH RFC 0/3] selftests/nolibc: avoid spurious kernel relinks Date: Sat, 16 Sep 2023 09:13:26 +0200 Message-Id: <20230916-nolibc-initramfs-v1-0-4416ecedca6d@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAJdVBWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2MDS0Mz3bz8nMykZN3MvMySosTctGJdk7QUA4PUxGRjI1MzJaC2gqLUtMw KsJHRSkFuzkqxtbUAgu8RgmcAAAA= To: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Willy Tarreau , Shuah Khan Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694848421; l=986; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=iHI+Ng0xOmJAxN0+mPX7GStvN8y9ccAlkUVs7+5qX3I=; b=sUv4z12Dh7mUB7bLVdXUjCr2wq4+MyXq09xDjB9ezFZmrUf8ENrBTdXe4zwQBinS8U84CBbpo XzAnGLsItcXBtIDZNLeKhuZz7uIjGvvmwgirD83UirRykpF5S+6KQRd X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sat, 16 Sep 2023 00:18:16 -0700 (PDT) Currently the nolibc testsuite embeds the test executable into a kernel image with CONFIG_INITRAMFS_SOURCE. This forces a full kernel relink everytime the test executable is updated. This relinking step dominates the test cycle. It is slower than building and running the test in qemu together. With a bit of Makefile-shuffling the relinking can be avoided. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (3): kbuild: add toplevel target for usr/gen_init_cpio selftests/nolibc: don't embed initramfs into kernel image selftests/nolibc: drop target "rerun" Makefile | 4 +++ tools/testing/selftests/nolibc/Makefile | 50 +++++++++++++++------------------ 2 files changed, 27 insertions(+), 27 deletions(-) --- base-commit: 3f79a57865b33f49fdae6655510bd27c8e6610e0 change-id: 20230916-nolibc-initramfs-4fd00eac3256 Best regards, -- Thomas Weißschuh