Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8060353rwl; Tue, 10 Jan 2023 08:35:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXsQmcnhh94u6vavMb+fLJkzQA92ncSWOYFQnii0ryMeYipmYNYXPoGUt/sMoDPiRnz0EdlU X-Received: by 2002:a05:6402:b68:b0:499:b3fe:3b9 with SMTP id cb8-20020a0564020b6800b00499b3fe03b9mr7782322edb.34.1673368510829; Tue, 10 Jan 2023 08:35:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673368510; cv=none; d=google.com; s=arc-20160816; b=0yNYKCHZJOqUDe/DZtmyHS4j4QwGmhfV0PT51SGkyHGQ+/+NIkMKdRLfQUHEpcSe3G uv4FZNwkRJZqLylCssAjfh5yEIIHjxfNuLjogHitCKIxoaCINEGRjcIFyGasuj2llDBJ rAptr9yR/aHIa5Wp3kwPwd7oODhpJ0iyEfXZi2u1EiXmnhuUvdnZ5Mi3WeWuki02FYXi C+xRtI3Y7rxv6H1fyUTgfcRDRI0ii/4/Pju4cREpL06ekAIeCcdlLnf3EQE0rSLp8Qk6 t6jhW0ovP/aUp5MU4sm3ZNRCD+n/oxFeDqnyWJa8GreOhu30B5CyFxxSa1juVBp9Turh fY/w== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=T6nHs/PoRqsXrQtSFUl5RPWzHwCaDRjUk64+s9IGQe8=; b=P8KruF2UWo7UcjQz/qQYnuVbh0JvCV2N0Wnz89aiFRfPbYxZp12x9I2SXJvYwczvOZ H0kjetmN8RovNT7WBhsXDWs9FTk5HUHvICht6UiL506nOo65y0qhzZyCoJxi89kg72ZN +4ooDRzmV+dwMCgTPKz8DaiP66B6FIB4noOKEJQigUPPEhS/N6Ym7iKerxIxm6VIvsp0 8znHx0gReIDKsLsdPPcXyWQSWQdXx/kULF/kTByiVhS3/eGHNUjH9nzyn+yDSguqP4i9 1d6DyZaL6hxMzyFVp7jWpepH2tAIdZ8rz+N8EnlbJs7sfmnaxbFTppwhGyddZS/fXlhH spww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LAWqU2yp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd22-20020a056402207600b0046fbd084ea6si10844921edb.142.2023.01.10.08.34.57; Tue, 10 Jan 2023 08:35:10 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LAWqU2yp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233175AbjAJPiP (ORCPT + 53 others); Tue, 10 Jan 2023 10:38:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232997AbjAJPiM (ORCPT ); Tue, 10 Jan 2023 10:38:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5D0AE70; Tue, 10 Jan 2023 07:38:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C0417B81731; Tue, 10 Jan 2023 15:38:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50CCCC433EF; Tue, 10 Jan 2023 15:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673365087; bh=Ae0S8Vw/l+xGMbOvlfmhz4OmrcFgB5X+e/tuUD64qhI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=LAWqU2ypxGwCgqobnWL36+/jv/dCMhLsYAZUHxhpU110wHlVuN2EUk7Vvz4RC6X/E xff/aw4iDInfuL3EQZFPF4bs+vnYhRE91JbuGx3spYd4ZeybMLbTfmYBnXZ9ttamZz EBFMnKR8DXo9vOEZ3xvmKBPXnc/doVhI7SSeJ3CmSuhz/QItKad0x4TkR3hPrvHPBM 7crUXpv96kb6eqgL4UyOkoYbj4UF+4ApTdaf9wDnLXRcoPcchW7SB/YV39AY6IHiWn 2Uc7SWjQwWCTRfQBhPtTw0y/LMAH8l79DjKdRw4/sTWEjbFXpFnT5oZrBF2CcO67S7 HaKhi4i/GF4dg== Date: Tue, 10 Jan 2023 09:38:05 -0600 From: Bjorn Helgaas To: Vignesh Raghavendra Cc: Achal Verma , Tom Joseph , Lorenzo Pieralisi , Rob Herring , Krzysztof Wilczy_ski , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Milind Parab Subject: Re: [PATCH v2 2/2] PCI: j721e: Add support to build pci-j721e as module. Message-ID: <20230110153805.GA1505901@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Mon, Jan 09, 2023 at 09:06:14PM +0530, Vignesh Raghavendra wrote: > On 09/01/23 6:05 pm, Achal Verma wrote: > > Discussed with Vignesh the current config dependency of pcie-cadence and pci-j721e modules, > > it seems like for now to modularize these drivers with minimal changes is to use "select" > > as they were used before in PCI_J721E_HOST and PCI_J721E_EP config options. > > With this patch its now impossible to build PCI_J721E_HOST without > pcie endpoint support (as PCI_ENDPOINT is now a dependency). I don't > know a way to achieve this via Kconfig magic w/o splitting pci-j721e.c > into EP/RC (like pcie-rcar* or pcie-rockchip*) > > > Will push updated version with "depends on PCI_ENDPOINT" in PCI_J721E config to check > > dependency on PCI_ENDPOINT before selecting PCIE_CADENCE_EP. > > > > Please don't top post and respond inline: > https://en.wikipedia.org/wiki/Posting_style#Interleaved_style Apparently there was also email from Achal to Vignesh that didn't make it to the archives, probably because it was HTML or other "fancy" email. See the thread overview here, which is missing something: https://lore.kernel.org/all/20230108155755.2614147-1-a-verma1@ti.com/ It's best to use plain text email when possible. See http://vger.kernel.org/majordomo-info.html for details. Bjorn