Received: by 10.192.165.156 with SMTP id m28csp1710185imm; Tue, 17 Apr 2018 04:19:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx49yGWPlLK0F/NrcgXlRLi9qIzG15hgT1+nNqpEt0RUvW2t6WRNySW8fFv75+dTKyPpsL8Y1 X-Received: by 2002:a17:902:7042:: with SMTP id h2-v6mr1646408plt.249.1523963951364; Tue, 17 Apr 2018 04:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523963951; cv=none; d=google.com; s=arc-20160816; b=GAxvRXEeKX+kgzGMl3uYtBp+Yom1SyRVelkXDOoHtQDJkO2gdnrKJeVthvb1Xo4VXi MQu6+8Lbte1mC0PX7hQNXSDohI0LhOh2PG2Y5L7fGxYNK6/OIBRAwq0li1u1oTUvb44G S3KHjQY9B1f85EHDXDaj2/gynEzKuOzmLy1a09hGcWSTHUMYVO4A7AtUx2LBNcJ9hf0N dA1dEs6eshsgVVoJR41YdZyp4NC3Q4uF2u1hjRqGf8dDVpRTxWPF4DRFmZgo3gQWH4+6 K892+A22YNezgNSagXuTE+AUREK4w8ZFjkHvuL9yCHrJtc/A/ZnmxFOBoO+35HUJufNo 53UQ== 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=Aqvl3+vbhUemfNBQ3+qxRtxfqzuL/1Mc7C8cnxeEE0I=; b=rkJaeO9uV99xNiSSUTYm1uHqHhUUKm1AahPlukYyXSgJzTPDj5hr+2L0yfFwG3NdRH wFjyASngDFICpbKxYCdRnvm0hOvLNsLQSJ7ENryKmxEak893cGf1HN4DGPjUJae5AGwE kS40tM+UC1mjjG5CIZbug1Hg236fKK/72P9lHa2SX/z7PAoRnRt9IWprUQgWLSkIlPmq 6CArq+5xS08t0N3MkFehTsOYrZEjQ7MEAVmtD6TnnusQTyKA8tBXL5CB1Fn5vII7g7ie n4Jw1C8YyUzLUM2MLXEvboNevmKwJz3FqjrgHimxgrxzVX160CZcL7Yxu/QNmwa5SOUq Ktfg== 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 l5si2975444pgp.644.2018.04.17.04.18.57; Tue, 17 Apr 2018 04:19:11 -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 S1752694AbeDQLRu (ORCPT + 99 others); Tue, 17 Apr 2018 07:17:50 -0400 Received: from mail.bootlin.com ([62.4.15.54]:54692 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbeDQLRt (ORCPT ); Tue, 17 Apr 2018 07:17:49 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 0F2522085F; Tue, 17 Apr 2018 13:17:47 +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 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 D317120146; Tue, 17 Apr 2018 13:17:36 +0200 (CEST) Date: Tue, 17 Apr 2018 13:17:37 +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: <20180417111737.6dous6eiuvjn33jf@flea> References: <20180416215032.5023-1-mylene.josserand@bootlin.com> <20180416215032.5023-2-mylene.josserand@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yvm7jzmek2gzjswi" 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 --yvm7jzmek2gzjswi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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. >=20 > 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. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --yvm7jzmek2gzjswi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrV18IACgkQ0rTAlCFN r3TUWQ/7B0JVFTu+pGkZ5LNuMgkX8vWoq7z2+YONHBId8EhllSYp9Uv8y4A9CEUR 1qk6YZvV1RHXVU1COlHt/SKMbHC57L57Q2LKxKnHKQF3OBLJW2ZZ5MukEsUIjU+C VnHr8tlH0MlMRMdg01KJ0muDzs/tUJu4J7JZNpJTjGlrYiTX910Dvc9SkZgYVeiW Zt8UHloyr2boWZwANdFLjNYq14C89Yqb/qubDS4o2aKX/WkS70OAFUAu2eRua8ky nneVbq483jxLgS+AtNRFIH+DXDy2kzggOlfeQjuXJo9RdfKx37wpWDIudLYt6Cpg /HhWApYAyUaXHUKtTKrcXj6jGL+9OBfyEXWbNDO4EEvUCzWD69DMp+EuLnUDbT5I qVoi8pSrYAxKCtpqcLiOe65mc/rWtyvBpVMDPth5QipqRtz7n4n2y8uWyDX5EaFl RPjgf0N9ibGT/7chPOaANcWZLsrZ6WGFwNwq9R2ZOaRlDXp+3IMVeuy/Ia/i4/i0 Jjot1rDkztsC0D9b1GXdrO34n82vDrZh0YAUj6kvyqeTEwgBIxLHkGAoDZHZpCp2 AXYZ7eaKVXHO9Cpz0AcHYfeg72VH33nHREyhos+aBg+NXnHYn+XvdSxqxarzrCJX M5PwdlxUo6iHjLUEUBnSXou7jchdAaSPOtZmE70Yb1elEiPZnSE= =4euM -----END PGP SIGNATURE----- --yvm7jzmek2gzjswi--