Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp746774rdb; Tue, 19 Sep 2023 09:01:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHho5PB2ia/ph/rDEseZokIE8ANTzzvczeEE89BM47nDU5YRcIRSRpz2HvbdLqS2W4f2hF2 X-Received: by 2002:a17:903:25d4:b0:1c4:4251:68b3 with SMTP id jc20-20020a17090325d400b001c4425168b3mr11442818plb.54.1695139268444; Tue, 19 Sep 2023 09:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695139268; cv=none; d=google.com; s=arc-20160816; b=hvLj8bFpxoqbzYxtvMnj5wxmRcQqzSC0pgaJNQDIjzkoB7XIsV/l+BSAy9+hG1bRbd AkWwrn8QLyc6xpGpDpvhz95vPFuazfcbDCjcN/jYgTtzMtB/u6Cdf/FkHeeSHDUzXzw5 1b5gF7Ee7/Kz94AX3rwSYT/c1E8YFPVlZod3V6sYt7GItCerkik6VpGvOv+9yqa2F/8l sDpFX5BuVEkUpXACQaoab4hpDb6qEHuv2tTuFcrxZguzUnuLF/WU1TQARbRvLYHsKNlM e0KsVaM8msdBXKcqncXx2nvovOoyH3RE9ZtfF9pi66VJAcNZCYHoAScczdy0KAHvaegn uaSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d/zSvBDYjk1d1D+fQ1G58Xi1dBHYX3B/HNitFzQ/sW8=; fh=+Sz6IhspyVEUzh+ZlwHb3DNZHGkmT3jEJrwSW2Zhg9Q=; b=AIw9SHQLZgYSH5qjyhTUM8GWq3ThRFtbfPN/nFPoM5jNEfGdn7fE2JI5c4u37pdIUn RVfli+kWDeMtp0RUQniXDQRBkwGfp7GwtkaWjox11Hlr9qIiJSblvPLZsLHH9WdNNEg+ SKwPnhoD1Hn0pegDWue6wbD/PnLDLbG2bDsLSEcKKa+CuUlhGtuucGH9D1yWYWJCKweA uLY1Hnrr2gjs1LCbdoUiQEJ+C2+7FOFBTCgJC4lO3Z/BOceUUVOrQTFu7DfHcKlA2c4F l/BLRvcEqO01u4Im4hUR4HIcFUvlj33RiOpzENtrkxwhn8k3rpbXHBzoyU+eClW4LURe H1uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="F+Xi/o1G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t14-20020a1709027fce00b001c44be93994si5265386plb.164.2023.09.19.09.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 09:01:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="F+Xi/o1G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 15974802C684; Tue, 19 Sep 2023 04:55:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230124AbjISLzP (ORCPT + 99 others); Tue, 19 Sep 2023 07:55:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjISLzK (ORCPT ); Tue, 19 Sep 2023 07:55:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F640ED for ; Tue, 19 Sep 2023 04:55:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F9C9C433C8; Tue, 19 Sep 2023 11:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695124504; bh=UfIzeIdsgnJP3zjEiAb5hOh7YcwEDaTmbm7obV8uCic=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F+Xi/o1GZhUu+ch+JMi4uIeK/+/yz+7W4M7cqYDF+/7XmpC7G+MhfiEVhXVpVIZvb 2w6Bo9sUr2cbrOIPNMfjrpbABRjxOkhMzBhmsKWppU02O76sD869kWUQFQt+DSyQef D61yOg1HkAHve5zpFT0tNPZ52Kwa8dQHd3JJOBV8= Date: Tue, 19 Sep 2023 13:54:45 +0200 From: Greg Kroah-Hartman To: Niklas Schnelle Cc: Ian Abbott , linux-kernel@vger.kernel.org, H Hartley Sweeten , Arnd Bergmann Subject: Re: [PATCH v3 13/13] comedi: add HAS_IOPORT dependencies again Message-ID: <2023091935-unshaven-compound-fbfe@gregkh> References: <20230913164013.107520-1-abbotti@mev.co.uk> <20230913170712.111719-1-abbotti@mev.co.uk> <20230913170712.111719-14-abbotti@mev.co.uk> <75212b6925df202fb75357e2e4f4a59d138b7375.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75212b6925df202fb75357e2e4f4a59d138b7375.camel@linux.ibm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 04:55:39 -0700 (PDT) On Tue, Sep 19, 2023 at 01:40:53PM +0200, Niklas Schnelle wrote: > On Wed, 2023-09-13 at 18:07 +0100, Ian Abbott wrote: > > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > > not being declared. We thus need to add HAS_IOPORT as dependency for > > those drivers using them. > > > > This was previously done in commit b5c75b68b7de ("comedi: add HAS_IOPORT > > dependencies"), but that has been reverted because it made it impossible > > to select configuration options for several comedi drivers. This is a > > do-over that avoids that. > > > > Since the original patch, modifications have been made to various comedi > > modules so that they can still be built even if the port I/O functions > > have not been declared, so the configuration options for building those > > modules no longer need to depend on HAS_IOPORT. > > > > Make the COMEDI_ISA_DRIVERS menu option (which allows configuration > > options for ISA and PC/104 drivers to be selected) depend on HAS_IOPORT, > > and also depend on ISA || ISA_BUS || PC104. > > > > Co-developed-by: Arnd Bergmann > > Signed-off-by: Arnd Bergmann > > Co-developed-by: Niklas Schnelle > > Signed-off-by: Niklas Schnelle > > Cc: Arnd Bergmann > > Cc: Niklas Schnelle > > Signed-off-by: Ian Abbott > > --- > > v2: N/A. > > v3: N/A. > > I just gave this another try with the rest of my series including the > disablement of the I/O port accessors. I tried both allmodconfig and > allyesconfig on s390x and both seem fine. Also definitely see the > comedi driver's without HAS_IOPORT dependeny being built. Great, can we get a tested-by tag for this then?