Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34027 )
Change subject: console: Implement j specifier in vtxprintf()
......................................................................
console: Implement j specifier in vtxprintf()
It is occasionally useful to print a uintmax_t or intmax_t, so add
support for the j specifier. This also makes defining the PRI* macros
in <inttypes.h> simpler.
Change-Id: I656e3992029199b48e62a9df2d56f54c34e4e10f
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
---
M src/console/vtxprintf.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/34027/1
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 01091c8..94e370f 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -18,6 +18,7 @@
#include <console/vtxprintf.h>
#include <ctype.h>
#include <string.h>
+#include <stdint.h>
#define call_tx(x) tx_byte(x, data)
@@ -138,7 +139,7 @@
int field_width; /* width of output field */
int precision; /* min. # of digits for integers; max
number of chars for from string */
- int qualifier; /* 'h', 'H', 'l', or 'L' for integer fields */
+ int qualifier; /* 'h', 'H', 'l', 'L', 'z', or 'j' for integer fields */
int count;
@@ -192,7 +193,7 @@
/* get the conversion qualifier */
qualifier = -1;
- if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'z') {
+ if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'z' || *fmt == 'j') {
qualifier = *fmt;
++fmt;
if (*fmt == 'l') {
@@ -293,6 +294,8 @@
num = va_arg(args, unsigned long);
} else if (qualifier == 'z') {
num = va_arg(args, size_t);
+ } else if (qualifier == 'j') {
+ num = va_arg(args, uintmax_t);
} else if (qualifier == 'h') {
num = (unsigned short) va_arg(args, int);
if (flags & SIGN)
--
To view, visit https://review.coreboot.org/c/coreboot/+/34027
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I656e3992029199b48e62a9df2d56f54c34e4e10f
Gerrit-Change-Number: 34027
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34028 )
Change subject: console: Remove support for printing extra bases
......................................................................
console: Remove support for printing extra bases
vtxprintf() can only print numbers in base 8, 10, and 16, so the
extra letters in the alphabet aren't needed.
Change-Id: I6a51c13f3298a597e801440f86bf698bdd8c736a
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
---
M src/console/vtxprintf.c
1 file changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/34028/1
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 01091c8..2d4953d 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -38,7 +38,7 @@
void *data)
{
char c, sign, tmp[66];
- const char *digits = "0123456789abcdefghijklmnopqrstuvwxyz";
+ const char *digits = "0123456789abcdef";
int i;
int count = 0;
#ifdef SUPPORT_64BIT_INTS
@@ -57,11 +57,9 @@
#endif
if (type & LARGE)
- digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ digits = "0123456789ABCDEF";
if (type & LEFT)
type &= ~ZEROPAD;
- if (base < 2 || base > 36)
- return 0;
c = (type & ZEROPAD) ? '0' : ' ';
sign = 0;
if (type & SIGN) {
--
To view, visit https://review.coreboot.org/c/coreboot/+/34028
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a51c13f3298a597e801440f86bf698bdd8c736a
Gerrit-Change-Number: 34028
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33954 )
Change subject: mb/google/hatch/variants: Fix nonworking touch pad
......................................................................
Patch Set 5:
> Patch Set 5:
>
> > Patch Set 5:
> >
> > (1 comment)
>
> Correct the CL link .
> https://review.coreboot.org/c/coreboot/+/33820
That change affects the overridetree for hatch only. You still need to update override tree for helios here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/33954
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I60816a4652fa39ab2a91034b268efe8f84a13e17
Gerrit-Change-Number: 33954
Gerrit-PatchSet: 5
Gerrit-Owner: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Frank Chu <frank_chu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: Philip Chen <philipchen(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-CC: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-CC: Kane Chen <kane_chen(a)pegatron.corp-partner.google.com>
Gerrit-CC: Ken Lu <ken_lu(a)pegatron.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 04 Jul 2019 16:34:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Kane Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33999
Change subject: soc/intel/common: Increase SMM_MODULE_STACK stack to 0x800
......................................................................
soc/intel/common: Increase SMM_MODULE_STACK stack to 0x800
While running the s0ix cycling test, we observed SMM Handler caused
a stack overflow. This error happens during event log access.
This change is to increase the SMM_MODULE_STACK size to 0x800
BUG=b:135551854
TEST=suspend_resume test pass 500+ cycles, originally issue happenes
within 150 cycle
Change-Id: Ib4686b4d2d4fc3976068779314f4ee15ef4a8ae2
Signed-off-by: Kane Chen <kane.chen(a)intel.com>
---
M src/soc/intel/common/Kconfig
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/33999/1
diff --git a/src/soc/intel/common/Kconfig b/src/soc/intel/common/Kconfig
index ac22686..523d1f5 100644
--- a/src/soc/intel/common/Kconfig
+++ b/src/soc/intel/common/Kconfig
@@ -68,4 +68,8 @@
Set this option to enable default debug interface of SoC such as DBC
or DCI.
+config SMM_MODULE_STACK_SIZE
+ hex
+ default 0x800
+
endif # SOC_INTEL_COMMON
--
To view, visit https://review.coreboot.org/c/coreboot/+/33999
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib4686b4d2d4fc3976068779314f4ee15ef4a8ae2
Gerrit-Change-Number: 33999
Gerrit-PatchSet: 1
Gerrit-Owner: Kane Chen <kane.chen(a)intel.com>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, Felix Held, Piotr Król, David Hendricks, Paul Menzel, build bot (Jenkins), Michał Żygowski, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29470
to look at the new patch set (#16).
Change subject: mainboard/portwell/m107: Do initial mainboard commit
......................................................................
mainboard/portwell/m107: Do initial mainboard commit
Initial support for Portwell PQ7-M107 (Q7) module.
Code based on Intel Strago mainboard.
BUG=N/A
TEST=booting SeaBIOS and Linux 4.20 kernel on PQ7-M107
Change-Id: I7d3173fdcf881f894a75cd9798ba173b425d4e62
Signed-off-by: Frans Hendriks <fhendriks(a)eltan.com>
---
M Documentation/mainboard/index.md
A Documentation/mainboard/portwell/pq7-m107.md
A src/mainboard/portwell/Kconfig
A src/mainboard/portwell/Kconfig.name
A src/mainboard/portwell/m107/Kconfig
A src/mainboard/portwell/m107/Kconfig.name
A src/mainboard/portwell/m107/Makefile.inc
A src/mainboard/portwell/m107/acpi/ec.asl
A src/mainboard/portwell/m107/acpi/mainboard.asl
A src/mainboard/portwell/m107/acpi/sleepstates.asl
A src/mainboard/portwell/m107/acpi/superio.asl
A src/mainboard/portwell/m107/acpi_tables.c
A src/mainboard/portwell/m107/board_info.txt
A src/mainboard/portwell/m107/cmos.layout
A src/mainboard/portwell/m107/com_init.c
A src/mainboard/portwell/m107/devicetree.cb
A src/mainboard/portwell/m107/dsdt.asl
A src/mainboard/portwell/m107/fadt.c
A src/mainboard/portwell/m107/gpio.c
A src/mainboard/portwell/m107/hda_verb.c
A src/mainboard/portwell/m107/irqroute.c
A src/mainboard/portwell/m107/irqroute.h
A src/mainboard/portwell/m107/mainboard.c
A src/mainboard/portwell/m107/onboard.h
A src/mainboard/portwell/m107/romstage.c
A src/mainboard/portwell/m107/spd/MICRON_MT41K512M16HA-125A.spd.hex
A src/mainboard/portwell/m107/spd/SAMSUNG_K4B8G1646D-MYKO.spd.hex
A src/mainboard/portwell/m107/w25q64.c
28 files changed, 1,830 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/29470/16
--
To view, visit https://review.coreboot.org/c/coreboot/+/29470
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7d3173fdcf881f894a75cd9798ba173b425d4e62
Gerrit-Change-Number: 29470
Gerrit-PatchSet: 16
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset