Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp734789pxb; Tue, 2 Feb 2021 17:05:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgEKEhazfJTg6H588djo19C0MT1Gju9FnJOBRJ3UIXG78W1JULr13aEmP/sVQlt8T3oLAE X-Received: by 2002:a17:907:b01:: with SMTP id h1mr656750ejl.450.1612314303125; Tue, 02 Feb 2021 17:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612314303; cv=none; d=google.com; s=arc-20160816; b=IOiuSAd6lkSHGIVrkO4pPDXZQX4V9bIMj7txPS0kQOck/6UJdgndSULEKE1Pq9IqYY fitUWsrDBs8M34e2V6bPMLZWbBw7u3k0gDWKoVxmCkUxHucEz72SEz9qDHBceGw9eNwJ p7X/tip/o+bs7JKGkw9wJRa6DxWUGGyj2Z9SF8eBBaHv2F7v1UrrozwSOX1JsuZ/wXz8 YT81oPSCUR8g2IKAQqWgCMlY0RSDZ+dVyVmoXPaSxw1YFmXF+JAc9Wo7qqQaTEc5bIwO PK9bieSYulPOYgJ7V8EZ7GWEssC06XgdnCckWfu8MKoKoVAVkkYnOIwq1Fpp/br2u2uu iDFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=WrIVK8sDseMlS4o9lz0V6MRsGpJ6jWjlISOO9cArdaE=; b=qrsrhLvqQw3X8tMe2iLmADsGBgPNbmFDa0ECrKnif6fUJ7y5X99ilmSqcFz4RcTu9n GO/4CayQP5BahVMjKWi4LSy8XLM63lDqSSdNVKfqe1/x7wdOV5E4CkBvZqXLefFXIbIW LpbIdQy3D8LzpDuwCwfkwPRqa05Nda99oZg7Tw6StgJBrXgzpH/wv376cYgX3SMsrxst Nqq7QvA+Jk6vjDRhz+FhvKmJSp6p9t16cEr0qRLFWFYkD2lGtmnR7iVf4HfVJJEtWkK5 9o0dQZJ6r3ucpQmk3QJ5S+QN3gmXIvWYImPWig4G6dzA8U7XEAcXGqWJOIXo3uHwSEZf pPTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@squareup.com header.s=google header.b=SWSiiHtZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=squareup.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si305461edi.216.2021.02.02.17.04.39; Tue, 02 Feb 2021 17:05:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@squareup.com header.s=google header.b=SWSiiHtZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=squareup.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232414AbhBCAvH (ORCPT + 99 others); Tue, 2 Feb 2021 19:51:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232429AbhBCAu4 (ORCPT ); Tue, 2 Feb 2021 19:50:56 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9276CC0613ED for ; Tue, 2 Feb 2021 16:50:16 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id cl8so2097403pjb.0 for ; Tue, 02 Feb 2021 16:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squareup.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WrIVK8sDseMlS4o9lz0V6MRsGpJ6jWjlISOO9cArdaE=; b=SWSiiHtZvYGMNzfqn0C705T+byGm0SCksZTFqTryqHaM/C6AJ2+ZFyZfH977qTEzUb S+fzKzvzpBfi9CqT6vS20/vSqQ3Pgf9kx+tWZTe7I7oF+n7AL3aNgDDxxV/YNFIDK463 IDXak76GlG862GDExIWJUcWa9x1fedwPFH+1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WrIVK8sDseMlS4o9lz0V6MRsGpJ6jWjlISOO9cArdaE=; b=unVfw5maaquOGWCNDLKNGvrIRkaLHqDPRX/5gYzPoKs6PYoQiZiUVfJuxaCtaAMN0h qy0Nc3FDDEcRXSOFvqhr7rivMaueCMZNn7UL6k0EZ3MieUEbIiwkl8pVJr+5LXayDM3U qxzQpgppSZb+UIRxaXolCZqZlDLsvde5aEEIhtsC1C9t+OKGco4L03QsglI7PaB+f4+G TiAP/PTezQrPqojZF+SqsmdJtR3fqOS4WO7EbXpfQLHHENcv86/qIjzqcozgVf41GcJI yVO+RTp8dC7sXRM4E7mYWH11ou9ozggpX0ehqvacrBRnsyifa9fz0nw/OWtiKpIvzO9T 0FJQ== X-Gm-Message-State: AOAM533hnnuYjF5gTLQ+0a2hB/jl31ThylbG8ODqMDyDcYb3Skq8js60 dfDWY8UaunS/VJ4vzztW5K8MCw== X-Received: by 2002:a17:902:a614:b029:e1:5b43:956a with SMTP id u20-20020a170902a614b02900e15b43956amr846276plq.38.1612313415034; Tue, 02 Feb 2021 16:50:15 -0800 (PST) Received: from benl-m5lvdt.local ([2600:1700:87d0:94f:dd59:3fb8:f6a9:fc02]) by smtp.gmail.com with ESMTPSA id z11sm169589pfk.97.2021.02.02.16.50.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Feb 2021 16:50:14 -0800 (PST) Subject: Re: [PATCH v2 5/5] interconnect: qcom: Add MSM8939 interconnect provider driver To: Georgi Djakov , Vincent Knecht , Jun Nie , devicetree@vger.kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Cc: shawn.guo@linaro.org References: <20201204075345.5161-1-jun.nie@linaro.org> <20201204075345.5161-6-jun.nie@linaro.org> From: Benjamin Li Message-ID: <7630c4aa-b023-55a6-e2aa-37a7538c6b45@squareup.com> Date: Tue, 2 Feb 2021 16:50:12 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/21 5:54 AM, Georgi Djakov wrote: > On 1/2/21 13:08, Vincent Knecht wrote: >> Le vendredi 04 décembre 2020 à 15:53 +0800, Jun Nie a écrit : >>> Add driver for the Qualcomm interconnect buses found in MSM8939 based >>> platforms. The topology consists of four NoCs that are controlled by >>> a remote processor that collects the aggregated bandwidth for each >>> master-slave pairs. >>> >>> Signed-off-by: Jun Nie >> >> Shouldn't some rpm ids be changed like they were for msm8916 in the following patch ? >> c497f9322af9 ("interconnect: qcom: msm8916: Remove rpm-ids from non-RPM nodes") >> https://patchwork.kernel.org/project/linux-arm-msm/patch/20201112105140.10092-1-georgi.djakov@linaro.org/ > > Maybe they should. I don't have the hardware to try it, but the test will be > to just add the NoC DT nodes, enable the driver and inspect the boot log for > messages like: > [    2.926647] qcom_icc_rpm_smd_send mas X error -6 > > Thanks, > Georgi Hi Vincent & Georgi, Thanks, I ran your suggestion on an MSM8939 board (with an additional change to print slave IDs as well). Results: [ 1.901376] qcom_icc_rpm_smd_send slv 24 error -6 [ 2.005977] qcom_icc_rpm_smd_send mas 20 error -6 [ 2.010250] qcom_icc_rpm_smd_send slv 20 error -6 [ 2.014684] qcom_icc_rpm_smd_send slv 106 error -6 [ 2.019338] qcom_icc_rpm_smd_send slv 107 error -6 [ 2.024615] qcom_icc_rpm_smd_send slv 29 error -6 [ 2.028782] qcom_icc_rpm_smd_send mas 3 error -6 [ 2.034657] qcom_icc_rpm_smd_send mas 100 error -6 (and there's another slv 131 that's hidden by the mas 100 failure) Jun, I'll send you the patch I tested with to silence all these errors, if you want to just squash that into the next version of your patchset. Ben