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

cacheinfo.h (425B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _PPC_CACHEINFO_H
      3#define _PPC_CACHEINFO_H
      4
      5/* These are just hooks for sysfs.c to use. */
      6extern void cacheinfo_cpu_online(unsigned int cpu_id);
      7extern void cacheinfo_cpu_offline(unsigned int cpu_id);
      8
      9/* Allow migration/suspend to tear down and rebuild the hierarchy. */
     10extern void cacheinfo_teardown(void);
     11extern void cacheinfo_rebuild(void);
     12
     13#endif /* _PPC_CACHEINFO_H */