cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

fsl_pamu_stash.h (411B)


      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
     10struct iommu_domain;
     11
     12/* cache stash targets */
     13enum pamu_stash_target {
     14	PAMU_ATTR_CACHE_L1 = 1,
     15	PAMU_ATTR_CACHE_L2,
     16	PAMU_ATTR_CACHE_L3,
     17};
     18
     19int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu);
     20
     21#endif  /* __FSL_PAMU_STASH_H */