All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sedat Dilek <sedat.dilek@gmail.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	DRI <dri-devel@lists.freedesktop.org>,
	linux-next <linux-next@vger.kernel.org>
Subject: Re: [Intel-gfx] linux-next: Tree for Jul 25 [ call-trace: drm | drm-intel related? ]
Date: Thu, 25 Jul 2013 17:34:04 +0200	[thread overview]
Message-ID: <CA+icZUV-UM_9OSfGfYyb0-qZrFSuqeX-7BiPQ0NbyF7bADW-qA@mail.gmail.com> (raw)
In-Reply-To: <CAKMK7uG-KCF5oU2XJ5UWPJn=V3i0jBLs5a=gU9UPuJxY0v=bNw@mail.gmail.com>

On Thu, Jul 25, 2013 at 5:05 PM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> On Thu, Jul 25, 2013 at 5:03 PM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>> On Thu, Jul 25, 2013 at 4:27 PM, Daniel Vetter <daniel@ffwll.ch> wrote:
>>> On Thu, Jul 25, 2013 at 04:23:40PM +0200, Sedat Dilek wrote:
>>>> On Thu, Jul 25, 2013 at 3:36 PM, Daniel Vetter <daniel@ffwll.ch> wrote:
>>>> > On Thu, Jul 25, 2013 at 12:37:44PM +0200, Sedat Dilek wrote:
>>>> >> On Thu, Jul 25, 2013 at 12:21 PM, Jani Nikula
>>>> >> <jani.nikula@linux.intel.com> wrote:
>>>> >> > On Thu, 25 Jul 2013, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>>>> >> >> On Thu, Jul 25, 2013 at 12:02 PM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>>>> >> >>> On Thu, Jul 25, 2013 at 11:44 AM, Jani Nikula
>>>> >> >>> <jani.nikula@linux.intel.com> wrote:
>>>> >> >>>> On Thu, 25 Jul 2013, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>>>> >> >>>>> On Thu, Jul 25, 2013 at 7:12 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>>> >> >>>>>> Hi all,
>>>> >> >>>>>>
>>>> >> >>>>>> Changes since 20130724:
>>>> >> >>>>>>
>>>> >> >>>>>> Removed tree:
>>>> >> >>>>>>         arm-dt (at maintainer's request)
>>>> >> >>>>>>
>>>> >> >>>>>> The wireless-next tree lost its build failure and gained a conflict
>>>> >> >>>>>> against Linus' tree.
>>>> >> >>>>>>
>>>> >> >>>>>> The tty tree lost its build failure.
>>>> >> >>>>>>
>>>> >> >>>>>> The staging tree gained a build failure for which I disabled a driver.
>>>> >> >>>>>>
>>>> >> >>>>>> ----------------------------------------------------------------------------
>>>> >> >>>>>>
>>>> >> >>>>>
>>>> >> >>>>> [ CCing drm and drm-intel folks ]
>>>> >> >>>>>
>>>> >> >>>>> With today's next-20130725 I see the following:
>>>> >> >>>>
>>>> >> >>>> Use of dev_priv->gt_lock in I915_WRITE through
>>>> >> >>>> intel_disable_gt_powersave before spin lock init, caused by
>>>> >> >>>>
>>>> >> >>>> commit 181d1b9e31c668259d3798c521672afb8edd355c
>>>> >> >>>> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
>>>> >> >>>> Date:   Sun Jul 21 13:16:24 2013 +0200
>>>> >> >>>>
>>>> >> >>>>     drm/i915: fix up gt init sequence fallout
>>>> >> >>>>
>>>> >> >>>
>>>> >> >>> Ah, cool.
>>>> >> >>>
>>>> >> >>> I assumed/tested "drm/i915: fix the racy object accounting", but this
>>>> >> >>> does not fix it.
>>>> >> >>> Will try with yours.
>>>> >> >>>
>>>> >> >>
>>>> >> >> Sorry, Jani.
>>>> >> >>
>>>> >> >> next-20130725 ships the patch you pointed, too.
>>>> >> >
>>>> >> > Confused. I meant that the above mentioned commit "drm/i915: fix up gt
>>>> >> > init sequence fallout" causes the problem. The patch I included in my
>>>> >> > mail should fix it. Could you try that please?
>>>> >> >
>>>> >>
>>>> >> [ Note2myself: Do not read half of the message... ]
>>>> >>
>>>> >> The bad... Your patch needed some refresh against next-20130725 (guess
>>>> >> it's against drm-intel-nightly).
>>>> >>
>>>> >> The good... YES, your patch fixes the issue for me!
>>>> >>
>>>> >> The ugly... /me.
>>>> >>
>>>> >> Feel free to add my:
>>>> >>
>>>> >>        Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
>>>> >>
>>>> >> Thanks for the quick fix!
>>>> >
>>>> > Thanks a lot for the report, since this should be something I should have
>>>> > caught. And for added insult the offending patch is already in Linus' tree
>>>> > :( Patch merged to -fixes.
>>>>
>>>> Hmmm, don't you merge -fixes into -nightly?
>>>
>>> I do, but it seems to only blow up with spinlock debugging enabling I
>>> think. Our QA should run full debug buils in the -nightly testing, but
>>> apparently they didn't catch this. I'm looking into what went wrong here
>>> and fix up the process.
>>
>> First, I thought I made my merge wrong, but there is no
>>
>> $ grep spin_lock_init linux-next/drivers/gpu/drm/i915/i915_dma.c | grep gt_lock
>>
>> Same in [1]:
>> ...
>>         spin_lock_init(&dev_priv->irq_lock);
>>         spin_lock_init(&dev_priv->gpu_error.lock);
>>         spin_lock_init(&dev_priv->backlight.lock);
>>         spin_lock_init(&dev_priv->uncore.lock);
>
> It's hiding in plain sight here ;-) -next has it renamed to
> uncore.lock, so I've applied the patch to -fixes only. I've also
> changed the patch in -fixes to cause an explicit conflict here, makes
> merging a bit easier.

Ah, I see... "drm/i915: Colocate all GT access routines in the same file"

@@ -1493,7 +1477,7 @@ int i915_driver_load(struct drm_device *dev,
unsigned long flags)
...
- spin_lock_init(&dev_priv->gt_lock);
+ spin_lock_init(&dev_priv->uncore.lock);
...

- Sedat -

http://cgit.freedesktop.org/~danvet/drm-intel/commit/drivers/gpu/drm/i915/i915_dma.c?h=drm-intel-nightly&id=907b28c56ea40629aa6595ddfa414ec2fc7da41c

> -Daniel
>
>>         spin_lock_init(&dev_priv->mm.object_stat_lock);
>> ...
>>
>> - Sedat -
>>
>> [1] http://cgit.freedesktop.org/~danvet/drm-intel/tree/drivers/gpu/drm/i915/i915_dma.c?h=drm-intel-nightly#n1477
>>
>>
>>> -Daniel
>>> --
>>> Daniel Vetter
>>> Software Engineer, Intel Corporation
>>> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
>
>
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2013-07-25 15:34 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25  8:54 linux-next: Tree for Jul 25 [ call-trace: drm | drm-intel related? ] Sedat Dilek
2013-07-25  9:44 ` [Intel-gfx] " Jani Nikula
2013-07-25 10:02   ` Sedat Dilek
2013-07-25 10:05     ` Sedat Dilek
2013-07-25 10:21       ` Jani Nikula
2013-07-25 10:37         ` Sedat Dilek
2013-07-25 10:37           ` Sedat Dilek
2013-07-25 13:36           ` [Intel-gfx] " Daniel Vetter
2013-07-25 14:23             ` Sedat Dilek
2013-07-25 14:27               ` Daniel Vetter
2013-07-25 15:03                 ` Sedat Dilek
2013-07-25 15:05                   ` Daniel Vetter
2013-07-25 15:34                     ` Sedat Dilek [this message]
2013-07-25 16:11                       ` Sedat Dilek
2013-07-25 16:31                         ` Chris Wilson
2013-07-25 16:35                           ` Sedat Dilek
2013-07-25 16:35                             ` Sedat Dilek
2013-07-25 17:01                             ` [Intel-gfx] " Chris Wilson
2013-07-25 17:15                               ` Sedat Dilek
2013-07-25 17:15                                 ` Sedat Dilek
2013-07-25 17:26                                 ` [Intel-gfx] " Chris Wilson
2013-07-25 17:52                                   ` Sedat Dilek
2013-07-25 17:52                                     ` Sedat Dilek
2013-07-25 17:55                                     ` [Intel-gfx] " Sedat Dilek
2013-07-25 17:55                                       ` Sedat Dilek
2013-07-25 18:03                                       ` [Intel-gfx] " Sedat Dilek
2013-07-25 18:03                                         ` Sedat Dilek
2013-07-25 18:45                                         ` [Intel-gfx] " Chris Wilson
2013-07-25 18:50                                           ` Sedat Dilek
2013-07-25 19:00                                             ` Chris Wilson
2013-07-25 19:12                                               ` Sedat Dilek
2013-07-25 19:22                                                 ` Chris Wilson
2013-07-25 19:32                                                   ` Sedat Dilek
2013-07-25 20:07                                                     ` Sedat Dilek
2013-07-25 21:52                                                       ` Chris Wilson
2013-07-25 23:21                                                         ` Sedat Dilek
2013-07-25 23:25                                                           ` Chris Wilson
2013-07-26  7:15                                                             ` Sedat Dilek
2013-07-26  7:26                                                               ` Chris Wilson
2013-07-26  8:25                                                                 ` Sedat Dilek
2013-07-26  8:25                                                                   ` Sedat Dilek
2013-07-26  8:27                                                                   ` [Intel-gfx] " Sedat Dilek
2013-07-26  8:50                                                                     ` Chris Wilson
2013-07-26  8:52                                                                       ` Daniel Vetter
2013-07-26  9:02                                                                         ` Sedat Dilek
2013-07-26  9:11                                                                           ` Sedat Dilek
2013-07-26  9:16                                                                             ` Daniel Vetter
2013-07-26  9:24                                                                               ` [PATCH] drm/gem: fix mmap vma size calculations David Herrmann
2013-07-26 10:09                                                                                 ` [PATCH v2] " David Herrmann
2013-07-26 20:15                                                                                   ` Daniel Vetter
2013-07-30  7:41                                                                                     ` Sedat Dilek
2013-07-30  7:52                                                                                       ` Sedat Dilek
2013-07-31 16:46                                                                                         ` David Herrmann
2013-07-31 17:13                                                                                           ` Sedat Dilek
2013-07-26  9:32                                                                               ` [Intel-gfx] linux-next: Tree for Jul 25 [ call-trace: drm | drm-intel related? ] Sedat Dilek
2013-07-26 10:34                                                                                 ` Sedat Dilek
2013-07-25 18:03                                     ` Chris Wilson

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=CA+icZUV-UM_9OSfGfYyb0-qZrFSuqeX-7BiPQ0NbyF7bADW-qA@mail.gmail.com \
    --to=sedat.dilek@gmail.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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.