diff options
| author | Michał Kopeć <michal@nozomi.space> | 2026-10-17 11:03:51 +0200 |
|---|---|---|
| committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-11-02 02:48:43 +0000 |
| commit | e094fd05defaf0b05774ea1c65fc2d0ab798c809 (patch) | |
| tree | 2bd470093f0085fa621f109dfa4baae71b686133 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f2e05ce9763feb1dd7da15afd2cc61df227ee85a (diff) | |
firmware: coreboot: Don't skip CBMEM entries outside of known memory
coreboot leaves CBMEM out of the /memory node of the device tree that it
passes to FIT payloads, e.g. LinuxBoot on arm64 Chromebooks, and only
lists it in the memory reservation block. The kernel has no resource for
that memory, so region_intersects() reports it as neither System RAM nor
Reserved memory, and since commit e31ecda9e3af ("firmware: coreboot:
Skip no-map CBMEM entries") all CBMEM entries are skipped on such boards.
That loses the coreboot log, the TPM event log and everything else that
CBMEM devices expose.
Also accept entries that don't intersect any memory resource. No-map
regions are still skipped, as they are IORESOURCE_MEM resources, as are
device regions.
Fixes: e31ecda9e3af ("firmware: coreboot: Skip no-map CBMEM entries")
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Link: https://lore.kernel.org/r/20261017090351.1266064-1-michal@nozomi.space
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
