Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp139495ybl; Tue, 7 Jan 2020 15:48:59 -0800 (PST) X-Google-Smtp-Source: APXvYqykmwlF/QE2UWIwwiCHD9XjmpOLdHsQM0lsCpXQBrbZDihWwM6JlhXstMZTnYGdCjavYCaz X-Received: by 2002:aca:ef82:: with SMTP id n124mr902775oih.88.1578440938922; Tue, 07 Jan 2020 15:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578440938; cv=none; d=google.com; s=arc-20160816; b=D1GEDk0PsEdrfvdCBPz8L92RijWpS0aBBnXOVifdR8BrUW8VIORyQj61E8gpSwlU7/ MrRZAoEzWQK7dOhHzrr5AgL3160PsxRsKp3M61PBbY6N0TUGOxr+1WH4Umr/rlK7HGWL gK7M5t1lDX0Rx5k4JONoo1OGC/GbAQ5X4HJL6rfllaImj7qhpM5qvoeh/rmp+sJpa+Md LGyuHkCA21i0VyiBdzRkmHtwrySj0aeKmles9C6OZo4rGslKH01tJULMkX3exewo/Pkn WEHVU0quM5ZWb1Pd0TlSmW727QGb0EcE0M0Ra82NQiu0pavuAlERWb5mXkIkfRVKig3/ y7nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=HQMY8R3LoWt/DsrAqKQp49rhgXtLc3e3mn4wK30Z9bk=; b=j+UoHY1epFaVKu78DoK8g+uMxVQ6Hk6CFmVy8Vav1NsCO0MiwO1cFdMPxNpADdmVdw Xk7Km6+dLefsz3L2rYz68N6j2oeVkQPZOJsK52V8dYVHbvgoVJ/IX8OhZ8YLpRXr3pXJ QDZ94kxVE8IGbxn8iPOgLsPC22JwDXIEIfCWKcmuflCxiIVzYttVzUmM+kHJ9hktrDOl 7BI08I0/boK8hYVyVzE6C6fhJxWwS511gnXxB+WPCVyrtmyEEY4H3rZ5LLOLueUaeW2v 478hiJkoojM3aFZPmXOtRv718TlgMv3bRqlMMpMXh1YY1WDj35+EL+mwPA0f2gBZ2SPj Dp6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gkmbpd8b; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si741329oth.182.2020.01.07.15.48.45; Tue, 07 Jan 2020 15:48:58 -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=pass header.i=@google.com header.s=20161025 header.b=gkmbpd8b; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbgAGXqI (ORCPT + 99 others); Tue, 7 Jan 2020 18:46:08 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:44386 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbgAGXqG (ORCPT ); Tue, 7 Jan 2020 18:46:06 -0500 Received: by mail-lj1-f194.google.com with SMTP id u71so1361630lje.11 for ; Tue, 07 Jan 2020 15:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HQMY8R3LoWt/DsrAqKQp49rhgXtLc3e3mn4wK30Z9bk=; b=gkmbpd8bIKIIQEgsb7PEU+2r4ebECX1mH3jgU38dGjJQ8bwXIJG5GKLnoLrnX3Q1Tp v1SDB6I1ZXgqhUT4odQ8aVr64tXRhQzQKUJB+gim+8tzuQBIEEgYa0NEh52zxV9MySl4 8hPqbEMycxVGQOzMT2ZoovSrn2sYCBWsQ2InRnJJnXhziW8CiS8uBVxVuagMUfjKujCp HniHcll8yMXWX4ecEITXFam+QamI4BHfLL7Gcvl7S+kf3c4RHt8RoST1Bi3vdrXuETyI Kn2nFOF6G8BTDLxmpQhXEOKSQ8HHgKI3g4y9E8Ezgf28cpYXwn+lC6jP8DwKEiXAfN4W io5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HQMY8R3LoWt/DsrAqKQp49rhgXtLc3e3mn4wK30Z9bk=; b=ti9jaMUni3h9qp4EAFrJ+ujNtVniNkVQu3BDyuYNlyPOVtRMiVtuVBAEb9N6LRiFow /JnBPsTK2bOkima8g712p1B6Z5is6mcSw7ljQ8NWmmQKiyQZAGY+ykcvTWlB3KOOZEnE mbmR9Qiirwvfp3t6/CaeLj9MlxQaJ9zhJiR1x5bQEoot+arzelXLCO+SwPV82p3ejSAc E8+u4kdNzAjB5WzP+chdrTN7RmCYrVoQ8V7rySQaHt99irxTGnCS7MAeYtri3UoT8u6v Vl0NsoJmSnetOdDkeuTqoUIraCeHiNTp3W3lXIFyL9l5+K5j2WEwZRhZ+Rrs6qJr3xtb YffA== X-Gm-Message-State: APjAAAV59Qd2ttdmD2uE5v+i/WxJMMztDGNRwi/N/Lgm3r3OtAk98tTd E5U+ejErfpknUI6cxyZLkgqogjjp0UJhTxsCOIQkqg== X-Received: by 2002:a2e:9e03:: with SMTP id e3mr1170522ljk.186.1578440764122; Tue, 07 Jan 2020 15:46:04 -0800 (PST) MIME-Version: 1.0 References: <1576475925-20601-1-git-send-email-daidavid1@codeaurora.org> In-Reply-To: <1576475925-20601-1-git-send-email-daidavid1@codeaurora.org> From: Evan Green Date: Tue, 7 Jan 2020 15:45:27 -0800 Message-ID: Subject: Re: [PATCH v1 0/4] Split SDM845 interconnect nodes and consolidate RPMh support To: David Dai 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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? 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"?