Public bug reported:

[Impact]
If a device has an exclusion range specified in the IVRS table, this region 
needs to be reserved in the iova-domain of that device. This hasn't happened 
until now and can cause data corruption on data transfered with these devices.
    
Treat exclusion ranges as reserved regions in the iommu-core to fix the problem.

This is a clean cherry pick from mainline of
8aafaaf2212192012f5bae305bb31cdf7681d777


[Test Case]


[Fixes]
Cherry pick the following from Mainline
fd3b3448cf5adc2a2f09b70eaad03c27fe79e7a6 iommu/amd: Reserve exclusion range in 
iova-domain

[Regression Risk]
Only affects the amd_iommu driver:
    drivers/iommu/amd_iommu*

** Affects: linux (Ubuntu)
     Importance: Medium
     Assignee: Jeff Lane (bladernr)
         Status: In Progress

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Jeff Lane (bladernr)
         Status: New

** Affects: linux (Ubuntu Cosmic)
     Importance: Undecided
     Assignee: Jeff Lane (bladernr)
         Status: New

** Affects: linux (Ubuntu Disco)
     Importance: Medium
     Assignee: Jeff Lane (bladernr)
         Status: In Progress

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** No longer affects: linux (Ubuntu Xenial)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823037

Title:
  amd_iommu possible data corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1823037/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to