Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joerg Roedel
Date: Sunday, April 4, 2010 - 1:44 am

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] AMD IOMMU kdump fix plus cleanups (v2), Chris Wright, (Fri Apr 2, 6:27 pm)
[PATCH 4/4] x86/amd-iommu: use for_each_pci_dev, Chris Wright, (Fri Apr 2, 6:27 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash", Joerg Roedel, (Sun Apr 4, 1:44 am)
[No subject], Chris Wright, (Tue Apr 6, 10:42 am)
[No subject], Joerg Roedel, (Tue Apr 6, 10:51 am)
Re: [PATCH 0/4] AMD IOMMU kdump fix plus cleanups (v2), Joerg Roedel, (Wed Apr 7, 3:05 am)