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

cio_inject.h (336B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 *    Copyright IBM Corp. 2021
      4 *    Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
      5 */
      6
      7#ifndef CIO_CRW_INJECT_H
      8#define CIO_CRW_INJECT_H
      9
     10#ifdef CONFIG_CIO_INJECT
     11
     12#include <asm/crw.h>
     13
     14DECLARE_STATIC_KEY_FALSE(cio_inject_enabled);
     15int stcrw_get_injected(struct crw *crw);
     16
     17#endif
     18#endif