From: "Vincent Stehlé" <vincent.stehle@laposte•net>
To: linux-next@vger•kernel.org
Cc: "Jean-Philippe Brucker" <jean-philippe.brucker@arm•com>,
linux-kernel@vger•kernel.org,
"Vincent Stehlé" <vincent.stehle@laposte•net>,
"Marc Zyngier" <marc.zyngier@arm•com>,
"Russell King" <rmk+kernel@arm•linux.org.uk>,
linux-arm-kernel@lists•infradead.org
Subject: [PATCH next] ARM: virt: fix build of hyp-stub
Date: Fri, 19 Feb 2016 00:31:17 +0100 [thread overview]
Message-ID: <1455838277-11083-1-git-send-email-vincent.stehle@laposte.net> (raw)
Compile hyp-stub explicitly for arm v7-a. This fixes the following build
errors:
arch/arm/kernel/hyp-stub.S: Assembler messages:
arch/arm/kernel/hyp-stub.S:168: Error: selected processor does not support `ubfx r7,r7,#28,#4' in ARM mode
arch/arm/kernel/hyp-stub.S:176: Error: selected processor does not support `isb' in ARM mode
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte•net>
Cc: Jean-Philippe Brucker <jean-philippe.brucker@arm•com>
Cc: Marc Zyngier <marc.zyngier@arm•com>
Cc: Russell King <rmk+kernel@arm•linux.org.uk>
---
Hi,
This can be seen with linux next-20160218 and arm e.g. allmodconfig.
Best regards,
V.
arch/arm/kernel/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile
index 2c5f160..15684c5 100644
--- a/arch/arm/kernel/Makefile
+++ b/arch/arm/kernel/Makefile
@@ -88,6 +88,8 @@ obj-$(CONFIG_DEBUG_LL) += debug.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_ARM_VIRT_EXT) += hyp-stub.o
+AFLAGS_hyp-stub.o :=-Wa,-march=armv7-a
+
ifeq ($(CONFIG_ARM_PSCI),y)
obj-$(CONFIG_SMP) += psci_smp.o
endif
--
2.7.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2016-02-18 23:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 23:31 Vincent Stehlé [this message]
2016-02-19 10:18 ` [PATCH next] ARM: virt: fix build of hyp-stub Jean-Philippe Brucker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455838277-11083-1-git-send-email-vincent.stehle@laposte.net \
--to=vincent.stehle@laposte$(echo .)net \
--cc=jean-philippe.brucker@arm$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=marc.zyngier@arm$(echo .)com \
--cc=rmk+kernel@arm$(echo .)linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox