WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / include / asm / fsl_pamu_stash.h
blob30a31ad2123d86744d27340047074a0b3b112fad
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2013 Freescale Semiconductor, Inc.
5 */
7 #ifndef __FSL_PAMU_STASH_H
8 #define __FSL_PAMU_STASH_H
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,
18 * This attribute allows configuring stashig specific parameters
19 * in the PAMU hardware.
22 struct pamu_stash_attribute {
23 u32 cpu; /* cpu number */
24 u32 cache; /* cache to stash to: L1,L2,L3 */
27 #endif /* __FSL_PAMU_STASH_H */