[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861384: arm64: emulate deprecated instructions



Package: linux
Version: 4.10.7-1~exp1
Severity: wishlist
Tags: patch
User: debian-arm@lists.debian.org
Usertag: arm64

After some consideration, I think indeed this kernel option needs to be
enabled.

 1) Rasperry pi binaries

While using rasperry-pi targetted Docker images is terrible for
performance, rebuilding the images for ARMv8 is often a messy process.
And then there is the valid usecase of developing images and apps for
rasperry pi users. Finally, there are some binary-only rasperry pi apps.

 2) Support for android apps

While anbox isn't around for armv8, it's probably just a matter of time.
Android ecosystem is binary-only and a non-trivial amount of binaries
have been built for pre-ARMv7 times.

 3) armel development

Most obsolete of all the options, but some people might want to use arm64
machines to build and test apps to be deployed on existing armel HW.
---
 debian/config/arm64/config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/config/arm64/config b/debian/config/arm64/config
index 2be794a6c..a0432894d 100644
--- a/debian/config/arm64/config
+++ b/debian/config/arm64/config
@@ -12,6 +12,10 @@ CONFIG_SCHED_MC=y
 CONFIG_SECCOMP=y
 CONFIG_KEXEC=y
 CONFIG_XEN=y
+CONFIG_ARMV8_DEPRECATED=y
+CONFIG_SWP_EMULATION=y
+CONFIG_CP15_BARRIER_EMULATION=y
+CONFIG_SETEND_EMULATION=y
 CONFIG_RANDOMIZE_BASE=y
 CONFIG_RANDOMIZE_MODULE_REGION_FULL=y
 CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y
-- 
2.11.0


Reply to: