problems with iommu_free_table()

Olof Johansson olof at
Wed Oct 27 09:56:41 EST 2004

Benjamin Herrenschmidt wrote:

> It's the right fix for now until you or John do something better :)
> Besides, I don't fully agree with iommu_free_table() beeing the
> 'pending' of iommu_init_table() since it does kfree etc... it makes
> assumptions on how the caller allocated the tables... not _that_ bad but
> don't even try calling that on the U3 ones :)

Right, we discussed it today. The whole iommu table init code flow is a 
bit awkward today with alloc/setup/init. It's nonintuitive. :(


More information about the Linuxppc64-dev mailing list