xen/arm: fix iomem_ranges cfg in map_range_to_domain()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v11 patch 5 repliesSuperseded
Changes in v2 from the cover letter
- split on two patches
- add "fixes" tags
- rewording of commit messages
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen/arm: fix iomem permissions cfg in map_range_to_domain()xen/ | +1 | 3 replies | |
| 2/2 | xen/arm: fix iomem_ranges cfg in map_range_to_domain()xen/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Julien Grall |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] xen/arm: fix iomem_ranges cfg in map_range_to_domain()
Hi
This series fixes incorrect calculation of iomem_range end address in map_range_to_domain() which is then passed to iomem_permit_access() and rangeset_add_range().
Those function expect the iomem_range end address to be inclusive while calculations are made with incorrect assumption it's exclusive.
Output of "key 'q' (ascii '71') => dump domain (and guest debug) info"
before:
(XEN) I/O Memory { 8000-c000, 30000-40000, 47ff0-47ff8, 7ff00-7ff01, c0000-d0000, e6020-e6021, ...
after:
(XEN) I/O Memory { 8000-bfff, 30000-3ffff, 47ff0-47ff7, 7ff00, c0000-cffff, e6020, ...
Changes in v2:
- split on two patches
- add "fixes" tags
- rewording of commit messages
v1:
https://patchew.org/Xen/[email protected]/
Grygorii Strashko (2):
xen/arm: fix iomem permissions cfg in map_range_to_domain() xen/arm: fix iomem_ranges cfg in map_range_to_domain()
xen/arch/arm/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1