Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4794746iob; Mon, 9 May 2022 01:39:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysKq8t/EUk6eGDtTTXo93BCa9wEKOw1gDDbjYVZw319aP/OvJzoMEHtiPfCbOiSiKMwo0T X-Received: by 2002:a17:90a:1602:b0:1d9:9ddd:1f8b with SMTP id n2-20020a17090a160200b001d99ddd1f8bmr25605019pja.130.1652085543199; Mon, 09 May 2022 01:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652085543; cv=none; d=google.com; s=arc-20160816; b=aRkLVMDYidho4qKSu+stz8vv2pPZf7a2Xz5smhPoaoSrfrPLobJAbyskZ6zRycnMtv O3m3wqjRLNNf90Ftx/sOCKY2ok1Sh7YyCDnHCXvi3+34RBqChTFcusTcEHVnr8miK4xp sFiUq6x5cCtAurTFVzIJLAeu1JcKShW8NEPHzN+gWiF+Duxui9YGb4mousKYtO+QPZxM 4I6t+IBdvGU+KKyG9EWgycHc5FFFpgjbbx1P4PeRvAsVjivAHz5xHNh98mqMm+t29v9Q ES5kQaZqk2stAz4fdXb/uAbzX/BSG/y3smk5LjvRoqObh3VJPk4HUxZqU/wHUNsotPp/ P1lA== 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=v+lJ0TAGkmcPvn6FTjmGi4zFagt3RCqQX6sK6DZmlAY=; b=Dvt1iOcCcTAXJHA3oN8AyPzTmkMEE8od5/i6v+hRju5Q++jOdlMtCFPoTMJPyPdgTF cJQMOsUItkffstHq6GmZ1uRmR13ZTOGhh2nhZ9Gn4jdJNee5F9ykVfz8vgTkX+bybL74 28K4v51mYgJVkGoW1/6Dz3DTYEopuCYxGHDFLlEYIiu3th1amcSr4Ektj9mumfyYNmV/ cWwPDMoe+ZZYwCSI5rsJwVgXtZY8ZUJH4p9cLzWDhqDIZzP31HVA+Ho+qnDEHgZeE0Wa A0E2BNCagzfmNiHjtcC3bUoCz3Rlmhpm97jWRFwtWHPsLNTIpJ26TsBe2RYx/5xBvqXj ZPmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a2-20020a170903100200b0015eb4152d68si9035696plb.157.2022.05.09.01.39.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:39:02 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 A792C1ACFB6; Mon, 9 May 2022 01:22:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237471AbiEFPHM (ORCPT + 99 others); Fri, 6 May 2022 11:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442587AbiEFPG7 (ORCPT ); Fri, 6 May 2022 11:06:59 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6FD8B6B098; Fri, 6 May 2022 08:03:16 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 022B79200C3; Fri, 6 May 2022 17:03:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id F242C9200C1; Fri, 6 May 2022 16:03:14 +0100 (BST) Date: Fri, 6 May 2022 16:03:14 +0100 (BST) From: "Maciej W. Rozycki" To: Geert Uytterhoeven cc: David Laight , Arnd Bergmann , Rich Felker , "open list:IA64 (Itanium) PLATFORM" , "open list:SUPERH" , Catalin Marinas , Dave Hansen , "open list:MIPS" , "James E.J. Bottomley" , "open list:SPARC + UltraSPARC (sparc/sparc64)" , "open list:RISC-V ARCHITECTURE" , Will Deacon , linux-arch , Yoshinori Sato , Helge Deller , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Russell King , Ingo Molnar , linux-pci , Bjorn Helgaas , Matt Turner , Albert Ou , Arnd Bergmann , Niklas Schnelle , "open list:M68K ARCHITECTURE" , Ivan Kokshaysky , Paul Walmsley , Thomas Gleixner , "moderated list:ARM PORT" , Richard Henderson , Michal Simek , Thomas Bogendoerfer , "open list:PARISC ARCHITECTURE" , Greg Kroah-Hartman , Linux Kernel Mailing List , Palmer Dabbelt , "open list:ALPHA PORT" , Borislav Petkov , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , "David S. Miller" 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> <5239892986c94239a122ab2f7a18a7a5@AcuMS.aculab.com> <3669a28a055344a792b51439c953fd30@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, 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 Hi Geert, > > Sane access would require a single CPU instruction to read or write from > > the configuration space. To access the conventional PCI configuration > > space in a direct linear manner you need 256 * 21 * 8 * 256 = 10.5MiB of > > address space. Such amount of address space seems affordable even with > > 32-bit systems. > > Won't have fit in the legacy 1 MiB space ("640 KiB..."). Haha, but anyway you're supposed to use BIOS calls under DOS and the like so it doesn't really matter. You can't poke at the APIC in the legacy space either. Maciej