On 03.07.2021 19:11, Julien Grall wrote: > From: Julien Grall <julien.gr...@arm.com> > > At the moment, Arm is providing a dummy implementation for the M2P > helpers used in common code. However, they are quite isolated and could > be used by other architecture in the future. So move the helpers > necessary for compilation in xen/mm.h and gate them with a new config > !HAS_M2P. The other M2P related helpers are removed. > > Take the opportunity to encode that CONFIG_MEM_SHARING requires > the M2P. It is done in the header rather than the Kconfig because > the option is not defined in the common Kconfig. > > Signed-off-by: Julien Grall <julien.gr...@arm.com>
With the other Kconfig hunk moved here (from the earlier patch) Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan