Alex Levin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
mb/google/volteer/variants/volteer: route GPP_F14 via APIC
GPP_F14 should be configured to be routed via APIC and not SCI.
BUG=b:162722965 TEST=verified on a volteer
Change-Id: Ie262ceeaea1c07bcc99e1545f5eb99e0d0dee905 Signed-off-by: Alex Levin levinale@google.com --- M src/mainboard/google/volteer/variants/volteer/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/44948/1
diff --git a/src/mainboard/google/volteer/variants/volteer/gpio.c b/src/mainboard/google/volteer/variants/volteer/gpio.c index fd355a8..2d0d5e0 100644 --- a/src/mainboard/google/volteer/variants/volteer/gpio.c +++ b/src/mainboard/google/volteer/variants/volteer/gpio.c @@ -125,7 +125,7 @@ /* F13 : GSXDOUT ==> WiFi_DISABLE_L */ PAD_CFG_GPO(GPP_F13, 1, DEEP), /* F14 : GSXDIN ==> SAR0_INT_L */ - PAD_CFG_GPI_SCI_LOW(GPP_F14, NONE, PLTRST, EDGE_SINGLE), + PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, INVERT), /* F15 : GSXSRESET# ==> RCAM_RST_L */ PAD_CFG_GPO(GPP_F15, 1, DEEP), /* F16 : GSXCLK ==> WWAN_DPR_SAR_ODL */
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/volteer/gpio.c:
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... PS1, Line 128: PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, INVERT), Why the inversion? What code is referencing this IRQ?
Alex Levin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/volteer/gpio.c:
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... PS1, Line 128: PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, INVERT),
Why the inversion? What code is referencing this IRQ?
sx9310 is referencing this. I thought that inversion would we the way to mark this as being active low. from your question I realize I might be wrong 😊
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/volteer/gpio.c:
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... PS1, Line 128: PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, INVERT),
sx9310 is referencing this. […]
If there apic redirection entry is active low there's no need to invert because the inversion for the event will be filtered in the apic. It really depends on that.
I see in src/drivers/i2c/sx9310/sx9310.c:
-------if (config->irq_gpio.pin_count) ------->-------acpi_device_write_gpio(&config->irq_gpio); -------else ------->-------acpi_device_write_interrupt(&config->irq);
and in the devictree files:
$ git grep -A 3 -i sx9310 -- src/mainboard/google/volteer/ | grep irq | awk '{ print $NF }' | uniq -c 8 "ACPI_IRQ_LEVEL_LOW(GPP_F14_IRQ)"
So you not invert this and pass it through as level in the pad config.
Alex Levin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/volteer/gpio.c:
https://review.coreboot.org/c/coreboot/+/44948/1/src/mainboard/google/voltee... PS1, Line 128: PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, INVERT),
If there apic redirection entry is active low there's no need to invert because the inversion for th […]
thanks for the explanation.
Hello build bot (Jenkins), Nick Vaccaro, Tim Wawrzynczak, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/44948
to look at the new patch set (#2).
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
mb/google/volteer/variants/volteer: route GPP_F14 via APIC
GPP_F14 should be configured to be routed via APIC and not SCI.
BUG=b:162722965 TEST=verified on a volteer
Change-Id: Ie262ceeaea1c07bcc99e1545f5eb99e0d0dee905 Signed-off-by: Alex Levin levinale@google.com --- M src/mainboard/google/volteer/variants/volteer/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/44948/2
Hello build bot (Jenkins), Nick Vaccaro, Tim Wawrzynczak, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/44948
to look at the new patch set (#3).
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
mb/google/volteer/variants/volteer: route GPP_F14 via APIC
GPP_F14 should be configured to be routed via APIC and not SCI.
BUG=b:162528549 TEST=verified on a volteer
Change-Id: Ie262ceeaea1c07bcc99e1545f5eb99e0d0dee905 Signed-off-by: Alex Levin levinale@google.com --- M src/mainboard/google/volteer/variants/volteer/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/44948/3
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 3:
Same patch pushed as original.
Hello build bot (Jenkins), Nick Vaccaro, Tim Wawrzynczak, Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/44948
to look at the new patch set (#4).
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
mb/google/volteer/variants/volteer: route GPP_F14 via APIC
GPP_F14 should be configured to be routed via APIC and not SCI.
BUG=b:162528549 TEST=verified on a volteer
Change-Id: Ie262ceeaea1c07bcc99e1545f5eb99e0d0dee905 Signed-off-by: Alex Levin levinale@google.com --- M src/mainboard/google/volteer/variants/volteer/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/44948/4
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 4: Code-Review+2
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 4: Code-Review+2
Tim Wawrzynczak has submitted this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
mb/google/volteer/variants/volteer: route GPP_F14 via APIC
GPP_F14 should be configured to be routed via APIC and not SCI.
BUG=b:162528549 TEST=verified on a volteer
Change-Id: Ie262ceeaea1c07bcc99e1545f5eb99e0d0dee905 Signed-off-by: Alex Levin levinale@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/44948 Reviewed-by: Aaron Durbin adurbin@chromium.org Reviewed-by: Tim Wawrzynczak twawrzynczak@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/volteer/variants/volteer/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/mainboard/google/volteer/variants/volteer/gpio.c b/src/mainboard/google/volteer/variants/volteer/gpio.c index fd355a8..bd84585 100644 --- a/src/mainboard/google/volteer/variants/volteer/gpio.c +++ b/src/mainboard/google/volteer/variants/volteer/gpio.c @@ -125,7 +125,7 @@ /* F13 : GSXDOUT ==> WiFi_DISABLE_L */ PAD_CFG_GPO(GPP_F13, 1, DEEP), /* F14 : GSXDIN ==> SAR0_INT_L */ - PAD_CFG_GPI_SCI_LOW(GPP_F14, NONE, PLTRST, EDGE_SINGLE), + PAD_CFG_GPI_APIC(GPP_F14, NONE, PLTRST, LEVEL, NONE), /* F15 : GSXSRESET# ==> RCAM_RST_L */ PAD_CFG_GPO(GPP_F15, 1, DEEP), /* F16 : GSXCLK ==> WWAN_DPR_SAR_ODL */
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44948 )
Change subject: mb/google/volteer/variants/volteer: route GPP_F14 via APIC ......................................................................
Patch Set 5:
Automatic boot test returned (PASS/FAIL/TOTAL): 7/1/8 "QEMU x86 q35/ich9" (x86_32) using payload TianoCore : SUCCESS : https://lava.9esec.io/r/17737 "QEMU x86 q35/ich9" (x86_32) using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/17736 "QEMU x86 i440fx/piix4" (x86_64) using payload SeaBIOS : FAIL : https://lava.9esec.io/r/17735 "QEMU x86 i440fx/piix4" (x86_32) using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/17734 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/17733 "HP Z220 SFF Workstation" (x86_32) using payload LinuxBoot_BusyBox_kexec : SUCCESS : https://lava.9esec.io/r/17740 "HP Compaq 8200 Elite SFF PC" (x86_32) using payload TianoCore : SUCCESS : https://lava.9esec.io/r/17739 "HP Compaq 8200 Elite SFF PC" (x86_32) using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/17738
Please note: This test is under development and might not be accurate at all!