Skip to contentSkip to conversation

New: ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

Bug 218789 [email protected] 1 participant 11 messages Apr 29, 2024 – May 10, 2024 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218789

Bug ID: 218789
Summary: ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to
evaluate _DSM 2 in logs
Product: Drivers
Version: 2.5
Hardware: AMD
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Every single boot I observe error in the journalctl logs

"kernel: ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2"

My devices specs and dmesg log are in the attachments.

Is there a way to get out of the error?

If I have to provide additional info please tell me

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

--- Comment #2 from [email protected] ---
Created attachment 306238
--> https://bugzilla.kernel.org/attachment.cgi?id=306238&action=edit
system-info

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

Heikki Krogerus ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |.com

--- Comment #4 from Heikki Krogerus ([email protected]) --- This looks like a symptom caused by an issue in the EC driver. The complete error in your dmesg:

...

[   12.563832] ACPI Error: No handler for Region [ECSI] (000000007b8176ee)
[EmbeddedControl] (20230628/evregion-130)
[   12.564906] ACPI Error: Region EmbeddedControl (ID=3) has no handler
(20230628/exfldio-261)
[   12.566187] ACPI Error: Aborting method \_SB.UBTC.ECRD due to previous error
(AE_NOT_EXIST) (20230628/psparse-529)
[   12.567909] ACPI Error: Aborting method \_SB.UBTC._DSM due to previous error
(AE_NOT_EXIST) (20230628/psparse-529)
[   12.569254] ACPI: \_SB_.UBTC: failed to evaluate _DSM
c298836f-a47c-e411-ad36-631042b5008f (0x6)
[   12.569259] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2

...

The handler for the EC operation region is missing, which is very odd, because the EC driver (drivers/acpi/ec.c) has clearly been loaded successfully based on your the same dmesg output.

Can you also attach the acpidump output:

% acpidump -o my_acpi.dump

The ACPI guys should take a look at this. I think this is to core issue here:
"ACPI Error: Region EmbeddedControl (ID=3) has no handler"

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

--- Comment #5 from Heikki Krogerus ([email protected]) --- This issue has been reported earlier (indirectly):
https://bugzilla.kernel.org/show_bug.cgi?id=216438.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

--- Comment #6 from webcaptcha ([email protected]) --- Created attachment 306240
--> https://bugzilla.kernel.org/attachment.cgi?id=306240&action=edit
acpi.dump

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

--- Comment #7 from Heikki Krogerus ([email protected]) --- Thanks! I can see that "ECSI" EmbeddedControl OpRegion inside the scope of the UCSI device in your tables, which should be fine.

I don't think we have a global handler for the EC OpRegion in Linux, which I'm quite certain we really should have - just like we have for the other types:
SystemMemory, SystemIO, PCI_Config, etc.

This may actually be a missing feature in ACPICA, so other operating systems may also be affected.

I'll see if I can get the ACPI/ACPICA guys to take a look at this.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

Rafael J. Wysocki ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #9 from Rafael J. Wysocki ([email protected]) --- Patch has been posted:

https://lore.kernel.org/linux-acpi/4926735.31r3eYUQgx@kreacher/

Any chance to try it and see if it helps?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 218789] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2 in logs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218789

Rafael J. Wysocki ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|USB                         |EC
           Assignee|[email protected] |[email protected]
                   |nel.org                     |g
            Product|Drivers                     |ACPI
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.