Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4648516iob; Sun, 8 May 2022 20:32:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHE+Nwh2qb8ZCXV+8LoX0kV95QYbURKFR6/N8ymtEAZA+GkvZyPj6gra3kQHsuKQQcWn4H X-Received: by 2002:a05:6a00:a94:b0:4fd:c14b:21cb with SMTP id b20-20020a056a000a9400b004fdc14b21cbmr13920449pfl.53.1652067149051; Sun, 08 May 2022 20:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652067149; cv=none; d=google.com; s=arc-20160816; b=Pi+yqvHC1hG7WKiSElVx/GanCdzPqbsRd0PSi3HhCSY8qLtQEZvA2rDEAqfE2CohkT 1RT1DLMVre2i4UynPJxKbLNTg7x6JfKeWpWiCJ+Z3svAbfwTDaEgZoQMPC0hkJ8wyMKh gxX8smolDmAQaAkPB04Q3RdA6d7/cz26J39hqvGadYxlnzv8e+SMLsTWFjXZSNpggccN kKzsfVvCsGWPaWKubkYAxomQ1JwJrJNdzpNzbFeP1G+XVbP6FMfwraDZeBZTJmCKCl6X qwcuZmsYqMLktSr75Jw1WbSWJuM8dLXBX1mw3xkqLyUSdmyq2ls72sw6dp+UH4ajWWXl gmog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=8VNDxUroKGlaeOl3yAsNxcFyHi6XlhM1VRo5bbU2nqI=; b=BOtNqRBUE/4Sse6nhlz6LMYvpt3xe+VT8oSqGo0DNGpfBpJ6m9bb5RA0FD2pcxV69e 3MnDy4X4ZwnbEYrmraw048hvkiD63sNpM8BL0apLq0D9K1UVTQ/vhudG5JsnZUJQzk96 dDfqyjpAm907D4toofzXQdr9Goim1+UePbzNrGCdMFBLNolgmqUfoO4A6ZvKOODUZo+b ff8XfsXgf7giMhPTU1b9UQRulFDWcnrYlRtfhvpj9zKEPa/CeePuVzf9ARLxVCkbjWvJ CDZHVcNTsa3qnFvs06UMdJWX5YQ7W7kE2SsPsFigmk0h4W1uv6WksECFHJA782/dm8Ee 2UXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f23-20020a63dc57000000b003ab5ca8562csi13068416pgj.337.2022.05.08.20.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:32:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4FED65A09D; Sun, 8 May 2022 20:30:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392325AbiEFNUr (ORCPT + 99 others); Fri, 6 May 2022 09:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1392303AbiEFNUn (ORCPT ); Fri, 6 May 2022 09:20:43 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1494369702; Fri, 6 May 2022 06:16:58 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id B0FF19200BB; Fri, 6 May 2022 15:16:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id ACEFD92009E; Fri, 6 May 2022 14:16:56 +0100 (BST) Date: Fri, 6 May 2022 14:16:56 +0100 (BST) From: "Maciej W. Rozycki" To: Arnd Bergmann cc: Bjorn Helgaas , Niklas Schnelle , Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-arch , linux-pci , Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Catalin Marinas , Will Deacon , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Michael Ellerman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Yoshinori Sato , Rich Felker , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "open list:ALPHA PORT" , "moderated list:ARM PORT" , "open list:IA64 (Itanium) PLATFORM" , "open list:M68K ARCHITECTURE" , "open list:MIPS" , "open list:PARISC ARCHITECTURE" , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , "open list:RISC-V ARCHITECTURE" , "open list:SUPERH" , "open list:SPARC + UltraSPARC (sparc/sparc64)" Subject: Re: [RFC v2 01/39] Kconfig: introduce HAS_IOPORT option and select it as necessary In-Reply-To: Message-ID: References: <20220505161028.GA492600@bhelgaas> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, 6 May 2022, Arnd Bergmann wrote: > > So what happens if the instruction is given an I/O rather than memory BAR > > as the relevant argument? Is the address space indicator bit (bit #0) > > simply ignored or what? > > Not sure. My best guess is that it would actually work as you'd expect, > but is deliberately left out of the architecture specification so they don't > have to to validate the correctness. Note that only a small number of > PCIe cards are actually supported by IBM, and I think the firmware > only passes devices to the OS if they are whitelisted. That makes sense, thanks! Maciej