mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
iommu: Introduce DOMAIN_ATTR_SPLIT_TABLES
Introduce DOMAIN_ATTR_SPLIT_TABLES for IOMMU domains that will use the upper portion of the IOVA space, in conjunction with the lower portion of the IOVA space. Change-Id: I9d786396f5306f920c1d023bba8c85dce041c83c Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
a65504bf2b
commit
eed6ad896c
2 changed files with 4 additions and 1 deletions
|
|
@ -84,6 +84,8 @@ static const char *iommu_debug_attr_to_string(enum iommu_attr attr)
|
|||
return "DOMAIN_ATTR_EARLY_MAP";
|
||||
case DOMAIN_ATTR_CB_STALL_DISABLE:
|
||||
return "DOMAIN_ATTR_CB_STALL_DISABLE";
|
||||
case DOMAIN_ATTR_SPLIT_TABLES:
|
||||
return "DOMAIN_ATTR_SPLIT_TABLES";
|
||||
default:
|
||||
return "Unknown attr!";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,8 @@ enum iommu_attr {
|
|||
#define DOMAIN_ATTR_CB_STALL_DISABLE (EXTENDED_ATTR_BASE + 17)
|
||||
#define DOMAIN_ATTR_USE_LLC_NWA (EXTENDED_ATTR_BASE + 18)
|
||||
#define DOMAIN_ATTR_NO_CFRE (EXTENDED_ATTR_BASE + 19)
|
||||
#define DOMAIN_ATTR_EXTENDED_MAX (EXTENDED_ATTR_BASE + 20)
|
||||
#define DOMAIN_ATTR_SPLIT_TABLES (EXTENDED_ATTR_BASE + 20)
|
||||
#define DOMAIN_ATTR_EXTENDED_MAX (EXTENDED_ATTR_BASE + 21)
|
||||
|
||||
/* These are the possible reserved region types */
|
||||
enum iommu_resv_type {
|
||||
|
|
|
|||
Loading…
Reference in a new issue