iommu/amd: Flush upto last_bdf only
authorVasant Hegde <vasant.hegde@amd.com>
Wed, 6 Jul 2022 11:38:18 +0000 (17:08 +0530)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Jul 2022 07:37:50 +0000 (09:37 +0200)
commita3cf6ab35751ea77a2bd47636dca761e835b282d
tree4efaebbc5daaea3cb1774905e3a44cb7a040cc1c
parent401360ec98c61bf91a107f292bfbfc9245795eea
iommu/amd: Flush upto last_bdf only

Fix amd_iommu_flush_dte_all() and amd_iommu_flush_tlb_all() to flush
upto last_bdf only.

Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20220706113825.25582-29-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c