Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2972301rdb; Sat, 9 Dec 2023 06:24:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfK/fCSaWbWc7bSHD4CqIqyIXL55FJ/GUzkWx+Z8Hu4M02SmgIZhNOIGN1KM7snvboPmno X-Received: by 2002:a05:6a20:8b03:b0:18f:97c:5ba0 with SMTP id l3-20020a056a208b0300b0018f097c5ba0mr660731pzh.110.1702131839870; Sat, 09 Dec 2023 06:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702131839; cv=none; d=google.com; s=arc-20160816; b=RTTuIRXZFzigauvF+D+sw8QjipUwAA1F3BQtujGp2e2avi4t7SQFIjjZ69hmPijaTc i9I5Z+xuwGXLAaFMs0Hyl72WHF79mW3G7xPojuMsgsM4T1XXEO2XYgPsmrjH91fg7P1o lwqaoof3GNRp1hPmIbQYE+BoIPgG4Op+L9oON2xU2iVxXbS/q/piWCgROKRxdn2ebVwQ XYSf1n2fZ/npcDWFTdG1AxoilYrFppzTUNxsnxn5iY43tsea+/RRI3aAWVzY1eeo24HR cCjfTkEQhT0mWwAaTrd/RRpWyoTkeCnnlJSl5OsIO3jkZO9H+PCkiAT1DCz9GqhC9irD IloA== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=4g0Ql0HSI1unyhrbNS+xVTJppYqi/HCOhP+DhZyP3C0=; fh=lC5R4zyj0WsaZOBYXNbe3zOJreupcQF3BDpVvUILlSM=; b=myn2VCApD469NadkMXjx8q/4Vs1TG9ur7QO6NmW3zV5ITdT13lZ+PhR40+xaYLfwJX dvsJjUWPQcHD7IMjGHDJoQse5DXPeyI6zgoxIP7ZfrkpfAgGbnvhC9GPzpxG/eQZqvt4 R1nR6yo9SCWprSZENzCmynoqWvw5o4chScppnidjXNDEy4YhSR3YX9EUcxyKAW6ozeJr OXsPXyka+nvSy2NWTKLFw55wPpeFiHJl14YjD/3d8oomJGczel30ORba6OJlptFzgAkd f03rObtqNzgnNq+k8GIxHd3D/HTbftNkpfpbPnj8UShtQtyWiFV1y/wO4Y2Y0/zABjLT C8Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QHoIi1T8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l4-20020a170903244400b001d09278b856si3245724pls.347.2023.12.09.06.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 06:23:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QHoIi1T8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9338A805E44D; Sat, 9 Dec 2023 06:23:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231337AbjLIOXJ (ORCPT + 99 others); Sat, 9 Dec 2023 09:23:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjLIOXH (ORCPT ); Sat, 9 Dec 2023 09:23:07 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C9310E0 for ; Sat, 9 Dec 2023 06:23:14 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a1f33c13ff2so246570866b.3 for ; Sat, 09 Dec 2023 06:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702131792; x=1702736592; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4g0Ql0HSI1unyhrbNS+xVTJppYqi/HCOhP+DhZyP3C0=; b=QHoIi1T8IHWPlxDIYARIPVNEzTeAyD7LXqImrtc1ZhTcNS8EhtOkqp4lwJqTIvXvkY R4TeTFUvwiWqxuKyPPuxM+1Nho+KyFyKg4OYx3oDpXO3bxjuIFUtkTYO/678qc8fH2Rl +fqrxKouThlYZcFAKoxd+a3yU0A3vbUb9wqeOe9FE04zicT/kyPnftArjFM2EayR8Jz2 UgFiYGXmdp7F/aVJORRPw0N6ne8AGp4m4UNa0Y90GcQqNStGumslRM1HNpzJBKq1cwVI bjhItoMh9jNQ//MrWGn/zKI2kFoHZFSD78hrdrIAW1vnJy3ZEkUi8Kd7gxqvw5yq3Ran ZAPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702131792; x=1702736592; h=content-transfer-encoding:in-reply-to:autocrypt: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=4g0Ql0HSI1unyhrbNS+xVTJppYqi/HCOhP+DhZyP3C0=; b=q1PYUIL3FkSAjNGbc+8U2ktvshkC+gFjOVYYWpMkfbH/PzxZhw5/jlR9xjTPPvAWtF PpHloEbG5u3Ve5RMfZuERsi/7FsAoCRMGFV1ehWIzeNMjzL19EG/TPOJYicxtcK1e3fo PNPcvUCvGv31Yf3Mm4yAzhfn6N7ZJHusyQkAoUdKH3Dj7957OXNldpJiqMAIjY1fySP2 P2oZZl9KdPlsKmWG6lNW3SUaiPylUnrW+UOHUSCLnv2K4kpDa0rHlOlJe7rbWMXuVZq0 CPFKKh4RxuZUKVKhgIARfsZZzlsITOa14YOY+9WZ9AKx6zrCTg5T+Wv/1ONo+QiP3NwH X4Rg== X-Gm-Message-State: AOJu0YwnUFZcp2ip3zZPGGCcDLTLbgcT72oCWpaxSPrT7iiOnrqISgUh 5PIIsFe7bGHSMLICWrkeSCZ9Mg== X-Received: by 2002:a17:906:106:b0:a10:ef07:fa9e with SMTP id 6-20020a170906010600b00a10ef07fa9emr1117110eje.6.1702131792580; Sat, 09 Dec 2023 06:23:12 -0800 (PST) Received: from [192.168.36.128] (178235179179.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.179]) by smtp.gmail.com with ESMTPSA id tb19-20020a1709078b9300b00a1cd30d06d1sm2311036ejc.14.2023.12.09.06.23.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Dec 2023 06:23:12 -0800 (PST) Message-ID: Date: Sat, 9 Dec 2023 15:23:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 2/2] irqchip: irq-qcom-mpm: Support passing a slice of SRAM as reg space Content-Language: en-US To: Thomas Gleixner , Andy Gross , Bjorn Andersson , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bryan O'Donoghue References: <20230328-topic-msgram_mpm-v7-0-6ee2bfeaac2c@linaro.org> <20230328-topic-msgram_mpm-v7-2-6ee2bfeaac2c@linaro.org> <87fs0csqu1.ffs@tglx> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3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dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <87fs0csqu1.ffs@tglx> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 09 Dec 2023 06:23:57 -0800 (PST) On 8.12.2023 15:37, Thomas Gleixner wrote: > On Mon, Nov 27 2023 at 16:52, Konrad Dybcio wrote: > > The prefix in the subject is wrong. Also please write out register. This > is not Xitter. Had a feeling it would be too long, but actually it'd be perfect 72 chars :) > >> The MPM hardware is accessible to us from the ARM CPUs through a shared > > to us? Can you access that hardware? I doubt it. With a small enough "stick".. but I get your point > > Please use neutral tone as documented in Documentation/process/ > >> memory region (RPM MSG RAM) that's also concurrently accessed by other >> kinds of cores on the system (like modem, ADSP etc.). Modeling this >> relation in a (somewhat) sane manner in the device tree basically >> requires us to either present the MPM as a child of said memory region >> (which makes little sense, as a mapped memory carveout is not a bus), >> define nodes which bleed their register spaces into one another, or >> passing their slice of the MSG RAM through some kind of a property. >> >> Go with the third option and add a way to map a region passed through >> the "qcom,rpm-msg-ram" property as our register space. >> >> The current way of using 'reg' is preserved for ABI reasons. > > It's not an ABI reason. It's backwards compatibility with old device > trees, right? Yes, I thought of something else. > > I'll fix it up for you this time. No need to resend. Thanks! Konrad