Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5193627rwb; Tue, 17 Jan 2023 10:18:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXt9ojAj1v/NcUvIybn+zqjDgOxk67sz+0I3esLP5DF3f3DSHFvARmxiq7QJKhrjFUG7Gysc X-Received: by 2002:a17:902:d58a:b0:192:dfdb:9ebe with SMTP id k10-20020a170902d58a00b00192dfdb9ebemr5145572plh.10.1673979493194; Tue, 17 Jan 2023 10:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673979493; cv=none; d=google.com; s=arc-20160816; b=Z5UTtF6oJwd9675ge2zs6FxO6XEaZx+glN6rVZ4eCtYbZ3tXIJDIdtNmaTazLm6H15 9yumnpnsxT8TGBujvLVRF+lhM3ZbiKjI6qoPM06lCc5U68skSHY1LrqefAgTat3wrnT0 74k1R7dk2DQOPLnXd4G+JZc7s3HeiKSOLPFPyT2yH2qMM0vrstA+cf8MNQ5ep3e2WqwX xWQsnnkob8jzyl0lLnhIEGUfv+B2HAKEARqWy+s8dKsWG40XvlTzFYjcWhiNz/tBcJHS xanMxGdc8ErUvta4+ND3+hkAd1Frnx7DJHDoaiRyWr7oj9z2EkXnVrOJQA/61NZFxn+R Knrg== 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=p9X/E0nTuGg/ziYb/sqmkQprPxdu3YzscqPmDsFFV0A=; b=fiW6qCtrmSkPYXWRJffb/TIIWp0IsAIrpVnAWGGEpUmfXfw2q2oCV+GlInrzUOLMLy cVLwolq2zZs599ZJ51Das4iZ2Qq3nuhR/hw6awOoXWgKHl3g6dYVLHMyh0GwfU1ygnWB ulWtHeXzTvf9Tl8tWAEV4D0IrCpUCAOqrzxs6U0L049OkUf8c1P1p/XQoLg/HjJIPedc 12m3+cweu68ihBV6MRyiS3CKkHLg+9Jv8YDu3jMVQWrHCNxbjGYv1YscWj+8+JPdQj0g 2rGgjNCVnTd3klb+DmnBFglzNFRl4uFVHHfcbjFTIRDhQLyd7KJ24vOnMkynAowqdBqX pqew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XL51Sdal; 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 i10-20020a170902c94a00b00194a1f665b5si4668204pla.570.2023.01.17.10.18.06; Tue, 17 Jan 2023 10:18:13 -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=@linaro.org header.s=google header.b=XL51Sdal; 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 S231174AbjAQRlx (ORCPT + 50 others); Tue, 17 Jan 2023 12:41:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232629AbjAQRkd (ORCPT ); Tue, 17 Jan 2023 12:40:33 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C80521D2 for ; Tue, 17 Jan 2023 09:33:45 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id l8so5739700wms.3 for ; Tue, 17 Jan 2023 09:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=p9X/E0nTuGg/ziYb/sqmkQprPxdu3YzscqPmDsFFV0A=; b=XL51Sdalg82WE+JbLXz2SEBksj+gjR62nkt4OBlAalqXk0EgjRcohyFDzhBxNcSjpP o83Z8TyUspsUYg7ojxlj/77unJED9W7maQDtSjFs6PqFtziXLzM5SydD5zLrE1edKgUL g6fE7WZ8R9oG4cqdG/Gd+lfL7j3pGG37+8TF04Xye8h5Si1afbg4UV0XySn27QxamMl9 QneAMxb1z2s6hQ83ZW+cRXQz0SD9teCbdlX1glNqfpo/tiO55hXoH8gMQvSWrakRO5rc 4ze35KGmUc7WLSUhxBosJVhWMdnwFrcffGd4fVSWb+CnJjEmKjRgBQ0M7ME8oZC5aw9h EZ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=p9X/E0nTuGg/ziYb/sqmkQprPxdu3YzscqPmDsFFV0A=; b=VRwi3QDlWt4lX0gPcGAiRTdovAGH8R9p0h0aIjoT8qBoNTHD+7lMmgKqKYbl0KbH2c DhldvAMOaklp+MG8gf6ZC63j8EbwJ+nlEePrfMnWY2HjzaJubbpZBLc+Jz0ypyNMFdll evylQoJfhgLFFcBv6c1yLek9RQ+WjkCY1nxDE4LgyY3BrJrIsWJ0jsGDrQNyMJW1k37I xCWiVWwoorUHqe/iNjnVentUxpfJlIReRJdklzBTXD6HC2LNDaOtbWV2vyq3tZsd+Q8o 4/qqs+OgiOVievFM2zvxWiNa404YSAZMaiFvjMANsTEstOtLiFFKReF1lIpQL1/Q9izO 2ugQ== X-Gm-Message-State: AFqh2krsJyBumvg0Ev+QMnVDX2fS2PA+uhiNzRBCrkAAqD/uQyYLIsjl RfL56863CG1RxQgwO6DXajmiuA== X-Received: by 2002:a1c:7415:0:b0:3da:fd07:1e3 with SMTP id p21-20020a1c7415000000b003dafd0701e3mr3750361wmc.22.1673976824626; Tue, 17 Jan 2023 09:33:44 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id he12-20020a05600c540c00b003d9ddc82450sm36592707wmb.45.2023.01.17.09.33.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 09:33:43 -0800 (PST) Message-ID: <754f8193-09ec-8bbf-e0d4-898525dc242f@linaro.org> Date: Tue, 17 Jan 2023 18:33:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: sc7280: Add cpu and llcc BWMON (=> interconnect issue) Content-Language: en-US To: Matthias Kaehlcke Cc: Rajendra Nayak , Georgi Djakov , agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Douglas Anderson , Stephen Boyd References: <20220902043511.17130-1-quic_rjendra@quicinc.com> <20220902043511.17130-5-quic_rjendra@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 17/01/2023 18:27, Matthias Kaehlcke wrote: > >>> which would set the initially bandwidths to 0 and determine the actually >>> needed bandwidth. But since the driver isn't probed the initial >>> bandwidths stay at INT_MAX. >>> >>> This isn't actually an issue with this patch, but how the interconnect >>> framework deals with devices that are registered on the bus, but aren't >>> probed (yet). Not sure how this would be best fixed. Georgi, do you have >>> any ideas? >> >> Why the device is not probed (yet)? If it is registered, it will come >> soon during boot up. > > Because CONFIG_QCOM_ICC_BWMON is not enabled for the board in question (see > above). It could be enabled as a short term mitigtion, however we shouldn't > require drivers to be enabled just because the DT has a corresponding node. It's the same case as with all other interconnect leafs/consumers. The same behavior if you do not have it enabled, right? If not, I wonder what is here different? Best regards, Krzysztof