Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4582916rwb; Tue, 8 Aug 2023 10:28:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGr7dzCAxbWQ6tCsrxp8d/2wsfZU7tfNdYyMi5tUZSvrUpdLSgL0glUBCnnKkirLuNPl3Vt X-Received: by 2002:a17:903:41cb:b0:1bb:fcb9:f85 with SMTP id u11-20020a17090341cb00b001bbfcb90f85mr13396795ple.32.1691515712103; Tue, 08 Aug 2023 10:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691515712; cv=none; d=google.com; s=arc-20160816; b=IYrlesNmROJm2kLr3h9n8bCm3LPPcW5nX5IVJHlSop1oRGRt6O2OGft9UFp+nzMEU8 LhmP5Z14tjwnJNnkJz2ILoCY+mNMiQXIAO3DVSwZGoRymp+qiLTUbAPeYqi/Yim2fNa9 cq6V+4TXi1CH5jGbwID7ApnFJZWiZIddtFeicjCLFeoSO7zmiZe1GmgXhM4KoTf/IRiu WKVrIh24Mczo6Ihe54aYATkatW2UDJ7tNrZdc72LH0U+WlXx6wEVFVQ44mgbLZHw7gD4 HlDx0hGWC4+9cf6Z10MJmzyLsbJ2JwyFSWJ+PX5MwWop2sYcp01g9cfDefM5RTu2LNAo H0Dw== 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=IQuKxhRuIQ5UQb9hTkI2TXJko2oYrYVaLYAqzoCZSzU=; fh=pAx5JgEunQ1sFcK4RDz0bmn/3SuJZrrfyBTl0wLKgLY=; b=UhqXj5yjPd17y/sRkXZBV29IWlGkbnbZx1EWaEsgjDgRcHNNvNI+5YTMZgQFgUCgXM xX72sPfOxSn7o7DNH3J/zD2BukQHU2pqcDbCuums6Hd91ugMa0LsLQTQskLUdCZGb5zf ZYKkhTBZGk1H8U/1OyeFuzuEaexKlesJp2Uz660kDtE7WZYhcYpFBTslR+J7bgJNNQnc wzEJUK0z5LJWLveq6gVmcWME4aKSY1MSBB8tTe9TdWGoXqCBBaZ7zODQ/qc6w9TgGZjD 0+NxVEw3oEnX4Ajnw6KXq9KCF8M2YsxkkUz+6t/NZzDZdWwLlhUfGXYHCNoAzn02vVJ3 sg+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Co+Az8nr; 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 e3-20020a17090301c300b001b7f849cd12si7710566plh.81.2023.08.08.10.28.20; Tue, 08 Aug 2023 10:28: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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Co+Az8nr; 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 S232447AbjHHQZU (ORCPT + 99 others); Tue, 8 Aug 2023 12:25:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232511AbjHHQX7 (ORCPT ); Tue, 8 Aug 2023 12:23:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0602EA5EF; Tue, 8 Aug 2023 08:49:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4CFC5625D3; Tue, 8 Aug 2023 15:49:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 739F2C433C8; Tue, 8 Aug 2023 15:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691509781; bh=PUAWonAUPbtW2YJxANM18kHRL54qijZd61xXDG7EdtQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Co+Az8nrKuQemD9Hz1qRzv4qPtBes76iELh6VLqx6l/qlo5Dwv/Xtch1YbXDDR7G7 xf6Nfye0WYpGVEKA1iDIVOMaloU7LBFqjzfoGIrNU2DL/evE3KDs/Nj4ULTtAwdwf3 kHjm5TTuzx7+/piJij9Y+gpYaOuWKUOE07l2rpLPWriQeJSCTJ8TYagvSTw6YGprWH 12tjXJV3bj/cmdeHDDsVk7WAQxuMNIW+nNqvkqKyr998HwSPUDP/AxyDSSpavuM+CX xxQ7hTl6nrRM/4/Uc9F+WDwPi7zfE/nQOdFewyMB9fGVyiv5Xcsm2dPQdDH1e9hRgt krg455JAeafCw== Date: Tue, 8 Aug 2023 10:49:39 -0500 From: Bjorn Helgaas To: Thippeswamy Havalige Cc: linux-kernel@vger.kernel.org, robh+dt@kernel.org, bhelgaas@google.com, krzysztof.kozlowski@linaro.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, lpieralisi@kernel.org, bharat.kumar.gogada@amd.com, michal.simek@amd.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/2] PCI: xilinx-nwl: Increase ECAM size to accommodate 256 buses. Message-ID: <20230808154939.GA313654@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230808103733.93707-4-thippeswamy.havalige@amd.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,URIBL_BLOCKED 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 Tue, Aug 08, 2023 at 04:07:33PM +0530, Thippeswamy Havalige wrote: > Our controller is expecting ECAM size to be programmed by software. By > programming "NWL_ECAM_VALUE_DEFAULT 12" controller can access up to 16MB > ECAM region which is used to detect 16 buses, so by updating > "NWL_ECAM_VALUE_DEFAULT" to 16 so that controller can access up to 256MB > ECAM region to detect 256 buses. > > Signed-off-by: Thippeswamy Havalige > Signed-off-by: Bharat Kumar Gogada 1) I'm still concerned that this adds a revlock with the corresponding DT change. Is that acceptable? Should it be mentioned in the commit log? 2) Lorenzo or Krzysztof, if/when you apply this, please drop the period at the end of the subject line. I've mentioned it several times to no avail. > --- > changes in v2: > - Update this changes in a seperate patch. > --- > drivers/pci/controller/pcie-xilinx-nwl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/pcie-xilinx-nwl.c b/drivers/pci/controller/pcie-xilinx-nwl.c > index a73554e..b515019 100644 > --- a/drivers/pci/controller/pcie-xilinx-nwl.c > +++ b/drivers/pci/controller/pcie-xilinx-nwl.c > @@ -126,7 +126,7 @@ > #define E_ECAM_CR_ENABLE BIT(0) > #define E_ECAM_SIZE_LOC GENMASK(20, 16) > #define E_ECAM_SIZE_SHIFT 16 > -#define NWL_ECAM_VALUE_DEFAULT 12 > +#define NWL_ECAM_VALUE_DEFAULT 16 > > #define CFG_DMA_REG_BAR GENMASK(2, 0) > #define CFG_PCIE_CACHE GENMASK(7, 0) > -- > 1.8.3.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel