Received: by 10.213.65.68 with SMTP id h4csp57524imn; Mon, 12 Mar 2018 06:38:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELtepLQINHBxOevV2N5QpTgN4TGyrbpsdqqHACaW7OROh1ht2HBBdCj+yJ8ysHu24D6ZWms3 X-Received: by 2002:a17:902:591e:: with SMTP id o30-v6mr1922237pli.258.1520861921697; Mon, 12 Mar 2018 06:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520861921; cv=none; d=google.com; s=arc-20160816; b=db/yinp3Ft+hFkMaUsspexehXGZGNIO4JqpSXaa20p9uQenQ3jpbIWODtX0i/Sc7mE G2sflu6S1tUv/oghL15/YjJJeJ3cCeZDnmbC7vWxPCUNHLgL1ar+PuVbwZEktjfu2iLd 2KhzUvtQmKLPOQ3OqR7UXW7ISFsprbR+qJO1A9TpTHU8sEdV4cwPjWIkbkwl8iMdnpjf GnFDeNBhXdny/DLSMOu0C3GDcTQK1NnwJRrEJsrD4tjz5MdHpqeEzZTSuv6zX3WdB2xs YEnoD1l+pkXF2pzEfGEtoz5/GF8bKOXMk+K59O6S12668rhReZRYfH5Ni5xYegJknPtG 0SdA== 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=S5kaapUiuOcld+FW6FmEOo15M3N5apvAabeewBHwG7s=; b=OYLxe0H532JAfUKEGQn2RW87ppOY0fWK943Y9ttCO5FdqF1jA7Pg9e0r8xP6i+oImE xcayzpb1HoVsvMzBsSweb4sIXGYmiNsGXlwrtN/rKLF0HBP7wq4NkUW5Yp7GIc2svFCP wY6hJBE+yXwL7E7qEVBO93WjzbGeJYhNlzJTAPUrRnlbiHugKHlVpsAD3tGh5RZEipVJ eDxaPJlAS7CF5eCQWCnPB+dmsQlZUkzEZAJHQXGws1gpXEGzfG6Wa2gKV0IE9KGSOKaY +vD2GE5Lr9XU8HMqqodXSDTJfE/C/4Z/KmrQj8jtyA3oxbnbQyTw4gnQK2q8wU4buX9/ ZlwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=QAs82iPN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190si4596044pge.436.2018.03.12.06.38.26; Mon, 12 Mar 2018 06:38:41 -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=fail header.i=@gmail.com header.s=20161025 header.b=QAs82iPN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751320AbeCLNhe (ORCPT + 99 others); Mon, 12 Mar 2018 09:37:34 -0400 Received: from mail-qt0-f175.google.com ([209.85.216.175]:37755 "EHLO mail-qt0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242AbeCLNhd (ORCPT ); Mon, 12 Mar 2018 09:37:33 -0400 Received: by mail-qt0-f175.google.com with SMTP id a23so7385057qtm.4 for ; Mon, 12 Mar 2018 06:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=S5kaapUiuOcld+FW6FmEOo15M3N5apvAabeewBHwG7s=; b=QAs82iPNp+5yEvSSDf1WP9gR+fUNO4ZqFx1cNmZMfq741JkgO2D3HINwS5j6/9y0BK iKDYjkolcrrQdG926o/9C3lCIiDilX0An9Q5XP8jVtjLK4FOf7b02AAcGx000XfpVFEU 2p5IYLHIj44InitjvXmjBYz4HG4Z2GflzeGJvysPV3SnnbFnpksWT+2iHBlZvwBLUKfI BQFdhV8Qx8VzaJ4EujoqH1zzf1FDn7bIRC6oIrWFkXc2UC8Jj1zk4FIzxD8gwzmOTrOs FsM2OzUnPKwMK+T6wgyTYF6D1RJ1ShZBkik269pNCyhvCHMp3nvJJ+VkgrRPWOHG4ERK 2pSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=S5kaapUiuOcld+FW6FmEOo15M3N5apvAabeewBHwG7s=; b=giETaDDnhxtSHbbitHBvkmj872p9d197u3UTbx8VYpKGIhWBcx/9IRAxq7zfQ8o+jp 4/+AK+6Pe4OVycd3B4ErWldyPKVH2IoEM+3yhMIb+wKSaccLXu5B8ho6pxvFD1jfNpJ9 SSIPhX4+ZK3bDT7f1FvOraTNRxgS6Qbz4XGR8Y7jnpuIZyN2k88lPEJ5WpNthD6zLCvI +ZK85zSGTmIQHmDzZ/LJL9AB7a9p5P4qFu+iH5ytII0sKORgQwgoJsURnoUbOSUXXUfI lZUynYah/R+dlmWt5+g15r7H9t4qFicn7A9tL1jXdjy+taCmRZma9M8kxMBxh2O+qozC LSjA== X-Gm-Message-State: AElRT7H3x8tkUy+KAen2HiYlo9cROkQ9InMPrd9GzDMFFSvq+RK7IzCm 3bQ7A8DgbVOTPhHe4HPKdLZ32zPHAlRBgJT+dTs= X-Received: by 10.200.56.182 with SMTP id f51mr12527725qtc.9.1520861852681; Mon, 12 Mar 2018 06:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.46 with HTTP; Mon, 12 Mar 2018 06:37:32 -0700 (PDT) In-Reply-To: References: <20180307162430.2664523-1-arnd@arndb.de> From: Arnd Bergmann Date: Mon, 12 Mar 2018 14:37:32 +0100 X-Google-Sender-Auth: 6exdRStu4kyAXOEBZS-wRlbkHjw Message-ID: Subject: Re: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency To: Tomer Maimon 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 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