From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (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 9B1B34AA3E2 for ; Thu, 1 Oct 2026 08:52:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790844776; cv=none; b=NG3rK2nMFGk3CPlwwhMcJ2a7kMkDGPiOmZeuXmKihphhPpmTutlJunjxw5JcesV4NyHEb73BhSykYiVrrQcjJIILavaMp+NpqHkHA2nBNoYyfMpcNhsLaXUXUlkYheViaaRA3jpT4a1jjFWMdzKyNBzpFVFya1NsvfQwASlqE6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790844776; c=relaxed/simple; bh=Y9yhMCMPK9PruBiJ6LLN0jqdCuRUWCX6MRlxm3UxClk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gB/EweBa/lMSX3ihRUmELQfpeSHOy+PB4vnyYdZhW1mbBx4OXbP5TE1WIO3N5WYop5RN2OBe6J9hiOAjHmWYMkE9IPmAvbrUWM6Y+MVLhznqKNCXxf/nEWFHbxuTitOdfIbO/IGi550tWraZjHrSmbaeW7WySoamLzPW2wZbHQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wendy.sh; spf=pass smtp.mailfrom=wendy.sh; dkim=pass (2048-bit key) header.d=wendy-sh.20251104.gappssmtp.com header.i=@wendy-sh.20251104.gappssmtp.com header.b=hZUvRIol; arc=none smtp.client-ip=74.125.225.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wendy.sh Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wendy.sh Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wendy-sh.20251104.gappssmtp.com header.i=@wendy-sh.20251104.gappssmtp.com header.b="hZUvRIol" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-49ccf3ca626so38367665e9.0 for ; Thu, 01 Oct 2026 01:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wendy-sh.20251104.gappssmtp.com; s=20251104; t=1790844772; x=1791449572; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=ZoHLp2qEvUU4qcQZHZqw/kSI80wjja3vkqgsp5gvpnQ=; b=hZUvRIolB3i9n9hDbgaKj22rKmXPO5fsvbNjVF8kgAJKEt9GW5VnqpciHJkxVjiemz hn+yxCqgccnfcy1/MzkQjpfQI6uNdgeNskLHMUvhHlmujvlui2vpgb2oOoRWv7A4Y3Zc 5E5W+G4fod5Ncy30PaEM4uVg9NZgAUawn/etf6HMmo6zSWsdMHS1lEryL5v8ZY7tBjtm AVVgayOZ9mi9dIJUwvmEjgi947qOH4cfoue6J8Do73+zjFJNScTBBW+wlUMZqpMl6b5i kAsjCdWxJ6NGx0I0ElB8KmJPQJgeP9a91cxwqsyqE44R6xjTDrS9yLEbJqmdkKqe6KwA H9Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790844772; x=1791449572; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ZoHLp2qEvUU4qcQZHZqw/kSI80wjja3vkqgsp5gvpnQ=; b=Hm7piJuHQte3Q6IjLScsSgUWx+Al5FAGQhb74NIo3E8Jtn1wy8zjiyBSSmoOTk1VHW HKqeQQ95mEcbKH/iwgNAkKMtHbX7T3vPTGdU4dpT7Ta0xUAhUZhscaO/qyP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a417emr39422725e9.1.1790844771644; Thu, 01 Oct 2026 01:52:51 -0700 (PDT) Received: from bke.ddns.sjp.renault.br ([5.2.196.22]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a01f979f4fsm55556345e9.4.2026.10.01.01.52.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2026 01:52:51 -0700 (PDT) From: Benjamin Kelenyi To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Vinayak Katoch , Ekansh Gupta , Dmitry Baryshkov , Christopher Obbard , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Kelenyi Subject: [PATCH] arm64: dts: qcom: agatti: Make the ADSP remote heap no-map Date: Thu, 1 Oct 2026 11:52:47 +0300 Message-ID: <20261001085247.1897991-1-benjamin@wendy.sh> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ADSP remote heap is declared as a reusable CMA pool. The ADSP has no IOMMU, so fastrpc hands the whole region to the DSP with qcom_scm_assign_mem() when it probes, while CMA keeps lending the pool's pages to movable allocations. Once memory runs low the kernel touches a page the DSP now owns, and the board resets without an oops. On an Arduino UNO Q (QRB2210, 4 GB), writing and reading back 3.5 GB through the page cache resets the board within seconds. With fastrpc blacklisted, or with the heap declared no-map, the same test passes repeatedly. Declare the heap no-map, so the kernel never uses it, as the other platforms' remote heaps are. Fixes: 3fbf3b85bf86 ("arm64: dts: qcom: agatti: Add memory-region for audio PD") Link: https://lore.kernel.org/all/20260908070331.2189A1F00A3A@smtp.kernel.org/ Signed-off-by: Benjamin Kelenyi --- arch/arm64/boot/dts/qcom/agatti.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi index d9f4cbf..3ff97ea 100644 --- a/arch/arm64/boot/dts/qcom/agatti.dtsi +++ b/arch/arm64/boot/dts/qcom/agatti.dtsi @@ -385,7 +385,7 @@ adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x0 0x1 0x0>; - reusable; + no-map; alignment = <0x0 0x400000>; size = <0x0 0x800000>; }; -- 2.43.0