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>
Loading
-
mentioned in commit e10bd267
-
mentioned in commit 0188c903
-
mentioned in commit 885349f5
-
mentioned in commit 77790139
-
mentioned in commit a44cd34b
-
mentioned in commit 076a395d
-
mentioned in commit 2cba0be7
-
mentioned in commit a20ff60c
-
mentioned in commit e55695bf
-
mentioned in commit edb17d76
-
mentioned in commit 69899fa4
-
mentioned in commit 390a6004
-
mentioned in commit b38f4656
-
mentioned in commit c09f7cfd
-
mentioned in commit 4d002f52
-
mentioned in commit 14d2789f
-
mentioned in commit bb1540be
-
mentioned in commit a85f3f5a
-
mentioned in commit 39793952
-
mentioned in commit ff7983aa
Please sign in to comment