Re: [PATCH 1/2] iommu/vt-d: Check capability before disabling protected memory

2019-03-22 Thread Joerg Roedel
On Wed, Mar 20, 2019 at 09:58:33AM +0800, Lu Baolu wrote: > 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). >

[PATCH 1/2] iommu/vt-d: Check capability before disabling protected memory

2019-03-19 Thread Lu Baolu
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 Cc: mark gross Suggested-by: Ashok Raj Fixes: