Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5811594ybl; Tue, 14 Jan 2020 15:37:34 -0800 (PST) X-Google-Smtp-Source: APXvYqyQ7dLQLfDtA1iywg6n3XmK7SU6KBqRBj1NQ8IGfijFAJGvCTzcusT+nboOltrYzX22Eda7 X-Received: by 2002:aca:4587:: with SMTP id s129mr18079459oia.124.1579045054112; Tue, 14 Jan 2020 15:37:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579045054; cv=none; d=google.com; s=arc-20160816; b=puIa1batGCODpXhMEQgZa70luPbwMaY8sGhH094Ncy+tImemqgzWnSUsI2flfx0tX5 QvR2Uz0lztQIeOyuk4SamHasL+C694lq5qz0OJLyLA3uw5TXTSBJWtqMTjuSPQOlFwea JMKtaCI2S6ZoomA9CI12vJgVV5+9X/quflH5j2QafDb8OGVz3LCfAoWZLvSUKQ3to04x pMwS+nquW2PsvG8P3maMm5l7in1Ifdjq3Vje4/MXE9t4VrHpM1hF9OaS6f2vMzdjCmmr taFRKtQABp2733omP2eun8tudRcMZ2Iu1KymrEVlSjKOuu4+fGVcV0Uk3DPM8SkKueeX FrWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=7+8Ma8yfcl2diOB4I5famBBLS13KA3B5gNUsRjC85BE=; b=wJJdRoqadGgMAkZ2BAkLVMni+37yblBh+OFNIo4ZSwDlWrQDJZ/4Q6oTju0A4/DwEJ pOeeEtREWsIkGuwj92QNvUpS3TuUZTVQlYxFZTeEYpEgpUkQHPqQoY6Cy/MVQPmW3Xxh DuFt6M4KwR4iNUO5bg61dm0mTAWIGDyppOBkfInaWx2mrhC+Nq0wUSU8d12cFu08CdG7 XKHMuC/PiDEBsx4yVyW/TWwhjQ4JvQPKuPhtZTCyZcVq0DuCvTY3irubA7i4h2j01sKu chDYf20QQy677XZDnp2uKq4Z/GmkdUo3LGORR1WU2JL4ksa0z6x4BKyUemiW6Vh1Op/g XCng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=tgOcFVfA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6si8201672oin.93.2020.01.14.15.37.21; Tue, 14 Jan 2020 15:37:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=tgOcFVfA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728824AbgANXgZ (ORCPT + 99 others); Tue, 14 Jan 2020 18:36:25 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:34105 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728746AbgANXgY (ORCPT ); Tue, 14 Jan 2020 18:36:24 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1579044983; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=7+8Ma8yfcl2diOB4I5famBBLS13KA3B5gNUsRjC85BE=; b=tgOcFVfA4qpnrmUsjd7xH5z4P2sUDqkFNJB4mR+hv2pzWC+6fi8zNMZkuZqgBPfnIxzU4bee /ANYff1hnVWZ6QliXsc4eTr8i9rYf/jcdkimnV358QQjZ/E5unIX9XUNjvHJ43QX+Xz4JgtE uqbe9mXmpmFjqEKe7aNS4zTo790= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e1e5076.7fad57bb9960-smtp-out-n02; Tue, 14 Jan 2020 23:36:22 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A47C1C4479F; Tue, 14 Jan 2020 23:36:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.46.162.237] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: daidavid1) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6722CC433CB; Tue, 14 Jan 2020 23:36:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6722CC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=daidavid1@codeaurora.org Subject: Re: [PATCH v1 0/4] Split SDM845 interconnect nodes and consolidate RPMh support To: Evan Green Cc: Georgi Djakov , Bjorn Andersson , Rob Herring , sboyd@kernel.org, Lina Iyer , Sean Sweeney , Alex Elder , LKML , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , linux-pm@vger.kernel.org References: <1576475925-20601-1-git-send-email-daidavid1@codeaurora.org> From: David Dai Message-ID: Date: Tue, 14 Jan 2020 15:36:19 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Evan, On 1/7/2020 3:45 PM, Evan Green wrote: > On Sun, Dec 15, 2019 at 9:59 PM David Dai wrote: >> While there are no current consumers of the SDM845 interconnect device in >> devicetree, take this opportunity to redefine the interconnect device nodes >> as the previous definitions of using a single child node under the apps_rsc >> device did not accurately capture the description of the hardware. >> The Network-On-Chip (NoC) interconnect devices should be represented in a >> manner akin to QCS404 platforms[1] where there is a separation of NoC devices >> and its RPM/RPMh counterparts. >> >> The bcm-voter devices are representing the RPMh devices that the interconnect >> providers need to communicate with and there can be more than one instance of >> the Bus Clock Manager (BCM) which can live under different instances of Resource >> State Coordinators (RSC). There are display use cases where consumers may need >> to target a different bcm-voter (Some display specific RSC) than the default, >> and there needs to be a way to represent this connection in devicetree. > So for my own understanding, the problem here is that things want to > vote for interconnect bandwidth within a specific RSC context? Where > normally the RSC context is simply "Apps@EL1", we might also have > "Apps@EL3" for trustzone, or in the case we're coding for, > "display-specific RSC context". I guess this context might stay on > even if Apps@EL1 votes are entirely discounted or off? That's correct, the state of those votes are tied to the state of that execution environment. So even if the Apps CPU goes into a low power mode, other context specific vote will still stick. > So then would > there be an additional interconnect provider for "display context RSC" > next to apps_bcm_voter? Would that expose all the same nodes as > apps_bcm_voter, or a different set of nodes? We trim down the topology to what each execution environment needs, so each EE really only "sees" a subset of the entire SoC's topology. In this specific case, the display context RSC would only expose a small subset of the topology that Apps@EL1 would see. > > Assuming it's exposing some of the same nodes as apps_bcm_voter, the > other way to do this would be increasing #interconnect-cells, and > putting the RSC context there. Did you choose not to go that way > because nearly all the clients would end up specifying the same thing > of "Apps@EL1"? That's correct, the majority of the consumers will stay with default Apps@EL1 context. -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project