Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5581300yba; Thu, 11 Apr 2019 00:56:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1tjchDXCZ2NCY0VdOrzSdliUcs83p5tZL+2lqg1B7/qG6TsLt7WMahumAeP6LxQje9s7C X-Received: by 2002:a17:902:b597:: with SMTP id a23mr77940pls.284.1554969360871; Thu, 11 Apr 2019 00:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554969360; cv=none; d=google.com; s=arc-20160816; b=NgI7do3hUExIdbj1YDEda8GM4m8BmcGLDTMei83tyHCAwqeVn2j7ksl/Cb5vjdqz8v 3UZBRenNmm7kqylSKDDQxfi0UGLxnk/66ixab+KDO77Vj2sxVP9GETD6/ULWZ3TbgyFX LSVbmUFltM+PDKOLL1CssWVCc4a/GLjDP9X3ebrMvZke952Lk8zBfm7EhWLKrwODFURo 0Exo130J5wHdeD9sBQ6BzEXK0bGq8v44xSufod2/vKSqcqlW4lDka9VCk1u683p7XhiK Qo4/g6z8E0C9TaJTd/IRHQNGplfzRJ7scnj+bPNczfAyUvMgf6TaDMoqhVGDiHUOSCI3 0d1w== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mE+cgShggDTO6VFE2wiOyVFnlAoIaj8WJeqFxe4soyI=; b=Sjqf9kjMxwRlqnHxRpeorIWV+ehWKPllBiDitubrXVwwHjerXE+YRPTcKAQ5Xphi6k 3FbwVPXsI0aUkEnsehpVzFspUPH21nMEysapT1zPwJPdM4uGrNyUnNTSV4B2H5aqcH+b wOvWIOvJXlZ9x7mWJ7P5nDY+spDkFZycIvqkOJSoDpN9uj2/B8AFj/jcRV5vjkf+lf0m dk2bX7h3k2xqtkKrOcloh79jDLI9a7Qk4zdsF2K+sdBI7mdzEBoRtxG2mX6QLv7dW4fn 7jWga7MWiVBzZVxBWEOFEyPN7pQ2IrCBf/d/ziSsHHEuhg+Fc22Egy4dNJWnEYnfmeOL 7epg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=x5C0Qldj; 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 m7si10167352pls.114.2019.04.11.00.55.45; Thu, 11 Apr 2019 00:56:00 -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; dkim=pass header.i=@agner.ch header.s=dkim header.b=x5C0Qldj; 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 S1726993AbfDKHxN (ORCPT + 99 others); Thu, 11 Apr 2019 03:53:13 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:35884 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbfDKHxM (ORCPT ); Thu, 11 Apr 2019 03:53:12 -0400 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::360]) by mail.kmu-office.ch (Postfix) with ESMTPSA id C47E55C114C; Thu, 11 Apr 2019 09:53:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1554969190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mE+cgShggDTO6VFE2wiOyVFnlAoIaj8WJeqFxe4soyI=; b=x5C0Qldj4R8dton88kpsNEABRFtT507u3KVEM96PLm9k10Cr6YehHepQIFbTZ8/tHXYB8X FilzeOUT7RWn5hE5gMyPUsm5GlZw239dPK7/tz9KsiO2dKsj18w8dlbfbWufCbfhT047jd 07uwnKKXE4inu6x7JhEztkh/ChSzkjc= From: Stefan Agner To: arm@kernel.org Cc: linux@armlinux.org.uk, arnd@arndb.de, ard.biesheuvel@linaro.org, robin.murphy@arm.com, nicolas.pitre@linaro.org, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, kgene@kernel.org, krzk@kernel.org, robh@kernel.org, ssantosh@kernel.org, jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, tony@atomide.com, marc.w.gonzalez@free.fr, mans@mansr.com, ndesaulniers@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner , Nicolas Pitre Subject: [PATCH v3 4/4] ARM: mvebu: prefix coprocessor operand with p Date: Thu, 11 Apr 2019 09:54:03 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In every other instance where mrc is used the coprocessor operand is prefix with p (e.g. p15). Use the p prefix in this case too. This fixes a build issue when using LLVM's integrated assembler: arch/arm/mach-mvebu/coherency_ll.S:69:6: error: invalid operand for instruction mrc 15, 0, r3, cr0, cr0, 5 ^ arch/arm/mach-mvebu/pmsu_ll.S:19:6: error: invalid operand for instruction mrc 15, 0, r0, cr0, cr0, 5 @ get the CPU ID ^ Signed-off-by: Stefan Agner Acked-by: Nicolas Pitre --- arch/arm/mach-mvebu/coherency_ll.S | 2 +- arch/arm/mach-mvebu/pmsu_ll.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/coherency_ll.S b/arch/arm/mach-mvebu/coherency_ll.S index 8b2fbc8b6bc6..2d962fe48821 100644 --- a/arch/arm/mach-mvebu/coherency_ll.S +++ b/arch/arm/mach-mvebu/coherency_ll.S @@ -66,7 +66,7 @@ ENDPROC(ll_get_coherency_base) * fabric registers */ ENTRY(ll_get_coherency_cpumask) - mrc 15, 0, r3, cr0, cr0, 5 + mrc p15, 0, r3, cr0, cr0, 5 and r3, r3, #15 mov r2, #(1 << 24) lsl r3, r2, r3 diff --git a/arch/arm/mach-mvebu/pmsu_ll.S b/arch/arm/mach-mvebu/pmsu_ll.S index c1fb713e9306..7aae9a25cfeb 100644 --- a/arch/arm/mach-mvebu/pmsu_ll.S +++ b/arch/arm/mach-mvebu/pmsu_ll.S @@ -16,7 +16,7 @@ ENTRY(armada_38x_scu_power_up) mrc p15, 4, r1, c15, c0 @ get SCU base address orr r1, r1, #0x8 @ SCU CPU Power Status Register - mrc 15, 0, r0, cr0, cr0, 5 @ get the CPU ID + mrc p15, 0, r0, cr0, cr0, 5 @ get the CPU ID and r0, r0, #15 add r1, r1, r0 mov r0, #0x0 -- 2.21.0