cpu_linux: Ignore non-cpu info on /proc/cpuinfo#4
Merged
christoph-zededa merged 1 commit intozededa:mainfrom Feb 6, 2026
Merged
cpu_linux: Ignore non-cpu info on /proc/cpuinfo#4christoph-zededa merged 1 commit intozededa:mainfrom
christoph-zededa merged 1 commit intozededa:mainfrom
Conversation
Some arm64 devices might have additional lines on /proc/cpuinfo containing additional information in a non "<field>: <value>" format, so these lines must be ignored. Example of a /proc/cpuinfo from a Qualcomm device: processor : 7 BogoMIPS : 38.40 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x51 CPU architecture: 8 CPU variant : 0xa CPU part : 0x800 CPU revision : 2 Qualcomm Technologies, Inc QCM6125 Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
christoph-zededa
added a commit
to christoph-zededa/eve
that referenced
this pull request
Feb 18, 2026
pull in this fix: zededa/ghw#4 (by @rene) to prevent crash when parsing /proc/cpuinfo Signed-off-by: Christoph Ostarek <christoph@zededa.com>
7 tasks
rene
pushed a commit
to lf-edge/eve
that referenced
this pull request
Feb 19, 2026
pull in this fix: zededa/ghw#4 (by @rene) to prevent crash when parsing /proc/cpuinfo Signed-off-by: Christoph Ostarek <christoph@zededa.com>
christoph-zededa
added a commit
to christoph-zededa/eve
that referenced
this pull request
Feb 19, 2026
pull in this fix: zededa/ghw#4 (by @rene) to prevent crash when parsing /proc/cpuinfo Signed-off-by: Christoph Ostarek <christoph@zededa.com> (cherry picked from commit cab91bb)
9 tasks
eriknordmark
pushed a commit
to lf-edge/eve
that referenced
this pull request
Feb 19, 2026
pull in this fix: zededa/ghw#4 (by @rene) to prevent crash when parsing /proc/cpuinfo Signed-off-by: Christoph Ostarek <christoph@zededa.com> (cherry picked from commit cab91bb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some arm64 devices might have additional lines on /proc/cpuinfo containing additional information in a non
<field>: <value>format, so these lines must be ignored.Example of a /proc/cpuinfo from a Qualcomm device:
processor : 7
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x800
CPU revision : 2
Qualcomm Technologies, Inc QCM6125
The following crash is observed in this device: