From patchwork Sun Jun 25 16:25:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangjin Wu X-Patchwork-Id: 112658 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7002927vqr; Sun, 25 Jun 2023 09:44:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EWsUEqKDHb6O5Rr+tqVSjkEDejXXe9Se1t/k+g5O5h49N2KTo64N2HVXU3g7/MrqY6ZdX X-Received: by 2002:a17:907:d26:b0:977:d468:827 with SMTP id gn38-20020a1709070d2600b00977d4680827mr28014476ejc.17.1687711459535; Sun, 25 Jun 2023 09:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687711459; cv=none; d=google.com; s=arc-20160816; b=SH6x5XI/5AZZ1WgW5mRSH4g+rN1FvHQUz2DrLrRfOfXxqP4r0IdpLnpAMJ+sJZAcIB Xk36DJWTiXM6anR2KwW48UxrRuZRp6HcISV0dnjo3glvBp3E+Zz55vw6HcFziS8InH8Z rLkgrAE6y/NAyfnj/CtV+t6dZYSi5WDGvdEsde+Y7S4hVt3KNpH9P284vpGHi8L/MGmQ hOravdP50dU5U2nzCjiqnztsfZ4/KyljCA4hTTZ9jdiY2ZWuNQccNoW8pjqmfqRspc81 jOtwhKhHRUQ/dNsifK660vOGZ9KpCOXdfY2Kcu7rwArRw/27Gxq3dZKMAtNmHL+ChDgU P+1Q== 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=CeCRV9kq11FBQsyf9r7sVXiADB55MIciotVTbvOhfuk=; fh=GzghTQzqgly4pZn8BwQ4U8bZ8zCadAK8Sl/utskeyEs=; b=USrJyI6GXnVemlJP3UcTPyb1RCCxq0bbo1MGLONve0UJVyJMXV9pCwnoHurHRyqw3p bJeFevUFobQGcdbG3uuSWzyEGYR7pZ7eYN9V6bSBxeZFKFQ38ElvlO/iv5fBHo2Uohwb O/rGEacDgvV3KFK51cGvUHDJpEz4sFYNKSbjTNxkoj+mWmJgauYzkCkxpgNPXLK2ppPK +BTdNw6O5xwZQ6r80Rxn6z1lCXUeWL+DR1EnQD0Kr3r2160032PJY5/wn7OCHyoeloVH LrhufSrXHToulqF232n6lwcgte0xDPFapuJYxMIjrqbcBcOKllKZJjX0MaP0esWbsoaA NdbQ== 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 q19-20020a170906b29300b00988890b13fcsi1970160ejz.139.2023.06.25.09.43.54; Sun, 25 Jun 2023 09:44:19 -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 S229566AbjFYQZk (ORCPT + 99 others); Sun, 25 Jun 2023 12:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjFYQZi (ORCPT ); Sun, 25 Jun 2023 12:25:38 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFCA4A8; Sun, 25 Jun 2023 09:25:36 -0700 (PDT) X-QQ-mid: bizesmtp64t1687710327t7nggopr Received: from linux-lab-host.localdomain ( [116.30.129.193]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 26 Jun 2023 00:25:25 +0800 (CST) X-QQ-SSF: 01200000000000D0V000000A0000000 X-QQ-FEAT: LE7C6P2vL8T0B3PKGrZcHQ0BTeQiRu2DlqZ7sGIG0uR51RWmpLUTcegpB6InK CCVs7YfKvpjQoKPFVDpuimCYFIVaewN3N15vb+WlMFVzP5OiTYDHzymJeYhIXO/DJiqtCGy EUxD4V59l44dI/wgm/siwof/WJNJsY7oXoF/7KEX1lyPqOL/H1pL5HSmA3T4s8JgSytC6un LxZfNJTm+aAgmGA6mzz2/1HgZ9YYnp/le4VtYuidOs9SrQ8GsrwcR2DwLHWHoEP3t0ey9uW vIiiSZPaNybdwX2APMlAWicvsu2dBHZX0bCcn8Y4KhT1nqW84ZWyW2mA1iYEWTpdoa5e+pG DRe5Tz3qlokEDuW+AaaHy+FJ214aDN/3iEU+Swc X-QQ-GoodBg: 0 X-BIZMAIL-ID: 6478744900005020789 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 09/22] selftests/nolibc: add procfs, shmem and tmpfs Date: Mon, 26 Jun 2023 00:25:07 +0800 Message-Id: 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?1769693731638997493?= X-GMAIL-MSGID: =?utf-8?q?1769693731638997493?= Some test cases want to use procfs and tmpfs, let's enable them. Because tmpfs depends on shmem, let's enable it too. 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 ae8519fb1b49..1cddacbeb95e 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -54,6 +54,8 @@ 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 +EXTCONFIG_COMMON += -e PROC_FS +EXTCONFIG_COMMON += -e SHMEM -e TMPFS # extra kernel configs by architecture EXTCONFIG_ARCH = $(EXTCONFIG_$(ARCH))