diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2014-11-18 06:41:24 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-20 11:33:53 -0500 |
commit | 587064b610c703f259317d00dc37bf6d40f4fc74 (patch) | |
tree | 4170a2e03c6d046c45811f22ab662b988d73ae48 /arch/arm64/kernel/Makefile | |
parent | 0be0e44c182c4f13df13903fd1377671d157d7b7 (diff) |
arm64: Add framework for legacy instruction emulation
Typically, providing support for legacy instructions requires
emulating the behaviour of instructions whose encodings have become
undefined. If the instructions haven't been removed from the
architecture, there maybe an option in the implementation to turn
on/off the support for these instructions.
Create common infrastructure to support legacy instruction
emulation. In addition to emulation, also provide an option to support
hardware execution when supported. The default execution mode (one of
undef, emulate, hw exeuction) is dependent on the state of the
instruction (deprecated or obsolete) in the architecture and
can specified at the time of registering the instruction handlers. The
runtime state of the emulation can be controlled by writing to
individual nodes in sysctl. The expected default behaviour is
documented as part of this patch.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/Makefile')
-rw-r--r-- | arch/arm64/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index a4d8671d6d11..84e9e5153efe 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile | |||
@@ -32,6 +32,7 @@ arm64-obj-$(CONFIG_JUMP_LABEL) += jump_label.o | |||
32 | arm64-obj-$(CONFIG_KGDB) += kgdb.o | 32 | arm64-obj-$(CONFIG_KGDB) += kgdb.o |
33 | arm64-obj-$(CONFIG_EFI) += efi.o efi-stub.o efi-entry.o | 33 | arm64-obj-$(CONFIG_EFI) += efi.o efi-stub.o efi-entry.o |
34 | arm64-obj-$(CONFIG_PCI) += pci.o | 34 | arm64-obj-$(CONFIG_PCI) += pci.o |
35 | arm64-obj-$(CONFIG_ARMV8_DEPRECATED) += armv8_deprecated.o | ||
35 | 36 | ||
36 | obj-y += $(arm64-obj-y) vdso/ | 37 | obj-y += $(arm64-obj-y) vdso/ |
37 | obj-m += $(arm64-obj-m) | 38 | obj-m += $(arm64-obj-m) |