Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp873580rwl; Wed, 12 Apr 2023 05:28:12 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGNqEqVpYZ382clyHX4gWovm90O/eYg7sPIGjgWAVl1qoJIw/RtLtLVvk/jNvd7QRtZtGz X-Received: by 2002:a17:902:c950:b0:1a5:1bb4:adb1 with SMTP id i16-20020a170902c95000b001a51bb4adb1mr21938265pla.37.1681302492179; Wed, 12 Apr 2023 05:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681302492; cv=none; d=google.com; s=arc-20160816; b=fLFvUrfxM4pkqb+1g5GxSjuE2QDLn0bgnYTYGk4TiBvuVTV+XBIr/gA0sj8fdwSIe2 T21sDUWwuQc8baquDY2j0TgspFtPTUvSLa/staLe/AmtGZzqnSdmaACI6+tA+kNC5mV3 U18I5V2z8JMtFP0cWeYwT/OwE+URr2b2VIiJRwpB/3JTRnZgbO/9kNZ78ZU2w84Oe6KI oxrTyd/ZaaFda+RsSZZJ6XyS0FPJot4VHLXjb9OHjV2720xPb1e056yDRd062Kwk+XDd mNDG532pN8LjB4W1voZFBzi6Ln3hqjt0BH/8UH26DIyAMJNkEASmwOrRc+8oYE9uoIdI fi5Q== 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=u3h3Qb1KatJSKEmGkyYMOlAl0W2Gj+Vwa3k7Pw9iuQc=; b=MpVISrb6UmhKpe8LKeZ/eN0vcbWMMFBjEn7Mdkv0DgbnzYS9/uMcmFs1nOjG5ZHPkS bfo8WTUaqHCS1TCxqaQK/kvZOyLFVQNHqN9B/lQD8+YqB2+L4SE1cH9VQd6C3gTAvDHD WT9x1Bmao00ETC42qAH1y/xFtjc4tWpOB6oYpM41mLf1WG+KzU+dWt3/+Q8KGQcjb8nl DpZe4oVpCAu2cW1yKw/Mvs+p+/oiqMY2La6GcjbYsxgbY564HX/19MUxbBswEflVvk7m uJBcvL4U5CGx+tiOxZsj2aqVOLNb1VzlVo0KMHnt9dMyzEJMYAnqyCi1vEgQm0tm8/or /QIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ymGqYnFV; 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 jy14-20020a17090342ce00b001a652580118si5119987plb.237.2023.04.12.05.28.00; Wed, 12 Apr 2023 05:28:12 -0700 (PDT) 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=ymGqYnFV; 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 S231591AbjDLMJo (ORCPT + 99 others); Wed, 12 Apr 2023 08:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231545AbjDLMJl (ORCPT ); Wed, 12 Apr 2023 08:09:41 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8BB346A9 for ; Wed, 12 Apr 2023 05:09:36 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id m4so14212422lfj.13 for ; Wed, 12 Apr 2023 05:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681301375; x=1683893375; 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=u3h3Qb1KatJSKEmGkyYMOlAl0W2Gj+Vwa3k7Pw9iuQc=; b=ymGqYnFVBhofOGOwR5Qn/oIyKTYickjGrpi24ONt4lLyDsJ1ZrSBxT2macuyAsAJFP hNjr+Cimvgd0WnNteNTfVwBV/sRR83sEftpMy8pgGuoMmTudyQ5nNdUGfVFSS8HPF+Kk NySgC8kvT3AwWBvy8aynSZVGbMOGdAQlQzZ3VCa57lZwe89J0tlx0tHHwOQ1ySO0cgQ1 kK2vGDlTslhj/6Q1o0+u288CzgaVXOb8EuW+ZOY684p2eudsdE3F7cvzZv7gkgwoVbZu IgzAuurhT0J3PBDtE+uitYQfjSSLi07EgpNdhS5PveseGSqYNIcH78ViLW8T+QWtZL/U RDIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681301375; x=1683893375; 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=u3h3Qb1KatJSKEmGkyYMOlAl0W2Gj+Vwa3k7Pw9iuQc=; b=dbn6njq4q+TcxWXaim+56W+e0iS7Wbc+Sfue/HFAf+9hNSBnyDljX4O2WOiYh/JKLE KTELsnK2BXhcYWMsxPewPZtRe6gJrokN/GnijS2ScrTZNyQui97bRGFsCePw7LV+zJzT OLYSknXWwF17t/aeW4/6ryI1gbWx3nA49CS9vbhhnxdbXusXiY39mOH85vyF8vTKMs6L qOBHmY+QlNQqZpUljeMIvcpQnWsR3LPfYlp010pFMrP2WKRhW381wbHsXx1CQnwJ7fz0 0dPh7gLaoxcRkEGlRyQh6p6N5iybhUm/TH+cj5HS+Ln16B+36AoiQiqO8gRknVQQ62uK udEw== X-Gm-Message-State: AAQBX9eFN2R/15vgWHLSkHcftqyILUtNm7me8zIeZ0vSPkBAyGNwPCuM mTNUKltWEmdYIxDBi44K7nNVCw== X-Received: by 2002:ac2:4d01:0:b0:4ec:7967:9e88 with SMTP id r1-20020ac24d01000000b004ec79679e88mr639622lfi.8.1681301375158; Wed, 12 Apr 2023 05:09:35 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id l6-20020ac25546000000b004dd6c325311sm2993786lfk.248.2023.04.12.05.09.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 05:09:34 -0700 (PDT) Message-ID: <2e648a97-083e-8ee2-1695-4af299bb222a@linaro.org> Date: Wed, 12 Apr 2023 14:09:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: mpm: Pass MSG RAM slice through phandle Content-Language: en-US To: Krzysztof Kozlowski , Stephan Gerhold Cc: Rob Herring , Thomas Gleixner , Andy Gross , linux-kernel@vger.kernel.org, Shawn Guo , Marijn Suijten , Krzysztof Kozlowski , Bjorn Andersson , Marc Zyngier , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20230328-topic-msgram_mpm-v2-0-e24a48e57f0d@linaro.org> <20230328-topic-msgram_mpm-v2-1-e24a48e57f0d@linaro.org> <168069726278.2356075.14351594478003012447.robh@kernel.org> <20230405134727.GA2461305-robh@kernel.org> <1e6e2590-ac78-400b-35ce-321d5e52f385@linaro.org> <9df12111-ec84-c4f7-fbcb-bccaef91b048@linaro.org> <3ce9b5ec-8b02-537a-c663-c849e80cab66@linaro.org> <198523f5-d06f-15cd-af6c-f391c02bcaa9@linaro.org> <1f8fc036-380b-0a42-bb29-a3e275ed6a33@linaro.org> From: Konrad Dybcio In-Reply-To: <1f8fc036-380b-0a42-bb29-a3e275ed6a33@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.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,URIBL_BLOCKED autolearn=ham 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 12.04.2023 13:55, Krzysztof Kozlowski wrote: > On 12/04/2023 13:47, Konrad Dybcio wrote: >>> For unrelated reasons I actually have some patches for this, that switch >>> the /smd top-level node to a "remoteproc-like" node dedicated to the >>> RPM, similar to how WCNSS/ADSP/Modem/etc are represented. I need this to >>> add additional (optional) properties like "resets" and "iommus" for the >>> RPM, but it would allow adding arbitrary subnodes as well: >>> >>> https://github.com/msm8916-mainline/linux/commit/35231ac28703805daa8220f1233847c7df34589e >>> >>> I could finish those up and post them if that would help... >> Krzysztof, what do you think? > > I don't know what is there in MSM8916 and how it should be represented. Similarly to other Qualcomm SoCs, MSM8916 has a RPM (Cortex-M3) core, which communicates over the SMD protocol (or G-LINK on >=8996). The Qualcomm firmware loads the RPM fw blob and sets it up early in the boot process, but msm8916-mainline folks managed to get TF-A going and due to it being less.. invasive.. than the Qualcomm TZ, RPM needs a bit more handling to be accessible. The M3 core is wired up through the CNoC bus and we communicate with it through the MSG RAM and the "APCS mailbox". Konrad > > Best regards, > Krzysztof >