All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Daniel Vetter <daniel.vetter@intel.com>,
	David Airlie <airlied@redhat.com>,
	Emil Velikov <emil.l.velikov@gmail.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Gustavo Padovan <gustavo.padovan@collabora.co.uk>,
	Hans de Goede <hdegoede@redhat.com>,
	Joachim Frieben <jfrieben@hotmail.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH] drm: virtio: reinstate drm_virtio_set_busid()
Date: Tue, 18 Oct 2016 18:57:02 +0200	[thread overview]
Message-ID: <20161018165702.GA15495@kroah.com> (raw)
In-Reply-To: <6813f49e-101c-5019-6590-cb8f0e854f35@redhat.com>

On Tue, Oct 18, 2016 at 05:52:20PM +0200, Laszlo Ersek wrote:
> On 10/18/16 08:38, Greg Kroah-Hartman wrote:
> > On Mon, Oct 17, 2016 at 11:10:28PM +0200, Laszlo Ersek wrote:
> >> Greg,
> >>
> >> On 10/03/16 19:43, Laszlo Ersek wrote:
> >>> Before commit a325725633c2 ("drm: Lobotomize set_busid nonsense for !pci
> >>> drivers"), several DRM drivers for platform devices used to expose an
> >>> explicit "drm_driver.set_busid" callback, invariably backed by
> >>> drm_platform_set_busid().
> >>>
> >>> Commit a325725633c2 removed drm_platform_set_busid(), along with the
> >>> referring .set_busid field initializations. This was justified because
> >>> interchangeable functionality had been implemented in drm_dev_alloc() /
> >>> drm_dev_init(), which DRM_IOCTL_SET_VERSION would rely on going forward.
> >>>
> >>> However, commit a325725633c2 also removed drm_virtio_set_busid(), for
> >>> which the same consolidation was not appropriate: this .set_busid callback
> >>> had been implemented with drm_pci_set_busid(), and not
> >>> drm_platform_set_busid(). The error regressed Xorg/xserver on QEMU's
> >>> "virtio-vga" card; the drmGetBusid() function from libdrm would no longer
> >>> return stable PCI identifiers like "pci:0000:00:02.0", but rather unstable
> >>> platform ones like "virtio0".
> >>>
> >>> Reinstate drm_virtio_set_busid() with judicious use of
> >>>
> >>>   git checkout -p a325725633c2^ -- drivers/gpu/drm/virtio
> >>>
> >>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> >>> Cc: Daniel Vetter <daniel.vetter@intel.com>
> >>> Cc: David Airlie <airlied@redhat.com>
> >>> Cc: Emil Velikov <emil.l.velikov@gmail.com>
> >>> Cc: Gerd Hoffmann <kraxel@redhat.com>
> >>> Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> >>> Cc: Hans de Goede <hdegoede@redhat.com>
> >>> Cc: Joachim Frieben <jfrieben@hotmail.com>
> >>> Cc: stable@vger.kernel.org
> >>> Reported-by: Joachim Frieben <jfrieben@hotmail.com>
> >>> Fixes: a325725633c26aa66ab940f762a6b0778edf76c0
> >>> Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1366842
> >>> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> >>> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
> >>> ---
> >>>  drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 10 ++++++++++
> >>>  drivers/gpu/drm/virtio/virtgpu_drv.c     |  1 +
> >>>  drivers/gpu/drm/virtio/virtgpu_drv.h     |  1 +
> >>>  3 files changed, 12 insertions(+)
> >>
> >> Is there any particular reason this patch hasn't been cherry-picked to
> >> linux-4.8.y? (I checked v4.8.2.)
> > 
> > Yes, it just showed up in 4.9-rc1 3 days ago, give me a chance to catch
> > up!  I have 210 patches right now that are in this same status,
> 
> My apologies; I didn't realize the volume.
> 
> (
> BTW I tried to fetch stable-queue this morning, and just now as well --
> for some reason that git command seems consistently stuck for me. It
> produces some low network traffic, but makes no progress:
> 
> > Looking up git.kernel.org ... done.
> > Connecting to git.kernel.org (port 9418) ... 199.204.44.194 done.
> > <stuck here>
> 
> Should I report this elsewhere and/or capture packets with tcpdump?

Can you clone any other git.kernel.org tree?

Works ok for me here...

thanks,

greg k-h

  reply	other threads:[~2016-10-18 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 17:43 [PATCH] drm: virtio: reinstate drm_virtio_set_busid() Laszlo Ersek
2016-10-04  3:12 ` Dave Airlie
2016-10-17 21:10 ` Laszlo Ersek
2016-10-18  6:38   ` Greg Kroah-Hartman
2016-10-18 15:52     ` Laszlo Ersek
2016-10-18 16:57       ` Greg Kroah-Hartman [this message]
2016-10-18 17:20         ` Laszlo Ersek

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=20161018165702.GA15495@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=airlied@redhat.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=emil.l.velikov@gmail.com \
    --cc=gustavo.padovan@collabora.co.uk \
    --cc=hdegoede@redhat.com \
    --cc=jfrieben@hotmail.com \
    --cc=kraxel@redhat.com \
    --cc=lersek@redhat.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 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.