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.web11.38299.1673150171532378649 for ; Sat, 07 Jan 2023 19:56:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nccaNqIs; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3083txY7016527; Sun, 8 Jan 2023 03:55:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=KFcqVTwdwtnVYh5iSzPVhe1F4cHyWLXNVCirsMEpmu8=; b=nccaNqIsVwfNTqWuSY30NSXNzG17UD+H3UdEottLLKklYGSSQ87Q5x14G1sMoLQcYMYf FDpIQj5s+crR7Hp/arXZjto0vV+1Kg0tHHxbsttsoADIKdfn4QWJzhkBakuBuPJgy3Lo z+0HwvHBgGcmehP63lAF5rMhXjhEa1z1OPPEcas0ah7q7ue18Q9dBU3eZZs8lP7WX/+m sMqXX8u3HZQlkJe0/MtT3z95av0K+M0r41HTPNfhPvf5rD96e3/EMSxW3/HdSUYgkX72 ptQG+FjBprwgFhLcTI26Btqvz/fcMtPuIKaMm6Sj+nBKxbESmtgxB5f7hv+OoABe0ohY eg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3my02t14n0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 08 Jan 2023 03:55:58 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3083tvJ3021096 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 8 Jan 2023 03:55:57 GMT Received: from [10.110.23.237] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sat, 7 Jan 2023 19:55:57 -0800 Message-ID: <126b9d1a-9330-828f-6043-32af7061fc9b@quicinc.com> Date: Sat, 7 Jan 2023 20:55:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v4 0/3] ArmPkg,MdeModulePkg: Implement EFI_MP_SERVICES_PROTOCOL for AArch64 and add an MpServicesTest application to exercise it To: Ard Biesheuvel CC: , Sami Mujawar , "Ard Biesheuvel" , Leif Lindholm , Jian J Wang , Liming Gao , Tiger Liu References: <20230104153727.345236-1-rebecca@quicinc.com> From: "Rebecca Cran" In-Reply-To: X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 1q4vrk3Cw3GeMWA8JdwxafrePvniMhV3 X-Proofpoint-ORIG-GUID: 1q4vrk3Cw3GeMWA8JdwxafrePvniMhV3 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-08_01,2023-01-06_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 bulkscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 mlxlogscore=986 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301080027 Content-Language: en-US Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 1/5/23 10:39, Ard Biesheuvel wrote: > So I propose adding the diff below - note that only the variables > holding TCR, MAIR and TTBR0 need cache maintenance now (in addition to > the executable image) - everything else will be accessed by the > secondaries with the MMU enabled. > > https://paste.debian.net/1266242/ > > WIth a tweak to the RPI4 platform that I sent out separately, this all > works fine for me (both with and without the diff above applied) > Sorry I didn't get around to working on this before the paste.debian.org link expired. I think I remember what the code was doing though, so I'll try and recreate it. -- Rebecca Cran