Attention is currently required from: Arthur Heymans.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63673 )
Change subject: cpu/x86/Kconfig: Guard with ARCH_X86
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/63673
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie90ad24ff9013e38c42f10285cc3b546a3cc0571
Gerrit-Change-Number: 63673
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Sun, 17 Apr 2022 11:44:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Damien Zammit, Michał Żygowski, Paul Menzel, Michał Kopeć, Michael Niewöhner, Piotr Król, Felix Held.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63672 )
Change subject: superio/ite/common: Add support for SuperIOs with 6 temperature reading registers
......................................................................
Patch Set 1:
(4 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/63672/comment/3903dcee_0472bada
PS1, Line 14: Additionally, decouple temperature offset/min/max configuration from TMPIN
: mode configuration, since in these SIOs, TMPINs do not have to map directly
: to temperature reading registers (e.g. TMPIN1 can read to temperature reading
: register 3).
> Can you put that into a separate commit?
+1, this can and should be done in two commits:
1. Decouple temperature offset stuff from TMPIN
2. Add support for Super I/Os with 6 temp reading regs
https://review.coreboot.org/c/coreboot/+/63672/comment/7a04be3a_acf4fb68
PS1, Line 19: Add a Kconfig option SUPERIO_ITE_ENV_CTRL_6_TEMPS for these ECs.
> Is there no way to determin the number of registers at run-time?
I don't think so. But even if there was some way to detect this at runtime, it wouldn't be useful: the Super I/O on a given mainboard is most often known at build-time [1], so runtime detection code would be pointless.
[1] An exception would be HP 280 G2 (see CB:48386 for details), which can have an ITE IT8625E or an ITE IT8656E depending on the BOM (Bill Of Materials) configuration. I can think of two ways to identify which Super I/O chip is on the board: either checking the chip ID bytes (global config registers 0x20 and 0x21, what util/superiotool uses to identify chips) or by reading a PCH GPIO that indicates the BOM configuration (see bootblock.c function `bootblock_mainboard_init()`, the line initialising the `brd_str` variable). Both of these methods depend on some mainboard-specific information; at the very least, that the board can only have an IT8625E or an IT8656E. I haven't implemented Super I/O support on the 280 G2 yet, and I only have the board version with IT8656E.
TL;DR: Most likely not, and it wouldn't be worth it in most cases.
File src/superio/ite/common/env_ctrl.c:
https://review.coreboot.org/c/coreboot/+/63672/comment/df8f01a7_d86e2902
PS1, Line 138:
nit: drop blank line
https://review.coreboot.org/c/coreboot/+/63672/comment/84b9515b_7cebc22b
PS1, Line 145: temp - 1
Looks like you could refactor this to avoid the `- 1` everywhere.
--
To view, visit https://review.coreboot.org/c/coreboot/+/63672
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea7be22e4d1c8e56683755bff7fbb54e9218734e
Gerrit-Change-Number: 63672
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Damien Zammit
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Attention: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Attention: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 17 Apr 2022 09:24:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: comment
Attention is currently required from: Damien Zammit, Michał Żygowski, Michał Kopeć, Michael Niewöhner, Piotr Król, Felix Held.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63672 )
Change subject: superio/ite/common: Add support for SuperIOs with 6 temperature reading registers
......................................................................
Patch Set 1:
(4 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/63672/comment/74ff60ab_a5cb07ff
PS1, Line 14: Additionally, decouple temperature offset/min/max configuration from TMPIN
: mode configuration, since in these SIOs, TMPINs do not have to map directly
: to temperature reading registers (e.g. TMPIN1 can read to temperature reading
: register 3).
Can you put that into a separate commit?
https://review.coreboot.org/c/coreboot/+/63672/comment/6a70d3e1_c82771e1
PS1, Line 19: Add a Kconfig option SUPERIO_ITE_ENV_CTRL_6_TEMPS for these ECs.
Is there no way to determin the number of registers at run-time?
File src/superio/ite/common/env_ctrl.c:
https://review.coreboot.org/c/coreboot/+/63672/comment/ee77d6d9_83b5bfd6
PS1, Line 125: int
bool?
https://review.coreboot.org/c/coreboot/+/63672/comment/e45e625f_206a6d27
PS1, Line 127: if (source >= THERMAL_SOURCE_PECI1 && source <= THERMAL_SOURCE_PECI5)
: return 1;
:
: return 0;
Something like:
return (source >= THERMAL_SOURCE_PECI1 && source <= THERMAL_SOURCE_PECI5)
--
To view, visit https://review.coreboot.org/c/coreboot/+/63672
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea7be22e4d1c8e56683755bff7fbb54e9218734e
Gerrit-Change-Number: 63672
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Attention: Damien Zammit
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Attention: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Attention: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 17 Apr 2022 08:47:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Damien Zammit, Michał Żygowski, Michał Kopeć, Paul Menzel, Michael Niewöhner, Piotr Król, Felix Held.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63672 )
Change subject: superio/ite/common: Add support for SuperIOs with 6 temperature reading registers
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
PS1:
Please wrap lines at 72 characters. For the commit summary, try to abbreviate it a bit.
--
To view, visit https://review.coreboot.org/c/coreboot/+/63672
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea7be22e4d1c8e56683755bff7fbb54e9218734e
Gerrit-Change-Number: 63672
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Attention: Damien Zammit
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Michał Kopeć <michal.kopec(a)3mdeb.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Attention: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 17 Apr 2022 08:41:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63673 )
Change subject: cpu/x86/Kconfig: Guard with ARCH_X86
......................................................................
cpu/x86/Kconfig: Guard with ARCH_X86
None of these options make sense on different ARCH.
Change-Id: Ie90ad24ff9013e38c42f10285cc3b546a3cc0571
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/cpu/x86/Kconfig
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/63673/1
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index d5c688d..658d2aa 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -1,3 +1,5 @@
+if ARCH_X86
+
config PARALLEL_MP
def_bool y
depends on !LEGACY_SMP_INIT
@@ -194,3 +196,5 @@
Enables the new method of locating struct cpu_info. This new method
uses the %gs segment to locate the cpu_info pointer. The old method
relied on the stack being CONFIG_STACK_SIZE aligned.
+
+endif # ARCH_X86
--
To view, visit https://review.coreboot.org/c/coreboot/+/63673
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie90ad24ff9013e38c42f10285cc3b546a3cc0571
Gerrit-Change-Number: 63673
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange
Attention is currently required from: Arthur Heymans, Hung-Te Lin, Nico Huber, Julius Werner, Yu-Ping Wu.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63660 )
Change subject: docs/coding_style: Clarify use of GCC extensions
......................................................................
Patch Set 2:
(1 comment)
File Documentation/contributing/coding_style.md:
https://review.coreboot.org/c/coreboot/+/63660/comment/31e29aa8_3fc31268
PS2, Line 994: "Extensions to the C Language Family" section of the GCC manual
Make it a link?
--
To view, visit https://review.coreboot.org/c/coreboot/+/63660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0d0eb90d6729fefeb131cdd573ad51f1884afe11
Gerrit-Change-Number: 63660
Gerrit-PatchSet: 2
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur.heymans(a)9elements.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Arthur Heymans <arthur.heymans(a)9elements.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Comment-Date: Sun, 17 Apr 2022 06:24:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Robert Zieba, Nico Huber, Raul Rangel, Arthur Heymans, Tim Wawrzynczak, Kyösti Mälkki.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63657 )
Change subject: arch/x86: Add support for catching null deferences through debug regs
......................................................................
Patch Set 5:
(9 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/63657/comment/1a9ff66a_a32a0fbb
PS5, Line 9: deferences
Ditto.
https://review.coreboot.org/c/coreboot/+/63657/comment/f1279538_3b348758
PS5, Line 12: have been
Present tense: are
https://review.coreboot.org/c/coreboot/+/63657/comment/78d75780_4894080f
PS5, Line 18: expected
How can this be tested exactly? Does it also work in QEMU?
Patchset:
PS5:
Can you please make sure, it also builds with clang?
File src/arch/x86/Kconfig:
https://review.coreboot.org/c/coreboot/+/63657/comment/0771932f_73e378ae
PS5, Line 327: Enables
Imperative mood seems to be used in this file: Enable.
https://review.coreboot.org/c/coreboot/+/63657/comment/1aa3b797_4562727a
PS5, Line 335: deferences
Ditto.
https://review.coreboot.org/c/coreboot/+/63657/comment/f6a203f1_a1fe768a
PS5, Line 335: Enables
Ditto.
https://review.coreboot.org/c/coreboot/+/63657/comment/ebe77f20_26cf1837
PS5, Line 342: deferences
Ditto.
File src/arch/x86/breakpoint.c:
https://review.coreboot.org/c/coreboot/+/63657/comment/22373d96_d2a47c13
PS5, Line 280: #if ENV_X86_64
Is it possible to check this in C code?
--
To view, visit https://review.coreboot.org/c/coreboot/+/63657
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I113590689046a13c2a552741bbfe7668a834354a
Gerrit-Change-Number: 63657
Gerrit-PatchSet: 5
Gerrit-Owner: Robert Zieba <robertzieba(a)google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Robert Zieba <robertzieba(a)google.com>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Comment-Date: Sun, 17 Apr 2022 05:43:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Wonkyu Kim, Subrata Banik, Angel Pons.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63615 )
Change subject: intel/common/../systemagent: Enable MCHBAR in bootblock
......................................................................
Patch Set 4:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/63615/comment/ea7d9732_4c8cd716
PS4, Line 10: As there is no harm to enable
: MCHBAR from bootblock even in existing plaforms
> Always enabling MCHBAR in bootblock seems reasonable to me.
Ack
--
To view, visit https://review.coreboot.org/c/coreboot/+/63615
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie4c7af3ea8c2b2b6afcc76e1165fadbe15e0bceb
Gerrit-Change-Number: 63615
Gerrit-PatchSet: 4
Gerrit-Owner: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Sun, 17 Apr 2022 05:32:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Wonkyu Kim <wonkyu.kim(a)intel.com>
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment