Skip to content

iommu/vt-d: Make RMRR matching compatible with older kernels

Joerg Roedel linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommu/vt-d: Store bus information in RMRR PCI device pathdrivers/iommu/dmar.c include/linux/dmar.h+8 -10 replies
2/2iommu/vt-d: Work around broken RMRR firmware entriesdrivers/iommu/dmar.c+19 -31 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJiang Liu
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iommu/vt-d: Make RMRR matching compatible with older kernels

Hi,

here is a patch-set to make RMRR matching in the Intel IOMMU driver compatible with older kernels. This is needed because some BIOS vendors build RMRR entries to work with older kernels, but that will break on newer ones that implement the correct PCI device scope matching scheme defined in the VT-d specification.

Make the current Intel IOMMU driver work with the old RMRR entries too.

These patches have been tested in an affected system and fix the issue seen there (newer kernel did not setup RMRR entries for a plugged in device).

Regards,

Joerg

Joerg Roedel (2):
iommu/vt-d: Store bus information in RMRR PCI device path iommu/vt-d: Work around broken RMRR firmware entries

 drivers/iommu/dmar.c | 23 ++++++++++++++++++++---
 include/linux/dmar.h |  8 +++++++-
 2 files changed, 27 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1