Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/fdt Fix previous; PSCI_CPU_ON requires an MPIDR!



details:   https://anonhg.NetBSD.org/src/rev/d704f362593b
branches:  trunk
changeset: 835792:d704f362593b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Sep 09 13:32:26 2018 +0000

description:
Fix previous; PSCI_CPU_ON requires an MPIDR!

diffstat:

 sys/arch/arm/fdt/psci_fdt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3397d08b4fcf -r d704f362593b sys/arch/arm/fdt/psci_fdt.c
--- a/sys/arch/arm/fdt/psci_fdt.c       Sun Sep 09 13:22:50 2018 +0000
+++ b/sys/arch/arm/fdt/psci_fdt.c       Sun Sep 09 13:32:26 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psci_fdt.c,v 1.15 2018/08/26 18:15:49 ryo Exp $ */
+/* $NetBSD: psci_fdt.c,v 1.16 2018/09/09 13:32:26 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.15 2018/08/26 18:15:49 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.16 2018/09/09 13:32:26 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -216,7 +216,7 @@
                    sizeof(arm_cpu_hatch_arg));
 #endif
 
-               int ret = psci_cpu_on(cpuindex, psci_fdt_mpstart_pa(), 0);
+               int ret = psci_cpu_on(mpidr, psci_fdt_mpstart_pa(), 0);
                if (ret != PSCI_SUCCESS)
                        continue;
 



Home | Main Index | Thread Index | Old Index