From patchwork Sun Jun 25 16:23:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangjin Wu X-Patchwork-Id: 112627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6996864vqr; Sun, 25 Jun 2023 09:29:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YCjeT/KJa8LIx0H4QZXcoCoSqfth5PhK8AqTTUDkwcAaIFs4my3GRWrdzQOijGvUDN1nQ X-Received: by 2002:aa7:d9d7:0:b0:51d:914a:9f43 with SMTP id v23-20020aa7d9d7000000b0051d914a9f43mr1936502eds.36.1687710566765; Sun, 25 Jun 2023 09:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687710566; cv=none; d=google.com; s=arc-20160816; b=XUNEBi7DHkuPQpTuJ1aRIX1LYTVOZXnARvXRzuohhyO+xpHD+cEQSc2zgdwqA1UpMZ ckNRHWy3Rt0C0olHqbwTfUe6qzDQYE+861Z/Ym2wxCcGI5aAiZfPTejlm/nuwQFW73R6 zOEunDgBxmmfE0ro13wyy5UFgtzhwrgYKDw4CVTXh4d99LKt1Et4n1HYrP651vrWMyK1 SiPpXsNYmdUsufsYXkDFPxic6qHXMGqiyGVT8DMvraWnVncx3oMyZ2Z2lDLLLnqlo0IO T9QFeAjUC+aDClV7f5Uuiapf4IQs0qtDoz5MlaoCsZWtGQVHa7+0iH4rZ8KNmhGZeUFL Tvrg== 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=nN5cv9hvuybrpq+116XFex9e6Fms9XAZxyKGC34isy0=; fh=GzghTQzqgly4pZn8BwQ4U8bZ8zCadAK8Sl/utskeyEs=; b=znSbLuM2hs3l+GJ5oxHscFTW7kRBsEp/p9XiGNjfD4etcke5MQ94qvPVOchIc34DtG mThlUY4RtLIduEbWs2Jxk7hJPk93dCQCLSyXXxChDoflN7u+TjBv6qI97uP8d60xRbEC VckNe0oMF9n+pY4SupZagCU3p42n5Uya+gmk8anQTXTZ8/nmyeTQFV5zdgMeCydSqQE6 oakoboEy0e7ovQdwsiZceYDh7MsrVczTF/f3p4jye0Y9WiCHoNhPxFtan7gyHWt8g93p fCgI5/pgc7xDwE9PFAOfMXUIDjem4q6XiXNd5MNh//AqT2PcV1U/ZnTlOy+JfedjMXIm ChFQ== 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 o9-20020a170906774900b00988839e5435si1648117ejn.522.2023.06.25.09.29.03; Sun, 25 Jun 2023 09:29:26 -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 S230021AbjFYQYQ (ORCPT + 99 others); Sun, 25 Jun 2023 12:24:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjFYQYN (ORCPT ); Sun, 25 Jun 2023 12:24:13 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8D0FB; Sun, 25 Jun 2023 09:24:12 -0700 (PDT) X-QQ-mid: bizesmtp91t1687710243tcm1mhg6 Received: from linux-lab-host.localdomain ( [116.30.129.193]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 26 Jun 2023 00:24:01 +0800 (CST) X-QQ-SSF: 01200000000000D0V000000A0000000 X-QQ-FEAT: LE7C6P2vL8RGulXWTTLakwGCbDFVogyRym+KcgI8bU6ETz331jXlzFM5MTin9 CA+sFl4YVEPL6MSq+ixvxplRIFqOTDkDC5NKXwsqkB9WPq2xjlElrvw84ep+MC8DFb0vwk7 XZPPcIQtMJJglM+j+fwH2oTrJNysRCScR8Y5Use/Lw9XL44i3wyj2Amq+DF1Ym1Fxvx4aOj rOwhCL5FZnaqXZPJDQ34+PEMkz3VHEi4/2po95wETckplOa1BVBG1yvZZn5dlHp2xi1lRVp uaArzlPWpSRTPVuMQbOh8gNMafrGTw6SarbAUIQcOvzraSWHZCbFEnJwYdfKqbnZAA6AQeQ zQrGhTt9pjUN8UL5DCwPEVxQSK25U8bH79V1EYU0jnXRCD5ZVodR4ESDAdQkA== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 8067436170865169837 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 08/22] selftests/nolibc: add power reset control support Date: Mon, 26 Jun 2023 00:23:58 +0800 Message-Id: <7b9dd1d0b70de3917ee3d375187a5cb572303e7c.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,RCVD_IN_DNSWL_NONE, 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?1769692795171138105?= X-GMAIL-MSGID: =?utf-8?q?1769692795171138105?= Some boards require the power reset control options, they should have no side effect, enable them for all. Signed-off-by: Zhangjin Wu --- tools/testing/selftests/nolibc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index 147c2db49635..ae8519fb1b49 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -53,6 +53,7 @@ EXTCONFIG_COMMON = -e BLK_DEV_INITRD --set-str INITRAMFS_SOURCE $(CURDIR)/in EXTCONFIG_COMMON += --set-val PANIC_TIMEOUT 1 EXTCONFIG_COMMON += -e PRINTK -e TTY EXTCONFIG_COMMON += -e BINFMT_ELF +EXTCONFIG_COMMON += -e POWER_RESET -e POWER_RESET_SYSCON # extra kernel configs by architecture EXTCONFIG_ARCH = $(EXTCONFIG_$(ARCH))