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

ver_functions.sh (437B)


      1#!/bin/bash
      2# SPDX-License-Identifier: GPL-2.0+
      3#
      4# Torture-suite-dependent shell functions for the rest of the scripts.
      5#
      6# Copyright (C) IBM Corporation, 2015
      7#
      8# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
      9
     10# per_version_boot_params bootparam-string config-file seconds
     11#
     12# Adds per-version torture-module parameters to kernels supporting them.
     13per_version_boot_params () {
     14	echo $1 refscale.shutdown=1 \
     15		refscale.verbose=0
     16}