Re: [RFC] [Patch] calgary iommu: Use the first kernel's tce tablesin kdump

From: Muli Ben-Yehuda
Date: Tue Jul 15 2008 - 06:54:22 EST


On Tue, Jul 15, 2008 at 02:15:27PM +0530, Chandru wrote:
> kdump kernel fails to boot with calgary iommu and aacraid driver on a x366
> box. The ongoing dma's of aacraid from the first kernel continue to exist
> until the driver is loaded in the kdump kernel. Calgary is initialized prior
> to aacraid and creation of new tce tables causes wrong dma's to occur. Here
> we try to get the tce tables of the first kernel in kdump kernel and use
> them. While in the kdump kernel we do not allocate new tce tables but instead
> read the base addres register contents of calgary iommu and use the tables
> that the registers point to. With these changes the kdump kernel and hence
> aacraid now boots normally.
>
> Signed-off-by: Chandru Siddalingappa <chandru@xxxxxxxxxx>

Acked-by: Muli Ben-Yehuda <muli@xxxxxxxxxx>

Cheers,
Muli
--
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/