Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3938489yba; Wed, 17 Apr 2019 00:47:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSeKz5hH6FgLR3ZhMQH/JmYuws+GyORbVONMs+gSREfxK19d8zCFKoWO7yhBNb+MsHS3nq X-Received: by 2002:a17:902:681:: with SMTP id 1mr88769199plh.31.1555487251151; Wed, 17 Apr 2019 00:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555487251; cv=none; d=google.com; s=arc-20160816; b=fe+lw1of0iW2/CMTOVhmN1etbJ/nryNq3bf9A25IvP+sGQQ/1xhDdVTlrZy+vMzpbR aXqFrhGi19VbHeI65zLa5uouvijxzxV3Bn0VS1V0mjuvzlPwUfV/jUoh42Si1RzLKEib /QhHRrgQ/TefQ1soLbldRaOBXNc8q7V0pxcZ9X/7I8RjjtekIHz1I0jbPflVv50dwXI6 TO5fzxqFLIZbcF38pkZ5U0T4tQuuwaW5SbNjBtJWpFB8D4iR7TEJYU9juy4j8LVe7wQc g/VxA3PmUZBrhSRDJphhRYeLWSQqUxrI6COephGyS8LKHiMUEnJnSCzKTIWdgEJ3VLNb o0sA== 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=9XwYWsZkgfMEc9WuXu0uY1meaugIP+meDs14XT0iDyU=; b=S7o7nB287Uk1BMDj6EIOGxpOe1u4FOmNV2qn/b/avjPDiPGtpt6wKJ9W+nduvAUGvH pjY0IQwM3zXLeIPmv/Sf/0ClmZsD3pC6q83h+ETezfednnFeJtc4UGmuHFaO4Ew4PGHr psHCG5n6R0tfI8avos9Ib6IxUe9bWBoD0FvJrwfMVxqLoaMBKYL5k+I210SMdVSpw2gH jggcPophwi+GFI8n0XAQp0qgLKedVaKRkLdDgA0xk7KaAa/pkwv4rEMGwZqwDlCTUSqT P1Hj2yZWv1KuvMUWYUpDaamRnXxXkjiQQq60Qdy1bVr2xWn1rxYup1n+d2GHVtni5769 Qlww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fBekZvM5; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si24635728pgc.408.2019.04.17.00.47.15; Wed, 17 Apr 2019 00:47:31 -0700 (PDT) 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=@kernel.org header.s=default header.b=fBekZvM5; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731184AbfDQHpC (ORCPT + 99 others); Wed, 17 Apr 2019 03:45:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:32886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbfDQHpB (ORCPT ); Wed, 17 Apr 2019 03:45:01 -0400 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 278D72176F; Wed, 17 Apr 2019 07:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555487100; bh=X/KVqE9jCOjbsWOwWkL4ilBHdfReleeOKfr0zWv6Ys0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fBekZvM52j6mk+uJHJ0+DSHwZx6mJhWV+SX0dawIxbPVzoNgUD+oV24Yhvi5ai3rn F9PakeaJjoegJ+/4oYd8vOZk2R28+kY/0LlOeAm0WLvKf1/RJKF52jDhPf/8mSc2LF 0Av+tP2EEKV5jW625N+DLDhgAo5oCriSpNpMqp84= Received: by mail-lj1-f182.google.com with SMTP id y6so21480834ljd.12; Wed, 17 Apr 2019 00:45:00 -0700 (PDT) X-Gm-Message-State: APjAAAUWMRzjQ3S+mu4FmcvgJvard7qsCQWJ+LipFK/rr+cuBepDj70s N8KE42wKSTJ8ROTgOKmSbdmD1wpCiG+mLWTjOsY= X-Received: by 2002:a2e:808e:: with SMTP id i14mr48752595ljg.103.1555487098428; Wed, 17 Apr 2019 00:44:58 -0700 (PDT) MIME-Version: 1.0 References: <20190412172545.fkxnpnymhcw7xncc@macpro-scc.lancs.ac.uk> In-Reply-To: From: Krzysztof Kozlowski Date: Wed, 17 Apr 2019 09:44:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dts: exynos: add CCI-400 PMU nodes support to Exynos542x SoCs To: Anand Moon Cc: Willy Wolff , Rob Herring , Mark Rutland , Kukjin Kim , devicetree , linux-arm-kernel , "linux-samsung-soc@vger.kernel.org" , Linux Kernel 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 Wed, 17 Apr 2019 at 06:26, Anand Moon wrote: > > Hi Krzysztof, > > On Tue, 16 Apr 2019 at 15:49, Krzysztof Kozlowski wrote: > > > > On Mon, 15 Apr 2019 at 14:24, Anand Moon wrote: > > > Cache Coherent Interface (CCI) among Cortex-A15 and Cortex-A7, G2D, G3D and SSS > > > > > > Level 0 > CPU blocks such as Cortex-A15 (CA15), Cortex-A7 (CA7) are > > > joined as the member of Level 0 CCI bus > > > > > > Level 1 > Display engine block (DISP) and 2D graphic engines (G2D) are > > > directly connected to Level 1. > > > DISP, MDMA, SSS. > > > > > > Level 2 > While all the other IP is connected to Level 1 bus via Level 2 bus > > > G3D, MSCL, MFC, ISP, JPEG/Rotator/DMA/PERI, NAND/SD/EMMC. > > > > > > So my question is the mapped with the cci ip block correct. > > > Level 0 (cci_control0) > > > Level 1 (cci_control1) > > > Level 2 (cci_control1) > > > > Hi Anand, > > > > I do not understand the question - what is mapped with correctly or not? > > > > Best regards, > > Krzysztof > > Following the https://www.kernel.org/doc/Documentation/devicetree/bindings/arm/cci.txt > CCI node linked to CPU and DMA nodes for example. > > On this line below diagram from Exynos 5422 UM show various IP block > linked to CCI level. > Below image just elaborate overall architecture of Exynos 5422 CCI. > > [0] https://imgur.com/gallery/0xJSwGQ > > So we should map the various IP block to corresponding CCI level. Willy's patch did not touch cci_control{0,1} nor any other CCI levels so I do not get what are you commenting. As for other CCI ports - we do not define them and I do not see any users of device CCI API (cci_enable_port_by_device() and cci_disable_port_by_device()). But feel free to propose patches changing this. In general - it is easier to discuss if you show the code/patch, not talk about some theoretical change. Best regards, Krzysztof