From patchwork Tue May 30 19:34:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 687024 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 86F3BC77B7A for ; Tue, 30 May 2023 19:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbjE3Te7 (ORCPT ); Tue, 30 May 2023 15:34:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232123AbjE3Tes (ORCPT ); Tue, 30 May 2023 15:34:48 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96755107; Tue, 30 May 2023 12:34:47 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34UJRjOQ012381; Tue, 30 May 2023 19:34:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=mhowiFoetKFBn3NZO+y9HDKnJEUcqAFnLHursMOU7gU=; b=byV2BV4CcEf0LRylMtqzESG2iL1G1iSKiJ1J7sdoaUwGVuT05w7liU5/IFV5GsAbKGiN l/jq9ig92iJBQpNWt4ZYQUDeSA869uH2O5N9RV05pZGDKORsWo4f1AoK1u3U6QdCqQAD WKyp4UA1gfWNNxNxwN6csJUOuVrken341d8dsxvf3TOWZL8y4nDxzMZ0obCQDrHsUMgd iWGZSnJR6PtwQlYHawNc3+UKUUmpbnL4PlMLWbFxEBVCpFVI0CMQyLWCBSCSrGz1+8uu Ba1SxAN9nWmuxuv0pcy9K5KgM6P+Dl2xdbEOowVzCJibfGckc7rpiOcMq8urqpN92ZYH JQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qw5xet70m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 May 2023 19:34:43 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34UJYgHE008700 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 May 2023 19:34:42 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Tue, 30 May 2023 12:34:42 -0700 From: Bjorn Andersson CC: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , Subject: [PATCH 0/2] soc: qcom: rmtfs: Support dynamic allocation Date: Tue, 30 May 2023 12:34:34 -0700 Message-ID: <20230530193436.3833889-1-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: E7sl9CtN1xkwJF93TZ7FHzmBy6mq3RpK X-Proofpoint-ORIG-GUID: E7sl9CtN1xkwJF93TZ7FHzmBy6mq3RpK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-30_14,2023-05-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 phishscore=0 spamscore=0 impostorscore=0 mlxlogscore=781 suspectscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305300158 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some platforms have laxed requirements on the placement of the rmtfs memory region, introduce a mechanism to allow the DeviceTree source author to give the responsibility of the placement of this region to the OS. Bjorn Andersson (2): dt-bindings: reserved-memory: rmtfs: Allow dynamic allocation soc: qcom: rmtfs: Support dynamic placement of region .../reserved-memory/qcom,rmtfs-mem.yaml | 23 ++++++- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 10 +++ drivers/soc/qcom/rmtfs_mem.c | 66 ++++++++++++++----- 3 files changed, 81 insertions(+), 18 deletions(-)