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

intel_engine_heartbeat.h (756B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef INTEL_ENGINE_HEARTBEAT_H
      7#define INTEL_ENGINE_HEARTBEAT_H
      8
      9struct intel_engine_cs;
     10struct intel_gt;
     11
     12void intel_engine_init_heartbeat(struct intel_engine_cs *engine);
     13
     14int intel_engine_set_heartbeat(struct intel_engine_cs *engine,
     15			       unsigned long delay);
     16
     17void intel_engine_park_heartbeat(struct intel_engine_cs *engine);
     18void intel_engine_unpark_heartbeat(struct intel_engine_cs *engine);
     19
     20void intel_gt_park_heartbeats(struct intel_gt *gt);
     21void intel_gt_unpark_heartbeats(struct intel_gt *gt);
     22
     23int intel_engine_pulse(struct intel_engine_cs *engine);
     24int intel_engine_flush_barriers(struct intel_engine_cs *engine);
     25
     26#endif /* INTEL_ENGINE_HEARTBEAT_H */