aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2019-03-20 01:58:33 +0000
committerJoerg Roedel <[email protected]>2019-03-22 11:02:26 +0000
commit5bb71fc790a88d063507dc5d445ab8b14e845591 (patch)
treec21370e76c78b268cc3d3b00d9ccf3559d723d65 /lib/string_helpers.c
parentiommu/iova: Fix tracking of recently failed iova address (diff)
downloadkernel-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