Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69824 )
Change subject: soc/intel/common/block/pcie: Allow selectable Common Clock and ASPM
......................................................................
soc/intel/common/block/pcie: Allow selectable Common Clock and ASPM
There is no need to enforce enabled ASPM and Common Clock on PCIe
Root Ports. ASPM can additionally introduce indeterministic latencies
and lower performance of PCIe devices. For mobile devices it may be
desirable to enable ASPM for power saving so keep the setting enabled
by default, but on desktops power is less of a concern. Desktop boards
that do not wish to enable ASPM, now will be able to disable it.
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Change-Id: I06d7fe8e3274800e59decb9d24fd4a4208bb2b44
---
M src/soc/intel/common/block/pcie/Kconfig
1 file changed, 23 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/69824/1
diff --git a/src/soc/intel/common/block/pcie/Kconfig b/src/soc/intel/common/block/pcie/Kconfig
index 25cde37..d9d1548 100644
--- a/src/soc/intel/common/block/pcie/Kconfig
+++ b/src/soc/intel/common/block/pcie/Kconfig
@@ -1,7 +1,5 @@
config SOC_INTEL_COMMON_BLOCK_PCIE
bool
- select PCIEXP_ASPM
- select PCIEXP_COMMON_CLOCK
help
Intel Processor common PCIE support
@@ -9,6 +7,12 @@
source "src/soc/intel/common/block/pcie/*/Kconfig"
+config PCIEXP_ASPM
+ default y
+
+config PCIEXP_COMMON_CLOCK
+ default y
+
config PCIEXP_CLK_PM
default y
--
To view, visit https://review.coreboot.org/c/coreboot/+/69824
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06d7fe8e3274800e59decb9d24fd4a4208bb2b44
Gerrit-Change-Number: 69824
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-MessageType: newchange
Attention is currently required from: Michał Żygowski, Christian Walter.
Sergii Dmytruk has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69708 )
Change subject: security/tpm/tspi/log.c: fix strncpy() usage
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> This is still custom coreboot format right?
Yes.
> It is up to the parser to respect the format and be aware that the fields do not necessarily have to be NULL-terminated.
I don't think that was the original intent. If it was, the whole field would be used, but the code explicitly doesn't write last byte as if assuming it to be zero to guarantee string termination.
--
To view, visit https://review.coreboot.org/c/coreboot/+/69708
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib24129829bef3764a8ba1e2c0d92bc42c5cfbc8d
Gerrit-Change-Number: 69708
Gerrit-PatchSet: 1
Gerrit-Owner: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Comment-Date: Fri, 18 Nov 2022 16:18:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-MessageType: comment
Attention is currently required from: Jason Nien, Matt DeVillier, Martin Roth.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69763 )
Change subject: mb/google/zork: Select VBOOT by default
......................................................................
Patch Set 2:
(1 comment)
File src/mainboard/google/zork/Kconfig:
https://review.coreboot.org/c/coreboot/+/69763/comment/77efa234_9658b8b9
PS2, Line 108:
would be good to add a comment that points out that this is done due to psp verstage being mandatory on chrome silicon
--
To view, visit https://review.coreboot.org/c/coreboot/+/69763
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2447bf69baefd5560a0153dcd3d9b87b0a91a3f9
Gerrit-Change-Number: 69763
Gerrit-PatchSet: 2
Gerrit-Owner: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 18 Nov 2022 16:10:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69718 )
Change subject: drivers/i2c/rx6110sa/rx6110sa.c: Make log messages consistent
......................................................................
drivers/i2c/rx6110sa/rx6110sa.c: Make log messages consistent
Set the logging message prefix to the device name instead of the
device path in order to make the output consistent with other
logging messages in this and other drivers.
Change-Id: Ib63b93d52aad220d17f1f4ee0d47a949933ec26d
Signed-off-by: Jan Samek <jan.samek(a)siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69718
Reviewed-by: Werner Zeh <werner.zeh(a)siemens.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/drivers/i2c/rx6110sa/rx6110sa.c
1 file changed, 19 insertions(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Werner Zeh: Looks good to me, approved
Mario Scheithauer: Looks good to me, but someone else must approve
diff --git a/src/drivers/i2c/rx6110sa/rx6110sa.c b/src/drivers/i2c/rx6110sa/rx6110sa.c
index d30963c..02b3d9f 100644
--- a/src/drivers/i2c/rx6110sa/rx6110sa.c
+++ b/src/drivers/i2c/rx6110sa/rx6110sa.c
@@ -183,7 +183,7 @@
break;
default:
printk(BIOS_INFO, "%s: Bus speed unsupported, fall back to %d kHz!\n",
- dev_path(dev), I2C_SPEED_STANDARD / 1000);
+ dev->chip_ops->name, I2C_SPEED_STANDARD / 1000);
bus_speed = I2C_SPEED_STANDARD;
break;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/69718
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib63b93d52aad220d17f1f4ee0d47a949933ec26d
Gerrit-Change-Number: 69718
Gerrit-PatchSet: 2
Gerrit-Owner: Jan Samek <jan.samek(a)siemens.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Uwe Poeche <uwe.poeche(a)siemens.com>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69544 )
Change subject: mb/siemens/mc_ehl2/devicetree.cb: Use RV3028 bus_speed instead of dummy i2c device
......................................................................
mb/siemens/mc_ehl2/devicetree.cb: Use RV3028 bus_speed instead of dummy i2c device
Instead of creating a dummy I2C device in order to force Linux to
decrease the I2C bus speed, use the own 'bus_speed' field of RV3028
device config structure.
Linux should always set the bus speed to the speed of the slowest
device sitting on the bus. Hence the dummy device is not needed
here anymore.
BUG=none
TEST=See if the RV3028 RTC is visible and working (date/time can
be set/read) in Linux. At the time, a driver modification is needed
to add a match table for the "MCRY3028" ACPI HID. A proper kernel
patch is pending.
Change-Id: I6e269dc67d1fe2a6747fcf3bee224def7b553f08
Signed-off-by: Jan Samek <jan.samek(a)siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69544
Reviewed-by: Paul Menzel <paulepanter(a)mailbox.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
1 file changed, 29 insertions(+), 6 deletions(-)
Approvals:
build bot (Jenkins): Verified
Paul Menzel: Looks good to me, but someone else must approve
Mario Scheithauer: Looks good to me, approved
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
index 3b54f24..4dd062c 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
@@ -147,6 +147,7 @@
device pci 15.1 on # I2C1
# Enable external RTC chip
chip drivers/i2c/rv3028c7
+ register "bus_speed" = "I2C_SPEED_STANDARD"
register "set_user_date" = "1"
register "user_year" = "04"
register "user_month" = "07"
@@ -156,12 +157,6 @@
register "cap_charge" = "CHARGE_OFF"
device i2c 0x52 on end # RTC RV3028-C7
end
- # Add dummy I2C device to limit BUS speed to 100 kHz in OS
- chip drivers/i2c/generic
- register "hid" = ""PRP0001""
- register "speed" = "I2C_SPEED_STANDARD"
- device i2c 0x7f on end
- end
end
device pci 15.2 on # I2C2
# Add dummy I2C device to limit BUS speed to 100 kHz in OS
--
To view, visit https://review.coreboot.org/c/coreboot/+/69544
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6e269dc67d1fe2a6747fcf3bee224def7b553f08
Gerrit-Change-Number: 69544
Gerrit-PatchSet: 6
Gerrit-Owner: Jan Samek <jan.samek(a)siemens.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Uwe Poeche <uwe.poeche(a)siemens.com>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69624 )
Change subject: lib/malloc.c: Fix log messages
......................................................................
lib/malloc.c: Fix log messages
It is no longer necessary to explicitly add "Warning" in front of
BIOS_WARNING message.
Change-Id: I6e4341555a3b03a531bd94ba5e36cbcadda9c663
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69624
Reviewed-by: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M src/lib/malloc.c
1 file changed, 18 insertions(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Felix Held: Looks good to me, approved
Eric Lai: Looks good to me, approved
diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index 8ad038a..2c73219 100644
--- a/src/lib/malloc.c
+++ b/src/lib/malloc.c
@@ -72,7 +72,7 @@
return;
if (ptr < (void *)&_heap || ptr >= free_mem_end_ptr) {
- printk(BIOS_WARNING, "Warning - Pointer passed to %s is not "
+ printk(BIOS_WARNING, "Pointer passed to %s is not "
"pointing to the heap\n", __func__);
return;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/69624
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6e4341555a3b03a531bd94ba5e36cbcadda9c663
Gerrit-Change-Number: 69624
Gerrit-PatchSet: 3
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Elyes Haouas.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69624 )
Change subject: lib/malloc.c: Fix log messages
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69624
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6e4341555a3b03a531bd94ba5e36cbcadda9c663
Gerrit-Change-Number: 69624
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Fri, 18 Nov 2022 16:02:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment