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 E0EF9C433F5 for ; Wed, 2 Mar 2022 13:45:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242337AbiCBNqI (ORCPT ); Wed, 2 Mar 2022 08:46:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236210AbiCBNqH (ORCPT ); Wed, 2 Mar 2022 08:46:07 -0500 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E6D625C84A; Wed, 2 Mar 2022 05:45:23 -0800 (PST) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 6DD9192009C; Wed, 2 Mar 2022 14:45:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 6929692009B; Wed, 2 Mar 2022 13:45:22 +0000 (GMT) Date: Wed, 2 Mar 2022 13:45:22 +0000 (GMT) From: "Maciej W. Rozycki" To: Icenowy Zheng cc: Sudip Mukherjee , Catalin Marinas , Will Deacon , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Sven Schnelle , Jeff Dike , Richard Weinberger , Anton Ivanov , Chris Zankel , Max Filippov , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] parport_pc: Also enable driver for PCI systems In-Reply-To: <8e799cadb1104714f998fe74e40b3cb052c9c1ed.camel@aosc.io> Message-ID: References: <8e799cadb1104714f998fe74e40b3cb052c9c1ed.camel@aosc.io> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Mar 2022, Icenowy Zheng wrote: > > The only PCI platforms that actually can't make use of PC-style > > parallel > > port hardware are those newer PCIe systems that have no support for > > I/O > > cycles in the host bridge, required by such parallel ports.  Notably, > > this includes the s390 arch, which has port I/O accessors that cause > > compilation warnings (promoted to errors with `-Werror'), and there > > are > > other cases such as the POWER9 PHB4 device, though this one has > > variable > > port I/O accessors that depend on the particular system.  Also it is > > not > > clear whether the serial port side of devices enabled by > > PARPORT_SERIAL > > uses port I/O or MMIO.  Finally Super I/O solutions are always either > > ISA or platform devices. > > Just spot this patch in linux-riscv mailing list, I think there's a > pending patchset that tries to add a HAS_IOPORT Kconfig option, which > can be used in this situation. Thanks for your input. That has been actually discussed already with a conclusion that more work is required to have HAS_IOPORT supported, see the thread starting from: . (there's a reference to the HAS_IOPORT patchset there as well). Once that has been sorted configuration conditions for the parport driver can be updated accordingly. For the time being the !S390 qualification should do. Maciej