xen/memory: Introduce CONFIG_ARCH_ACQUIRE_RESOURCE
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Jul 2020 11:28:24 +0000 (12:28 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Jan 2021 18:17:02 +0000 (18:17 +0000)
commit0db1ded6b57cb9ebfaefa2682ed817c0a9dd4ae3
tree870f9a022f75d0b1d3676c9f9c04a3482901553c
parentedad4c760a1b28abb15836ac4325912203c44905
xen/memory: Introduce CONFIG_ARCH_ACQUIRE_RESOURCE

New architectures shouldn't be forced to implement no-op stubs for unused
functionality.

Introduce CONFIG_ARCH_ACQUIRE_RESOURCE which can be opted in to, and provide
compatibility logic in xen/mm.h

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/x86/Kconfig
xen/common/Kconfig
xen/include/asm-arm/mm.h
xen/include/xen/mm.h