Re: [Intel-IOMMU 06/10] Intel IOMMU driver

2007-06-13 Thread Keshavamurthy, Anil S
On Thu, Jun 07, 2007 at 04:57:39PM -0700, Andrew Morton wrote: > On Wed, 06 Jun 2007 11:57:04 -0700 > [EMAIL PROTECTED] wrote: Andrew, Most of your comments make sense, I will fix all of them and resend soon. Thanks for your time taking a look at my patch. -Anil - To unsubscribe from this

Re: [Intel-IOMMU 06/10] Intel IOMMU driver

2007-06-08 Thread Christoph Lameter
On Thu, 7 Jun 2007, Andrew Morton wrote: > > +void *iommu_rpool_alloc(unsigned int size, gfp_t flag) > > +{ > > + if (size == PAGE_SIZE_4K) > > + return(void *)get_zeroed_page(flag); > > + else > > + return kzalloc(size, flag); > > +} > > kmalloc(4k) is pretty efficient an

Re: [Intel-IOMMU 06/10] Intel IOMMU driver

2007-06-07 Thread Andrew Morton
On Wed, 06 Jun 2007 11:57:04 -0700 [EMAIL PROTECTED] wrote: > Actual intel IOMMU driver. Hardware spec can be found at: > http://www.intel.com/technology/virtualization > > This driver sets X86_64 'dma_ops', so hook into standard DMA APIs. In this > way, > PCI driver will get virtual DMA a