Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1666896img; Sat, 23 Mar 2019 08:55:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQVXoEkpoI2M57O6aI1KW0WpEzudaJv4TSYsF+imDNWf9E3CzgYzyFHuSn0yZeBdkXlW9y X-Received: by 2002:a17:902:6b49:: with SMTP id g9mr15798825plt.291.1553356504845; Sat, 23 Mar 2019 08:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553356504; cv=none; d=google.com; s=arc-20160816; b=OCdMwUP+Zr7YTaeCl1jAKx4HfChzk4IBkOeLGXdq92/tnOj5I73gCNbdLTYBeXCDP2 s/lg1GChao4tldzkkpq7LB0yR/3Ezjvm6WDqNlMLgb7pw3ngZyokLNkiRb6i5Xays59D 5Kn+KmvArPM8W5UdBNMJ67KtJ3uPOapIuv81cM5OP/Lo6PP8g/TyR4EK2BkhgQ9qY7CF icDMiwjjJ5jiOE4xl130U9NlLUbCojQYK7IAkUnNPwzcZgOeYXKcJAwIF28wQB/jIZqT 812wV8ZptbyVzYwnGrge48UPxCXdc36NFqRzt9qvcbOw7lOy0W5VviN+Myitztq95FGo erTA== 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=wIYrioksRXwlOk0IovzjY06kHsUw+fURLPHEj7Q7CNc=; b=DDIeyGjR/Mby4kaGGE1/EgoLsjnza5XAu4Z6PIMZHJANm82nltem+Bly+0rHTUk+FO 1wt0I5pXIW/P4QqfM7YxbHdM3J0CMKGzzcvqFfJgAozpcDgxp6ZQ7L0r//eXFC70dMK1 ZaqwaZ4X4+N0gv2Jwkr2HRzy9i0s6NbuOSVDQ7ucgZD9R9J6g0alqsoqXm4AuFYZMW+m NaA68m50qlaUO8dl6yXf69ADvML6KnOVU5AqHKat8KFQWTr2AZ6SSdPs4a5MnFFVBssg IjsOJ45KylrkrUqEmc63UXWfqOYKjkXI24oNngc9wbjpiR5cpbTQkRbEUuJDNTvtWQNo M6qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=sbTkzy89; 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 c4si9341891pgk.353.2019.03.23.08.54.50; Sat, 23 Mar 2019 08:55:04 -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=sbTkzy89; 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 S1727733AbfCWPwt (ORCPT + 99 others); Sat, 23 Mar 2019 11:52:49 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:52132 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbfCWPwt (ORCPT ); Sat, 23 Mar 2019 11:52:49 -0400 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::3e6]) by mail.kmu-office.ch (Postfix) with ESMTPSA id DE5F45C23A7; Sat, 23 Mar 2019 16:52:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1553356367; 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=wIYrioksRXwlOk0IovzjY06kHsUw+fURLPHEj7Q7CNc=; b=sbTkzy891OFBoekrCVU+j1+52IS9QB7p10tJqNd5hlhnNmnV4n329ZrfVnvT7+Og366p1j e1IFKZJ/tkHxh8KzDwA319UUHGsZWF0iKKajh9Go+kNOv5I2w1st9zf8yVZmMYWZewN7Jc zptf8+DChnnvIzP2+hIjjP/lvgfld1U= From: Stefan Agner To: linux@armlinux.org.uk Cc: 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 Subject: [PATCH 3/3] ARM: mvebu: prefix coprocessor operand with p Date: Sat, 23 Mar 2019 16:52:58 +0100 Message-Id: <7258b06ce7f788dd5d8eedc55855205c08068c0b.1553356359.git.stefan@agner.ch> X-Mailer: git-send-email 2.21.0 In-Reply-To: <9641c58c03720104186a797a96e30a52ae9805e4.1553356359.git.stefan@agner.ch> References: <9641c58c03720104186a797a96e30a52ae9805e4.1553356359.git.stefan@agner.ch> 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 --- 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