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.10272.1685706059130635232 for ; Fri, 02 Jun 2023 04:40:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=I5eTZPLQ; 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_llindhol@quicinc.com) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 352BetuH025438; Fri, 2 Jun 2023 11:40:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=KGILUedAqI1Q6z5FWqGpMNwFZ7SUdZ3I16ZUZAp00GE=; b=I5eTZPLQkGxJbJIatVu0CEE69tQArk/WbVvGLeZevzuMALDre+OPv+k/8p5ZLfT5mxhp jNLOKTWE770muKmrzjFZmzk6k9ww6Qb2ls1YhCcsjjSvM0r/waIkxp47pqm7ZNWTN+yw q7gonBzAVPzoOZOiT0DIEZwKSAO90F8Kz/na5e20yLXejqhZzhlrSvpWuLTj5FTgo3Fw q5mpNj4IQzGj5yPZT+5v0xAY7Ga/kFEcMQF6xyn8ZXnH8uFHIET9kSyYb6zF+wWWkGRk rSvctX/+9Akndt+Q6+pQkXWHxU6HrdbH0tKpVySQqu/ol2DUOJGZynzqpSMq7jGEaf1M Bg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qyb5f8kg5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Jun 2023 11:40:55 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 352Besm4004273 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Jun 2023 11:40:54 GMT Received: from qc-i7.hemma.eciton.net (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 2 Jun 2023 04:40:53 -0700 Date: Fri, 2 Jun 2023 12:40:49 +0100 From: "Leif Lindholm" To: Marcin Juszkiewicz CC: , Ard Biesheuvel , Sami Mujawar Subject: Re: [PATCH v2 1/1] ArmPkg: add SMC defines for SiP service calls Message-ID: References: <20230601171425.314391-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 In-Reply-To: <20230601171425.314391-1-marcin.juszkiewicz@linaro.org> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: wP58Ou25ejSwXD_X_xNrb0r1MlH7AmHy X-Proofpoint-GUID: wP58Ou25ejSwXD_X_xNrb0r1MlH7AmHy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-02_08,2023-06-02_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 suspectscore=0 spamscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 phishscore=0 lowpriorityscore=0 mlxlogscore=812 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306020085 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Thu, Jun 01, 2023 at 19:14:25 +0200, Marcin Juszkiewicz wrote: > They are useful for those platforms where SMC SiP calls exist. > > Signed-off-by: Marcin Juszkiewicz Thanks, merged as 4354c22f3877. > --- > ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > index 374b9ded7f5f..616c650d07c8 100644 > --- a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > +++ b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > @@ -244,4 +244,13 @@ > #define TRNG_STATUS_INVALID_PARAMETER (INT32)(-2) > #define TRNG_STATUS_NO_ENTROPY (INT32)(-3) > > +/* > + * SMC64 SiP Service Calls > + */ > + > +#define SMC_FASTCALL 0x80000000 > +#define SMC64_FUNCTION (SMC_FASTCALL | 0x40000000) > +#define SMC_SIP_FUNCTION (SMC64_FUNCTION | 0x02000000) > +#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n)) > + > #endif // ARM_STD_SMC_H_ > -- > 2.40.1 >