mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
64a715ab4e
This patch introduces an s390 Common I/O layer debugfs directory that is intended to provide access to debugging-related CIO functions and data. The directory is created as /sys/kernel/debug/s390/cio Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
24 lines
520 B
C
24 lines
520 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* S/390 common I/O debugfs interface
|
|
*
|
|
* Copyright IBM Corp. 2021
|
|
* Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
|
|
*/
|
|
|
|
#include <linux/debugfs.h>
|
|
#include "cio_debug.h"
|
|
|
|
struct dentry *cio_debugfs_dir;
|
|
|
|
/* Create the debugfs directory for CIO under the arch_debugfs_dir
|
|
* i.e /sys/kernel/debug/s390/cio
|
|
*/
|
|
static int __init cio_debugfs_init(void)
|
|
{
|
|
cio_debugfs_dir = debugfs_create_dir("cio", arch_debugfs_dir);
|
|
|
|
return 0;
|
|
}
|
|
subsys_initcall(cio_debugfs_init);
|