Skip to content

runtime_device_mapping_conflict_checker: improve DTS parsing and MMIO translation#664

Merged
chetan-rathore merged 1 commit intoARM-software:mainfrom
sathishas89:feature/dt/ebbr_coverage
Feb 24, 2026
Merged

runtime_device_mapping_conflict_checker: improve DTS parsing and MMIO translation#664
chetan-rathore merged 1 commit intoARM-software:mainfrom
sathishas89:feature/dt/ebbr_coverage

Conversation

@sathishas89
Copy link
Collaborator

Improve robustness and correctness of DTS parsing and address translation.

  • Rework strip_comments() to correctly handle multi-line block comments and strip comments once before parsing.
  • Exclude storage layout nodes (fixed-partitions, SPI-NOR, /partitions) from MMIO conflict checks to reduce false positives.
  • Fix translation of child reg offsets when parent ranges imply identity mapping by using parent_bus.parent address/size cells.

… translation

Improve robustness and correctness of DTS parsing and address translation.

- Rework strip_comments() to correctly handle multi-line block comments
  and strip comments once before parsing.
- Exclude storage layout nodes (fixed-partitions, SPI-NOR, /partitions)
  from MMIO conflict checks to reduce false positives.
- Fix translation of child reg offsets when parent ranges imply
  identity mapping by using parent_bus.parent address/size cells.

Signed-off-by: Sathisha S <sathisha.shivaramappa@arm.com>
Change-Id: I6b53f6fc08eafbc53e1670951abc050e3a23b1df
@chetan-rathore chetan-rathore merged commit 839da1f into ARM-software:main Feb 24, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants