Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2202714rdb; Mon, 9 Oct 2023 17:02:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEm/QYJAkN5bLN7WE3gewcK54lkqS0LLybjXmhl+BUnel6+WM1gyFwMP8vpV5l2VQ2Kwa2J X-Received: by 2002:a05:6a20:4420:b0:153:dff0:c998 with SMTP id ce32-20020a056a20442000b00153dff0c998mr22031389pzb.6.1696896137498; Mon, 09 Oct 2023 17:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696896137; cv=none; d=google.com; s=arc-20160816; b=PqF/TyW+fObPDY5ctwqSKEWNvndyPJRHZiwXvQwk5j9lOdN8lQTcq5AD7sTByMaqZz HTqsg6I7bLXWnl4tBLEvNzqeT+pt/nT+zXufMi1TtsPUmcpUmwRcJCnCr2is4/oVUBEz NCJEDblboEX1q0Sj5kHdjQdqQlIvLnbDL1sK11QnXSneMaJsHfzZuZGctQMHSE5eSdJ3 v505QoVg2V9koVfEXBTIbWXgF1UeXWiDAxPITRkMk/b1mYwq6maFln7HU+z+7/grhVxm SfdLa8ItwgFB5SueWDpN/4sA3gJa7u/s7BXdbPquJGN7hDHuTFjs0GuRooT5s13Iwto5 63oQ== 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=yLyqCo9hCnSY/CC7hsb9Xy56xhewIxRDAKsYUA17bdY=; fh=dbqAjWZ55mwoQGQGR0J26tD37U3yRpDaB3EsWQZSuc0=; b=jVnzq6ggevxTHhOpd7Jpf9YBp+8LILX1HiOzKss6jfbmt9THNtaKQRm+3rZTcUvxP3 0lcFLUtW1sls2q59LrTHX4RiRY6tMV/T6CLzmS/R1+AoYw0kUBKYm2eoud0j52oifs3S jFN6tK7eDMg/1u2OYlSoYidy78D8zC5KW5ZxW8XD2f/H7Qk6ZWzLjmexrwgMtt4WHF+1 81tI1afL2wG5lT3rAkDLaxfnWHrWP1TL0C9L5TGURTARTtsrVMLG+0LUg0zNeLvR8cyL 3UOh+jOifVDCo3TTEBSmvdZFvewUdBJNzVt+eT8NNCsk0rSUnisFvq1l+r93lqsKIfyw 0fEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bt12-20020a056a00438c00b00690d00d52efsi8315268pfb.264.2023.10.09.17.02.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 17:02:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2D5AD802F558; Mon, 9 Oct 2023 17:02:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379120AbjJJAB6 (ORCPT + 99 others); Mon, 9 Oct 2023 20:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377918AbjJJAB5 (ORCPT ); Mon, 9 Oct 2023 20:01:57 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9982DA3; Mon, 9 Oct 2023 17:01:56 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 4F17692009C; Tue, 10 Oct 2023 02:01:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 4B7CF92009B; Tue, 10 Oct 2023 01:01:53 +0100 (BST) Date: Tue, 10 Oct 2023 01:01:53 +0100 (BST) From: "Maciej W. Rozycki" To: Arnd Bergmann cc: Ian Abbott , Niklas Schnelle , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Hartley Sweeten , stable@vger.kernel.org Subject: Re: [PATCH] comedi: Fix driver module dependencies since HAS_IOPORT changes In-Reply-To: <8728313c-997a-46c1-8225-d57369e9292c@app.fastmail.com> Message-ID: References: <20230901192615.89591-1-abbotti@mev.co.uk> <33c2292b-08cb-44c7-9438-07d4060976ab@app.fastmail.com> <65d620b2644e2d60b041815fa4bb544a818ae55a.camel@linux.ibm.com> <8728313c-997a-46c1-8225-d57369e9292c@app.fastmail.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=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 09 Oct 2023 17:02:14 -0700 (PDT) X-Spam-Level: ** On Mon, 4 Sep 2023, Arnd Bergmann wrote: > Yes, I think that will always be a safe assumption, ISA without port I/O > is just not a sensible configuration. A few of the later ISA devices use > PCI style memory mapped I/O, but I can't think of any driver that doesn't > also require port I/O, and you wouldn't find ISA slots in a system that > lacks support for port I/O. FWIW for the 8086 CPU as it was designed back in 1970s (and borrowing from the 8080/8085) and consequently IBM PC systems of 1980s memory and I/O bus cycles were meant for resource accesses as the respective names implied, there was no concept of MMIO for those systems back then, which came later from CPU architectures that only have a single address space. With those ISA option cards memory bus cycles were typically decoded by an option ROM where implemented (for system BIOS expansion), sometimes socketed (e.g. for a network card's optional boot ROM), and video adapters (graphics or text-only such as the MDA) also decoded memory bus cycles to video RAM. There were also ISA memory expansion cards, exceedingly rare, which decoded memory bus cycles to onboard RAM. For anything else I/O bus cycles were used, so for the purpose of our consideration ISA pretty much equals I/O and the presence of ISA implies a way to generate 8086 bus I/O cycles in a system, regardless of what native bus protocols the host CPU might implement. Maciej