]> xenbits.xensource.com Git - people/dwmw2/xen.git/commit
xen/arm: cpuerrata: Align a virtual address before unmap
authorAndrii Anisov <andrii_anisov@epam.com>
Thu, 18 Jul 2019 13:22:20 +0000 (16:22 +0300)
committerJulien Grall <julien.grall@arm.com>
Mon, 29 Jul 2019 11:39:27 +0000 (12:39 +0100)
commitead6b9f78355e8d366e0c80c4a73fa7fbd6d26cc
tree997b7ac566d96bde446e799584fae344372db407
parentb4c8a27d5bc0f7c91d04af8584b55aafc104a0a9
xen/arm: cpuerrata: Align a virtual address before unmap

After changes introduced by 9cc0618eb0 "xen/arm: mm: Sanity check any
update of Xen page tables" we are able to vmap/vunmap page aligned
addresses only.

So if we add a page address remainder to the mapped virtual address,
we have to mask it out before unmapping.

Signed-off-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/cpuerrata.c