Skip to contentSkip to conversation

Add more tunes for new ARM processors Cortex-A15 and Cortex-A7

PATCH In review Denys Dmytriyenko 3 participants 8 messages Oct 19, 2012

lore
Share & tools
lore
#2 lore raw

PATCH 2/2 tune-cortexa7: add tunes for ARM Cortex-A7

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

http://www.arm.com/products/processors/cortex-a/cortex-a7.php

---
 meta/conf/machine/include/tune-cortexa7.inc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
meta/conf/machine/include/tune-cortexa7.inc new file +24 -0
new file mode 100644
index 0000000..8e41139
@@ -0,0 +1,24 @@
+DEFAULTTUNE ?= "cortexa7-neon"
+
+require conf/machine/include/arm/arch-armv7a.inc
+
+TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}"
+
+# Little Endian base configs
+AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon"
+TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7"
+TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7"
+TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}"
+
+# VFP Tunes
+AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon"
+TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7"
+TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7"
+TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
Signature · 1 line
1.7.12.3
#0 lore raw

cover Add more tunes for new ARM processors Cortex-A15 and Cortex-A7

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Denys Dmytriyenko (2):
tune-cortexa15: add tunes for ARM Cortex-A15
tune-cortexa7: add tunes for ARM Cortex-A7

 meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++
 meta/conf/machine/include/tune-cortexa7.inc  | 24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa15.inc
 create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
Signature · 1 line
1.7.12.3
#1 lore raw

PATCH 1/2 tune-cortexa15: add tunes for ARM Cortex-A15

From: Denys Dmytriyenko <[email protected]>

http://www.arm.com/products/processors/cortex-a/cortex-a15.php

---
 meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa15.inc
meta/conf/machine/include/tune-cortexa15.inc new file +24 -0
new file mode 100644
index 0000000..690e934
@@ -0,0 +1,24 @@
+DEFAULTTUNE ?= "cortexa15-neon"
+
+require conf/machine/include/arm/arch-armv7a.inc
+
+TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", "-mtune=cortex-a15", "", d)}"
+
+# Little Endian base configs
+AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon"
+TUNE_FEATURES_tune-cortexa15 = "${TUNE_FEATURES_tune-armv7a} cortexa15"
+TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-armv7at} cortexa15"
+TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa15"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}"
+
+# VFP Tunes
+AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon"
+TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15"
+TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15"
+TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}"
+PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
Signature · 1 line
1.7.12.3
#3 lore raw
In reply to Denys Dmytriyenko
Quoted 7 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Please check this patchset
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030759.html

Quoted 19 lines

Denys Dmytriyenko (2):
tune-cortexa15: add tunes for ARM Cortex-A15
tune-cortexa7: add tunes for ARM Cortex-A7

 meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++
 meta/conf/machine/include/tune-cortexa7.inc  | 24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa15.inc
 create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
Signature · 7 lines
1.7.12.3


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
Quoted 11 lines · Martin Jansa
Quoted 7 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Please check this patchset
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030759.html

Yes, I've seen that patchset. Unfortunately it's still in the queue and is going through implementation iterations. Once it gets into OE-Core, I'd be happy to update my tune files with the corresponding ARMPKGARCH and DEFAULTTUNE changes. But I don't think that tune rework patchset should block new tune files, as they don't break anything and adhere to the existing framework. Thanks.

Signature · 1 line
Denys
Quoted 21 lines
Quoted 18 lines

Denys Dmytriyenko (2):
tune-cortexa15: add tunes for ARM Cortex-A15
tune-cortexa7: add tunes for ARM Cortex-A7

 meta/conf/machine/include/tune-cortexa15.inc | 24 ++++++++++++++++++++++++
 meta/conf/machine/include/tune-cortexa7.inc  | 24 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-cortexa15.inc
 create mode 100644 meta/conf/machine/include/tune-cortexa7.inc
Signature · 7 lines
1.7.12.3


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Martin Jansa
Quoted 5 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Please check this patchset
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030759.html

Yes, I've seen that patchset. Unfortunately it's still in the queue and is going through implementation iterations. Once it gets into OE-Core, I'd be

Nobody commented on last iteration (except of acks from khem). So I don't plan to send another one.

Quoted 4 lines

happy to update my tune files with the corresponding ARMPKGARCH and DEFAULTTUNE changes. But I don't think that tune rework patchset should block new tune files, as they don't break anything and adhere to the existing framework. Thanks.

Your new tune files wont work if that patchset is applied, that's why I commented on them.

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 11 lines · Martin Jansa
Quoted 10 lines · Denys Dmytriyenko
Quoted 9 lines · Martin Jansa
Quoted 7 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please check this patchset
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030759.html

Yes, I've seen that patchset. Unfortunately it's still in the queue and is going through implementation iterations. Once it gets into OE-Core, I'd be

Nobody commented on last iteration (except of acks from khem). So I don't plan to send another one.

It was made clear that we were concentrating on the release and these were something we'd come back to afterwards. I also made it very clear that I'm opposed to something that is repeatedly getting proposed here. Lets just say it is unlikely I will simply change my mind if people keep sending it.

I'm trying to get to the point of reviewing the patches that need attention and give more constructive feedback having cleared the less problematic ones out the way and shortened the backlog but I'm not there yet. Ideally I'd like to take a break entirely but sadly that simply isn't going to happen :(. I'll try and get to these as soon as I can but there is a substantial queue.

I'd also point out I'm getting considerable "feedback" as soon as anything goes into master that destabilises the build so when anything does merge, fixing fallout is taking priority too.

Cheers,

Richard

#7 lore raw
Quoted 15 lines · Richard Purdie
Quoted 14 lines · Martin Jansa
Quoted 13 lines · Denys Dmytriyenko
Quoted 11 lines · Martin Jansa
Quoted 7 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The patchset adds 2 more standard tune files for the new ARM MPCore (multicore) processors Cortex-A15 and Cortex-A7, as per:

http://www.arm.com/products/processors/cortex-a/cortex-a15.php
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Please check this patchset
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030759.html

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Yes, I've seen that patchset. Unfortunately it's still in the queue and is going through implementation iterations. Once it gets into OE-Core, I'd be

Nobody commented on last iteration (except of acks from khem). So I don't plan to send another one.

It was made clear that we were concentrating on the release and these were something we'd come back to afterwards. I also made it very clear

I'm not complaining that it wasn't merged yet, just saying that it should be considered for merging before adding more tune files to fix.

Quoted 3 lines

that I'm opposed to something that is repeatedly getting proposed here. Lets just say it is unlikely I will simply change my mind if people keep sending it.

AFAIK You were against OPTDEFAULTTUNE and that's not used in last iteration. Last iteration just defines different PKGARCH for different CCARGS as you said:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1916#c6

Quoted 10 lines

I'm trying to get to the point of reviewing the patches that need attention and give more constructive feedback having cleared the less problematic ones out the way and shortened the backlog but I'm not there yet. Ideally I'd like to take a break entirely but sadly that simply isn't going to happen :(. I'll try and get to these as soon as I can but there is a substantial queue.

I'd also point out I'm getting considerable "feedback" as soon as anything goes into master that destabilises the build so when anything does merge, fixing fallout is taking priority too.

Yes that's why I'm reporting that fallout as soon as it's merged when it's something I haven't noticed when patch was on ML. And I know that you're often the one who fixes it in the end when commiter does not even reply on those reports, thanks for doing that.

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]