Skip to content

arch/arm: introduce big.LITTLE configurations

Yann E. MORIN buildroot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 0 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- augment the commit log for the big.LITTLE variants and their gcc version dependencies (Arnout)
- fix KVM_UNIT_TEST_ARCH_SUPPORT wrt gcc (Arnout)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arch/arm: fix -mcpu default values for AArch64arch/Config.in.arm+3 -93 replies
1/4arch/arm: fix -mcpu default values for AArch64+0 -00 replies
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTSpackage/kvm-unit-tests/Config.in+15 -72 replies
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTS+0 -02 replies
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTS+0 -01 reply
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTS+0 -00 replies
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTS+0 -01 reply
2/4package/kvm-unit-tests: introduce _ARCH_SUPPORTS+0 -00 replies
3/4arch/arm: add big.LITTLE cpu variantsarch/Config.in.arm package/gcc/Config.in.host toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in +1 more+48 -11 reply
4/4package/kvm-unit-test: available for big.LITTLE arm cores toopackage/kvm-unit-tests/Config.in+2 -11 reply
4/4package/kvm-unit-test: available for big.LITTLE arm cores too+0 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [Buildroot] [PATCH 0/4 v3] arch/arm: introduce big.LITTLE configurations

Hello All!

This series adds four new CPU variants to the arm choice, to enable optimising for big.LITTLE CPUs.

We first fix the current values in the first patch, then introduce the actual new variants, and then make use of them in the sole package that needs to know of them.

This has been only slightly tested by simply building the toolchains for the six possibilities:
- the four variants in arm mode (32-bit),
- the two armv8 variants in aarch64 mode (64-bit).

The variants were introduced in various versions of gcc, so we protect the internal gcc as well as the external toolchains accordingly.

To be noted: openblas also has a cortex-a15 optimisation, so maybe that optimisation can also be used for the cortex-a15.cortex-a7 variant as well. But I have absolutely no clue what openblas is doing with that anyway, so I left it alone for someone else to deal with...

Changes v2 -> v3:
- augment the commit log for the big.LITTLE variants and their gcc version dependencies (Arnout)
- fix KVM_UNIT_TEST_ARCH_SUPPORT wrt gcc (Arnout)

Changes v1 -> v2:
- squash first two patches in one (Thomas)
- parentheses and indentation cleanup (Baruch, me)

Regards,
Yann E. MORIN.

The following changes since commit 644c024edeb7e20bd96ce4426aeca2cbcd74d9b9

syslinux: drop patch 0003, not needed after gnu-efi update (2017-07-04 18:45:26 +0200)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to e9a53f9e66ea0d124e8c4ab028f01b41d694910d

package/kvm-unit-test: available for big.LITTLE arm cores too (2017-07-09 11:24:31 +0200)

----------------------------------------------------------------
Yann E. MORIN (4):
arch/arm: fix -mcpu default values for AArch64 package/kvm-unit-tests: introduce _ARCH_SUPPORTS arch/arm: add big.LITTLE cpu variants package/kvm-unit-test: available for big.LITTLE arm cores too

 arch/Config.in.arm                                 | 50 ++++++++++++++++++----
 package/gcc/Config.in.host                         |  5 ++-
 package/kvm-unit-tests/Config.in                   | 23 +++++++---
 .../Config.in                                      |  2 +
 .../toolchain-external-codesourcery-arm/Config.in  |  4 ++
 5 files changed, 67 insertions(+), 17 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'