Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4 v3] arch/arm: introduce big.LITTLE configurations
@ 2017-07-09  9:29 Yann E. MORIN
  2017-07-09  9:29 ` [Buildroot] [PATCH 1/4 v3] arch/arm: fix -mcpu default values for AArch64 Yann E. MORIN
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Yann E. MORIN @ 2017-07-09  9:29 UTC (permalink / raw)
  To: buildroot

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(-)

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-07-22 21:50 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-09  9:29 [Buildroot] [PATCH 0/4 v3] arch/arm: introduce big.LITTLE configurations Yann E. MORIN
2017-07-09  9:29 ` [Buildroot] [PATCH 1/4 v3] arch/arm: fix -mcpu default values for AArch64 Yann E. MORIN
2017-07-10 16:04   ` Thomas Petazzoni
2017-07-10 16:18     ` Tomov, Pavel
2017-07-10 16:22       ` Yann E. MORIN
2017-07-19 13:59   ` Peter Korsgaard
2017-07-09  9:29 ` [Buildroot] [PATCH 2/4 v3] package/kvm-unit-tests: introduce _ARCH_SUPPORTS Yann E. MORIN
2017-07-10 16:09   ` Thomas Petazzoni
2017-07-10 16:20     ` Yann E. MORIN
2017-07-10 19:56       ` Arnout Vandecappelle
2017-07-10 20:10         ` Yann E. MORIN
2017-07-10 20:12           ` Arnout Vandecappelle
2017-07-10 20:19             ` Yann E. MORIN
2017-07-10 21:47       ` Thomas Petazzoni
2017-07-10 21:57         ` Yann E. MORIN
2017-07-11 21:14           ` Arnout Vandecappelle
2017-07-22 21:28   ` Thomas Petazzoni
2017-07-22 21:49     ` Yann E. MORIN
2017-07-09  9:30 ` [Buildroot] [PATCH 3/4 v3] arch/arm: add big.LITTLE cpu variants Yann E. MORIN
2017-07-22 21:29   ` Thomas Petazzoni
2017-07-09  9:30 ` [Buildroot] [PATCH 4/4 v3] package/kvm-unit-test: available for big.LITTLE arm cores too Yann E. MORIN
2017-07-22 21:29   ` Thomas Petazzoni
2017-07-22 21:50     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox