Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp180768iob; Mon, 2 May 2022 16:27:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl8Qt8pp2WH160d8zmD2X+5DWyb29thSVTP6D/0nUVx6b8+pbvqb3CACe5wmouCK88Ht/A X-Received: by 2002:a05:6a00:8c6:b0:4fe:10df:1cfe with SMTP id s6-20020a056a0008c600b004fe10df1cfemr13327030pfu.18.1651534057461; Mon, 02 May 2022 16:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651534057; cv=none; d=google.com; s=arc-20160816; b=dRCEikh0KxcIFlT44YOZL94ZDyGjqF8yIlROAyGQtBYgw9cXFCIPF19IeMn32BC2Xa 6721e/RIQ0qPYgBihgtUclfLXeA73g9i7jkfsRgbjn/50KmV7cFHiv/DSAH/3UuFWQbe Ii0x/Mls/gAtY2+QB++S2u3QHqGQAtpHwH6/Ed0KGDal9NJI9A3jQwUXl4yBztSoENXJ S6NHT+de95EnAmr+e3f610m9MjlC2NZfZL9XNiFhRZFsjxWrgRmkvjCrIM0rjYcRUphE mbEfUmxKQaNj2yBeCYSebHx4TwSLR5OHjYYnm1q2x1smRIPnPmm3yPUoCymUV4Acn5m9 db/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7rmKOmP5MkmzB6kYwqydPOY8Y/8AVOpHSwETVjiHA9I=; b=X3KXgd+W7R09mXsB5Z5pgj4cNgfRrFiiHINArk2E+yue6Nl7EslUPjXR+1mFPjhog7 x8vapKgWPbK53kf0B/2W4U8p7D1MJ4rM18yfzPoSgoUlF0EbLXQ/seWc9LtRGC8PbgvB YecrSvzx5dj189h6JHuBIkv76YdQR7r6dXKzWpLawdEKxxloZQ15vq1Rr8xi7zm/QN/x nWGtmC5OcH1pu1Yne2l157jS5KFFEZe1dea/L9xYDXsIPyZspKylTuawDIcSuKOkW3rI vhNCV7FYO/fAu2m1A4fTJnMeL1ELj/TvWWXGqmN1OeNb7lLcdbTTBwLhmrPzkCxooTe3 Zk+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WAyuZryK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k190-20020a6384c7000000b00382274f6ae9si15128499pgd.589.2022.05.02.16.27.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:27:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=WAyuZryK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 63572220E2; Mon, 2 May 2022 16:27:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376274AbiEAV7M (ORCPT + 99 others); Sun, 1 May 2022 17:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376452AbiEAV7K (ORCPT ); Sun, 1 May 2022 17:59:10 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 164882E0A5 for ; Sun, 1 May 2022 14:55:43 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id s30so23340045ybi.8 for ; Sun, 01 May 2022 14:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7rmKOmP5MkmzB6kYwqydPOY8Y/8AVOpHSwETVjiHA9I=; b=WAyuZryKlUvTJ6kmm5uy/jwqa15kiwrjusdIJ5eDuY3LzFArwiFBHppsGeFl93dGUA aRFZM3OGRe9/1ZsfBAGsNrxtq9VIqDWOo4wYESFLFR0W3DPEm0C8ARYo3KzTKrBTkijw r9Ri8TPuCaeRW63/lCZyBKuHyXD3oxSXHsAVra2RElgjum4GrMmy4OjAN3XpyQWy8TaO yhLZRuBdNh8ocwUvZOb/5JKSEUzIjBzxE7DFL06GDxVfT8sWPk2RvudjrEDKInmr1+w3 5mOCiOp/5riekUqXbLCnRgTzfgjOdBAs7UcD7j5V28WNlgR84z+jAMc7M2oX2RI1uoY9 cX6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7rmKOmP5MkmzB6kYwqydPOY8Y/8AVOpHSwETVjiHA9I=; b=JGhKyEqMI4/no5AUvmWkgfcf3gkIvqjecY83H6M5jEbS9e8arMxBz9rU4hlAUTIotB 649mzRLuvd0P2hk4wXyL1XbflreFHMhbmnltIJwilU8Q7h04hlGb9oMSs+f57lxIWV+t y22HFfQds+3EsUO1lG72wGuMR0W2S85iY3d7o9bAyZDlGaQbY/mhIwt4W3anlKr5zmth kesEboAFdHGze+NEAtyx1LynwDf+GJdeXZVXYm/e6YtHSyL9jHFjKbIExetuOyTuA93p xccN5CyYaPHEvUcYb+WGpssZKF+PpSUNUJhG6DqBHxT1V+CZOBt3QGX6fc7DLHkD0Laj AZwQ== X-Gm-Message-State: AOAM532x2zu5F1ZJGHkQq/GwnYDoIBXFaXOGp4KHY2lCrZ6j7Y9fUeIT 6RMVXD+HhAbeMLLdolJH22ENYq1plTy2On9TOoM11g== X-Received: by 2002:a25:e684:0:b0:645:d429:78e9 with SMTP id d126-20020a25e684000000b00645d42978e9mr8676157ybh.369.1651442142362; Sun, 01 May 2022 14:55:42 -0700 (PDT) MIME-Version: 1.0 References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-19-schnelle@linux.ibm.com> In-Reply-To: From: Linus Walleij Date: Sun, 1 May 2022 23:55:31 +0200 Message-ID: Subject: Re: [RFC v2 10/39] gpio: add HAS_IOPORT dependencies To: William Breathitt Gray Cc: Niklas Schnelle , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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, Apr 29, 2022 at 5:37 PM William Breathitt Gray wrote: > On Fri, Apr 29, 2022 at 04:46:00PM +0200, Niklas Schnelle wrote: > > Good question. As far as I can see most (all?) of these have "select > > ISA_BUS_API" which is "def_bool ISA". Now "config ISA" seems to > > currently be repeated in architectures and doesn't have an explicit > > HAS_IOPORT dependency (it maybe should have one). But it does only make > > sense on architectures with HAS_IOPORT set. > > There is such a thing as ISA DMA, but you'll still need to initialize > the device via the IO Port bus first, so perhaps setting HAS_IOPORT for > "config ISA" is the right thing to do: all ISA devices are expected to > communicate in some way via ioport. Adding that dependency seems like the right solution to me. Yours, Linus Walleij