tune-octeontx2.inc: Add tune for Marvell OCTEON TX2 core

Submitted by Kevin Hao on Dec. 7, 2020, 9:09 a.m. | Patch ID: 178674

Details

Message ID 20201207090905.17706-1-kexin.hao@windriver.com
State New
Headers show

Commit Message

Kevin Hao Dec. 7, 2020, 9:09 a.m.
The OCTEON TX2 core is custom designed by Marvell and is compliant
with Arm V8.2 architecture.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>

---
 .../machine/include/arm/armv8-2a/tune-octeontx2.inc | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc

-- 
2.26.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145340): https://lists.openembedded.org/g/openembedded-core/message/145340
Mute This Topic: https://lists.openembedded.org/mt/78774556/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
new file mode 100644
index 000000000000..f873b9517e23
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
@@ -0,0 +1,13 @@ 
+DEFAULTTUNE ?= "octeontx2"
+
+TUNEVALID[octeontx2] = "Enable Marvell octeontx2 specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeontx2', ' -mcpu=octeontx2', '', d)}"
+
+require conf/machine/include/arm/arch-armv8-2a.inc
+
+# Little Endian base configs
+AVAILTUNES += "octeontx2"
+ARMPKGARCH_tune-octeontx2             = "octeontx2"
+TUNE_FEATURES_tune-octeontx2          = "${TUNE_FEATURES_tune-armv8-2a-crypto} octeontx2"
+PACKAGE_EXTRA_ARCHS_tune-octeontx2    = "${PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto} octeontx2"
+BASE_LIB_tune-octeontx2               = "lib64"