diff options
Diffstat (limited to 'drivers/misc/cxl/debugfs.c')
-rw-r--r-- | drivers/misc/cxl/debugfs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/misc/cxl/debugfs.c b/drivers/misc/cxl/debugfs.c index 9c06ac8fa5ac..4848ebf84664 100644 --- a/drivers/misc/cxl/debugfs.c +++ b/drivers/misc/cxl/debugfs.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | static struct dentry *cxl_debugfs; | 16 | static struct dentry *cxl_debugfs; |
17 | 17 | ||
18 | void cxl_stop_trace(struct cxl *adapter) | 18 | void cxl_stop_trace_psl(struct cxl *adapter) |
19 | { | 19 | { |
20 | int slice; | 20 | int slice; |
21 | 21 | ||
@@ -53,7 +53,7 @@ static struct dentry *debugfs_create_io_x64(const char *name, umode_t mode, | |||
53 | (void __force *)value, &fops_io_x64); | 53 | (void __force *)value, &fops_io_x64); |
54 | } | 54 | } |
55 | 55 | ||
56 | void cxl_debugfs_add_adapter_psl_regs(struct cxl *adapter, struct dentry *dir) | 56 | void cxl_debugfs_add_adapter_regs_psl(struct cxl *adapter, struct dentry *dir) |
57 | { | 57 | { |
58 | debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); | 58 | debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); |
59 | debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); | 59 | debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); |
@@ -61,7 +61,7 @@ void cxl_debugfs_add_adapter_psl_regs(struct cxl *adapter, struct dentry *dir) | |||
61 | debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_TRACE)); | 61 | debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_TRACE)); |
62 | } | 62 | } |
63 | 63 | ||
64 | void cxl_debugfs_add_adapter_xsl_regs(struct cxl *adapter, struct dentry *dir) | 64 | void cxl_debugfs_add_adapter_regs_xsl(struct cxl *adapter, struct dentry *dir) |
65 | { | 65 | { |
66 | debugfs_create_io_x64("fec", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_XSL_FEC)); | 66 | debugfs_create_io_x64("fec", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_XSL_FEC)); |
67 | } | 67 | } |
@@ -82,8 +82,8 @@ int cxl_debugfs_adapter_add(struct cxl *adapter) | |||
82 | 82 | ||
83 | debugfs_create_io_x64("err_ivte", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_ErrIVTE)); | 83 | debugfs_create_io_x64("err_ivte", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_ErrIVTE)); |
84 | 84 | ||
85 | if (adapter->native->sl_ops->debugfs_add_adapter_sl_regs) | 85 | if (adapter->native->sl_ops->debugfs_add_adapter_regs) |
86 | adapter->native->sl_ops->debugfs_add_adapter_sl_regs(adapter, dir); | 86 | adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); |
87 | return 0; | 87 | return 0; |
88 | } | 88 | } |
89 | 89 | ||
@@ -92,7 +92,7 @@ void cxl_debugfs_adapter_remove(struct cxl *adapter) | |||
92 | debugfs_remove_recursive(adapter->debugfs); | 92 | debugfs_remove_recursive(adapter->debugfs); |
93 | } | 93 | } |
94 | 94 | ||
95 | void cxl_debugfs_add_afu_psl_regs(struct cxl_afu *afu, struct dentry *dir) | 95 | void cxl_debugfs_add_afu_regs_psl(struct cxl_afu *afu, struct dentry *dir) |
96 | { | 96 | { |
97 | debugfs_create_io_x64("fir", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_FIR_SLICE_An)); | 97 | debugfs_create_io_x64("fir", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_FIR_SLICE_An)); |
98 | debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); | 98 | debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); |
@@ -121,8 +121,8 @@ int cxl_debugfs_afu_add(struct cxl_afu *afu) | |||
121 | debugfs_create_io_x64("sstp1", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_SSTP1_An)); | 121 | debugfs_create_io_x64("sstp1", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_SSTP1_An)); |
122 | debugfs_create_io_x64("err_status", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_ErrStat_An)); | 122 | debugfs_create_io_x64("err_status", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_ErrStat_An)); |
123 | 123 | ||
124 | if (afu->adapter->native->sl_ops->debugfs_add_afu_sl_regs) | 124 | if (afu->adapter->native->sl_ops->debugfs_add_afu_regs) |
125 | afu->adapter->native->sl_ops->debugfs_add_afu_sl_regs(afu, dir); | 125 | afu->adapter->native->sl_ops->debugfs_add_afu_regs(afu, dir); |
126 | 126 | ||
127 | return 0; | 127 | return 0; |
128 | } | 128 | } |