Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1465538rwl; Wed, 29 Mar 2023 18:56:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Zr1x/1oi4W08awOjkA+R9mx1RliqrvYLBprPN2ZBYovy25H9Xue7lYZxI00eLSylaBcBBo X-Received: by 2002:a17:906:2db2:b0:92b:f0d9:15f3 with SMTP id g18-20020a1709062db200b0092bf0d915f3mr4017166eji.37.1680141402489; Wed, 29 Mar 2023 18:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680141402; cv=none; d=google.com; s=arc-20160816; b=xGVBuSviJRjpHxbqMA9YDD8EvysuU38/u0sf038bj4pZ/+xhJGYHJxh8ROm/eG1avY Z+rD9BJjcaaVPnqF8fpW184tEmMVs+R5mrI1qlQcxkRGtV/CkLMYMLCbsGmE156S/Wmo T+Ms7SNKXu2RSoUva5qFYian3W4lTGoqeqKlAJ+TLFmB/LqoDPxFhU7p/4tzDDQlmQNQ TX2FufypQ0yrsp6otgJNx8Lh14vm4s/NN1eHIPyzMPdmI/9iNjE0iUHCaZVDN5ViHTvd y62YIGUpskHWYkaCWDi27/BR7qg9lDCINxVHOliVMEGg5TtbV49poAzkk1GIdNU5NnjL 4M+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FfJuXAZwwMt2q3i7x/R+WrAISquLwqszrcGXTUw+Vps=; b=AIzVMQ7yYggpKlnN8RiErf217sm7INCE2r/y6QJYMQYBNQ7kH2aAD9po6t8GGcdT7+ P+H3XGKfESgzBgh+MJoSLIbdUqOp8bbPX3ZFwjAN+hRGW+8nH5NOtvLajX6s4zaZf8wW lh7lzLQROuN0f9jFjglSXKOLwD4UrVWbwmHGNqCYprXglr/SoBEvH4RZIr1cFfT9qBJf v+lplDql0X6iN51LjE0Rh8H6M02Sl8YtF+tkHfvF3jbB6x/syLFyXnKT+Z1ddbpdkqD8 cHQ3ezkhqcGW5V/SHE4fpwMUS4yIb+ERmt0d+6IW5rSa54VMuFRQheUnc6Ei1jM+kWvM /QpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SoHH4pd3; 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 12-20020a170906018c00b00933fa612352si25360997ejb.906.2023.03.29.18.56.16; Wed, 29 Mar 2023 18:56:42 -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=SoHH4pd3; 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 S229828AbjC3BuV (ORCPT + 99 others); Wed, 29 Mar 2023 21:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjC3BuU (ORCPT ); Wed, 29 Mar 2023 21:50:20 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 271B74EEF for ; Wed, 29 Mar 2023 18:50:19 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id kq3so16675796plb.13 for ; Wed, 29 Mar 2023 18:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680141018; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FfJuXAZwwMt2q3i7x/R+WrAISquLwqszrcGXTUw+Vps=; b=SoHH4pd3Bc7J8Rv0eluoB8kn+Qs9EFEc7n8L/SaBs92gA9/+iBJzRqgLPSCZyokbld PWvDkGdFK2wF0XjgWZvZe5oSKmRc8WTV9Jh/fEPNJavQDXIWGBTL1FHNclq3iV5rqe4b W5fgIPlA1MqCh1eZGQPpkMR3d5Vpab3t6UNHeeQvmXSirxNQbG8WeerdiEyKVNhoJ8hb q6cFqD7W17yeTMFehAwoHY97xIoikLJ4ocxmcilGFgGAzmWn9LFLyFiLpxZydSyL0y9z XwIAjNQAJTtD6EwQn3z0vgtRbVdUe/9eKxf7yZ9e76DuZTdZtSYTFAFGtWe7zh5tKOgf +JSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680141018; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FfJuXAZwwMt2q3i7x/R+WrAISquLwqszrcGXTUw+Vps=; b=sgS5hlt4T3rxof3QuP1+FMf1id0Tm4hQx2SibLfI/aCgTZOLYlm7JyX8eXO6NLha7H 6jfxWGHwo+GpPSt4dNMNieoY3A+9Wrzje5g7VL8O+voQJRVs58nwsG1PRfIum6/WOqsd 6XYMKJmVokwP6yRoL6Asyj1EjS/eS248mIv6CMPKoUsqMQXf93a+duXYLmxhhNyFJ3ZF AWVVRUBMl7lg/EB7CEeQgw17ufkxVs8wwhXxeDREEtgYx0oywLPcYZJu80Zr7ZOmm0M4 9naH0GnegXWyilvmE3kH4+8pjEK5klNoqH0vNyKz60vK0pRRMn0u/Q1V8FbIPd3wNcOV KJzw== X-Gm-Message-State: AO0yUKXU7LR61f8UmYnM/b7wGTndtwpryp7P2+NbiXcNU+pszdhFYnxb Fga3tzC54i+WbiIqNeL3EZ8syw== X-Received: by 2002:a05:6a20:4faa:b0:cc:eb3b:56e9 with SMTP id gh42-20020a056a204faa00b000cceb3b56e9mr17240657pzb.1.1680141018648; Wed, 29 Mar 2023 18:50:18 -0700 (PDT) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id b11-20020aa7870b000000b005ac419804d5sm15070347pfo.98.2023.03.29.18.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 18:50:17 -0700 (PDT) Date: Thu, 30 Mar 2023 09:50:12 +0800 From: Shawn Guo To: Konrad Dybcio 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 Subject: Re: [PATCH 2/2] irqchip: irq-qcom-mpm: Support passing a slice of SRAM as reg space Message-ID: <20230330015012.GC3590215@dragon> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14350eba-edb6-0243-5451-2e2b7d1bd3fd@linaro.org> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 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? Shawn