Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp957916pxb; Wed, 3 Mar 2021 22:30:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvIJWXjA3ZHABqAQrkiUswgJDv2+hHtydI6feFxlk3xWXyhuheE81kvqcyzSlzXXL9IWiU X-Received: by 2002:a17:906:3b84:: with SMTP id u4mr2463302ejf.431.1614839447002; Wed, 03 Mar 2021 22:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614839446; cv=none; d=google.com; s=arc-20160816; b=M6mk7lTjProXbUNt4BVxXk2pEo3RmPEhTlilqrzgCTslIvr6DWqk9pzvcat0aqkswT Hcc+nRNDBqSL/DettbluWEUfd6BPLgKa09Fuy8GL1m6TNemd5FYQTE/tJaxNoxZicgLX jvYBu6QR0Nw7FYfYEWcSEXmw46aajvkTRbIwTBbJkDqwJk0B4rurUzVnOjGusxoA3i/P 0DgBu/gvFd7fuj7U36/T9UkXCNbul4ht8PhRgaXHQUBVlVdWsCO+Ytj6NZel2HDVaG5l 2lquIa499xF+ugWAn3kL5FasN5ds18jR4AYKegfOyqTNLIUWfK/3U3PlahaHjCVYjeMb CLvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OYRXFzNNuTlKILRI33Ey1i/DTxNtqM1YKXxKvQKx4N4=; b=g4RyEZI1nIE1XEbcXBHhPaXXwR1SrUWMrn0d8vCCn0DkXL2+IyTpibWhOpUE6QMfjB /o4XVjXK5X9Jlr2aYjuog+bEMWc3rgNwgxYVRXOTWm/HI23K0Gw5fSOULofcheklg9vJ C7kuqPyrko1OEstW1US/TLtoM0/pldpzOPTUYfrjI+I72HgBy3rn7cTYQKdF8YojwE2n gS71PsfU960GwRm7eVlFIUvbck+QVdJ8wtVuZUZLJ5lOu84cQEa+lQduMaX9vxnJQaGv UkpS3WKyYM21TtA38LljPEbaY2zQ+iAWA0XFi8hVjF4nRqiEK3mxT68SZNfPzF+4VwP+ wWCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DfCbgKMq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si6049083edm.126.2021.03.03.22.30.24; Wed, 03 Mar 2021 22:30:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DfCbgKMq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1580075AbhCBR3h (ORCPT + 99 others); Tue, 2 Mar 2021 12:29:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:33140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448612AbhCBPHs (ORCPT ); Tue, 2 Mar 2021 10:07:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E11F764F42; Tue, 2 Mar 2021 14:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614697022; bh=OYRXFzNNuTlKILRI33Ey1i/DTxNtqM1YKXxKvQKx4N4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DfCbgKMqycOYqa6vkIArkKbgCfHn2Gb7ERiOJ8pppKXQRVy6oqjvTte6FY2XtVHS7 2YiagAevDAnM4tHoxxStF6A9HFw57amQCKUTprTeKP0z5p/Oj+9PcLS0J9ypUuI3gW hu78OzUwNgOuHdvq0W2sXw3lM09NduxfGBAg1Y0S8W/tK9sgxUQ3WXmtNZi/TRZhAL 9gCJ3TBiU/EJIWvMwBptzVsvP9Nw8GBFPgiozuRKKiWlkLNRV0AkBmx5RqRMv08+VN 0vnky7Ni4d99cNTT6vwdU0x9PyGeUUQWy6djq+/j3395p2GRXxY8wkqIBXnH3hKa7n gNOtCibozGmjA== Received: by mail-ed1-f53.google.com with SMTP id l12so25531792edt.3; Tue, 02 Mar 2021 06:57:01 -0800 (PST) X-Gm-Message-State: AOAM531E2lDEaWszF+W+Tl+1cKE3sXjx8z7/ZIFN8eA2qPOKpg2ktVzD uityBT1VFvgHvUvx2M8e8FZ2pkEFL/BEKgEbKA== X-Received: by 2002:a05:6402:c0f:: with SMTP id co15mr2856893edb.373.1614697020164; Tue, 02 Mar 2021 06:57:00 -0800 (PST) MIME-Version: 1.0 References: <20210225125921.13147-1-will@kernel.org> <20210301144153.GA16716@willie-the-truck> In-Reply-To: From: Rob Herring Date: Tue, 2 Mar 2021 08:56:47 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs" To: Christophe Leroy Cc: Will Deacon , Chris Packham , Daniel Walker , devicetree@vger.kernel.org, Android Kernel Team , Catalin Marinas , Arnd Bergmann , Marc Zyngier , linuxppc-dev , Doug Anderson , "linux-kernel@vger.kernel.org" , Tyler Hicks , Palmer Dabbelt , Greg Kroah-Hartman , Max Uvarov , Frank Rowand , Ard Biesheuvel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 1, 2021 at 11:45 AM Christophe Leroy wrote: > > > > Le 01/03/2021 =C3=A0 18:26, Rob Herring a =C3=A9crit : > > +PPC folks and Daniel W > > > > On Mon, Mar 1, 2021 at 8:42 AM Will Deacon wrote: > >> > >> On Mon, Mar 01, 2021 at 08:19:32AM -0600, Rob Herring wrote: > >>> On Thu, Feb 25, 2021 at 6:59 AM Will Deacon wrote: > >>>> We recently [1] enabled support for CMDLINE_EXTEND on arm64, however > >>>> when I started looking at replacing Android's out-of-tree implementa= tion [2] > >>> > >>> Did anyone go read the common, reworked version of all this I > >>> referenced that supports prepend and append. Here it is again[1]. > >>> Maybe I should have been more assertive there and said 'extend' is > >>> ambiguous. > >> > >> I tried reading that, but (a) most of the series is not in the mailing= list > >> archives and (b) the patch that _is_ doesn't touch CMDLINE_EXTEND at a= ll. > >> Right now the code in mainline does the opposite of what it's document= ed to > >> do. > > > > Actually, there is a newer version I found: > > > > https://lore.kernel.org/linuxppc-dev/1551469472-53043-1-git-send-email-= danielwa@cisco.com/ > > https://lore.kernel.org/linuxppc-dev/1551469472-53043-2-git-send-email-= danielwa@cisco.com/ > > https://lore.kernel.org/linuxppc-dev/1551469472-53043-3-git-send-email-= danielwa@cisco.com/ > > This was seen as too much intrusive into powerpc. It looked like the main issue was string functions for KASAN? As far as being too complex, I think that will be needed if you look at all architectures and non-DT cases. > I proposed an alternative at > https://patchwork.ozlabs.org/project/linuxppc-dev/cover/cover.1554195798.= git.christophe.leroy@c-s.fr/ but > never got any feedback. Didn't go to a list I subscribe to. In particular, if it had gone to DT list and into PW you would have gotten a reply from me. Rob