From patchwork Wed Jan 5 15:51:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1575751 X-Patchwork-Delegate: rsalvaterra@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=zhhbn8xV; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=WDsm7INZ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JTYt93zK0z9sPC for ; Thu, 6 Jan 2022 02:53:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jec50Hl2uFeHbFOpGmimaBGB2ab3sZJ9wm6yvquUkAo=; b=zhhbn8xV77SeOI T6aacT5+YIRJc3opy5LWi+cK2g2YU73YtruNaxLb/S9sRssYCln4g56G/6v4mdfv6/tm3KgAVVB9u oCnI+bXRY+7RtHC0t0YXgGY/3HofD+eZnhKaYxrSaaAMfNWZ1aJlygZAl3e67SI2jKkamHet2eqCp g5+9fH8+j2+cKTud+aAB+Jd6UdPWWZ1OA+JYjaanHSwKE6i7aw9s6VxUdfoz2M5W0ikp90QOudX3r GHN2uj7uE0WpttNsonZ3wqFVRBy7iPSuAaCWhMufmK/cxNrrlprJZTNWyeQ/vL23Xa1qT1DZVyBaw MsOvfKfsg8DW4HmO0rLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n58ZK-00FE6S-GQ; Wed, 05 Jan 2022 15:51:18 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n58ZH-00FE5N-RI for openwrt-devel@lists.openwrt.org; Wed, 05 Jan 2022 15:51:17 +0000 Received: by mail-lf1-x130.google.com with SMTP id o12so90146180lfk.1 for ; Wed, 05 Jan 2022 07:51:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HE1Qxnq+Wq9XG6oZboEdGVwXLHjegndnnxGs6CDJC/c=; b=WDsm7INZdtS7M/tOHxZcqIBHsmUeT0nTrCqlJ6KrJ/aLD2smZiZxeuSBB+7DibybUo UqJabNe4PAk/srzBT9JLmbFszK42L9LQz7XZpUa2z7R64EOD1s2p4+kTVYWygolVKAza VtnAB8eQ40dDsRRCikhYBhSJ/QOHxD7uz25HgU0/caR+PLjlNLkIVUq7Y4kOzjEDVFur c4NRpiZgtS99bWO+yJYhpSXJQBD4uwcnlCB9mnDd0FtpW4KQQBXSNPBg7OP45sAvRN75 X0KcdmDwultJYn6q9cGk8hAjkYnBW+I4EfwRn8SR0/Fk+RlA6OWBelQ9AkDql68cRmHh 3Wbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HE1Qxnq+Wq9XG6oZboEdGVwXLHjegndnnxGs6CDJC/c=; b=RLa4pDqdD+hAttkmkgRobput2Iygna+qpo0XUj4EXuCs9p9+5gSmBLBc71Avaumlux lk0/WYHR8afJY64ojL1h4kErYLipvn12dQx49F2K9YtHJ+/EMXJL/0B/51kiD9Jlptfr lPHkvoPDG36Cx/SWFm6DmIHV2nx4snCav0b8rH1L/crk2CXfPXnLqmXiGkKd0K5/cQM3 SYLO33ivgEJIJ42m0hk3I5Ids9aZ7yeg92T4Kw3ZPopX3ACZv7ke2Rml0ejak7ihoECm Nmcz7FwKkJviTv/cpEAYxz4cNyL4ibccOSduOLGKYI4pQct0fkmCYxzXfrM0E67LFnMh Yf0w== X-Gm-Message-State: AOAM532fqD8oASUQDu2BLyC4hPPdYaMTIfZ5UdfYGORyb0nMeKzv+Vz3 QjwbHHHRsRrFY7PfntAH3kYrnOKQ/A== X-Google-Smtp-Source: ABdhPJztHWvdE2bLZHRNOa7tVJf9EzkCdtFMs8YZkgRxKRJoux3fjxQQ8gUvrS89T/NLp8i8ErIf/g== X-Received: by 2002:a05:6512:239c:: with SMTP id c28mr47220096lfv.1.1641397873578; Wed, 05 Jan 2022 07:51:13 -0800 (PST) Received: from crystalwell.adg.lan (a109-49-8-180.cpe.netcabo.pt. [109.49.8.180]) by smtp.gmail.com with ESMTPSA id c22sm3516799ljd.137.2022.01.05.07.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 07:51:13 -0800 (PST) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Cc: Rui Salvaterra Subject: [PATCH] kernel/5.10: disable CONFIG_DEVTMPFS{,_MOUNT} Date: Wed, 5 Jan 2022 15:51:09 +0000 Message-Id: <20220105155109.3744828-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220105_075115_927395_6443C6CC X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: We rely on procd to create/populate /dev for us. These can be safely disabled. Signed-off-by: Rui Salvaterra --- target/linux/archs38/config-5.10 | 1 - target/linux/layerscape/armv7/config-5.10 | 2 -- target/linux/layerscape/armv8_64b/config-5.10 | 2 -- target/linux/mediatek/m [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:130 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org We rely on procd to create/populate /dev for us. These can be safely disabled. Signed-off-by: Rui Salvaterra --- target/linux/archs38/config-5.10 | 1 - target/linux/layerscape/armv7/config-5.10 | 2 -- target/linux/layerscape/armv8_64b/config-5.10 | 2 -- target/linux/mediatek/mt7622/config-5.10 | 2 -- target/linux/oxnas/config-5.10 | 2 -- target/linux/rockchip/armv8/config-5.10 | 2 -- 6 files changed, 11 deletions(-) diff --git a/target/linux/archs38/config-5.10 b/target/linux/archs38/config-5.10 index 5ba3877a64..b082a47331 100644 --- a/target/linux/archs38/config-5.10 +++ b/target/linux/archs38/config-5.10 @@ -84,7 +84,6 @@ CONFIG_CRYPTO_RNG=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_RNG_DEFAULT=y CONFIG_CRYPTO_SHA256=y -CONFIG_DEVTMPFS=y CONFIG_DMADEVICES=y CONFIG_DMA_DIRECT_REMAP=y CONFIG_DMA_ENGINE=y diff --git a/target/linux/layerscape/armv7/config-5.10 b/target/linux/layerscape/armv7/config-5.10 index 0ec201030f..dd97d67cba 100644 --- a/target/linux/layerscape/armv7/config-5.10 +++ b/target/linux/layerscape/armv7/config-5.10 @@ -170,8 +170,6 @@ CONFIG_DETECT_HUNG_TASK=y # CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set # CONFIG_DEVFREQ_GOV_USERSPACE is not set # CONFIG_DEVFREQ_THERMAL is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMADEVICES=y CONFIG_DMA_CMA=y CONFIG_DMA_ENGINE=y diff --git a/target/linux/layerscape/armv8_64b/config-5.10 b/target/linux/layerscape/armv8_64b/config-5.10 index aa4be18f05..03c85a5aef 100644 --- a/target/linux/layerscape/armv8_64b/config-5.10 +++ b/target/linux/layerscape/armv8_64b/config-5.10 @@ -204,8 +204,6 @@ CONFIG_DECOMPRESS_LZMA=y CONFIG_DECOMPRESS_LZO=y CONFIG_DECOMPRESS_XZ=y CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y CONFIG_DIMLIB=y CONFIG_DMADEVICES=y CONFIG_DMATEST=y diff --git a/target/linux/mediatek/mt7622/config-5.10 b/target/linux/mediatek/mt7622/config-5.10 index da1b283f70..946cab7738 100644 --- a/target/linux/mediatek/mt7622/config-5.10 +++ b/target/linux/mediatek/mt7622/config-5.10 @@ -134,8 +134,6 @@ CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_ZSTD=y CONFIG_DCACHE_WORD_ACCESS=y CONFIG_DEBUG_MISC=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y CONFIG_DIMLIB=y CONFIG_DMADEVICES=y CONFIG_DMATEST=y diff --git a/target/linux/oxnas/config-5.10 b/target/linux/oxnas/config-5.10 index b0e4789d1e..93fbf5386d 100644 --- a/target/linux/oxnas/config-5.10 +++ b/target/linux/oxnas/config-5.10 @@ -117,8 +117,6 @@ CONFIG_DECOMPRESS_LZ4=y CONFIG_DECOMPRESS_LZMA=y CONFIG_DECOMPRESS_LZO=y CONFIG_DECOMPRESS_XZ=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y CONFIG_DMA_REMAP=y CONFIG_DNOTIFY=y diff --git a/target/linux/rockchip/armv8/config-5.10 b/target/linux/rockchip/armv8/config-5.10 index 9769bab72d..1063489dc6 100644 --- a/target/linux/rockchip/armv8/config-5.10 +++ b/target/linux/rockchip/armv8/config-5.10 @@ -167,8 +167,6 @@ CONFIG_DEVFREQ_GOV_USERSPACE=y # CONFIG_DEVFREQ_THERMAL is not set CONFIG_DEVMEM=y # CONFIG_DEVPORT is not set -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMADEVICES=y CONFIG_DMA_CMA=y CONFIG_DMA_DIRECT_REMAP=y