From patchwork Tue Mar 16 22:46:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1454343 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=BR5R82aE; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ei07vS5a; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 ozlabs.org (Postfix) with ESMTPS id 4F0T2f5Fq1z9sRf for ; Wed, 17 Mar 2021 09:47:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+eqikV6wk410K1ISoAF57JIjJg9sQ310jxb6MGv7aUk=; b=BR5R82aEFJPBWTIOw+PfeyhT0 lj6AsPhk4DyPMDcQZCurJ1tSLF/H+FUg7VfgMpx4bQg27bWNmhrFpR+FlB6aP1Ewpww3fdhMDOuYq Sudx14vMI+tmQryxxxgXeWyWgdWJdB+k2qBHPtluz3GMCQxQev/0wvPrOftjf2IeGAhWnPBblnj1N 1HSp+8DTjg7NGK2nCwsLciwU9q74lMZPgExh9MmEfdEyL6NELNGDm1kHCnsWbnwW2tPwBL4uOkx3i a2cn8Iu+rDvxvvNG18CeTyLKw85CKe1v8/GlO/Cdm2+/mQc4vX7tyCpTLAVO7+P/zwdGO1GYx+kTL fehRtgfUw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lMIS9-001zCH-If; Tue, 16 Mar 2021 22:46:18 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lMIRu-001zAa-Nc for openwrt-devel@lists.openwrt.org; Tue, 16 Mar 2021 22:46:05 +0000 Received: by mail-pg1-x536.google.com with SMTP id o10so23602359pgg.4 for ; Tue, 16 Mar 2021 15:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Q6jASG+Fd16f4beVuPtecDYWbHqBRniYfn4ns6HVFBk=; b=ei07vS5aruUYHgUjUzEoa9I7UTXNQwHKq/ffIKjc7x/hf8hutzhSfPc37dTyZdNbTK hXCiWem+/K728XM0NMEUWKkHygDHiMPXecGkJrC2F8YVyf4eI3DyWMPdLjI87jLwqIxZ JtGEzzHmH1F19ELtXZ9VWDNeqSXaei66CmfPp5zaSNkxLFyoo4iZJ0zEvA3kcepoahEU uwmWZ1nK+R/yLKCIQiYqKX/YyLzsLvR4fIpgkpo361FkN9GkOw85YDljMX2bZf803Hbo kVkT3w5hcUMQ9XOvs41aXxtkYDxLffErGjue/3RGZxkm0EbPq+f45UTc7PrlXlSJ7s2G tT8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q6jASG+Fd16f4beVuPtecDYWbHqBRniYfn4ns6HVFBk=; b=qPn6BwO9ZRK0VUamdyh94g5mY7RAJjh6xomTEY3D3aPRDXmJB9fXQOFr+RPT8zlv3R JRTe66exnBqIjVVq/uPkd4s3tZpEw2rNPveK6j+7nIab19hkqDvq1u93Gu1Y0eBJFJc+ khScKVc/NaEsTQyzBZnK4c1BPoJjoMRfoHjjZZEI9mqUWYd4LDkS4xw1lMaZNwWybl3H 8mRbeM4BdC+5IzmhvUMs1gpOFp4kfcdAa5l9CyKjNwoLfIAJG/XVPoiBUMAY+uX+S2YO Sw73/GRmOjo6wZtzb+Ffi6OtGMrM5DputyBq2P5lgPojfAuNQ+wBJqhj5+EWHcr+OfVi lSBg== X-Gm-Message-State: AOAM533nn2E+LsfXeRUSOu9NWbi9oftHB/Z+l/bxvSRStQcIL66GJAUY wleFZObGidOg3cWZN1inOxz/v/YMvPZ1/g== X-Google-Smtp-Source: ABdhPJylyW0XKbY1uGJk0XKe4eBlqyZUH0TdAg9ecLWOtaR1Lp7A6dfB3YyUVN/njYQwZ26Y/s1ePg== X-Received: by 2002:a65:6a0c:: with SMTP id m12mr1633506pgu.161.1615934760765; Tue, 16 Mar 2021 15:46:00 -0700 (PDT) Received: from DESKTOP-0U8QT52.lan ([2001:470:1f05:79e:4cc2:a8c6:92d5:dbc9]) by smtp.gmail.com with ESMTPSA id w8sm16818979pgk.46.2021.03.16.15.45.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 15:46:00 -0700 (PDT) From: Rosen Penev To: openwrt-devel@lists.openwrt.org Subject: [PATCHv2 2/2] kernel: add exfat again Date: Tue, 16 Mar 2021 15:46:03 -0700 Message-Id: <20210316224603.9902-2-rosenp@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210316224603.9902-1-rosenp@gmail.com> References: <20210316224603.9902-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210316_224604_054078_A08F42AC X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.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: With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Added removed config options for 5.4 to generic config. 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 [2607:f8b0:4864:20:0:0:0:536 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp[at]gmail.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 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 With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Added removed config options for 5.4 to generic config. Signed-off-by: Rosen Penev --- v2: Add missing config options package/kernel/linux/modules/fs.mk | 20 ++++++++++++++++++++ target/linux/generic/config-5.4 | 6 ++++++ 2 files changed, 26 insertions(+) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 91ef535821..7de1a0673c 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules/fs.mk @@ -164,6 +164,26 @@ endef $(eval $(call KernelPackage,fs-efivarfs)) +define KernelPackage/fs-exfat + SUBMENU:=$(FS_MENU) + TITLE:=exFAT filesystem support + KCONFIG:= \ + CONFIG_EXFAT_FS \ + CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8" + FILES:= \ + $(LINUX_DIR)/drivers/staging/exfat/exfat.ko@lt5.7 \ + $(LINUX_DIR)/fs/exfat/exfat.ko@ge5.7 + AUTOLOAD:=$(call AutoLoad,30,exfat,1) + DEPENDS:=+kmod-nls-base +endef + +define KernelPackage/fs-exfat/description + Kernel module for exFAT filesystem support +endef + +$(eval $(call KernelPackage,fs-exfat)) + + define KernelPackage/fs-exportfs SUBMENU:=$(FS_MENU) TITLE:=exportfs kernel server support diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 68fe001609..4f7ccf1efc 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4 @@ -1498,7 +1498,13 @@ CONFIG_ETHERNET=y # CONFIG_ETHOC is not set CONFIG_EVENTFD=y # CONFIG_EVM is not set +# CONFIG_EXFAT_DEBUG_MSG is not set +# CONFIG_EXFAT_DEFAULT_CODEPAGE is not set +# CONFIG_EXFAT_DELAYED_SYNC is not set +# CONFIG_EXFAT_DISCARD is not set +# CONFIG_EXFAT_DONT_MOUNT_VFAT is not set # CONFIG_EXFAT_FS is not set +# CONFIG_EXFAT_KERNEL_DEBUG is not set CONFIG_EXPERT=y CONFIG_EXPORTFS=y # CONFIG_EXPORTFS_BLOCK_OPS is not set