From patchwork Tue Nov 11 18:27:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5276581 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9062A9F2ED for ; Tue, 11 Nov 2014 18:28:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B140120107 for ; Tue, 11 Nov 2014 18:28:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9A97200E3 for ; Tue, 11 Nov 2014 18:28:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751641AbaKKS2M (ORCPT ); Tue, 11 Nov 2014 13:28:12 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:64048 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751543AbaKKS2L (ORCPT ); Tue, 11 Nov 2014 13:28:11 -0500 Received: from wuerfel.localnet (HSI-KBW-149-172-15-242.hsi13.kabel-badenwuerttemberg.de [149.172.15.242]) by mrelayeu.kundenserver.de (node=mreue002) with ESMTP (Nemesis) id 0LcKBC-1YFNWJ1WHG-00jrCq; Tue, 11 Nov 2014 19:27:32 +0100 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Simon Horman , linux-sh@vger.kernel.org, Ulrich Hecht , Magnus Damm Subject: Re: [PATCH 3/4] ARM: shmobile: rcar-gen2: Add CA7 arch_timer initialization for r8a7794 Date: Tue, 11 Nov 2014 19:27:24 +0100 Message-ID: <5583214.HuX5EZ5Unx@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <9ce3fa6816c2fb59d128248c9b0509aef1c5dae7.1415058939.git.horms+renesas@verge.net.au> References: <9ce3fa6816c2fb59d128248c9b0509aef1c5dae7.1415058939.git.horms+renesas@verge.net.au> MIME-Version: 1.0 X-Provags-ID: V02:K0:Dzs4XOEpJKIJZWoyCuks9+jJ9kx6jFaJRelOOMm6mcT NkaHDbqJ1xpWs1+94dC3vqIgdyr2DTcHfRQH7SYS9M34XX0+Xh c7eAXrZII6/ANSSANI3uaD4ew4N0+6/K23GKzVvRqZXTBchzIw cPPmceJhf0VqbaATcGjyTfRcZbjbssKzCY16zA4BBDxuU50DeI i3eGlHvSQFO/v3t1I+1iAPTKXBmeSDmCgf1U0c28LAeAoVVLg/ LEM7pqeTBZWFbjIcgzuhhUmstMhZR1CjHpd+pmyL3WPVPmNPcU o4FsbDnN+urv7nlACj3A4Vr7mFrEwzQmHC3cTL4gIhSVNe24XI 79yYArDC+OexYkYoulGs= X-UI-Out-Filterresults: notjunk:1; Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tuesday 04 November 2014 10:50:08 Simon Horman wrote: > From: Ulrich Hecht > > On E2, the arch timer is hooked up to a different clock, and the CA7's arch > timer CNTVOFF register must be initialized. > > Based on work by Hisashi Nakamura. > > Signed-off-by: Ulrich Hecht > Signed-off-by: Simon Horman This is one of the patches that broke allmodconfig in linux-next. Can you apply the patch below before sending it to arm-soc? Thanks, Arnd Acked-by: Geert Uytterhoeven Acked-by: Simon Horman --- From 8bf0a4cae3137411498ff23ca46f693e4c22a25b Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Tue, 11 Nov 2014 16:36:50 +0100 Subject: [PATCH] ARM: shmobile: always build rcar setup for armv7 In a combined ARMv6/v7 kernel, the setup-rcar-gen2.c cannot currently be compiled correctly because it uses the isb instruction that is not available on ARMv6. Adding the -march=armv7-a flag lets the compiler know that it is safe to build this file for ARMv7. Signed-off-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile index 7d68eba53be3..b55cac0e5b2b 100644 --- a/arch/arm/mach-shmobile/Makefile +++ b/arch/arm/mach-shmobile/Makefile @@ -35,6 +35,7 @@ cpu-y := platsmp.o headsmp.o # Shared SoC family objects obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y) +CFLAGS_setup-rcar-gen2.o += -march=armv7-a # SMP objects smp-y := $(cpu-y)