Re: [Xen-devel] [Patch V2 07/15] xen: check memory area against e820 map
From: David Vrabel
Date: Thu Apr 09 2015 - 04:29:19 EST
On 09/04/15 07:55, Juergen Gross wrote:
> Provide a service routine to check a physical memory area against the
> E820 map. The routine will return false if the complete area is RAM
> according to the E820 map and true otherwise.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> ---
> arch/x86/xen/setup.c | 23 +++++++++++++++++++++++
> arch/x86/xen/xen-ops.h | 1 +
> 2 files changed, 24 insertions(+)
>
> diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
> index 87251b4..4666adf 100644
> --- a/arch/x86/xen/setup.c
> +++ b/arch/x86/xen/setup.c
> @@ -573,6 +573,29 @@ static unsigned long __init xen_count_remap_pages(unsigned long max_pfn)
> return extra;
> }
>
> +bool __init xen_chk_e820_reserved(phys_addr_t start, phys_addr_t size)
Can you rename this to xen_is_e280_reserved().
Otherwise,
Reviewed-by: David Vrabel <david.vrabel@xxxxxxxxxx>
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/