Re: arm64 SMP support, diff #3/5

2017-03-07 Thread Jonathan Gray
On Tue, Mar 07, 2017 at 02:28:06AM -0500, Dale Rahn wrote: > > Updated diff, this has changed a bit since the psci driver has changed. > > diff --git a/sys/dev/fdt/psci.c b/sys/dev/fdt/psci.c > index b24613a275c..2ba500ea718 100644 > --- a/sys/dev/fdt/psci.c > +++ b/sys/dev/fdt/psci.c > @@ -29,14

Re: arm64 SMP support, diff #3/5

2017-03-06 Thread Dale Rahn
On Thu, Feb 23, 2017 at 01:03:57PM +1100, Jonathan Gray wrote: > On Wed, Feb 22, 2017 at 06:45:52PM -0500, Dale Rahn wrote: > > Add psci 2.0 features to spin up/down/suspend processors. > > > > This change uses extern weak symbols to determine if the platform supports > > the

Re: arm64 SMP support, diff #3/5

2017-02-22 Thread Dale Rahn
On Thu, Feb 23, 2017 at 01:03:57PM +1100, Jonathan Gray wrote: > On Wed, Feb 22, 2017 at 06:45:52PM -0500, Dale Rahn wrote: > > Add psci 2.0 features to spin up/down/suspend processors. > > > > This change uses extern weak symbols to determine if the platform supports > > the

Re: arm64 SMP support, diff #3/5

2017-02-22 Thread Jonathan Gray
On Wed, Feb 22, 2017 at 06:45:52PM -0500, Dale Rahn wrote: > Add psci 2.0 features to spin up/down/suspend processors. > > This change uses extern weak symbols to determine if the platform supports > the cpu_on/cpu_off/cpu_suspend features. If available, it saves the fdt > provided argument

arm64 SMP support, diff #3/5

2017-02-22 Thread Dale Rahn
Add psci 2.0 features to spin up/down/suspend processors. This change uses extern weak symbols to determine if the platform supports the cpu_on/cpu_off/cpu_suspend features. If available, it saves the fdt provided argument values. Some PSCI calls will return an int status, so the callfn has been