From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: Notes on stubdoms and latency on ARM Date: Wed, 31 May 2017 17:53:38 +0200 Message-ID: <1496246018.6267.1.camel@citrix.com> References: <7d065c72-aaa8-fb05-11a3-97681ba29acf@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6895870656749266488==" Return-path: In-Reply-To: <7d065c72-aaa8-fb05-11a3-97681ba29acf@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: George Dunlap , Stefano Stabellini , Volodymyr Babchuk Cc: Artem_Mygaiev@epam.com, Julien Grall , xen-devel@lists.xensource.com, Andrii Anisov List-Id: xen-devel@lists.xenproject.org --===============6895870656749266488== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-95o3G6fWBnjuUWJMD1xx" --=-95o3G6fWBnjuUWJMD1xx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2017-05-31 at 10:09 +0100, George Dunlap wrote: > On 30/05/17 18:29, Stefano Stabellini wrote: > > On Fri, 26 May 2017, Volodymyr Babchuk wrote: > > > On other hand, EL0 app (as I see them) does not need such events. > > > Basically, you just call function `handle_mmio()` right in the > > > app. > > > So, apps can live without interrupts and they still be able to > > > handle > > > request. > >=20 > > That's true. >=20 > Well if they're in a separate security zone, that's not going to > work. > You have to have a defined interface between things and sanitize > inputs > between them.=C2=A0=C2=A0 > Exactly, I was about to ask almost the same thing. In fact, if you are "not" in Xen, as in, you are (and want to be there by design) in an entity that is scheduled by Xen, and runs at a different privilege level than Xen code, how come you can just call random hypervisor functions? Or am I still missing something (of either ARM in general, or of these Apps in particular)? Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-95o3G6fWBnjuUWJMD1xx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZLucDAAoJEBZCeImluHPuiTkQAOc8vtz0j/R6HeGF1Qey5D54 fxcUT6FXOcv3C0sw9ZugWpHAB4SAqKI+iIsG1bNNgjWFWQLLAniAxrpYOtSB/6gY 2mOT4Gg0ewR95EF9u5DmJn1d+ULp2WvBrlLjTmXGeAkFjDdLcWUD1maLY1I7x0vv DEDpyUtACuxy6N7OYK4zb51mplkVoL5uDbDoKXbPycy9H6Dw04ZIpYRjWsjZCkSM uw68L2MuRex1CWzAboR3TqBxk/D0GyHbs1JO9j+TMmGV6xmnKaYN4yUR1Q2LXvZk 22Tdex/QkYA38iG2Zds6rFOIRRg3LRlemyATh+Ak6Y64o8/yurq/lVdeQdA5Vcen nqHg94s8uiRPgf2AaYJJxyLit6m1V8Toc7Snug2c+axEbLe72Lr5XIThZC7Mnv66 bC91X5pnt9vi7oCbQkr9aR5IclrCSk8Zy8DCjOVC4ulPhd15BUz0nlgOeVuvQaBm LnWmZXvHST209Zc4VKBalevXrUwQJbWBqfAJWDOf7v9l9p0UWkFsliDtylzzRDzh IB1B/c59RrAdyCbMwfiX2Qam4CDuinBfJBMXu9xHZPdybIijH67S+pPJpSh5u/zY U4gjI6IM1GypGXn7O6DpTuK490qKoj6NJ6jPHQNVw++LVErfH4A/5Gd4+uhX22iO YwgXXW4JPj5yrZIvvypA =A3Be -----END PGP SIGNATURE----- --=-95o3G6fWBnjuUWJMD1xx-- --===============6895870656749266488== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============6895870656749266488==--