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_debugfs.c (520B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 *   S/390 common I/O debugfs interface
      4 *
      5 *    Copyright IBM Corp. 2021
      6 *    Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
      7 */
      8
      9#include <linux/debugfs.h>
     10#include "cio_debug.h"
     11
     12struct dentry *cio_debugfs_dir;
     13
     14/* Create the debugfs directory for CIO under the arch_debugfs_dir
     15 * i.e /sys/kernel/debug/s390/cio
     16 */
     17static int __init cio_debugfs_init(void)
     18{
     19	cio_debugfs_dir = debugfs_create_dir("cio", arch_debugfs_dir);
     20
     21	return 0;
     22}
     23subsys_initcall(cio_debugfs_init);