x86/IRQ: conditionally preserve access permission on map error paths
authorJan Beulich <jbeulich@suse.com>
Wed, 3 Jan 2018 10:03:10 +0000 (11:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Jan 2018 10:03:10 +0000 (11:03 +0100)
commit3443e68a778572a6e082d7dfcf9ce794eca62f5f
tree832bceb81e6cabcf0c248c2135c58a5c12bf407f
parent4fdc932b3cced15d6e73c94ae0192d989fefdc90
x86/IRQ: conditionally preserve access permission on map error paths

Permissions that had been granted before should not be revoked when
handling unrelated errors.

Reported-by: HW42 <hw42@ipsumj.de>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c