Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3987137ybb; Mon, 23 Mar 2020 11:22:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtopwSt0mEMuc04fs9vCP1Ny3KNqfe81JSNPx5emYqtsCxnRi1h67652URv/MAF9JkJ/Fkd X-Received: by 2002:aca:47c8:: with SMTP id u191mr515143oia.17.1584987734632; Mon, 23 Mar 2020 11:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584987734; cv=none; d=google.com; s=arc-20160816; b=nYrRyJK+csR2xEc/UyPqPI9XjUwXqe8jeZ7NFwHWLTN+/xFyOOlpsAQe6Eh6w0PLGe wQQ3tWtmfvU/+bBkbytz6fbztgaG/JwSoB8bfFbnTMKc1/ZkK8DHRCx4ydp3bRefygxO Src/IOtttII67SawPfhhfwvm2yydTQeavLUIjK3E8dsbmU3HVNyRezv5HaTOZfPn+Fgd C9GUEeDUZ/5KD9KBB/fzTj1CVr4gjHFgRCsoLlk/bBjnhCmo6Lmvgi3tGTDnMCms4OWt wO66qXDqI+HdXF7VlLPrbYINXXOsNjU9Ou/cobuxrPb+FSuxWaHb5+op3jMP56Tsi5kn /ONA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=uyvTxOGuIfKng6B6meCMKRv3OcCkrewSTJXqYHGMw+M=; b=T+aB/CvOS12xfe/RBYBxRw80TwHoD6PW0tzHplfXyI+P8rdjag6Tya3+842CR3pX8X emhH3KcS2ESZvJVPkjjMTRziECFbk8Ch27oh6cnTNQHfV8PcCSaQMgiZbAOVNdh7J7g8 qRTw3GSQE/25J0swx5tKtRkKtT+KYdXSqeqBzbp/vL7yNe2zH3QjUXQCGpbfA4JrkAQM Lw8xf/JdzhpBD2PT0J1mlvxL89RjakYV+3lFIQSHZ57nrXzxkhI1ZRXfpi7pg3fZ/DdG rTvmLjlaIlUydle3e6hByB27bZUhIMTmlU0y69+X1y+3KEQJ78WBfPvJtxHhxj8OrGSp XgkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2020022001 header.b=NbMrO5f5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z78si8234120oia.200.2020.03.23.11.22.00; Mon, 23 Mar 2020 11:22:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2020022001 header.b=NbMrO5f5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbgCWSTz (ORCPT + 99 others); Mon, 23 Mar 2020 14:19:55 -0400 Received: from terminus.zytor.com ([198.137.202.136]:34033 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727141AbgCWSTy (ORCPT ); Mon, 23 Mar 2020 14:19:54 -0400 Received: from [IPv6:2601:646:8600:3281:9577:eff3:b2f7:e372] ([IPv6:2601:646:8600:3281:9577:eff3:b2f7:e372]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id 02NIJTwW2743830 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 23 Mar 2020 11:19:32 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 02NIJTwW2743830 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2020022001; t=1584987572; bh=uyvTxOGuIfKng6B6meCMKRv3OcCkrewSTJXqYHGMw+M=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=NbMrO5f5M5qN4EmSOSGBOPN9qCRzxkoBVCW1W9GG3djS3u8bvcrP/IeUhLk1wv6SK O40/VwN8uFLLAOAhEzP65zAPHZYmZTq6llHfqbZpggHK8FMH2/eZdEaJA+DtnK/XSs +6/QSoLw7m665yGUnvaeXC1Cu9cG3hOjOus4VfoCiDt9b6KNYLL9nDqd6cQDrEzW7B OuSCLbarU9E/zGp04so/L6Ee9+kdxcpM9lMvE2E3tBcBKcl1SCRb5Zzj+pVLq/xtKl vcJlMmUAQY3b05wXMs1qQ13/Agg6kXe668FA+57Ptxx7tccwesbPG9xRV+sjTRReLc 9ChipudnVcr1A== Date: Mon, 23 Mar 2020 11:19:21 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <8E80838A-7A3F-4600-AF58-923EDA3DE91D@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 1/1] x86 support for the initrd= command line option To: Matthew Garrett CC: ron minnich , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "maintainer:X86 ARCHITECTURE..." , lkml - Kernel Mailing List From: hpa@zytor.com Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 20, 2020 11:19:19 AM PDT, Matthew Garrett wro= te: >On Thu, Mar 19, 2020 at 5:59 PM wrote: > >> It has been designated consumed by the bootloader on x86 since at >least 1995=2E So ARM broke it=2E > >Eh=2E This feels like a matter of semantics - booting the kernel via EFI >results in it being parsed by the boot stub, so in that case we're >left arguing that the boot stub isn't the kernel=2E I can just about buy >that, but it's a stretch=2E For this change to actually break something, >we'd need the bootloader to be passing something that the kernel >parses, but not actually populating the initrd fields in bootparams=2E >That seems unlikely? You are right as long as this is the very last priority *and* neither boot= loaders nor the kernel will croak on unexpected input (I really object to = Ron calling the non-x86 version "standard", but that's a whole other ball o= f wax=2E) Pointing to any number of memory chunks via setup_data works and doesn't n= eed to be exposed to the user, but I guess the above is reasonable=2E *However*, I would also suggest adding "initrdmem=3D" across architectures= that doesn't have the ambiguity=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E