Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33417 )
Change subject: soc/intel: Add function to set DPR
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/c/coreboot/+/33417/7/src/soc/intel/fsp_broadwel…
File src/soc/intel/fsp_broadwell_de/ramstage.c:
https://review.coreboot.org/c/coreboot/+/33417/7/src/soc/intel/fsp_broadwel…
PS7, Line 31: #include <soc/broadwell_de.h>
> IMHO, If possible, I would suggest addressing the conflicts between fsp_broadwell_de and <intelblock […]
Feel free to address those conflicts, but keep in mind that BroadwellDE is a server platform, while intel/common is for consumer/desktop platforms. It's not easy to unify those and out of scope of this commit.
I don't see the need to have a shared header, as I can include the correct header using preprocessor guards.
--
To view, visit https://review.coreboot.org/c/coreboot/+/33417
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I43d2b50a7a6bb41146be99e645cd2ac6a6c9f703
Gerrit-Change-Number: 33417
Gerrit-PatchSet: 7
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Roy Wen <rgzwen(a)arista.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 22 Aug 2019 07:16:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Comment-In-Reply-To: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: comment
Hello Aaron Durbin, Julius Werner, Marshall Dawson, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/35004
to look at the new patch set (#7).
Change subject: x86: Introduce RESET_VECTOR_IN_RAM option
......................................................................
x86: Introduce RESET_VECTOR_IN_RAM option
Create a new Kconfig symbol that allows an x86 device to begin execution
when its reset vector is in DRAM and not at the traditional 0xfffffff0.
The implementation will follow later, this is just to setup various
ENV_xxx definitions correctly for the build environment.
Change-Id: I098ecf8bf200550db1e15f178f7661c1ac516dc5
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/Kconfig
M src/arch/x86/memlayout.ld
M src/include/rules.h
3 files changed, 18 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/35004/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/35004
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I098ecf8bf200550db1e15f178f7661c1ac516dc5
Gerrit-Change-Number: 35004
Gerrit-PatchSet: 7
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Hello Aaron Durbin, Patrick Rudolph, Julius Werner, Marshall Dawson, build bot (Jenkins), Furquan Shaikh, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/35003
to look at the new patch set (#7).
Change subject: Split MAYBE_STATIC to _BSS and _NONZERO variants
......................................................................
Split MAYBE_STATIC to _BSS and _NONZERO variants
These are required to cover the absensce of .data and
.bss sections in some programs, most notably ARCH_X86
in execute-in-place with cache-as-ram.
Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/device/device_const.c
M src/ec/google/chromeec/ec_boardid.c
M src/ec/google/chromeec/ec_lpc.c
M src/ec/google/wilco/boardid.c
M src/include/stddef.h
M src/lib/lzma.c
M src/lib/timestamp.c
M src/mainboard/google/stout/chromeos.c
M src/mainboard/intel/glkrvp/boardid.c
M src/mainboard/intel/glkrvp/variants/baseboard/boardid.c
M src/mainboard/intel/icelake_rvp/board_id.c
M src/mainboard/intel/kblrvp/board_id.c
M src/security/tpm/tspi/log.c
M src/soc/intel/baytrail/northcluster.c
M src/soc/intel/braswell/northcluster.c
M toolchain.inc
16 files changed, 26 insertions(+), 21 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/35003/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/35003
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Gerrit-Change-Number: 35003
Gerrit-PatchSet: 7
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Kyösti Mälkki has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/15476 )
Change subject: ACPI S3: Drop ACPI_HUGE_LOWMEM_BACKUP
......................................................................
ACPI S3: Drop ACPI_HUGE_LOWMEM_BACKUP
ACPI S3 resume path can only modify low memory where
the non-relocatable ramstage resides, there is no need
to maintain a bigger backup copy.
Change-Id: Ifae41b51b359010ec02269c674936a87bd15623b
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/15476
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/Kconfig
M src/arch/x86/acpi_s3.c
M src/arch/x86/include/arch/acpi.h
3 files changed, 0 insertions(+), 13 deletions(-)
Approvals:
build bot (Jenkins): Verified
Patrick Georgi: Looks good to me, approved
Aaron Durbin: Looks good to me, but someone else must approve
Arthur Heymans: Looks good to me, but someone else must approve
Angel Pons: Looks good to me, approved
diff --git a/src/Kconfig b/src/Kconfig
index 6288d0b..333643e 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -485,12 +485,6 @@
bool
default n
-config ACPI_HUGE_LOWMEM_BACKUP
- bool
- default n
- help
- On S3 resume path, backup low memory from RAMBASE..RAMTOP in CBMEM.
-
config RESUME_PATH_SAME_AS_BOOT
bool
default y if ARCH_X86
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 47f28d2..decaf2b 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -84,11 +84,6 @@
{
uintptr_t top;
- if (CONFIG(ACPI_HUGE_LOWMEM_BACKUP)) {
- base = CONFIG_RAMBASE;
- size = HIGH_MEMORY_SAVE;
- }
-
/* Align backup region to complete pages. */
top = ALIGN_UP(base + size, BACKUP_PAGE_SZ);
base = ALIGN_DOWN(base, BACKUP_PAGE_SZ);
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 660f0dc..670948a 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -26,8 +26,6 @@
#ifndef __ASM_ACPI_H
#define __ASM_ACPI_H
-#define HIGH_MEMORY_SAVE (CONFIG_RAMTOP - CONFIG_RAMBASE)
-
/*
* The type and enable fields are common in ACPI, but the
* values themselves are hardware implementation defined.
--
To view, visit https://review.coreboot.org/c/coreboot/+/15476
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifae41b51b359010ec02269c674936a87bd15623b
Gerrit-Change-Number: 15476
Gerrit-PatchSet: 14
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Hello Aaron Durbin, Patrick Rudolph, Julius Werner, Marshall Dawson, build bot (Jenkins), Furquan Shaikh, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/35003
to look at the new patch set (#6).
Change subject: Split MAYBE_STATIC to _BSS and _NONZERO variants
......................................................................
Split MAYBE_STATIC to _BSS and _NONZERO variants
These are required to cover the absensce of .data and
.bss sections in some programs, most notably ARCH_X86
in execute-in-place with cache-as-ram.
Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/device/device_const.c
M src/ec/google/chromeec/ec_boardid.c
M src/ec/google/chromeec/ec_lpc.c
M src/ec/google/wilco/boardid.c
M src/include/stddef.h
M src/lib/lzma.c
M src/lib/program.ld
M src/lib/timestamp.c
M src/mainboard/google/stout/chromeos.c
M src/mainboard/intel/glkrvp/boardid.c
M src/mainboard/intel/glkrvp/variants/baseboard/boardid.c
M src/mainboard/intel/icelake_rvp/board_id.c
M src/mainboard/intel/kblrvp/board_id.c
M src/security/tpm/tspi/log.c
M src/soc/intel/baytrail/northcluster.c
M src/soc/intel/braswell/northcluster.c
M toolchain.inc
17 files changed, 28 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/35003/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/35003
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Gerrit-Change-Number: 35003
Gerrit-PatchSet: 6
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35003 )
Change subject: Split MAYBE_STATIC to _BSS and _NONZERO variants
......................................................................
Patch Set 5: Code-Review-2
Need to fix lib/program.ld overruling arch/x86/car.ld for placement of .bss. CB:35014
--
To view, visit https://review.coreboot.org/c/coreboot/+/35003
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Gerrit-Change-Number: 35003
Gerrit-PatchSet: 5
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 22 Aug 2019 03:58:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment