Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1993168rwl; Thu, 30 Mar 2023 04:40:14 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkyKsjwxefCbzLG31J6yNGWTHM693MyB1AO1b2bwLMH6p0Tpd32YxiNWnxbaK75qG6Gg9D X-Received: by 2002:a05:6a00:450e:b0:625:a08c:a8ba with SMTP id cw14-20020a056a00450e00b00625a08ca8bamr21003315pfb.1.1680176414227; Thu, 30 Mar 2023 04:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680176414; cv=none; d=google.com; s=arc-20160816; b=ETFsvpAyBct1Z5kQ2LZsyHogCuTFt4C54NiQb20ZkwkWc48Y05Yg6Bx+udcyMRJIM8 pd4b3HRDuMlVc3FxsK+wlHAIGaD5RTSd9DMJlnQSbAdTKd351M0nS5NDVs83m8pXkHel JLRScpbX9+ubDnGJ8lAcai1qtgQI4Knivfm6wcnl0GlgJMsfjofmrbSXk2pCPM/Vu6xr 35NPJAlORLk9P3yBL/GVBG+KfpjDJEiXrtDBUwDESdXXHHWB/v0tkRqas6DW2AQp9gCr yss9TYoL2z1eH2zqVJC7oxaA6PgMHyD+/ZyHB2JirwMliFJleRyG21kvfSg9Wc01Qtsg D1uQ== 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=cAEmoOmHDUyz32tedMlQ2r4Q5K5jN7ua9iB3PWYwB6U=; b=VcHnZUKRm4vGupXu2JaE67lgD0fSjrn8OpS5e4HzEhkgykdb3G7+rkyaKxkK3iw0fc bB85DXOTq/gNf0QAVgQYhsuuRqg3tUihNoVng34U7oLAkhYXdGWvGs4etxhok4ufLRjz C7W9iFAwbcA8HV4BphkJYbvh6esr7GikQbp1JVFwzTYdOnxILJacwjU+o7rQatBe75CJ rOG+JSKzMMv8X00NsI/z0Mnwq2joYMa5RXItvY2nknurA6Af4+rvzijgUiuIaLGH/ebW sdGT7v6+XHtE0mMaa23RT6n361F9eMz1V4Xg9jCcCzG6/+T+//mxfsapzquVx2MFSlDo MiJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KDp703Ua; 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 67-20020a621846000000b0062ae6345c6csi14490789pfy.391.2023.03.30.04.40.00; Thu, 30 Mar 2023 04:40:14 -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=KDp703Ua; 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 S231664AbjC3LS5 (ORCPT + 99 others); Thu, 30 Mar 2023 07:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbjC3LSa (ORCPT ); Thu, 30 Mar 2023 07:18:30 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB1D48691 for ; Thu, 30 Mar 2023 04:17:31 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id y20so24070760lfj.2 for ; Thu, 30 Mar 2023 04:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680175050; 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=cAEmoOmHDUyz32tedMlQ2r4Q5K5jN7ua9iB3PWYwB6U=; b=KDp703UabDwigYmNle2sIZ7CIQJJH9DpN8rGG+9cuS40rdVWKemJRTr2yBqXk/ouMG e1S7gBjZubBMQ2HBY19fogoNkPqVbBw89kEsWr6eaeuGKGwx0qpJFNxRSEMMotR9UkTJ xhsQMSTffJMJICmAkUIVTJTtgmEh/T88yxrQpL17X3/ABUq1CQ7ZxhYzgjQsYjQUWTsz zGsDSzDMvvk6RU8/y0gj5ZEVH3tsv+ZZlj9dhcvOFbDKtBwWrkrqQz15yWF8m2NuvDgJ ARKyd7UIPt3QvBXY9Gvm12mGiUYvCIcKeAh+vTYPh/SaVYTC94AaChFIixGci2H1EFAM MeuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680175050; 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=cAEmoOmHDUyz32tedMlQ2r4Q5K5jN7ua9iB3PWYwB6U=; b=r6IR60JENRFu6heUo3+BnVtAOPB4wuSQmcb2UHdH8VtlZDO/eayUxX/SWZ4J1dwrJe dnPWCCbG7itImxGOf/UeC3PuHTltZf21LfjK1SiYgiXXOic9lTUiRp8F2V3W1djDauRc h4ZcBT4Z7O0d+D+08RQ2WkNnGEU1GVr5cADwyEFGeo5mzzCIJn6oZARRGLQ7RQ5odzQo DjLn6hdSoWfTzlrtuIKld7i908l1g+EMTVZt3kaFMqvJ+rnqqptUGCbG6XnWzoIe1vI+ 9ADcppk1DJylMCyPBjd+nFtYi+zvt0bwy8iLGGHQ2l32OXGnjB2bYU7GOxYQC1B43R3J FbJg== X-Gm-Message-State: AAQBX9eBCpK4lf38+ZnaZnNP5YrjGAqO/lBTpMxvRSjR6JpHRRNCWTJ3 JskeqOujK0xqWLUecCngQNhF6g== X-Received: by 2002:a19:4f51:0:b0:4dc:790c:9100 with SMTP id a17-20020a194f51000000b004dc790c9100mr1705122lfk.12.1680175050041; Thu, 30 Mar 2023 04:17:30 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id x3-20020ac259c3000000b004db2c5c895bsm5789641lfn.234.2023.03.30.04.17.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 04:17:29 -0700 (PDT) Message-ID: <2fbb605a-8ec4-3cd0-3200-5997149bf478@linaro.org> Date: Thu, 30 Mar 2023 13:17:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 2/2] irqchip: irq-qcom-mpm: Support passing a slice of SRAM as reg space Content-Language: en-US To: Shawn Guo Cc: Andy Gross , Bjorn Andersson , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230328-topic-msgram_mpm-v1-0-1b788a5f5a33@linaro.org> <20230328-topic-msgram_mpm-v1-2-1b788a5f5a33@linaro.org> <20230329034958.GC3554086@dragon> <20230329132819.GA3590215@dragon> <14350eba-edb6-0243-5451-2e2b7d1bd3fd@linaro.org> <20230330015012.GC3590215@dragon> From: Konrad Dybcio In-Reply-To: <20230330015012.GC3590215@dragon> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 30.03.2023 03:50, Shawn Guo wrote: > On Wed, Mar 29, 2023 at 03:30:12PM +0200, Konrad Dybcio wrote: >>> Otherwise, I do not understand why devm_ioremap_resource() cannot be >>> used. >> drivers/rpmsg/qcom_glink_rpm.c calls devm_ioremap on the entire >> RPM MSG RAM. > > qcom_glink_rpm driver remaps the entire RPM MSG RAM, but it doesn't seem > to request any region. So MPM can still call devm_ioremap_resource() on > its slice, no? FWIW, I did get a 'can't request resource error'. Konrad > > Shawn