lkml.org 
[lkml]   [2020]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 16/23] kvm: arm64: Forward safe PSCI SMCs coming from host
On Fri, Nov 27, 2020 at 10:14:33AM +0000, Lorenzo Pieralisi wrote:
> On Thu, Nov 26, 2020 at 03:54:14PM +0000, David Brazdil wrote:
> > Forward the following PSCI SMCs issued by host to EL3 as they do not
> > require the hypervisor's intervention. This assumes that EL3 correctly
> > implements the PSCI specification.
> >
> > Only function IDs implemented in Linux are included.
> >
> > Where both 32-bit and 64-bit variants exist, it is assumed that the host
> > will always use the 64-bit variant.
> >
> > * SMCs that only return information about the system
> > * PSCI_VERSION - PSCI version implemented by EL3
> > * PSCI_FEATURES - optional features supported by EL3
> > * AFFINITY_INFO - power state of core/cluster
> > * MIGRATE_INFO_TYPE - whether Trusted OS can be migrated
> > * MIGRATE_INFO_UP_CPU - resident core of Trusted OS
> > * operations which do not affect the hypervisor
> > * MIGRATE - migrate Trusted OS to a different core
> > * SET_SUSPEND_MODE - toggle OS-initiated mode
> > * system shutdown/reset
> > * SYSTEM_OFF
> > * SYSTEM_RESET
> > * SYSTEM_RESET2
>
> What about SYSTEM_SUSPEND ?
Oops, forgot that one. Will add a handler similar to CPU_SUSPEND.

\
 
 \ /
  Last update: 2020-12-02 18:51    [W:0.081 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site