From patchwork Sun Jun 25 16:28:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangjin Wu X-Patchwork-Id: 112670 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7009424vqr; Sun, 25 Jun 2023 10:02:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CaKYrwv38exofEc6KJRFSbBMBvCP1QSOEs9qWweo0enSUW6yHAlK2ZLnwpDxrAg9y/HtP X-Received: by 2002:a05:6a20:9389:b0:122:20c:fbb3 with SMTP id x9-20020a056a20938900b00122020cfbb3mr23407124pzh.39.1687712534426; Sun, 25 Jun 2023 10:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687712534; cv=none; d=google.com; s=arc-20160816; b=dm0TsGIzIPpAcVV89pSur0kNQUXTbesy3DtOTTDZLLQzzPA2SEE57ED9dNq4JxCG5+ alEcBaiOiY1cA0TnCxbMQWJ1IGhH12PahMIwtO+SNEzd/zxzI2dEG/AEcVP7mIMz0Rdt B38Z4XhK6b4RG/YUSC1h+9GWi1LmY9urPqfELpHFSRLU6L5uoV8Nbqx2pmiYYwluUEkx nZfQ13UytbTAHP4wjy/ZL7FoxBHz8PHyM56sRIMo4OOBVlauhsJ989EwtZ0LC0yNP/Hh IbHaTMVvHmSk8P3ufITptATQ5YWYSRD0nq6LEuxnbLD76p5vhz5+lyK1El69yvHby571 dGkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=po8h4Pd7xd24LPRw6Z+Ku0VBGrixm6ekjeIE72VcPtc=; fh=GzghTQzqgly4pZn8BwQ4U8bZ8zCadAK8Sl/utskeyEs=; b=R/LZ1bKDfsZ7MhMUiZlIINNYs+I7Qb+LQJg9V0t2mTrFg04+Sb/tcKwvI+wncrIWJw IyLBOliC+XTr+J+RazraP3zPsRFLcYJ/0LnPQXiCr/NwQ/a0eOWsXW423lSFPhFTv6rt 9piWTpsKF/NCbh3pRHEPGT117FseiNL+OEGzKgVwULS/rde24H9CAcND4U9KxLbKLbje hs58gKQ2RgkRF+JjC4470DYOtWVhDHydOA6Dq3G0VEQUjycpANkq+XG0fNA1bk/wD1Xb t1draMu59HUQDKA1YlPavkNqn7zCwwjmPAnvBN48meW0oe5OUc5E2rkQS3X+BhcYXl5S a9CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds5-20020a056a004ac500b00668873710ddsi3140610pfb.315.2023.06.25.10.02.02; Sun, 25 Jun 2023 10:02:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbjFYQft (ORCPT + 99 others); Sun, 25 Jun 2023 12:35:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjFYQfp (ORCPT ); Sun, 25 Jun 2023 12:35:45 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83180D2; Sun, 25 Jun 2023 09:35:27 -0700 (PDT) X-QQ-mid: bizesmtp65t1687710553t98ik04m Received: from linux-lab-host.localdomain ( [116.30.129.193]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 26 Jun 2023 00:29:12 +0800 (CST) X-QQ-SSF: 01200000000000D0V000000A0000000 X-QQ-FEAT: 3M0okmaRx3jAAyOIuYctrEAjhb6lfe3FzB4NnUfK8VafOKQE7HZhtdj4uDGS+ 1W00RXUROLI+idPD0bhJrNaGXY12br/ovI2SbZ7XL0oyCPVpVDMC/PGb/MshT2mM3Bv8G6V Yq4Jsio/H2+5DbAvbgUXDjZGAsdmVKeUwVcYMoafnUtjcXkTWbK5kZTAL27NYh5dQcEABaG NVXtVp51mAfJbZ+vMl3/Ja7EpiaPJywcET9lwTrfb16YsP3QcUGy9J5wv/F3DT+Oqea9z3d UdPwSsJgcXT4edZ58GD9Oi7nLGD/i7yzQLBS0mZZlQGjqaz6Je+nVfZ55ssegksEk6HAaJ4 gBGUstM9JmOQDP/E28rvhGrgsuwIHaiDU2VLu3s6LrJxq07BEg= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 15685378674173329080 From: Zhangjin Wu To: thomas@t-8ch.de, w@1wt.eu Cc: falcon@tinylab.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v1 11/22] selftests/nolibc: add extra configs for x86_64 Date: Mon, 26 Jun 2023 00:28:26 +0800 Message-Id: <3a29bf1052f72703ec4fca867164ae13fa6c90c7.1687706332.git.falcon@tinylab.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrsz:qybglogicsvrsz3a-3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769694858505813412?= X-GMAIL-MSGID: =?utf-8?q?1769694858505813412?= Enable CONFIG_64BIT for x86_64 and x86. Add 8250 console for test result print. Signed-off-by: Zhangjin Wu --- tools/testing/selftests/nolibc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index 16bfb6f9644a..d45454f86ae1 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -59,6 +59,8 @@ EXTCONFIG_COMMON += -e SHMEM -e TMPFS # extra kernel configs by architecture EXTCONFIG_i386 = -e COMPAT_32BIT_TIME -e SERIAL_8250 -e SERIAL_8250_CONSOLE +EXTCONFIG_x86_64 = -e 64BIT -e SERIAL_8250 -e SERIAL_8250_CONSOLE +EXTCONFIG_x86 = -e 64BIT -e SERIAL_8250 -e SERIAL_8250_CONSOLE EXTCONFIG_ARCH = $(EXTCONFIG_$(ARCH)) # extra kernel configs, include common + architecture specific