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


Groups > linux.kernel > #1205414

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

From Robert Richter <robert.richter@caviumnetworks.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/2] net: thunder: Add ACPI support.
Date 2015-08-11 22:20 +0200
Message-ID <pWobF-7lR-17@gated-at.bofh.it> (permalink)
References <pW655-66O-7@gated-at.bofh.it> <pWmMx-5cz-15@gated-at.bofh.it> <pWobF-7lR-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11.08.15 13:04:55, David Daney wrote:
> >In the future it might be better structured to try and get the OF
> >node, and if that fails then try and use the ACPI method to obtain
> >these values.
> 
> Our current approach, as you can see in the patch, is the opposite.  If ACPI
> is being used, prefer that over the OF device tree.
> 
> You seem to be recommending precedence for OF.  It should be consistent
> across all drivers/sub-systems, so do you really think that OF before ACPI
> is the way to go?

If ACPI is enabled then no OF function may be called at all.

With !ACPI or acpi=no kernel parameter, then acpi_disabled is set and
no ACPI function should be called. It always falls back to and only
uses OF/devicetree in this case.

So there is now way to try devicetree first and then use acpi or vice
versa. There is no mixup using acpi or devicetree with the same boot,
either one or the other.

-Robert
--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] net: thunder: Add ACPI support. David Daney <ddaney.cavm@gmail.com> - 2015-08-11 03:00 +0200
  [PATCH v2 2/2] net, thunder, bgx: Add support to get MAC address from ACPI. David Daney <ddaney.cavm@gmail.com> - 2015-08-11 03:00 +0200
  Re: [PATCH v2 0/2] net: thunder: Add ACPI support. David Miller <davem@davemloft.net> - 2015-08-11 20:50 +0200
    Re: [PATCH v2 0/2] net: thunder: Add ACPI support. Robert Richter <robert.richter@caviumnetworks.com> - 2015-08-11 22:20 +0200
      Re: [PATCH v2 0/2] net: thunder: Add ACPI support. David Miller <davem@davemloft.net> - 2015-08-11 23:00 +0200
    Re: [PATCH v2 0/2] net: thunder: Add ACPI support. David Miller <davem@davemloft.net> - 2015-08-11 22:50 +0200
    Re: [PATCH v2 0/2] net: thunder: Add ACPI support. Catalin Marinas <catalin.marinas@arm.com> - 2015-08-12 17:30 +0200
      Re: [PATCH v2 0/2] net: thunder: Add ACPI support. Hanjun Guo <hanjun.guo@linaro.org> - 2015-08-13 10:40 +0200

csiph-web