From patchwork Tue Jan 6 21:27:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 42799 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB0C82055F for ; Tue, 6 Jan 2015 21:29:20 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf79025lab.1 for ; Tue, 06 Jan 2015 13:29:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:in-reply-to :message-id:references:user-agent:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=m3ZXLvAiVBw8E65gOU/p2eB2g9QuETcp5CVdmZcT6YM=; b=an2Ub9SUB/rtoMPwvc57TVb7idHZsEpNTe36k9ST0qjdbgW/EmtzFlsbggbIqUlDtB kqZakU4uq4yrBHDULEaEy0nOnj+CHB1BgIJkh0Q2ttiE1zEgZBZLZ/Ng+J22WCtd0nNc tdZQbzC+Z2ZPgM0H7Bps+RxVJQ6QEZTYA+m8yP6B5g9+U0+QQXOfDK6vEockt5iqyN9I 6KoNNirff8R+/65/xY0QrowwcW0+TKews4pi73neWCOExNjo5kRT6Vi+0cnLEgCN8Y/G 1Ri38krSTOPT1hibbK4LYti89CX/iWomFHA8sNEnwmLAeFYuEanKiNT9IPo6S0jTSP8j aZwA== X-Gm-Message-State: ALoCoQmTkbQn6aeroa6TYW6d8Xwh2iwCGGuDRFC34hZOSjQ5K/ICzgEYjGm43/hNRonLqHf8JEs2 X-Received: by 10.112.141.98 with SMTP id rn2mr8608340lbb.2.1420579759826; Tue, 06 Jan 2015 13:29:19 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.3 with SMTP id ls3ls85532lac.46.gmail; Tue, 06 Jan 2015 13:29:19 -0800 (PST) X-Received: by 10.152.6.67 with SMTP id y3mr102805070lay.90.1420579759622; Tue, 06 Jan 2015 13:29:19 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id xz9si40784545lbb.82.2015.01.06.13.29.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Jan 2015 13:29:19 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id hs14so117568lab.8 for ; Tue, 06 Jan 2015 13:29:19 -0800 (PST) X-Received: by 10.112.14.6 with SMTP id l6mr104229952lbc.91.1420579759538; Tue, 06 Jan 2015 13:29:19 -0800 (PST) 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.112.9.200 with SMTP id c8csp1292362lbb; Tue, 6 Jan 2015 13:29:18 -0800 (PST) X-Received: by 10.66.65.75 with SMTP id v11mr156557378pas.81.1420579757487; Tue, 06 Jan 2015 13:29:17 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id oj3si54744152pbb.12.2015.01.06.13.29.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jan 2015 13:29:17 -0800 (PST) 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 1Y8bf8-0004MW-Al; Tue, 06 Jan 2015 21:27:38 +0000 Received: from mail-qa0-f52.google.com ([209.85.216.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8bez-00045m-Hp for linux-arm-kernel@lists.infradead.org; Tue, 06 Jan 2015 21:27:30 +0000 Received: by mail-qa0-f52.google.com with SMTP id v10so186931qac.11 for ; Tue, 06 Jan 2015 13:27:08 -0800 (PST) X-Received: by 10.140.29.97 with SMTP id a88mr147769563qga.69.1420579628288; Tue, 06 Jan 2015 13:27:08 -0800 (PST) Received: from xanadu.home (modemcable142.180-131-66.mc.videotron.ca. [66.131.180.142]) by mx.google.com with ESMTPSA id w9sm38599274qab.18.2015.01.06.13.27.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Jan 2015 13:27:07 -0800 (PST) Date: Tue, 6 Jan 2015 16:27:05 -0500 (EST) From: Nicolas Pitre To: Arnd Bergmann Subject: Re: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more) In-Reply-To: Message-ID: References: <20150104190123.GA20153@amd> <20150105121126.GA10116@arm.com> <1923550.h5Fs9u5gUy@wuerfel> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150106_132729_705591_2F4104C5 X-CRM114-Status: GOOD ( 20.15 ) 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 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.52 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.216.52 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Marc Zyngier , Russell King - ARM Linux , Will Deacon , 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: , 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: nicolas.pitre@linaro.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.215.49 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 On Tue, 6 Jan 2015, Nicolas Pitre wrote: > On Tue, 6 Jan 2015, Arnd Bergmann wrote: > > > I think we still build RPC with gcc -march=armv3. Is that a problem > > with this patch? > > It is. > > Tangential question: does anyone still own a working RPC? > > For sure we no longer support the RPC unless it is fitted with a SA110. > And IIRC the reason why -march=armv3 is used in that case has to do with > the RPC memory bus not able to accommodate the SA110's LDRH/STRH > instructions. However it should be able to execute UMULL regardless. > > Now I could add ".arch armv7-a" in the file to make it compile for RPC. > I can't just make it ".arch armv4" as this prevents Thumb2 compilation > for that file. > > Other ideas? I settled on the following: That'll make things easier to sort out in the context of $tangential_question. Nicolas diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 0573faab96..0eb8de1c6f 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -40,7 +40,10 @@ else lib-y += io-readsw-armv4.o io-writesw-armv4.o endif -lib-$(CONFIG_ARCH_RPC) += ecard.o io-acorn.o floppydma.o +ifeq ($(CONFIG_ARCH_RPC),y) + lib-y += ecard.o io-acorn.o floppydma.o + AFLAGS_delay-loop.o += -march=armv4 +endif $(obj)/csumpartialcopy.o: $(obj)/csumpartialcopygeneric.S $(obj)/csumpartialcopyuser.o: $(obj)/csumpartialcopygeneric.S