I just got a new mini-PC ARM system. Which has 2 100G Realtek ports
and PCI express slot. Which seemed like a good box for ARM testing.

The ARM configuration in meson doesn't seem to know this CPU type.

config/arm/meson.build:947:8: ERROR: Problem encountered: Unsupported part 
number 0xd81 of implementer 0x41. Please add support for it or use the generic 
(-Dplatform=generic) build.

My simplistic attempt to add was:


part_number_config_arm = {
...
    '0xd81': {
        'mcpu' : 'cortex-a72.cortex-a53',
        'flags': [
            ['RTE_MACHINE', '"cortex-a720"'],
            ['RTE_ARM_FEATURE_ATOMICS', true],
            ['RTE_ARM_FEATURE_WFXT', true],
            ['RTE_MAX_LCORE', 128],
            ['RTE_MAX_NUMA_NODES', 2]
        ]
    },

But then power won't build

FAILED: lib/librte_eal.a.p/eal_arm_rte_power_intrinsics.c.o 
cc -Ilib/librte_eal.a.p -Ilib -I../lib -Ilib/eal/common -I../lib/eal/common -I. 
-I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include 
-Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include 
-I../lib/eal/arm/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs 
-I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics 
-Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat 
-Wformat-nonliteral -Wformat-security -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith 
-Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings 
-Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC 
-mcpu=cortex-a72.cortex-a53 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API 
-Wno-format-truncation '-DABI_VERSION="26.1"' 
-DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 
lib/librte_eal.a.p/eal_arm_rte_power_intrinsics.c.o -MF 
lib/librte_eal.a.p/eal_arm_rte_power_intrinsics.c.o.d -o 
lib/librte_eal.a.p/eal_arm_rte_power_intrinsics.c.o -c 
../lib/eal/arm/rte_power_intrinsics.c
/tmp/ccSpmqE0.s: Assembler messages:
/tmp/ccSpmqE0.s:80: Error: selected processor does not support `wfet x1'
[117/3873] Compiling C object lib/librte_ring.a.p/ring_soring.c.o

Not sure what the best option. Looks like this an Android style CPU with 
big/little.

Any ARM expertise would help here.
Posting on mailing list so that others can find the answer.

Reply via email to