]> xenbits.xensource.com Git - xen.git/commit
Arm/vGIC: adjust gicv3_its_deny_access() to fit other gic*_iomem_deny_access(
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2022 07:56:27 +0000 (09:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2022 07:56:27 +0000 (09:56 +0200)
commit38e1276db4c5457cd6e7811b4e168aa85c8a0b06
tree10317b24a4157fd8bf03fe42f0cb11fbf4214bfb
parentb1f4b45d02cac2bf704c2fcc61c70c3567cfaa5b
Arm/vGIC: adjust gicv3_its_deny_access() to fit other gic*_iomem_deny_access(

While an oversight in 9982fe275ba4 ("arm/vgic: drop const attribute
from gic_iomem_deny_access()"), the issue really became apparent only
when iomem_deny_access() was switched to have a non-const first
parameter.

Fixes: c4e5cc2ccc5b ("x86/ept: limit calls to memory_type_changed()")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
Tested-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/gic-v3-its.c
xen/arch/arm/include/asm/gic_v3_its.h