blob: 38311c98eed9eafd71ea3e65038413a0898c1dfb [file] [log] [blame]
Varun Sethi7cabf492013-07-15 10:20:56 +05301/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2, as
4 * published by the Free Software Foundation.
5 *
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
10 *
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14 *
15 * Copyright (C) 2013 Freescale Semiconductor, Inc.
16 *
17 */
18
19#ifndef __FSL_PAMU_STASH_H
20#define __FSL_PAMU_STASH_H
21
22/* cache stash targets */
23enum pamu_stash_target {
24 PAMU_ATTR_CACHE_L1 = 1,
25 PAMU_ATTR_CACHE_L2,
26 PAMU_ATTR_CACHE_L3,
27};
28
29/*
30 * This attribute allows configuring stashig specific parameters
31 * in the PAMU hardware.
32 */
33
34struct pamu_stash_attribute {
Emil Medvecd70d462015-01-28 08:34:33 -060035 u32 cpu; /* cpu number */
36 u32 cache; /* cache to stash to: L1,L2,L3 */
Varun Sethi7cabf492013-07-15 10:20:56 +053037};
38
39#endif /* __FSL_PAMU_STASH_H */