Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4620491rwd; Tue, 30 May 2023 07:47:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jSG2XxCgrS5grDOP9p1WSSyqFo6pTMC0nmSZwx5vKrSyQBfTjWMy87EW+40apRELk+sgQ X-Received: by 2002:a05:6a21:3983:b0:10b:8a3b:1680 with SMTP id ad3-20020a056a21398300b0010b8a3b1680mr2520185pzc.29.1685458068911; Tue, 30 May 2023 07:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458068; cv=none; d=google.com; s=arc-20160816; b=I/BKgWiv0f/DAlEzhz5cnrqg18LSgpHnRn2tPgk8CjjFwSDfcrQ6eL28f/sBXecv04 qIYpDLQRt8QFK/fQwTgwbZ558KNqRqfzOWJpp/9xle8OGgazP82IZEWVhbeP/9OpustA VLWe8wHjOVMfAsV9hfN8vGikbbMnQop7hAoig0FWYbrc0Mk/1HBAzFURmuaY+fvnEEDo /fx0ZqsIHVwrDPjBuke4w+DTlh7dKS612wx19aYcN6X4gpJAbM/svPc2ltensJoeELpm tm8ArIex6A+AVYD1q/DsvoZ/MQYJj6142L4zIbyBHHHpHUVR4Fb6f4mSSuLYC/jRH0WH pt5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dSTAx08zMhO6EBXcvvSUPOulzrV/qU9CO8SaCyr23Z0=; b=SU/ooQX+a7rW/NFGy+ETm32ADHHHquJqmKudtzK0vUvMEXuy8epr9D3RUD7V7MulBu XkfmLTRllnvPzADkOu6SRdb7hjXpBfkkYIAfUvy3/7cQOGjjYvNk7369L5f8m3PUYPm5 tkt4Zf9b3Z8mjNgg9EPEMpeInGCSGDESFJNRp1pMA7T0EVatPnQjirUCbq/JfNczGUj7 Oy1BsqGQb4rnATQMtxeq2c1YZDaJ7KW5FGgtYnnYJiqB+k7o5m0KtJ5/58Da33xUE6+C 7+Ok5b9hUL2q+P9KOTiZa8nBeQJK6Nc5tMDnU3uP7eV24/llHIgZTgYq54/17BvihFc4 a8/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TFC4dNFY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h193-20020a636cca000000b0052c8234a858si9577473pgc.168.2023.05.30.07.47.30; Tue, 30 May 2023 07:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TFC4dNFY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbjE3OjV (ORCPT + 99 others); Tue, 30 May 2023 10:39:21 -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> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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