Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1256157rwl; Wed, 12 Apr 2023 10:07:21 -0700 (PDT) X-Google-Smtp-Source: AKy350aV6hmjv2g8dMbrkvKjs3gecazimb2o3grFnpDkx/yzYzqZdNTFex+GXWUkyZTiG/nex3Ye X-Received: by 2002:a17:902:bc47:b0:19a:a815:2858 with SMTP id t7-20020a170902bc4700b0019aa8152858mr3136159plz.51.1681319240964; Wed, 12 Apr 2023 10:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681319240; cv=none; d=google.com; s=arc-20160816; b=gVXEX2DwnaBfKwalDe+krL7VQFd2oZu43FSVYhXnKj/nnGmXHMv5dzHjsIirVq8h93 yMOJ9bMnpkyiA83QdCVzcOEWitwMQfl89vx8/gkTGMY+L0eVtnrmZgXcMG0Lq56SdwCV 6CU3KwlfUCWlj8cp/sW5ZSsi9ws1hpbpu1sB09FHcIn6ISCclua1L7xo8u6yoy51FA3h af+ED7tzA3dchE7G2iPMR3QMXMsSnugRPtl4tySGJEGEg1F90QsgvQtKuKZ9wZN3m7cI I9w/oqzqociEzBeKd39paMbp8tnDVGUXG0B+9Elt+1PzbPAfmjejRx1MSMEr3fg2qJRW /Xcg== 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=kG5Bp9G8GHRtnaihhtMcFrai7auGDwatUysUi5rRPM4=; b=W0LxM9llhYnqNG6XYBZviCyQydJIGbje2wbHvEvXX58f7JYHQ1umkD24OT9cbH7Aqs MVSKElHQbp4oZTsmxeEwgjkPPYKvU3BfSdis2aY8Lb37Q+qcKgxEmKmzPvZge4PBZxT/ lSF6mAYKvpNDPntz6qwnMbRwz8vehImtMw2vpsYgJlzQc0hdNmJ76ZidmcGY2EitzR6K aYpXuhbYLVdcnLZ9fP21+Z74DaGCnA4xsTT1cWE70qy2S50XAnOd54orYHNBCM1G2Sd9 8EMgT11O++ThCMF/O5SU2Mjk7P7ug3zE/i1Q2kZxbcQSFKxhFK46gZq2NYrgYXaraIv3 FT+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t3PMe32E; 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 j12-20020a170903024c00b001990a6daf9fsi17805731plh.535.2023.04.12.10.07.08; Wed, 12 Apr 2023 10:07:20 -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=t3PMe32E; 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 S229602AbjDLQyb (ORCPT + 99 others); Wed, 12 Apr 2023 12:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbjDLQy2 (ORCPT ); Wed, 12 Apr 2023 12:54:28 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01F81729D for ; Wed, 12 Apr 2023 09:53:54 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id z9so3486104ejx.11 for ; Wed, 12 Apr 2023 09:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681318394; 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=kG5Bp9G8GHRtnaihhtMcFrai7auGDwatUysUi5rRPM4=; b=t3PMe32EZJV9cCoDIkveen1Mt0ZXC8V8Nwx01NlHfKa11Vx+CgCN03HLEdyF8L8B5N oxOXpHaRyvfb6AHDx289+vJStY+EJwIsxz2SoGGR9JMf7YslsfW4HNlOOoo+dKnwip6n n4ama1PFbDfxjtqwO9pD3cphtlWR6ziTaHcEeMg+nZ3IlSDCV/4n3PbMXeNk4kQBLG5j HyJ10opdEQ2AkrTWCC35fBqxipAajjYHeKzzyPpWbYjyiLh5Q521hbEOmgX8gzX8F7cB bjzUidW9notC7XkN9Ge7pxmkLJbN2txGTjI6U5bpvpvlXMT7gUpenEbW7xSWjhcUiFps FqOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681318394; 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=kG5Bp9G8GHRtnaihhtMcFrai7auGDwatUysUi5rRPM4=; b=gXrR+AyW7fr5laHripJT7D+4/rueiCKZ36HE717S6i2zTeu+wFOslySuvEuiEI4VkV mFLNQ8TFzXdD4PFNw8kxoU4MAZHaHYwlmTbAuPVf2NbQcAhmKuvaAwMXxjI1unnavFs7 yD0vB99nx8tM68vHkoB2gq7Bm73dYcsKWqj8qPB6PrC8TThghe7KkvrSuQnAJw7jksGx 176n6E/vugQKDiw+MPkiEnEJDyu/caRv8ik+YXg7UxA3rAYGQt7//390ySYcH52V6Vz6 aVg5BslkbnUJM37M98V/5ateAfEZPWURghlmiL8HPrW2nLlsxKc85rVY0Ljt71yh/BTz tZdw== X-Gm-Message-State: AAQBX9dmQP+iT+vNAj3u5uM+OwkP71ajmUhD5O9mKMs/tsNi0eEVldFv 9Z6GASYBPEud0mpVn3ig15flaA== X-Received: by 2002:a17:906:686:b0:931:ed:e379 with SMTP id u6-20020a170906068600b0093100ede379mr2931945ejb.67.1681318394546; Wed, 12 Apr 2023 09:53:14 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:938a:b3db:7c59:795e? ([2a02:810d:15c0:828:938a:b3db:7c59:795e]) by smtp.gmail.com with ESMTPSA id ta20-20020a1709078c1400b0094770cf8b1fsm7455180ejc.5.2023.04.12.09.53.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 09:53:14 -0700 (PDT) Message-ID: <15f48b06-a6be-1295-5deb-d3594bce6699@linaro.org> Date: Wed, 12 Apr 2023 18:53:12 +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: Konrad Dybcio , 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> <2e648a97-083e-8ee2-1695-4af299bb222a@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <2e648a97-083e-8ee2-1695-4af299bb222a@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=unavailable 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 14:09, Konrad Dybcio wrote: > > > 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". Thanks, that's actually good description. Yet I still do not know what is exactly the problem and the question. Linking some out of tree commits does not give me the answer, at least I cannot get that answer form the link. For example what I don't understand is: why additional resources (like resets) can be provided only in new binding, but not in the old. Best regards, Krzysztof