From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx-relay48-hz3.antispameurope.com (mx-relay48-hz3.antispameurope.com [94.100.134.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B67A02877D8 for ; Mon, 1 Dec 2025 07:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=94.100.134.237 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764572644; cv=pass; b=MsjyFDqZvXy2WjlzW+1h4+jZ/P7Tn/Mm8MjkOQv/oPMPVVFP84GuC+DScis5Ntpne6twntqqCMohdSXIYUz68HX/ajz53MjoEBvWMKPBQYUCg1bt0TMJN+L5Awl/mi+B+CagoJCmmiR7d6Fm4Zd5bnFEaGopxmRyG4lZw3/54oI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764572644; c=relaxed/simple; bh=UMhzuNfvydVugU4W9lTaLztLosrpgEBM+5LJjylVI4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ewqAWafNj+vY8YXYKeb4vnTXd1UIEyl2P9pvBfxS/Pc9d/ZFs+OHJkiZr6vTUFVXd9liDqeTnwyNPonV8EV+md60qybu9CTo3KBkkSggB/sZxa0zCqh3XpG2ciC1YXU4v4ja2AX7692Jx1RqRKBx7/Vw8BkKwdFaLDPDuHhpDao= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=ilyR8dKM; arc=pass smtp.client-ip=94.100.134.237 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="ilyR8dKM" ARC-Authentication-Results: i=1; mx-gate48-hz3.hornetsecurity.com 1; spf=pass reason=mailfrom (ip=94.100.132.6, headerfrom=ew.tq-group.com) smtp.mailfrom=ew.tq-group.com smtp.helo=smtp-out02-hz1.hornetsecurity.com; dmarc=pass header.from=ew.tq-group.com orig.disposition=pass ARC-Message-Signature: a=rsa-sha256; bh=8uu3W2YJze2SaGK3W7DnErUCDkMNYh/ZOhlBJ1JYC+Q=; c=relaxed/relaxed; d=hornetsecurity.com; h=from:to:date:subject:mime-version:; i=1; s=hse1; t=1764572628; b=qC8QKMGkgQt6Jp3bmcBMujI3l3E75R8NBuzO4kNuEyiflbjEhNkhLqGDpdaviBXibmtClhCY VpLlfHxrLCZ+PVTQg5vaoMmmKQuSTA5qVTndr3npArnxoop1qoaNdpEVLVIdFqUb98Z2QKoQRuS 6VkGa5e7PWyt0smVJYDRACIHWhLWUd+kabWwQccKkZ/OXK8rPkqYi7KN8/sPwyKqXWgxkUSeuYo dH8xBRzBwtFcFYl4XlROmyZ+FTJ11EofnrY+HB9AJGPh5uPuuFT1pUNGYYrjgmck3BsGCvzJ/Z+ D1ztHINcpAaCi34R7+dXGgZ/7UlcXaKNA18Lw8JyM6ENA== ARC-Seal: a=rsa-sha256; cv=none; d=hornetsecurity.com; i=1; s=hse1; t=1764572628; b=tdc2LmFxQbFv/6B4xTX9SMJGuswBvQMLbDhbtulIsfUP3uEtiTQ7iJAHNQvjjjri0SW5Cms0 LCYjPrPkRqDDUKn3dp4j7Et+TL6AYYA4geN92zGukscMSytbY7pU1obhK94O+qcSteZCixZk1/F oEk5l34/HSiMAg8+ovo1V+soz5o7jHd6Xtn/EH8NU1ECOW7RHo5zlPfFISCnuPyNKzZRdspF3DJ osjm+nizOy7g7J63FFaJ6Gy0yspWGvw6l7LuqShoh5uOYco1EHIF7fKc8C2SkSaxUaIgBhB4qtU du7D3nWX6QmYEEPVJzHURJsFzKnd3GPvanfns+sYbvcXg== Received: from he-nlb01-hz1.hornetsecurity.com ([94.100.132.6]) by mx-relay48-hz3.antispameurope.com; Mon, 01 Dec 2025 08:03:47 +0100 Received: from steina-w.tq-net.de (host-82-135-125-110.customer.m-online.net [82.135.125.110]) (Authenticated sender: alexander.stein@ew.tq-group.com) by smtp-out02-hz1.hornetsecurity.com (Postfix) with ESMTPSA id 6CB295A0FC3; Mon, 1 Dec 2025 08:03:36 +0100 (CET) From: Alexander Stein To: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alexander Stein , linux@ew.tq-group.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] arm64: dts: tqmls1046a: Move BMAN/QMAN buffers to DRAM1 area Date: Mon, 1 Dec 2025 08:03:33 +0100 Message-ID: <20251201070333.6804-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-cloud-security-sender:alexander.stein@ew.tq-group.com X-cloud-security-recipient:linux-kernel@vger.kernel.org X-cloud-security-crypt: load encryption module X-cloud-security-Mailarchiv: E-Mail archived for: alexander.stein@ew.tq-group.com X-cloud-security-Mailarchivtype:outbound X-cloud-security-Virusscan:CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay48-hz3.antispameurope.com with 4dKZcn0Fpfz1kR2J8 X-cloud-security-connect: he-nlb01-hz1.hornetsecurity.com[94.100.132.6], TLS=1, IP=94.100.132.6 X-cloud-security-Digest:70198ad446e01807b4973f99df72bd9d X-cloud-security:scantime:1.869 DKIM-Signature: a=rsa-sha256; bh=8uu3W2YJze2SaGK3W7DnErUCDkMNYh/ZOhlBJ1JYC+Q=; c=relaxed/relaxed; d=ew.tq-group.com; h=content-type:mime-version:subject:from:to:message-id:date; s=hse1; t=1764572627; v=1; b=ilyR8dKM5Pfn/VMRxt1hwG7+aRa2tDNxG5dgZxwc01Mh1ZGUHfwW2xqbiXyZGGTKGE/vmopz /cktsDi/GvMULriKq26AJtXMARwl8ohhc8We0KuFulP2TMhTLc3DQJjEG8lJ30mJ9scmN7Iu8AU /tVYbOsMEa9BwnSeR5FGUBZQrGGEnL+Ts5djNf0hBv/MG61EWzBd2o/8PrS+H1QABmKRO2DiLHF AgPhGqY02w+sO8q9Jm/ZjSzXJ+KYj0YOol78sJehnWxhpg75nu5zigSJ0BdmuYCitid7R7lAmHI /VSuJXerWS8snMRflnFc+hkzqrIES32ZsG/HtIiv8pekw== DRAM1 is only 2GiB in size (0x00_8000_0000 - 0x01_0000_0000) which is already used by Linux kernel, etc. Move the allocation area of BMAN and QMAN to DRAM1 region. This frees the complete DRAM2 area for e.g. CMA. Signed-off-by: Alexander Stein --- There is a project which needs the upper 2GiB as CMA memory, so these buffers needs to move. This range also works for 1GiB RAM module variants. .../boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi index fa543db99def6..7059ab8bc9d46 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi @@ -10,6 +10,18 @@ #include "fsl-ls1046a.dtsi" #include "tqmls10xxa.dtsi" +&bman_fbpr { + alloc-ranges = <0 0x88000000 1 0x00000000>; +}; + +&qman_fqd { + alloc-ranges = <0 0x88000000 1 0x00000000>; +}; + +&qman_pfdr { + alloc-ranges = <0 0x88000000 1 0x00000000>; +}; + &qspi { num-cs = <2>; status = "okay"; -- 2.43.0