Received: by 10.192.165.156 with SMTP id m28csp1361622imm; Mon, 16 Apr 2018 20:14:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/BUAfRlJJmMidQ3918yKNA9DlIR2b1D8zpIVEKoEYyAoUJeJsv6dp9Vz0vlFQeQO/FEEUv X-Received: by 2002:a17:902:780d:: with SMTP id p13-v6mr379129pll.281.1523934874586; Mon, 16 Apr 2018 20:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523934874; cv=none; d=google.com; s=arc-20160816; b=Bdgui/XEoEuzSuWBl9TWkkOG2JiXEEKaC/paiOlNzozv0e5OlHkb4aU38wMc8qLjyg +oNTirBW/VcOpS8UUqlEqBVDPGXVTwpSdVXbDNZqQy/naNv8Jgi/F2e7fKqUpiGb8enm xzoaXcz7uoAb7e1fwRipAg1/keSvvjiPN+wtVWp5xYaEHpaoI9ZmE/WW9WO7+z0tQ+8Y 4HxhLQdEQDEe9VN3jgIYp6/FYmzsI6AHQ+fpAivHqc1ZFpFwSXZJmk7VdLL2joel1xAn Ix8T2G+n4emhKdPrRRquN8phtASObXaoQgefKqUXLgOPXH2hN/UFxwyp8XtG94SkNY68 UMcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=lEvfG7N+Q+FnGgvVXWbO07fr1oj3mYyaZj3ezGuSkYo=; b=GF66FkF3Bdi0WSgDMRrddrIRT1mKlqq8VCGA9sgVDvF54EGQoy1G7dKthvAKl996t8 YIQPk0K5gzHw1WUGtNrgrOBiMouSpSnDgQ9Xm3XetkXWtJjoIXB+GHc8CNCXYs7Hsnk+ NE9OYy8+U94VoMLirL0gh3VZJxX27vsE0/t33El6LEBZwXKuuzqiPyeg4qjRo2nvZpt7 qJywi3r6Tl/jnKYYgN7OEajws9bt5ZmJ6hzfmpXgjesPO2ZFAiRf7bbPHIjIeqlmiy2Q Yi4YUkhuxXm+VIfQ5AxHHe8MH1Pvb8tT3fNLCpQinMQwTWoUQOJ53rZiIJQd4aEY6tmk huIw== 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 z5-v6si12764600pln.555.2018.04.16.20.14.20; Mon, 16 Apr 2018 20:14:34 -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 S1753118AbeDQDNG convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Apr 2018 23:13:06 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:45457 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbeDQDNE (ORCPT ); Mon, 16 Apr 2018 23:13:04 -0400 Received: by mail-wr0-f194.google.com with SMTP id u11so31227603wri.12; Mon, 16 Apr 2018 20:13:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=j6+CVr+DI2QyEMTFFRWVR8inmCGys7Ifk8CHoJsQaUs=; b=dbpuKWmcoSdjIYFFZUUYd0hIfqwlNh3C35AuaZopA4cpJuBooeScYNroFQiKVEkVG1 fngs5hu/FZV9yRUs9w47g8Fg8SryIvIVLhOk/JHR0arhsuSwZH7hKIblbKQHMxKFUk48 y/5i7ba3AoPsuh7UpRAIXJUdeE1GGDYG99NR4LynvKgW1+K8IEg2AUtxV0AN2XWG3Mwd 7zrJNQB8e8pVPGVJi/mDgZcE9LA8Qj0IpIcUbs37Li4h7vYiQVHs9T6YqUUdh011PlYq rDV/4tjB4Pe7OpO1RM1g+QeXsf5fXCEU6F7DmUaUKcJq50OpaU/3GfvbyZwFFqb8DULK F3Eg== X-Gm-Message-State: ALQs6tD3IX5UsbqAZ/qry7EpEZ30uO8GKGeISuiqVt41xvFsvV89R6dj PnEp3zlUlajvu061OJTTb00gxyIi X-Received: by 10.80.213.20 with SMTP id u20mr893083edi.169.1523934782394; Mon, 16 Apr 2018 20:13:02 -0700 (PDT) Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com. [209.85.128.170]) by smtp.gmail.com with ESMTPSA id b36sm7970819edd.81.2018.04.16.20.13.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 20:13:01 -0700 (PDT) Received: by mail-wr0-f170.google.com with SMTP id z73so31243040wrb.0; Mon, 16 Apr 2018 20:13:01 -0700 (PDT) X-Received: by 10.223.196.182 with SMTP id m51mr217049wrf.126.1523934781568; Mon, 16 Apr 2018 20:13:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.142.19 with HTTP; Mon, 16 Apr 2018 20:12:41 -0700 (PDT) In-Reply-To: <20180416215032.5023-2-mylene.josserand@bootlin.com> References: <20180416215032.5023-1-mylene.josserand@bootlin.com> <20180416215032.5023-2-mylene.josserand@bootlin.com> From: Chen-Yu Tsai Date: Tue, 17 Apr 2018 11:12:41 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file To: =?UTF-8?Q?Myl=C3=A8ne_Josserand?= Cc: Russell King , Maxime Ripard , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 17, 2018 at 5:50 AM, Mylène 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ène 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? ChenYu