Re: [Xen-devel] [RFC 02/16] xen/arm: Introduce helpers to get/set an MFN from/to an LPAE entry

2018-10-29 Thread Stefano Stabellini
On Mon, 8 Oct 2018, Julien Grall wrote: > The new helpers make it easier to read the code by abstracting the way to > set/get an MFN from/to an LPAE entry. The helpers are using "walk" as the > bits are common across different LPAE stages. > > At the same time, use the new helpers to replace the

[Xen-devel] [RFC 02/16] xen/arm: Introduce helpers to get/set an MFN from/to an LPAE entry

2018-10-08 Thread Julien Grall
The new helpers make it easier to read the code by abstracting the way to set/get an MFN from/to an LPAE entry. The helpers are using "walk" as the bits are common across different LPAE stages. At the same time, use the new helpers to replace the various open-coding place. Signed-off-by: Julien