Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47726 )
Change subject: soc/amd/picasso: Add data fabric read helper function
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/47726/2/src/soc/amd/picasso/includ…
File src/soc/amd/picasso/include/soc/data_fabric.h:
https://review.coreboot.org/c/coreboot/+/47726/2/src/soc/amd/picasso/includ…
PS2, Line 62: BIT(0)
> Done
Hmm, we seem to oscillate back and forth. There was a big push before to use BIT().
--
To view, visit https://review.coreboot.org/c/coreboot/+/47726
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If0dc72063fbb99efaeea3fccef16cc1b5b8526f1
Gerrit-Change-Number: 47726
Gerrit-PatchSet: 4
Gerrit-Owner: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Bao Zheng <fishbaozi(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Justin Frodsham <justin.frodsham(a)protonmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Matt Papageorge <matthewpapa07(a)gmail.com>
Gerrit-Reviewer: Nikolai Vyssotski <nikolai.vyssotski(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 11 Dec 2020 16:12:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: comment
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48247 )
Change subject: soc/intel/common/block/acpi: Skip UART debug table if not used
......................................................................
soc/intel/common/block/acpi: Skip UART debug table if not used
Skip the ACPI UART debug table if common block UART isn't selected.
Change-Id: I8d627998ca450c32496c90e51aad48f332b40e23
Signed-off-by: Marc Jones <marcjones(a)sysproconsulting.com>
---
M src/soc/intel/common/block/acpi/acpi.c
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/48247/1
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index 6c389fa..84a85d2 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -154,9 +154,12 @@
unsigned long current,
struct acpi_rsdp *rsdp)
{
- current = acpi_write_dbg2_pci_uart(rsdp, current,
- uart_get_device(),
- ACPI_ACCESS_SIZE_DWORD_ACCESS);
+ if (CONFIG(SOC_INTEL_COMMON_BLOCK_UART)) {
+ current = acpi_write_dbg2_pci_uart(rsdp, current,
+ uart_get_device(),
+ ACPI_ACCESS_SIZE_DWORD_ACCESS);
+ }
+
return acpi_write_hpet(device, current, rsdp);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/48247
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8d627998ca450c32496c90e51aad48f332b40e23
Gerrit-Change-Number: 48247
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48249 )
Change subject: Kconfig: Show console debug options if loglevel override is set
......................................................................
Kconfig: Show console debug options if loglevel override is set
Show console debug options that would only be available if console
SPEW was selected when the override loglevel option is selected.
Change-Id: I2fb22562688d6b0bc9235c9ebe5d427dc2a67767
Signed-off-by: Marc Jones <marcjones(a)sysproconsulting.com>
---
M src/Kconfig
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/48249/1
diff --git a/src/Kconfig b/src/Kconfig
index dc98ca2..b9df3a0 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -905,7 +905,7 @@
# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
# printk(BIOS_DEBUG, ...) calls.
config DEBUG_MALLOC
- prompt "Output verbose malloc debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
+ prompt "Output verbose malloc debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
bool
default n
help
@@ -917,7 +917,7 @@
# Only visible if DEBUG_SPEW (8) is set.
config DEBUG_RESOURCES
- bool "Output verbose PCI MEM and IO resource debug messages" if DEFAULT_CONSOLE_LOGLEVEL_8
+ bool "Output verbose PCI MEM and IO resource debug messages" if DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
default n
help
This option enables additional PCI memory and IO debug messages.
@@ -939,7 +939,7 @@
# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
# printk(BIOS_DEBUG, ...) calls.
config REALMODE_DEBUG
- prompt "Enable debug messages for option ROM execution" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
+ prompt "Enable debug messages for option ROM execution" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 || CONSOLE_OVERRIDE_LOGLEVEL
bool
default n
depends on PCI_OPTION_ROM_RUN_REALMODE
--
To view, visit https://review.coreboot.org/c/coreboot/+/48249
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2fb22562688d6b0bc9235c9ebe5d427dc2a67767
Gerrit-Change-Number: 48249
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-MessageType: newchange
Marc Jones has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48251 )
Change subject: soc/intel/common/block/lpc: Include correct acpi.h
......................................................................
soc/intel/common/block/lpc: Include correct acpi.h
If ACPI is configured, use the correct acpi.h include path.
Change-Id: I0590a028b11f34e423d8f0007e0653037b0849a0
Signed-off-by: Marc Jones <marcjones(a)sysproconsulting.com>
---
M src/soc/intel/common/block/lpc/lpc.c
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/48251/1
diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c
index d11aa10..37b4e04 100644
--- a/src/soc/intel/common/block/lpc/lpc.c
+++ b/src/soc/intel/common/block/lpc/lpc.c
@@ -4,10 +4,17 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <intelblocks/acpi.h>
#include <intelblocks/lpc_lib.h>
#include <soc/pm.h>
+#if CONFIG(HAVE_ACPI_TABLES)
+#if CONFIG(SOC_INTEL_COMMON_BLOCK_ACPI)
+#include <intelblocks/acpi.h>
+#else
+#include <soc/acpi.h>
+#endif /* HAVE_ACPI_TABLES */
+#endif /* SOC_INTEL_COMMON_ACPI */
+
/* SoC overrides */
/* Common weak definition, needs to be implemented in each soc LPC driver. */
--
To view, visit https://review.coreboot.org/c/coreboot/+/48251
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0590a028b11f34e423d8f0007e0653037b0849a0
Gerrit-Change-Number: 48251
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/47168
to look at the new patch set (#13).
Change subject: soc/intel/xeon_sp: Lock PAM and SMRAM registers
......................................................................
soc/intel/xeon_sp: Lock PAM and SMRAM registers
The CedarIsland FSP Integration recommends locking down some things.
Change-Id: I72e04b55d69a8da79485e084b39c3bd38504897f
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/soc/intel/xeon_sp/cpx/chip.c
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/47168/13
--
To view, visit https://review.coreboot.org/c/coreboot/+/47168
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I72e04b55d69a8da79485e084b39c3bd38504897f
Gerrit-Change-Number: 47168
Gerrit-PatchSet: 13
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Michał Żygowski, Christian Walter,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/48469
to review the following change.
Change subject: util/cbfstool/fit.c: Add support for adding Boot Guard manifests
......................................................................
util/cbfstool/fit.c: Add support for adding Boot Guard manifests
Change-Id: I8221590cad16cffea3f8b50dd880a77934b78ea8
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
Signed-off-by: Christian Walter <christian.walter(a)9elements.com>
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
M util/cbfstool/fit.c
1 file changed, 45 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/48469/1
diff --git a/util/cbfstool/fit.c b/util/cbfstool/fit.c
index 44573ca..63956dd 100644
--- a/util/cbfstool/fit.c
+++ b/util/cbfstool/fit.c
@@ -434,6 +434,43 @@
fit_entry_add_size(&fit->header, sizeof(struct fit_entry));
}
+/*
+ * There can be zero or one FIT_TYPE_BOOT_POLICY entries
+ *
+ * The caller has to provide valid arguments as those aren't verified.
+ */
+static void update_fit_boot_policy_entry(struct fit_table *fit,
+ struct fit_entry *entry,
+ uint64_t boot_policy_addr,
+ uint32_t boot_policy_size)
+{
+ entry->address = boot_policy_addr;
+ entry->type_checksum_valid = FIT_TYPE_BOOT_POLICY;
+ entry->size_reserved = boot_policy_size;
+ entry->version = FIT_TXT_VERSION;
+ entry->checksum = 0;
+ fit_entry_add_size(&fit->header, sizeof(struct fit_entry));
+}
+
+/*
+ * There can be zero or one FIT_TYPE_KEY_MANIFEST entries
+ *
+ * The caller has to provide valid arguments as those aren't verified.
+ */
+static void update_fit_key_manifest_entry(struct fit_table *fit,
+ struct fit_entry *entry,
+ uint64_t key_manifest_addr,
+ uint32_t key_manifest_size)
+{
+ entry->address = key_manifest_addr;
+
+ entry->type_checksum_valid = FIT_TYPE_KEY_MANIFEST;
+ entry->size_reserved = key_manifest_size;
+ entry->version = FIT_TXT_VERSION;
+ entry->checksum = 0;
+ fit_entry_add_size(&fit->header, sizeof(struct fit_entry));
+}
+
/* Special case for ucode CBFS file, as it might contain more than one ucode */
int fit_add_microcode_file(struct fit_table *fit,
struct cbfs_image *image,
@@ -626,10 +663,10 @@
case FIT_TYPE_BIOS_STARTUP:
case FIT_TYPE_BIOS_POLICY:
case FIT_TYPE_TXT_POLICY:
- return 1;
- case FIT_TYPE_TPM_POLICY:
case FIT_TYPE_KEY_MANIFEST:
case FIT_TYPE_BOOT_POLICY:
+ return 1;
+ case FIT_TYPE_TPM_POLICY:
default:
return 0;
}
@@ -684,6 +721,12 @@
case FIT_TYPE_TXT_POLICY:
update_fit_txt_policy_entry(fit, entry, offset);
break;
+ case FIT_TYPE_KEY_MANIFEST:
+ update_fit_key_manifest_entry(fit, entry, offset, len);
+ break;
+ case FIT_TYPE_BOOT_POLICY:
+ update_fit_boot_policy_entry(fit, entry, offset, len);
+ break;
default:
return 1;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/48469
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8221590cad16cffea3f8b50dd880a77934b78ea8
Gerrit-Change-Number: 48469
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-MessageType: newchange