From patchwork Fri Dec 29 12:53:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 759024 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16773111AB for ; Fri, 29 Dec 2023 12:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="xvWXhzq8" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a235e394758so712945866b.1 for ; Fri, 29 Dec 2023 04:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1703854403; x=1704459203; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=9yisl/qxCJgxl4RARL8Z9GuuogERTl8/KSkOCVJhCvE=; b=xvWXhzq8BPIM8wrsxHiZjzme62E/yuCmAN5oHx6e5eNGNX+r35CV/bl7lWugfpPlmA PoGgSuerqmYXuxfERpE28FZvShH1rGVdlfOA9NiSQ7JDf9g40RWi9NDJyB+93v9gaLY7 JY6C3mi0ZphmLSLUuQ/zADkMxfFQY2RW/Dk55psTaA0QezEHEXyHvb/ewpo5uFzJQrA4 0hqp276mqLg9zSZBndIhXbzk9SNua1BF2lkSI3hJKJ1lHJVrBemQsBYzXxZM5xCaUXPZ OfpvsNFld1/A54YhRaO2kqH67dJW/cPF5HuVz7na1Dg9BT5zugsZS7m1PMC2TZ5HVluA bKJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703854403; x=1704459203; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9yisl/qxCJgxl4RARL8Z9GuuogERTl8/KSkOCVJhCvE=; b=KvDJAv5et/CldbSJdqgT2bZgA6BAWtj4G1/c1JU8IzjbqhKkFbxZuhkkXYOPp9LlUX 7i9FkwC7OZEbWk1uP2tOu7hGT4LU0dvHQ3P54Vnz6zdP4zHgHo2t/Vxzqu+xFu4eCl/7 dceb0+5QEMhAKSubyUYyg6iWqKkNKBH+60bNK0hEssGmgAD8mtqIWf7fpxkD5U1bpZE2 2lVMPKLSjyoyGhoVfYazEMw5HJFT0/2dAnSRv50rW+I15Vp+NcZABw2ySXUl8N5dWRIC nlWqJpODQlqcjlcQWO+kvBMHzENRPlKpqKkv+WeVDb9DRko84jvTA81k9+mEjSXAiyYO uQkQ== X-Gm-Message-State: AOJu0YxxDA35xrB4PzXqp177JMp0H4TXl9xsvwGoDUk7fNz991p30f9h e9Q4v1GA0xypln+HX4Qaaw35v2XUaJfAEA== X-Google-Smtp-Source: AGHT+IGM12hQGxJrBT1b1jnlmiR9J9LvfpNlKO63uE/B4ep/qHZeEbX4mvQR5FNcuN+Oboaq43X/JA== X-Received: by 2002:a17:907:928b:b0:a27:6648:cc3e with SMTP id bw11-20020a170907928b00b00a276648cc3emr1885631ejc.74.1703854403273; Fri, 29 Dec 2023 04:53:23 -0800 (PST) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id ef5-20020a17090697c500b00a269597d173sm8345175ejb.135.2023.12.29.04.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 04:53:22 -0800 (PST) From: Luca Weiss Date: Fri, 29 Dec 2023 13:53:17 +0100 Subject: [PATCH] arm64: dts: qcom: qcm6490-fairphone-fp5: Add missing reserved-memory Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231229-fp5-reserved-mem-v1-1-87bb818f1397@fairphone.com> X-B4-Tracking: v=1; b=H4sIADzBjmUC/x3MOwqAMBBF0a2EqR0wI2J0K2Lh56lT+CGBIAT3b rC8xbmJArwiUGcSeUQNep05bGFo3sdzA+uSm6SUyoq0vN41e2QVsfCBgyfn4EQma6WhzG6PVZ9 /2Q/v+wEs+PRHYgAAAA== To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.4 It seems we also need to reserve a region of 81 MiB called "removed_mem" otherwise we can easily hit the following error with higher RAM usage: [ 1467.809274] Internal error: synchronous external abort: 0000000096000010 [#2] SMP Fixes: eee9602ad649 ("arm64: dts: qcom: qcm6490: Add device-tree for Fairphone 5") Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 5 +++++ 1 file changed, 5 insertions(+) --- base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 change-id: 20231229-fp5-reserved-mem-b88e822b1127 Best regards, diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index 176898c9dbbd..1e85c43a6fd1 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -82,6 +82,11 @@ cdsp_mem: cdsp@88f00000 { no-map; }; + removed_mem: removed@c0000000 { + reg = <0x0 0xc0000000 0x0 0x5100000>; + no-map; + }; + rmtfs_mem: memory@f8500000 { compatible = "qcom,rmtfs-mem"; reg = <0x0 0xf8500000 0x0 0x600000>;