ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
Subsystems (6)
v5 cover ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
This one is quite a bit of a change from the last set. I've gone back to auto-registering the debugfs files for every ref_tracker_dir. With this, the callers should pass in a static string as a classname instead of an individual name string that gets copied. The debugfs file is given a name "class@%px" The output format is switched to print "class@%p" instead of "name@%p".
To allow for human-readable names, I've added the ability to add a symlink in the debugfs dir that can be set to an arbitrary name. This is optional. I've only added them to the netns and i915 trackers in this series.
Finally, with the above changes, we can eliminate the "name" field in the ref_tracker_dir which shrinks it by 16 bytes on a 64 bit host.
The original plan was to merge this via the networking tree. That's probably still doable but there are some display port and i915 changes in here too. Note that those are untested, mostly because I don't have the necessary hardware handy.
---
Changes in v5:
- add class string to each ref_tracker_dir
- auto-register debugfs file for every tracker in ref_tracker_dir_init
- add function to allow adding a symlink for each tracker
- add patches to create symlinks for netns's and i915 entries
- change output format to print class@%p instead of name@%p
- eliminate the name field in ref_tracker_dir
- fix off-by-one bug when NULL terminating name string
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Drop patch to widen ref_tracker_dir_.name, use NAME_MAX+1 (256) instead since this only affects dentry name
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- don't overwrite dir->name in ref_tracker_dir_debugfs
- define REF_TRACKER_NAMESZ and use it when setting name
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Add patch to do %pK -> %p conversion in ref_tracker.c
- Pass in output function to pr_ostream() instead of if statement
- Widen ref_tracker_dir.name to 64 bytes to accomodate unique names
- Eliminate error handling with debugfs manipulation
- Incorporate pointer value into netdev name
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Jeff Layton (10):
ref_tracker: don't use %pK in pr_ostream() output
ref_tracker: add a top level debugfs directory for ref_tracker
ref_tracker: have callers pass output function to pr_ostream()
ref_tracker: allow pr_ostream() to print directly to a seq_file
ref_tracker: add a static classname string to each ref_tracker_dir
ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
net: add symlinks to ref_tracker_dir for netns
i915: add ref_tracker_dir symlinks for each tracker
ref_tracker: eliminate the ref_tracker_dir name field
drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 4 +- drivers/gpu/drm/i915/intel_wakeref.c | 3 +- include/linux/ref_tracker.h | 41 ++++++- lib/ref_tracker.c | 194 +++++++++++++++++++++++++++++--- net/core/dev.c | 2 +- net/core/net_namespace.c | 32 +++++- 7 files changed, 252 insertions(+), 26 deletions(-)
---
base-commit: 5bc1018675ec28a8a60d83b378d8c3991faa5a27
change-id: 20250413-reftrack-dbgfs-3767b303e2fa
Best regards,
Signature · 1 line
Jeff Layton <[email protected]>
PATCH v5 1/10 ref_tracker: don't use %pK in pr_ostream() output
As Thomas Weißschuh points out [1], it is now preferable to use %p instead of hashed pointers with printk(), since raw pointers should no longer be leaked into the kernel log. Change the ref_tracker infrastructure to use %p instead of %pK in its formats.
[1]: https://lore.kernel.org/netdev/[email protected]/
--- lib/ref_tracker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
lib/ref_tracker.c +3 -3
@@ -96,7 +96,7 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, stats =ref_tracker_get_stats (dir, display_limit);if (IS_ERR (stats)) { -pr_ostream (s,"%s@%pK: couldn't get stats, error %pe\n" , +pr_ostream (s,"%s@%p: couldn't get stats, error %pe\n" , dir->name, dir, stats);return ; }
@@ -107,13 +107,13 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, stack = stats->stacks[i].stack_handle;if (sbuf && !stack_depot_snprint (stack, sbuf,STACK_BUF_SIZE ,4 )) sbuf[0 ] =0 ; -pr_ostream (s,"%s@%pK has %d/%d users at\n%s\n" , dir->name, dir, +pr_ostream (s,"%s@%p has %d/%d users at\n%s\n" , dir->name, dir, stats->stacks[i].count, stats->total, sbuf); skipped -= stats->stacks[i].count; }if (skipped) -pr_ostream (s,"%s@%pK skipped reports about %d/%d users.\n" , +pr_ostream (s,"%s@%p skipped reports about %d/%d users.\n" , dir->name, dir, skipped, stats->total);kfree (sbuf);
Signature · 1 line
2.49.0
PATCH v5 2/10 ref_tracker: add a top level debugfs directory for ref_tracker
In reply to Jeff LaytonAdd a new "ref_tracker" directory in debugfs. Each individual refcount tracker can register files under there to display info about currently-held references.
--- lib/ref_tracker.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
lib/ref_tracker.c +16 -0
@@ -12,6 +12,8 @@#define REF_TRACKER_STACK_ENTRIES 16#define STACK_BUF_SIZE 1024 +static struct dentry *ref_tracker_debug_dir = (struct dentry *)-ENOENT ; +struct ref_tracker {struct list_head head;/* anchor into dir->list or dir->quarantine */ bool dead;
@@ -273,3 +275,17 @@ int ref_tracker_free(struct ref_tracker_dir *dir,return 0 ; }EXPORT_SYMBOL_GPL (ref_tracker_free); + +#ifdef CONFIG_DEBUG_FS +#include <linux/debugfs.h> + +static int __init ref_tracker_debugfs_init (void ) +{ + ref_tracker_debug_dir =debugfs_create_dir ("ref_tracker" ,NULL ); +if (IS_ERR (ref_tracker_debug_dir)) +pr_warn ("ref_tracker: unable to create debugfs ref_tracker directory: %pe\n" , + ref_tracker_debug_dir); +return 0 ; +} +late_initcall (ref_tracker_debugfs_init); +#endif /* CONFIG_DEBUG_FS */
Signature · 1 line
2.49.0
PATCH v5 3/10 ref_tracker: have callers pass output function to pr_ostream()
In reply to Jeff LaytonIn a later patch, we'll be adding a 3rd mechanism for outputting ref_tracker info via seq_file. Instead of a conditional, have the caller set a pointer to an output function in struct ostream. As part of this, the log prefix must be explicitly passed in, as it's too late for the pr_fmt macro.
--- lib/ref_tracker.c | 53 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 15 deletions(-)
lib/ref_tracker.c +38 -15
@@ -64,22 +64,40 @@ ref_tracker_get_stats(struct ref_tracker_dir *dir, unsigned int limit)return stats; } +#define __ostream_printf __printf(2, 3) +struct ostream { + void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...); +char *prefix;char *buf;int size, used; }; +static void __ostream_printf pr_ostream_log(struct ostream *stream, char *fmt, ...) +{ +va_list args; + +va_start (args, fmt); +vprintk (fmt, args); +va_end (args); +} + +static void __ostream_printf pr_ostream_buf(struct ostream *stream, char *fmt, ...) +{ +int ret, len = stream->size - stream->used; +va_list args; + +va_start (args, fmt); + ret =vsnprintf (stream->buf + stream->used, len, fmt, args); +va_end (args); + stream->used +=min (ret, len); +} + #define pr_ostream(stream, fmt, args...) \ ({ \ struct ostream *_s = (stream); \ \ - if (!_s->buf) { \ - pr_err(fmt, ##args); \ - } else { \ - int ret, len = _s->size - _s->used; \ - ret = snprintf(_s->buf + _s->used, len, pr_fmt(fmt), ##args); \ - _s->used += min(ret, len); \ - } \ + _s->func(_s, fmt, ##args); \ }) static void
@@ -98,8 +116,8 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, stats =ref_tracker_get_stats (dir, display_limit);if (IS_ERR (stats)) { -pr_ostream (s,"%s@%p: couldn't get stats, error %pe\n" , - dir->name, dir, stats); +pr_ostream (s,"%s%s@%p: couldn't get stats, error %pe\n" , + s->prefix, dir->name, dir, stats);return ; }
@@ -109,14 +127,15 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, stack = stats->stacks[i].stack_handle;if (sbuf && !stack_depot_snprint (stack, sbuf,STACK_BUF_SIZE ,4 )) sbuf[0 ] =0 ; -pr_ostream (s,"%s@%p has %d/%d users at\n%s\n" , dir->name, dir, - stats->stacks[i].count, stats->total, sbuf); +pr_ostream (s,"%s%s@%p has %d/%d users at\n%s\n" , s->prefix, + dir->name, dir, stats->stacks[i].count, + stats->total, sbuf); skipped -= stats->stacks[i].count; }if (skipped) -pr_ostream (s,"%s@%p skipped reports about %d/%d users.\n" , - dir->name, dir, skipped, stats->total); +pr_ostream (s,"%s%s@%p skipped reports about %d/%d users.\n" , + s->prefix, dir->name, dir, skipped, stats->total);kfree (sbuf);
@@ -126,7 +145,8 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir,void ref_tracker_dir_print_locked (struct ref_tracker_dir *dir,unsigned int display_limit) { -struct ostream os = {}; +struct ostream os = { .func = pr_ostream_log, + .prefix ="ref_tracker: " };__ref_tracker_dir_pr_ostream (dir, display_limit, &os); }
@@ -145,7 +165,10 @@ EXPORT_SYMBOL(ref_tracker_dir_print);int ref_tracker_dir_snprint (struct ref_tracker_dir *dir,char *buf,size_t size) { -struct ostream os = { .buf = buf, .size = size }; +struct ostream os = { .func = pr_ostream_buf, + .prefix ="ref_tracker: " , + .buf = buf, + .size = size };unsigned long flags;spin_lock_irqsave (&dir->lock, flags);
Signature · 1 line
2.49.0
PATCH v5 4/10 ref_tracker: allow pr_ostream() to print directly to a seq_file
In reply to Jeff LaytonAllow pr_ostream to also output directly to a seq_file without an intermediate buffer.
--- lib/ref_tracker.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
lib/ref_tracker.c +25 -0
@@ -8,6 +8,7 @@#include <linux/slab.h> #include <linux/stacktrace.h> #include <linux/stackdepot.h> +#include <linux/seq_file.h> #define REF_TRACKER_STACK_ENTRIES 16#define STACK_BUF_SIZE 1024
@@ -70,6 +71,7 @@ struct ostream { void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...);char *prefix;char *buf; +struct seq_file *seq;int size, used; };
@@ -93,6 +95,15 @@ static void __ostream_printf pr_ostream_buf(struct ostream *stream, char *fmt, . stream->used +=min (ret, len); } +static void __ostream_printf pr_ostream_seq(struct ostream *stream, char *fmt, ...) +{ +va_list args; + +va_start (args, fmt); +seq_vprintf (stream->seq, fmt, args); +va_end (args); +} + #define pr_ostream(stream, fmt, args...) \ ({ \ struct ostream *_s = (stream); \
@@ -302,6 +313,20 @@ EXPORT_SYMBOL_GPL(ref_tracker_free);#ifdef CONFIG_DEBUG_FS #include <linux/debugfs.h> +static int ref_tracker_dir_seq_print (struct ref_tracker_dir *dir,struct seq_file *seq) +{ +struct ostream os = { .func = pr_ostream_seq, + .prefix ="" , + .seq = seq }; +unsigned long flags; + +spin_lock_irqsave (&dir->lock, flags); +__ref_tracker_dir_pr_ostream (dir,16 , &os); +spin_unlock_irqrestore (&dir->lock, flags); + +return os.used; +} +static int __init ref_tracker_debugfs_init (void ) { ref_tracker_debug_dir =debugfs_create_dir ("ref_tracker" ,NULL );
Signature · 1 line
2.49.0
Jakub Kicinski
maintainerRe: [PATCH v5 04/10] ref_tracker: allow pr_ostream() to print directly to a seq_file
Quoted 5 lines · On Mon, 28 Apr 2025 11:26:27 -0700 Jeff Layton wrote:
Allow
pr_ostreamto also output directly to aseq_filewithout an intermediate buffer.Reviewed-by Andrew Lunn <[email protected]>Signed-off-by Jeff Layton <[email protected]>
lib/ref_tracker.c:316:12: warning: unused function 'ref_tracker_dir_seq_print' [-Wunused-function]
316 | static int ref_tracker_dir_seq_print(struct ref_tracker_dir *dir, struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Re: [PATCH v5 04/10] ref_tracker: allow pr_ostream() to print directly to a seq_file
Quoted 10 lines · Jakub Kicinski
Quoted 5 lines · On Mon, 28 Apr 2025 11:26:27 -0700 Jeff Layton wrote:
Allow
pr_ostreamto also output directly to aseq_filewithout an intermediate buffer.Reviewed-by Andrew Lunn <[email protected]>Signed-off-by Jeff Layton <[email protected]>
lib/ref_tracker.c:316:12: warning: unused function 'ref_tracker_dir_seq_print' [-Wunused-function]
316 | static intref_tracker_dir_seq_print(struct ref_tracker_dir *dir, struct seq_file *seq)| ^~~~~~~~~~~~~~~~~~~~~~~~~
The caller ends up being added in patch #6. I think the only thing I can do here to silence this is to squash this patch into that one.
I kind of don't like doing that here because I think the patches are conceptually separate, and it'll make for a rather large patch.
Let me know what you prefer.
Thanks,
Signature · 1 line
Jeff Layton <[email protected]>
Jakub Kicinski
maintainerRe: [PATCH v5 04/10] ref_tracker: allow pr_ostream() to print directly to a seq_file
Quoted 12 lines · On Tue, 29 Apr 2025 19:18:01 -0700 Jeff Layton wrote:
Quoted 10 lines · Jakub Kicinski
Quoted 5 lines · On Mon, 28 Apr 2025 11:26:27 -0700 Jeff Layton wrote:
Allow
pr_ostreamto also output directly to aseq_filewithout an intermediate buffer.Reviewed-by Andrew Lunn <[email protected]>Signed-off-by Jeff Layton <[email protected]>
lib/ref_tracker.c:316:12: warning: unused function 'ref_tracker_dir_seq_print' [-Wunused-function]
316 | static intref_tracker_dir_seq_print(struct ref_tracker_dir *dir, struct seq_file *seq)| ^~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines
The caller ends up being added in patch #6. I think the only thing I can do here to silence this is to squash this patch into that one.
I kind of don't like doing that here because I think the patches are conceptually separate, and it'll make for a rather large patch.
Let me know what you prefer.
Would it work to make the fops very dumbed down - return an error from open. And then implement the seqfile output as the next patch?
PATCH v5 5/10 ref_tracker: add a static classname string to each ref_tracker_dir
In reply to Jeff LaytonA later patch in the series will be adding debugfs files for each ref_tracker that get created in ref_tracker_dir_init(). The format will be "class@%px". The current "name" string can vary between ref_tracker_dir objects of the same type, so it's not suitable for this purpose.
Add a new "class" string to the ref_tracker dir that describes the the type of object (sans any individual info for that object).
--- drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 3 ++- drivers/gpu/drm/i915/intel_wakeref.c | 2 +- include/linux/ref_tracker.h | 4 ++++ lib/test_ref_tracker.c | 2 +- net/core/dev.c | 2 +- net/core/net_namespace.c | 4 ++-- 7 files changed, 12 insertions(+), 7 deletions(-)
drivers/gpu/drm/display/drm_dp_tunnel.c +1 -1
@@ -1920,7 +1920,7 @@ drm_dp_tunnel_mgr_create(struct drm_device *dev, int max_group_count) }#ifdef CONFIG_DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG -ref_tracker_dir_init (&mgr->ref_tracker,16 ,"dptun" ); +ref_tracker_dir_init (&mgr->ref_tracker,16 ,"drm_dptun" ,"dptun" );#endif for (i =0 ; i < max_group_count; i++) {
drivers/gpu/drm/i915/intel_runtime_pm.c +2 -1
@@ -59,7 +59,8 @@ static struct drm_i915_private *rpm_to_i915(struct intel_runtime_pm *rpm)static void init_intel_runtime_pm_wakeref (struct intel_runtime_pm *rpm) { -ref_tracker_dir_init (&rpm->debug,INTEL_REFTRACK_DEAD_COUNT ,dev_name (rpm->kdev)); +ref_tracker_dir_init (&rpm->debug,INTEL_REFTRACK_DEAD_COUNT , +"intel_runtime_pm" ,dev_name (rpm->kdev)); } static intel_wakeref_t
drivers/gpu/drm/i915/intel_wakeref.c +1 -1
@@ -114,7 +114,7 @@ void __intel_wakeref_init(struct intel_wakeref *wf, "wakeref.work", &key->work, 0);#if IS_ENABLED (CONFIG_DRM_I915_DEBUG_WAKEREF ) -ref_tracker_dir_init (&wf->debug,INTEL_REFTRACK_DEAD_COUNT , name); +ref_tracker_dir_init (&wf->debug,INTEL_REFTRACK_DEAD_COUNT ,"intel_wakeref" , name);#endif }
include/linux/ref_tracker.h +4 -0
@@ -17,6 +17,7 @@ struct ref_tracker_dir {bool dead;struct list_head list;/* List of active trackers */ struct list_head quarantine;/* List of dead trackers */ +const char *class;/* object classname */ char name[32 ];#endif };
@@ -25,6 +26,7 @@ struct ref_tracker_dir {static inline void ref_tracker_dir_init (struct ref_tracker_dir *dir,unsigned int quarantine_count, +const char *class,const char *name) {INIT_LIST_HEAD (&dir->list);
@@ -34,6 +36,7 @@ static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, dir->dead = false;refcount_set (&dir->untracked,1 );refcount_set (&dir->no_tracker,1 ); + dir->class = class;strscpy (dir->name, name,sizeof (dir->name));stack_depot_init (); }
@@ -58,6 +61,7 @@ int ref_tracker_free(struct ref_tracker_dir *dir,static inline void ref_tracker_dir_init (struct ref_tracker_dir *dir,unsigned int quarantine_count, +const char *class,const char *name) { }
lib/test_ref_tracker.c +1 -1
@@ -64,7 +64,7 @@ static int __init test_ref_tracker_init(void) {int i; -ref_tracker_dir_init (&ref_dir,100 ,"selftest" ); +ref_tracker_dir_init (&ref_dir,100 ,"selftest" ,"selftest" );timer_setup (&test_ref_tracker_timer, test_ref_tracker_timer_func,0 );mod_timer (&test_ref_tracker_timer, jiffies +1 );
net/core/dev.c +1 -1
@@ -11620,7 +11620,7 @@ struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, dev->priv_len = sizeof_priv; -ref_tracker_dir_init (&dev->refcnt_tracker,128 , name); +ref_tracker_dir_init (&dev->refcnt_tracker,128 ,"netdev" , name);#ifdef CONFIG_PCPU_DEV_REFCNT dev->pcpu_refcnt =alloc_percpu (int);if (!dev->pcpu_refcnt)
net/core/net_namespace.c +2 -2
@@ -324,8 +324,8 @@ static __net_init void preinit_net(struct net *net, struct user_namespace *user_ {refcount_set (&net->passive,1 );refcount_set (&net->ns.count,1 ); -ref_tracker_dir_init (&net->refcnt_tracker,128 ,"net refcnt" ); -ref_tracker_dir_init (&net->notrefcnt_tracker,128 ,"net notrefcnt" ); +ref_tracker_dir_init (&net->refcnt_tracker,128 ,"net_refcnt" ,"net_refcnt" ); +ref_tracker_dir_init (&net->notrefcnt_tracker,128 ,"net_notrefcnt" ,"net_notrefcnt" );get_random_bytes (&net->hash_mix,sizeof (u32)); net->dev_base_seq =1 ;
Signature · 1 line
2.49.0
PATCH v5 6/10 ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
In reply to Jeff LaytonCurrently, there is no convenient way to see the info that the ref_tracking infrastructure collects. Attempt to create a file in debugfs when called from ref_tracker_dir_init().
The file is given the name "class@%px", as having the unmodified address is helpful for debugging. This should be safe since this directory is only accessible by root
If debugfs file creation fails, a pr_warn will be isssued.
--- include/linux/ref_tracker.h | 14 +++++++++ lib/ref_tracker.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+)
include/linux/ref_tracker.h +14 -0
@@ -5,6 +5,7 @@#include <linux/types.h> #include <linux/spinlock.h> #include <linux/stackdepot.h> +#include <linux/seq_file.h> struct ref_tracker ;
@@ -18,12 +19,17 @@ struct ref_tracker_dir {struct list_head list;/* List of active trackers */ struct list_head quarantine;/* List of dead trackers */ const char *class;/* object classname */ +#ifdef CONFIG_DEBUG_FS +struct dentry *dentry; +#endif char name[32 ];#endif };#ifdef CONFIG_REF_TRACKER +void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir); + static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, unsigned int quarantine_count, const char *class,
@@ -37,7 +43,11 @@ static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir,refcount_set (&dir->untracked,1 );refcount_set (&dir->no_tracker,1 ); dir->class = class; +#ifdef CONFIG_DEBUG_FS + dir->dentry =NULL ; +#endif strscpy (dir->name, name,sizeof (dir->name)); +ref_tracker_dir_debugfs (dir);stack_depot_init (); }
@@ -66,6 +76,10 @@ static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, { } +static inline void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir) +{ +} +static inline void ref_tracker_dir_exit (struct ref_tracker_dir *dir) { }
lib/ref_tracker.c +72 -0
90 lines not on this page · raw message
Signature · 1 line
2.49.0
Jakub Kicinski
maintainerRe: [PATCH v5 06/10] ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
lib/ref_tracker.c static int ref_tracker_dir_seq_print(struct ref_tracker_dir *dir, struct seq_fil · line 372
Quoted 12 lines · On Mon, 28 Apr 2025 11:26:29 -0700 Jeff Layton wrote:
lib/ref_tracker.c +12
-0+/** +* ref_tracker_dir_debugfs - create debugfs file for ref_tracker_dir +* @dir: ref_tracker_dir to be associated with debugfs file +* @fmt: format string for filename +* @...: arguments for the format string +* +* Call this function to create a debugfs file for your ref_tracker_dir that +* displays the current refcounts for the object. It will be automatically +* removed when the ref_tracker_dir exits. The filename must be unique. If +* the creation fails then the pr_warn will be emitted. +*/ +void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir)
lib/ref_tracker.c:374: warning: Excess function parameter 'fmt' description in 'ref_tracker_dir_debugfs' lib/ref_tracker.c:374: warning: Excess function parameter '...' description in 'ref_tracker_dir_debugfs'
PATCH v5 7/10 ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
In reply to Jeff LaytonAdd the ability for a subsystem to add a user-friendly symlink that points to a ref_tracker_dir's debugfs file.
--- include/linux/ref_tracker.h | 7 +++++++ lib/ref_tracker.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+)
include/linux/ref_tracker.h +7 -0
@@ -21,6 +21,7 @@ struct ref_tracker_dir {const char *class;/* object classname */ #ifdef CONFIG_DEBUG_FS struct dentry *dentry; +struct dentry *symlink;#endif char name[32 ];#endif
@@ -29,6 +30,7 @@ struct ref_tracker_dir {#ifdef CONFIG_REF_TRACKER void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir); +void ref_tracker_dir_symlink (struct ref_tracker_dir *dir,const char *fmt, ...); static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, unsigned int quarantine_count,
@@ -45,6 +47,7 @@ static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, dir->class = class;#ifdef CONFIG_DEBUG_FS dir->dentry =NULL ; + dir->symlink =NULL ;#endif strscpy (dir->name, name,sizeof (dir->name));ref_tracker_dir_debugfs (dir);
@@ -80,6 +83,10 @@ static inline void ref_tracker_dir_debugfs(struct ref_tracker_dir *dir) { } +static inline void ref_tracker_dir_symlink (struct ref_tracker_dir *dir,const char *fmt, ...) +{ +} +static inline void ref_tracker_dir_exit (struct ref_tracker_dir *dir) { }
lib/ref_tracker.c +28 -0
@@ -394,8 +394,36 @@ void ref_tracker_dir_debugfs(struct ref_tracker_dir *dir) }EXPORT_SYMBOL (ref_tracker_dir_debugfs); +void __ostream_printf ref_tracker_dir_symlink(struct ref_tracker_dir *dir, const char *fmt, ...) +{ +char name[NAME_MAX +1 ]; +va_list args; +int ret; + +/* Already created, or dentry doesn't exist? Do nothing */ +if (!IS_ERR_OR_NULL (dir->symlink) ||IS_ERR_OR_NULL (dir->dentry)) +return ; + +va_start (args, fmt); + ret =vsnprintf (name,sizeof (name), fmt, args); +va_end (args); + name[sizeof (name) -1 ] ='\0' ; + +if (ret <sizeof (name)) + dir->symlink =debugfs_create_symlink (name, ref_tracker_debug_dir, + dir->dentry->d_name.name); +else + dir->symlink =ERR_PTR (-ENAMETOOLONG ); + +if (IS_ERR (dir->symlink)) +pr_warn ("ref_tracker: unable to create debugfs symlink for %s: %pe\n" , + name, dir->symlink); +} +EXPORT_SYMBOL (ref_tracker_dir_symlink); +static void ref_tracker_debugfs_remove (struct ref_tracker_dir *dir) { +debugfs_remove (dir->symlink);debugfs_remove (dir->dentry); }
Signature · 1 line
2.49.0
PATCH v5 8/10 net: add symlinks to ref_tracker_dir for netns
In reply to Jeff LaytonAfter 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 it, and register a symlink to the debugfs file for it.
init_net is registered before the ref_tracker dir is created, so add a late_initcall() to register its files and symlinks.
--- net/core/net_namespace.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)
net/core/net_namespace.c +27 -1
@@ -763,12 +763,38 @@ struct net *get_net_ns_by_pid(pid_t pid) }EXPORT_SYMBOL_GPL (get_net_ns_by_pid); +#ifdef CONFIG_NET_NS_REFCNT_TRACKER +static void net_ns_net_debugfs (struct net *net) +{ +ref_tracker_dir_symlink (&net->refcnt_tracker,"netns-%u-refcnt" , net->ns.inum); +ref_tracker_dir_symlink (&net->notrefcnt_tracker,"netns-%u-notrefcnt" , net->ns.inum); +} + +static int __init init_net_debugfs (void ) +{ +ref_tracker_dir_debugfs (&init_net.refcnt_tracker); +ref_tracker_dir_debugfs (&init_net.notrefcnt_tracker); +net_ns_net_debugfs (&init_net); +return 0 ; +} +late_initcall (init_net_debugfs); +#else +static void net_ns_net_debugfs (struct net *net) +{ +} +#endif +static __net_init int net_ns_net_init (struct net *net) { +int ret; +#ifdef CONFIG_NET_NS net->ns.ops = &netns_operations;#endif -return ns_alloc_inum (&net->ns); + ret =ns_alloc_inum (&net->ns); +if (!ret) +net_ns_net_debugfs (net); +return ret; } static __net_exit void net_ns_net_exit(struct net *net)
Signature · 1 line
2.49.0
PATCH v5 9/10 i915: add ref_tracker_dir symlinks for each tracker
In reply to Jeff LaytonNow that there is the ability to create a symlink for each tracker, do so for the i915 entries.
--- drivers/gpu/drm/i915/intel_runtime_pm.c | 1 + drivers/gpu/drm/i915/intel_wakeref.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/i915/intel_runtime_pm.c +1 -0
@@ -61,6 +61,7 @@ static void init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) {ref_tracker_dir_init (&rpm->debug,INTEL_REFTRACK_DEAD_COUNT ,"intel_runtime_pm" ,dev_name (rpm->kdev)); +ref_tracker_dir_symlink (&rpm->debug,"intel_runtime_pm-%s" ,dev_name (rpm->kdev)); } static intel_wakeref_t
drivers/gpu/drm/i915/intel_wakeref.c +1 -0
@@ -115,6 +115,7 @@ void __intel_wakeref_init(struct intel_wakeref *wf,#if IS_ENABLED (CONFIG_DRM_I915_DEBUG_WAKEREF )ref_tracker_dir_init (&wf->debug,INTEL_REFTRACK_DEAD_COUNT ,"intel_wakeref" , name); +ref_tracker_dir_symlink (&wf->debug,"intel_wakeref-%s" , name);#endif }
Signature · 1 line
2.49.0
PATCH v5 10/10 ref_tracker: eliminate the ref_tracker_dir name field
In reply to Jeff LaytonNow 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().
--- drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 2 +- drivers/gpu/drm/i915/intel_wakeref.c | 2 +- include/linux/ref_tracker.h | 20 ++++++++++++++------ lib/ref_tracker.c | 6 +++--- lib/test_ref_tracker.c | 2 +- net/core/dev.c | 2 +- net/core/net_namespace.c | 4 ++-- 8 files changed, 24 insertions(+), 16 deletions(-)
drivers/gpu/drm/display/drm_dp_tunnel.c +1 -1
@@ -1920,7 +1920,7 @@ drm_dp_tunnel_mgr_create(struct drm_device *dev, int max_group_count) }#ifdef CONFIG_DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG -ref_tracker_dir_init (&mgr->ref_tracker,16 ,"drm_dptun" ,"dptun" ); +ref_tracker_dir_init (&mgr->ref_tracker,16 ,"drm_dptun" );#endif for (i =0 ; i < max_group_count; i++) {
drivers/gpu/drm/i915/intel_runtime_pm.c +1 -1
@@ -60,7 +60,7 @@ static struct drm_i915_private *rpm_to_i915(struct intel_runtime_pm *rpm)static void init_intel_runtime_pm_wakeref (struct intel_runtime_pm *rpm) {ref_tracker_dir_init (&rpm->debug,INTEL_REFTRACK_DEAD_COUNT , -"intel_runtime_pm" ,dev_name (rpm->kdev)); +"intel_runtime_pm" );ref_tracker_dir_symlink (&rpm->debug,"intel_runtime_pm-%s" ,dev_name (rpm->kdev)); }
drivers/gpu/drm/i915/intel_wakeref.c +1 -1
@@ -114,7 +114,7 @@ void __intel_wakeref_init(struct intel_wakeref *wf, "wakeref.work", &key->work, 0);#if IS_ENABLED (CONFIG_DRM_I915_DEBUG_WAKEREF ) -ref_tracker_dir_init (&wf->debug,INTEL_REFTRACK_DEAD_COUNT ,"intel_wakeref" , name); +ref_tracker_dir_init (&wf->debug,INTEL_REFTRACK_DEAD_COUNT ,"intel_wakeref" );ref_tracker_dir_symlink (&wf->debug,"intel_wakeref-%s" , name);#endif }
include/linux/ref_tracker.h +14 -6
@@ -23,7 +23,6 @@ struct ref_tracker_dir {struct dentry *dentry;struct dentry *symlink;#endif -char name[32 ];#endif };
@@ -32,10 +31,21 @@ struct ref_tracker_dir {void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir);void ref_tracker_dir_symlink (struct ref_tracker_dir *dir,const char *fmt, ...); +/** +* ref_tracker_dir_init - initialize a ref_tracker dir +* @dir: ref_tracker_dir to be initialized +* @quarantime_count: max number of entries to be tracked +* @class: pointer to static string that describes object type +* +* Initialize a ref_tracker_dir. If debugfs is configured, then a file +* will also be created for it under the top-level ref_tracker debugfs +* directory. +* +* Note that @class must point to a static string. +*/ static inline void ref_tracker_dir_init (struct ref_tracker_dir *dir,unsigned int quarantine_count, -const char *class, -const char *name) +const char *class) {INIT_LIST_HEAD (&dir->list);INIT_LIST_HEAD (&dir->quarantine);
@@ -49,7 +59,6 @@ static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, dir->dentry =NULL ; dir->symlink =NULL ;#endif -strscpy (dir->name, name,sizeof (dir->name));ref_tracker_dir_debugfs (dir);stack_depot_init (); }
@@ -74,8 +83,7 @@ int ref_tracker_free(struct ref_tracker_dir *dir,static inline void ref_tracker_dir_init (struct ref_tracker_dir *dir,unsigned int quarantine_count, -const char *class, -const char *name) +const char *class) { }
lib/ref_tracker.c +3 -3
@@ -136,7 +136,7 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir, stats =ref_tracker_get_stats (dir, display_limit);if (IS_ERR (stats)) {pr_ostream (s,"%s%s@%p: couldn't get stats, error %pe\n" , - s->prefix, dir->name, dir, stats); + s->prefix, dir->class, dir, stats);return ; }
@@ -147,14 +147,14 @@ __ref_tracker_dir_pr_ostream(struct ref_tracker_dir *dir,if (sbuf && !stack_depot_snprint (stack, sbuf,STACK_BUF_SIZE ,4 )) sbuf[0 ] =0 ;pr_ostream (s,"%s%s@%p has %d/%d users at\n%s\n" , s->prefix, - dir->name, dir, stats->stacks[i].count, + dir->class, dir, stats->stacks[i].count, stats->total, sbuf); skipped -= stats->stacks[i].count; }if (skipped)pr_ostream (s,"%s%s@%p skipped reports about %d/%d users.\n" , - s->prefix, dir->name, dir, skipped, stats->total); + s->prefix, dir->class, dir, skipped, stats->total);kfree (sbuf);
lib/test_ref_tracker.c +1 -1
@@ -64,7 +64,7 @@ static int __init test_ref_tracker_init(void) {int i; -ref_tracker_dir_init (&ref_dir,100 ,"selftest" ,"selftest" ); +ref_tracker_dir_init (&ref_dir,100 ,"selftest" );timer_setup (&test_ref_tracker_timer, test_ref_tracker_timer_func,0 );mod_timer (&test_ref_tracker_timer, jiffies +1 );
net/core/dev.c +1 -1
@@ -11620,7 +11620,7 @@ struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, dev->priv_len = sizeof_priv; -ref_tracker_dir_init (&dev->refcnt_tracker,128 ,"netdev" , name); +ref_tracker_dir_init (&dev->refcnt_tracker,128 ,"netdev" );#ifdef CONFIG_PCPU_DEV_REFCNT dev->pcpu_refcnt =alloc_percpu (int);if (!dev->pcpu_refcnt)
net/core/net_namespace.c +2 -2
@@ -324,8 +324,8 @@ static __net_init void preinit_net(struct net *net, struct user_namespace *user_ {refcount_set (&net->passive,1 );refcount_set (&net->ns.count,1 ); -ref_tracker_dir_init (&net->refcnt_tracker,128 ,"net_refcnt" ,"net_refcnt" ); -ref_tracker_dir_init (&net->notrefcnt_tracker,128 ,"net_notrefcnt" ,"net_notrefcnt" ); +ref_tracker_dir_init (&net->refcnt_tracker,128 ,"net_refcnt" ); +ref_tracker_dir_init (&net->notrefcnt_tracker,128 ,"net_notrefcnt" );get_random_bytes (&net->hash_mix,sizeof (u32)); net->dev_base_seq =1 ;
Signature · 1 line
2.49.0
Jakub Kicinski
maintainerQuoted 6 lines · On Mon, 28 Apr 2025 11:26:23 -0700 Jeff Layton wrote:
This one is quite a bit of a change from the last set. I've gone back to auto-registering the debugfs files for every
ref_tracker_dir. With this, the callers should pass in a static string as a classname instead of an individual name string that gets copied. The debugfs file is given a name "class@%px" The output format is switched to print "class@%p" instead of "name@%p".
Nice, I like this version!
Since it applies to net-next now I can point out various (transient) build issues :)
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
In reply to Jeff Layton== Series Details ==
== Series Details ==
Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
URL : https://patchwork.freedesktop.org/series/148490/
State : warning
== Summary ==
Error: dim checkpatch failed0218fb910229 ref_tracker: don't use %pK in pr_ostream() output
-:14: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #14:
[1]: https://lore.kernel.org/netdev/[email protected]/
total: 0 errors, 1 warnings, 0 checks, 23 lines checked8eb7b5f2a96c ref_tracker: add a top level debugfs directory for ref_tracker 6ce460ee7fbf ref_tracker: have callers pass output function to pr_ostream() -:27: WARNING:SPACING: space prohibited between function name and open parenthesis '(' #27: FILE: lib/ref_tracker.c:70:
+ void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...);
total: 0 errors, 1 warnings, 0 checks, 96 lines checkedf265890c384d ref_tracker: allow pr_ostream() to print directly to a seq_filed7ce6ab491a1 ref_tracker: add a static classname string to each ref_tracker_diracd83220e5c3 ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
-:145: WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'. #145: FILE: lib/ref_tracker.c:381:
+ ret = snprintf(name, sizeof(name), "%s@%px", dir->class, dir);
total: 0 errors, 1 warnings, 0 checks, 135 lines checkedcb4c341382ef ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file 033734d8d7d0 net: add symlinks to ref_tracker_dir for netns23893d4cb774 i915: add ref_tracker_dir symlinks for each tracker e9bcd0710b19 ref_tracker: eliminate the ref_tracker_dir name field
Patchwork
CI✗ Fi.CI.SPARSE: warning for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
In reply to Jeff Layton== Series Details ==
== Series Details ==
Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
URL : https://patchwork.freedesktop.org/series/148490/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI✗ i915.CI.BAT: failure for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
In reply to Jeff Layton== Series Details ==
== Series Details ==
Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
URL : https://patchwork.freedesktop.org/series/148490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_16479 -> Patchwork_148490v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_148490v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_148490v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/index.html
Participating hosts (44 -> 43)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_148490v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rpm@module-reload:
- bat-dg2-14: [PASS][1] -> [DMESG-WARN][2] +6 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-14/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@[email protected]
- fi-bsw-nick: [PASS][3] -> [DMESG-WARN][4] +40 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-bsw-nick/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-bsw-nick/igt@[email protected]
- bat-kbl-2: [PASS][5] -> [DMESG-WARN][6] +40 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-kbl-2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-kbl-2/igt@[email protected]
- bat-adlp-6: [PASS][7] -> [DMESG-WARN][8] +40 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-6/igt@[email protected]
* igt@i915_selftest@live@client:
- fi-elk-e7500: [PASS][9] -> [DMESG-WARN][10] +39 other tests dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-elk-e7500/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-elk-e7500/igt@i915_selftest@[email protected]
- bat-dg2-8: [PASS][11] -> [DMESG-WARN][12] +44 other tests dmesg-warn
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-8/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-8/igt@i915_selftest@[email protected]
- fi-kbl-guc: [PASS][13] -> [DMESG-WARN][14] +40 other tests dmesg-warn
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-guc/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-guc/igt@i915_selftest@[email protected]
- bat-adls-6: [PASS][15] -> [DMESG-WARN][16] +40 other tests dmesg-warn
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adls-6/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adls-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@coherency:
- bat-dg2-9: [PASS][17] -> [DMESG-WARN][18] +42 other tests dmesg-warn
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-9/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-9/igt@i915_selftest@[email protected]
- fi-kbl-x1275: [PASS][19] -> [DMESG-WARN][20] +40 other tests dmesg-warn
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-x1275/igt@i915_selftest@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-x1275/igt@i915_selftest@[email protected]
- bat-adlp-11: [PASS][21] -> [DMESG-WARN][22] +40 other tests dmesg-warn
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-11/igt@i915_selftest@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-11/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@evict:
- fi-pnv-d510: [PASS][23] -> [DMESG-WARN][24] +39 other tests dmesg-warn
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-pnv-d510/igt@i915_selftest@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gem:
- fi-rkl-11600: [PASS][25] -> [DMESG-WARN][26] +40 other tests dmesg-warn
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-rkl-11600/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-rkl-11600/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gem_contexts:
- bat-arls-6: [PASS][27] -> [DMESG-WARN][28] +39 other tests dmesg-warn
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-6/igt@i915_selftest@live@gem_contexts.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-6/igt@i915_selftest@live@gem_contexts.html
- bat-arlh-3: [PASS][29] -> [DMESG-WARN][30] +41 other tests dmesg-warn
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arlh-3/igt@i915_selftest@live@gem_contexts.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arlh-3/igt@i915_selftest@live@gem_contexts.html
* igt@i915_selftest@live@gt_engines:
- bat-dg1-6: [PASS][31] -> [DMESG-WARN][32] +44 other tests dmesg-warn
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg1-6/igt@i915_selftest@live@gt_engines.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg1-6/igt@i915_selftest@live@gt_engines.html
- fi-ilk-650: [PASS][33] -> [DMESG-WARN][34] +39 other tests dmesg-warn
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-ilk-650/igt@i915_selftest@live@gt_engines.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-ilk-650/igt@i915_selftest@live@gt_engines.html
* igt@i915_selftest@live@gt_heartbeat:
- bat-rpls-4: [PASS][35] -> [DMESG-WARN][36] +40 other tests dmesg-warn
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-rpls-4/igt@i915_selftest@live@gt_heartbeat.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-rpls-4/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@gt_mocs:
- bat-twl-2: [PASS][37] -> [DMESG-WARN][38] +40 other tests dmesg-warn
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-twl-2/igt@i915_selftest@live@gt_mocs.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-twl-2/igt@i915_selftest@live@gt_mocs.html
* igt@i915_selftest@live@gt_tlb:
- bat-adlp-9: [PASS][39] -> [DMESG-WARN][40] +40 other tests dmesg-warn
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-9/igt@i915_selftest@live@gt_tlb.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-9/igt@i915_selftest@live@gt_tlb.html
* igt@i915_selftest@live@guc_multi_lrc:
- bat-mtlp-8: [PASS][41] -> [DMESG-WARN][42] +39 other tests dmesg-warn
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-8/igt@i915_selftest@live@guc_multi_lrc.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-8/igt@i915_selftest@live@guc_multi_lrc.html
* igt@i915_selftest@live@hangcheck:
- bat-atsm-1: [PASS][43] -> [DMESG-WARN][44] +41 other tests dmesg-warn
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@i915_selftest@[email protected]
- bat-mtlp-9: [PASS][45] -> [DMESG-WARN][46] +39 other tests dmesg-warn
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-9/igt@i915_selftest@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-9/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@hugepages:
- fi-glk-j4005: [PASS][47] -> [DMESG-WARN][48] +40 other tests dmesg-warn
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-glk-j4005/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-glk-j4005/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@late_gt_pm:
- fi-kbl-8809g: [PASS][49] -> [DMESG-WARN][50] +40 other tests dmesg-warn
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-8809g/igt@i915_selftest@live@late_gt_pm.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-8809g/igt@i915_selftest@live@late_gt_pm.html
* igt@i915_selftest@live@objects:
- fi-blb-e6850: [PASS][51] -> [DMESG-WARN][52] +39 other tests dmesg-warn
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-blb-e6850/igt@i915_selftest@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-blb-e6850/igt@i915_selftest@[email protected]
- fi-skl-6600u: [PASS][53] -> [DMESG-WARN][54] +40 other tests dmesg-warn
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-skl-6600u/igt@i915_selftest@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-skl-6600u/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@perf:
- bat-dg2-11: [PASS][55] -> [DMESG-WARN][56] +42 other tests dmesg-warn
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-11/igt@i915_selftest@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-11/igt@i915_selftest@[email protected]
- fi-hsw-4770: [PASS][57] -> [DMESG-WARN][58] +40 other tests dmesg-warn
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-hsw-4770/igt@i915_selftest@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- bat-dg2-14: NOTRUN -> [DMESG-WARN][59] +35 other tests dmesg-warn
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@ring_submission:
- fi-ivb-3770: [PASS][60] -> [DMESG-WARN][61] +39 other tests dmesg-warn
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-ivb-3770/igt@i915_selftest@live@ring_submission.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-ivb-3770/igt@i915_selftest@live@ring_submission.html
* igt@i915_selftest@live@sanitycheck:
- fi-kbl-7567u: [PASS][62] -> [DMESG-WARN][63] +40 other tests dmesg-warn
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-7567u/igt@i915_selftest@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-7567u/igt@i915_selftest@[email protected]
- bat-twl-1: [PASS][64] -> [DMESG-WARN][65] +40 other tests dmesg-warn
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-twl-1/igt@i915_selftest@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-twl-1/igt@i915_selftest@[email protected]
- bat-apl-1: [PASS][66] -> [DMESG-WARN][67] +40 other tests dmesg-warn
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-apl-1/igt@i915_selftest@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-apl-1/igt@i915_selftest@[email protected]
- bat-arls-5: [PASS][68] -> [DMESG-WARN][69] +41 other tests dmesg-warn
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-5/igt@i915_selftest@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-5/igt@i915_selftest@[email protected]
- bat-rplp-1: [PASS][70] -> [DMESG-WARN][71] +40 other tests dmesg-warn
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-rplp-1/igt@i915_selftest@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-rplp-1/igt@i915_selftest@[email protected]
- bat-arlh-2: [PASS][72] -> [DMESG-WARN][73] +10 other tests dmesg-warn
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arlh-2/igt@i915_selftest@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arlh-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- fi-cfl-guc: [PASS][74] -> [DMESG-WARN][75] +40 other tests dmesg-warn
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-cfl-guc/igt@i915_selftest@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-cfl-guc/igt@i915_selftest@[email protected]
- bat-mtlp-6: [PASS][76] -> [DMESG-WARN][77] +41 other tests dmesg-warn
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-6/igt@i915_selftest@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@uncore:
- bat-dg1-7: [PASS][78] -> [DMESG-WARN][79] +44 other tests dmesg-warn
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg1-7/igt@i915_selftest@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg1-7/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@vma:
- fi-cfl-8700k: [PASS][80] -> [DMESG-WARN][81] +40 other tests dmesg-warn
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-cfl-8700k/igt@i915_selftest@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-cfl-8700k/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@workarounds:
- fi-bsw-n3050: [PASS][82] -> [DMESG-WARN][83] +40 other tests dmesg-warn
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-bsw-n3050/igt@i915_selftest@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-bsw-n3050/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@i915_selftest@live@sanitycheck:
- bat-dg2-14: [INCOMPLETE][84] -> [DMESG-WARN][85] +1 other test dmesg-warn
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-14/igt@i915_selftest@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-mtlp-9: [DMESG-FAIL][86] ([i915#12061]) -> [DMESG-WARN][87] +1 other test dmesg-warn
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-9/igt@i915_selftest@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-9/igt@i915_selftest@[email protected]
- bat-arls-6: [DMESG-FAIL][88] ([i915#12061]) -> [DMESG-WARN][89] +1 other test dmesg-warn
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-6/igt@i915_selftest@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-6/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in Patchwork_148490v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live:
- bat-mtlp-8: [PASS][90] -> [DMESG-FAIL][91] ([i915#12061]) +1 other test dmesg-fail
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-8/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-8/igt@[email protected]
#### Warnings ####
* igt@i915_selftest@live:
- bat-atsm-1: [DMESG-FAIL][92] ([i915#12061] / [i915#13929]) -> [DMESG-FAIL][93] ([i915#12061] / [i915#14204])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@[email protected]
* igt@i915_selftest@live@mman:
- bat-atsm-1: [DMESG-FAIL][94] ([i915#13929]) -> [DMESG-FAIL][95] ([i915#14204])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@i915_selftest@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@i915_selftest@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#13929]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13929
[i915#14204]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14204
Build changes
-------------
* Linux: CI_DRM_16479 -> Patchwork_148490v1
CI-20190529: 20190529
CI_DRM_16479: 1351e9f42d757ef4ce7d2cf2401aa2b5fe36df6d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8346: df3036dadc729bf68aaf85ec697c9a9df797af43 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_148490v1: 1351e9f42d757ef4ce7d2cf2401aa2b5fe36df6d @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/index.html
Patchwork
CI✗ i915.CI.BAT: failure for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
In reply to Jeff Layton== Series Details ==
== Series Details ==
Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir
URL : https://patchwork.freedesktop.org/series/148490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_16479 -> Patchwork_148490v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_148490v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_148490v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/index.html
Participating hosts (44 -> 43)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_148490v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rpm@module-reload:
- bat-dg2-14: [PASS][1] -> [DMESG-WARN][2] +6 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-14/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@[email protected]
- fi-bsw-nick: [PASS][3] -> [DMESG-WARN][4] +40 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-bsw-nick/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-bsw-nick/igt@[email protected]
- bat-kbl-2: [PASS][5] -> [DMESG-WARN][6] +40 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-kbl-2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-kbl-2/igt@[email protected]
- bat-adlp-6: [PASS][7] -> [DMESG-WARN][8] +40 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-6/igt@[email protected]
* igt@i915_selftest@live@client:
- fi-elk-e7500: [PASS][9] -> [DMESG-WARN][10] +39 other tests dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-elk-e7500/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-elk-e7500/igt@i915_selftest@[email protected]
- bat-dg2-8: [PASS][11] -> [DMESG-WARN][12] +44 other tests dmesg-warn
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-8/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-8/igt@i915_selftest@[email protected]
- fi-kbl-guc: [PASS][13] -> [DMESG-WARN][14] +40 other tests dmesg-warn
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-guc/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-guc/igt@i915_selftest@[email protected]
- bat-adls-6: [PASS][15] -> [DMESG-WARN][16] +40 other tests dmesg-warn
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adls-6/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adls-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@coherency:
- bat-dg2-9: [PASS][17] -> [DMESG-WARN][18] +42 other tests dmesg-warn
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-9/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-9/igt@i915_selftest@[email protected]
- fi-kbl-x1275: [PASS][19] -> [DMESG-WARN][20] +40 other tests dmesg-warn
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-x1275/igt@i915_selftest@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-x1275/igt@i915_selftest@[email protected]
- bat-adlp-11: [PASS][21] -> [DMESG-WARN][22] +40 other tests dmesg-warn
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-11/igt@i915_selftest@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-11/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@evict:
- fi-pnv-d510: [PASS][23] -> [DMESG-WARN][24] +39 other tests dmesg-warn
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-pnv-d510/igt@i915_selftest@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gem:
- fi-rkl-11600: [PASS][25] -> [DMESG-WARN][26] +40 other tests dmesg-warn
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-rkl-11600/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-rkl-11600/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gem_contexts:
- bat-arls-6: [PASS][27] -> [DMESG-WARN][28] +39 other tests dmesg-warn
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-6/igt@i915_selftest@live@gem_contexts.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-6/igt@i915_selftest@live@gem_contexts.html
- bat-arlh-3: [PASS][29] -> [DMESG-WARN][30] +41 other tests dmesg-warn
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arlh-3/igt@i915_selftest@live@gem_contexts.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arlh-3/igt@i915_selftest@live@gem_contexts.html
* igt@i915_selftest@live@gt_engines:
- bat-dg1-6: [PASS][31] -> [DMESG-WARN][32] +44 other tests dmesg-warn
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg1-6/igt@i915_selftest@live@gt_engines.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg1-6/igt@i915_selftest@live@gt_engines.html
- fi-ilk-650: [PASS][33] -> [DMESG-WARN][34] +39 other tests dmesg-warn
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-ilk-650/igt@i915_selftest@live@gt_engines.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-ilk-650/igt@i915_selftest@live@gt_engines.html
* igt@i915_selftest@live@gt_heartbeat:
- bat-rpls-4: [PASS][35] -> [DMESG-WARN][36] +40 other tests dmesg-warn
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-rpls-4/igt@i915_selftest@live@gt_heartbeat.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-rpls-4/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@gt_mocs:
- bat-twl-2: [PASS][37] -> [DMESG-WARN][38] +40 other tests dmesg-warn
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-twl-2/igt@i915_selftest@live@gt_mocs.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-twl-2/igt@i915_selftest@live@gt_mocs.html
* igt@i915_selftest@live@gt_tlb:
- bat-adlp-9: [PASS][39] -> [DMESG-WARN][40] +40 other tests dmesg-warn
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-adlp-9/igt@i915_selftest@live@gt_tlb.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-adlp-9/igt@i915_selftest@live@gt_tlb.html
* igt@i915_selftest@live@guc_multi_lrc:
- bat-mtlp-8: [PASS][41] -> [DMESG-WARN][42] +39 other tests dmesg-warn
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-8/igt@i915_selftest@live@guc_multi_lrc.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-8/igt@i915_selftest@live@guc_multi_lrc.html
* igt@i915_selftest@live@hangcheck:
- bat-atsm-1: [PASS][43] -> [DMESG-WARN][44] +41 other tests dmesg-warn
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@i915_selftest@[email protected]
- bat-mtlp-9: [PASS][45] -> [DMESG-WARN][46] +39 other tests dmesg-warn
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-9/igt@i915_selftest@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-9/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@hugepages:
- fi-glk-j4005: [PASS][47] -> [DMESG-WARN][48] +40 other tests dmesg-warn
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-glk-j4005/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-glk-j4005/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@late_gt_pm:
- fi-kbl-8809g: [PASS][49] -> [DMESG-WARN][50] +40 other tests dmesg-warn
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-8809g/igt@i915_selftest@live@late_gt_pm.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-8809g/igt@i915_selftest@live@late_gt_pm.html
* igt@i915_selftest@live@objects:
- fi-blb-e6850: [PASS][51] -> [DMESG-WARN][52] +39 other tests dmesg-warn
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-blb-e6850/igt@i915_selftest@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-blb-e6850/igt@i915_selftest@[email protected]
- fi-skl-6600u: [PASS][53] -> [DMESG-WARN][54] +40 other tests dmesg-warn
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-skl-6600u/igt@i915_selftest@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-skl-6600u/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@perf:
- bat-dg2-11: [PASS][55] -> [DMESG-WARN][56] +42 other tests dmesg-warn
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-11/igt@i915_selftest@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-11/igt@i915_selftest@[email protected]
- fi-hsw-4770: [PASS][57] -> [DMESG-WARN][58] +40 other tests dmesg-warn
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-hsw-4770/igt@i915_selftest@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- bat-dg2-14: NOTRUN -> [DMESG-WARN][59] +35 other tests dmesg-warn
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@ring_submission:
- fi-ivb-3770: [PASS][60] -> [DMESG-WARN][61] +39 other tests dmesg-warn
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-ivb-3770/igt@i915_selftest@live@ring_submission.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-ivb-3770/igt@i915_selftest@live@ring_submission.html
* igt@i915_selftest@live@sanitycheck:
- fi-kbl-7567u: [PASS][62] -> [DMESG-WARN][63] +40 other tests dmesg-warn
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-kbl-7567u/igt@i915_selftest@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-kbl-7567u/igt@i915_selftest@[email protected]
- bat-twl-1: [PASS][64] -> [DMESG-WARN][65] +40 other tests dmesg-warn
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-twl-1/igt@i915_selftest@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-twl-1/igt@i915_selftest@[email protected]
- bat-apl-1: [PASS][66] -> [DMESG-WARN][67] +40 other tests dmesg-warn
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-apl-1/igt@i915_selftest@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-apl-1/igt@i915_selftest@[email protected]
- bat-arls-5: [PASS][68] -> [DMESG-WARN][69] +41 other tests dmesg-warn
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-5/igt@i915_selftest@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-5/igt@i915_selftest@[email protected]
- bat-rplp-1: [PASS][70] -> [DMESG-WARN][71] +40 other tests dmesg-warn
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-rplp-1/igt@i915_selftest@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-rplp-1/igt@i915_selftest@[email protected]
- bat-arlh-2: [PASS][72] -> [DMESG-WARN][73] +10 other tests dmesg-warn
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arlh-2/igt@i915_selftest@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arlh-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- fi-cfl-guc: [PASS][74] -> [DMESG-WARN][75] +40 other tests dmesg-warn
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-cfl-guc/igt@i915_selftest@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-cfl-guc/igt@i915_selftest@[email protected]
- bat-mtlp-6: [PASS][76] -> [DMESG-WARN][77] +41 other tests dmesg-warn
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-6/igt@i915_selftest@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@uncore:
- bat-dg1-7: [PASS][78] -> [DMESG-WARN][79] +44 other tests dmesg-warn
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg1-7/igt@i915_selftest@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg1-7/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@vma:
- fi-cfl-8700k: [PASS][80] -> [DMESG-WARN][81] +40 other tests dmesg-warn
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-cfl-8700k/igt@i915_selftest@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-cfl-8700k/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@workarounds:
- fi-bsw-n3050: [PASS][82] -> [DMESG-WARN][83] +40 other tests dmesg-warn
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/fi-bsw-n3050/igt@i915_selftest@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/fi-bsw-n3050/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@i915_selftest@live@sanitycheck:
- bat-dg2-14: [INCOMPLETE][84] -> [DMESG-WARN][85] +1 other test dmesg-warn
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-dg2-14/igt@i915_selftest@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-dg2-14/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-mtlp-9: [DMESG-FAIL][86] ([i915#12061]) -> [DMESG-WARN][87] +1 other test dmesg-warn
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-9/igt@i915_selftest@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-9/igt@i915_selftest@[email protected]
- bat-arls-6: [DMESG-FAIL][88] ([i915#12061]) -> [DMESG-WARN][89] +1 other test dmesg-warn
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-arls-6/igt@i915_selftest@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-arls-6/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in Patchwork_148490v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live:
- bat-mtlp-8: [PASS][90] -> [DMESG-FAIL][91] ([i915#12061]) +1 other test dmesg-fail
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-mtlp-8/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-mtlp-8/igt@[email protected]
#### Warnings ####
* igt@i915_selftest@live:
- bat-atsm-1: [DMESG-FAIL][92] ([i915#12061] / [i915#13929]) -> [DMESG-FAIL][93] ([i915#12061] / [i915#14204])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@[email protected]
* igt@i915_selftest@live@mman:
- bat-atsm-1: [DMESG-FAIL][94] ([i915#13929]) -> [DMESG-FAIL][95] ([i915#14204])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16479/bat-atsm-1/igt@i915_selftest@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/bat-atsm-1/igt@i915_selftest@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#13929]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13929
[i915#14204]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14204
Build changes
-------------
* Linux: CI_DRM_16479 -> Patchwork_148490v1
CI-20190529: 20190529
CI_DRM_16479: 1351e9f42d757ef4ce7d2cf2401aa2b5fe36df6d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8346: df3036dadc729bf68aaf85ec697c9a9df797af43 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_148490v1: 1351e9f42d757ef4ce7d2cf2401aa2b5fe36df6d @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_148490v1/index.html