From nobody Fri Dec 19 20:16:09 2025 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F28FE1F582A; Mon, 23 Jun 2025 21:16:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750713372; cv=none; b=Pi3knc9VC/6nWf8mAAeFzvaeY7gvv1H7LXkOl7fYmL1eoJb8viigvm6kCds5+qrZCLROxuff1FcwNsBc2I8eXVYiQquVOqeH83R+GBzO7LZwCpLx8veYlVxcmbrcKVA1gDiIabf3He2UAEzG9ZaZJvYZWDTTrRLPdtGAoroxBqQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750713372; c=relaxed/simple; bh=AXpmx56Br8rtCaljBJmjxSdc1RxM2udDj6+vnOU1qBw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FFBWnd9kXSsphVYWvm/HpGx9mi+ZoxYlPGvWcSrbKN1yl6Dbrv6aLW7+6wbh7X45WaZi+JaphxX5Se98lUlrsPIltj1EdxgdmI5coknE5EzI5BOHuCwR7E8clpgObIlXpkcEym2AgtN/VTJiUBUG7pb8IRSrTSRs97JVhbTiILY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=mKRm93PP; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="mKRm93PP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1750713368; bh=AXpmx56Br8rtCaljBJmjxSdc1RxM2udDj6+vnOU1qBw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=mKRm93PPYvPOvKfQAmIedippTp885v9QdH8yvIlDSF6liDlpBb4ZAYsi6LPoXzJC0 VY4UiggyWaP15K9bQ6im5kSuzR8upPsMTpRMLntHpiChdWsYO29y+/MOv+FPgHkIBN l+5RJPU/B2ByJY0iVw3LdS/ySWUNKsKkxiyQlr8g= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 23 Jun 2025 23:15:53 +0200 Subject: [PATCH v2 2/3] selftests/nolibc: use file driver for QEMU serial Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250623-nolibc-sh-v2-2-0f5b4b303025@weissschuh.net> References: <20250623-nolibc-sh-v2-0-0f5b4b303025@weissschuh.net> In-Reply-To: <20250623-nolibc-sh-v2-0-0f5b4b303025@weissschuh.net> To: Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Willy Tarreau , Shuah Khan Cc: linux-sh@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1750713367; l=1768; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=AXpmx56Br8rtCaljBJmjxSdc1RxM2udDj6+vnOU1qBw=; b=KXimSMwxaQ4c7kUohn5zfomefBOacBntKx/adLUEEZP1MCRngmETrlOCLznK1D8O0pMBf/nFN 0oOjuxG/MeLDc6+E0ExBVZdwS5PB2emv87/sZS43npFVfwq5wMFBhQm X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= For the test implementation of the SuperH architecture a second serial serial port needs to be used. Unfortunately the currently used 'stdio' driver does not support multiple serial ports at the same time. Switch to the 'file' driver which does support multiple ports and is sufficient for the nolibc-test usecase. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Willy Tarreau --- tools/testing/selftests/nolibc/Makefile.nolibc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/nolibc/Makefile.nolibc b/tools/testing= /selftests/nolibc/Makefile.nolibc index 9e220a733d97f3f916c6aa38df2414781f17ef94..ba3b762cb103ee87aafecbd5e83= 8fc0e678b7b50 100644 --- a/tools/testing/selftests/nolibc/Makefile.nolibc +++ b/tools/testing/selftests/nolibc/Makefile.nolibc @@ -311,12 +311,12 @@ kernel-standalone: initramfs =20 # run the tests after building the kernel run: kernel initramfs.cpio - $(Q)qemu-system-$(QEMU_ARCH) -display none -no-reboot -kernel "$(IMAGE)" = -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(CURDIR)/run.out" + $(Q)qemu-system-$(QEMU_ARCH) -display none -no-reboot -kernel "$(IMAGE)" = -initrd initramfs.cpio -serial file:/dev/stdout $(QEMU_ARGS) > "$(CURDIR)/r= un.out" $(Q)$(REPORT) $(CURDIR)/run.out =20 # re-run the tests from an existing kernel rerun: - $(Q)qemu-system-$(QEMU_ARCH) -display none -no-reboot -kernel "$(IMAGE)" = -initrd initramfs.cpio -serial stdio $(QEMU_ARGS) > "$(CURDIR)/run.out" + $(Q)qemu-system-$(QEMU_ARCH) -display none -no-reboot -kernel "$(IMAGE)" = -initrd initramfs.cpio -serial file:/dev/stdout $(QEMU_ARGS) > "$(CURDIR)/r= un.out" $(Q)$(REPORT) $(CURDIR)/run.out =20 # report with existing test log --=20 2.50.0