From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web10.15109.1672846669833406244 for ; Wed, 04 Jan 2023 07:37:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C7o0j+Up; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: quicinc.com, ip: 205.220.168.131, mailfrom: quic_rcran@quicinc.com) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 304De5KX025139; Wed, 4 Jan 2023 15:37:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=zoMA5dIxokpBzJuBS9mL1JYj3h25n3M5X3VqC8oPlNU=; b=C7o0j+UpphyMh0f1DT8+PR57X+m/fNiuRNVYQ8gQbuOmi4biRX07qqf5sP2lye4QRL0r kCZ4HymGbiKNE6oOZJvhpiUcifoEjgjJuKJ+1giFnEL0WttaKQ2jt+S7AbZD5doUf7x1 rzTNCRnjbld/MToXGUvDRy6B6Vqs3rTIJ8bkvbH+cpt3gRbexXitgQFazz9TVxlvk5gO tRZoCBGslcoUoAlzfsP2xBS2279Qpem3DFVMOKvAgc0ZyMGdVjkbbzS5A7dr5NeLS1wz qkgfxz8Op00X7/y1CN4aqnONA4wfsRRwRr0F35eCSgos0C4cToez0+qUpU4067wHWCbA 3A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mvsvgt3wx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Jan 2023 15:37:40 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 304Fbdct011157 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Jan 2023 15:37:39 GMT Received: from linbox.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 4 Jan 2023 07:37:38 -0800 From: Rebecca Cran To: , Sami Mujawar , "Ard Biesheuvel" , Leif Lindholm , Jian J Wang , Liming Gao , Tiger Liu CC: Rebecca Cran Subject: [PATCH v4 0/3] ArmPkg,MdeModulePkg: Implement EFI_MP_SERVICES_PROTOCOL for AArch64 and add an MpServicesTest application to exercise it Date: Wed, 4 Jan 2023 08:37:24 -0700 Message-ID: <20230104153727.345236-1-rebecca@quicinc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: fOhXm6nx8srfC_nKgOoOipwwzLFkELT9 X-Proofpoint-ORIG-GUID: fOhXm6nx8srfC_nKgOoOipwwzLFkELT9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-04_07,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=592 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxscore=0 malwarescore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301040130 Content-Transfer-Encoding: 8bit Content-Type: text/plain Implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls for AArch64, and add an MpServicesTest application to exercise it. Changes from v3: Removed Ard's 'Reviewed-by' line from the commits since the code has changed sufficiently that it's no longer valid. Rebecca Cran (3): ArmPkg: Add GET_MPIDR_AFFINITY_BITS and MPIDR_MT_BIT to ArmLib.h ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls MdeModulePkg: Add new Application/MpServicesTest application ArmPkg/ArmPkg.dsc | 1 + MdeModulePkg/MdeModulePkg.dsc | 2 + ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf | 56 + MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf | 40 + ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h | 344 ++++ ArmPkg/Include/Library/ArmLib.h | 16 +- MdeModulePkg/Application/MpServicesTest/Options.h | 39 + ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c | 1847 ++++++++++++++++++++ MdeModulePkg/Application/MpServicesTest/MpServicesTest.c | 560 ++++++ MdeModulePkg/Application/MpServicesTest/Options.c | 164 ++ ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S | 57 + 11 files changed, 3119 insertions(+), 7 deletions(-) create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf create mode 100644 MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h create mode 100644 MdeModulePkg/Application/MpServicesTest/Options.h create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c create mode 100644 MdeModulePkg/Application/MpServicesTest/MpServicesTest.c create mode 100644 MdeModulePkg/Application/MpServicesTest/Options.c create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S -- 2.30.2