From patchwork Thu Jan 16 11:44:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11336589 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DD5313B4 for ; Thu, 16 Jan 2020 11:44:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 71C9320730 for ; Thu, 16 Jan 2020 11:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579175069; bh=QJ/QIbQ3IuwPCQJtCT7AzPXw20qA5hQNFNTuF0hdQ0I=; h=From:To:Cc:Subject:Date:List-ID:From; b=LEJTZebsit+cwF9G7OXvRBVfsJB2r7XPeh9MOfzhc8SCafi3yYegqHmJdyxNTG/DS TzJhRiY0PkSXZimO08hgMLYbgCgqHCTvTQSjejKsvoYhdhNfK4TPATjrwagcXPz5hb SqYc+I1ZOECc5J1DS6jhVVty74M7j6izB3oCBLj0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726018AbgAPLoW (ORCPT ); Thu, 16 Jan 2020 06:44:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:38092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgAPLoV (ORCPT ); Thu, 16 Jan 2020 06:44:21 -0500 Received: from PC-kkoz.proceq.com (unknown [213.160.61.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1E9E320730; Thu, 16 Jan 2020 11:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579175061; bh=QJ/QIbQ3IuwPCQJtCT7AzPXw20qA5hQNFNTuF0hdQ0I=; h=From:To:Cc:Subject:Date:From; b=XlYAY2QFoYif6kz680HtMEL+DHR+OTCwEJJA6RKmvHmGrbnygJQbw00/zivXpatZ6 Oqd/7Ua34yHkfpfBNg1C2SBvAFEeb3RhDtoZor+3ltViueXHP+yjaY61QzH6/gOVAc E+/G8b0P29+5rpfYfXJTKJBzpk130SygeMQgivBE= From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Marek Szyprowski , Olof Johansson , Arnd Bergmann , Simon Horman , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-nfs@vger.kernel.org, Trond Myklebust , Anna Schumaker Subject: [PATCH 1/2] ARM: exynos_defconfig: Enable NFS v4.1 and v4.2 Date: Thu, 16 Jan 2020 12:44:06 +0100 Message-Id: <1579175047-11351-1-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org NFS is widely used in debugging and Continuous Integration systems, so enable the newest versions of protocol: v4.1 and v4.2. Signed-off-by: Krzysztof Kozlowski --- This happens to fix also troubles with mounting NFS v4 root after but in commit 6d972518b821 ("NFS: Add fs_context support."): mount.nfs4 -o vers=4,nolock 192.168.1.10:/srv/nfs/odroidhc1 /new_root [ 24.980839] NFS4: Couldn't follow remote path [ 24.986201] NFS: Value for 'minorversion' out of range mount.nfs4: Numerical result out of range --- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index ead8348ec999..756bbb6a641f 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -322,6 +322,8 @@ CONFIG_CRAMFS=y CONFIG_ROMFS_FS=y CONFIG_NFS_FS=y CONFIG_NFS_V4=y +CONFIG_NFS_V4_1=y +CONFIG_NFS_V4_2=y CONFIG_ROOT_NFS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y From patchwork Thu Jan 16 11:44:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11336585 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 50C2E1398 for ; Thu, 16 Jan 2020 11:44:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E70E20730 for ; Thu, 16 Jan 2020 11:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579175068; bh=33EBja95wRnaNleuYy5XxD+LZM5YdUGD5P0ToeNX6gQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=n53dCnoV7Z6mt+W7opjm8qNL8RFmWAoVZs9SW75rSZtoaiD81+ZFRDzHqzbTfbBR+ 586KlkgGS0kBJPMJWaSEhm1sCojzIKxjp/dlupIqEp8pNDRC+CAA8fI2chmXVu51sb NueVqULoB8cLSdLgE/oGja8kdfjAvP+ZF+fln7xQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726872AbgAPLoY (ORCPT ); Thu, 16 Jan 2020 06:44:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:38182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgAPLoY (ORCPT ); Thu, 16 Jan 2020 06:44:24 -0500 Received: from PC-kkoz.proceq.com (unknown [213.160.61.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A9B8D207E0; Thu, 16 Jan 2020 11:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579175063; bh=33EBja95wRnaNleuYy5XxD+LZM5YdUGD5P0ToeNX6gQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pXUPk2wBwNnoNQQ3GzQoZbPwEN8jZRUYYisL5GC74/OverB94Q+4zrzbrdfMcYvMe 1VXNTotPuLj1/R+gX5W1eT6QpYUvrGQvDKs7ulbVvOg7iCT+Lmos/+vUBTbY8+fven EesDo2HbE5YXmPBJM0kdlntHnZX3CTgpM/Jdc1Ho= From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Marek Szyprowski , Olof Johansson , Arnd Bergmann , Simon Horman , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-nfs@vger.kernel.org, Trond Myklebust , Anna Schumaker Subject: [PATCH 2/2] ARM: multi_v7_defconfig: Enable NFS v4.1 and v4.2 Date: Thu, 16 Jan 2020 12:44:07 +0100 Message-Id: <1579175047-11351-2-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1579175047-11351-1-git-send-email-krzk@kernel.org> References: <1579175047-11351-1-git-send-email-krzk@kernel.org> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org NFS is widely used in debugging and Continuous Integration systems, so enable the newest versions of protocol: v4.1 and v4.2. Signed-off-by: Krzysztof Kozlowski --- This happens to fix also troubles with mounting NFS v4 root after but in commit 6d972518b821 ("NFS: Add fs_context support."): mount.nfs4 -o vers=4,nolock 192.168.1.10:/srv/nfs/odroidhc1 /new_root [ 24.980839] NFS4: Couldn't follow remote path [ 24.986201] NFS: Value for 'minorversion' out of range mount.nfs4: Numerical result out of range --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 80373fe0280d..493ba3d3cf1e 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -1094,6 +1094,8 @@ CONFIG_PSTORE_RAM=y CONFIG_NFS_FS=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y +CONFIG_NFS_V4_1=y +CONFIG_NFS_V4_2=y CONFIG_ROOT_NFS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y