[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

2020-11-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #13 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
And I cannot clear gpe07:

# echo clear > gpe07
bash: echo: write error: Invalid argument

[ 1870.556493] ACPI: Can not change Invalid GPE/Fixed Event status

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

2020-11-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #12 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Sorry, it was a copy error.

Here's the status when it's suspended again:
gpe07:   0 STS invalid  unmasked
gpe08:   0  EN enabled  unmasked
gpe09:   0  EN enabled  unmasked

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

2020-11-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

Zhang Rui (rui.zh...@intel.com) changed:

   What|Removed |Added

   Hardware|x86-64  |Intel
Summary|ACPI runtime GPE enabled|ACPI runtime GPE enabled
   |for D3cold only works once. |for D3cold only works once.
   |It stops working on second  |It stops working on second
   |time GPE is enabled.|time GPE is enabled - Dell
   ||Wyse 5070

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-11-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

Zhang Rui (rui.zh...@intel.com) changed:

   What|Removed |Added

 CC||rui.zh...@intel.com

--- Comment #11 from Zhang Rui (rui.zh...@intel.com) ---
So the problem is caused by disabled GPE 08 and 09?

does the problem still exist if you run "echo enable > gpe08" and "echo enable
> gpe09" to enable them manually?

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #10 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
(In reply to Heiner Kallweit from comment #9)
> Speaking for r8169 and RTL8168h:
> Chip initialization includes the following:
> RTL_W8(tp, MISC_1, RTL_R8(tp, MISC_1) & ~PFM_D3COLD_EN);
> Due to missing chip documentation I can't say what this actually does, but
> it wouldn't be a surprise if D3cold doesn't work properly.

I've seen r8169 works with D3cold without any issue.
So if we really need to disable D3cold, we should do it at pcieport driver.

> 
> How is it if add a call to pci_d3cold_disable() to rtl_init_one() in r8169?
> Is waking from D3hot working properly?

PCI PME on D3hot works properly.

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

Heiner Kallweit (hkallwe...@gmail.com) changed:

   What|Removed |Added

 CC||hkallwe...@gmail.com

--- Comment #9 from Heiner Kallweit (hkallwe...@gmail.com) ---
Speaking for r8169 and RTL8168h:
Chip initialization includes the following:
RTL_W8(tp, MISC_1, RTL_R8(tp, MISC_1) & ~PFM_D3COLD_EN);
Due to missing chip documentation I can't say what this actually does, but it
wouldn't be a surprise if D3cold doesn't work properly.

How is it if add a call to pci_d3cold_disable() to rtl_init_one() in r8169?
Is waking from D3hot working properly?

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #8 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293027
  --> https://bugzilla.kernel.org/attachment.cgi?id=293027&action=edit
acpidump

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #7 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293023
  --> https://bugzilla.kernel.org/attachment.cgi?id=293023&action=edit
lspci -vv

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #6 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293021
  --> https://bugzilla.kernel.org/attachment.cgi?id=293021&action=edit
lspci -tv

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #5 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293019
  --> https://bugzilla.kernel.org/attachment.cgi?id=293019&action=edit
dmesg

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #4 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293017
  --> https://bugzilla.kernel.org/attachment.cgi?id=293017&action=edit
ACPI GPEs when RJ45 is unplugged. It can no longer detects RJ45 cable plugging

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #3 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293015
  --> https://bugzilla.kernel.org/attachment.cgi?id=293015&action=edit
ACPI GPEs when RJ45 is plugged

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #2 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293013
  --> https://bugzilla.kernel.org/attachment.cgi?id=293013&action=edit
ACPI GPEs at boot, can detect RJ45 plugging

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 209711] ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled.

2020-10-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209711

--- Comment #1 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Blacklisting the ethernet driver (r8169) to make sure GPE 8 is not in use.
Resume the root port, we can still observe the GPE 7 status bit is flagged.

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

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla