lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <SN6PR02MB4157B55FBE271DB1B75F8FBCD416A@SN6PR02MB4157.namprd02.prod.outlook.com>
Date: Thu, 18 Sep 2025 04:01:17 +0000
From: Michael Kelley <mhklinux@...look.com>
To: Prasanna Kumar T S M <ptsm@...ux.microsoft.com>,
	"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
	"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
	"linux-fbdev@...r.kernel.org" <linux-fbdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"ssengar@...ux.microsoft.com" <ssengar@...ux.microsoft.com>,
	"rdunlap@...radead.org" <rdunlap@...radead.org>,
	"bartosz.golaszewski@...aro.org" <bartosz.golaszewski@...aro.org>,
	"gonzalo.silvalde@...il.com" <gonzalo.silvalde@...il.com>, "arnd@...db.de"
	<arnd@...db.de>, "tzimmermann@...e.de" <tzimmermann@...e.de>,
	"decui@...rosoft.com" <decui@...rosoft.com>, "wei.liu@...nel.org"
	<wei.liu@...nel.org>, "deller@....de" <deller@....de>, "kys@...rosoft.com"
	<kys@...rosoft.com>, "haiyangz@...rosoft.com" <haiyangz@...rosoft.com>
Subject: RE: [PATCH 1/2] fbdev/hyperv_fb: deprecate this in favor of Hyper-V
 DRM driver

From: Prasanna Kumar T S M <ptsm@...ux.microsoft.com> Sent: Wednesday, September 17, 2025 7:03 AM
> 
> The Hyper-V DRM driver is available since kernel version 5.14 and it
> provides full KMS support and fbdev emulation via the DRM fbdev helpers.
> Deprecate this driver in favor of Hyper-V DRM driver.
> 
> Signed-off-by: Prasanna Kumar T S M <ptsm@...ux.microsoft.com>
> ---
>  drivers/video/fbdev/Kconfig     | 5 ++++-
>  drivers/video/fbdev/hyperv_fb.c | 2 ++
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
> index c21484d15f0c..48c1c7417f6d 100644
> --- a/drivers/video/fbdev/Kconfig
> +++ b/drivers/video/fbdev/Kconfig
> @@ -1773,13 +1773,16 @@ config FB_BROADSHEET
>  	  a bridge adapter.
> 
>  config FB_HYPERV
> -	tristate "Microsoft Hyper-V Synthetic Video support"
> +	tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
>  	depends on FB && HYPERV
>  	select DMA_CMA if HAVE_DMA_CONTIGUOUS && CMA
>  	select FB_IOMEM_HELPERS_DEFERRED
>  	help
>  	  This framebuffer driver supports Microsoft Hyper-V Synthetic Video.
> 
> +	  This driver is deprecated, please use the Hyper-V DRM driver at
> +	  drivers/gpu/drm/hyperv (CONFIG_DRM_HYPERV) instead.
> +
>  config FB_SIMPLE
>  	tristate "Simple framebuffer support"
>  	depends on FB
> diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
> index 75338ffc703f..c99e2ea4b3de 100644
> --- a/drivers/video/fbdev/hyperv_fb.c
> +++ b/drivers/video/fbdev/hyperv_fb.c
> @@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
>  {
>  	int ret;
> 
> +	pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
> +
>  	if (fb_modesetting_disabled("hyper_fb"))
>  		return -ENODEV;
> 
> --
> 2.49.0

Reviewed-by: Michael Kelley <mhklinux@...look.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ