>>> Only remaining option is to use coreboot's ssdt generator.
>>
>> Or test _STA method proper.
>
> _STA is against the ACPI spec in case of PCI device. i don't
> understand whats the point of pushing in that line ?

Because I couldn't find anything in ACPI spec telling that. Can
you point me to the specific paragraph, please?

I thought you read entire gerrit discussion's for this CL.

I have replied the same in Jan 10th that.

src/soc/intel/cannonlake/acpi/scs.asl
Line 30:
. For _HID devices, OSPM evaluates the _STA method. For _ADR devices, OSPM checks with the bus driver for that
device

https://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf
section 6.3.3

View Change

To view, visit change 30614. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I90c0230e845c8d02386b50b1100faf7064ecf8f6
Gerrit-Change-Number: 30614
Gerrit-PatchSet: 3
Gerrit-Owner: V Sowmya <v.sowmya@intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra@intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Balaji Manigandan <balaji.manigandan@intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi@intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik@intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya@intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-Comment-Date: Mon, 28 Jan 2019 11:05:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment