diff options
| author | Lu Baolu <[email protected]> | 2019-03-20 09:58:33 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-03-22 12:02:26 +0100 |
| commit | 5bb71fc790a88d063507dc5d445ab8b14e845591 (patch) | |
| tree | c21370e76c78b268cc3d3b00d9ccf3559d723d65 /lib/mpi/mpi-div.c | |
| parent | 80ef4464d5e27408685e609d389663aad46644b9 (diff) | |
iommu/vt-d: Check capability before disabling protected memory
The spec states in 10.4.16 that the Protected Memory Enable
Register should be treated as read-only for implementations
not supporting protected memory regions (PLMR and PHMR fields
reported as Clear in the Capability register).
Cc: Jacob Pan <[email protected]>
Cc: mark gross <[email protected]>
Suggested-by: Ashok Raj <[email protected]>
Fixes: f8bab73515ca5 ("intel-iommu: PMEN support")
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions