From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5FC4816F84F; Wed, 2 Oct 2024 13:26:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727875579; cv=none; b=MjiYB5y2u8lnDHASxivIr7KBNwgWip2sUU4PS9vkdBWz2C9F7AEtN4XjktxQyTgsDzluVXZ5yuxYFTJKU5fYwV5hGxwmu8aFY6bWZ06K8KmJfKIDsTYM+XMf6OhIQ+tLAt9Ks5kSltynX+Lj5SSaebRw9U08oJzy1VbzH7sRgmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727875579; c=relaxed/simple; bh=PRSA1G4asMej40JGlEuo4SBekReRyUatLs1GUptC4t4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X00E/EngfUPzVv9QdKLW8mTDLkUiIqH452xFkjsjIYxzTpRrvJL2y403K8ci8XBYZEdcC32b1v+gIvxDIvFYhPJh68hzThOBUeXRz9g0TWkDLvv4L3NBp+8saSsilWItV34jcnnpynls1ubCk19GxTNnNwsTBDGOLVCECOI9J+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EO6SJd7P; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EO6SJd7P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB5BFC4CEC5; Wed, 2 Oct 2024 13:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727875579; bh=PRSA1G4asMej40JGlEuo4SBekReRyUatLs1GUptC4t4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EO6SJd7P55j8TP4AwYTUDyO3algAYGhhEMjyTwgVxKkOLFHDmMeji5a0PVlXut7H3 jb21imCZenr1eoh4u3WnEdN1inrFrOBH7SP5pAypULw7pIkXrzkAfbLpBfhOkKm2u2 7qcz6mhx3SsbkOFpEIswe+MgQe3AJ17LaVdjPynA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andrew Davis , Nishanth Menon , Sasha Levin Subject: [PATCH 6.11 148/695] arm64: dts: ti: k3-j721e-beagleboneai64: Fix reversed C6x carveout locations Date: Wed, 2 Oct 2024 14:52:26 +0200 Message-ID: <20241002125828.390706771@linuxfoundation.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241002125822.467776898@linuxfoundation.org> References: <20241002125822.467776898@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.11-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andrew Davis [ Upstream commit 1a314099b7559690fe23cdf3300dfff6e830ecb1 ] The DMA carveout for the C6x core 0 is at 0xa6000000 and core 1 is at 0xa7000000. These are reversed in DT. While both C6x can access either region, so this is not normally a problem, but if we start restricting the memory each core can access (such as with firewalls) the cores accessing the regions for the wrong core will not work. Fix this here. Fixes: fae14a1cb8dd ("arm64: dts: ti: Add k3-j721e-beagleboneai64") Signed-off-by: Andrew Davis Link: https://lore.kernel.org/r/20240801181232.55027-2-afd@ti.com Signed-off-by: Nishanth Menon Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts b/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts index a2925555fe818..fb899c99753ec 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts @@ -123,7 +123,7 @@ no-map; }; - c66_1_dma_memory_region: c66-dma-memory@a6000000 { + c66_0_dma_memory_region: c66-dma-memory@a6000000 { compatible = "shared-dma-pool"; reg = <0x00 0xa6000000 0x00 0x100000>; no-map; @@ -135,7 +135,7 @@ no-map; }; - c66_0_dma_memory_region: c66-dma-memory@a7000000 { + c66_1_dma_memory_region: c66-dma-memory@a7000000 { compatible = "shared-dma-pool"; reg = <0x00 0xa7000000 0x00 0x100000>; no-map; -- 2.43.0