Skip to content

Correct and improve the ARM tunings

Peter Kjellerstedt openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arch-armv8a.inc: Correct PACKAGE_EXTRA_ARCHS_tune-armv8a-*meta/conf/machine/include/arm/arch-armv8a.inc+3 -30 replies
2/6Revert "arch-armv5-dsp.inc: Check for dsp only to enable 'e' in package arches"meta/conf/machine/include/arm/arch-armv5-dsp.inc+1 -12 replies
3/6Revert "arm-tunes: Remove -march option if mcpu is already added"meta/conf/machine/include/tune-arm1136jf-s.inc meta/conf/machine/include/tune-arm920t.inc meta/conf/machine/include/tune-arm926ejs.inc +11 more+76 -1090 replies
4/6arm-tunes: Prefer the -mcpu option over -marchmeta/conf/machine/include/arm/arch-arm.inc meta/conf/machine/include/arm/arch-armv4.inc meta/conf/machine/include/arm/arch-armv5.inc +23 more+33 -270 replies
5/6arch-arm64.inc: Lower the priority of aarch64 in MACHINEOVERRIDESmeta/conf/machine/include/arm/arch-arm64.inc+1 -10 replies
6/6arm-tunes: Add armv8a to TUNE_FEATURES as appropriatemeta/conf/machine/include/tune-cortexa32.inc meta/conf/machine/include/tune-cortexa35.inc meta/conf/machine/include/tune-cortexa53.inc +1 more+12 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Correct and improve the ARM tunings

These patches are intended to improve the ARM tunings and came about after I had to study the tune files a lot more than I first had anticipated...

The first patch (arch-armv8a.inc: Correct PACKAGE_EXTRA_ARCHS_tune-armv8a-*) avoids odd architectures such as "crc" and "crypto" to be included in PACKAGE_EXTRA_ARCHS.

The following three patches (where i have sent the latter two to the list before) restores the "armv*" features to TUNE_FEATURES for all ARM based SoCs as it does not make sense to remove them from the SoC specific tune files just to determine whether -mcpu or -march shall be used. This is because the SoCs still support the armv* features specified in their TUNE_FEATURES even if they also have more specific SoC tunings.

The next patch (arch-arm64.inc: Lower the priority of aarch64 in MACHINEOVERRIDES) makes sure that ${SOC_FAMILY} (if present) and ${MACHINE} have higher override priorities than aarch64, as should be.

Finally, the last patch (arm-tunes: Add armv8a to TUNE_FEATURES as appropriate) adds the "armv8a" feature to TUNE_FEATURES for the Cortex-A32, Cortex-A35, Cortex-A53 and Cortex-A72 to match all the other ARM tunings.

//Peter

The following changes since commit a397fd17e42d745e6a23dee86e82b887f3d25ccd:

layer.conf: Update to warrior release name series (2019-04-02 15:24:50 +0100)

are available in the git repository at:

git://push.yoctoproject.org/poky-contrib pkj/arm-tunings

Peter Kjellerstedt (6):
arch-armv8a.inc: Correct PACKAGE_EXTRA_ARCHS_tune-armv8a-* Revert "arch-armv5-dsp.inc: Check for dsp only to enable 'e' in
package arches"
Revert "arm-tunes: Remove -march option if mcpu is already added"
arm-tunes: Prefer the -mcpu option over -march arch-arm64.inc: Lower the priority of aarch64 in MACHINEOVERRIDES
arm-tunes: Add armv8a to TUNE_FEATURES as appropriate

 meta/conf/machine/include/arm/arch-arm.inc       |  6 +++++
 meta/conf/machine/include/arm/arch-arm64.inc     |  2 +-
 meta/conf/machine/include/arm/arch-armv4.inc     |  2 +-
 meta/conf/machine/include/arm/arch-armv5-dsp.inc |  2 +-
 meta/conf/machine/include/arm/arch-armv5.inc     |  2 +-
 meta/conf/machine/include/arm/arch-armv6.inc     |  2 +-
 meta/conf/machine/include/arm/arch-armv7a.inc    |  2 +-
 meta/conf/machine/include/arm/arch-armv7ve.inc   |  2 +-
 meta/conf/machine/include/arm/arch-armv8a.inc    | 12 +++++-----
 meta/conf/machine/include/tune-arm1136jf-s.inc   |  6 ++---
 meta/conf/machine/include/tune-arm920t.inc       |  6 ++---
 meta/conf/machine/include/tune-arm926ejs.inc     |  6 ++---
 meta/conf/machine/include/tune-arm9tdmi.inc      |  6 ++---
 meta/conf/machine/include/tune-cortexa15.inc     | 29 ++++++++++-------------
 meta/conf/machine/include/tune-cortexa17.inc     | 29 ++++++++++-------------
 meta/conf/machine/include/tune-cortexa32.inc     | 11 ++++-----
 meta/conf/machine/include/tune-cortexa35.inc     |  6 ++---
 meta/conf/machine/include/tune-cortexa5.inc      | 29 ++++++++++-------------
 meta/conf/machine/include/tune-cortexa53.inc     | 10 ++++----
 meta/conf/machine/include/tune-cortexa7.inc      | 29 ++++++++++-------------
 meta/conf/machine/include/tune-cortexa72.inc     |  6 ++---
 meta/conf/machine/include/tune-cortexa8.inc      | 21 +++++++----------
 meta/conf/machine/include/tune-cortexa9.inc      | 30 ++++++++++--------------
 meta/conf/machine/include/tune-ep9312.inc        |  3 +--
 meta/conf/machine/include/tune-iwmmxt.inc        |  3 +--
 meta/conf/machine/include/tune-strongarm1100.inc |  5 ++--
 meta/conf/machine/include/tune-thunderx.inc      |  2 +-
 meta/conf/machine/include/tune-xscale.inc        |  9 +++----
 28 files changed, 125 insertions(+), 153 deletions(-)
Signature · 1 line
2.12.0