Attention is currently required from: Tarun Tuli, Subrata Banik, Sridhar Siricilla, Sukumar Ghorai, Elyes Haouas.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/72131 )
Change subject: soc/intel/{device, common}: Add core_type member to 'struct apic_path'
......................................................................
Patch Set 8:
(1 comment)
File src/soc/intel/common/block/acpi/cpu_hybrid.c:
https://review.coreboot.org/c/coreboot/+/72131/comment/28b82122_a67280a7
PS8, Line 100: struct device *dev;
: uint32_t lapic_id = lapicid();
:
: /* Determine struct device of CPU having apic_id */
: for (dev = get_cpu_bus_first_child(); dev; dev = dev->sibling) {
: if (lapic_id == dev->path.apic.apic_id)
: break;
: }
cpu_info can't be referenced again in acpi_set_hybrid_cpu_apicid_order() which get executed in non MP context. so, struct device list has to be traversed here to update the core_type!
You don't call this function in acpi_set_hybrid_cpu_apicid_order() so what is the problem?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/72131
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8ab6053ffd036185d74d5469fbdf36d48e0021ce
Gerrit-Change-Number: 72131
Gerrit-PatchSet: 8
Gerrit-Owner: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Reviewer: Elyes Haouas
ehaouas@noos.fr
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Sukumar Ghorai
sukumar.ghorai@intel.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Tarun Tuli
taruntuli@google.com
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Attention: Sukumar Ghorai
sukumar.ghorai@intel.com
Gerrit-Attention: Elyes Haouas
ehaouas@noos.fr
Gerrit-Comment-Date: Tue, 28 Mar 2023 10:26:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sridhar Siricilla
sridhar.siricilla@intel.com
Comment-In-Reply-To: Arthur Heymans
arthur@aheymans.xyz
Gerrit-MessageType: comment