From patchwork Fri Aug 22 02:06:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 35787 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B829820540 for ; Fri, 22 Aug 2014 02:08:42 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id w10sf76801581pde.11 for ; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=r7w0VKHaaXOtcD/YVOMobrnam0dA9QPHluN3rWv1ghA=; b=DQvrBxOz41uKlArqBjuaIo+U/NlsvJ3NqsFeUW6Gjdf4+ZSuXkivpCVxnf+ukYrLMx wSnvJrtfJA+Rr+ofLRMPDkveFRCUYwa8hRHsaflJiaW+PPAB9S9up+LEadJckEOqI7oE xVu6rre4Bos3M5oUqOJGEE7CLYeGhfqkoDVpJLDCBE2z/Uh/ejTyMFfiatQIaE7mhdBO s0ZcUO8BSoUVoM1WqfZk9gzZAtzQXe0Yov+GW+E/dcEBXkFWOuVH/ELiVMR/TmtgCOJ1 Rfj3qeJVzRvQ3gbtiyQ9DHH/R4NY7IPvruzn102DgB59iNKNkBVu70uoiKMARk3BuyiP 3j7Q== X-Gm-Message-State: ALoCoQlengZiOdgJKHMijQlsnvVK5nHMkN9OC/ZIqfeIg62WpsIsC8uIwzl31tiql5gmHgoqLl8t X-Received: by 10.70.34.195 with SMTP id b3mr1742665pdj.7.1408673321873; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.70 with SMTP id g64ls1014044qgf.85.gmail; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) X-Received: by 10.52.138.210 with SMTP id qs18mr1575995vdb.18.1408673321760; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id d4si13004138vds.52.2014.08.21.19.08.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Aug 2014 19:08:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so11694527vcb.2 for ; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) X-Received: by 10.221.5.137 with SMTP id og9mr1844123vcb.18.1408673321337; Thu, 21 Aug 2014 19:08:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp183830vcb; Thu, 21 Aug 2014 19:08:40 -0700 (PDT) X-Received: by 10.67.1.37 with SMTP id bd5mr369835pad.151.1408673320502; Thu, 21 Aug 2014 19:08:40 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id pt2si23900694pbb.76.2014.08.21.19.08.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Aug 2014 19:08:40 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XKeGR-0003r7-EZ; Fri, 22 Aug 2014 02:07:39 +0000 Received: from mezzanine.sirena.org.uk ([2400:8900::f03c:91ff:fedb:4f4]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XKeGO-0003mX-U3 for linux-arm-kernel@lists.infradead.org; Fri, 22 Aug 2014 02:07:37 +0000 Received: from [208.59.64.2] (helo=finisterre) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XKeFk-0002y1-P5; Fri, 22 Aug 2014 02:06:58 +0000 Received: from broonie by finisterre with local (Exim 4.84_RC1) (envelope-from ) id 1XKeFR-0004EN-Gq; Thu, 21 Aug 2014 21:06:37 -0500 From: Mark Brown To: Marc Carino , Brian Norris , Christian Daudt , Matt Porter Date: Thu, 21 Aug 2014 21:06:34 -0500 Message-Id: <1408673194-16228-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.1.0.rc1 X-SA-Exim-Connect-IP: 208.59.64.2 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] ARM: bcm: Don't build brcmstb SMP code when building for V6 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140821_190737_103220_7502047C X-CRM114-Status: GOOD ( 11.25 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different Cc: linaro-kernel@lists.linaro.org, Arnd Bergmann , Mark Brown , bcm-kernel-feedback-list@broadcom.com, Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Mark Brown The brcmstb SMP code contains isb() and dsb() which are not supported when building for -march=armv6 as happens when building allmodconfig. Since I have not been able to identify a way to override the compiler architecture selection per file add a Kconfig dependency to ensure this code is not built if V6 support is enabled. There is doubtless a better solution. Signed-off-by: Mark Brown --- arch/arm/mach-bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index fc93800..372132d 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -102,6 +102,7 @@ config ARCH_BCM_5301X config ARCH_BRCMSTB bool "Broadcom BCM7XXX based boards" if ARCH_MULTI_V7 depends on MMU + depends on !CPU_V6 select ARM_GIC select MIGHT_HAVE_PCI select HAVE_SMP