All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: alex.williamson@redhat.com, corbet@lwn.net,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	airlied@linux.ie, daniel@ffwll.ch, deller@gmx.de,
	gregkh@linuxfoundation.org, javierm@redhat.com,
	lersek@redhat.com, kraxel@redhat.com
Cc: linux-fbdev@vger.kernel.org, kvm@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v3 0/3] Improve vfio-pci primary GPU assignment behavior
Date: Mon, 4 Jul 2022 09:10:12 +0200	[thread overview]
Message-ID: <3abf6d20-e6a1-a3f2-5852-25ab118ab569@suse.de> (raw)
In-Reply-To: <20220622140134.12763-1-tzimmermann@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 2926 bytes --]

Hi,

this patchset has meanwhile reached drm-next and should go into Linux v5.20.

 
https://cgit.freedesktop.org/drm/drm/commit/?id=d173780620792c725506b0f3c5ec52c7fbac1db0

Best regards
Thomas

Am 22.06.22 um 16:01 schrieb Thomas Zimmermann:
> (I'm taking over this patchset from Alex, [1] as we agreed that it should
> go through the drm-misc tree.)
> 
> When assigning a primary graphics device to VM through vfio-pci device
> assignment, users often prevent binding of the native PCI graphics
> driver to avoid device initialization conflicts, however firmware
> console drivers may still be attached to the device which can often be
> cumbersome to manually unbind or exclude via cmdline options.
> 
> This series proposes to move the DRM aperture helpers out to
> drivers/video/ to make it more accessible to drivers like vfio-pci,
> which have neither dependencies on DRM code nor a struct drm_driver
> to present to existing interfaces.  vfio-pci can then trivially call
> into the aperture helpers to remove conflicting drivers, rather than
> open coding it ourselves as was proposed with a new symbol export in
> v1 of this series. [2]
> 
> v3:
> 	* add aperture_ prefix to all interfaces (Javier)
> 	* improved documentation (Javier)
> 	* update MAINTAINERS [3] and add aperture helpers
> 
> [1] https://lore.kernel.org/all/165541020563.1955826.16350888595945658159.stgit@omen/
> [2] https://lore.kernel.org/all/165453797543.3592816.6381793341352595461.stgit@omen/
> [3] https://lore.kernel.org/all/20220518183006.14548-2-tzimmermann@suse.de/
> 
> Alex Williamson (1):
>    vfio/pci: Remove console drivers
> 
> Thomas Zimmermann (2):
>    MAINTAINERS: Broaden scope of simpledrm entry
>    drm: Implement DRM aperture helpers under video/
> 
>   Documentation/driver-api/aperture.rst |  13 +
>   Documentation/driver-api/index.rst    |   1 +
>   MAINTAINERS                           |   6 +-
>   drivers/gpu/drm/drm_aperture.c        | 178 +------------
>   drivers/gpu/drm/tiny/Kconfig          |   1 +
>   drivers/vfio/pci/vfio_pci_core.c      |   5 +
>   drivers/video/Kconfig                 |   6 +
>   drivers/video/Makefile                |   2 +
>   drivers/video/aperture.c              | 351 ++++++++++++++++++++++++++
>   drivers/video/console/Kconfig         |   1 +
>   drivers/video/fbdev/Kconfig           |   7 +-
>   include/linux/aperture.h              |  56 ++++
>   12 files changed, 456 insertions(+), 171 deletions(-)
>   create mode 100644 Documentation/driver-api/aperture.rst
>   create mode 100644 drivers/video/aperture.c
>   create mode 100644 include/linux/aperture.h
> 
> 
> base-commit: 7025c1f111b7a057243de45bd56c14b906242a53

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: alex.williamson@redhat.com, corbet@lwn.net,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	airlied@linux.ie, daniel@ffwll.ch, deller@gmx.de,
	gregkh@linuxfoundation.org, javierm@redhat.com,
	lersek@redhat.com, kraxel@redhat.com
Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH v3 0/3] Improve vfio-pci primary GPU assignment behavior
Date: Mon, 4 Jul 2022 09:10:12 +0200	[thread overview]
Message-ID: <3abf6d20-e6a1-a3f2-5852-25ab118ab569@suse.de> (raw)
In-Reply-To: <20220622140134.12763-1-tzimmermann@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 2926 bytes --]

Hi,

this patchset has meanwhile reached drm-next and should go into Linux v5.20.

 
https://cgit.freedesktop.org/drm/drm/commit/?id=d173780620792c725506b0f3c5ec52c7fbac1db0

Best regards
Thomas

Am 22.06.22 um 16:01 schrieb Thomas Zimmermann:
> (I'm taking over this patchset from Alex, [1] as we agreed that it should
> go through the drm-misc tree.)
> 
> When assigning a primary graphics device to VM through vfio-pci device
> assignment, users often prevent binding of the native PCI graphics
> driver to avoid device initialization conflicts, however firmware
> console drivers may still be attached to the device which can often be
> cumbersome to manually unbind or exclude via cmdline options.
> 
> This series proposes to move the DRM aperture helpers out to
> drivers/video/ to make it more accessible to drivers like vfio-pci,
> which have neither dependencies on DRM code nor a struct drm_driver
> to present to existing interfaces.  vfio-pci can then trivially call
> into the aperture helpers to remove conflicting drivers, rather than
> open coding it ourselves as was proposed with a new symbol export in
> v1 of this series. [2]
> 
> v3:
> 	* add aperture_ prefix to all interfaces (Javier)
> 	* improved documentation (Javier)
> 	* update MAINTAINERS [3] and add aperture helpers
> 
> [1] https://lore.kernel.org/all/165541020563.1955826.16350888595945658159.stgit@omen/
> [2] https://lore.kernel.org/all/165453797543.3592816.6381793341352595461.stgit@omen/
> [3] https://lore.kernel.org/all/20220518183006.14548-2-tzimmermann@suse.de/
> 
> Alex Williamson (1):
>    vfio/pci: Remove console drivers
> 
> Thomas Zimmermann (2):
>    MAINTAINERS: Broaden scope of simpledrm entry
>    drm: Implement DRM aperture helpers under video/
> 
>   Documentation/driver-api/aperture.rst |  13 +
>   Documentation/driver-api/index.rst    |   1 +
>   MAINTAINERS                           |   6 +-
>   drivers/gpu/drm/drm_aperture.c        | 178 +------------
>   drivers/gpu/drm/tiny/Kconfig          |   1 +
>   drivers/vfio/pci/vfio_pci_core.c      |   5 +
>   drivers/video/Kconfig                 |   6 +
>   drivers/video/Makefile                |   2 +
>   drivers/video/aperture.c              | 351 ++++++++++++++++++++++++++
>   drivers/video/console/Kconfig         |   1 +
>   drivers/video/fbdev/Kconfig           |   7 +-
>   include/linux/aperture.h              |  56 ++++
>   12 files changed, 456 insertions(+), 171 deletions(-)
>   create mode 100644 Documentation/driver-api/aperture.rst
>   create mode 100644 drivers/video/aperture.c
>   create mode 100644 include/linux/aperture.h
> 
> 
> base-commit: 7025c1f111b7a057243de45bd56c14b906242a53

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  parent reply	other threads:[~2022-07-04  7:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 14:01 [PATCH v3 0/3] Improve vfio-pci primary GPU assignment behavior Thomas Zimmermann
2022-06-22 14:01 ` Thomas Zimmermann
2022-06-22 14:01 ` [PATCH v3 1/3] MAINTAINERS: Broaden scope of simpledrm entry Thomas Zimmermann
2022-06-22 14:01   ` Thomas Zimmermann
2022-06-22 14:01 ` [PATCH v3 2/3] drm: Implement DRM aperture helpers under video/ Thomas Zimmermann
2022-06-22 14:01   ` Thomas Zimmermann
2022-06-22 14:01 ` [PATCH v3 3/3] vfio/pci: Remove console drivers Thomas Zimmermann
2022-06-22 14:01   ` Thomas Zimmermann
2022-07-04  7:10 ` Thomas Zimmermann [this message]
2022-07-04  7:10   ` [PATCH v3 0/3] Improve vfio-pci primary GPU assignment behavior Thomas Zimmermann

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=3abf6d20-e6a1-a3f2-5852-25ab118ab569@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@linux.ie \
    --cc=alex.williamson@redhat.com \
    --cc=corbet@lwn.net \
    --cc=daniel@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=javierm@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lersek@redhat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@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.