Correct and improve the ARM tunings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arch-armv8a.inc: Correct PACKAGE_EXTRA_ARCHS_tune-armv8a-*meta/ | +3 | 0 replies | |
| 2/6 | Revert "arch-armv5-dsp.inc: Check for dsp only to enable 'e' in package arches"meta/ | +1 | 2 replies | |
| 3/6 | Revert "arm-tunes: Remove -march option if mcpu is already added"meta/ meta/ meta/ +11 more | +76 | 0 replies | |
| 4/6 | arm-tunes: Prefer the -mcpu option over -marchmeta/ meta/ meta/ +23 more | +33 | 0 replies | |
| 5/6 | arch-arm64.inc: Lower the priority of aarch64 in MACHINEOVERRIDESmeta/ | +1 | 0 replies | |
| 6/6 | arm-tunes: Add armv8a to TUNE_FEATURES as appropriatemeta/ meta/ meta/ +1 more | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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