In response to the incident on 16/05/25, we will be carrying out Emergency Maintenance on the storage system which hosts Bugzilla.

This will occur between 07:00 and 10:00 Tuesday 27/05/25

While we do not expect any disruption to Bugzilla, some outages may occur.

Thank you for your understanding.

Bug 1029158 - CONFIG_ARMV8_DEPRECATED (and related submenu options) should be enabled
Summary: CONFIG_ARMV8_DEPRECATED (and related submenu options) should be enabled
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Leap 42.3
Hardware: aarch64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Matthias Brugger
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 15:11 UTC by Forgotten User U8N0wM0L8p
Modified: 2021-07-07 18:45 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User U8N0wM0L8p 2017-03-13 15:11:25 UTC
If one wants to use legacy aarch32 binaries, the CONFIG_COMPAT option needs to be set in the kernel, and today we do this.  This in turn allows some aarch32 binaries to run easily.  However, there is a large world of software that is "armhf" but rather than being tuned for ARMv7 is tuned for ARMv6 (and the RPi).  In order for this to run ARMV8_DEPRECATED and then at least CP15_BARRIER_EMULATION needs to be enabled (the other 2 options would also likely be helpful).

The real-world example here is that at least today, the Docker "armhf" scratch builds (and in turn lots of stuff is based on this) do not just run and you will get for example:
[ 1961.636326] python[3661]: undefined instruction: pc=00000000f6965dbc
[ 1961.636336] Code: e5821060 e3a01000 e5821064 e5821068 (ee070fba) 
(this is also true of busybox).
And then with the options enabled:
[   37.605796] "ls" (1464) uses deprecated CP15 Barrier instruction at 0xc95dc
...
[   72.888570] "python" (1881) uses deprecated CP15 Barrier instruction at 0xf6ab4dbc
Comment 1 Matthias Brugger 2017-03-30 14:19:26 UTC
merged into the kernel, it might take some days to show up
Comment 2 Andreas Färber 2017-09-10 19:51:31 UTC
Fix queued for master branch now.