|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv6 25/37] plat/kvm: Get PSCI conduit method from DTB for Arm64
Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> On 14.09.2018 09:56, Wei Chen wrote: From: Wei Chen <Wei.Chen@xxxxxxx> PSCI supports two conduit method: HVC and SMC. The method would be set value in device tree's PSCI node. This value would decide which instruction we should use to call PSCI functions. We only support PSCI-1.0 and PSCI-0.2 in this stage. Signed-off-by: Wei Chen <Wei.Chen@xxxxxxx> --- plat/kvm/arm/setup.c | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/plat/kvm/arm/setup.c b/plat/kvm/arm/setup.c index 4fb6515..3927507 100644 --- a/plat/kvm/arm/setup.c +++ b/plat/kvm/arm/setup.c @@ -22,6 +22,7 @@ #include <kvm/console.h> #include <uk/assert.h> #include <kvm-arm/mm.h> +#include <arm/cpu.h> #include <uk/arch/limits.h>void *_libkvmplat_pagetable;@@ -33,6 +34,8 @@ void *_libkvmplat_dtb; #define MAX_CMDLINE_SIZE 1024 static char cmdline[MAX_CMDLINE_SIZE];+smcc_psci_callfn_t smcc_psci_call; _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |