Attention is currently required from: Martin L Roth, Subrata Banik, Rizwan Qureshi, Krishna P Bhat D.
Ronak Kanabar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70227 )
Change subject: src/ec/intel: Create common code for board_id implementation
......................................................................
Patch Set 3: -Code-Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/70227
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If133f6a72b8c3e1d8811a11f91e4556beb8c16e0
Gerrit-Change-Number: 70227
Gerrit-PatchSet: 3
Gerrit-Owner: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-CC: Usha P <usha.p(a)intel.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 11:24:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Eran Mitrani, Subrata Banik, Reka Norman, Nick Vaccaro.
Hello Tarun Tuli, Eran Mitrani, Subrata Banik, Reka Norman, Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/70262
to look at the new patch set (#4).
Change subject: drivers/wifi/generic: Fix properties in generic-under-PCI device case
......................................................................
drivers/wifi/generic: Fix properties in generic-under-PCI device case
In the devicetree case where a generic device underneath the Intel PCI
CNVi device carries the device properties, the incorrect device was
passed to wifi_ssdt_write_properties.
In the below case, cnvi_wifi's child (i.e. generic 0) device contains
correct chip configuration to generate the SSDT. Earlier, We were
populating garbage data to the SSDT by using cnvi_wifi instead.
Devicetree entry:
chip soc/intel/alderlake
# more entries
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
# many more entries
end
SSDT when generic-under-PCI (before this fix): _PRW is incorrect and
_DSD is missing.
Scope (\_SB.PCI0.WFA3)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
Zero,
0x03
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
SSDT when generic-under-PCI (after this fix): _PRW and _DSD are
correctly populated.
Scope (\_SB.PCI0.WFA3)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
SSDT when CNVi (unaffected by this fix):
Scope (\_SB.PCI0.CNVW)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
BUG=b:259716145
TEST=Dump SSDT and see that _PRW and _DSD for CNVi device contains
the value from the devicetree on google/kuldax.
Signed-off-by: Kapil Porwal <kapilporwal(a)google.com>
Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
---
M src/drivers/wifi/generic/acpi.c
1 file changed, 125 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/70262/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/70262
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
Gerrit-Change-Number: 70262
Gerrit-PatchSet: 4
Gerrit-Owner: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Stefan Ott, Angel Pons, Alexander Couzens.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69297 )
Change subject: cpu/intel/speedstep: Have nb and sb code provide c5/c6/slfm
......................................................................
Patch Set 18:
(3 comments)
File src/mainboard/lenovo/t400/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/69297/comment/98608b16_64f02d0e
PS18, Line 23: # Enable C5, C6
: register "c5" = "1"
: register "c6" = "1"
> Where did this go?
It's moved into the soutbridge option. If the soutbridge does not support it there is no point in enabling that on the CPU side. So now there is only one option for this.
File src/mainboard/lenovo/x200/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/69297/comment/bf5c4f04_2976a328
PS18, Line 23: # Enable C5, C6
: register "c5" = "1"
: register "c6" = "1"
> Where did this go?
Done
File src/mainboard/roda/rk9/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/69297/comment/76e8326f_4bb75d22
PS18, Line 16: # Enable C5, C6
: register "c5" = "1"
: register "c6" = "1"
> Where did this go?
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/69297
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a9b1e684a7927259adae9b1d42a67e907722109
Gerrit-Change-Number: 69297
Gerrit-PatchSet: 18
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Stefan Ott <coreboot(a)desire.ch>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Ott <coreboot(a)desire.ch>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 02 Dec 2022 11:15:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Eran Mitrani, Subrata Banik, Reka Norman, Nick Vaccaro.
Kapil Porwal has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70262 )
Change subject: drivers/wifi/generic: Fix properties in generic-under-PCI device case
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS2:
> You need to rewrite the commit msg and give example of a case where generic device is under pci and […]
Ack
--
To view, visit https://review.coreboot.org/c/coreboot/+/70262
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
Gerrit-Change-Number: 70262
Gerrit-PatchSet: 3
Gerrit-Owner: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 11:13:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Eran Mitrani, Reka Norman, Nick Vaccaro.
Hello Tarun Tuli, Eran Mitrani, Subrata Banik, Reka Norman, Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/70262
to look at the new patch set (#3).
Change subject: drivers/wifi/generic: Fix properties in generic-under-PCI device case
......................................................................
drivers/wifi/generic: Fix properties in generic-under-PCI device case
In the devicetree case where a generic device underneath the Intel PCI
CNVi device carries the device properties, the incorrect device was
passed to wifi_ssdt_write_properties.
In the below case, cnvi_wifi's child (i.e. generic 0) device contains
correct chip configuration to generate the SSDT. Earlier, We were populating garbage data to the SSDT by using cnvi_wifi instead.
Devicetree entry:
chip soc/intel/alderlake
# more entries
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
# many more entries
end
SSDT when generic-under-PCI (before this fix): _PRW is incorrect and
_DSD is missing.
Scope (\_SB.PCI0.WFA3)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
Zero,
0x03
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
SSDT when generic-under-PCI (after this fix): _PRW and _DSD are correctly
populated.
Scope (\_SB.PCI0.WFA3)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
SSDT when CNVi (unaffected by this fix):
Scope (\_SB.PCI0.CNVW)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
BUG=b:259716145
TEST=Dump SSDT and see that _PRW and _DSD for CNVi device contains
the value from the devicetree on google/kuldax.
Signed-off-by: Kapil Porwal <kapilporwal(a)google.com>
Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
---
M src/drivers/wifi/generic/acpi.c
1 file changed, 124 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/70262/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/70262
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
Gerrit-Change-Number: 70262
Gerrit-PatchSet: 3
Gerrit-Owner: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Martin L Roth, Subrata Banik, Rizwan Qureshi, Krishna P Bhat D.
Harsha B R has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70227 )
Change subject: src/ec/intel: Create common code for board_id implementation
......................................................................
Patch Set 3:
(1 comment)
File src/mainboard/intel/mtlrvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/70227/comment/1c6cdda4_af83afe5
PS3, Line 12:
: config BOARD_SPECIFIC_OPTIONS
: def_bool y
: select EC_ACPI
> Yes this change was part of CL: 66101 where we have the option/choice to select CHROME_EC/WINDOWS_EC […]
Correction -> CB:66101
--
To view, visit https://review.coreboot.org/c/coreboot/+/70227
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If133f6a72b8c3e1d8811a11f91e4556beb8c16e0
Gerrit-Change-Number: 70227
Gerrit-PatchSet: 3
Gerrit-Owner: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-CC: Usha P <usha.p(a)intel.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 11:08:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Comment-In-Reply-To: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Martin L Roth, Subrata Banik, Rizwan Qureshi, Krishna P Bhat D.
Harsha B R has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70227 )
Change subject: src/ec/intel: Create common code for board_id implementation
......................................................................
Patch Set 3:
(2 comments)
File src/ec/intel/board_id.c:
https://review.coreboot.org/c/coreboot/+/70227/comment/ddecbccc_c115c078
PS3, Line 9: BOARD_ID_INIT
> i hope u plan to expand this func?
Yes, I'll be expand this as part of CB:66102
File src/mainboard/intel/mtlrvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/70227/comment/5bed00b6_286002a8
PS3, Line 12:
: config BOARD_SPECIFIC_OPTIONS
: def_bool y
: select EC_ACPI
> please submit the separate CL for this. […]
Yes this change was part of CL: 66101 where we have the option/choice to select CHROME_EC/WINDOWS_EC. Since the option of EC_ACPI was used as part of Makefile, I thought of keeping it here and modifying it later as part of CL:66101.
Do you want me to remove this now?
--
To view, visit https://review.coreboot.org/c/coreboot/+/70227
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If133f6a72b8c3e1d8811a11f91e4556beb8c16e0
Gerrit-Change-Number: 70227
Gerrit-PatchSet: 3
Gerrit-Owner: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-CC: Usha P <usha.p(a)intel.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 11:06:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Martin L Roth, Harsha B R, Rizwan Qureshi, Krishna P Bhat D.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70227 )
Change subject: src/ec/intel: Create common code for board_id implementation
......................................................................
Patch Set 3:
(2 comments)
File src/ec/intel/board_id.c:
https://review.coreboot.org/c/coreboot/+/70227/comment/cc4f01aa_ed4a6e0e
PS3, Line 9: BOARD_ID_INIT
i hope u plan to expand this func?
File src/mainboard/intel/mtlrvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/70227/comment/12a69551_f35c08dc
PS3, Line 12:
: config BOARD_SPECIFIC_OPTIONS
: def_bool y
: select EC_ACPI
please submit the separate CL for this.
Also, I hope EC_ACPI kconfig should be selected based on RVP + windows EC config?
--
To view, visit https://review.coreboot.org/c/coreboot/+/70227
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If133f6a72b8c3e1d8811a11f91e4556beb8c16e0
Gerrit-Change-Number: 70227
Gerrit-PatchSet: 3
Gerrit-Owner: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-CC: Usha P <usha.p(a)intel.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Harsha B R <harsha.b.r(a)intel.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 10:54:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Eran Mitrani, Kapil Porwal, Nick Vaccaro.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70262 )
Change subject: drivers/wifi/generic: Fix properties in generic-under-PCI device case
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
Patchset:
PS2:
You need to rewrite the commit msg and give example of a case where generic device is under pci and how it eventually results into a wrong/junk information in SSDT.
A snippet of SSDT w/ and w/o your CL is way to tell what u have actually fixed.
--
To view, visit https://review.coreboot.org/c/coreboot/+/70262
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
Gerrit-Change-Number: 70262
Gerrit-PatchSet: 2
Gerrit-Owner: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Comment-Date: Fri, 02 Dec 2022 10:49:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Eran Mitrani, Subrata Banik, Nick Vaccaro.
Hello Tarun Tuli, Eran Mitrani, Subrata Banik, Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/70262
to look at the new patch set (#2).
Change subject: drivers/wifi/generic: Fix properties in generic-under-PCI device case
......................................................................
drivers/wifi/generic: Fix properties in generic-under-PCI device case
In the devicetree case where a generic device underneath the Intel PCI
CNVi device carries the device properties, the incorrect device was
passed to wifi_ssdt_write_properties.
BUG=b:259716145
TEST=Dump SSDT and see that _PRW and _DSD for CNVi device contains
the value from the devicetree on google/kuldax.
Devicetree entry:
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
SSDT when generic-under-PCI:
Scope (\_SB.PCI0.WFA3)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
SSDT when CNVi:
Scope (\_SB.PCI0.CNVW)
{
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x6D,
0x03
})
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data
{
ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"),
Package (0x01)
{
Package (0x02)
{
"DmaProperty",
One
}
}
})
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
ToBuffer (Arg0, Local0)
Return (Buffer (One)
{
0x00 // .
})
}
}
Signed-off-by: Kapil Porwal <kapilporwal(a)google.com>
Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
---
M src/drivers/wifi/generic/acpi.c
1 file changed, 93 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/70262/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/70262
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f7d0b826ce067b40fa89d74f421d7018ecc3fbb
Gerrit-Change-Number: 70262
Gerrit-PatchSet: 2
Gerrit-Owner: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: newpatchset