diff options
| author | Lu Baolu <[email protected]> | 2019-03-20 01:58:33 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-03-22 11:02:26 +0000 |
| commit | 5bb71fc790a88d063507dc5d445ab8b14e845591 (patch) | |
| tree | c21370e76c78b268cc3d3b00d9ccf3559d723d65 /lib/string_helpers.c | |
| parent | iommu/iova: Fix tracking of recently failed iova address (diff) | |
| download | kernel-5bb71fc790a88d063507dc5d445ab8b14e845591.tar.gz kernel-5bb71fc790a88d063507dc5d445ab8b14e845591.zip | |
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/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
