]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/x86: Add interface for querying amount of host memory
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 15 Sep 2017 20:23:53 +0000 (16:23 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 27 Sep 2017 00:39:46 +0000 (17:39 -0700)
commitb0dbd314cc1f580668279dd45b754dcd9df6c992
treeb232b2565ca1b03af53365ed3991df1205174a23
parent1eb7d3dac2b3cac1da56f3a98d11f682c27b85de
xen/x86: Add interface for querying amount of host memory

A driver (or some other entity in the kernel) may need to know
amount of memory available on the host. Provide the interface (for
a privileged domain() to obtain this information.

Orabug: 26526923

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/hypervisor.h
arch/x86/xen/enlighten.c