From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 7457F2EB10 for ; Sat, 13 Sep 2025 00:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757724334; cv=none; b=cmIZIeeCoMbWfZ+lz1zx81tFWMYWrwvKofJgv+31LyHuV0D2zZOyFmqHb5IQKTE5wqemXXzB8Ibv+7CTOXTWcSZiMnxraWMegE1xuVdYvCLPyhOxrRhmje85NKYIizyHlCDg62ChIz4LKO1PTgajHy1ipkUm5C8OD4/N4mQN2yw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757724334; c=relaxed/simple; bh=kibOCauDCBkqzoIIQtVCNE2P0zxtFVdI1DUZ/kvaArs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C9Qn67T0AwEDGVqPamE6XylKVhGOvaFYPq5iQyMdl3p5HObXgJyziPz74kyRqjF058e7hqcTJE1hlxQ+TnR8riNTk0c+IDfIwfpET8ays0IZnR4z1nd6eicPuVA++y4uREVMq0kQl9dGqp507xtC5BRZI9GlF7pEkB0QyxWUWng= 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.47 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-f47.google.com with SMTP id a640c23a62f3a-b043a33b060so374070566b.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=gGTY+vA+Qcl6Logkw6MOwSsD/72zeEs+KBuXDkpC2hvdueblmmOCGmolxbymjCZUJd eeXaYohkTpF6Evm4ZgriNd9OM6ip1IQFvGqhWNq6pCtw9r0Ul6Okjtxy7nTRit851PDk Efxo0lr+42zNId7Z5J9hamHEsBD34yaC5I3cu774zjHzmMXzVGvmWqG/8fM5itl11iCZ YIvJazjA86HJhwSxEFPzRXlBXSqCooovmIRIlFi691o3/BtQHjPyo8LIJVWtkE40eHqf 1KFWeYapwvKuh22ghzmQvxYDpBhHilR3FpnOAKUw6EsApi5V1+OrgYHnrsFtvcujwRvO 3bWA== X-Forwarded-Encrypted: i=1; AJvYcCWuKvqlyLe3tWp/tkcs65kFPry/ebRW9fKSWKPCqfy2kLqSqk3mwlPj/3uO3NJrI3WcJE8MbnRyA7vB@vger.kernel.org X-Gm-Message-State: AOJu0YzRU6tko8s2gPM48uEmMfvYFi1usIEZ6GPwJUni3xdSDuam3ktQ /+WAVVL8GPrmr4Mn7wXjPWFxOwZkb2H0XW9DASw/TPgW3p9CaIeJMvP+ X-Gm-Gg: ASbGncuIy9J5wYUNCZvcQFcIHvy1/DWCcWIK9SzO6hqmHoDG+Avm0tppgxxuGf63s7r vQj0Tgo/1wM+u2JVYdJ7b7d4GeMbrhKoSh2FbMnSOxMb3+JEBrmLcAPya0ioZK+2Y2j/jxUq5r3 bhA2Tp0NVlFCZ0o2V4O88FpSy2BIhBkoT1TAGYsIHbkPHCy4rdDxaZU0iBHs2xlpGzvu6bYlkGB OBGMq6HcdrzAhG6leL6ciHLuLMDSiOi99+3uMSBRHEJ5PC8BrESkU7Zu4dgbk07bNmmrTvieA3N ulYMG9hOp9NcJTDxF5MINLQ7JclgDvkPhlOG8wPFbtrDhvsN+V0LH7w8IzyClxEij31meDyap8H CrQWd0c45OeX07jrZS9Q= 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-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Some of the kernel command line boot options that may apply here are:: - ramdisk_start=N ramdisk_size=M If you make a boot disk that has LILO, then for the above, you would use:: - append = "ramdisk_start=N ramdisk_size=M" + append = "ramdisk_size=M" 4) An Example of Creating a Compressed RAM Disk ----------------------------------------------- diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/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= [RAM] Sizes of RAM disks in kilobytes See Documentation/admin-guide/blockdev/ramdisk.rst. - ramdisk_start= [RAM] RAM disk image start address - random.trust_cpu=off [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; -static int __init ramdisk_start_setup(char *str) -{ - /* will be removed in next commit */ - return 1; -} -__setup("ramdisk_start=", ramdisk_start_setup); - static int __init crd_load(decompress_fn deco); /* -- 2.47.2