Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eed6ad89 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent a65504bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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!";
	}
+2 −1
Original line number Diff line number Diff line
@@ -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 {