Message ID | 1398424967-9306-8-git-send-email-ian.campbell@citrix.com |
---|---|
State | New |
Headers | show |
On 25/04/14 12:22, Ian Campbell wrote: > The current size is sufficient for the default maximum grant table size > (32-frames), but increase the reserved region to 16M/4096 pages to allow for > the use of the gnttab_max_nr_frames command line option. > > Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Great! thanks for writing this patch. Acked-by: Julien Grall <julien.grall@linaro.org>
diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h index 3f457f1..061d59d 100644 --- a/xen/include/public/arch-arm.h +++ b/xen/include/public/arch-arm.h @@ -369,8 +369,11 @@ typedef uint64_t xen_callback_t; #define GUEST_GICC_BASE 0x03002000ULL #define GUEST_GICC_SIZE 0x00000100ULL +/* 16MB == 4096 pages reserved for guest to use as a region to map its + * grant table in. + */ #define GUEST_GNTTAB_BASE 0x38000000ULL -#define GUEST_GNTTAB_SIZE 0x00020000ULL +#define GUEST_GNTTAB_SIZE 0x01000000ULL #define GUEST_MAGIC_BASE 0x39000000ULL
The current size is sufficient for the default maximum grant table size (32-frames), but increase the reserved region to 16M/4096 pages to allow for the use of the gnttab_max_nr_frames command line option. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- v2: New patch --- xen/include/public/arch-arm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)