Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbdFUQsa (ORCPT ); Wed, 21 Jun 2017 12:48:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:55473 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752081AbdFUQs2 (ORCPT ); Wed, 21 Jun 2017 12:48:28 -0400 Subject: Re: [PATCH v4 20/28] ARM: owl: Implement CPU enable-method for S500 To: Arnd Bergmann Cc: Linux ARM , mp-cs@actions-semi.com, Thomas Liau , =?UTF-8?B?5byg5Lic6aOO?= , =?UTF-8?B?5YiY54Kc?= , =?UTF-8?B?5byg5aSp55uK?= , 96boards@ucrobotics.com, support@lemaker.org, Linux Kernel Mailing List , Russell King References: <20170606005426.26446-1-afaerber@suse.de> <20170606005426.26446-21-afaerber@suse.de> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Linux GmbH Message-ID: <333b3b63-f3c6-f449-40f0-69c294f4fb7a@suse.de> Date: Wed, 21 Jun 2017 18:48:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2027 Lines: 62 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: Unchanged >>> >>> v3: new >>> >>> arch/arm/mach-actions/Makefile | 3 + >>> arch/arm/mach-actions/headsmp.S | 68 ++++++++++++++++ >>> arch/arm/mach-actions/platsmp.c | 166 ++++++++++++++++++++++++++++++++++++++++ >> >> I now see build errors in linux-next: >> >> /git/arm-soc/arch/arm/mach-actions/platsmp.c: In function 'write_pen_release': >> /git/arm-soc/arch/arm/mach-actions/platsmp.c:39:2: error: >> 'pen_release' undeclared (first use in this function); did you mean > > I have a fix and tested it now. Please fold this into your patch: > > Arnd > > Subject: [PATCH] ARM: owl: fix non-SMP build > > arch/arm/mach-actions/platsmp.c: In function 'write_pen_release': > arch/arm/mach-actions/platsmp.c:39:2: error: 'pen_release' undeclared > (first use in this function); did you mean 'seq_release'? > > Signed-off-by: Arnd Bergmann > > diff --git a/arch/arm/mach-actions/Makefile b/arch/arm/mach-actions/Makefile > index 217e95d04b43..94f8dbafba21 100644 > --- a/arch/arm/mach-actions/Makefile > +++ b/arch/arm/mach-actions/Makefile > @@ -1,4 +1,4 @@ > -obj-$(CONFIG_ARCH_ACTIONS) += owl.o > -obj-${CONFIG_ARCH_ACTIONS} += platsmp.o headsmp.o > +obj-y += owl.o > +obj-$(CONFIG_SMP) += platsmp.o headsmp.o Sorry. Fixed up the two patches, thanks! Interestingly the below issue had been found by automatic patch testing, but the above wasn't. Maybe you can contribute your non-SMP config for the bots, to help catch this earlier? > > AFLAGS_headsmp.o := -Wa,-march=armv7-a > Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)