Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ROOT_ENTRY_LOWER_CTP_MASK shall be (0xFFFFFFFFFFFFFUL << ROOT_ENTRY_LOWER_CTP_POS) rather than (0xFFFFFFFFFFFFFUL). Rationale: CTP is bits 63:12 in a root entry according to Chapter 9.1 Root Entry in VT-d spec. Similarly, update ROOT_ENTRY_LOWER_PRESENT_MASK to keep the coding style consistent. CTX_ENTRY_UPPER_DID_MASK shall be (0xFFFFUL << CTX_ENTRY_UPPER_DID_POS) rather than (0x3FUL << CTX_ENTRY_UPPER_DID_POS). Rationale: DID is bits 87:72 in a context entry according to Chapter 9.3 Context Entry in VT-d spec. It takes 16 bits rather than 6 bits. Tracked-On: #3626 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
- Loading branch information