Vaibhav Shankar (vaibhav.shankar(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18267
-gerrit
commit 9086b8d1dd67f604153cfcaed8b91da2e2a2bbb9
Author: Vaibhav Shankar <vaibhav.shankar(a)intel.com>
Date: Mon Jan 30 12:18:42 2017 -0800
mainboard/google/reef: Set edge triggered interrupt for GPIO_22
GPIO_22 currently configured as level triggered interrupt. This
is casuing an interrupt storm during lid open from S0ix. This
needs to be configured as EDGE_SINGLE. So this stops interttupt
storm.
BUG=chrome-os-partner:62458
TEST=Lid close/open. check CPU usage using top. It should
not show 70% CPU usage.
Signed-off-by: Vaibhav Shankar <vaibhav.shankar(a)intel.com>
Change-Id: I710a690578c6e5b63be34b7fbcb21c703ef56e3a
---
src/mainboard/google/reef/variants/baseboard/gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/google/reef/variants/baseboard/gpio.c b/src/mainboard/google/reef/variants/baseboard/gpio.c
index 3bb9a5f..a9a6248 100644
--- a/src/mainboard/google/reef/variants/baseboard/gpio.c
+++ b/src/mainboard/google/reef/variants/baseboard/gpio.c
@@ -299,7 +299,7 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI(GPIO_19, UP_20K, DEEP), /* unused */
PAD_CFG_GPI_APIC_LOW(GPIO_20, UP_20K, DEEP), /* NFC IRQ */
PAD_CFG_GPI_APIC_LOW(GPIO_21, NONE, DEEP), /* Touch IRQ */
- PAD_CFG_GPI_SCI_LOW(GPIO_22, NONE, DEEP, LEVEL), /* EC wake */
+ PAD_CFG_GPI_SCI_LOW(GPIO_22, NONE, DEEP, EDGE_SINGLE), /* EC wake */
PAD_CFG_GPI(GPIO_23, UP_20K, DEEP), /* unused */
PAD_CFG_GPI(GPIO_24, NONE, DEEP), /* PEN_PDCT_ODL */
PAD_CFG_GPI(GPIO_25, UP_20K, DEEP), /* unused */
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18262
-gerrit
commit 17417249d536a8f313bd512c085af99506b71000
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Mon Jan 30 15:27:35 2017 +0100
util/xcompile: parallelize compiler checks
Speed up the execution of this script from ~6 seconds to ~1 on my
system.
There are some changes to its output, but they're actually _more_
correct: so far, architectures without compiler support kept compiler
options for architectures that ran successfully earlier.
Change-Id: I0532ea2178fbedb114a75cfd5ba39301e534e742
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
util/xcompile/xcompile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 90220f6..32665f8 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -56,9 +56,6 @@ clean_up() {
fi
}
-# Create temporary file(s).
-TMPFILE="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
-touch "$TMPFILE"
trap clean_up EXIT
@@ -438,11 +435,24 @@ test_architecture() {
fi
}
-# This loops over all supported architectures.
+OUT="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
+rm -f $OUT
+
for architecture in $SUPPORTED_ARCHITECTURES; do
+ (
+ TMPFILE="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
+ touch $TMPFILE
test_architecture "$architecture"
detect_special_flags "$architecture"
detect_compiler_runtime "$architecture"
report_arch_toolchain
+ clean_up
+ ) > $OUT.$architecture &
+done
+wait
+
+for architecture in $SUPPORTED_ARCHITECTURES; do
+ cat $OUT.$architecture
+ rm -f $OUT.$architecture
done
echo XCOMPILE_COMPLETE:=1
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18262
-gerrit
commit c993ad1a7b0c1e063091d52435c0b640f24119e6
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Mon Jan 30 15:27:35 2017 +0100
util/xcompile: parallelize compiler checks
Speed up the execution of this script from ~6 seconds to ~1 on my
system.
There are some changes to its output, but they're actually _more_
correct: so far, architectures without compiler support kept compiler
options for architectures that ran successfully earlier.
Change-Id: I0532ea2178fbedb114a75cfd5ba39301e534e742
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
util/xcompile/xcompile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 90220f6..32665f8 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -56,9 +56,6 @@ clean_up() {
fi
}
-# Create temporary file(s).
-TMPFILE="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
-touch "$TMPFILE"
trap clean_up EXIT
@@ -438,11 +435,24 @@ test_architecture() {
fi
}
-# This loops over all supported architectures.
+OUT="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
+rm -f $OUT
+
for architecture in $SUPPORTED_ARCHITECTURES; do
+ (
+ TMPFILE="$(mktemp /tmp/temp.XXXXXX 2>/dev/null || echo /tmp/temp.coreboot.$RANDOM)"
+ touch $TMPFILE
test_architecture "$architecture"
detect_special_flags "$architecture"
detect_compiler_runtime "$architecture"
report_arch_toolchain
+ clean_up
+ ) > $OUT.$architecture &
+done
+wait
+
+for architecture in $SUPPORTED_ARCHITECTURES; do
+ cat $OUT.$architecture
+ rm -f $OUT.$architecture
done
echo XCOMPILE_COMPLETE:=1