Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45536 )
Change subject: soc/intel/{cnl,icl,tgl,jsl,ehl,adl}/acpi: generate CPPC entries
......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45536/10/src/soc/intel/alderlake/a…
File src/soc/intel/alderlake/acpi.c:
https://review.coreboot.org/c/coreboot/+/45536/10/src/soc/intel/alderlake/a…
PS10, Line 162: generate_cppc_entries(core_id);
> > Why jump through so many hoops here? soc calls generate_cpu_entries(), calls […]
Well, all that jumping was not my idea \o/ that's what sock/intel/common/acpi does already in other cases as well :S
--
To view, visit https://review.coreboot.org/c/coreboot/+/45536
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I40d47d18a35002bc9ec55473e94277d89fc5797e
Gerrit-Change-Number: 45536
Gerrit-PatchSet: 10
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Elyes HAOUAS
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Tue, 13 Oct 2020 23:32:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45535 )
Change subject: soc/intel/common/block/acpi: add code for CPPC entries generation
......................................................................
Patch Set 8:
(2 comments)
https://review.coreboot.org/c/coreboot/+/45535/8/src/soc/intel/common/block…
File src/soc/intel/common/block/acpi/acpi.c:
https://review.coreboot.org/c/coreboot/+/45535/8/src/soc/intel/common/block…
PS8, Line 370: core
> Is this `virtual core` aka. thread? Otherwise it would seem that this is […]
Well, that naming scheme is a bit... unclear, but that's what common/block/acpi already does. We can clarify that ofc.
TBH I'm not yet convinced that the loop generate_cpu_entries is correct at all.
Anyway, the global CPPC entry shall get added once per package only. The (logical) cores each get a _CPC method returning that CPPC (GCPC in cb) entry.
`core` is the `core_id` from generate_cpu_entries() which *should* be the APIC id (total number of cores for the loop comes from dev_count_cpu()).
https://review.coreboot.org/c/coreboot/+/45535/8/src/soc/intel/common/block…
PS8, Line 372: /* version 2 */
> Is the comment really necessary? If you want to name arguments, you could pass […]
yay, copy-pasta! came from the original version in skl; will drop that...
--
To view, visit https://review.coreboot.org/c/coreboot/+/45535
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1fcc2d0d7c6b6f35f8dd011f55dab8469be99d47
Gerrit-Change-Number: 45535
Gerrit-PatchSet: 8
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Elyes HAOUAS
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-Comment-Date: Tue, 13 Oct 2020 23:30:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45826 )
Change subject: soc/intel/icl: enable common CPU code
......................................................................
Patch Set 5: Code-Review-1
-1 to make sure we have discussed this: https://review.coreboot.org/c/coreboot/+/45826/2/src/soc/intel/icelake/roms…
Nico, Subrata, have a look, please :-)
--
To view, visit https://review.coreboot.org/c/coreboot/+/45826
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I58e86021687fc0a836324f70071f7ea80242b3cb
Gerrit-Change-Number: 45826
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 13 Oct 2020 22:56:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45826 )
Change subject: soc/intel/icl: enable common CPU code
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45826/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/45826/5//COMMIT_MSG@13
PS5, Line 13: like done for SKL,ICL,... already.
> This isn't quite clear, IMHO. "like done for [...]ICL"? but this is ICL.
> I see that the config value is already used in code. That could be clearer.
Oops, I meant CNL here ofc.
> Also, there is another Kconfig prompt (locking) enabled by this which is
> not used, AFAICS. If that is the case, its prompt should be disabled. Either
> via another Kconfig (HAVE...LOCKING_OPTION?) or at least select it (prompt
> would show but can't be changed, which I assume is what the code does).
Yes, the feature lock. I haven't mentioned it here yet, because it's not clear to me yet how we want to handle ICL due to SkipMpInit missing. Have a look at this, please: https://review.coreboot.org/c/coreboot/+/45826/2/src/soc/intel/icelake/roms…
In case we want to just rely on FSP, I'd just select SET_IA32_FC_LOCK_BIT by ENABLE_VMX on ICL, to make it clear in menuconfig.
ICL Kconfig:
config ENABLE_VMX
select SET_IA32_FC_LOCK_BIT
--
To view, visit https://review.coreboot.org/c/coreboot/+/45826
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I58e86021687fc0a836324f70071f7ea80242b3cb
Gerrit-Change-Number: 45826
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 13 Oct 2020 22:55:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45536 )
Change subject: soc/intel/{cnl,icl,tgl,jsl,ehl,adl}/acpi: generate CPPC entries
......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45536/10/src/soc/intel/alderlake/a…
File src/soc/intel/alderlake/acpi.c:
https://review.coreboot.org/c/coreboot/+/45536/10/src/soc/intel/alderlake/a…
PS10, Line 162: generate_cppc_entries(core_id);
> Why jump through so many hoops here? soc calls generate_cpu_entries(), calls
> back here, calls back there. I guess the hardware involves the soc-specific
> config struct, but then again, why is it a devicetree config?
I think it's another uCode-version related issue... see comments in e3f564988b as an example.
--
To view, visit https://review.coreboot.org/c/coreboot/+/45536
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I40d47d18a35002bc9ec55473e94277d89fc5797e
Gerrit-Change-Number: 45536
Gerrit-PatchSet: 10
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Elyes HAOUAS
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Tue, 13 Oct 2020 22:47:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34170 )
Change subject: libpayload/x86: Try to discover invariant TSC rate
......................................................................
Patch Set 4:
(3 comments)
https://review.coreboot.org/c/coreboot/+/34170/4/payloads/libpayload/arch/x…
File payloads/libpayload/arch/x86/timer.c:
https://review.coreboot.org/c/coreboot/+/34170/4/payloads/libpayload/arch/x…
PS4, Line 172: /*
newline above
https://review.coreboot.org/c/coreboot/+/34170/4/payloads/libpayload/arch/x…
PS4, Line 176: _rdmsr(MSR_PLATFORM_INFO) >> 8
nit: brackets for readability?
https://review.coreboot.org/c/coreboot/+/34170/4/payloads/libpayload/arch/x…
PS4, Line 186: cpu_khz
hm, somehow I seem to miss what this global variable is useful for (yeah I know, it was there before but...)
--
To view, visit https://review.coreboot.org/c/coreboot/+/34170
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic6607ee2a8b41c2be9dc1bb4f1e23e652bb33889
Gerrit-Change-Number: 34170
Gerrit-PatchSet: 4
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
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: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 13 Oct 2020 22:46:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment