From nobody Mon Feb 9 01:29:33 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD91E30EF72 for ; Fri, 17 Oct 2025 06:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760681437; cv=none; b=gUhJWmfoppVcTi59q96uzd7r8p26ljpGt4kBgKRG7A8BXHAQmdRfKGWZHYMQy5jbjNpQzPFm5g7Nvv0K3s6QfXE8gUcFTp3Qvsx1xc/l/vqC8HP/ZhtYgZ7WpyMaQd3a1DAGK7gfNRhLfoPTZ2pkMXk6nTk1T4ZrndAmKTonHPU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760681437; c=relaxed/simple; bh=xFurCGxlKeC/tk9lJqwt+qhC4G1oERsMk1YgSqg0z4M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YUXb2xhV7NsQeM53WZ4hrWCrMwoXhrghMBG292xzVHI4O3RIF6BSpfonUH1w0XAMbmC1mbg/vEr7ysXjugeIje2gw0A+hTgRZGC59SeDdPtC+tSzCiIv6WT6Q95Ubh5g7QoRC0gscDIP4eDpfE/mCG9k18MHURhFdimMyLEDpR4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gFcFb+BL; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gFcFb+BL" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-46e542196c7so17232905e9.0 for ; Thu, 16 Oct 2025 23:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760681432; x=1761286232; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fApFH3gxVydnn6o27DJgEciM38Nk8T7NkdtS/0xgRng=; b=gFcFb+BLxPQu3TNKE4BTIz2YCDdFdCrDvakY3QsBdxkG64g5Bp6XuX76Acly2y6AUp NFPAA5JbIki9VRjsWcKI6spOrW3iuC6l698G1yQwvPCx2YDQiY2aGRFN91jyAiYwdKMU Q9QfZvhNWC4M6vtOfcwG/oz7gFfCZbHgtdjnkF34hOKs+I6E6H/fUP2jyna2scZcYkeg c7oATP1o+5lrO5o3gl8w54ldG/MyII0+etGyZnt5ed0SXPn4CEalJ/+ivjPOpm3h161y bfebaSWOTVFMrL2GlvQYo1HN6tTYr2FuFdbpYeuCN2gro1x7QgcCTfX0kGnpU1JApVhA 039A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760681432; x=1761286232; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fApFH3gxVydnn6o27DJgEciM38Nk8T7NkdtS/0xgRng=; b=aMx8FzyioZsXmfH+2o1e1SVhbUlBZVxe2kBEfdhejy/s18MC6wSbz52QeGs/tz6jIb kosgRRbSltaL8rsE+PYTzz3PaU4nYYVQtr5k7rSAub2kjQqqJ1c8PE71OjOUcKdipng7 9oFvrpvwA78mGmH7j1YPyb/mhkq55ArD2TJulmPweCjWDyXDn0RcRHWRldIbP5o2mI/C 9LSqYodra7n7Ozbbt2q7z1i8Ca523q6maUXMRvT16TG3fo+HC49nIKwHaxZpx+Qc9GEW mW5TJxG9LZLLwFbLyWxBuC5I+AUZvfum+4BgJQ6SVI3DdQzB6k6RAXLIyJwbVyUzr64H 3cJg== X-Forwarded-Encrypted: i=1; AJvYcCW5VFudBCDrsEPVWIwm80eD+d0Y2c/qLfqA2u8RgxEuce5/6jUa5XU1EtfsR3GwoqnFfYeTTdQb/cPuSZg=@vger.kernel.org X-Gm-Message-State: AOJu0Yw2vbGtPCYLTuvUdCBp6eqmBTEHQe1u0Zj9a3qfLRpojf94P8Dj 483j/8DLkxsgua49sLEqyR1SGaVPiOmJvAEKV9+6NFbf+ojmm5RQzE0n X-Gm-Gg: ASbGncszc7lzNrXvhxTN1WQVtCYyNL5dsSW8qjqG3cO+FyVSuOC9zYVP1VXGvmNRQTY JYrDFXGpblK1CNEdI1eongc6ZXQA3m6h/3bDkvQ4py4ZHOBoWDyT0Y+/BNc/aUkDaj/1hiH3xJ1 9Xx/6YaTCr44lRiXWenL/l+WXUOPloHuYkTjqbtV/z9QYEVyd7dctmXp7lBCfUjEkKmTzZmOZaI +eRFF/+DO4I7XwVrck3vdsrzMW/Qo4w9sVI28mLZJ59Nfw0sQoMyF+Qq9l1m3z/a0E1kQSNjW3n lK0Zs9wWGU8TWJnUdrfMFkU02yVl4n/r5Tkai2YbsSYFC8pjiuuJg4mqAgFgGgNj5doINFQt5cN GKr3R1BXUhSQWLF5YrN3ODkl3KyvWz/Lbww6Cu7bm3NH6W4SDipy4yZ4PBMWcfYsaiMBFXshy1p +c X-Google-Smtp-Source: AGHT+IH347DjV12fYF0hhdy1vww1ouDPmUAfsNrazlguHL6g+y9YN/2fKxqG5dPAECrqaSU8hvDOLQ== X-Received: by 2002:a05:6000:4210:b0:426:d30a:88b0 with SMTP id ffacd0b85a97d-426fb8b7cb2mr4254322f8f.22.1760681432093; Thu, 16 Oct 2025 23:10:32 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-426ce57d49bsm40185002f8f.10.2025.10.16.23.10.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Oct 2025 23:10:31 -0700 (PDT) From: Askar Safin To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Torvalds , Greg Kroah-Hartman , Christian Brauner , Al Viro , Jan Kara , Christoph Hellwig , Jens Axboe , Andy Shevchenko , Aleksa Sarai , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Julian Stecklina , Gao Xiang , Art Nikpal , Andrew Morton , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, Michal Simek , Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , Arnd Bergmann , Dave Young , Christophe Leroy , Krzysztof Kozlowski , Borislav Petkov , Jessica Clarke , Nicolas Schichan , David Disseldorp , patches@lists.linux.dev Subject: [PATCH v3 1/3] init: remove deprecated "load_ramdisk" and "prompt_ramdisk" command line parameters Date: Fri, 17 Oct 2025 06:09:54 +0000 Message-ID: <20251017060956.1151347-2-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251017060956.1151347-1-safinaskar@gmail.com> References: <20251017060956.1151347-1-safinaskar@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" ...which do nothing. They were deprecated (in documentation) in 6b99e6e6aa62 ("Documentation/admin-guide: blockdev/ramdisk: remove use of "rdev"") in 2020 and in kernel messages in c8376994c86c ("initrd: remove support for multiple floppies") in 2020. Signed-off-by: Askar Safin --- Documentation/admin-guide/kernel-parameters.txt | 4 ---- arch/arm/configs/neponset_defconfig | 2 +- init/do_mounts.c | 7 ------- init/do_mounts_rd.c | 7 ------- 4 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentatio= n/admin-guide/kernel-parameters.txt index 6c42061ca20e..15af6933eab4 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3319,8 +3319,6 @@ If there are multiple matching configurations changing the same attribute, the last one is used. =20 - load_ramdisk=3D [RAM] [Deprecated] - lockd.nlm_grace_period=3DP [NFS] Assign grace period. Format: =20 @@ -5284,8 +5282,6 @@ Param: - step/bucket size as a power of 2 for statistical time based profiling. =20 - prompt_ramdisk=3D [RAM] [Deprecated] - prot_virt=3D [S390] enable hosting protected virtual machines isolated from the hypervisor (if hardware supports that). If enabled, the default kernel base address diff --git a/arch/arm/configs/neponset_defconfig b/arch/arm/configs/neponse= t_defconfig index 2227f86100ad..4d720001c12e 100644 --- a/arch/arm/configs/neponset_defconfig +++ b/arch/arm/configs/neponset_defconfig @@ -9,7 +9,7 @@ CONFIG_ASSABET_NEPONSET=3Dy CONFIG_ZBOOT_ROM_TEXT=3D0x80000 CONFIG_ZBOOT_ROM_BSS=3D0xc1000000 CONFIG_ZBOOT_ROM=3Dy -CONFIG_CMDLINE=3D"console=3DttySA0,38400n8 cpufreq=3D221200 rw root=3D/dev= /mtdblock2 mtdparts=3Dsa1100:512K(boot),1M(kernel),2560K(initrd),4M(root) l= oad_ramdisk=3D1 prompt_ramdisk=3D0 mem=3D32M noinitrd initrd=3D0xc0800000,3= M" +CONFIG_CMDLINE=3D"console=3DttySA0,38400n8 cpufreq=3D221200 rw root=3D/dev= /mtdblock2 mtdparts=3Dsa1100:512K(boot),1M(kernel),2560K(initrd),4M(root) m= em=3D32M noinitrd initrd=3D0xc0800000,3M" CONFIG_FPE_NWFPE=3Dy CONFIG_PM=3Dy CONFIG_MODULES=3Dy diff --git a/init/do_mounts.c b/init/do_mounts.c index 6af29da8889e..0f2f44e6250c 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -34,13 +34,6 @@ static int root_wait; =20 dev_t ROOT_DEV; =20 -static int __init load_ramdisk(char *str) -{ - pr_warn("ignoring the deprecated load_ramdisk=3D option\n"); - return 1; -} -__setup("load_ramdisk=3D", load_ramdisk); - static int __init readonly(char *str) { if (*str) diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 19d9f33dcacf..5311f2d7edc8 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -18,13 +18,6 @@ static struct file *in_file, *out_file; static loff_t in_pos, out_pos; =20 -static int __init prompt_ramdisk(char *str) -{ - pr_warn("ignoring the deprecated prompt_ramdisk=3D option\n"); - return 1; -} -__setup("prompt_ramdisk=3D", prompt_ramdisk); - int __initdata rd_image_start; /* starting block # of image */ =20 static int __init ramdisk_start_setup(char *str) --=20 2.47.3