Fix Intel IOMMU breakage in kdump kernel
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | iommu/vt-d: Cleanup log messagesdrivers/ drivers/ drivers/ | +101 | 0 replies | |
| 2/19 | iommu/vt-d: Init QI before root entry is allocateddrivers/ | +2 | 0 replies | |
| 3/19 | iommu/vt-d: Make root entry visible for hardware right after allocationdrivers/ | +6 | 0 replies | |
| 4/19 | iommu/vt-d: Detect pre enabled translationdrivers/ include/ | +23 | 0 replies | |
| 5/19 | iommu/vt-d: Copy translation tables from old kerneldrivers/ | +205 | 0 replies | |
| 6/19 | iommu/vt-d: Do not re-use domain-ids from the old kerneldrivers/ | +10 | 0 replies | |
| 7/19 | iommu/vt-d: Mark copied context entriesdrivers/ | +51 | 0 replies | |
| 8/19 | iommu/vt-d: Allocate si_domain in init_dmars()drivers/ | +7 | 0 replies | |
| 9/19 | iommu/vt-d: Don't do early domain assignment if kdump kerneldrivers/ | +13 | 0 replies | |
| 10/19 | iommu/vt-d: Don't copy translation tables if RTT bit needs to be changeddrivers/ | +11 | 0 replies | |
| 11/19 | iommu/vt-d: Don't disable translation prior to OS handoverdrivers/ | +0 | 0 replies | |
| 12/19 | iommu/vt-d: Enable Translation only if it was previously disableddrivers/ | +3 | 0 replies | |
| 13/19 | iommu/vt-d: Move EIM detection to intel_prepare_irq_remappingdrivers/ | +24 | 0 replies | |
| 14/19 | iommu/vt-d: Move QI initializationt to intel_setup_irq_remappingdrivers/ | +35 | 0 replies | |
| 15/19 | iommu/vt-d: Disable IRQ remapping in intel_prepare_irq_remappingdrivers/ | +3 | 0 replies | |
| 16/19 | iommu/vt-d: Set IRTA in intel_setup_irq_remappingdrivers/ | +14 | 0 replies | |
| 17/19 | iommu/vt-d: Copy IR table from old kernel when in kdump modedrivers/ include/ | +71 | 0 replies | |
| 18/19 | iommu/vt-d: Make sure copied over IR entries are not reuseddrivers/ | +10 | 0 replies | |
| 19/19 | iommu/vt-d: Don't disable IR when it was previously enableddrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/19] Fix Intel IOMMU breakage in kdump kernel
Hi,
as David Woodhouse pointed out, my fixes and cleanups for the original patch-set turned out to be a complete rewrite. So to have a cleaner history of the feature and to make backporting easier, here is a rewrite of my changes based on v4.1-rc7.
Some additional issues have been fixed by this rewrite, like a kdump-kernel boot panic with 'iommu=pt' and support for copying the extended root-entry and context table formats has been added.
I plan to rebuild the x86/vt-d branch of the iommu tree with these patches.
Regards,
Joerg
Joerg Roedel (19):
iommu/vt-d: Cleanup log messages
iommu/vt-d: Init QI before root entry is allocated iommu/vt-d: Make root entry visible for hardware right after
allocation
iommu/vt-d: Detect pre enabled translation
iommu/vt-d: Copy translation tables from old kernel iommu/vt-d: Do not re-use domain-ids from the old kernel iommu/vt-d: Mark copied context entries
iommu/vt-d: Allocate si_domain in init_dmars() iommu/vt-d: Don't do early domain assignment if kdump kernel iommu/vt-d: Don't copy translation tables if RTT bit needs to be
changed
iommu/vt-d: Don't disable translation prior to OS handover iommu/vt-d: Enable Translation only if it was previously disabled iommu/vt-d: Move EIM detection to intel_prepare_irq_remapping iommu/vt-d: Move QI initializationt to intel_setup_irq_remapping iommu/vt-d: Disable IRQ remapping in intel_prepare_irq_remapping iommu/vt-d: Set IRTA in intel_setup_irq_remapping iommu/vt-d: Copy IR table from old kernel when in kdump mode iommu/vt-d: Make sure copied over IR entries are not reused iommu/vt-d: Don't disable IR when it was previously enabled
drivers/iommu/dmar.c | 28 +- drivers/iommu/intel-iommu.c | 495 ++++++++++++++++++++++++++++-------- drivers/iommu/intel_irq_remapping.c | 255 ++++++++++++------- include/linux/intel-iommu.h | 5 + 4 files changed, 573 insertions(+), 210 deletions(-)
Signature · 1 line
1.9.1