Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1930326iob; Thu, 5 May 2022 11:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFoCBcbF/9rSUR7BdJZOx4QP90a+AZ8RRJup9+lskjMR8YLJuXlyTZSpQQAB9exjf5BOJF X-Received: by 2002:a17:906:7315:b0:6f4:c84f:9eab with SMTP id di21-20020a170906731500b006f4c84f9eabmr9152281ejc.759.1651774036202; Thu, 05 May 2022 11:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651774036; cv=none; d=google.com; s=arc-20160816; b=k9mXIWestKXYbXs0paa8Fvlj5H+nhJhXje1or7nwnwZicDNqU4alzJ9SMdHBOqQF1K BSc4p0iSVTCnmAQP2+hl1kpk0phrv7rv1vTqWkAUBY/LV8UuGeMT3YkkpDwIAGy9Ya+e KP3+OihBevVUWjfiAn1wM+zD505qAOHrHDmH8JvTyIGb05YcThPu154rUeGrpV1/Hs0i C98ZSGReGHFJKLFzPv+f6AkA0C42VCoPozt89VZQSiBP6nkqoUf++DLChVe20t9G4RdY 647UjTjiAclnIkYolNTz7gRvoy9T3DJP0R7Ox8nbFkkuJo8SgG/M0WPcnaqgXQQZd/WH zi0Q== 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=52+mDp4M8xJcxYq49Enj1KZBZArxsOWCm9m16Mr7ZdU=; b=eRhApgZGC6f8xU84u3Vu/6zI8coFuwoa1j0QoSfH2cgsQ8ZqcZd/NLr/6wotU6r7ML kL/htbk3cUZdNOwDoUlEbowOm/qWBXMi1gXvxa5Jxm5qMqVEIl0Ifa2ew/4Y19LaKurT DomM+u+2J6g8Kox0QWi2DdULTVAsZqnniQLTYJEHzg1ufl9mtVdMoZmSk0/9aGq259h9 2IF8HupOHscA4fuG8zik2wN1bhotM5PojnHp9Uu18H1aiyY5CGWCIxq5heuhXlXPSIB8 CtidKDICo2YeAE08HfcTN+MpWRhI5Jr2fDP+W70LAaYTByy1UokT954sUDmpfHkZO3JM jhGg== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a170906785100b006df7808f11fsi2733942ejm.913.2022.05.05.11.06.49; Thu, 05 May 2022 11:07:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356598AbiEEMHE (ORCPT + 99 others); Thu, 5 May 2022 08:07:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244273AbiEEMHA (ORCPT ); Thu, 5 May 2022 08:07:00 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F063D2AC7F; Thu, 5 May 2022 05:03:20 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 8C73B92009C; Thu, 5 May 2022 14:03:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 8024592009B; Thu, 5 May 2022 13:03:19 +0100 (BST) Date: Thu, 5 May 2022 13:03:19 +0100 (BST) From: "Maciej W. Rozycki" To: David Laight cc: 'Arnd Bergmann' , Bjorn Helgaas , Niklas Schnelle , Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-arch , linux-pci , Dominik Brodowski Subject: RE: [RFC v2 25/39] pcmcia: add HAS_IOPORT dependencies In-Reply-To: <145b4021c7b14ada95ba0acf6f294b96@AcuMS.aculab.com> Message-ID: References: <20220429135108.2781579-44-schnelle@linux.ibm.com> <20220503233802.GA420374@bhelgaas> <145b4021c7b14ada95ba0acf6f294b96@AcuMS.aculab.com> 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,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Wed, 4 May 2022, David Laight wrote: > I think you can find cardbus cards that have a pci bridge and a cable > link to an expansion chassis into which you can insert standard PCI cards. > If you are really lucky the initial enumeration allocates the > 'high field' bus numbers, io addresses and plenty of memory > space to the bridge - otherwise you lose. No need to rely on luck as (given that no single size fits all) we have the `hpbussize', `hpiosize', `hpmemsize', `hpmmioprefsize', `hpmmiosize', options to the `pci=...' kernel parameter for people to tune the settings according to their needs. I don't have such a CardBus option, but I do have a couple of such ExpressCard devices, and mixed PCIe/PCI expansion backplanes for them. Maciej