Re: [PATCH v4 13/25] x86: mp: Allow running functions on multiple CPUs

2020-07-13 Thread Simon Glass
Hi Bin, On Sun, 12 Jul 2020 at 22:56, Bin Meng wrote: > > Hi Simon, > > On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > > > Add a way to run a function on a selection of CPUs. This supports either > > a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel > > terminology. >

Re: [PATCH v4 13/25] x86: mp: Allow running functions on multiple CPUs

2020-07-12 Thread Bin Meng
Hi Simon, On Wed, Jul 8, 2020 at 9:37 AM Simon Glass wrote: > > Add a way to run a function on a selection of CPUs. This supports either > a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel > terminology. > > It works by writing into a mailbox and then waiting for the CPUs to n

[PATCH v4 13/25] x86: mp: Allow running functions on multiple CPUs

2020-07-07 Thread Simon Glass
Add a way to run a function on a selection of CPUs. This supports either a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel terminology. It works by writing into a mailbox and then waiting for the CPUs to notice it, take action and indicate they are done. When SMP is not yet en