Received: by 10.213.65.68 with SMTP id h4csp355629imn; Tue, 13 Mar 2018 06:37:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELsuGKZV2JNZc6YpNMtEp671CLuTjg9oallp0jMUxWuMYl/bOQUcQQbjra05lR7JHfPlrgW6 X-Received: by 10.101.86.73 with SMTP id m9mr562272pgs.70.1520948248786; Tue, 13 Mar 2018 06:37:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520948248; cv=none; d=google.com; s=arc-20160816; b=Ia7OqPj/F4LVFAMPFIHZcMHD+dmrC4jwkqR8jYhsKK5oQYLUKwsxDUHYU9i7aMjzCQ vAnhCMc+gHpTV8TJQnQquxXNaCyjuFvLT9eTTis3V9pj0aN33jZMjtda1SJp2PubC7sf MEdUrGZt03514AeNpD6qixj02z+yqbMUF6pQtSPaZvJQ1wICLR9+zBHVOrG1IPqzy66p uren0ZvYL55XcUezQf1A48E6D98YUvj9p2nvd133E6Qqh5XEUGtcw1ySimuBz57WH1T2 SMG/ALSfZlQq2ucRfaWKJgCnpoUzoBsekFKA/IQZTEjthmHmqtDSfV2EzLUMsH6LEOdl NnKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=R8czH3Wk4Iq9YRh1jRkglnF66zYi/pkhV/yJR8qBM+g=; b=RjCmvomxqFUuWGN763Yi2ISCwux2OxN8zRw/rDY55aLH0KeKXAjmJI+HVnhNwvAqrG gYG3N1tGh45YOIYJptylCHaYXaYXl1jmKQk/QqEN2wisw8qqErKP4mRLvVsl0TCjYJYq R4qcLc5qs+IETb5R+ht3Eef7irKzw6VboRT7LMy0t3urEGiXkpuOjrpkRzrFAN17FjI7 Ax4T+7WQIri99LWm7OJjo6ME+pT5osd3xCMdo4ci+qKyfJIEVp476VgW8dcw1aaeA5cW GfgjwKNbkZEA8QoSW9FnhORXRfwUBk0XSZHam4oOYJo4rw4p3IgSVbTMA0krE0ANHY6a b/eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nr4EzhaZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si110682pgp.89.2018.03.13.06.37.14; Tue, 13 Mar 2018 06:37:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nr4EzhaZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752949AbeCMNfX (ORCPT + 99 others); Tue, 13 Mar 2018 09:35:23 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:33331 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752820AbeCMNfV (ORCPT ); Tue, 13 Mar 2018 09:35:21 -0400 Received: by mail-io0-f193.google.com with SMTP id f1so146377iob.0 for ; Tue, 13 Mar 2018 06:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R8czH3Wk4Iq9YRh1jRkglnF66zYi/pkhV/yJR8qBM+g=; b=Nr4EzhaZdbSN707NeCyPnnAA2S0JcExC+s5/GfxHSMDOZpjPBNsJV66TLbjOR7PtEe lbwuL09c757uD0SIqorP76iIYg9w60/lYiBSlOHkK0ZgGustf1h1dP5rDsGsWgmtDPES X+3aUKjmH8frbU3yEA0twTmSyixwtOkgaX92qfW8grRi+eyYSwlvUReFNuCgoK3UOhwt jUSxECpQhJveSD9x8bV6zZFKN+7vQBT/lSxqiqwyqyeIeyJVVXJ8YmTFZM07F8pmuo2i Y1iTF04xZ8ZH+bJJCrRsVgS46h/i2l8tcXsr/AtGdPqZStoKFVCHEB3bZACgyYSZ8wnM PUKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R8czH3Wk4Iq9YRh1jRkglnF66zYi/pkhV/yJR8qBM+g=; b=C9K0x1TAqNhO8ZtCqCY/cWTQ+EmzcABCpbSpEz75QHpRUfpfbn60w1CJ7FaiC+Q2tx yqVec5e+/9m6eHSdiq3V0MSxQnflEqBm7U7tCm7M9t6gH9F3tLjkX9RSFIotXcPOhrsO 0zhjMOR5qSSJSojbO3GCi4Udo8xwGRx4devyXaQVAYq3iNYtEwJaHWjIQApEJdE/ESI2 Iz/a2eWTC9Kmmv51vkb2So/NRX81qukfYf+R8VCPTRjt+NQb44i8HT5WdPdH7q/40oc6 JnbFqSAL/IEPcQq9DYrz5gLQAIJO4p9Jc7JB4GNu3vruZpuWxTi3aV9IsOJbpm1WKnOh vqcA== X-Gm-Message-State: AElRT7HIw3MSS5tVtPmv/yjnTiEJ1ocmOK7OYJEr9Fkk+Dsy8K5DCQTC ZOHa1ZX04/YY11hTpjf4zKliUOPedTItVdsRLI4= X-Received: by 10.107.165.146 with SMTP id o140mr709806ioe.52.1520948120536; Tue, 13 Mar 2018 06:35:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.183.17 with HTTP; Tue, 13 Mar 2018 06:35:20 -0700 (PDT) In-Reply-To: References: <20180307162430.2664523-1-arnd@arndb.de> From: Tomer Maimon Date: Tue, 13 Mar 2018 15:35:20 +0200 Message-ID: Subject: Re: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency To: Arnd Bergmann Cc: Brendan Higgins , Avi Fishman , Patrick Venture , Nancy Yuen , Linux ARM , OpenBMC Maillist , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, I sent now Full patch for the NPCM BMC's V12, Is it O.K.? or do you want me to send the same patch to ARM: npcm: drop extraneous 'select' statements as well? Thanks Tomer On 12 March 2018 at 17:15, Tomer Maimon wrote: > Hi Arnd, > > I will send tomorrow new version with some modification we need to do > once we use NPCM7XX and not NPCM750. > > Brendan, > > Is it O.K.? > > > > On 12 March 2018 at 15:37, Arnd Bergmann wrote: >> On Mon, Mar 12, 2018 at 2:28 PM, Tomer Maimon wrote: >>> Hi Brendan, >>> >>> According to the last mail I have with Arnd can you modify the Kconfig >>> as follow: >>> >>> +menuconfig ARCH_NPCM >>> + bool "Nuvoton NPCM Architecture" >>> + depends on ARCH_MULTI_V7 >>> + select PINCTRL >>> + >>> +if ARCH_NPCM >>> + >>> +config ARCH_NPCM7XX >>> + bool "Support for NPCM7xx BMC (Poleg)" >>> + depends on ARCH_MULTI_V7 >>> + select PINCTRL_NPCM7XX >>> + select NPCM7XX_TIMER >>> + select ARCH_REQUIRE_GPIOLIB >>> + select CACHE_L2X0 >>> + select ARM_GIC >>> + select HAVE_ARM_TWD if SMP >>> + select HAVE_ARM_SCU if SMP >>> + select ARM_ERRATA_764369 if SMP >>> + select ARM_ERRATA_720789 >>> + select ARM_ERRATA_754322 >>> + select ARM_ERRATA_794072 >>> + select PL310_ERRATA_588369 >>> + select PL310_ERRATA_727915 >>> + select MFD_SYSCON >>> + help >>> + General support for NPCM7xx BMC (Poleg). >>> + >>> + Nuvoton NPCM7xx BMC based on the Cortex A9. >>> + >>> +endif >> >> One more change is needed to avoid a link error without CONFIG_SMP: >> >> diff --git a/arch/arm/mach-npcm/Makefile b/arch/arm/mach-npcm/Makefile >> index c7a1316d27c1..34d51f9f207c 100644 >> --- a/arch/arm/mach-npcm/Makefile >> +++ b/arch/arm/mach-npcm/Makefile >> @@ -1,3 +1,4 @@ >> AFLAGS_headsmp.o += -march=armv7-a >> >> -obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o platsmp.o headsmp.o >> +obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o >> +obj-$(CONFIG_SMP) += platsmp.o headsmp.o >> >> Can one of you send me a pull request or the full patch series on top >> of the version I have in arm-soc? >> >> Arnd