From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Fri, 8 Jan 2016 11:19:55 +0100 Subject: [U-Boot] [PATCH v7 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure In-Reply-To: <568EDB1A.9030707@gmail.com> References: <1444841757-28043-1-git-send-email-s.temerkhanov@gmail.com> <1444841757-28043-4-git-send-email-s.temerkhanov@gmail.com> <568D10E5.4060005@gmail.com> <568E7F0F.5000001@xilinx.com> <568EDB1A.9030707@gmail.com> Message-ID: <568F8D4B.8030905@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7.1.2016 22:39, Mateusz Kulikowski wrote: > On 07.01.2016 16:06, Michal Simek wrote: >> On 6.1.2016 14:04, Mateusz Kulikowski wrote: >>> On 14.10.2015 18:55, Sergey Temerkhanov wrote: > [...] > >>> >>> Idea: perhaps after this series is merged we can add 2 new commands to u-boot (SMC/HVC) to >>> play with hypervisors/secure monitors (and perhaps use some simple functionality if needed). > >> How this should look like? > > I thought of something like this (I did such code few times): > > u-boot> smc 42 42 42 42 42 42 > ret => (0x1, 0x2, 0x3, 0x4) > > Or something similar (perhaps setting env variables so return value can be used in scripts) I have no problem with that. M