From nobody Thu Oct 2 19:01:34 2025 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 8AC366BB5B for ; Sat, 13 Sep 2025 00:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757724333; cv=none; b=KM8c8g9PL74huHckTH0NPHd65HnAEtz7o/447yhWQJUX6LzO5NirOaVXNbzf7HfJArV4Gy0RM0OTUGm7OTGX9vb3SbUHyhy7AUFR5sBpRqrdLBoYyYOxYnEyMSf8/eHRPVl5esCuXRnzDhnYWGyb9t/XiVzPcQ3LQdvWHoOTozs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757724333; c=relaxed/simple; bh=kibOCauDCBkqzoIIQtVCNE2P0zxtFVdI1DUZ/kvaArs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FFlniozk9hvx7EO/qKke2prWKH1T7TPR5166xdXhatLQTZ8UOKVj3P6DkNGDr6cTR6y/kT8crBQFg0UktJDvtQzewSbJT+QjYrLDyVypjvUvkkGUnatEp5kXWQBRoV9Tgahlmm/NaAROwGN/Gr7dmQtlKQFwAu328hwj+3NyInI= 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=HOStwEqH; arc=none smtp.client-ip=209.85.218.53 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="HOStwEqH" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-b043a33b060so374069366b.1 for ; Fri, 12 Sep 2025 17:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757724329; x=1758329129; 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=fi1FJKwP9nWnSjptSGh11GRsqwR1G48l7l6Ou3g4XAs=; b=HOStwEqHw8VoYhk7VlxxKOyJSgS3oHdg9X+fH9tPx8w3h+SQEBbgO6RjhW40LGfh7U 7bxuSSZ2f0QLvSJJrCAbrfcXm6EhsCN+XJ1lIzoOPCQOiLb7LqDSXQQYP85D5gX0T6+P 5jaIBw0hoLHPtpGJ3pWXXPg3JAdrjiLpKOHlOvGYo45xN0DLGaejUxVIxRQI3oZIpRud hvko6/1Vpn1tmc/uXidMtUD0wPWKYEVLP0V5MxpbQDXGGQJF2b6NB0mbAzuvb8tbGKZa R+mcO//zHtUaf0W7Fc3IPPmoFcBAZCBNm7+Oa1SPvpA5yHNZZM9b7qS1xXWTaim6mZiS 9M2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757724329; x=1758329129; 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=fi1FJKwP9nWnSjptSGh11GRsqwR1G48l7l6Ou3g4XAs=; b=CgUaxPavlN1Un85Aer79ePVJoRUttBABF7cqi3r7yhxkG0D77EntFAD/n1cJ0Y+Dpj JNl0aXVriSimAInOoK1jRWwEI+HZx/O5gMAXv3pPqSe1VvC0yot6PNWVEw63eshbCxTM EyvZScAbPFqGK8j1C05EMAYLoEFatph/gC/srMaApf/oam/z5VHAPMMaE1U1OM99ngvD 9W7p1A6Cr9oY7IEC5UYWwaM8aXwL+E++uXwt2ns4NvcEBYmF39yo16oHIrw5mEzfIH2o ZtvsYThyv5JLVCQe1zlrYE27nY9uJ9doX4UwHUea6WwAtfP6aWDgRvDuL4FqKUJMrXUL 9E/Q== X-Forwarded-Encrypted: i=1; AJvYcCXarkV9D6xa50rXEay2tKAHO2MLXQCD1Cw2Sw/+nm9xehIwn97F2/kmA552NZyBmj0o3KIUid4e/dHsvEw=@vger.kernel.org X-Gm-Message-State: AOJu0YxpaBczKRleBI7IKiJxUUMImLBcE0aQE48mW0vLC/H0BkVv+8NC 89Fz9nH2zWPmiMfw/SliZnfQVwPbaDNuJ3ySfdmJKr6XUzYGqkUy58r6 X-Gm-Gg: ASbGnct7za3cYlwWOYjTJU7IAvhYTo61/cKEUlWC+Pc5LqfZ9Zo+G37BdoHVjWWqqL4 hDi5//b5WG2kPoVtcnRj3gun04HD13hV4PiLibiruF4QzTA+3y1a3qwVkYKQWLcjp5//gMHKirg J/LaK/BkcFXHCQsVflZK71f/z3eDnO7TNrY5iruWY4A17Kt7HuzQuJitXPzYhZl674tqeKsSlrr sqKkHhGx+JcBwqoPezVILy+gp5b+3SoSH1CJ45RcebmEIWVtlyQSeRWO8qmgJpilBvSBsYNU6IJ uCFjnxwSriZWa9adbBWZmL+dn/29FOOOEx2UubJTe7gve/eTIfsZnP/5Tq78CoXuh3aq9hk0EcP rkJHDYZ3F5LHnOoGW5sU= X-Google-Smtp-Source: AGHT+IEY39yKNpHOwhu+b8E85JfZO5GXoHp0A73FES6zZeZtQwPXvLC0BV0HcFzY55ZLXxqy2VO9oA== X-Received: by 2002:a17:907:9405:b0:b07:c9b2:dbd with SMTP id a640c23a62f3a-b07c9b20f2cmr456963866b.4.1757724328684; Fri, 12 Sep 2025 17:45:28 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id a640c23a62f3a-b07b32dd5casm460965366b.68.2025.09.12.17.45.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Sep 2025 17:45:28 -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 , Eric Curtin , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, Ingo Molnar , linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-acpi@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org, Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , patches@lists.linux.dev Subject: [PATCH RESEND 05/62] init: remove "ramdisk_start" command line parameter, which controls starting block number of initrd Date: Sat, 13 Sep 2025 00:37:44 +0000 Message-ID: <20250913003842.41944-6-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250913003842.41944-1-safinaskar@gmail.com> References: <20250913003842.41944-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" This is preparation for initrd removal Signed-off-by: Askar Safin --- Documentation/admin-guide/blockdev/ramdisk.rst | 3 +-- Documentation/admin-guide/kernel-parameters.txt | 2 -- init/do_mounts_rd.c | 7 ------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Documentation/admin-guide/blockdev/ramdisk.rst b/Documentation= /admin-guide/blockdev/ramdisk.rst index 9ce6101e8dd9..e57c61108dbc 100644 --- a/Documentation/admin-guide/blockdev/ramdisk.rst +++ b/Documentation/admin-guide/blockdev/ramdisk.rst @@ -74,12 +74,11 @@ arch/x86/boot/Makefile. =20 Some of the kernel command line boot options that may apply here are:: =20 - ramdisk_start=3DN ramdisk_size=3DM =20 If you make a boot disk that has LILO, then for the above, you would use:: =20 - append =3D "ramdisk_start=3DN ramdisk_size=3DM" + append =3D "ramdisk_size=3DM" =20 4) An Example of Creating a Compressed RAM Disk ----------------------------------------------- diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentatio= n/admin-guide/kernel-parameters.txt index f940c1184912..07e8878f1e13 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -5285,8 +5285,6 @@ ramdisk_size=3D [RAM] Sizes of RAM disks in kilobytes See Documentation/admin-guide/blockdev/ramdisk.rst. =20 - ramdisk_start=3D [RAM] RAM disk image start address - random.trust_cpu=3Doff [KNL,EARLY] Disable trusting the use of the CPU's random number generator (if available) to diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 8e0a774a9c6f..864fa88d9f89 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -17,13 +17,6 @@ static struct file *in_file, *out_file; static loff_t in_pos, out_pos; =20 -static int __init ramdisk_start_setup(char *str) -{ - /* will be removed in next commit */ - return 1; -} -__setup("ramdisk_start=3D", ramdisk_start_setup); - static int __init crd_load(decompress_fn deco); =20 /* --=20 2.47.2