Re: [PATCH v3 12/12] RISC-V: Support cpu hotplug.

2018-09-11 Thread Atish Patra
On 9/6/18 11:25 AM, Atish Patra wrote: On 9/6/18 3:21 AM, Mark Rutland wrote: Hi, On Thu, Sep 06, 2018 at 01:05:35AM -0700, Atish Patra wrote: This patch enable support for cpu hotplug in RISC-V. In absence of generic cpu stop functions, WFI is used to put the cpu in low power state during of

Re: [PATCH v3 12/12] RISC-V: Support cpu hotplug.

2018-09-06 Thread Atish Patra
On 9/6/18 3:21 AM, Mark Rutland wrote: Hi, On Thu, Sep 06, 2018 at 01:05:35AM -0700, Atish Patra wrote: This patch enable support for cpu hotplug in RISC-V. In absence of generic cpu stop functions, WFI is used to put the cpu in low power state during offline. An IPI is sent to bring it out of

Re: [PATCH v3 12/12] RISC-V: Support cpu hotplug.

2018-09-06 Thread Mark Rutland
Hi, On Thu, Sep 06, 2018 at 01:05:35AM -0700, Atish Patra wrote: > This patch enable support for cpu hotplug in RISC-V. > > In absence of generic cpu stop functions, WFI is used > to put the cpu in low power state during offline. An IPI > is sent to bring it out of WFI during online operation. A

[PATCH v3 12/12] RISC-V: Support cpu hotplug.

2018-09-06 Thread Atish Patra
This patch enable support for cpu hotplug in RISC-V. In absence of generic cpu stop functions, WFI is used to put the cpu in low power state during offline. An IPI is sent to bring it out of WFI during online operation. Tested both on QEMU and HighFive Unleashed board with 4 cpus. Test result fol