From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
David Lechner <david@lechnology.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/5] davinci: fix sleep.S build error on ARMv4
Date: Thu, 25 Jul 2019 15:12:55 +0200 [thread overview]
Message-ID: <20190725131257.6142-4-brgl@bgdev.pl> (raw)
In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl>
From: Arnd Bergmann <arnd@arndb.de>
When building a multiplatform kernel that includes armv4 support,
the default target CPU does not support the blx instruction,
which leads to a build failure:
arch/arm/mach-davinci/sleep.S: Assembler messages:
arch/arm/mach-davinci/sleep.S:56: Error: selected processor does
not support `blx ip' in ARM mode
Add a .arch statement in the sources to make this file build.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
arch/arm/mach-davinci/sleep.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S
index 05d03f09ff54..50c180acc680 100644
--- a/arch/arm/mach-davinci/sleep.S
+++ b/arch/arm/mach-davinci/sleep.S
@@ -24,6 +24,7 @@
#define DEEPSLEEP_SLEEPENABLE_BIT BIT(31)
.text
+ .arch armv5te
/*
* Move DaVinci into deep sleep state
*
--
2.21.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
David Lechner <david@lechnology.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Bartosz Golaszewski <bgolaszewski@baylibre.com>
Subject: [PATCH v2 3/5] davinci: fix sleep.S build error on ARMv4
Date: Thu, 25 Jul 2019 15:12:55 +0200 [thread overview]
Message-ID: <20190725131257.6142-4-brgl@bgdev.pl> (raw)
In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl>
From: Arnd Bergmann <arnd@arndb.de>
When building a multiplatform kernel that includes armv4 support,
the default target CPU does not support the blx instruction,
which leads to a build failure:
arch/arm/mach-davinci/sleep.S: Assembler messages:
arch/arm/mach-davinci/sleep.S:56: Error: selected processor does
not support `blx ip' in ARM mode
Add a .arch statement in the sources to make this file build.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
arch/arm/mach-davinci/sleep.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S
index 05d03f09ff54..50c180acc680 100644
--- a/arch/arm/mach-davinci/sleep.S
+++ b/arch/arm/mach-davinci/sleep.S
@@ -24,6 +24,7 @@
#define DEEPSLEEP_SLEEPENABLE_BIT BIT(31)
.text
+ .arch armv5te
/*
* Move DaVinci into deep sleep state
*
--
2.21.0
next prev parent reply other threads:[~2019-07-25 13:13 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 13:12 [PATCH v2 0/5] ARM: make DaVinci part of the ARM v5 multiplatform build Bartosz Golaszewski
2019-07-25 13:12 ` Bartosz Golaszewski
2019-07-25 13:12 ` [PATCH v2 1/5] staging: media/davinci_vpfe: fix pinmux setup compilation Bartosz Golaszewski
2019-07-25 13:12 ` Bartosz Golaszewski
2019-07-25 14:45 ` Arnd Bergmann
2019-07-25 14:45 ` Arnd Bergmann
2019-07-25 13:12 ` [PATCH v2 2/5] media: davinci-vpbe: remove obsolete includes Bartosz Golaszewski
2019-07-25 13:12 ` Bartosz Golaszewski
2019-07-25 14:46 ` Arnd Bergmann
2019-07-25 14:46 ` Arnd Bergmann
2019-07-25 13:12 ` Bartosz Golaszewski [this message]
2019-07-25 13:12 ` [PATCH v2 3/5] davinci: fix sleep.S build error on ARMv4 Bartosz Golaszewski
2019-07-25 13:12 ` [PATCH v2 4/5] ARM: davinci: support multiplatform build for ARM v5 Bartosz Golaszewski
2019-07-25 13:12 ` Bartosz Golaszewski
2019-09-09 7:38 ` Sekhar Nori
2019-09-09 7:38 ` Sekhar Nori
2019-09-09 19:38 ` Arnd Bergmann
2019-09-09 19:38 ` Arnd Bergmann
2019-07-25 13:12 ` [PATCH v2 5/5] ARM: multi_v5_defconfig: make DaVinci part of the ARM v5 multiplatform build Bartosz Golaszewski
2019-07-25 13:12 ` Bartosz Golaszewski
2019-09-09 7:38 ` Sekhar Nori
2019-09-09 7:38 ` Sekhar Nori
2019-07-25 14:57 ` [PATCH v2 0/5] ARM: " Arnd Bergmann
2019-07-25 14:57 ` Arnd Bergmann
2019-08-05 8:31 ` Bartosz Golaszewski
2019-08-05 8:31 ` Bartosz Golaszewski
2019-08-28 7:33 ` Bartosz Golaszewski
2019-08-28 7:33 ` Bartosz Golaszewski
2019-08-28 7:44 ` Sekhar Nori
2019-08-28 7:44 ` Sekhar Nori
2019-08-28 7:55 ` Bartosz Golaszewski
2019-08-28 7:55 ` Bartosz Golaszewski
2019-09-07 8:21 ` Arnd Bergmann
2019-09-07 8:21 ` Arnd Bergmann
2019-09-08 13:31 ` Bartosz Golaszewski
2019-09-08 13:31 ` Bartosz Golaszewski
2019-09-09 7:53 ` Sekhar Nori
2019-09-09 7:53 ` Sekhar Nori
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=20190725131257.6142-4-brgl@bgdev.pl \
--to=brgl@bgdev.pl \
--cc=arnd@arndb.de \
--cc=bgolaszewski@baylibre.com \
--cc=david@lechnology.com \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nsekhar@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.