From: Sultan Alsawaf <sultan@kerneltoast.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>,
Greg KH <gregkh@linuxfoundation.org>,
stable@vger.kernel.org, Jani Nikula <jani.nikula@linux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2] drm/i915: Fix ref->mutex deadlock in i915_active_wait()
Date: Mon, 20 Apr 2020 08:42:16 -0700 [thread overview]
Message-ID: <20200420154216.GA1963@sultan-box.localdomain> (raw)
In-Reply-To: <158737335977.8380.15005528012712372014@jlahtine-desk.ger.corp.intel.com>
On Mon, Apr 20, 2020 at 12:02:39PM +0300, Joonas Lahtinen wrote:
> I think the the patch should be dropped for now before the issue is
> properly addressed. Either by backporting the mainline fixes or if
> those are too big and there indeed is a smaller alternative patch
> that is properly reviewed. But the above patch is not, at least yet.
Why should a fix for a bona-fide issue be dropped due to political reasons? This
doesn't make sense to me. This just hurts miserable i915 users even more. If my
patch is going to be dropped, it should be replaced by a different fix at the
same time.
Also, the mainline fixes just *happen* to fix this deadlock by removing the
mutex lock from the path in question and creating multiple other bugs in the
process that had to be addressed with "Fixes:" commits. The regression potential
was too high to include those patches for a "stable" kernel, so I made this
patch which fixes the issue in the simplest way possible. We put this patch into
Ubuntu now as well, because praying for a response from i915 maintainers while
the 20.04 release was on the horizon was not an option.
> There is an another similar thread where there's jumping into
> conclusions and doing ad-hoc patches for already fixed issues:
>
> https://lore.kernel.org/dri-devel/20200414144309.GB2082@sultan-box.localdomain/
Maybe this wouldn't have happened if I had received a proper response for that
issue on gitlab from the get-go... Instead I got the run-around from Chris
claiming that it wasn't an i915 bug:
https://gitlab.freedesktop.org/drm/intel/issues/1599
> I appreciate enthusiasm to provide fixes to i915 but we should
> continue do the regular due diligence to make sure we're properly
> fixing bugs in upstream kernels. And when fixing them, to make
> sure we're not simply papering over them for a single use case.
>
> It would be preferred to file a bug for the seen issues,
> describing how to reproduce them with vanilla upstream kernels:
>
> https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
gitlab.freedesktop.org/drm/intel is where bugs go to be neglected, as noted
above. I really see no reason to send anything there anymore, when the vast
majority of community-sourced bug reports go ignored.
Sultan
next prev parent reply other threads:[~2020-04-20 15:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 6:26 [PATCH 0/1] drm/i915: Fix a deadlock that only affects 5.4 Sultan Alsawaf
2020-04-07 6:26 ` [PATCH 1/1] drm/i915: Fix ref->mutex deadlock in i915_active_wait() Sultan Alsawaf
2020-04-14 8:13 ` Chris Wilson
2020-04-14 14:52 ` Sultan Alsawaf
2020-04-07 6:52 ` [PATCH 0/1] drm/i915: Fix a deadlock that only affects 5.4 Greg KH
2020-04-07 7:18 ` [PATCH v2] drm/i915: Fix ref->mutex deadlock in i915_active_wait() Sultan Alsawaf
2020-04-07 20:32 ` [PATCH v3] " Sultan Alsawaf
2020-04-10 9:08 ` [PATCH v2] " Greg KH
2020-04-10 14:15 ` Sultan Alsawaf
2020-04-10 14:17 ` Sultan Alsawaf
2020-04-11 11:39 ` Greg KH
2020-04-14 8:15 ` Chris Wilson
2020-04-14 8:23 ` Greg KH
2020-04-20 9:02 ` Joonas Lahtinen
2020-04-20 15:42 ` Sultan Alsawaf [this message]
2020-04-21 8:04 ` Joonas Lahtinen
2020-04-21 16:38 ` Sultan Alsawaf
2020-04-21 20:55 ` Jason A. Donenfeld
2020-04-14 14:35 ` Sultan Alsawaf
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=20200420154216.GA1963@sultan-box.localdomain \
--to=sultan@kerneltoast.com \
--cc=airlied@linux.ie \
--cc=chris@chris-wilson.co.uk \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox