Displaying 3 results from an estimated 3 matches for "reg_wr".
Did you mean:
reg_sz
2008 Dec 02
8
RELENG_7_1: bce driver change generating too much interrupts ?
Since last upgrade, I see much more CPU time "eated" by interrupts (at
least 10% cpu in top)
(see http://dgeo.perso.ec-marseille.fr/cpu-week.png)
The server behave correctly (Or seems to?), and high interrupt number
seems to come from bce cards (source: systat -vmstat)
I just upgraded from
"RELENG_7 Mon Sep 8 12:33:06 CEST 2008"
to
"RELENG_7_1 Sat Nov 29 16:20:35 CET
2018 May 24
3
[PATCH] gpu: Consistently use octal not symbolic permissions
...ct drm_minor *minor)
if (ret)
return ret;
- de = debugfs_create_file("reg", S_IFREG | S_IRUSR,
+ de = debugfs_create_file("reg", S_IFREG | 0400,
minor->debugfs_root, minor->dev, &fops_reg_r);
if (!de)
return -ENOMEM;
- de = debugfs_create_file("reg_wr", S_IFREG | S_IWUSR,
+ de = debugfs_create_file("reg_wr", S_IFREG | 0200,
minor->debugfs_root, minor->dev, &fops_reg_w);
if (!de)
return -ENOMEM;
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index b2482818fee8..84c91018a398 100644
--...
2018 May 25
0
[PATCH] gpu: Consistently use octal not symbolic permissions
...;
>
> - de = debugfs_create_file("reg", S_IFREG | S_IRUSR,
> + de = debugfs_create_file("reg", S_IFREG | 0400,
> minor->debugfs_root, minor->dev, &fops_reg_r);
> if (!de)
> return -ENOMEM;
>
> - de = debugfs_create_file("reg_wr", S_IFREG | S_IWUSR,
> + de = debugfs_create_file("reg_wr", S_IFREG | 0200,
> minor->debugfs_root, minor->dev, &fops_reg_w);
> if (!de)
> return -ENOMEM;
> diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
> index b24...