From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbbKYVao (ORCPT ); Wed, 25 Nov 2015 16:30:44 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:58248 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbbKYVal (ORCPT ); Wed, 25 Nov 2015 16:30:41 -0500 From: Arnd Bergmann To: Tony Lindgren Cc: Pali =?ISO-8859-1?Q?Roh=E1r?= , Pavel Machek , Frank Rowand , "devicetree@vger.kernel.org" , Russell King - ARM Linux , Laura Abbott , Grant Likely , Rob Herring , Will Deacon , Ivaylo Dimitrov , Sebastian Reichel , Andreas =?ISO-8859-1?Q?F=E4rber?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Date: Wed, 25 Nov 2015 22:29:53 +0100 Message-ID: <3245119.krc4KB3uae@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151125210310.GT2517@atomide.com> References: <20150713131902.GH26485@atomide.com> <17134653.86P3dFyQKK@wuerfel> <20151125210310.GT2517@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:pp2CXd1a1YKSQF3fLemenpaBCC9nrYPQ1WIgSFOvQy7SSbQgV9/ ugQ9DWkh/QSx6L+Axx0hGJaEbhPMr6yAw8/uJAa+m8m5eJ7h/NN7jM8SSqxr3Qa/q5xezxn EAJRN7LvHWod5s4+ZvOs0K0sdCAp8b23qzMHs5+7EBuCEgzI5InvUtM+LZRyO6uMXtXH7RX W5S2hvDFUvz+7XSvOy2mg== X-UI-Out-Filterresults: notjunk:1;V01:K0:fLRhmpA0zE0=:v0IllTm+PD+wZshHH4ob3R L20CSc4Y3cMYnxnR+WuDKmy+IYvTxshZinUgLjAtPgXpauHB6pDPhZ1gGQPDw0yN00Yu+3wnf UU8+J+05gSMq/Ptb5AqwjpiNxiT3bzRI/o3QvAKJ1SjzJ9JqxFprsxw6dmF3j+abeEvBzZA24 AWpSIYe6Ic9tSrwoUtAYTFv+0Tr6c2NpmEZ8JERjINjUF4P1wDu6BHfEnYAGABMOM7lDmrdsr h3nc8p7aBUfqvHHuEc/f2jmFfXJ3FrjqmZ/yHH0tMESquaQQ1XM6yV+2UEHC6cUold3lj0Eu9 OCKUio1stGyfkcaaa+j4ueCL4CdVdVpRkM/ps3N13CGZcQOfly46V1+Ds+ouChVejMHUwwxXw mA/9MWG54X1+fgZk0Nl5HJBuH3Ck/Xezy85GPI8IcjY85MjFerXiH7Ccg7oOLlx5gGFX9jBc8 fHS+a0vG5Fc6HDU1WDDzygNdpAll9tfRJRT91mHaHKeIImHX/S6UIwPg1Y+48NCq4RUya4sHD NpX4hEmtEhSFsrB0HHBStnHOrmx6ECOsEBhDTaj6oZc7Ftm0c0gt4FKXJ0KfSihifrz3NEGWK 92deu5ddOvB3dgDWnH6YD5Vtv5nLogmeTIhaZeQylYjEUCwlsHb76Qx6A11teM1xj4refeLi3 wtj63+taSSFnEtStwvCEaod/i88O103vEfxNJI4urIGMRGP5LoFXgMfhvprKkPKPrmcYRKNyu SghN+2AtnyX6pYT7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 25 November 2015 13:03:10 Tony Lindgren wrote: > * Arnd Bergmann [151125 11:50]: > > On Wednesday 25 November 2015 10:16:44 Tony Lindgren wrote: > > > At least I don't have better solutions in mind. > > > > I would be happier if we could restrict this as much as possible to the > > boards that need it, as an opt-in. That way it doesn't become an ABI > > for people that don't already rely in this information. How about > > adding a check the code adds the linux,atags property to do it > > only for a whitelist of board numbers? > > Or populate /proc/atags only for the ones that need it from machine > specific init_early? That would also address my main concern about /proc/atags, but still leave the atags in /proc/device-tree/chosen/linux,atags, and it would be bad if someone who currently uses /proc/atags changes their code to use the other file instead of finding a proper solution. Arnd