]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/vt-d: Gracefully handle DMAR units with no supported address widths
authorDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 24 Sep 2020 14:08:42 +0000 (15:08 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 29 Oct 2020 08:07:52 +0000 (08:07 +0000)
commitbd638a0c8056c46c0efa72e089c82307891fc82b
treed92102da43382c006780dd126298bc84ad5eb79b
parentbbf5c979011a099af5dc76498918ed7df445635b
iommu/vt-d: Gracefully handle DMAR units with no supported address widths

Instead of bailing out completely, such a unit can still be used for
interrupt remapping.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/linux-iommu/549928db2de6532117f36c9c810373c14cf76f51.camel@infradead.org/
Signed-off-by: Joerg Roedel <jroedel@suse.de>
(cherry picked from commit c40aaaac1018ff1382f2d35df5129a6bcea3df6b and
 subsequent build fix commit 9def3b1a07c41e21c68a0eb353e3e569fdd1d2b1)
drivers/iommu/intel/dmar.c