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

debugfs_huge_count_read_write.sh (272B)


      1#!/bin/bash
      2# SPDX-License-Identifier: GPL-2.0
      3
      4source _debugfs_common.sh
      5
      6# Test huge count read write
      7# ==========================
      8
      9dmesg -C
     10
     11for file in "$DBGFS/"*
     12do
     13	./huge_count_read_write "$file"
     14done
     15
     16if dmesg | grep -q WARNING
     17then
     18	dmesg
     19	exit 1
     20else
     21	exit 0
     22fi