Re: [edk2-platforms] [PATCH 1/1] Platform/Sgi: Add support to disable isolated cpus


Thomas Abraham
 

On 17/06/2022 07:07, Nishant Sharma wrote:
Isolated CPUs are those that are not to be used on the platform for
various reasons. The isolated CPU list is an array of MPID values of
the CPUs that have to be isolated. This list is supplied via the
NT_FW_CONFIG dtb.
Add support to search for isolated CPUs MPID list and, if present,
update the MADT table to disable the corresponding CPUs.
Signed-off-by: Nishant Sharma <nishant.sharma@...>
---
Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf | 1 -
Platform/ARM/SgiPkg/Library/SgiPlatformPei/SgiPlatformPei.inf | 8 +-
Platform/ARM/SgiPkg/Include/SgiPlatform.h | 7 ++
Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c | 131 +++++++++++++++++++-
Platform/ARM/SgiPkg/Library/SgiPlatformPei/SgiPlatformPeim.c | 45 ++++++-
5 files changed, 186 insertions(+), 6 deletions(-)
Reviewed-by: Thomas Abraham <thomas.abraham@...>
Tested-by: Thomas Abraham <thomas.abraham@...>

Join devel@edk2.groups.io to automatically receive all group messages.