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 55463C433EF for ; Fri, 22 Jul 2022 22:42:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236881AbiGVWmQ (ORCPT ); Fri, 22 Jul 2022 18:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236916AbiGVWmE (ORCPT ); Fri, 22 Jul 2022 18:42:04 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5EC3713E2E; Fri, 22 Jul 2022 15:41:55 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 5D6F792009C; Sat, 23 Jul 2022 00:41:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 598B392009B; Fri, 22 Jul 2022 23:41:54 +0100 (BST) Date: Fri, 22 Jul 2022 23:41:54 +0100 (BST) From: "Maciej W. Rozycki" To: Rob Herring cc: Arnd Bergmann , Palmer Dabbelt , Bjorn Helgaas , Stafford Horne , "linux-kernel@vger.kernel.org" , Catalin Marinas , Will Deacon , Guo Ren , Paul Walmsley , Albert Ou , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-arm-kernel , linux-csky@vger.kernel.org, linux-riscv , linux-um , PCI , "open list:GENERIC INCLUDE/ASM HEADER FILES" Subject: Re: [PATCH v3 2/2] asm-generic: Add new pci.h and use it In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-csky@vger.kernel.org On Fri, 22 Jul 2022, Rob Herring wrote: > P.S. I really wish I/O space would disappear completely. Some systems make it happen already, such as the POWER9 platform and its PHB4 host bridge (which doesn't handle PCIe TLP I/O read or write commands at all), however some PCI/e devices do require I/O space, such as IEEE 1284 parallel port adapters. Some PCI devices dating back as far as to 1990s provide dual mapping of their resources via an I/O and a memory BAR both at a time, so we can choose which to use depending on circumstances. FWIW, Maciej