linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ACPI vs DT at runtime
@ 2013-11-15  1:44 Olof Johansson
  2013-11-15  9:57 ` Mark Rutland
                   ` (2 more replies)
  0 siblings, 3 replies; 101+ messages in thread
From: Olof Johansson @ 2013-11-15  1:44 UTC (permalink / raw)
  To: linux-arm-kernel

The more I start to see early UEFI/ACPI code, the more I am certain
that we want none of that crap in the kernel. It's making things
considerably messier, while we're already very busy trying to convert
everything over and enable DT -- we'll be preempting that effort just
to add even more boilerplate everywhere and total progress will be
hurt.

The server guys really want UEFI for their boot protocols,
installation managers, etc, etc. That's fine, let them do that, but
that doesn't mean we need to bring the same APIs all the way into the
kernel.

So, I'm strongly urging that whatever the server guys try to do, it
will in the end result in the ACPI data being translated into DT
equivalents, such that the kernel _only_ needs to handle data via DT.

Just like PowerPC scrapes the OpenFirmware client interface to build a
flat device tree, we should add a pre-boot stage that scrapes
ACPI/UEFI data and constructs an appropriate device-tree. We can still
bring over ACPI methods and represent those in the DT, but we should
_not_ have two native interfaces.

It might be done via having a skeleton/framework DT for the vendor
platform that is updated via UEFI/ACPI data, or it might be
constructed entirely out of tables coming from firmware. I don't care
about the methods for how it is done, but I do feel strongly that we
should _not_ introduce a second API for everything. I can't think of a
single good reason to do it.


[There, commence centithread]

-Olof

^ permalink raw reply	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2014-05-06 16:32 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-15  1:44 ACPI vs DT at runtime Olof Johansson
2013-11-15  9:57 ` Mark Rutland
     [not found]   ` <20131115175241. GB27174@quad.lixom.net>
2013-11-15 17:52   ` Olof Johansson
2013-11-15 18:08     ` Russell King - ARM Linux
2013-11-15 18:42       ` Olof Johansson
2013-11-15 19:56       ` Arnd Bergmann
2013-11-15 23:21         ` Russell King - ARM Linux
2013-11-18 15:05           ` Arnd Bergmann
2013-11-18 15:19             ` Russell King - ARM Linux
2013-11-18 15:46               ` Arnd Bergmann
2013-11-21 16:11               ` Grant Likely
2013-11-21 16:10             ` Grant Likely
2013-11-21 18:26               ` Arnd Bergmann
2013-11-21 19:40                 ` Mark Brown
2013-11-21 16:00           ` Grant Likely
2013-11-15 18:13     ` David Goodenough
2013-11-21 16:15       ` Grant Likely
2013-11-18 17:47     ` Jon Masters
2013-11-19 11:30     ` Mark Rutland
2013-11-19 11:35       ` Mark Rutland
2013-11-19 11:51         ` Leif Lindholm
2013-11-19 11:57       ` Russell King - ARM Linux
2013-11-19 13:56       ` Stefano Stabellini
2013-11-19 14:38         ` Mark Rutland
2013-11-19 14:59           ` Leif Lindholm
2013-11-19 18:23           ` Olof Johansson
2013-11-19 14:05       ` Arnd Bergmann
2013-11-19 15:21         ` Mark Rutland
2013-11-19 16:19           ` Arnd Bergmann
2013-11-19 18:34           ` Olof Johansson
2013-11-19 19:06           ` Tom Rini
2013-11-19 18:19       ` Olof Johansson
2013-11-21 16:37         ` Grant Likely
2013-11-21 16:29       ` Grant Likely
2013-11-21 17:01         ` Matthew Garrett
2013-11-21 18:38           ` Grant Likely
2013-11-21 17:58         ` Olof Johansson
2013-11-21 18:19           ` Matthew Garrett
2013-11-21 18:33           ` Arnd Bergmann
2013-11-21 18:54           ` Russell King - ARM Linux
     [not found]             ` < CAOesGMgzUSMDy99XojipfRd5OM88UhfbCYO0aoc5m-Q8Fwnddg@mail.gmail.com>
     [not found]               ` < 20131121190126.GZ16735@n2100.arm.linux.org.uk>
2013-11-21 18:59             ` Olof Johansson
2013-11-21 19:01               ` Russell King - ARM Linux
2013-11-21 19:31                 ` Olof Johansson
2013-11-21 20:44                   ` Grant Likely
2013-11-21 18:53         ` Mark Brown
2013-11-15 18:28   ` Jason Gunthorpe
2013-11-15 18:57     ` Arnd Bergmann
2013-11-18  5:19   ` Jon Masters
2013-11-18  5:26     ` Jon Masters
2013-11-18 19:25       ` Olof Johansson
2013-11-18 20:43         ` Jon Masters
2013-11-18 21:25           ` Olof Johansson
2013-11-18  7:22     ` Richard Cochran
2013-11-18 13:55     ` Stefano Stabellini
2013-11-18 15:00     ` Mark Brown
2013-11-18 19:13       ` Olof Johansson
2013-11-19  9:12         ` Richard Cochran
2013-11-19 18:48           ` Olof Johansson
2013-11-20  6:40             ` Richard Cochran
2013-11-21 18:16               ` Grant Likely
2013-11-21 19:21               ` Russell King - ARM Linux
2013-11-21 20:47                 ` Grant Likely
2013-11-22 11:43                   ` Catalin Marinas
2013-11-22 12:00                     ` Pantelis Antoniou
2014-05-05  7:06                       ` Alexander Holler
2014-05-05 14:41                         ` Arnd Bergmann
2014-05-05 15:29                           ` Alexander Holler
2014-05-05 17:29                             ` Arnd Bergmann
2014-05-06 15:37                             ` Grant Likely
2014-05-06 15:27                         ` Grant Likely
2014-05-06 16:32                           ` Olof Johansson
2013-11-18 15:28     ` Rob Herring
2013-11-18 19:09     ` Olof Johansson
2013-11-18 20:54       ` Jon Masters
2013-11-18 21:50         ` Olof Johansson
2013-11-18 21:32       ` Grant Likely
2013-11-18 22:47         ` David Goodenough
2013-11-19 12:48           ` Arnd Bergmann
2013-11-19 13:34             ` David Goodenough
2013-11-19 16:52               ` Arnd Bergmann
2013-11-21 18:23           ` Grant Likely
2013-11-19 14:33     ` Grant Likely
2013-11-20 13:49   ` Grant Likely
2013-11-20 17:43     ` Stefano Stabellini
2013-11-20 17:47       ` Olof Johansson
2013-11-15 20:58 ` Arnd Bergmann
2013-11-15 21:44   ` Olof Johansson
2013-11-17 17:18     ` Stefano Stabellini
2013-11-17 18:10       ` Arnd Bergmann
     [not found]         ` < CAOesGMiYyOcvr3Aqs-p8zc=XDwJM9NZtNxtxrTZssc6F=siZCw@mail.gmail.com>
2013-11-17 22:20         ` Olof Johansson
2013-11-18  8:45           ` Arnd Bergmann
2013-11-18 17:33             ` Jon Masters
2013-11-18 17:38               ` Russell King - ARM Linux
2013-11-18 19:21               ` Olof Johansson
2013-11-21 18:26               ` Grant Likely
2013-11-18 15:04         ` Mark Brown
2013-11-18 15:10           ` Arnd Bergmann
2013-11-18 21:38             ` Grant Likely
2013-11-18 23:25 ` Leif Lindholm
2013-11-18 23:29   ` Olof Johansson
2013-11-18 23:34     ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).