From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>,
Hans de Goede <hdegoede@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
ACPI Devel Mailing List <linux-acpi@vger.kernel.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
"Bossart, Pierre-louis" <pierre-louis.bossart@intel.com>
Subject: Re: ACPI scan regression -> Boot fail on Cherrytrail w/ 5.11-rc3
Date: Fri, 15 Jan 2021 10:41:57 -0600 [thread overview]
Message-ID: <8b316bf8-6a5c-c6d4-c0db-304ec529c805@linux.intel.com> (raw)
In-Reply-To: <CAJZ5v0j87iF7S2-H+5D3A9HbRBA=W03r_9GPgwWLtH6nLwwZfw@mail.gmail.com>
>>> [ 0.516336] ACPI: \_SB_.PCI0.BRCM: Dependencies found
>>
>> Ah, that is enlightening, that is not supposed to happen, that device
>> has both an _ADR and an _HID method which is not allowed according
>> to the spec.
it's not an uncommon issue for audio codecs, here's three examples:
Device (RTK1)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "10EC5670") // _HID: Hardware ID
Name (_CID, "10EC5670") // _CID: Compatible ID
Name (_DDN, "ALC5642") // _DDN: DOS Device Name
Device (MAXM)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "193C9890") // _HID: Hardware ID
Name (_CID, "193C9890") // _CID: Compatible ID
Name (_DDN, "Maxim 98090 Codec ") // _DDN: DOS Device Name
Device (TISW)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "104C227E") // _HID: Hardware ID
Name (_CID, "104C227E") // _CID: Compatible ID
It's been that way for years...
>> Can you try a clean 5.11 kernel (so none of the previous
>> debug patches) with the following change added:
>>
>> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
>> index 1f27f74cc83c..93954ac3bfcc 100644
>> --- a/drivers/acpi/scan.c
>> +++ b/drivers/acpi/scan.c
>> @@ -1854,7 +1854,8 @@ static u32 acpi_scan_check_dep(acpi_handle handle)
>> * 2. ACPI nodes describing USB ports.
>> * Still, checking for _HID catches more then just these cases ...
>> */
>> - if (!acpi_has_method(handle, "_DEP") || !acpi_has_method(handle, "_HID"))
>> + if (!acpi_has_method(handle, "_DEP") || !acpi_has_method(handle, "_HID") ||
>> + acpi_has_method(handle, "_ADR"))
>> return 0;
>>
>> status = acpi_evaluate_reference(handle, "_DEP", NULL, &dep_devices);
>>
>>
>>> [ 0.517490] ACPI: \_SB_.PCI0.LNPW: Dependencies found
>>
>> And idem. for this one.
>>
>> That might very well fix this.
Nope, no luck with this patch. boot still stuck.
> It might.
>
> That said, there are "interesting" dependencies in those ACPI tables
> (like on the PMIC which is deferred, because it depends on I2C7 and
> GP01 and even some power resources depend on it).
>
next prev parent reply other threads:[~2021-01-15 16:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 21:55 ACPI scan regression -> Boot fail on Cherrytrail w/ 5.11-rc3 Pierre-Louis Bossart
2021-01-14 23:34 ` Hans de Goede
2021-01-15 0:49 ` Pierre-Louis Bossart
2021-01-15 8:54 ` Hans de Goede
2021-01-15 13:38 ` Rafael J. Wysocki
2021-01-15 13:54 ` Rafael J. Wysocki
2021-01-15 14:52 ` Pierre-Louis Bossart
2021-01-15 14:55 ` Rafael J. Wysocki
2021-01-15 15:09 ` Pierre-Louis Bossart
2021-01-15 15:22 ` Rafael J. Wysocki
2021-01-15 15:38 ` Pierre-Louis Bossart
2021-01-15 16:05 ` Hans de Goede
2021-01-15 16:22 ` Rafael J. Wysocki
2021-01-15 16:41 ` Pierre-Louis Bossart [this message]
2021-01-15 19:01 ` Rafael J. Wysocki
2021-01-15 19:06 ` Rafael J. Wysocki
2021-01-15 20:48 ` Hans de Goede
2021-01-15 21:57 ` Hans de Goede
[not found] ` <56b732f4-9a24-688e-7cc7-6c2522d173c9@linux.intel.com>
2021-01-16 11:18 ` Hans de Goede
2021-01-16 12:26 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b316bf8-6a5c-c6d4-c0db-304ec529c805@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=linux-acpi@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=pierre-louis.bossart@intel.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox