]> git.baikalelectronics.ru Git - kernel.git/commit
of: property: Disable fw_devlink DT support for X86
authorSaravana Kannan <saravanak@google.com>
Fri, 10 Sep 2021 01:14:45 +0000 (18:14 -0700)
committerRob Herring <robh@kernel.org>
Fri, 10 Sep 2021 16:21:49 +0000 (11:21 -0500)
commit9bbee9e50218bed0efe35c3169371c2a873cdc9e
treed8923da2413ff3ec57b33474c9241d0f3cf717cc
parent3a8db5be4877180b6a90aa92e437c60d9951172e
of: property: Disable fw_devlink DT support for X86

Andre reported fw_devlink=on breaking OLPC XO-1.5 [1].

OLPC XO-1.5 is an X86 system that uses a mix of ACPI and OF to populate
devices. The root cause seems to be ISA devices not setting their fwnode
field. But trying to figure out how to fix that doesn't seem worth the
trouble because the OLPC devicetree is very sparse/limited and fw_devlink
only adds the links causing this issue. Considering that there aren't many
users of OF in an X86 system, simply fw_devlink DT support for X86.

[1] - https://lore.kernel.org/lkml/3c1f2473-92ad-bfc4-258e-a5a08ad73dd0@web.de/

Fixes: 79e4b42bc148 ("Revert "Revert "driver core: Set fw_devlink=on by default""")
Signed-off-by: Saravana Kannan <saravanak@google.com>
Cc: Andre Muller <andre.muller@web.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Andre Müller <andre.muller@web.de>
Link: https://lore.kernel.org/r/20210910011446.3208894-1-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/property.c