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

dbgfs.c (391B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 * Copyright (C) 2020 Linaro Ltd.
      4 */
      5
      6#include <linux/debugfs.h>
      7
      8#include "core.h"
      9
     10void venus_dbgfs_init(struct venus_core *core)
     11{
     12	core->root = debugfs_create_dir("venus", NULL);
     13	debugfs_create_x32("fw_level", 0644, core->root, &venus_fw_debug);
     14}
     15
     16void venus_dbgfs_deinit(struct venus_core *core)
     17{
     18	debugfs_remove_recursive(core->root);
     19}