Bug 200365 - ACPI AE_BAD_PARAMETER on GPD Pocket (Intel Cherry Trail)
Summary: ACPI AE_BAD_PARAMETER on GPD Pocket (Intel Cherry Trail)
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_acpica-core@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 10:54 UTC by ich
Modified: 2019-03-25 02:23 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.18-rc1 (jwrdegoede/linux-sunxi)
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg including the ACPI errors, among other errors (54.76 KB, text/plain)
2018-06-29 10:54 UTC, ich
Details
acpidump output (157.85 KB, application/gzip)
2018-08-30 14:52 UTC, ich
Details

Description ich 2018-06-29 10:54:45 UTC
Created attachment 277047 [details]
dmesg including the ACPI errors, among other errors

I get this on each boot in dmesg on an Atom x7-Z8750 SoC:

[   33.601564] ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
[   33.601573] ACPI Error: Method parse/execution failed \_SB.STR1.PAT0, AE_BAD_PARAMETER (20180531/psparse-516)
[   33.601717] ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
[   33.601723] ACPI Error: Method parse/execution failed \_SB.STR1.PAT1, AE_BAD_PARAMETER (20180531/psparse-516)

I'll add a dmesg from the current boot. I am not sure if the ACPI errors have 
any consequence, but since I have issues with certain hardware coming back into 
function after a resume, it is a guess that they might. There is a failure to
initialize the USB C charging in this boot just before the ACPI errors, but
those have been present also without that before.

Lots of issues still with this Cherry Trail system. I hope these ACPI errors
give an easy start to fix them.
Comment 1 ich 2018-06-29 11:05:15 UTC
Rebooting this particular instance hangs, just after emitting some further ACPI errors:

Jun 29 11:47:36 kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=140096 end=140097) time 423 us, min 1908, max 1919, scanline start 1874, end 1924
Jun 29 12:58:31 kernel: xfce4-power-man[2816]: segfault at 0 ip 0000000000000000 sp 00007ffe67739a68 error 14 in xfce4-power-manager[55849ba98000+34000]
Jun 29 12:58:31 kernel: Code: Bad RIP value.
Jun 29 12:58:33 kernel: ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
Jun 29 12:58:33 kernel: ACPI Error: Method parse/execution failed \_SB.STR2.PAT0, AE_BAD_PARAMETER (20180531/psparse-516)
Jun 29 12:58:33 kernel: ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
Jun 29 12:58:33 kernel: ACPI Error: Method parse/execution failed \_SB.STR2.PAT1, AE_BAD_PARAMETER (20180531/psparse-516)
Jun 29 12:58:33 kernel: ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
Jun 29 12:58:33 kernel: ACPI Error: Method parse/execution failed \_SB.STR0.PAT0, AE_BAD_PARAMETER (20180531/psparse-516)
Jun 29 12:58:33 kernel: ACPI Error: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20180531/evregion-266)
Jun 29 12:58:33 kernel: ACPI Error: Method parse/execution failed \_SB.STR0.PAT1, AE_BAD_PARAMETER (20180531/psparse-516)
Jun 29 12:58:35 kernel: systemd-shutdow: 36 output lines suppressed due to ratelimiting
Jun 29 12:58:35 systemd-shutdown[1]: Syncing filesystems and block devices.
Jun 29 12:58:35 systemd-shutdown[1]: Sending SIGTERM to remaining processes...

Not sure what role the xfce power manager segfault plays.
Comment 2 Zhang Rui 2018-08-30 02:54:23 UTC
please attach the acpidump output.
Comment 3 ich 2018-08-30 14:52:04 UTC
Created attachment 278207 [details]
acpidump output

Sure, here is the output of acpidump, without any switches. I hope it contains clues …
Comment 4 Zhang Rui 2018-12-27 15:11:15 UTC
please make sure your kernel is built with CONFIG_PINCTRL_CHERRYVIEW.

It seems that there are a lot of gaps in linux kernel for the vendor specific operation region support on this machine.
So to me, the " AE_BAD_PARAMETER, Returned by Handler for .." messages are not kernel bug, but instead, they are Linux gaps to support some vendor specific devices on this platform, and I don't expect we can get this resolved in this bug report.
Comment 5 Hans de Goede 2018-12-27 15:32:02 UTC
I have the same machine and I'm not seeing any of these errors.

Have you perhaps changed some BIOS settings from the defaults?
Comment 6 ich 2019-01-03 18:03:51 UTC
I am not sure if I will be able to contribute more to this. My main GPD Pocket died (not as resilient to environment influences as it needs to be in my possession, apparently), and the other is in pieces of varying defectiveness.

Yes, I actually spent money for two of those and even tried to use it as main working device for some months. It mostly worked, but I did not try suspend to disk in a long time. I wish everyone luck in getting the Linux support completed.

Note You need to log in before you can comment on or make changes to this bug.