Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5738999iob; Tue, 10 May 2022 02:29:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwxdsrNpQC4hQ8Hheejm1jIaM3BWQersLUYfrF2kxydxs+GHyOHOn/FMULW3MH4tjMY3xH X-Received: by 2002:aa7:96c2:0:b0:50d:90da:f8f with SMTP id h2-20020aa796c2000000b0050d90da0f8fmr19764100pfq.52.1652174972520; Tue, 10 May 2022 02:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652174972; cv=none; d=google.com; s=arc-20160816; b=W6RQ9dGfTdHo099rpE5zNhMtjMPb1Qi9jvqjhiWDtctDIPC9VZ/wh+QAg7E3DHn4fW eH6UR3zUCbGeDbmxkBR+rSvmBq18N8dP4LHBV/1C8EcM3ZqRcSGok0Hq/KG75ghUfqAQ VHnCHyLDTJ1KiG8uKmVxYQiJUVSjCgxlReJDPRooAozdN4I31jz6t9kpsrajsE0QrIsJ bsL0fEgoCZwIJ9Hu9Djkeg94IKKfBVvZCp8JFlaVXEMLhf0NPDzEssepujN99XcqNxfZ g3jgKfpp6pFqWPziBr9wGc6CNyejOQsiXHhXH87SY9ysrJnMEtDB1EtyK1xHWFhP32iX o/zw== 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; bh=Fo4vqfFCJO4dTHiOSh+MRYxkxA7rYkGYBM5+Lz22icc=; b=b02H2oZx0NxpGTYUG/gA3YOMtPGKg/3U3GeYc/AfPbPAukwkGoPH4BPb5aE0ku6R2u +OoyOLsNXppNalwLap/GKI45xaiwHb29CJr0n4Vglkq1sS7nPguvxumIzt+GAATtXDFl Gewo3CS8ImM/sFU+V5/NDDZPSaWb3ZiY5P46pC2Lc7BwSCLPwQ5gZS+1FQvR+VRCOID+ Mb9swN9Li19xmeqfaT+swKmAaPfhAwVyBqT8p5Cfe/AJtDPRsoS5ggKBuhfS/ExJ7bEX V1QPOHZW4B6R5wnPXyoCZRiTsf5YkPI2m4iEBcijw7epyz98BSLkwyj7XDT33N/HGw6g nuzg== 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 il2-20020a17090b164200b001c68e9e0e68si2652153pjb.36.2022.05.10.02.29.18; Tue, 10 May 2022 02:29:32 -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 S233140AbiEJHkq (ORCPT + 99 others); Tue, 10 May 2022 03:40:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237566AbiEJHer (ORCPT ); Tue, 10 May 2022 03:34:47 -0400 Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F88663C4; Tue, 10 May 2022 00:30:49 -0700 (PDT) Received: by mail-qk1-f175.google.com with SMTP id c1so12612082qkf.13; Tue, 10 May 2022 00:30:49 -0700 (PDT) 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=Fo4vqfFCJO4dTHiOSh+MRYxkxA7rYkGYBM5+Lz22icc=; b=UmHxso13IjA2mku/Wdk9OREuCmAPbFw8jsknirIOP2QD28XmEtmJt011uwZQMmvpWX wWsbWOAfazYENaIupnmB/qIofJCbG7tjRFfqORL4rYtBP7VIRHCj2SFH8W4EJ3VboBff TjH61ml9Ie/cRZPJ/rUccOpePBe1RfR5JJnXaF0IP7u3obuOcLGp2kwWbEYDtvsZwZDj Ayn5yjIjIMPlSlN+meU6fF7ZlWhUfr2iJSPuoqEVYJc0Jj7s3Xz1a3ZUi8dGfcplXT0O IGfSAMfja7add+Mvf1bczSvxrUY0MCa9yocszK5DCpvTjkSK79gaFxAd37S0uR4J8lu8 bqtg== X-Gm-Message-State: AOAM531P1HvNxvvJeIOtjhS0CN6g81HqZ+XO8IVwLw968c33pi7bzbJ1 oGY4VyYVnzLHsz39mUgY7iWD/jwYiB1SWQ== X-Received: by 2002:a37:5e82:0:b0:69f:529c:4d39 with SMTP id s124-20020a375e82000000b0069f529c4d39mr14302377qkb.440.1652167847953; Tue, 10 May 2022 00:30:47 -0700 (PDT) Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com. [209.85.128.176]) by smtp.gmail.com with ESMTPSA id o28-20020a05620a0d5c00b0069fc167df92sm8045726qkl.82.2022.05.10.00.30.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 May 2022 00:30:47 -0700 (PDT) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-2f7c57ee6feso169876417b3.2; Tue, 10 May 2022 00:30:47 -0700 (PDT) X-Received: by 2002:a81:9b0c:0:b0:2f4:c522:7d3c with SMTP id s12-20020a819b0c000000b002f4c5227d3cmr17920371ywg.316.1652167847192; Tue, 10 May 2022 00:30:47 -0700 (PDT) MIME-Version: 1.0 References: <2b7d411b4a7913335082c858cb0d63b9e4bf7c5b.1652103920.git.geert+renesas@glider.be> <20fd1a74-c0f5-d8e9-4903-b74c185d5aa3@kernel.org> In-Reply-To: <20fd1a74-c0f5-d8e9-4903-b74c185d5aa3@kernel.org> From: Geert Uytterhoeven Date: Tue, 10 May 2022 09:30:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_K3 To: Roger Quadros Cc: Krzysztof Kozlowski , Tony Lindgren , "open list:TI ETHERNET SWITCH DRIVER (CPSW)" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Roger, On Tue, May 10, 2022 at 9:22 AM Roger Quadros wrote: > On 09/05/2022 16:48, Geert Uytterhoeven wrote: > > The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is > > only present on TI OMAP2/3/4/5, AM33xx, AM43x, DRA7xx, TI81xx, and K3 > > SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_K3, to prevent > > asking the user about this driver when configuring a kernel without > > OMAP2+ or K3 SoC family support. > > > > Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable") > > Signed-off-by: Geert Uytterhoeven > > --- a/drivers/memory/Kconfig > > +++ b/drivers/memory/Kconfig > > @@ -105,6 +105,7 @@ config TI_EMIF > > config OMAP_GPMC > > tristate "Texas Instruments OMAP SoC GPMC driver" > > depends on OF_ADDRESS > > + depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST > > select GPIOLIB > > help > > This driver is for the General Purpose Memory Controller (GPMC) > > Is there any possibility that CONFIG_IRQ_DOMAIN is not set while both > OF_ADDRESS and COMPILE_TEST are set? > > That particular case will lead to build failures. > > e.g. > https://krzk.eu/#/builders/63/builds/162 So it needs an additional dependency on IRQ_DOMAIN. That is a pre-existing problem, not caused by my patch (which adds more dependencies, and doesn't remove any). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds