From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by mx.groups.io with SMTP id smtpd.web12.72244.1661788848776831933 for ; Mon, 29 Aug 2022 09:00:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lfZgyT03; 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.180.131, mailfrom: quic_rcran@quicinc.com) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27TFq18g020579; Mon, 29 Aug 2022 16:00:30 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=KXVkUdA1h0KccM+l5y0znuJVkvwKn/I+d5vXrCG5poQ=; b=lfZgyT039pZCIlPslWZ2d/H7XMqEUiDNIPAiobnstSsRJBek2rTUqyR3v3LpEqtcxa4W RSCRivLnymSDyauU4u8nW9zuRYjnAHqsaJNd1mywLqDKG++bMxBRk/1iBAYut/ENRKqO 6j29KkfQQc1NFVlNYBg+M+MGZqAa3S8eplpCoDt0Xj08SacbBPC4I5KKRHn0WwZWLJy8 BF06hOlm2cnP/w4Hoi//6DqUf959H2fuc7chrsSZJ+NDSGKxBsATY7AZj2/Y+qdsELVr FEMD0suE+FvK8Bwh48Oh85Y6V5ifyjWsvoe+c2z4pMK59h5W5zmj5pRfuQGJRdJLdmTX eQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j8x1j0jjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Aug 2022 16:00:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27TG0Tcp021349 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Aug 2022 16:00:29 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.29; Mon, 29 Aug 2022 09:00:27 -0700 From: "Rebecca Cran" To: , Leif Lindholm , "Ard Biesheuvel" , Sami Mujawar , Jian J Wang , Liming Gao CC: Rebecca Cran Subject: [PATCH 0/2] Add support EFI_MP_SERVICES_PROTOCOL on AARCH64 Date: Mon, 29 Aug 2022 09:59:53 -0600 Message-ID: <20220829155955.3767-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: RpmaR4Nx-j_Mu2EjUB1yEYs2pNX_niRa X-Proofpoint-ORIG-GUID: RpmaR4Nx-j_Mu2EjUB1yEYs2pNX_niRa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-29_07,2022-08-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1011 bulkscore=0 mlxscore=0 mlxlogscore=791 lowpriorityscore=0 adultscore=0 impostorscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208290075 Content-Transfer-Encoding: 8bit Content-Type: text/plain This is the rework of the patches I sent out in late 2021, building on fixes done by Ard at https://github.com/ardbiesheuvel/edk2/tree/armpkg-mpservicesdxe-refactor. The most significant changes are the addition of code to enable the MMU and caches on the APs, and changing MpServicesTest to use commandline parameters to control its operation. Rebecca Cran (2): ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls MdeModulePkg: Add new Application/MpServicesTest application ArmPkg/ArmPkg.dsc | 1 + MdeModulePkg/MdeModulePkg.dsc | 9 + ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf | 55 + MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf | 41 + ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h | 351 ++++ MdeModulePkg/Application/MpServicesTest/Options.h | 39 + ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c | 1774 ++++++++++++++++++++ MdeModulePkg/Application/MpServicesTest/MpServicesTest.c | 558 ++++++ MdeModulePkg/Application/MpServicesTest/Options.c | 215 +++ ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S | 57 + 10 files changed, 3100 insertions(+) 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