Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chip name "Unknown" for Galaxy S22 #114

Open
tpetsas opened this issue Aug 30, 2022 · 16 comments
Open

Chip name "Unknown" for Galaxy S22 #114

tpetsas opened this issue Aug 30, 2022 · 16 comments

Comments

@tpetsas
Copy link

tpetsas commented Aug 30, 2022

I compiled cpu-info for arm64 and ran the executable on a Galaxy S22. The name of the processor is unknown in the output, while the different core types have been successfully identified:

r0q:/data/local/tmp $ ./cpu-info
SoC name: Unknown
Microarchitectures:
        1x Cortex-X2
        3x Cortex-A710
        4x Cortex-A510
Cores:
        0: 1 processor (0), ARM Cortex-X2
        1: 1 processor (1), ARM Cortex-A710
        2: 1 processor (2), ARM Cortex-A710
        3: 1 processor (3), ARM Cortex-A710
        4: 1 processor (4), ARM Cortex-A510
        5: 1 processor (5), ARM Cortex-A510
        6: 1 processor (6), ARM Cortex-A510
        7: 1 processor (7), ARM Cortex-A510
Logical processors (System ID):
        0 (7)
        1 (4)
        2 (5)
        3 (6)
        4 (0)
        5 (1)
        6 (2)
        7 (3)

I've also built the library as well. Is there a way to get this processor's name through the cpu-info somehow?

@fbarchard
Copy link
Contributor

I can confirm the issue for both Qualcomm and Exynos S22
Affects both AArch32 and AArch64 builds.

On Samsung S20 Exynos it reports correctly
SoC name: Samsung Exynos 9830
Microarchitectures:
2x Exynos M5
2x Cortex-A76
4x Cortex-A55

S22 exynos has these in getprop:
[ro.soc.manufacturer]: [Samsung]
[ro.soc.model]: [s5e9925]

S22 qualcomm has these:
[ro.soc.manufacturer]: [QTI]
[ro.soc.model]: [SM8450]

@3c71
Copy link

3c71 commented Jul 17, 2023

Same for Galaxy Z-Flip 4, ARM Cortex-X2, code shows target uarch not recognized.
Any hope in getting an update?

@Maratyszcza
Copy link
Contributor

@3c71 Do you have the most recent cpuinfo? Cortex-X2 detection was added just last week in 2345d3a.

@3c71
Copy link

3c71 commented Jul 17, 2023

@3c71 Do you have the most recent cpuinfo? Cortex-X2 detection was added just last week in 2345d3a.

Just downloaded today, CPU name is not recognized. It finds the various cores, however when it tries to identify the CPU model from core 0, Cortex-X2 ID is not in the switch/case list so it falls back to some default cache implementation.

@Maratyszcza
Copy link
Contributor

Please paste the output of cpu-info

@3c71
Copy link

3c71 commented Jul 18, 2023

This is log output on Galaxy Z Flip 4. I've added logging of vendor/series/model detected.

FWIW, I found some property that the library doesn't seem to read: [ro.soc.model]: [SM8475]

2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D parsed kernel_max value of 31 from /sys/devices/system/cpu/kernel_max
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D system maximum processors count: 32
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D maximum possible processors count: 8
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D maximum present processors count: 8
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.product.board = "taro"
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.board.platform = "taro"
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.mediatek.platform = ""
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.arch = ""
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.chipname = ""
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free D read ro.hardware.chipname = ""
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.141 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpop" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm3" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sm4" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "asimddp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sha512" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dit" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "uscat" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ilrcpc" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "ssbs" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "sb" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "paca" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "pacg" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "dcpodp" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "flagm2" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "frint" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bf16" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W unexpected /proc/cpuinfo feature "bti" is ignored
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 0 MIDR 0x410fd463
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 1 MIDR 0x410fd463
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 2 MIDR 0x410fd463
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 3 MIDR 0x410fd463
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 4 MIDR 0x412fd470
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 5 MIDR 0x412fd470
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 6 MIDR 0x412fd470
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed processor 7 MIDR 0x412fd480
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free W chipset detection failed: none of the system properties matched known signatures
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2016000 KHz for logical processor 0 from /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 300000 KHz for logical processor 0 from /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 0 for logical processor 0 from /sys/devices/system/cpu/cpu0/topology/physical_package_id
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2016000 KHz for logical processor 1 from /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 300000 KHz for logical processor 1 from /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 0 for logical processor 1 from /sys/devices/system/cpu/cpu1/topology/physical_package_id
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2016000 KHz for logical processor 2 from /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 300000 KHz for logical processor 2 from /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 0 for logical processor 2 from /sys/devices/system/cpu/cpu2/topology/physical_package_id
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2016000 KHz for logical processor 3 from /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 300000 KHz for logical processor 3 from /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.142 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 0 for logical processor 3 from /sys/devices/system/cpu/cpu3/topology/physical_package_id
2023-07-18 17:57:23.143 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2745600 KHz for logical processor 4 from /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.143 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 633600 KHz for logical processor 4 from /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.143 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 1 for logical processor 4 from /sys/devices/system/cpu/cpu4/topology/physical_package_id
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2745600 KHz for logical processor 5 from /sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 633600 KHz for logical processor 5 from /sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 1 for logical processor 5 from /sys/devices/system/cpu/cpu5/topology/physical_package_id
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 2745600 KHz for logical processor 6 from /sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 633600 KHz for logical processor 6 from /sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 1 for logical processor 6 from /sys/devices/system/cpu/cpu6/topology/physical_package_id
2023-07-18 17:57:23.144 15374-15413 XNNPACK ccc71.at.free D parsed max frequency value of 3187200 KHz for logical processor 7 from /sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_max_freq
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D parsed min frequency value of 787200 KHz for logical processor 7 from /sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_min_freq
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D parsed package id value of 2 for logical processor 7 from /sys/devices/system/cpu/cpu7/topology/physical_package_id
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 0 clustered with processor 0 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 1 clustered with processor 0 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 2 clustered with processor 0 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 3 clustered with processor 0 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 4 clustered with processor 4 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 5 clustered with processor 4 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 6 clustered with processor 4 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D processor 7 clustered with processor 7 as inferred from system siblings lists
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D detected 3 core clusters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 0: MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 1: MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 2: MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 3: MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 4: MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 5: MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 6: MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-analysis processor 7: MIDR 412fd480 frequency 3187200
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 0: system id 7 MIDR 412fd480 frequency 3187200
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 1: system id 4 MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 2: system id 5 MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 3: system id 6 MIDR 412fd470 frequency 2745600
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 4: system id 0 MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 5: system id 1 MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 6: system id 2 MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D post-sort processor 7: system id 3 MIDR 410fd463 frequency 2016000
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D CPU vendor: 0
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D CPU series: 0
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free D CPU model: 0
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300502 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300502 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300571 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters
2023-07-18 17:57:23.145 15374-15413 XNNPACK ccc71.at.free W target uarch not recognized: 300551 - 8; using generic cache parameters

@3c71
Copy link

3c71 commented Jul 18, 2023

FWIW, the library properly detect CPU of a Galaxy S21 even though the same "target uarch not recgonized" message are listed, a lot less though.
On a POCO X4 using a Snapdragon 695, same results as the Flip 4. I can post the log if needed too or open a new issue specific to the POCO X4?

@Maratyszcza
Copy link
Contributor

Maratyszcza commented Jul 18, 2023

What is the terminal output of cpu-info? See the top post for an example.

@3c71
Copy link

3c71 commented Jul 18, 2023

I'm not building the command line, but building as a library and calling these:

cpuinfo_initialize();
cpuinfo_get_package(0)->name

@3c71
Copy link

3c71 commented Jul 18, 2023

After adding something like this, I was able to get CPU name properly:

[cpuinfo_android_chipset_property_ro_soc_model] =
cpuinfo_arm_android_decode_chipset_from_ro_chipname(properties->ro_soc_model),

It requires loading ro.soc.model property before and adding all required enums/fields/etc...

It kinda recognize the brand and being a snapdragon, however it just lists the 4-digit numbers out of ro.soc.model ;)

@Maratyszcza
Copy link
Contributor

It is expected that SoC name isn't detected. However, I thought core microarchitectures aren't detected either, which is a bigger issue. Could you build cpu-info and share the result?

@fbarchard
Copy link
Contributor

fbarchard commented Jul 18, 2023 via email

@Maratyszcza
Copy link
Contributor

Ok, I know what it is. Fix coming.

@Maratyszcza
Copy link
Contributor

Detection of Cortex-X2/-X3/-A715 on AArch32 is fixed in #162. Keep in mind that even though these cores are detected, they can't run AArch32 code.

@3c71
Copy link

3c71 commented Jul 18, 2023 via email

@Maratyszcza
Copy link
Contributor

Fixing SoC decoding is a low priority for us, don't expect it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants