Received: by 10.213.65.68 with SMTP id h4csp110907imn; Mon, 12 Mar 2018 08:17:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELvP39OYnK0THA6BFBCkucVEA9R4wZjm/pqVcAXrlrdqp45RGvwv3W9Vh9NqrMtI2Wkkr2Om X-Received: by 2002:a17:902:690b:: with SMTP id j11-v6mr8651583plk.124.1520867827715; Mon, 12 Mar 2018 08:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520867827; cv=none; d=google.com; s=arc-20160816; b=OV/NliPUOiqeDbDHdAG7Bax3bQ7RcDShMsTiPw3qZ41aNve6P3xIrhbq5LQlhcXfVZ RD/o6xKaT0ybJ/Ozzr1rnGiwJnW4VwxwXXoP1oetSIIHgiMlMGiFxR5lq+dZYQA6p0uC BCmtfPGN/dICBIVo+p/Q0o7PRB4bXNz/V/oRtN3aWBj7EAXv4baZ38HHgo4Ln9pTym7Z /5Hp4WX/D04dC6tZFY7P/rucUNg6Jx1CN7oUWyw7thDfxZmNvLzSkrhO0pgdVQg5RoqI olGh8bNUwPLBHz5N8MpLcaL8hpV043aT5FWcxuHKOiG4O/vcSHIWkiaFhmExvNIG4D4V OKnw== 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=hBdDE5i3mmglnxQqVUX+yxSn5nNl4QkyQ7kX8zkO4ME=; b=QuubmXN2lIjBSsI86vAWL2+j27NtbWqJIKCQMS2CvHdvLuZ5wKUw8M6Wnsgp92Xkrs 7aL6kksUvBpLpSCqhaG6skNJFB1kLXoNeu6B8TuFpDGowVSEDJeqPWzKVJNoqoLqLJg3 M9/YChoBU+6MGlf7X0y0CNZlh94BrpFrU8tZmo4oTZRH42zzWONyrkfjEuFzfjNxvDb/ qbGA1h6O9Pcpf/IVcsqtkoLwh3SCQsK9VXy63SuQ6M2sCTSBhzH0TruWnZad69uZLsi4 raywpekWX18gzh5psvfdggC2/tW7pcqwFYu/nRxhg1DlBUS8Y1pPVFDP+htUo7FbIS+e 7y+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gE9TVew5; 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 n12si2104569pgc.316.2018.03.12.08.16.53; Mon, 12 Mar 2018 08:17:07 -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=gE9TVew5; 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 S932147AbeCLPQB (ORCPT + 99 others); Mon, 12 Mar 2018 11:16:01 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34983 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbeCLPQA (ORCPT ); Mon, 12 Mar 2018 11:16:00 -0400 Received: by mail-io0-f194.google.com with SMTP id k21so7904747ioc.2 for ; Mon, 12 Mar 2018 08:15:59 -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=hBdDE5i3mmglnxQqVUX+yxSn5nNl4QkyQ7kX8zkO4ME=; b=gE9TVew5Sfhth5kZWghdQIUEI4T6YAgk5+F/3Uf7opx/5b6JmQpXp8PVhrlPQadu/k wSFlz3a6LLFEaBkru6F8H/UPZQJPQNBt4aGH35CFJ0jKhLIdzJ10LdiGHt5aN9ALu+IP jVShnkymo1dF5ls6NJFWZZ1RCSfEM22s/VX1YYxzkI00+znqwz/ICV0yD/xdgSBuE4Ap TK+xHtEgsO9KF2AZn+BI1VxmHGODYcjgYo6DgTTcQ/Pz5QjBn3ZhJ8kmbIHhyftQ8dV2 5qHwDWX4Lk8N70hcdDMI8mQrBwhTLwt4o0cOX+mqtm4CPbUciW9arAuUkZ/WmSWdResP 4LUA== 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=hBdDE5i3mmglnxQqVUX+yxSn5nNl4QkyQ7kX8zkO4ME=; b=AeeSA4/OJ3XGx5chsLgadt5yR29Dl+eu8anAdCF/G20xzfjp05o5ke2GMnmkp5z2TR hquyH2FKBjdvlnCh8zKOr5biyTNzpFNg2g8h/3aqkUEaB5XpbUKhW+reZLBl93Ds33yP 1VoD1iaT/A1aJ4YQ4jVqYsdPVW9Jj9yr5IaTkH8rfAbtnCHMIb/uy7/hFmFHf4CTEqZi J2qB04NA5SdvWsarXok9fsy5frb0AP6EDU1YarCUdOnWYBq1Cx08jP4wL767CHzmj/a/ k7iS8Cq147NDRmTPq29nHm3tNOA3bdxwrbXMfVoI5YirvJmkfDe6vIS3rKdSXxWVGXH1 DiUA== X-Gm-Message-State: AElRT7FF5yy6TKb1m5G8L6LHxUeyivC96xpXF2IEteJU/FxNwDwXDCiy Xb8dnFZuvljKcXlbqMW2IClCedveJWN4uBzrxxc= X-Received: by 10.107.164.132 with SMTP id d4mr9360371ioj.287.1520867759394; Mon, 12 Mar 2018 08:15:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.183.17 with HTTP; Mon, 12 Mar 2018 08:15:58 -0700 (PDT) In-Reply-To: References: <20180307162430.2664523-1-arnd@arndb.de> From: Tomer Maimon Date: Mon, 12 Mar 2018 17:15:58 +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 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