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 /* cache stash targets */ 11 enum pamu_stash_target { 12 PAMU_ATTR_CACHE_L1 = 1, 13 PAMU_ATTR_CACHE_L2, 14 PAMU_ATTR_CACHE_L3, 15 }; 16 17 /* 18 * This attribute allows configuring stashig specific parameters 19 * in the PAMU hardware. 20 */ 21 22 struct pamu_stash_attribute { 23 u32 cpu; /* cpu number */ 24 u32 cache; /* cache to stash to: L1,L2,L3 */ 25 }; 26 27 #endif /* __FSL_PAMU_STASH_H */