RE: RE: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-07-03 Thread 刘炜
Färber [mailto:afaer...@suse.de] Sent: Sunday, July 02, 2017 3:57 AM To: 刘炜 Cc: Arnd Bergmann; Thomas Liau; Linux ARM; mp-cs; 张东风; 张天益; 96boa...@ucrobotics.com; supp...@lemaker.org; Linux Kernel Mailing List; Russell King Subject: Re: 答复: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for

Re: 答复: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-07-01 Thread Andreas Färber
Hi David, Am 01.07.2017 um 06:42 schrieb 刘炜: > OWL_CPUx_ADDR is the physical address of CPUx wakeup function. > OWL_CPUx_FLAG is a valid flag of OWL_CPUx_ADDR. > > After CPUxs are wakeuped by SEV instruction, they will check their own > OWL_CPUx_FLAG register. If the register vlaue is 0x55aa, C

答复: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-30 Thread 刘炜
[mailto:afaer...@suse.de] 发送时间: 2017年6月29日 23:22 收件人: Arnd Bergmann; Thomas Liau 抄送: Linux ARM; mp-cs; 张东风; 刘炜; 张天益; 96boa...@ucrobotics.com; supp...@lemaker.org; Linux Kernel Mailing List; Russell King 主题: Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500 Am 29.06.2017 um 17:07 schrieb

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-29 Thread Arnd Bergmann
On Thu, Jun 29, 2017 at 5:22 PM, Andreas Färber wrote: > Am 29.06.2017 um 17:07 schrieb Arnd Bergmann: >> >> It seems you missed my question here. Can you please follow up, and >> if possible send a patch to remove the pen_release logic that appears >> to be unnecessary here? > > I do not have any

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-29 Thread Andreas Färber
Am 29.06.2017 um 17:07 schrieb Arnd Bergmann: >>> +static int s500_smp_boot_secondary(unsigned int cpu, struct task_struct >>> *idle) >>> +{ >>> + unsigned long timeout; >>> + int ret; >>> + >>> + ret = s500_wakeup_secondary(cpu); >>> + if (ret) >>> + return r

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-29 Thread Arnd Bergmann
>> +static int s500_smp_boot_secondary(unsigned int cpu, struct task_struct >> *idle) >> +{ >> + unsigned long timeout; >> + int ret; >> + >> + ret = s500_wakeup_secondary(cpu); >> + if (ret) >> + return ret; >> + >> + udelay(10); >> + >> + spin_lo

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-21 Thread Arnd Bergmann
On Wed, Jun 21, 2017 at 6:48 PM, Andreas Färber wrote: > Am 21.06.2017 um 12:25 schrieb Arnd Bergmann: >> On Wed, Jun 21, 2017 at 10:16 AM, Arnd Bergmann wrote: >>> On Tue, Jun 6, 2017 at 2:54 AM, Andreas Färber wrote: Allow to bring up CPU1. Based on LeMaker linux-actions tree. >

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-21 Thread Andreas Färber
Am 21.06.2017 um 12:25 schrieb Arnd Bergmann: > On Wed, Jun 21, 2017 at 10:16 AM, Arnd Bergmann wrote: >> On Tue, Jun 6, 2017 at 2:54 AM, Andreas Färber wrote: >>> Allow to bring up CPU1. >>> >>> Based on LeMaker linux-actions tree. >>> >>> Signed-off-by: Andreas Färber >>> --- >>> v3 -> v4: Un

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-21 Thread Arnd Bergmann
On Wed, Jun 21, 2017 at 10:16 AM, Arnd Bergmann wrote: > On Tue, Jun 6, 2017 at 2:54 AM, Andreas Färber wrote: >> Allow to bring up CPU1. >> >> Based on LeMaker linux-actions tree. >> >> Signed-off-by: Andreas Färber >> --- >> v3 -> v4: Unchanged >> >> v3: new >> >> arch/arm/mach-actions/Make

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-21 Thread Arnd Bergmann
On Tue, Jun 6, 2017 at 2:54 AM, Andreas Färber wrote: > Allow to bring up CPU1. > > Based on LeMaker linux-actions tree. > > Signed-off-by: Andreas Färber > --- > v3 -> v4: Unchanged > > v3: new > > arch/arm/mach-actions/Makefile | 3 + > arch/arm/mach-actions/headsmp.S | 68 ++

Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-18 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > Allow to bring up CPU1. > > Based on LeMaker linux-actions tree. > > Signed-off-by: Andreas Färber > --- > v3 -> v4: Unchanged > > v3: new > > arch/arm/mach-actions/Makefile | 3 + > arch/arm/mach-actions/headsmp.S | 68

[PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500

2017-06-05 Thread Andreas Färber
Allow to bring up CPU1. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber --- v3 -> v4: Unchanged v3: new arch/arm/mach-actions/Makefile | 3 + arch/arm/mach-actions/headsmp.S | 68 arch/arm/mach-actions/platsmp.c | 166 +++