Created attachment 249671 [details] DSDT When doing: # echo freeze > /sys/power/state on my Asus T100HAN - Chery trail based computer, I get the following error upon suspend: -- ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20160930/evregion-300) [ 1016.840647] ACPI Error: Method parse/execution failed [\_SB.P33X._STA] (Node ffff88017b0c1c58), AE_BAD_PARAMETER (20160930/psparse-543) --
Created attachment 249681 [details] kernel config
Created attachment 249691 [details] dmesg of suspend/resume
You need to upload acpidump output for filing an acpi bug.
Created attachment 249811 [details] acpidump sorry for missing it, got interrupted while filing the bug.
Method (_STA, 0, NotSerialized) // _STA: Status { If (^^PCI0.I2C7.PMIC.AVBG == One) { ^^PCI0.I2C7.PMIC.G33X = Zero If (^^PCI0.I2C7.PMIC.AVBL == One) { Return (^^PCI0.I2C7.PMIC.V33X) /* \_SB_.PCI0.I2C7.PMIC.V33X */ } } Return (Zero) } Among AVBG, G33X, AVBL, V33X, V33X is defined as such an operation region field: OperationRegion (PMOP, 0x8D, Zero, 0x0100) Field (PMOP, DWordAcc, NoLock, Preserve) { ... V33X, 32 } 0x8D is not a standard operation region ID. A platform specific operation region driver will be required for it. It's beyond our support scope, let me re-assign to platform specific category. Thanks Lv
Quite a lot such kind of opregion: The followings are covered by drivers/acpi/pmic/intel-pmic.c: Line 17146: OperationRegion (PMOP, 0x8D, Zero, 0x0100) Line 17171: OperationRegion (DPTF, 0x8C, Zero, 0x0100) Line 17617: OperationRegion (PMOP, 0x8D, Zero, 0x0100) Line 17635: OperationRegion (DPTF, 0x8C, Zero, 0x0100) Line 18094: OperationRegion (DPTF, 0x8C, Zero, 0x0100) Line 18123: OperationRegion (PMOP, 0x8D, Zero, 0x0100) Line 18656: OperationRegion (REGS, 0x8F, Zero, 0x50) Line 19056: OperationRegion (DPTF, 0x8C, Zero, 0x0100) Line 19085: OperationRegion (PMOP, 0x8D, Zero, 0x0100) So you need to configure CONFIG_PMIC_OPREGON and related hardware drivers for them. Couldn't find a driver in the current kernel: Line 20613: OperationRegion (REGS, 0x87, Zero, 0x30) Line 16378: OperationRegion (GMMR, 0x91, Zero, 0x8000) Line 16543: OperationRegion (GMMR, 0x92, Zero, 0x8000) Line 16657: OperationRegion (GMMR, 0x94, Zero, 0x8000) Looks like feature gaps. Thanks and best regards Lv
Thanks Lv. Is there a connection between the missing support for PMIC Dollar Cove TI (INT33F5) (Device PMI2 in attached the DSDT) and your findings? Or is it something else?
I don't have knowledge related to that. It's quite platform specific. I think you should ask: Bin Gao <bin.gao@intel.com> It seems he is from an Intel team responsible for upstream platform specific PMIC opregion support.
I was to CC Bin, then I noticed good Hans should have fixed this between c06632ea054c49510efacb42c52aab693c45b7ba and 72ebe5a0b3505019d4e7592c0dd9281e0b9e44c7