Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2022 08:57:47 +0000
From:      Souradeep Chakrabarti <schakrabarti@microsoft.com>
To:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>, Andrew Turner <andrew@freebsd.org>
Cc:        Wei Hu <weh@microsoft.com>
Subject:   SMCCC v1.1 compliant HVC call
Message-ID:  <PSAP153MB05364B5DEC6F1379B71C3758CCB99@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
--_000_PSAP153MB05364B5DEC6F1379B71C3758CCB99PSAP153MB0536APCP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Andrew,

In Linux we have SMCCC v1.1 compliant HVC call arm_smccc_1_1_hvc(), which i=
s used for SMCCC and HVC call convention.
In FreeBSD do we have something similar?

I can arm_smccc_smc() in sys/dev/psci/smccc.h, but could not find the imple=
mentation details of it. If I need to use SMCCC compliant
HVC call, what API should I use?

Thanks & Regards,
Souradeep


--_000_PSAP153MB05364B5DEC6F1379B71C3758CCB99PSAP153MB0536APCP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
 #800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Calibri" size=3D"2"><span style=3D"font-size:11pt;">
<div>Hi Andrew,</div>
<div>&nbsp;</div>
<div>In Linux we have SMCCC v1.1 compliant HVC call arm_smccc_1_1_hvc(), wh=
ich is used for SMCCC and HVC call convention.</div>
<div>In FreeBSD do we have something similar?</div>
<div>&nbsp;</div>
<div>I can arm_smccc_smc() in sys/dev/psci/smccc.h, but could not find the =
implementation details of it. If I need to use SMCCC compliant</div>
<div>HVC call, what API should I use?</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards,</div>
<div>Souradeep</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>

--_000_PSAP153MB05364B5DEC6F1379B71C3758CCB99PSAP153MB0536APCP_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAP153MB05364B5DEC6F1379B71C3758CCB99>