dhaval v sharma has uploaded this change for review. ( https://review.coreboot.org/28721
Change subject: ec/google/chromeec: set SCI event mask early on s0
......................................................................
ec/google/chromeec: set SCI event mask early on s0
Change helps in avoiding an ACPI switch SMI later
Change-Id: Ib4d2b3e12d1d63dba29c5365c5a2fbf7b221226b
Signed-off-by: Dhaval <dhaval.v.sharma(a)intel.com>
---
M src/ec/google/chromeec/ec.c
1 file changed, 7 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/28721/1
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index 90fcc3d..17ee13a 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -474,9 +474,6 @@
while (google_chromeec_get_event() != 0)
;
- /* Restore SCI event mask. */
- google_chromeec_set_sci_mask(info->sci_events);
-
} else {
google_chromeec_set_smi_mask(info->smi_events);
@@ -489,6 +486,13 @@
info->s3_wake_events,
info->s0ix_wake_events);
}
+ /* Should be okay to set sci mask for s0 path also because
+ * anyways SCI interrupt gets enabled later during PMC init
+ * stage this way we can avoid additional ACPI switch SMI
+ * later */
+
+ google_chromeec_set_sci_mask(info->sci_events);
+
/* Clear wake event mask. */
google_chromeec_set_wake_mask(0);
--
To view, visit https://review.coreboot.org/28721
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4d2b3e12d1d63dba29c5365c5a2fbf7b221226b
Gerrit-Change-Number: 28721
Gerrit-PatchSet: 1
Gerrit-Owner: dhaval v sharma <dhaval.v.sharma(a)intel.com>
Piotr Król has posted comments on this change. ( https://review.coreboot.org/28719 )
Change subject: sb/amd/pi/hudson: Add SPI controller support
......................................................................
Patch Set 2:
And please add more reciewers.
--
To view, visit https://review.coreboot.org/28719
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icc6feb433a19337e09fc394cbf30288f53b195dd
Gerrit-Change-Number: 28719
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Comment-Date: Mon, 24 Sep 2018 09:51:05 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Piotr Król has posted comments on this change. ( https://review.coreboot.org/28719 )
Change subject: sb/amd/pi/hudson: Add SPI controller support
......................................................................
Patch Set 2:
Michał, maybe we should add little bit more extensive description of this patch. Why we need this, what was implemented, where this code came from etc.
--
To view, visit https://review.coreboot.org/28719
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icc6feb433a19337e09fc394cbf30288f53b195dd
Gerrit-Change-Number: 28719
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Comment-Date: Mon, 24 Sep 2018 09:50:42 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28719
to look at the new patch set (#2).
Change subject: sb/amd/pi/hudson: Add SPI controller support
......................................................................
sb/amd/pi/hudson: Add SPI controller support
Change-Id: Icc6feb433a19337e09fc394cbf30288f53b195dd
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
M src/southbridge/amd/pi/hudson/Makefile.inc
A src/southbridge/amd/pi/hudson/spi.c
2 files changed, 174 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/28719/2
--
To view, visit https://review.coreboot.org/28719
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icc6feb433a19337e09fc394cbf30288f53b195dd
Gerrit-Change-Number: 28719
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>