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

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

Kai-Heng Feng (kai.heng.f...@canonical.com) changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WILL_NOT_FIX

--- Comment #23 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Looks like vendor will fixed it in BIOS, by changing _S0W from 4 to 3.

-- 
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] Ethernet: r8169: ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

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

--- Comment #22 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Turns out the first wake is from native PME. ACPI GPE never works.
I'll ask if ODM is willing to fix is in DSDT/SSDT. Otherwise I'll write a quirk
instead.

-- 
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] Ethernet: r8169: ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

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

--- Comment #21 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Zhang Rui,
Do you think it's a firmware/hardware bug? If so I'll write a quirk to disable
D3cold for the root port.

-- 
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] Ethernet: r8169: ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

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

--- Comment #20 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Yes. Both gpe08 and gpe09 don't work even with gpe07 gets cleared prior.

-- 
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] Ethernet: r8169: ACPI runtime GPE enabled for D3cold only works once. It stops working on second time GPE is enabled - Dell Wyse 5070

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

--- Comment #19 from Zhang Rui (rui.zh...@intel.com) ---
does the problem still exist when GPE07 cleared 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] Ethernet: r8169: 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 #18 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Using this diff to do some test:
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index a5cc4f3bb..492259f2a 100644
--- a/drivers/acpi/sysfs.c
+++ b/drivers/acpi/sysfs.c
@@ -755,11 +755,13 @@ static ssize_t counter_set(struct kobject *kobj,
if (result)
goto end;

+   /*
if (!(status & ACPI_EVENT_FLAG_HAS_HANDLER)) {
printk(KERN_WARNING PREFIX
   "Can not change Invalid GPE/Fixed Event status\n");
return -EINVAL;
}
+   */

if (index < num_gpes) {
if (!strcmp(buf, "disable\n") &&

When the issue happened:
gpe07:   0 STS invalid  unmasked
gpe08:   0 enabled  unmasked
gpe09:   0 enabled  unmasked

Clear gpe07:
# echo clear > gpe07
gpe07:   0 invalid  unmasked
gpe08:   0  EN enabled  unmasked
gpe09:   0  EN enabled  unmasked

Plug RJ45:
gpe07:   0 STS invalid  unmasked
gpe08:   0  EN enabled  unmasked
gpe09:   0  EN enabled  unmasked

Feels like the GPE shifted to GPE07?

-- 
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] Ethernet: r8169: 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 #17 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293429
  --> https://bugzilla.kernel.org/attachment.cgi?id=293429=edit
firmware_nodes

-- 
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] Ethernet: r8169: 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 #16 from Kai-Heng Feng (kai.heng.f...@canonical.com) ---
Created attachment 293427
  --> https://bugzilla.kernel.org/attachment.cgi?id=293427=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] Ethernet: r8169: 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 #15 from Zhang Rui (rui.zh...@intel.com) ---
can you attach the output of lspci -v as well as "grep .
/sys/bus/pci/devices/*/firmware_node/path"?

-- 
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] Ethernet: r8169: 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

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

   What|Removed |Added

Summary|ACPI runtime GPE enabled|Ethernet: r8169: ACPI
   |for D3cold only works once. |runtime GPE enabled for
   |It stops working on second  |D3cold only works once. It
   |time GPE is enabled - Dell  |stops working on second
   |Wyse 5070   |time GPE is enabled - Dell
   ||Wyse 5070

--- Comment #14 from Zhang Rui (rui.zh...@intel.com) ---
(In reply to Kai-Heng Feng from comment #12)
> 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

So, it works as following?

The ethernet controller is using GPE 8, and the root port is using GPE 9.
Here's the GPE status after boot:
gpe07:   0 invalid  unmasked
gpe08:   0  EN enabled  unmasked
gpe09:   0  EN enabled  unmasked

Here's the GPE status after RJ45 cable is plugged to ethernet port, or we
manually resume the device using `lspci`:
gpe07:   0 STS invalid  unmasked
gpe08:   0 disabled unmasked
gpe09:   0 disabled unmasked

And after RJ45 cable is unplugged, device and root are suspended again:
gpe07:   0 STS invalid  unmasked
gpe08:   0 enabled  unmasked
gpe09:   0 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