From mboxrd@z Thu Jan 1 00:00:00 1970 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 3CF6ED2447B for ; Fri, 11 Oct 2024 06:09:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01BDB10EA39; Fri, 11 Oct 2024 06:09:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bF4rdRfG"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAB4A10EA37; Fri, 11 Oct 2024 06:09:25 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 71AF2A4512D; Fri, 11 Oct 2024 06:09:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26B52C4CEC3; Fri, 11 Oct 2024 06:09:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728626963; bh=i9cYUz3cSkHkjlbjXX2TL+CxfIfYsIh3kS/FujNH0ns=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bF4rdRfGhj7EVWEvLjIfvY+4Raq2vEZe+yssbLN3OZ7fW7bmvDXav08gT+gBmnGSN +kmbBAOFkJtlYBrDlPTHGKAwQ7ax+wesMXi2/XL+kUHhYtiJRprpUQREwCqcUwTNpH tw+1wq1CQATrSDYV/rW/qsI+U6tk1p7cmzHdYaBs= Date: Fri, 11 Oct 2024 08:09:20 +0200 From: Greg Kroah-Hartman To: Niklas Schnelle Cc: Brian Cain , Marcel Holtmann , Luiz Augusto von Dentz , Patrik Jakobsson , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dave Airlie , Gerd Hoffmann , Lucas De Marchi , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Rodrigo Vivi , Jiri Slaby , Arnd Bergmann , "Maciej W. Rozycki" , Heiko Carstens , linux-kernel@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-bluetooth@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev, spice-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, linux-serial@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v8 4/5] tty: serial: handle HAS_IOPORT dependencies Message-ID: <2024101112-tile-cupping-3431@gregkh> References: <20241008-b4-has_ioport-v8-0-793e68aeadda@linux.ibm.com> <20241008-b4-has_ioport-v8-4-793e68aeadda@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241008-b4-has_ioport-v8-4-793e68aeadda@linux.ibm.com> X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Tue, Oct 08, 2024 at 02:39:45PM +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at > compile time. We thus need to add HAS_IOPORT as dependency for those > drivers using them unconditionally. Some 8250 serial drivers support > MMIO only use, so fence only the parts requiring I/O ports and print an > error message if a device can't be supported with the current > configuration. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- Acked-by: Greg Kroah-Hartman