diff options
author | Sai Praneeth Prakhya <[email protected]> | 2019-05-24 16:40:16 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-05-27 16:16:09 +0200 |
commit | cdd3a2499d30695730b22dc025c00b9b28884c6b (patch) | |
tree | e6b9a78cf6c89d436bf89fe43f630fde179fafb1 /scripts/gdb/linux/timerlist.py | |
parent | ea09506c363e90ef0b7532fdcf187bb67281a5e6 (diff) |
iommu/vt-d: Introduce macros useful for dumping DMAR table
A scalable mode DMAR table walk would involve looking at bits in each stage
of walk, like,
1. Is PASID enabled in the context entry?
2. What's the size of PASID directory?
3. Is the PASID directory entry present?
4. Is the PASID table entry present?
5. Number of PASID table entries?
Hence, add these macros that will later be used during this walk.
Apart from adding new macros, move existing macros (like
pasid_pde_is_present(), get_pasid_table_from_pde() and pasid_supported())
to appropriate header files so that they could be reused.
Cc: Joerg Roedel <[email protected]>
Cc: Ashok Raj <[email protected]>
Cc: Lu Baolu <[email protected]>
Cc: Sohil Mehta <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Sai Praneeth Prakhya <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions