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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 570FCC77B7A for ; Tue, 30 May 2023 14:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232091AbjE3OjU (ORCPT ); Tue, 30 May 2023 10:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbjE3OjT (ORCPT ); Tue, 30 May 2023 10:39:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 139958F; Tue, 30 May 2023 07:39:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 99C386167D; Tue, 30 May 2023 14:39:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C03BC433D2; Tue, 30 May 2023 14:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685457557; bh=o4tpbU823ZvDH0zikrH1WbEEN9ld+0DC5TSzAlggrDg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TFC4dNFYo6U2/cb0RD/dYedoJi79GLYvB3vEqJn92ZYsZlvchM4SABG7CLX/g1bfX 8D27fV7G77wYR5HeLP6H/UZMsRlSrow6OygdI1SM/3f3/DrupT3g8bJKOUfqgJ9DvT NZZgdlqs3/WDB3GCSRKO2kdSQfFd5lMOA3BNGhXY= Date: Tue, 30 May 2023 15:39:14 +0100 From: Greg Kroah-Hartman To: Niklas Schnelle Cc: Arnd Bergmann , Jiri Slaby , Bjorn Helgaas , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-serial@vger.kernel.org Subject: Re: [PATCH v5 35/44] tty: serial: handle HAS_IOPORT dependencies Message-ID: <2023053050-prodigal-shine-4d1c@gregkh> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-36-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522105049.1467313-36-schnelle@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Mon, May 22, 2023 at 12:50:40PM +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them unconditionally. For 8250 based drivers some > support MMIO only use so fence only the parts requiring I/O ports. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/tty/Kconfig | 4 +-- > drivers/tty/serial/8250/8250_early.c | 4 +++ > drivers/tty/serial/8250/8250_pci.c | 14 +++++++++ > drivers/tty/serial/8250/8250_port.c | 44 +++++++++++++++++++++++----- > drivers/tty/serial/8250/Kconfig | 5 ++-- > drivers/tty/serial/Kconfig | 2 +- > 6 files changed, 60 insertions(+), 13 deletions(-) This doesn't apply at all to my tree, so I'll just let you take it as there must be some merge issues somewhere: Acked-by: Greg Kroah-Hartman