Skip to content

module/atu_mmio: Track region mapping state using is_region_mapped flag

Wei-Chia Su requested to merge ws/atu-mmio-fix-region-mapping into main
  1. Avoids false-positive region match when current_mapped_phys_address is 0. Adds an explicit flag to track whether a region is actively mapped.
  2. Fix an off-by-one error when mapping the last byte in an MMIO region by making the address range inclusive using <=.

Signed-off-by: Wei-Chia Su Wei-Chia.Su@arm.com

Merge request reports

Loading