All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "davej@codemonkey.org.uk" <davej@codemonkey.org.uk>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	"Lankhorst, Maarten" <maarten.lankhorst@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Roper, Matthew D" <matthew.d.roper@intel.com>,
	"Vetter, Daniel" <daniel.vetter@intel.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"jbarnes@virtuousgeek.org" <jbarnes@virtuousgeek.org>,
	"airlied@linux.ie" <airlied@linux.ie>,
	"Miramontes Caton,
	Jairo Daniel" <jairo.daniel.miramontes.caton@intel.com>
Subject: Re: [regression] [git pull] drm for 4.3
Date: Mon, 19 Oct 2015 23:54:03 +0200	[thread overview]
Message-ID: <20151019215403.GL13786@phenom.ffwll.local> (raw)
In-Reply-To: <20151019201908.GA31075@codemonkey.org.uk>

On Mon, Oct 19, 2015 at 04:19:08PM -0400, davej@codemonkey.org.uk wrote:
> On Wed, Sep 30, 2015 at 08:56:26AM +0200, Daniel Vetter wrote:
> 
>  > > The warning on boot seems to be gone as of rc3, but I can now trigger this pretty easily..
>  > 
>  > http://patchwork.freedesktop.org/patch/60618/
> 
> Back from several weeks of travel..  I tried again with rc6, and
> I'm still seeing the same traces.

Oh crap, applied patch to wrong tree. We need to cherry-pick

commit 621bd0f6982badd6483acb191eb7b6226a578328
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Sep 29 09:56:53 2015 +0200

    drm: Fix locking for sysfs dpms file

to drm-fixes. Sorry about that screw-up. Dave, can you pls do that one? It
even comes with the needed cc: stable included (since the locking breakage
was done in 4.0, it only surface due to a new warning in 4.3).
-Daniel

> 
> 	Dave
> 
> 
>  > > WARNING: CPU: 2 PID: 28911 at drivers/gpu/drm/drm_atomic.c:889 drm_atomic_get_property+0x244/0x2d0()
>  > > CPU: 2 PID: 28911 Comm: trinity-c313 Not tainted 4.3.0-rc3-think+ #14
>  > >  0000000000000379 ffff8801a1377c88 ffffffff8e35d5ec 0000000000000000
>  > >  ffff8801a1377cc0 ffffffff8e07a862 ffff880500b392b8 ffff880500a13008
>  > >  ffff880500b39290 ffff8804fe3806d8 ffff88003fa45668 ffff8801a1377cd0
>  > > Call Trace:
>  > >  [<ffffffff8e35d5ec>] dump_stack+0x4e/0x82
>  > >  [<ffffffff8e07a862>] warn_slowpath_common+0x82/0xc0
>  > >  [<ffffffff8e07a95a>] warn_slowpath_null+0x1a/0x20
>  > >  [<ffffffff8e48efc4>] drm_atomic_get_property+0x244/0x2d0
>  > >  [<ffffffff8e47c7fc>] drm_object_property_get_value+0x6c/0x70
>  > >  [<ffffffff8e47a41f>] dpms_show+0x2f/0x70
>  > >  [<ffffffff8e54ce30>] dev_attr_show+0x20/0x50
>  > >  [<ffffffff8e27ae91>] ? sysfs_file_ops+0x41/0x60
>  > >  [<ffffffff8e27b1a7>] sysfs_kf_seq_show+0xb7/0x110
>  > >  [<ffffffff8e2799a6>] kernfs_seq_show+0x26/0x30
>  > >  [<ffffffff8e21bba6>] seq_read+0xe6/0x430
>  > >  [<ffffffff8e27a3f7>] kernfs_fop_read+0x127/0x170
>  > >  [<ffffffff8e7e987b>] ? mutex_lock_nested+0x26b/0x3f0
>  > >  [<ffffffff8e1f3af8>] __vfs_read+0x28/0xe0
>  > >  [<ffffffff8e7e9897>] ? mutex_lock_nested+0x287/0x3f0
>  > >  [<ffffffff8e214c09>] ? __fdget_pos+0x49/0x50
>  > >  [<ffffffff8e214c09>] ? __fdget_pos+0x49/0x50
>  > >  [<ffffffff8e1f43c6>] vfs_read+0x86/0x130
>  > >  [<ffffffff8e1f50a9>] SyS_read+0x49/0xb0
>  > >  [<ffffffff8e7eded7>] entry_SYSCALL_64_fastpath+0x12/0x6f
>  > > ---[ end trace e053063c697a1355 ]---
>  > > 
>  > >  887         case DRM_MODE_OBJECT_CONNECTOR: {
>  > >  888                 struct drm_connector *connector = obj_to_connector(obj);
>  > >  889                 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex));
>  > >  890                 ret = drm_atomic_connector_get_property(connector,
>  > >  891                                 connector->state, property, val);
>  > >  892                 break;
>  > >  893         }
>  > > 
>  > > _______________________________________________
>  > > dri-devel mailing list
>  > > dri-devel@lists.freedesktop.org
>  > > http://lists.freedesktop.org/mailman/listinfo/dri-devel
>  > 
>  > -- 
>  > Daniel Vetter
>  > Software Engineer, Intel Corporation
>  > http://blog.ffwll.ch
> ---end quoted text---
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: Daniel Vetter <daniel@ffwll.ch>
To: "davej@codemonkey.org.uk" <davej@codemonkey.org.uk>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	"Lankhorst, Maarten" <maarten.lankhorst@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Roper, Matthew D" <matthew.d.roper@intel.com>,
	"Vetter, Daniel" <daniel.vetter@intel.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"jbarnes@virtuousgeek.org" <jbarnes@virtuousgeek.org>,
	"airlied@linux.ie" <airlied@linux.ie>,
	"Miramontes Caton,
	Jairo Daniel"  <jairo.daniel.miramontes.caton@intel.com>
Subject: Re: [Intel-gfx] [regression] [git pull] drm for 4.3
Date: Mon, 19 Oct 2015 23:54:03 +0200	[thread overview]
Message-ID: <20151019215403.GL13786@phenom.ffwll.local> (raw)
In-Reply-To: <20151019201908.GA31075@codemonkey.org.uk>

On Mon, Oct 19, 2015 at 04:19:08PM -0400, davej@codemonkey.org.uk wrote:
> On Wed, Sep 30, 2015 at 08:56:26AM +0200, Daniel Vetter wrote:
> 
>  > > The warning on boot seems to be gone as of rc3, but I can now trigger this pretty easily..
>  > 
>  > http://patchwork.freedesktop.org/patch/60618/
> 
> Back from several weeks of travel..  I tried again with rc6, and
> I'm still seeing the same traces.

Oh crap, applied patch to wrong tree. We need to cherry-pick

commit 621bd0f6982badd6483acb191eb7b6226a578328
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Sep 29 09:56:53 2015 +0200

    drm: Fix locking for sysfs dpms file

to drm-fixes. Sorry about that screw-up. Dave, can you pls do that one? It
even comes with the needed cc: stable included (since the locking breakage
was done in 4.0, it only surface due to a new warning in 4.3).
-Daniel

> 
> 	Dave
> 
> 
>  > > WARNING: CPU: 2 PID: 28911 at drivers/gpu/drm/drm_atomic.c:889 drm_atomic_get_property+0x244/0x2d0()
>  > > CPU: 2 PID: 28911 Comm: trinity-c313 Not tainted 4.3.0-rc3-think+ #14
>  > >  0000000000000379 ffff8801a1377c88 ffffffff8e35d5ec 0000000000000000
>  > >  ffff8801a1377cc0 ffffffff8e07a862 ffff880500b392b8 ffff880500a13008
>  > >  ffff880500b39290 ffff8804fe3806d8 ffff88003fa45668 ffff8801a1377cd0
>  > > Call Trace:
>  > >  [<ffffffff8e35d5ec>] dump_stack+0x4e/0x82
>  > >  [<ffffffff8e07a862>] warn_slowpath_common+0x82/0xc0
>  > >  [<ffffffff8e07a95a>] warn_slowpath_null+0x1a/0x20
>  > >  [<ffffffff8e48efc4>] drm_atomic_get_property+0x244/0x2d0
>  > >  [<ffffffff8e47c7fc>] drm_object_property_get_value+0x6c/0x70
>  > >  [<ffffffff8e47a41f>] dpms_show+0x2f/0x70
>  > >  [<ffffffff8e54ce30>] dev_attr_show+0x20/0x50
>  > >  [<ffffffff8e27ae91>] ? sysfs_file_ops+0x41/0x60
>  > >  [<ffffffff8e27b1a7>] sysfs_kf_seq_show+0xb7/0x110
>  > >  [<ffffffff8e2799a6>] kernfs_seq_show+0x26/0x30
>  > >  [<ffffffff8e21bba6>] seq_read+0xe6/0x430
>  > >  [<ffffffff8e27a3f7>] kernfs_fop_read+0x127/0x170
>  > >  [<ffffffff8e7e987b>] ? mutex_lock_nested+0x26b/0x3f0
>  > >  [<ffffffff8e1f3af8>] __vfs_read+0x28/0xe0
>  > >  [<ffffffff8e7e9897>] ? mutex_lock_nested+0x287/0x3f0
>  > >  [<ffffffff8e214c09>] ? __fdget_pos+0x49/0x50
>  > >  [<ffffffff8e214c09>] ? __fdget_pos+0x49/0x50
>  > >  [<ffffffff8e1f43c6>] vfs_read+0x86/0x130
>  > >  [<ffffffff8e1f50a9>] SyS_read+0x49/0xb0
>  > >  [<ffffffff8e7eded7>] entry_SYSCALL_64_fastpath+0x12/0x6f
>  > > ---[ end trace e053063c697a1355 ]---
>  > > 
>  > >  887         case DRM_MODE_OBJECT_CONNECTOR: {
>  > >  888                 struct drm_connector *connector = obj_to_connector(obj);
>  > >  889                 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex));
>  > >  890                 ret = drm_atomic_connector_get_property(connector,
>  > >  891                                 connector->state, property, val);
>  > >  892                 break;
>  > >  893         }
>  > > 
>  > > _______________________________________________
>  > > dri-devel mailing list
>  > > dri-devel@lists.freedesktop.org
>  > > http://lists.freedesktop.org/mailman/listinfo/dri-devel
>  > 
>  > -- 
>  > Daniel Vetter
>  > Software Engineer, Intel Corporation
>  > http://blog.ffwll.ch
> ---end quoted text---
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

  reply	other threads:[~2015-10-19 21:54 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 22:40 [git pull] drm for 4.3 Dave Airlie
2015-09-04 22:40 ` Dave Airlie
2015-09-07 18:45 ` Dave Jones
2015-09-07 18:45   ` Dave Jones
2015-09-21 18:48   ` Dave Jones
2015-09-21 18:48     ` Dave Jones
2015-09-22 15:00     ` Jesse Barnes
2015-09-22 15:00       ` [Intel-gfx] " Jesse Barnes
2015-09-22 15:13       ` [regression] " Daniel Vetter
2015-09-22 15:13         ` Daniel Vetter
2015-09-22 16:15         ` Matt Roper
2015-09-22 16:15           ` Matt Roper
2015-09-23  1:49           ` Dave Jones
2015-09-23  1:49             ` Dave Jones
2015-09-23 11:07             ` Lankhorst, Maarten
2015-09-23 11:07               ` Lankhorst, Maarten
2015-09-24  3:51               ` davej
2015-09-24  3:51                 ` davej
2015-09-24 13:26                 ` Jani Nikula
2015-09-24 13:26                   ` Jani Nikula
2015-09-30  1:07                   ` davej
2015-09-30  1:07                     ` davej
2015-09-30  6:56                     ` Daniel Vetter
2015-09-30  6:56                       ` Daniel Vetter
2015-10-19 20:19                       ` davej
2015-10-19 20:19                         ` davej
2015-10-19 21:54                         ` Daniel Vetter [this message]
2015-10-19 21:54                           ` [Intel-gfx] " Daniel Vetter
2015-10-20  5:33                           ` Dave Airlie
2015-10-20  5:33                             ` [Intel-gfx] " Dave Airlie
2015-10-20 14:42                             ` davej
2015-10-20 14:42                               ` [Intel-gfx] " davej
2015-09-29  6:43                 ` [regression] boot to the blackscreen with the kernel 4.3 zhuhuachun
2015-09-29  6:43                   ` [Intel-gfx] " zhuhuachun
2015-09-08  2:03 ` [git pull] drm for 4.3 Stephen Rothwell
2015-09-08  2:03   ` Stephen Rothwell
2015-09-08  3:01   ` Dave Airlie
2015-09-08  3:01     ` Dave Airlie
2015-09-08  4:04     ` Stephen Rothwell
2015-09-08  4:04       ` Stephen Rothwell
2015-09-08  4:56       ` Dave Airlie
2015-09-08  4:56         ` Dave Airlie
2015-09-08 18:19         ` Linus Torvalds
2015-09-08 18:19           ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151019215403.GL13786@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=davej@codemonkey.org.uk \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jairo.daniel.miramontes.caton@intel.com \
    --cc=jani.nikula@linux.intel.com \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@intel.com \
    --cc=matthew.d.roper@intel.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.