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 Pass full mpidr (instead of just aff0) to p...



details:   https://anonhg.NetBSD.org/src/rev/06b3513bb6d1
branches:  trunk
changeset: 365286:06b3513bb6d1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Aug 10 22:34:36 2018 +0000

description:
Pass full mpidr (instead of just aff0) to psci_cpu_on

diffstat:

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

diffs (27 lines):

diff -r e08df1a2b00a -r 06b3513bb6d1 sys/arch/arm/fdt/psci_fdt.c
--- a/sys/arch/arm/fdt/psci_fdt.c       Fri Aug 10 21:48:19 2018 +0000
+++ b/sys/arch/arm/fdt/psci_fdt.c       Fri Aug 10 22:34:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psci_fdt.c,v 1.10 2018/07/16 23:11:47 christos Exp $ */
+/* $NetBSD: psci_fdt.c,v 1.11 2018/08/10 22:34:36 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.10 2018/07/16 23:11:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.11 2018/08/10 22:34:36 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -218,7 +218,7 @@
                        continue;
 
                const u_int cpuid = __SHIFTOUT(mpidr, MPIDR_AFF0);
-               int ret = psci_cpu_on(cpuid, psci_fdt_mpstart_pa(), 0);
+               int ret = psci_cpu_on(mpidr, psci_fdt_mpstart_pa(), 0);
                if (ret == PSCI_SUCCESS)
                        started |= __BIT(cpuid);
        }



Home | Main Index | Thread Index | Old Index