q_exit_rcu+0x13e/0x190
[ 147.868011] ---[ end trace 595bd7e9298cfe26 ]---
Is this a known bug? Is there a patch that fixes it? I'd be happy to
test it since it's making testing in VMs difficult right now.
Thanks,
--
Jeff Layton
___
dri-de
ules: amdgpu
I'm able to test patches if it helps. Let me know if you want other info
as well.
Thanks!
--
Jeff Layton
On Sun, 2022-01-02 at 09:30 -0500, Jeff Layton wrote:
> I'm seeing a reproducible softlockup on amdgpu on v5.15.12:
>
> [ 861.656146] [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for
> DMUB idle: status=3
> [ 861.914848] [drm:dc_dmub_srv_wait_idle [amdgpu]] *
t; - }
> + put_user_pages_dirty_lock(pages, num_pages, dirty);
> kvfree(pages);
> }
> EXPORT_SYMBOL(ceph_put_page_vector);
This patch looks sane enough. Assuming that the earlier patches are OK:
Acked-by: Jeff Layton
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
9f96f .config
> make HOSTCC=clang-15 CC=clang-15 ARCH=i386 olddefconfig prepare
> modules_prepare bzImage modules
> make HOSTCC=clang-15 CC=clang-15 ARCH=i386
> INSTALL_MOD_PATH= modules_install
> cd
> find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
>
>
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> bin/lkp qemu -k -m modules.cgz job-script # job-script is
> attached in this email
>
> # if come across any failure that blocks the test,
> # please remove ~/.lkp and /lkp dir to run from a clean state.
>
>
>
--
Jeff Layton
On Mon, 2023-04-17 at 11:44 +0300, Jani Nikula wrote:
> On Fri, 14 Apr 2023, Lyude Paul wrote:
> > On Fri, 2023-04-14 at 13:35 +0300, Jani Nikula wrote:
> > > On Fri, 14 Apr 2023, Jeff Layton wrote:
> > > > On Fri, 2023-04-14 at 04:40 +, Lin,
On Mon, 2023-04-17 at 13:29 +0300, Jani Nikula wrote:
> On Mon, 17 Apr 2023, Jeff Layton wrote:
> > On Mon, 2023-04-17 at 11:44 +0300, Jani Nikula wrote:
> > > On Fri, 14 Apr 2023, Lyude Paul wrote:
> > > > On Fri, 2023-04-14 at 13:35 +0300, Jani Nikula wrote:
>
On Mon, 2023-04-17 at 10:58 +, Lin, Wayne wrote:
> [AMD Official Use Only - General]
>
>
>
> > -Original Message-
> > From: Jani Nikula
> > Sent: Monday, April 17, 2023 6:30 PM
> > To: Jeff Layton ; Lyude Paul ; Lin,
> > Wayne ; Alex Deu
ch to using mgr->dev instead of state->dev since "state" can be
NULL in some cases.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2184855
Suggested-by: Jani Nikula
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_mst_topology.c | 2 +-
1 file changed, 1 ins
On Wed, 2023-04-19 at 16:21 +0300, Jani Nikula wrote:
> On Wed, 19 Apr 2023, Jeff Layton wrote:
> > I've been experiencing some intermittent crashes down in the display
> > driver code. The symptoms are ususally a line like this in dmesg:
> >
> > amdgpu
On Wed, 2023-04-19 at 16:54 -0400, Lyude Paul wrote:
> Reviewed-by: Lyude Paul
>
> Thanks!
>
> On Wed, 2023-04-19 at 07:24 -0400, Jeff Layton wrote:
> > I've been experiencing some intermittent crashes down in the display
> > driver code. The symptoms are us
ng like this?
drm_dbg_kms(state ? state->dev : NULL, "Part 1 of payload creation for %s
failed, skipping part 2\n",
I think that would at least prevent this problem from crashing the machine.
Thanks,
--
Jeff Layton
On Sat, 2023-04-08 at 07:46 -0400, Jeff Layton wrote:
> I've hit some repeated crashes in drm_dp_add_payload_part2. Here's one
> from this morning that occurred not long after booting the machine. I
> hadn't even logged in yet -- it was still at a gdm prompt:
>
>
real bug is probably in the caller of this function, which is
passing it a NULL state pointer, but this patch at least keeps my
machine from oopsing when this occurs.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2184855
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_mst_topol
On Thu, 2023-04-13 at 15:31 +0300, Jani Nikula wrote:
> On Thu, 13 Apr 2023, Jeff Layton wrote:
> > I've been experiencing some intermittent crashes down in the display
> > driver code. The symptoms are ususally a line like this in dmesg:
> >
> > amdgpu
essage, my proposed patch did prevent the
box from oopsing, so I'd really like to see it go in unless it's just
categorically wrong for the caller to pass down a NULL state pointer to
drm_dp_add_payload_part2.
> > -Original Message-
> > From: Alex Deucher
> > Se
.
Thanks,
Jeff
On Wed, 2023-04-19 at 16:54 -0400, Lyude Paul wrote:
> Reviewed-by: Lyude Paul
>
> Thanks!
>
> On Wed, 2023-04-19 at 07:24 -0400, Jeff Layton wrote:
> > I've been experiencing some intermittent crashes down in the display
> > driver code. The
+ shrinker_register(nn->nfsd_client_shrinker);
> +
> return 0;
>
> err_shrinker:
> @@ -8228,7 +8232,7 @@ nfs4_state_shutdown_net(struct net *net)
> struct list_head *pos, *next, reaplist;
> struct nfsd_net *nn = net_generic(net, nfsd_net_id);
>
> - unregister_shrinker(&nn->nfsd_client_shrinker);
> + shrinker_unregister(nn->nfsd_client_shrinker);
> cancel_work(&nn->nfsd_shrinker_work);
> cancel_delayed_work_sync(&nn->laundromat_work);
> locks_end_grace(&nn->nfsd4_manager);
Acked-by: Jeff Layton
ntrol *sc)
> {
> - struct nfsd_net *nn = container_of(shrink,
> - struct nfsd_net, nfsd_reply_cache_shrinker);
> + struct nfsd_net *nn = shrink->private_data;
>
> return atomic_read(&nn->num_drc_entries);
> }
> @@ -342,8 +344,
00011 R11: 0246 R12: 7ffe0a955040
[ 4125.634141] R13: c03864bc R14: 000a R15: 56075466b960
[ 4125.634156]
[ 4125.634159] ---[ end trace 0000 ]---
Thanks,
--
Jeff Layton
I have a recurring problem where my workstation tries to put the monitor
to sleep, which triggers a warning down in the depths of the video card
driver. When I return to the machine the monitor is black, but not in
powersave mode and all of the windows on my desktop have been shuffled
off to the se
gt; connection and maybe individually connect them for a test if possible.
>
> Regards,
> Christian.
>
> Am 21.11.23 um 14:01 schrieb Jeff Layton:
> > I have a recurring problem where my workstation tries to put the monitor
> > to sleep, which triggers a warning down in t
bff63d0
[8.774859]
[8.774864] ---[ end trace ]---
It looks like "count" probably needs to be clamped to
ARRAY_SIZE(header->gpio_pin) in bios_parser_get_gpio_pin_info ?
dmesg is attached. There are couple of other warnings in there too
after the UBSAN one, but this one
above should be
> converted to the new workqueue?
>
> Thanks,
>
> Alan Stern
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
On Thu, 16 Feb 2012 08:29:51 -0800
Tejun Heo wrote:
> Hello,
>
> On Thu, Feb 16, 2012 at 10:27:28AM -0500, Jeff Layton wrote:
> > These should all be freezable and we might even be able to get away
> > with WQ_UNBOUND for some of these.
>
> In general, I would
ove should be
> converted to the new workqueue?
>
> Thanks,
>
> Alan Stern
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
On Thu, 16 Feb 2012 08:29:51 -0800
Tejun Heo wrote:
> Hello,
>
> On Thu, Feb 16, 2012 at 10:27:28AM -0500, Jeff Layton wrote:
> > These should all be freezable and we might even be able to get away
> > with WQ_UNBOUND for some of these.
>
> In general, I would
re some display port and i915 changes
in here too. Note that those are untested, mostly because I don't have
the necessary hardware handy.
Signed-off-by: Jeff Layton
---
Changes in v5:
- add class string to each ref_tracker_dir
- auto-register debugfs file for every tracker in ref_tracker_d
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
Now that there is the ability to create a symlink for each tracker, do
so for the i915 entries.
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
drivers/gpu/drm/i915/intel_wakeref.c| 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 14 +
lib/ref_tracker.c | 72 +
2 files changed, 86
files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
008de9675ea98fa8c18628b2f1c3aee7f3ebc9c6
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 7 +++
lib/ref_tracker.c | 28
2 files changed, 35 insertions(+)
diff --
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 53 ++---
1 file changed, 38 insertions(+), 15 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
a66cde325920780cfe7529ea9d827d
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 10 ++
lib/ref_tracker.c | 28
2 files changed, 38 insertions(+)
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 14 +
lib/ref_tracker.c | 73 +++--
2 files changed, 85
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 53 ++---
1 file changed, 38 insertions(+), 15 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
a66cde325920780cfe7529ea9d827d
files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
008de9675ea98fa8c18628b2f1c3aee7f3ebc9c6
re some display port and i915 changes
in here too. Note that those are untested, mostly because I don't have
the necessary hardware handy.
Signed-off-by: Jeff Layton
---
Changes in v6:
- clean up kerneldoc comment for ref_tracker_dir_debugfs()
- add missing stub function for ref_tracker_dir_
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
Now that there is the ability to create a symlink for each tracker, do
so for the i915 entries.
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
drivers/gpu/drm/i915/intel_wakeref.c| 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915
On Tue, 2025-04-29 at 16:27 -0700, Jakub Kicinski wrote:
> On Mon, 28 Apr 2025 11:26:27 -0700 Jeff Layton wrote:
> > Allow pr_ostream to also output directly to a seq_file without an
> > intermediate buffer.
> >
> > Reviewed-by: Andrew Lunn
> > Signed-off-by: Je
On Wed, 2025-04-30 at 20:50 -0700, Kuniyuki Iwashima wrote:
> From: Jeff Layton
> Date: Wed, 30 Apr 2025 20:42:40 -0700
> > On Wed, 2025-04-30 at 20:07 -0700, Kuniyuki Iwashima wrote:
> > > From: Jeff Layton
> > > Date: Wed, 30 Apr 2025 19:59:23 -0700
> > &
On Wed, 2025-04-30 at 14:29 -0700, Kuniyuki Iwashima wrote:
> From: Jeff Layton
> Date: Wed, 30 Apr 2025 08:06:54 -0700
> > After assigning the inode number to the namespace, use it to create a
> > unique name for each netns refcount tracker with the ns.inum value in
>
On Wed, 2025-04-30 at 20:07 -0700, Kuniyuki Iwashima wrote:
> From: Jeff Layton
> Date: Wed, 30 Apr 2025 19:59:23 -0700
> > On Wed, 2025-04-30 at 14:29 -0700, Kuniyuki Iwashima wrote:
> > > From: Jeff Layton
> > > Date: Wed, 30 Apr 2025 08:06:54 -0700
> > >
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 13
lib/ref_tracker.c | 73 +++--
2 files changed, 84
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 11 +++
lib/ref_tracker.c | 28
2 files changed, 39 insertions(+)
() to register its files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
008de9675ea98fa8c18628b2f1c3aee7f3ebc9c6
Now that there is the ability to create a symlink for each tracker, do
so for the i915 entries.
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
drivers/gpu/drm/i915/intel_wakeref.c| 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
re some display port and i915 changes
in here too. Note that those are untested, mostly because I don't have
the necessary hardware handy.
Signed-off-by: Jeff Layton
---
Changes in v7:
- include net->net_cookie in netns symlink name
- add __ostream_printf to ref_tracker_dir_symlink() stub fu
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 2 ++
lib/ref_tracker.c | 51 -
2 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/include/linux/ref_tracker.h b/include/linux/ref
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
() to register its files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
008de9675ea98fa8c18628b2f1c3aee7f3ebc9c6
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 23 ++
lib/ref_tracker.c | 73 +++--
2 files c
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 13 +
lib/ref_tracker.c | 28
2 files changed, 41 insertions(+)
Now that there is the ability to create a symlink for each tracker, do
so for the i915 entries.
Acked-by: Jani Nikula
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
drivers/gpu/drm/i915/intel_wakeref.c| 1 +
2 files changed, 2 insertions(+)
diff --git a
Minor update to fix up the build and some compiler warnings with more
esoteric Kconfigs.
Signed-off-by: Jeff Layton
---
Changes in v8:
- fix up compiler warnings that the KTR warned about
- ensure builds with CONFIG_DEBUG_FS=n and CONFIG_REF_TRACKER=y work
- Link to v7:
https://lore.kernel.org
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 2 ++
lib/ref_tracker.c | 51 -
2 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/include/linux/ref_tracker.h b/include/linux/ref
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
On Fri, 2025-05-09 at 16:00 -0700, Jakub Kicinski wrote:
> On Fri, 09 May 2025 11:53:36 -0400 Jeff Layton wrote:
> > This one just fixes a typo in the ref_tracker_dir_init() kerneldoc
> > header. I'm only resending so the CI will pick it up.
>
> We got a bunch of:
Now that there is the ability to create a symlink for each tracker, do
so for the i915 entries.
Acked-by: Jani Nikula
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
drivers/gpu/drm/i915/intel_wakeref.c| 1 +
2 files changed, 2 insertions(+)
diff --git a
On Wed, 2025-05-07 at 20:01 -0700, Jakub Kicinski wrote:
> On Wed, 07 May 2025 09:06:35 -0400 Jeff Layton wrote:
> > + * @quarantime_count: max number of entries to be tracked
>
> quarantime
> ^
> :(
Sorry, I thought I had fixed that. Do you need me to resend? The pi
This one just fixes a typo in the ref_tracker_dir_init() kerneldoc
header. I'm only resending so the CI will pick it up.
Signed-off-by: Jeff Layton
---
Changes in v9:
- fix typo in ref_tracker_dir_init() kerneldoc header
- Link to v8:
https://lore.kernel.org/r/20250507-reftrack-dbgfs
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 2 ++
lib/ref_tracker.c | 51 -
2 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/include/linux/ref_tracker.h b/include/linux/ref
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 23 ++
lib/ref_tracker.c | 73 +++--
2 files c
() to register its files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
008de9675ea98fa8c18628b2f1c3aee7f3ebc9c6
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 13 +
lib/ref_tracker.c | 28
2 files changed, 41 insertions(+)
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
ld be safe since this directory is only
accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 23 ++
lib/ref_tracker.c | 73 +++--
2 files c
() to register its files and symlinks.
Signed-off-by: Jeff Layton
---
net/core/net_namespace.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index
8708eb975295ffb78de35fcf4abef7cc281f5a51
_fmt macro.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 2 ++
lib/ref_tracker.c | 51 -
2 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/include/linux/ref_tracker.h b/include/linux/ref
not truly
unique. Since I don't know much about the i915 driver, I'll leave that
as an exercise for that team. It should be fairly simple to add if they
come up with a scheme that gives these object unique names.
[1]: https://patchwork.freedesktop.org/series/148490/
Signed-off-by: J
/20250414-restricted-pointers-net-v1-0-12af0ce46...@linutronix.de/
Cc: Thomas Weißschuh
Reviewed-by: Thomas Weißschuh
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ref_tracker.c b/lib/ref_tracker.c
index
Now that we have dentries and the ability to create meaningful symlinks
to them, don't keep a name string in each tracker. Switch the output
format to print "class@address", and drop the name field.
Also, add a kerneldoc header for ref_tracker_dir_init().
Signed-off-by: Jeff Layto
Add the ability for a subsystem to add a user-friendly symlink that
points to a ref_tracker_dir's debugfs file.
Signed-off-by: Jeff Layton
---
include/linux/ref_tracker.h | 13 +
lib/ref_tracker.c | 28
2 files changed, 41 insertions(+)
Add a new "ref_tracker" directory in debugfs. Each individual refcount
tracker can register files under there to display info about
currently-held references.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff Layton
---
lib/ref_tracker.c | 16
1 file changed, 16 insertion
urpose.
Add a new "class" string to the ref_tracker dir that describes the
the type of object (sans any individual info for that object).
Signed-off-by: Jeff Layton
---
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++-
drivers/gpu/drm/i915
Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.
Reviewed-by: Andrew Lunn
Signed-off-by: Jeff
On Tue, 2025-05-27 at 06:37 -0700, Eric Dumazet wrote:
> On Tue, May 27, 2025 at 6:35 AM Eric Dumazet wrote:
> >
> > On Tue, May 27, 2025 at 4:34 AM Jeff Layton wrote:
> > >
> > > After assigning the inode number to the namespace, use it to create a
> >
On Tue, 2025-05-27 at 07:33 -0400, Jeff Layton wrote:
> Now that we have dentries and the ability to create meaningful symlinks
> to them, don't keep a name string in each tracker. Switch the output
> format to print "class@address", and drop the name field.
>
> Al
1 - 100 of 159 matches
Mail list logo