Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279041

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Nicolas Pitre <nicolas.pitre@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry
Date Sat, 28 Nov 2015 00:30:02 +0100
Message-ID <qzACK-Q6-7@gated-at.bofh.it> (permalink)
References <pLLOj-5uN-37@gated-at.bofh.it> <qzrg5-3nT-15@gated-at.bofh.it> <qzxlw-79e-21@gated-at.bofh.it> <qzyrf-82O-5@gated-at.bofh.it>
X-Original-To Arnd Bergmann <arnd@arndb.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; bh=fLevU/1ejwS4R5v6r72qvtxg/WdTnUYRknof9bWXv2U=; b=kiMZRgn7xwgMsuH9PL50d2otvq4adu2t160gbmzccejArCVSl/9sdASof4mXVQpTyR rFW8FngAzRjqxIKclg+8FpxicgB/68leDNA3xewcul/VyEeZQT1XAfRqn+EWrzjXeNXY lF6At/+9ZkctaoWWX+/YfeODEZtXykLWek16Qcwn2e9VfN2ZVhmN1LynR8aHjaO4rcZa l/KLYpMiQD1EPy4E4r4jvq6Ca4iTz1ghu0ocXULJEcQd3FV9QfmSsRbNLuVBUyCURbaP H31B02/1Vf6dEHLqFERCylfldK60efmkUGAjk3YRQfmwDVJQtHpkpkTK61aQum4oxAA7 /TUg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=fLevU/1ejwS4R5v6r72qvtxg/WdTnUYRknof9bWXv2U=; b=KC+4SGLvohdT7iEP2loKX0wrrF6JHkqf1yMlRxdOAKmEid5CmJLAmz/H7g8TalSP82 qPysWzfIf8FMW2S1kRlG3ojN+/dhZ1D72fa6eBDBkEy0EcJ7y7+WOyQYVWC8IMNwZaxc RUniLhU3yX+6QBuzkhbynQ78BBrw9qqP3KDVtopTdJp4+zOJSIzB0mMCeSx4jFSF11H1 WGUrEC+6a5P8nvCoOc9TSYgxfO503B2Of1dauZI2PSKAOZlh0Ka+QBrYB6YI5Se4eJNK a9TSWTi7XFDsE5hugjVsolBpm7gb8/0M96anaZ9GxewGeu9tbXi5E32NG/UCJKi+X4p6 jBtQ==
X-Gm-Message-State ALoCoQnTe/cyQYflVeqUHPYF8uveZaQW4OSZrodiWVwgIaxMWunE4U3oI9OhRFnxqdCZEenDN/Nj
X-Received by 10.141.7.69 with SMTP id j66mr26387679qhd.2.1448666933682; Fri, 27 Nov 2015 15:28:53 -0800 (PST)
User-Agent Alpine 2.20 (LFD 67 2015-01-07)
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-kernel@lists.infradead.org, Russell King - ARM Linux <linux@arm.linux.org.uk>, Pali Rohár <pali.rohar@gmail.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>, Laura Abbott <lauraa@codeaurora.org>, Tony Lindgren <tony@atomide.com>, Sebastian Reichel <sre@debian.org>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, Rob Herring <robherring2@gmail.com>, Pavel Machek <pavel@ucw.cz>, Grant Likely <grant.likely@linaro.org>, linux-omap@vger.kernel.org, Frank Rowand <frowand.list@gmail.com>, Andreas Färber <afaerber@suse.de>
X-Original-Date Fri, 27 Nov 2015 18:28:50 -0500 (EST)
X-Original-Message-ID <alpine.LFD.2.20.1511271817230.22569@knanqh.ubzr>
X-Original-References <20150713131902.GH26485@atomide.com> <20151127132722.GA30871@n2100.arm.linux.org.uk> <20151127195148.GB30871@n2100.arm.linux.org.uk> <11537945.4HX4Y84tjV@wuerfel>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1279041

Show key headers only | View raw


On Fri, 27 Nov 2015, Arnd Bergmann wrote:

> I don't mind creating the /proc/atags compatibility hack from the kernel
> for a DT based N700 kernel, as long as we limit it as much as we can
> to the machines that need it. Leaving a board file for the N700 in place
> that contains the procfs code (and not much more) seems reasonable
> here, as we are talking about a board specific hack and the whole point
> appears to be running unmodified user space.
> 
> Regarding how to get the data into the kernel in the first place, my
> preferred choice would still be to have an intermediate bootloader
> such as pxa-impedance-matcher, but I won't complain if others are
> happy enough about putting it into the ATAGS compat code we already
> have, as long as it's limited to the boards we know need it.

Assuming you have a N700 board file for special procfs code, then why 
not getting at the atags in memory where the bootloader has put them 
directly from that same board file? This way it'll really be limited to 
the board we know needs it and the special exception will be contained 
to that one file.  Amongst the machine specific hooks, there is one that 
gets invoked early during boot before those atags are overwritten.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Pavel Machek <pavel@ucw.cz> - 2015-11-22 08:00 +0100
  Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-23 15:50 +0100
    Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Tony Lindgren <tony@atomide.com> - 2015-11-25 19:20 +0100
      Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Arnd Bergmann <arnd@arndb.de> - 2015-11-25 20:50 +0100
        Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Tony Lindgren <tony@atomide.com> - 2015-11-25 22:10 +0100
          Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Arnd Bergmann <arnd@arndb.de> - 2015-11-25 22:40 +0100
            Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-25 22:50 +0100
              Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Arnd Bergmann <arnd@arndb.de> - 2015-11-25 23:00 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-25 23:10 +0100
          Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags"  entry Frank Rowand <frowand.list@gmail.com> - 2015-11-26 05:30 +0100
            Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-26 10:10 +0100
              Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Tony Lindgren <tony@atomide.com> - 2015-11-26 21:50 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2015-11-26 22:20 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-27 09:40 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Michael Trimarchi <michael@amarulasolutions.com> - 2015-11-27 09:50 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Michael Trimarchi <michael@amarulasolutions.com> - 2015-11-27 10:00 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Tony Lindgren <tony@atomide.com> - 2015-11-27 16:00 +0100
              Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-27 14:30 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-27 21:00 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Arnd Bergmann <arnd@arndb.de> - 2015-11-27 22:10 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-28 00:30 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Arnd Bergmann <arnd@arndb.de> - 2015-11-28 13:30 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-28 14:00 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-28 13:40 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-28 18:40 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags"  entry Frank Rowand <frowand.list@gmail.com> - 2015-11-28 22:10 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-29 19:20 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-29 19:20 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-30 00:20 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry Pali Rohár <pali.rohar@gmail.com> - 2015-11-30 01:20 +0100
                Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT  "/chosen/linux,atags" entry Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-30 01:20 +0100

csiph-web