linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: punit.agrawal@arm.com (Punit Agrawal)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv4 2/5] arm64: Add AArch32 instruction set condition code checks
Date: Wed, 12 Nov 2014 11:44:49 +0000	[thread overview]
Message-ID: <1415792692-11189-3-git-send-email-punit.agrawal@arm.com> (raw)
In-Reply-To: <1415792692-11189-1-git-send-email-punit.agrawal@arm.com>

Port support for AArch32 instruction condition code checking from arm
to arm64.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
---
 arch/arm64/include/asm/opcodes.h | 1 +
 arch/arm64/kernel/Makefile       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/include/asm/opcodes.h

diff --git a/arch/arm64/include/asm/opcodes.h b/arch/arm64/include/asm/opcodes.h
new file mode 100644
index 0000000..4e603ea
--- /dev/null
+++ b/arch/arm64/include/asm/opcodes.h
@@ -0,0 +1 @@
+#include <../../arm/include/asm/opcodes.h>
diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
index 5bd029b..a4d8671 100644
--- a/arch/arm64/kernel/Makefile
+++ b/arch/arm64/kernel/Makefile
@@ -18,7 +18,8 @@ arm64-obj-y		:= cputable.o debug-monitors.o entry.o irq.o fpsimd.o	\
 			   cpuinfo.o
 
 arm64-obj-$(CONFIG_COMPAT)		+= sys32.o kuser32.o signal32.o 	\
-					   sys_compat.o
+					   sys_compat.o 			\
+					   ../../arm/kernel/opcodes.o
 arm64-obj-$(CONFIG_FUNCTION_TRACER)	+= ftrace.o entry-ftrace.o
 arm64-obj-$(CONFIG_MODULES)		+= arm64ksyms.o module.o
 arm64-obj-$(CONFIG_SMP)			+= smp.o smp_spin_table.o topology.o
-- 
2.1.1

  parent reply	other threads:[~2014-11-12 11:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 11:44 [PATCHv4 0/5] Legacy instruction emulation for arm64 Punit Agrawal
2014-11-12 11:44 ` [PATCHv4 1/5] arm64: Add support for hooks to handle undefined instructions Punit Agrawal
2014-11-14 17:28   ` Catalin Marinas
2014-11-14 17:39     ` Punit Agrawal
2014-11-12 11:44 ` Punit Agrawal [this message]
2014-11-12 11:44 ` [PATCHv4 3/5] arm64: Port SWP/SWPB emulation support from arm Punit Agrawal
2014-11-14 18:24   ` Catalin Marinas
2014-11-17 18:58     ` Punit Agrawal
2014-11-12 11:44 ` [PATCHv4 4/5] arm64: Emulate CP15 Barrier instructions Punit Agrawal
2014-11-14 18:32   ` Catalin Marinas
2014-11-12 11:44 ` [PATCHv4 5/5] arm64: Trace emulation of AArch32 legacy instructions Punit Agrawal
2014-11-14 18:33   ` Catalin Marinas
2014-11-14 22:12   ` Steven Rostedt
2014-11-17 17:36     ` Punit Agrawal

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=1415792692-11189-3-git-send-email-punit.agrawal@arm.com \
    --to=punit.agrawal@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).