cpu/x86/topology: Add tile and die ID CPU topology fields
This commit makes the tile and die ID CPU topology parameters
information available to support the implementation of
EFI_MP_SERVICES_PROTOCOL.GetProcessorInfo() in accordance with the
Platform Initialization Specification 1.7.
TEST=Instrumentation shows that the tile_id and die_id apic_path fields
are properly populated.
Change-Id: If4d473901c8de02b3d6cef44f5481a1864f14d64
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89461
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0c97aed8ac
commit
55bf4ea07e
2 changed files with 4 additions and 0 deletions
|
|
@ -118,6 +118,8 @@ void set_cpu_topology(struct device *cpu)
|
|||
{ LEVEL_TYPE_SMT, &cpu->path.apic.thread_id },
|
||||
{ LEVEL_TYPE_CORE, &cpu->path.apic.core_id },
|
||||
{ LEVEL_TYPE_MODULE, &cpu->path.apic.module_id },
|
||||
{ LEVEL_TYPE_TILE, &cpu->path.apic.tile_id },
|
||||
{ LEVEL_TYPE_DIE, &cpu->path.apic.die_id },
|
||||
{ LEVEL_TYPE_PACKAGE, &cpu->path.apic.package_id },
|
||||
{ LEVEL_TYPE_PACKAGE, &cpu->path.apic.node_id }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -82,6 +82,8 @@ struct apic_path {
|
|||
unsigned int core_id;
|
||||
unsigned int thread_id;
|
||||
unsigned int module_id;
|
||||
unsigned int tile_id;
|
||||
unsigned int die_id;
|
||||
/*
|
||||
* Core identifier within the package, including the die group, die, tile, module, and
|
||||
* specific core.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue