Re: [RFC 00/15] ACPI graph support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 12, 2016 at 2:05 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Wed, Oct 12, 2016 at 02:32:04AM +0200, Rafael J. Wysocki wrote:
>> On Tuesday, October 11, 2016 02:44:29 PM Mark Brown wrote:
>> > On Tue, Oct 11, 2016 at 01:44:46AM +0200, Rafael J. Wysocki wrote:
>
>> > My primary concern is the addition of what appear to be phandles
>> > introduced as part of this patch set.  The previous discussion had been
>> > that we'd enable simple DT bindings which don't need inter-device
>> > references and that those needed more careful study.  This appears to
>> > be changing that.
>
>> Yes, it does, but why exactly do you think this is wrong?
>
>> Is there any specific problem it creates that you can point to?
>
> It means there's now nothing in the code that says that we shouldn't
> just map a DT binding with inter-device references into ACPI

Are you sure about that?

This particular series doesn't make it so general AFAICS.

> and that any future conversions just look like API usage cleanups.

But it won't actually work, will it?

AFAICS, that would have required support in subsystems and the only
one that supports kind of generic _DSD properties is the GPIO one (and
these properties are based on _CRS resources anyway FWIW).

It would require explicit changes to subsystem code to do that and
surely they can be objected to by the respective maintainers of those
(including you).  IOW, for example, any patch attempting to change
of_* into device_property_* in the regulator subsystem will be highly
suspicious and objectionable, won't it?

>> > The way ARM implements this is that you don't get the DT and ACPI
>> > simultaneously, they're both present in the firmware and the OS picks
>> > which one it wants to use at runtime.
>
>> So for the boards I'm talking about ACPI is the only realistic choice.
>
> There shouldn't be any technical limiation here.

The limitation is the information necessary to implement low-level
support of things in there which is not and may never be available.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux