Thread (1 message) 1 message, 1 author, 2013-11-19

ACPI vs DT at runtime

From: Olof Johansson <hidden>
Date: 2013-11-19 18:23:18
Also in: linux-devicetree

On Tue, Nov 19, 2013 at 02:38:40PM +0000, Mark Rutland wrote:
On Tue, Nov 19, 2013 at 01:56:26PM +0000, Stefano Stabellini wrote:
quoted
I would not go as far as requiring that only one is available.
Certainly I would mandate that either of them are independently complete
and sufficient to describe the platform.
At that point we need to choose one to prefer. This will be a completely
arbitrary choice, but as in the EFI case we would expect a DTB stub (for
passing some options in /chosen), preferring the DT if it's more than a
stub would make sense to me.

The key point is that the kernel will rely solely on one of them to
provide hardware description.
Given that the likley path is to have a static DT override a broken ACPI
table on a system, giving preference to DT seems like the logical choice
at this time.

There's also presendence from x86 to allow bootargs such as "noacpi" to disable
one or the other, but hopefully we can avoid that as long as possible.


-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help