I remember WOL PME wakeup function need configure 3-4 different areas,
1) SoC ACPI registers: Enable PCIE PME in PM and GPE registers.
2) PCIE Card ACPI register: Yeah, you need set some registers of the PCIE card to allow it waked by packages.
3) Report WOL PME single in ASL _GPE{} with _Lxx method
4) (Option) If WOL PME single connect a GPIO, you have to configure GPIO pin as well.
Please check your code and see if anything missed.
On Tue, Nov 25, 2014 at 2:27 PM, Gailu Singh gailu96@gmail.com wrote:
Hi Sean,
Thanks for your help and showing me the direction. You are right GPIO pins for PMC_WAKE_PCIE were set to GPIO_DEFAULT in src/mainboard/intel/bayleybay_fsp/gpio.c. I have changed that to GPIO_ACPI_WAKE now. This seems to be one step closer to the solution but looks like something still missing as wakeup from PCIE device is still not working with coreboot. Any other thing that I should look at?
Best Regards
Perhaps you do not have all your GPIO pins set properly.
On Mon, Nov 24, 2014 at 5:04 PM, Gailu Singh gailu96@gmail.com wrote:
Hi Experts,
I have PCIe card that supports wake on lan and it works fine with BIOS. On sending magic packet System wakes up from S3.
However If I use same Linux image with coreboot wake from PCI device does not wake the system. System wakes up from S3 using power button only.
I suspected the problem with dsdt and took dsdt binary from bios setup, disassembled it and replaced dsdt.asl in coreboot with the one from bios to match dsdt configuration. Now my dsdt and linux image are same but still system does not wake from PCI PME (WOL) in coreboot but works fine with bios.
In both cases wakeup is enabled in /sys/bus/pci/devices/0000:01:00.0/power/wakeup
Can you please advise what else could be the problem?
PME signal is connected to GPIOS5 on the SoC.
Best Regards
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot