From patchwork Thu Apr 6 15:25:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13203636 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34E21C7618D for ; Thu, 6 Apr 2023 15:28:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239758AbjDFP0L (ORCPT ); Thu, 6 Apr 2023 11:26:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239484AbjDFP0D (ORCPT ); Thu, 6 Apr 2023 11:26:03 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B31EB7EF1 for ; Thu, 6 Apr 2023 08:25:55 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id d7so6289551lfj.3 for ; Thu, 06 Apr 2023 08:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680794754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Jwso8CqMD9AGHGBLzSp/xS2037BXb0OXe0Wu07iPUOQ=; b=cA/bfLPj9+BwjNIqRC0zghZhU6bgLWHjXQwJz6MmGu3QnF6uAny7yFGb6gUAK0Uk5+ eGwnzH39ZK75mleQ6YcSq9VXgfZhQGIajeoh6EsXd0EHELEDv3FqL7y6uF9rAwG6UtGk BV+wUN7SmS+mHdzBAlvhcb0kKOptn7ZfTirH74DHdAimg44O4LStFBXLepNqgtEJwMEH Q2P9i6wWFdTphkDa513cqhkSvxfN/+ZebPf4isxcuKwauXEYkT8vkZ4Y89ePgaotEe0p DlwZQflBWacu5/NZ1V+qZH2oYH1aFsdW+P7zoyZn++yhBuMDKjJkfopsnRoYrD6Q6uIk ODiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680794754; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jwso8CqMD9AGHGBLzSp/xS2037BXb0OXe0Wu07iPUOQ=; b=atikp6jY2rzh6I9JQ2Ux8gh5o/Y1p+7+tpcpA13+rx7EwaBaMr5KRBkPJ5k/owaQv3 XjCwXpQd0+ktjlb9tRK/qSqP9hM9MyYjyTv0R0yDaLNCEMqTe9dZT3l8udK01p7Fefwz e9njqD8GDXjVtp4tqUy9rv92ZbXXSgn7wSGyt3EBy/JNok0gIn8tlKNHzZANHdHdv+Fz hftemuD/9qbTDgvVqUeagafUxq2O2wsVm91a1oExYdPy5FRcDmlnC7kiujZCGCtXUBWy ghx50TUqxFY4p62aY+8zWOZ6/oX21Yc9VvwmGA3txvSq31Rgjveg0BrmIt4iuXGhCA1V 5DTw== X-Gm-Message-State: AAQBX9etdL8fFvuW/pzSl/ejv57b4jx5Hi7jnVv5V+YEh1pU3+TtU7+l o/yWjufBsHl1j6QCRk5CraM34A== X-Google-Smtp-Source: AKy350aVCrtbH2QN4u3ULqVcBzcc3Rj4cuJ2LPxL+8YdRjJLX6wp7mlc6IklNtrpx3ZZQ05cSLw8hg== X-Received: by 2002:ac2:43db:0:b0:4cb:4374:cc78 with SMTP id u27-20020ac243db000000b004cb4374cc78mr3040252lfl.26.1680794754131; Thu, 06 Apr 2023 08:25:54 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id h4-20020a197004000000b004cc9042c9cfsm300103lfc.158.2023.04.06.08.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:25:53 -0700 (PDT) From: Konrad Dybcio Date: Thu, 06 Apr 2023 17:25:51 +0200 Subject: [PATCH 2/4] arm64: dts: qcom: sm6115: Add RMTFS MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v1-2-c73a5180e48e@linaro.org> References: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680794750; l=1190; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=x5MHZmqmlYV5OLUnYudsfP3G5g0esVKENrYXJUkL5oQ=; b=VVfhbTr+seJhYw5dXlK2ZZ/smRaMydn7EPAaLxiaGdLgCfiJtXPhhuQGGi98A5cb+iOH19h7/glX a5xxtdBvB3Ydn2SBKN6NJ5/o3bP7fXo0IV5/F6U9wM+Hn4xA1NLP X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-hardening@vger.kernel.org Add a node for RMTFS and associate it with MSA and NAV IDs to enable modem functionality on SM6115. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2505c815c65a..99c6550663c8 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -290,6 +291,15 @@ removed_mem: memory@60000000 { reg = <0x0 0x60000000 0x0 0x3900000>; no-map; }; + + rmtfs_mem: memory@89b01000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x0 0x89b01000 0x0 0x200000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = ; + }; }; rpm-glink {