Bug 117671
Summary: | Module level code - ACPI problem on Dell XPS 8900 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Ehsan (dashesy) |
Component: | ACPICA-Core | Assignee: | Lv Zheng (lv.zheng) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | aaron.lu, kernel, pruzinat, rui.zhang |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.4.8-300.fc23.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
ACPI dump
New ACPI dump |
Description
Ehsan
2016-05-05 23:08:28 UTC
please attach the acpidump output. Assign to Lv per Lv's request. Created attachment 215641 [details]
ACPI dump
output of acpidump
Decoding the DSDT, I got: If (LEqual (PCHV (), SPTH)) { Scope (_SB.PCI0.XHC.RHUB) { Device (HS11) { Name (_ADR, 0x0B) // _ADR: Address } Device (HS12) { Name (_ADR, 0x0C) // _ADR: Address } Device (HS13) { Name (_ADR, 0x0D) // _ADR: Address } Device (HS14) { Name (_ADR, 0x0E) // _ADR: Address } Device (SS07) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x06)) } } Device (SS08) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x07)) } } Device (SS09) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x08)) } } Device (SS10) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x09)) } } } } Decoding the SSDT7, I got: Scope (\_SB.PCI0.XHC.RHUB.HS11) { Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities { Return (GUPC (One)) } Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { Return (GPLD (Zero, 0x0B)) } } The problem happens when the ACPICA interpreter is trying to load the SSDT. So this is the known module level code support issue. This module level support could be fixed by just moving module level execution to per-table basis, thus this should have already been fixed by an upstream module level support improvement. Could you try this tree: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/log/?h=linux-next # git clone git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git # git checkout linux-next And try again. It is fixed by this improvement: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=3d4b7ae9 Thanks and best regards -Lv I wonder if this is the same error I am seeing on my Dell XPS 13 9350 - Core i7 6500U: [ 0.000000] ACPI: RSDP 0x000000007941A000 000024 (v02 DELL ) [ 0.000000] ACPI: XSDT 0x000000007941A0B8 0000EC (v01 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: FACP 0x000000007943A840 00010C (v05 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: DSDT 0x000000007941A230 02060D (v02 DELL CBX3 01072009 INTL 20120913) [ 0.000000] ACPI: FACS 0x0000000079C00F80 000040 [ 0.000000] ACPI: APIC 0x000000007943A950 000084 (v03 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: FPDT 0x000000007943A9D8 000044 (v01 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: FIDT 0x000000007943AA20 00009C (v01 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: MCFG 0x000000007943AAC0 00003C (v01 DELL CBX3 01072009 MSFT 00000097) [ 0.000000] ACPI: HPET 0x000000007943AB00 000038 (v01 DELL CBX3 01072009 AMI. 0005000B) [ 0.000000] ACPI: SSDT 0x000000007943AB38 000495 (v01 IdeRef IdeTable 00001000 INTL 20120913) [ 0.000000] ACPI: LPIT 0x000000007943AFD0 000094 (v01 INTEL SKL-ULT 00000000 MSFT 0000005F) [ 0.000000] ACPI: SSDT 0x000000007943B068 000248 (v02 INTEL sensrhub 00000000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007943B2B0 002BAE (v02 INTEL PtidDevc 00001000 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000007943DE60 000BE3 (v02 INTEL Ther_Rvp 00001000 INTL 20120913) [ 0.000000] ACPI: DBGP 0x000000007943EA48 000034 (v01 INTEL 00000000 MSFT 0000005F) [ 0.000000] ACPI: DBG2 0x000000007943EA80 000054 (v00 INTEL 00000000 MSFT 0000005F) [ 0.000000] ACPI: SSDT 0x000000007943EAD8 000737 (v02 INTEL xh_rvp07 00000000 INTL 20120913) [ 0.000000] ACPI: BOOT 0x000000007943F210 000028 (v01 DELL CBX3 01072009 AMI 00010013) [ 0.000000] ACPI: SSDT 0x000000007943F238 0035AE (v02 SaSsdt SaSsdt 00003000 INTL 20120913) [ 0.000000] ACPI: UEFI 0x00000000794427E8 000042 (v01 00000000 00000000) [ 0.000000] ACPI: SSDT 0x0000000079442830 000E73 (v02 CpuRef CpuSsdt 00003000 INTL 20120913) [ 0.000000] ACPI: MSDM 0x00000000794436A8 000055 (v03 DELL CBX3 06222004 AMI 00010013) [ 0.000000] ACPI: SSDT 0x0000000079443700 003AE3 (v02 DptfTa DptfTabl 00001000 INTL 20120913) [ 0.000000] ACPI: SLIC 0x00000000794471E8 000176 (v03 DELL CBX3 01072009 MSFT 00010013) [ 0.000000] ACPI: TCPA 0x0000000079447360 000032 (v02 ALASKA NAPAASF 00000001 MSFT 01000013) [ 0.000000] ACPI: BGRT 0x0000000079447398 000038 (v00 ?\xffffffcdq{ 01072009 AMI 00010013) [ 0.000000] ACPI: DMAR 0x00000000794473D0 0000F0 (v01 INTEL SKL 00000001 INTL 00000001) [ 0.000000] ACPI: ASF! 0x00000000794474C0 0000A5 (v32 INTEL HCG 00000001 TFSM 000F4240) [ 0.023037] ACPI Error: [\_SB_.PCI0.SAT1] Namespace lookup failure, AE_NOT_FOUND (20160108/dswload-210) [ 0.023044] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160108/psobject-227) [ 0.023106] ACPI Exception: AE_NOT_FOUND, (SSDT:IdeTable) while loading table (20160108/tbxfload-227) [ 0.035058] ACPI Error: 1 table load failures, 8 successful (20160108/tbxfload-247) [ 0.400744] ACPI: Executed 24 blocks of module-level executable AML code [ 0.417903] ACPI: Dynamic OEM Table Load: [ 0.417915] ACPI: SSDT 0xFFFF88046BCDB000 000660 (v02 PmRef Cpu0Ist 00003000 INTL 20120913) [ 0.419872] ACPI: Dynamic OEM Table Load: [ 0.419877] ACPI: SSDT 0xFFFF88046BF38C00 00037F (v02 PmRef Cpu0Cst 00003001 INTL 20120913) [ 0.421307] ACPI: Dynamic OEM Table Load: [ 0.421313] ACPI: SSDT 0xFFFF88046BCDB800 0005AA (v02 PmRef ApIst 00003000 INTL 20120913) [ 0.422377] ACPI: Dynamic OEM Table Load: [ 0.422381] ACPI: SSDT 0xFFFF88046BF1DE00 000119 (v02 PmRef ApCst 00003000 INTL 20120913) [ 0.477863] ACPI: Enabled 6 GPEs in block 00 to 7F [ 15.166752] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.CHRG] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.166758] ACPI Error: Method parse/execution failed [\PNOT] (Node ffff88046e0cb4b0), AE_NOT_FOUND (20160108/psparse-542) [ 15.166764] ACPI Error: Method parse/execution failed [\_SB.AC._PSR] (Node ffff88046e0de2a8), AE_NOT_FOUND (20160108/psparse-542) [ 15.166771] ACPI Exception: AE_NOT_FOUND, Error reading AC Adapter state (20160108/ac-128) [ 15.173337] ACPI Warning: \_SB.IETM._ART: Return Package type mismatch at index 0 - found Integer, expected Reference (20160108/nspredef-297) [ 15.173345] ACPI: Invalid package element [0]: got number, expecting [R] [ 15.212671] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.212678] ACPI Error: Method parse/execution failed [\_TZ.TZ00._TMP] (Node ffff88046e111230), AE_NOT_FOUND (20160108/psparse-542) [ 15.215049] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.215053] ACPI Error: Method parse/execution failed [\_TZ.TZ00._TMP] (Node ffff88046e111230), AE_NOT_FOUND (20160108/psparse-542) [ 15.216849] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.216852] ACPI Error: Method parse/execution failed [\_TZ.TZ01._TMP] (Node ffff88046e1112f8), AE_NOT_FOUND (20160108/psparse-542) [ 15.218467] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.218471] ACPI Error: Method parse/execution failed [\_TZ.TZ01._TMP] (Node ffff88046e1112f8), AE_NOT_FOUND (20160108/psparse-542) [ 15.224996] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.225003] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.225011] ACPI Error: Method parse/execution failed [\_TZ.FN00._ON] (Node ffff88046e0e09d8), AE_NOT_FOUND (20160108/psparse-542) [ 15.225019] acpi PNP0C0B:00: Failed to change power state to D0 [ 15.231671] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.231676] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.231682] ACPI Error: Method parse/execution failed [\_TZ.FN00._ON] (Node ffff88046e0e09d8), AE_NOT_FOUND (20160108/psparse-542) [ 15.248324] acpi PNP0C0B:00: Cannot transition from (unknown) to D3hot [ 15.255016] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.255020] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.255027] ACPI Error: Method parse/execution failed [\_TZ.FN01._ON] (Node ffff88046e0e0b18), AE_NOT_FOUND (20160108/psparse-542) [ 15.255033] acpi PNP0C0B:01: Failed to change power state to D0 [ 15.265021] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.265026] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.265034] ACPI Error: Method parse/execution failed [\_TZ.FN01._ON] (Node ffff88046e0e0b18), AE_NOT_FOUND (20160108/psparse-542) [ 15.291599] acpi PNP0C0B:01: Cannot transition from (unknown) to D3hot [ 15.298287] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.298292] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.298298] ACPI Error: Method parse/execution failed [\_TZ.FN02._ON] (Node ffff88046e0e0c58), AE_NOT_FOUND (20160108/psparse-542) [ 15.298303] acpi PNP0C0B:02: Failed to change power state to D0 [ 15.304951] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.304955] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.304959] ACPI Error: Method parse/execution failed [\_TZ.FN02._ON] (Node ffff88046e0e0c58), AE_NOT_FOUND (20160108/psparse-542) [ 15.322331] ACPI Warning: SystemIO range 0x000000000000F040-0x000000000000F05F conflicts with OpRegion 0x000000000000F040-0x000000000000F04F (\_SB.PCI0.SBUS.SMBI) (20160108/utaddress-255) [ 15.325188] acpi PNP0C0B:02: Cannot transition from (unknown) to D3hot [ 15.331695] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.331701] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.331710] ACPI Error: Method parse/execution failed [\_TZ.FN03._ON] (Node ffff88046e0e0d98), AE_NOT_FOUND (20160108/psparse-542) [ 15.331719] acpi PNP0C0B:03: Failed to change power state to D0 [ 15.338361] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.338368] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.338376] ACPI Error: Method parse/execution failed [\_TZ.FN03._ON] (Node ffff88046e0e0d98), AE_NOT_FOUND (20160108/psparse-542) [ 15.354927] acpi PNP0C0B:03: Cannot transition from (unknown) to D3hot [ 15.361730] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.361739] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.361760] ACPI Error: Method parse/execution failed [\_TZ.FN04._ON] (Node ffff88046e0e0ed8), AE_NOT_FOUND (20160108/psparse-542) [ 15.361769] acpi PNP0C0B:04: Failed to change power state to D0 [ 15.369500] ACPI Error: [\_SB_.PCI0.LPCB.H_EC.ECAV] Namespace lookup failure, AE_NOT_FOUND (20160108/psargs-359) [ 15.369507] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff88046e0e0fc8), AE_NOT_FOUND (20160108/psparse-542) [ 15.369515] ACPI Error: Method parse/execution failed [\_TZ.FN04._ON] (Node ffff88046e0e0ed8), AE_NOT_FOUND (20160108/psparse-542) [ 15.405402] acpi PNP0C0B:04: Cannot transition from (unknown) to D3hot Ok I ran from 30547a50d21433fcc680edaf5a492f17533618ee. I no longer see ACPI errors However, now I have to use nomodeset to be able to boot otherwise the monitor turns off. Even if I select other kernels, or even use a LiveCD now I need nomodeset! How is that possible? First time after booting the new kernel, I think I saw something about firmware being updated! I updated my BIOS again to see if that could help, but it did not solve the problem with the need to use `nomodeset` now. It is NVIDIA graphics, but it worked on previous kernels, now even those kernels I need the kernel switch which uses software rendering. Attached is the new acpi dump. Created attachment 215941 [details]
New ACPI dump
New ACPI dump after booting new kernel (but with nomodeset)
There is just one warning: [ 11.154852] ACPI Warning: SystemIO range 0x000000000000F000-0x000000000000F01F conflicts with OpRegion 0x000000000000F000-0x000000000000F00F (\_SB.PCI0.SBUS.SMBI) (20160422/utaddress-255) [ 11.155698] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 11.338040] mei_me 0000:00:16.0: enabling device (0000 -> 0002) [ 11.534111] tpm_crb MSFT0101:00: can't request region for resource [mem 0xfed40040-0xfed4103f] [ 11.536021] tpm_crb: probe of MSFT0101:00 failed with error -16 (In reply to kgizdov from comment #5) > I wonder if this is the same error I am seeing on my Dell XPS 13 9350 - Core > i7 6500U: > Looks like the same issue. You can also try this tree: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/log/?h=linux-next # git clone git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git # git checkout linux-next Thanks -Lv (In reply to Ehsan from comment #8) > There is just one warning: > > [ 11.154852] ACPI Warning: SystemIO range > 0x000000000000F000-0x000000000000F01F conflicts with OpRegion > 0x000000000000F000-0x000000000000F00F (\_SB.PCI0.SBUS.SMBI) > (20160422/utaddress-255) > [ 11.155698] ACPI: If an ACPI driver is available for this device, you > should use it instead of the native driver > [ 11.338040] mei_me 0000:00:16.0: enabling device (0000 -> 0002) > [ 11.534111] tpm_crb MSFT0101:00: can't request region for resource [mem > 0xfed40040-0xfed4103f] > [ 11.536021] tpm_crb: probe of MSFT0101:00 failed with error -16 This is a different issue. You can file a different bug entry tracking this if you want. Thanks -Lv (In reply to Ehsan from comment #6) > Ok I ran from 30547a50d21433fcc680edaf5a492f17533618ee. > I no longer see ACPI errors > > However, now I have to use nomodeset to be able to boot otherwise the > monitor turns off. Even if I select other kernels, or even use a LiveCD now > I need nomodeset! How is that possible? > First time after booting the new kernel, I think I saw something about > firmware being updated! I updated my BIOS again to see if that could help, > but it did not solve the problem with the need to use `nomodeset` now. It is > NVIDIA graphics, but it worked on previous kernels, now even those kernels I > need the kernel switch which uses software rendering. > > Attached is the new acpi dump. I compared the 2 tables, and did saw changes in BGRT. Looks like this is related to the new issue. Thanks -Lv Ping Ehsan: The problem you reported seems to be an un-root-caused regression (it need to be in upstream if it is a regression) while the bug of the errors should have been fixed. Now the fix is already in the upstream via ACPICA release. Could you try the recent linus tree to see if the issue persists: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git If it is there, please upload the boot log here for tracking. You could also file another regression report for the new issue. Thanks and best regards -Lv Let me close because of no response. You can re-open it when you encounter new issues. Thanks -Lv Sorry for late reply! Yes it is fixed on the latest kernel,thanks! Had the same issue on my Z170 board, got fixed after manually applying the patch (which still isn't in Linuses tree). Did this merely got lost from pipeline or have some regressions appeared? https://github.com/torvalds/linux/blob/eceeae414edccb07fad683011c0c65abe8a3a554/include/acpi/acpixf.h#L195 |