linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* LSK merge linux-stable review
       [not found] ` <52CF61CC.40305@linaro.org>
@ 2014-01-10 10:56   ` Catalin Marinas
  2014-01-10 15:31     ` Alex Shi
       [not found]   ` <CADRr18M=sNsSD1PtoPeQw+DuQtn=p2uwFOLjEE-ztea3SnFHEQ@mail.gmail.com>
  1 sibling, 1 reply; 10+ messages in thread
From: Catalin Marinas @ 2014-01-10 10:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 10, 2014 at 02:58:20AM +0000, Alex Shi wrote:
> commit 450cdfa9c5713551ab1438ab210679868b52a994
> Merge: bf78886 8b4ed85
> Author: Alex Shi <alex.shi@linaro.org>
> Date:   Fri Jan 10 10:50:57 2014 +0800
> 
>     Merge remote-tracking branch 'stable/linux-3.10.y' into linux-linaro-lsk
>     
>     Conflicts:
>         arch/arm64/kernel/smp.c
>     
>     Signed-off-by: Alex Shi <alex.shi@linaro.org>
> 
> diff --cc arch/arm64/kernel/smp.c
> index 5e9d274,9c93e12..87340fd
> --- a/arch/arm64/kernel/smp.c
> +++ b/arch/arm64/kernel/smp.c
> @@@ -150,17 -187,17 +150,10 @@@ asmlinkage void __cpuinit secondary_sta
>         preempt_disable();
>         trace_hardirqs_off();
>   
>  -      /*
>  -       * Let the primary processor know we're out of the
>  -       * pen, then head off into the C entry point
>  -       */
>  -      write_pen_release(INVALID_HWID);
>  +      if (cpu_ops[cpu]->cpu_postboot)
>  +              cpu_ops[cpu]->cpu_postboot();
>   
> --      /*
> -        * Enable local interrupts.
> -        */
> -       notify_cpu_starting(cpu);

This kind of diff always confuses me but notify_cpu_starting() should be
present in the resulting file. Is it further down?

-- 
Catalin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-10 10:56   ` LSK merge linux-stable review Catalin Marinas
@ 2014-01-10 15:31     ` Alex Shi
  2014-01-10 16:32       ` Catalin Marinas
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Shi @ 2014-01-10 15:31 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/10/2014 06:56 PM, Catalin Marinas wrote:
> On Fri, Jan 10, 2014 at 02:58:20AM +0000, Alex Shi wrote:
>> commit 450cdfa9c5713551ab1438ab210679868b52a994
>> Merge: bf78886 8b4ed85
>> Author: Alex Shi <alex.shi@linaro.org>
>> Date:   Fri Jan 10 10:50:57 2014 +0800
>>
>>     Merge remote-tracking branch 'stable/linux-3.10.y' into linux-linaro-lsk
>>     
>>     Conflicts:
>>         arch/arm64/kernel/smp.c
>>     
>>     Signed-off-by: Alex Shi <alex.shi@linaro.org>
>>
>> diff --cc arch/arm64/kernel/smp.c
>> index 5e9d274,9c93e12..87340fd
>> --- a/arch/arm64/kernel/smp.c
>> +++ b/arch/arm64/kernel/smp.c
>> @@@ -150,17 -187,17 +150,10 @@@ asmlinkage void __cpuinit secondary_sta
>>         preempt_disable();
>>         trace_hardirqs_off();
>>   
>>  -      /*
>>  -       * Let the primary processor know we're out of the
>>  -       * pen, then head off into the C entry point
>>  -       */
>>  -      write_pen_release(INVALID_HWID);
>>  +      if (cpu_ops[cpu]->cpu_postboot)
>>  +              cpu_ops[cpu]->cpu_postboot();
>>   
>> --      /*
>> -        * Enable local interrupts.
>> -        */
>> -       notify_cpu_starting(cpu);
> 
> This kind of diff always confuses me but notify_cpu_starting() should be
> present in the resulting file. Is it further down?
> 

the first column '-/+' means contents was removed/added from file
5e9d274. the 2nd column '-/+' means contents was removed/added from file
9c93e12.

Yes, The notify_cpu_starting kept in final file later.

-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
       [not found]   ` <CADRr18M=sNsSD1PtoPeQw+DuQtn=p2uwFOLjEE-ztea3SnFHEQ@mail.gmail.com>
@ 2014-01-10 15:51     ` Alex Shi
  2014-01-10 15:53       ` Alex Shi
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Shi @ 2014-01-10 15:51 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/10/2014 06:41 PM, Mark Brown wrote:
> On 10 January 2014 02:58, Alex Shi <alex.shi@linaro.org
> <mailto:alex.shi@linaro.org>> wrote:
> 
>     Mark & Catalin,
> 
>     Could you like to review the merge conflict patch, which at:
>     git://git.linaro.org/kernel/linux-linaro-stable.git
>     <http://git.linaro.org/kernel/linux-linaro-stable.git>
>     linux-linaro-lsk-test
> 
> 
> This looks good (if nothing else it ends up with the same thing we have
> in mainline) providing it tests out OK.

Thanks for review. The build for -test branch is fine. guess that means
compile and reboot is fine.
But test result link still can not show test cases results. :(

https://ci.linaro.org/jenkins/job/linux-linaro-stable-lsk-pre-merge/

-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-10 15:51     ` Alex Shi
@ 2014-01-10 15:53       ` Alex Shi
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Shi @ 2014-01-10 15:53 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/10/2014 11:51 PM, Alex Shi wrote:
> On 01/10/2014 06:41 PM, Mark Brown wrote:
>> On 10 January 2014 02:58, Alex Shi <alex.shi@linaro.org
>> <mailto:alex.shi@linaro.org>> wrote:
>>
>>     Mark & Catalin,
>>
>>     Could you like to review the merge conflict patch, which at:
>>     git://git.linaro.org/kernel/linux-linaro-stable.git
>>     <http://git.linaro.org/kernel/linux-linaro-stable.git>
>>     linux-linaro-lsk-test
>>
>>
>> This looks good (if nothing else it ends up with the same thing we have
>> in mainline) providing it tests out OK.
> 
> Thanks for review. The build for -test branch is fine. guess that means
> compile and reboot is fine.

Anyway, I updated this merge into lsk.
> But test result link still can not show test cases results. :(
> 
> https://ci.linaro.org/jenkins/job/linux-linaro-stable-lsk-pre-merge/
> 


-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-10 15:31     ` Alex Shi
@ 2014-01-10 16:32       ` Catalin Marinas
  2014-01-11  1:35         ` Alex Shi
  0 siblings, 1 reply; 10+ messages in thread
From: Catalin Marinas @ 2014-01-10 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 10, 2014 at 03:31:00PM +0000, Alex Shi wrote:
> On 01/10/2014 06:56 PM, Catalin Marinas wrote:
> > On Fri, Jan 10, 2014 at 02:58:20AM +0000, Alex Shi wrote:
> >> commit 450cdfa9c5713551ab1438ab210679868b52a994
> >> Merge: bf78886 8b4ed85
> >> Author: Alex Shi <alex.shi@linaro.org>
> >> Date:   Fri Jan 10 10:50:57 2014 +0800
> >>
> >>     Merge remote-tracking branch 'stable/linux-3.10.y' into linux-linaro-lsk
> >>     
> >>     Conflicts:
> >>         arch/arm64/kernel/smp.c
> >>     
> >>     Signed-off-by: Alex Shi <alex.shi@linaro.org>
> >>
> >> diff --cc arch/arm64/kernel/smp.c
> >> index 5e9d274,9c93e12..87340fd
> >> --- a/arch/arm64/kernel/smp.c
> >> +++ b/arch/arm64/kernel/smp.c
> >> @@@ -150,17 -187,17 +150,10 @@@ asmlinkage void __cpuinit secondary_sta
> >>         preempt_disable();
> >>         trace_hardirqs_off();
> >>   
> >>  -      /*
> >>  -       * Let the primary processor know we're out of the
> >>  -       * pen, then head off into the C entry point
> >>  -       */
> >>  -      write_pen_release(INVALID_HWID);
> >>  +      if (cpu_ops[cpu]->cpu_postboot)
> >>  +              cpu_ops[cpu]->cpu_postboot();
> >>   
> >> --      /*
> >> -        * Enable local interrupts.
> >> -        */
> >> -       notify_cpu_starting(cpu);
> > 
> > This kind of diff always confuses me but notify_cpu_starting() should be
> > present in the resulting file. Is it further down?
> > 
> 
> the first column '-/+' means contents was removed/added from file
> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
> 9c93e12.
> 
> Yes, The notify_cpu_starting kept in final file later.

Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
enabling of GIC before CPUs are set online)

-- 
Catalin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-10 16:32       ` Catalin Marinas
@ 2014-01-11  1:35         ` Alex Shi
  2014-01-13 15:55           ` Catalin Marinas
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Shi @ 2014-01-11  1:35 UTC (permalink / raw)
  To: linux-arm-kernel


>>
>> the first column '-/+' means contents was removed/added from file
>> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
>> 9c93e12.
>>
>> Yes, The notify_cpu_starting kept in final file later.
> 
> Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
> enabling of GIC before CPUs are set online)
> 

Give you the part of modified smp.c file here :)
====

        printk("CPU%u: Booted secondary processor\n", cpu);

        /*
         * All kernel threads share the same mm context; grab a
         * reference and switch to it.
         */
        atomic_inc(&mm->mm_count);
        current->active_mm = mm;
        cpumask_set_cpu(cpu, mm_cpumask(mm));

        /*
         * TTBR0 is only used for the identity mapping at this stage. Make it
         * point to zero page to avoid speculatively fetching new entries.
         */
        cpu_set_reserved_ttbr0();
        flush_tlb_all();

        preempt_disable();
        trace_hardirqs_off();

        if (cpu_ops[cpu]->cpu_postboot)
                cpu_ops[cpu]->cpu_postboot();

        smp_store_cpu_info(cpu);

        /*
         * OK, now it's safe to let the boot CPU continue.  Wait for
         * the CPU migration code to notice that the CPU is online
         * before we continue.
         */
        set_cpu_online(cpu, true);
        complete(&cpu_running);

        /*
         * Enable GIC and timers.
         */
        notify_cpu_starting(cpu);

        local_irq_enable();
        local_fiq_enable();

        /*
         * OK, it's off to the idle thread for us
         */
        cpu_startup_entry(CPUHP_ONLINE);
}

-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-11  1:35         ` Alex Shi
@ 2014-01-13 15:55           ` Catalin Marinas
  2014-01-14  0:32             ` Alex Shi
  0 siblings, 1 reply; 10+ messages in thread
From: Catalin Marinas @ 2014-01-13 15:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Jan 11, 2014 at 01:35:52AM +0000, Alex Shi wrote:
> 
> >>
> >> the first column '-/+' means contents was removed/added from file
> >> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
> >> 9c93e12.
> >>
> >> Yes, The notify_cpu_starting kept in final file later.
> > 
> > Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
> > enabling of GIC before CPUs are set online)
> 
> Give you the part of modified smp.c file here :)

As I said, you may want to cherry pick 7ade67b5984d0a. It comes in handy
with GICv3 support (if you later plan to back-port it to this version of
LSK).

-- 
Catalin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-13 15:55           ` Catalin Marinas
@ 2014-01-14  0:32             ` Alex Shi
  2014-01-14  9:45               ` Catalin Marinas
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Shi @ 2014-01-14  0:32 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/13/2014 11:55 PM, Catalin Marinas wrote:
> On Sat, Jan 11, 2014 at 01:35:52AM +0000, Alex Shi wrote:
>>
>>>>
>>>> the first column '-/+' means contents was removed/added from file
>>>> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
>>>> 9c93e12.
>>>>
>>>> Yes, The notify_cpu_starting kept in final file later.
>>>
>>> Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
>>> enabling of GIC before CPUs are set online)
>>
>> Give you the part of modified smp.c file here :)
> 
> As I said, you may want to cherry pick 7ade67b5984d0a. It comes in handy
> with GICv3 support (if you later plan to back-port it to this version of
> LSK).
> 

Sorry for not make it clear.
We had picked up 7ade67b5984d0a as I showed the contents of function
secondary_start_kernel().

-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-14  0:32             ` Alex Shi
@ 2014-01-14  9:45               ` Catalin Marinas
  2014-01-14 10:20                 ` Alex Shi
  0 siblings, 1 reply; 10+ messages in thread
From: Catalin Marinas @ 2014-01-14  9:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jan 14, 2014 at 12:32:06AM +0000, Alex Shi wrote:
> On 01/13/2014 11:55 PM, Catalin Marinas wrote:
> > On Sat, Jan 11, 2014 at 01:35:52AM +0000, Alex Shi wrote:
> >>>> the first column '-/+' means contents was removed/added from file
> >>>> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
> >>>> 9c93e12.
> >>>>
> >>>> Yes, The notify_cpu_starting kept in final file later.
> >>>
> >>> Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
> >>> enabling of GIC before CPUs are set online)
> >>
> >> Give you the part of modified smp.c file here :)
> > 
> > As I said, you may want to cherry pick 7ade67b5984d0a. It comes in handy
> > with GICv3 support (if you later plan to back-port it to this version of
> > LSK).
> 
> Sorry for not make it clear.
> We had picked up 7ade67b5984d0a as I showed the contents of function
> secondary_start_kernel().

I don't think you picked it since this commit moves
notify_cpu_starting() before set_cpu_online() which is not the case for
the code you pasted.

-- 
Catalin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* LSK merge linux-stable review
  2014-01-14  9:45               ` Catalin Marinas
@ 2014-01-14 10:20                 ` Alex Shi
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Shi @ 2014-01-14 10:20 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/14/2014 05:45 PM, Catalin Marinas wrote:
> On Tue, Jan 14, 2014 at 12:32:06AM +0000, Alex Shi wrote:
>> On 01/13/2014 11:55 PM, Catalin Marinas wrote:
>>> On Sat, Jan 11, 2014 at 01:35:52AM +0000, Alex Shi wrote:
>>>>>> the first column '-/+' means contents was removed/added from file
>>>>>> 5e9d274. the 2nd column '-/+' means contents was removed/added from file
>>>>>> 9c93e12.
>>>>>>
>>>>>> Yes, The notify_cpu_starting kept in final file later.
>>>>>
>>>>> Just make sure it is in line with commit 7ade67b5984d0a (arm64: move
>>>>> enabling of GIC before CPUs are set online)
>>>>
>>>> Give you the part of modified smp.c file here :)
>>>
>>> As I said, you may want to cherry pick 7ade67b5984d0a. It comes in handy
>>> with GICv3 support (if you later plan to back-port it to this version of
>>> LSK).
>>
>> Sorry for not make it clear.
>> We had picked up 7ade67b5984d0a as I showed the contents of function
>> secondary_start_kernel().
> 
> I don't think you picked it since this commit moves
> notify_cpu_starting() before set_cpu_online() which is not the case for
> the code you pasted.
> 

Ops, my stupid mistaken. Just cherry-picked this patch into lsk.

Thanks again!

-- 
Thanks
    Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-14 10:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20140110013011.GA6447@alex-shi>
     [not found] ` <52CF61CC.40305@linaro.org>
2014-01-10 10:56   ` LSK merge linux-stable review Catalin Marinas
2014-01-10 15:31     ` Alex Shi
2014-01-10 16:32       ` Catalin Marinas
2014-01-11  1:35         ` Alex Shi
2014-01-13 15:55           ` Catalin Marinas
2014-01-14  0:32             ` Alex Shi
2014-01-14  9:45               ` Catalin Marinas
2014-01-14 10:20                 ` Alex Shi
     [not found]   ` <CADRr18M=sNsSD1PtoPeQw+DuQtn=p2uwFOLjEE-ztea3SnFHEQ@mail.gmail.com>
2014-01-10 15:51     ` Alex Shi
2014-01-10 15:53       ` Alex Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).