Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FE65CA0EC0 for ; Mon, 18 Aug 2025 11:16:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F49A10E0CB; Mon, 18 Aug 2025 11:16:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RaW91XSl"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 93AA010E0CB for ; Mon, 18 Aug 2025 11:16:05 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 02A1A44880; Mon, 18 Aug 2025 11:16:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60631C4CEEB; Mon, 18 Aug 2025 11:16:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755515764; bh=0rcut32u7qByun8MXeCN3BhYNxQysEOCEk+rKvlD5U4=; h=Subject:To:Cc:From:Date:From; b=RaW91XSlXtHmAULg07WDNMDTaX5nhKe092W7KoWsnBIASnBa/07+ev0nA4iUE+bCJ ndpk3IKVvh2WWm0L73gVONpehlnZHEjFVAbGpvBnnmNNXBODfFnCcgLDHpxBfR4YXS 1gyLY59SFhwIId0aOu+nBJVJt3WuUKC4UVJi0VVo= Subject: Patch "fbdev: nvidiafb: add depends on HAS_IOPORT" has been added to the 6.15-stable tree To: adaplas@gmail.com, arnd@kernel.org, deller@gmx.de, dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, rdunlap@infradead.org, schnelle@linux.ibm.com Cc: From: Date: Mon, 18 Aug 2025 13:15:54 +0200 Message-ID: <2025081854-chatter-unskilled-64f4@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-stable: commit X-Patchwork-Hint: ignore X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a note to let you know that I've just added the patch titled fbdev: nvidiafb: add depends on HAS_IOPORT to the 6.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: fbdev-nvidiafb-add-depends-on-has_ioport.patch and it can be found in the queue-6.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From ecdd7df997fd992f0ec70b788e3b12258008a2bf Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Sun, 15 Jun 2025 11:36:51 -0700 Subject: fbdev: nvidiafb: add depends on HAS_IOPORT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Randy Dunlap commit ecdd7df997fd992f0ec70b788e3b12258008a2bf upstream. The nvidiafb driver uses inb()/outb() without depending on HAS_IOPORT, which leads to build errors since kernel v6.13-rc1: commit 6f043e757445 ("asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n") Add the HAS_IOPORT dependency to prevent the build errors. (Found in ARCH=um allmodconfig builds) drivers/video/fbdev/nvidia/nv_accel.c: In function ‘NVDmaWait’: include/asm-generic/io.h:596:15: error: call to ‘_outb’ declared with attribute error: outb() requires CONFIG_HAS_IOPORT 596 | #define _outb _outb Signed-off-by: Randy Dunlap Cc: Arnd Bergmann Cc: Niklas Schnelle Cc: Antonino Daplas Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: stable@vger.kernel.org # v6.13+ Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -660,7 +660,7 @@ config FB_ATMEL config FB_NVIDIA tristate "nVidia Framebuffer Support" - depends on FB && PCI + depends on FB && PCI && HAS_IOPORT select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT Patches currently in stable-queue which might be from rdunlap@infradead.org are queue-6.15/fbdev-nvidiafb-add-depends-on-has_ioport.patch queue-6.15/parisc-makefile-fix-a-typo-in-palo.conf.patch queue-6.15/kconfig-gconf-fix-potential-memory-leak-in-renderer_.patch queue-6.15/kconfig-nconf-ensure-null-termination-where-strncpy-.patch