1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * 4 * Copyright (C) 2013 Freescale Semiconductor, Inc. 5 */ 6 7 #ifndef __FSL_PAMU_STASH_H 8 #define __FSL_PAMU_STASH_H 9 10 struct iommu_domain; 11 12 /* cache stash targets */ 13 enum pamu_stash_target { 14 PAMU_ATTR_CACHE_L1 = 1, 15 PAMU_ATTR_CACHE_L2, 16 PAMU_ATTR_CACHE_L3, 17 }; 18 19 int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu); 20 21 #endif /* __FSL_PAMU_STASH_H */ 22