Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/28533
Change subject: include/cper.h: Add max of enum
......................................................................
include/cper.h: Add max of enum
Define the maximum value of the cper_x86_check_type enum, for use later
in determining a legal function argument.
Change-Id: I73df4c6daa5d232c2d38b0896442b5bcab5aa15f
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/include/cper.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/28533/1
diff --git a/src/include/cper.h b/src/include/cper.h
index 88c7cba..1604041 100644
--- a/src/include/cper.h
+++ b/src/include/cper.h
@@ -216,6 +216,7 @@
X86_PROCESSOR_BUS_CHK, /* X86_PROCESSOR_BUS_CHK_ERROR_GUID */
X86_PROCESSOR_MS_CHK /* X86_PROCESSOR_MS_CHK_ERROR_GUID */
};
+#define X86_PROCESSOR_CHK_MAX X86_PROCESSOR_MS_CHK
/* IA32/X64 Processor Error Information Structure, Validation Bits (Tbl 256) */
#define I32X64ERRINFO_VALID_CHECK BIT(0)
--
To view, visit https://review.coreboot.org/28533
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: I73df4c6daa5d232c2d38b0896442b5bcab5aa15f
Gerrit-Change-Number: 28533
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/28526 )
Change subject: qemu-q35: Use the TSC for udelay
......................................................................
qemu-q35: Use the TSC for udelay
Use the TSC for delays on q35, ensuring that the TSC delay code is
included in the correct stages when selected.
Tested on qemu-35 and wedge-100s (for no regressions).
Change-Id: I3f8368509807974bfcf2a0fcff7a4aa21adf47ed
Signed-off-by: Michael van der Westhuizen <rmikey(a)fb.com>
Reviewed-on: https://review.coreboot.org/28526
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro(a)das-labor.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
---
M src/cpu/qemu-x86/Kconfig
M src/cpu/qemu-x86/Makefile.inc
2 files changed, 2 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Paul Menzel: Looks good to me, but someone else must approve
Philipp Deppenwiese: Looks good to me, approved
Patrick Rudolph: Looks good to me, approved
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index ea2bc46..ab8e1a9 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -20,3 +20,4 @@
select ARCH_ROMSTAGE_X86_32
select ARCH_RAMSTAGE_X86_32
select SMP
+ select UDELAY_TSC
diff --git a/src/cpu/qemu-x86/Makefile.inc b/src/cpu/qemu-x86/Makefile.inc
index b5f8369..288eea6 100644
--- a/src/cpu/qemu-x86/Makefile.inc
+++ b/src/cpu/qemu-x86/Makefile.inc
@@ -16,3 +16,4 @@
subdirs-y += ../x86/mtrr
subdirs-y += ../x86/lapic
subdirs-y += ../x86/smm
+subdirs-y += ../x86/tsc
--
To view, visit https://review.coreboot.org/28526
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3f8368509807974bfcf2a0fcff7a4aa21adf47ed
Gerrit-Change-Number: 28526
Gerrit-PatchSet: 2
Gerrit-Owner: Michael van der Westhuizen (1002100)
Gerrit-Reviewer: Michael van der Westhuizen (1002100)
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: David Hendricks <david.hendricks(a)gmail.com>
Philipp Deppenwiese has posted comments on this change. ( https://review.coreboot.org/28526 )
Change subject: qemu-q35: Use the TSC for udelay
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/28526
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: I3f8368509807974bfcf2a0fcff7a4aa21adf47ed
Gerrit-Change-Number: 28526
Gerrit-PatchSet: 1
Gerrit-Owner: Michael van der Westhuizen (1002100)
Gerrit-Reviewer: Michael van der Westhuizen (1002100)
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Comment-Date: Thu, 06 Sep 2018 16:31:09 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/25182 )
Change subject: smmstore: Add a key/val store facility in flash, mediated through SMM
......................................................................
Patch Set 12:
(5 comments)
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c
File src/drivers/smmstore/store.c:
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c@180
PS12, Line 180: if (rdev_writeat(&store, &key_sz, end, 4) != 4) {
braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c@184
PS12, Line 184: if (rdev_writeat(&store, &value_sz, end, 4) != 4) {
braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c@188
PS12, Line 188: if (rdev_writeat(&store, key, end, key_sz) != key_sz) {
braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c@192
PS12, Line 192: if (rdev_writeat(&store, value, end, value_sz) != value_sz) {
braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/25182/12/src/drivers/smmstore/store.c@197
PS12, Line 197: if (rdev_writeat(&store, &nul, end, 1) != 1) {
braces {} are not necessary for single statement blocks
--
To view, visit https://review.coreboot.org/25182
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: I9553922f9dfa60b9d4b3576973ad4b84d3fe2fb5
Gerrit-Change-Number: 25182
Gerrit-PatchSet: 12
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Joel Kitching <kitching(a)google.com>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-CC: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 06 Sep 2018 16:23:00 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28529
to look at the new patch set (#3).
Change subject: wedge100s: Add TPM support
......................................................................
wedge100s: Add TPM support
Change-Id: Id7e8ad63de2a6094c66cbd47ae9b7707a9af4e81
Signed-off-by: Mikolaj Walczak <mwalczak(a)fb.com>
---
M src/mainboard/ocp/wedge100s/Kconfig
M src/mainboard/ocp/wedge100s/devicetree.cb
2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/28529/3
--
To view, visit https://review.coreboot.org/28529
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: Id7e8ad63de2a6094c66cbd47ae9b7707a9af4e81
Gerrit-Change-Number: 28529
Gerrit-PatchSet: 3
Gerrit-Owner: Mikołaj Walczak (1002108)
Gerrit-Assignee: Andrea Barberio <insomniac(a)slackware.it>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Andrea Barberio <insomniac(a)slackware.it>