Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp342491rwb; Fri, 18 Nov 2022 02:10:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5B3s5oy/nvgXCfAZ/j4GEdQeyOohES0eneB8jaeqP+Tz6co4Qm81s3PWEp02bEIUSGY1gf X-Received: by 2002:a17:90a:5883:b0:218:f84:3f98 with SMTP id j3-20020a17090a588300b002180f843f98mr13235370pji.238.1668766225244; Fri, 18 Nov 2022 02:10:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668766225; cv=none; d=google.com; s=arc-20160816; b=I3HD4ALZ3Jl3W8kM3HpA04OQjhwf4/ZiVJHGEHo1KprTxrzsEfzMK1TMx266Jnjcfx z4YJjCuzCDsHAWF5pm/COSmKBSjmNIAgJKRIYsv13G5ckuSqMJKf3EEfoibCLUPnl7mF t5dQrds2sAJVdJewAppSbB/6qz24oEfJtS03gwBK01PXV3rs6VWQfQA0WjO2p0R0+/c7 OylI0mXnBzMJjmYPvv/QHW0GYe2tHkg5CiInvJx+D0OLLm+CWE69NtkIms60QMQL+Qcq 7nHevc/7ZJuuAYqSqaVFVo9z4sy8AyfVJsyjRnZ5cpHAL0PIUQzX8AqaPOkHeA+6B7va 5vCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=0fnb5O/ndf1VkvRnlKdjT69eu/ujQx3r4QZH4WlaBFo=; b=D1dkY0sR1WIDtQD1LeLJvFbF/GWFEFD61cjILQ8ZnHoKHdRTEMrlLIY6VxVP+3cOIl HTJJdjlqtcZVR6WNtJv0M1w3Fa61/Ls6eb7GcM3a49VNI/enlDmBblEkT9aaYqpLvxQ8 gBzXGYd4LueuLlDi0HyKOdWdUnnF229cLcqzhhY6FDil4LgLG1WN6lpml+eGnZZl7GsR /CIUtCo8fX0BigNRpDciGyOt3MIcopjckhXE2Ofk1BPPGpCYnYU3PqDI4kyveN/rtnnH 1DZui48ohDYCNjVp8+22PtBfVH3BxC4rl2bz5KJeUoZsZSwAFHioKpsnxE9KKUnfL/op v12g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rh99ubA0; 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 g7-20020a17090a714700b0020053614bd0si6765901pjs.148.2022.11.18.02.10.13; Fri, 18 Nov 2022 02:10:25 -0800 (PST) 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=rh99ubA0; 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 S241632AbiKRIyA (ORCPT + 90 others); Fri, 18 Nov 2022 03:54:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241602AbiKRIx4 (ORCPT ); Fri, 18 Nov 2022 03:53:56 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDF4C6153C for ; Fri, 18 Nov 2022 00:53:51 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id i12so4340712wrb.0 for ; Fri, 18 Nov 2022 00:53:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=0fnb5O/ndf1VkvRnlKdjT69eu/ujQx3r4QZH4WlaBFo=; b=rh99ubA08c1ccpi68lf38lMk3RCCw5M12R7Xite/8g0O2kJh1z0s0syo4NY5Z1aHgS /UI/3YGcfw7FaMuVdBObrxV1yPta7zoW0fHST2VluNEP7zI/tnVafL9UdHgpFmm5ywjU woUggUQNyBWYQCEup7GjB6UAZ0cA9crGFlCwOV99ogfO+YHj36bhCjUd/OOcU4Ybw6uv zcRBBQMZ6BotWfzhs++HNMDZlElu31HiY0kATrQdZF2UaNov48wL0eoAw3103aU5Bfj6 iacs4EYLesdjXGhB7UthJ1/FhEl3pEwJFd8y9PODz2d4rBN3NJldaJct8AGKsjrKal1p KjYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0fnb5O/ndf1VkvRnlKdjT69eu/ujQx3r4QZH4WlaBFo=; b=pQ2t+3+U6qzN7k2DBt4Jf85kTxyForcFkqphInhDJpu3ywKjZm4dYrKXLFjLYJ/F6i gxvaXWihle/0N7FOlnDBVGNnnE1VcRE9dRh75INcr5NaQSv/IQFVUUsuXHf9wzVh9TTn 7H9egTMJtIBP6Q0pOsp2Fp/+lZqAzDUUOkvCoxWViPXxaZj5U2h4kH6P2tF6wIczViMe reAD0CX5cwelby73Zh4bEgqiYhjwiMba2Hwlggv6kSzJwDwO3riikT4CtRFvoVVkm5Zl b81KOHjvBfTFbaSSiL93Plp7LMD09NwOh4HC/ADYff7NtvLVP/T0ed3NEy3OZTjwUWgg 3ogw== X-Gm-Message-State: ANoB5plvfg/NSN0TJgG1X8sOK5qoMEPStxFyV3A43HXPQ1Qnh2UIeFrf pdG8Mh3qEk3zp/h3lAMIL02sXw== X-Received: by 2002:adf:f003:0:b0:236:5d94:6d17 with SMTP id j3-20020adff003000000b002365d946d17mr3449954wro.681.1668761630270; Fri, 18 Nov 2022 00:53:50 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id a13-20020a5d53cd000000b002383edcde09sm2971264wrw.59.2022.11.18.00.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 00:53:49 -0800 (PST) Subject: [PATCH v2 0/2] soc: qcom: Add support for Qualcomm Modem Processing SubSystem DSM memory MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-b4-tracking: H4sIABtId2MC/5WNUQqDMBBEr1L2u1tMakT71XuUUpKYasAksqtCEe/epTfo1/AG5s0OHCgGhttpBw pb5FiygD6fwI82DwFjLwy60lopVWO2lHihkgfk1BpT4ToLB5swzcyvnhNq5etr6xvz7hyIyVkO6Mhm P4orr9Mk5Rh5KfT5PW9K4vHfyaawQmXa3mvnmtA19ynKrlwKDfA8juMLqwLoFNwAAAA= From: Neil Armstrong Date: Fri, 18 Nov 2022 09:53:47 +0100 Message-Id: <20221114-narmstrong-sm8550-upstream-mpss_dsm-v2-0-f7c65d6f0e55@linaro.org> To: Bjorn Andersson , Frank Rowand , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , Andy Gross Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , linux-arm-msm@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 The Qualcomm SM8550 SoC Modem Processing SubSystem requires that a memory region named DSM should be shared with the Application Processor SubSystem. This adds bindings for this MPSS DSM memory and driver implementation to share this memory region with the Modem Processing SubSystem. The MPSS DSM memory must be shared between the APPS SubSystem and the MPSS SubSystems, for the whole lifetime of the system. To: Andy Gross To: Bjorn Andersson To: Konrad Dybcio To: Rob Herring To: Krzysztof Kozlowski To: Frank Rowand Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Neil Armstrong --- Changes in v2: - Fixed the bindings - Added some precision on the MPSS DSM in commit messages - Link to v1: https://lore.kernel.org/r/20221114-narmstrong-sm8550-upstream-mpss_dsm-v1-0-158dc2bb6e96@linaro.org --- Neil Armstrong (2): dt-bindings: reserved-memory: document Qualcomm MPSS DSM memory soc: qcom: add MDSS DSM memory driver .../reserved-memory/qcom,mpss-dsm-mem.yaml | 37 +++++++++ drivers/of/platform.c | 1 + drivers/soc/qcom/Kconfig | 10 +++ drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/mpss_dsm_mem.c | 95 ++++++++++++++++++++++ 5 files changed, 144 insertions(+) --- base-commit: 999e0145579c0e04174044a39257a4d96ee30020 change-id: 20221114-narmstrong-sm8550-upstream-mpss_dsm-21c438c65f9b Best regards, -- Neil Armstrong