Re: [PATCH] More Sanity checks for DMAR

2007-11-20 Thread mark gross
On Mon, Nov 19, 2007 at 03:03:48PM -0800, Fenghua Yu wrote: > > This patch adds and changes a few sanity checks in dmar.c. > > 1. The haw field in ACPI DMAR table in VT-d spec doesn't describe the range of > haw. But since DMA page size is 4KB in DMA remapping, haw should be at least > 4KB. The

Re: [PATCH] More Sanity checks for DMAR

2007-11-20 Thread mark gross
On Mon, Nov 19, 2007 at 03:03:48PM -0800, Fenghua Yu wrote: This patch adds and changes a few sanity checks in dmar.c. 1. The haw field in ACPI DMAR table in VT-d spec doesn't describe the range of haw. But since DMA page size is 4KB in DMA remapping, haw should be at least 4KB. The

[PATCH] More Sanity checks for DMAR

2007-11-19 Thread Fenghua Yu
This patch adds and changes a few sanity checks in dmar.c. 1. The haw field in ACPI DMAR table in VT-d spec doesn't describe the range of haw. But since DMA page size is 4KB in DMA remapping, haw should be at least 4KB. The current VT-d code in dmar.c returns failure when haw==0. This sanity

[PATCH] More Sanity checks for DMAR

2007-11-19 Thread Fenghua Yu
This patch adds and changes a few sanity checks in dmar.c. 1. The haw field in ACPI DMAR table in VT-d spec doesn't describe the range of haw. But since DMA page size is 4KB in DMA remapping, haw should be at least 4KB. The current VT-d code in dmar.c returns failure when haw==0. This sanity