On Sat, Apr 03, 2010 at 10:44:22AM -0700, Eric W. Biederman wrote:
Thats another problem with this patch. It introduces a difference
between the panic-shutdown kexec and the ordinary kexec.
The commit I mentioned above already proves this assumption wrong.
No no no. This is a maintenance nightmare for almost everybody. Where do
you want to Document this special cases that 'if kernel uses gart then
and only then boot the kexec kernel with iommu=off'.
Always passing iommu=off to the kexec kernel doesn't work too for
obvious reasons.
Yes, that is missing in this patch. But to keep changes small and don't
bother with the gart code at all I suggest to remove the shutdown
routine from the amd-iommu code only and not the whole shutdown call in
the machine_crash_shutdown path.
Joerg
--