Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6473824rwl; Wed, 22 Mar 2023 11:04:26 -0700 (PDT) X-Google-Smtp-Source: AK7set+HMlQTxbg7juD4rwh0AONQw7wtaXbK+AU7sbyFldeSZZBxnurKIJTRtvdu6lXBES1ZDM5g X-Received: by 2002:a05:6a21:868f:b0:d9:2818:44d with SMTP id ox15-20020a056a21868f00b000d92818044dmr383213pzb.11.1679508265969; Wed, 22 Mar 2023 11:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679508265; cv=none; d=google.com; s=arc-20160816; b=RQtbrsMTWTDxxz2cf4/sYC4JjY7tcXV34IaLcXfbtxUFA+pL3Y17mCLuhEXKZXP41C pqdfYa7hqHPCSYyWnEipwjutk3+CX3a7ULkAYr4Xrh7dnCJpQN+PtYL35+yIDDrBXOFP 2PBU/CNN1NkRdy+kvU3dY2/aZ41OZWJP7Mp+tDDQ2qjQc+aaVjNOmQWx4kl/7GiphueZ oerzK/w7woe3Y5gaZWJu68C8NAjQrdEfPYbwgb3ikPJVmFfW+Z7r3izFdfZ1/S9SLfrW xPYgj6Q3rOjaHW+X2YpNLW9CCv8D9RY42FgwQyPSEbMd39jxQP2z/i3O0L+qH1J5nU2D pzKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mZzncM0ecKdqEUsYhFXJ0esFYC/77XMfZpKnpzc9Pjo=; b=mJlRbvomTJHRtBKrc+8vMJnAFXDXZxJwKM6Q8l3oEX6l3uxFGnYqjullf9Nstjmess 5Lt/IaTRHkjuBjMgStMEqnu4MNQz2WUXJL0mNtiLMnsKfLFKACGOFJegofBIxiwHZ5mY zqS6jSgUH7cjuyFoAIbReB+yu5bGhpKXNjGM3EbOciL/CN+WqhZXEgIPUc7Vno0o0CqU PoFH2qlQA8OkhAcSUxfvimG6CXughKC7sKzS6/0AcH8Rp80A0oLj9zBOrLieYuFltzPY I/BflMQmO9nhe15IsEWrNIVssKm5Sg+sSEZ08Ahqv0/bsrFO7kdnTcyAMyInixrCAR6w W6Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IUcv6xcY; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a056a00174600b005e1cabb612fsi17285542pfc.67.2023.03.22.11.04.13; Wed, 22 Mar 2023 11:04:25 -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=@linaro.org header.s=google header.b=IUcv6xcY; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjCVRuc (ORCPT + 99 others); Wed, 22 Mar 2023 13:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjCVRua (ORCPT ); Wed, 22 Mar 2023 13:50:30 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D14365DC85 for ; Wed, 22 Mar 2023 10:50:26 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id w9so76307926edc.3 for ; Wed, 22 Mar 2023 10:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679507425; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mZzncM0ecKdqEUsYhFXJ0esFYC/77XMfZpKnpzc9Pjo=; b=IUcv6xcY+oUqK4B4K+n84pEjRF1Psx65H0Dzjchq8r9f3+jpmE1pTENA5uA0BnowzV uAHKGZCR8yyg8Jit+UxQTdJxCROGAN7uq348vwc8S2H69pRtl7tUsw44O5Il6UYtsaJL kIMT/tK/BdJkDTFqio8I+0g8YAPmolNKM2rkS6ZjgwM4RAGgA6WhN5o4jOmnT6ttDilQ a3ta6K4l537tFjok0DlhZ9IE32cWpzokB25Z8h/HHOCll7WdcSeM+E6xHn8hIPWbxpUZ Ckdf5kTeXeg1u3DT1CiQzwqLefbWDZdlXRqhCNrxoLWtqhOhJLBBbtau0hTEpNq78HqY ccXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679507425; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mZzncM0ecKdqEUsYhFXJ0esFYC/77XMfZpKnpzc9Pjo=; b=HlbbdR0lmaGZnCNBdZTABBD2aUcHEth3VyYeyAkjOrIvvhK8c9wW9Vkwq4jMQJV/ie 6IlwFxNJW7rrI04q1sT4Mxam7hIVswymiW1VcA+X+/PT4V4wtAvqzAk+YUFQ4hTACHfC jyTH7MMqizWA/9nvML4jfGP9VRsIafuESJnz96ffw5ZOVb6D0W1zLy4MXccTfLizKX5g RP2xXFxvzV6EfYMB0T5jv2b2vsRWUAT9Hgj+fDBxZiBSE/rjdzQdIQumwJ9XG8EFbsF2 AbBkc7tyycQpEyjWnzjSIM0Rt1BIoPnU4+eyh+Sd+KQGP61aXYtN8O6byOb0kH4Y0FjH gYtw== X-Gm-Message-State: AO0yUKVtRsnzR8y7iqontKiSfVLe0C0h6o37qFj2sLekOBXVdwgdtV8+ RdjN5IwnjPPFH3S90DfIu2rnTA== X-Received: by 2002:a17:906:abd2:b0:918:668d:d6f9 with SMTP id kq18-20020a170906abd200b00918668dd6f9mr7468362ejb.16.1679507425316; Wed, 22 Mar 2023 10:50:25 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:5050:151b:e755:1c6? ([2a02:810d:15c0:828:5050:151b:e755:1c6]) by smtp.gmail.com with ESMTPSA id gy24-20020a170906f25800b00930445428acsm7656194ejb.14.2023.03.22.10.50.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 10:50:24 -0700 (PDT) Message-ID: Date: Wed, 22 Mar 2023 18:50:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [Patch v3 10/11] memory: tegra: handle no BWMGR MRQ support in BPMP Content-Language: en-US To: Sumit Gupta , treding@nvidia.com, dmitry.osipenko@collabora.com, viresh.kumar@linaro.org, rafael@kernel.org, jonathanh@nvidia.com, robh+dt@kernel.org, lpieralisi@kernel.org Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, mmaddireddy@nvidia.com, kw@linux.com, bhelgaas@google.com, vidyas@nvidia.com, sanjayc@nvidia.com, ksitaraman@nvidia.com, ishah@nvidia.com, bbasu@nvidia.com References: <20230320182441.11904-1-sumitg@nvidia.com> <20230320182441.11904-11-sumitg@nvidia.com> From: Krzysztof Kozlowski In-Reply-To: <20230320182441.11904-11-sumitg@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 20/03/2023 19:24, Sumit Gupta wrote: > If BPMP-FW doesn't support 'MRQ_BWMGR_INT', then the MC Client driver > probe fails with 'EPROBE_DEFER' which it receives on calling the func > 'devm_of_icc_get()'. Fix this by initializing the ICC even if the MRQ > is missing and return 'EINVAL' from 'icc_set_bw()' instead of passing > the request to BPMP-FW later when the BW request is made by client. > > Fixes: ("memory: tegra: add interconnect support for DRAM scaling in Tegra234") That's not correct tag. Anyway, send fixes separately. Best regards, Krzysztof