Received: by 10.192.165.156 with SMTP id m28csp983647imm; Wed, 18 Apr 2018 01:46:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+qYt32aDjjwHf+8jJlWFmsqkyYXY9WNxosIJNREbjF75/lZrAlKwws7mwarVV0810DSfn6 X-Received: by 10.101.102.143 with SMTP id b15mr951223pgw.183.1524041216172; Wed, 18 Apr 2018 01:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524041216; cv=none; d=google.com; s=arc-20160816; b=rg0CtU6oCihDDBb2k00imNgGUTzqbacq68qzkfxRgPZVeulo77jaAPNDsh8C5jeJgK qf8+haYEBwhsAEnH1AH/x4YdcSGnW8BntfhhitKKQi6Qp9B/YPJ6aaK7drUcPhgUP8Wd CF1VfMjFVeVzVHbecsYMYmJ2jiwCwSCX/Sj0LV0m/vBt7G1XsaUVtKFaWlNDbrRlgx/y Tj4ZyBwNLr746M9tc6Sl68TFXHBvJtieQXNw/pK+8l/X5K5oT8LkCRr/ZJgGMBvX5Yy4 n6ddU9kTvu1fzX9GMIPf/I/jKHwf/Fvh2Gdo3M0xTtVJy+u1GXXQK+6BxGt5kvmYQZIq Kchg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=eEmmDN0ovCCGNwpxzRMTXyHDo7eRwiADJCjmsPM5B5Y=; b=VUGmyds5UZymTjA1GY2HnQNo0hfuaIKdxoV6Cq4TleyzvM7iLxYqmA74vFU6RWf+0N 7RLxttz9kQUV00iDksrL1L4YIX2XSPYy1ubFd4nKMOGFZTLY16nK2E9xo5uszIYpIM8Q 78gcVLd5UhmbWmUQYqdJlbWAKdNRi34e3RHXjuE/mVIUqiDDi0OIs8ez+l6v2bz2HyKd PgENJNWkK//jPoxBClizREbY5SMpZ8xbXhvBZwQ5gSIh7/WnR0o8YDOi2tzQV8OS3Gdl dUoKQAWlj46qwU054nOwv9X0UvOZ3YPESnqqZnKhkePDd0EaT+Bbhpz9+k/AMvR3PpVZ CfFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i2-v6si831776plk.51.2018.04.18.01.46.42; Wed, 18 Apr 2018 01:46:56 -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; 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 S1752597AbeDRIpj (ORCPT + 99 others); Wed, 18 Apr 2018 04:45:39 -0400 Received: from mail.bootlin.com ([62.4.15.54]:55771 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbeDRIph (ORCPT ); Wed, 18 Apr 2018 04:45:37 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 63C562085F; Wed, 18 Apr 2018 10:45:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 358A4200FB; Wed, 18 Apr 2018 10:45:35 +0200 (CEST) Date: Wed, 18 Apr 2018 10:45:35 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: =?utf-8?Q?Myl=C3=A8ne?= Josserand , Russell King , Marc Zyngier , Mark Rutland , Rob Herring , Simon , Geert Uytterhoeven , Magnus Damm , "open list:ARM/SHMOBILE ARM..." , devicetree , LABBE Corentin , Quentin Schulz , Thomas Petazzoni , linux-arm-kernel , linux-kernel Subject: Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file Message-ID: <20180418084535.lqdvjgcbxtnwqwri@flea> References: <20180416215032.5023-1-mylene.josserand@bootlin.com> <20180416215032.5023-2-mylene.josserand@bootlin.com> <20180417111737.6dous6eiuvjn33jf@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o4k7srs655m3j7t2" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --o4k7srs655m3j7t2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2018 at 07:25:15PM +0800, Chen-Yu Tsai wrote: > On Tue, Apr 17, 2018 at 7:17 PM, Maxime Ripard > wrote: > > On Tue, Apr 17, 2018 at 11:12:41AM +0800, Chen-Yu Tsai wrote: > >> On Tue, Apr 17, 2018 at 5:50 AM, Myl=E8ne Josserand > >> wrote: > >> > Move the assembly code for cluster cache enabling and resuming > >> > into an assembly file instead of having it directly in C code. > >> > > >> > Remove the CFLAGS because we are using the ARM directive "arch" > >> > instead. > >> > > >> > Signed-off-by: Myl=E8ne Josserand > >> > --- > >> > arch/arm/mach-sunxi/Makefile | 4 +-- > >> > arch/arm/mach-sunxi/headsmp.S | 80 ++++++++++++++++++++++++++++++++= +++++++++ > >> > arch/arm/mach-sunxi/mc_smp.c | 82 +++-----------------------------= ----------- > >> > 3 files changed, 85 insertions(+), 81 deletions(-) > >> > create mode 100644 arch/arm/mach-sunxi/headsmp.S > >> > >> I'm still not convinced about this whole "move ASM to separate > >> file" thing, especially now that you aren't actually adding any > >> sunxi-specific ASM code beyond a simple function call. > >> > >> Could you drop this for now? > > > > I'd really like to have this merged actually. There's a significant > > readibility improvement, so even if there's no particular functional > > improvement, I'd still call it a win. >=20 > What parts do you consider hard to read? The extra quotes? Trailing > newline? Or perhaps the __stringify bits? All of this, plus the clobbers and operands. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --o4k7srs655m3j7t2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrXBa4ACgkQ0rTAlCFN r3SsRg//ZieKDRJoIHs9a5V8pamTZtxCiW41aetlRvlWtZOhxQkTjPxiTAtUsg4Q M6ZVjKvPqSemN64xYMpvakIU3I6KCfmL4HMpqdYhlQBohIrS7gx12/6Vc0rAmrtU 6Ms+UvV8oo2dEjFv8p7Y3x2GBnWqD4UdC+5vnheVh9DihOiSXAo5vAZ+UqS8+JwB dsLkmdvy5iVngIiy0vdAAGREmn/E84jLhRbZTrN+BKpiUG8zz8mOHUBIJ0lWRsmJ mnXtuptgWJkY2W7ehPe0qp8uU+VGUsF6vegoYIauEcjBS6wuAvKKyLlLIs2npvYf UzkR0Hk9gXFU9fvMOovgmw2PfxPD1e7Aci1MDn3bTfBoN4dM3q2wKm2lWOX2D0UK a2Q8p4DYYw4ClaAGv0x3b4QIbH3GfFu9H0YuFV+s1spv1/cKjNwWwPQgsrSxAjYF sbCdsaM62FLko0RXCG3DFKcYfaVkGN0p95IDk5wOUO7rQfkFX1vdKkKu7cAHCOqW 3Eg4VAH6YttyQB/4Z2UYgzj5oD3nmzG/oT5ElREVt986PjNV2/9Z529d9ZieX0jZ rSeF4IcgKhj1EYehrJv5KvcpsiWc0Ip/EqYfUY2k4THuTIcQIJ1RclJTVyiSxqfg oQxw+a5XltDfpau5il5nv7l1mccaGCgx6ViiS1M1OP6HT+mdWaE= =QJnY -----END PGP SIGNATURE----- --o4k7srs655m3j7t2--