Re: [PATCH v2] xen/grant-table: correctly initialize grant tableversion 1

From: Matt Wilson
Date: Mon Jan 14 2013 - 04:29:33 EST


On Fri, Jan 11, 2013 at 04:35:50PM -0500, Konrad Rzeszutek Wilk wrote:
>
> With this patch I get:
>
> [ 2.555087] GHES: HEST is not enabled!
> [ 2.560522] ioatdma: Intel(R) QuickData Technology Driver 4.00
> [ 2.569651] ------------[ cut here ]------------
> [ 2.570529] kernel BUG at /home/konrad/linux/drivers/xen/grant-table.c:1175!

You dropped part of a hunk when you applied the patch:

@@ -1127,17 +1128,17 @@ static void gnttab_request_version(void)
panic("we need grant tables version 2, but only version 1 is a
} else {
grant_table_version = 1;
+ grefs_per_grant_frame = PAGE_SIZE / sizeof(struct grant_entry_
gnttab_interface = &gnttab_v1_ops;
}
printk(KERN_INFO "Grant tables using version %d layout.\n",
grant_table_version);
}

I can rebase to v3.8-rc3 if that would help.

Matt
--
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/