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

cache.S (383B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Code copied from arch/arm64/mm/cache.S.
      4 */
      5
      6#include <linux/linkage.h>
      7#include <asm/assembler.h>
      8#include <asm/alternative.h>
      9
     10SYM_FUNC_START(__pi_dcache_clean_inval_poc)
     11	dcache_by_line_op civac, sy, x0, x1, x2, x3
     12	ret
     13SYM_FUNC_END(__pi_dcache_clean_inval_poc)
     14SYM_FUNC_ALIAS(dcache_clean_inval_poc, __pi_dcache_clean_inval_poc)