[PATCH] iommu fixes, round 3

Linas Vepstas linas at austin.ibm.com
Wed Nov 3 10:06:18 EST 2004


On Thu, Oct 28, 2004 at 04:28:36PM -0500, John Rose was heard to remark:
> This patch changes the following iommu-related things:
> 
> - Renames the [i,p]series versions of iommu_devnode_init(), to keep things 
>   logically separate where possible.
>   
> - Moves iommu_free_table() to generic iommu.c
> 
> - Creates of_cleanup_node(), which will directly precede the dynamic removal of
>   any device node
> 
> Comments welcome.

FYI, without this patch, I get BUG_ON crashes when I hotplug-remove
a PCI card, on the nov. 1 2.6.10-rc1 kernel.  The BUG_ON is in 
free_pages, called from iommu_free_table() called from of_remove_node() 

With this patch, things get back to normal.  Please forward & apply.

--linas



More information about the Linuxppc64-dev mailing list