Skip to contentSkip to conversation

LS1043A: Add bugfix for IFC beyond 4 GiB

PATCH New georg.kirschbaum at siemens.com 2 participants 2 messages Sep 24, 2019 – Oct 18, 2019

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 LS1043A: Add bugfix for IFC beyond 4 GiB

Quoted 9 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of georg.kirschbaum at siemens.com
Sent: Tuesday, September 24, 2019 4:16 PM
To: u-boot at lists.denx.de
Subject: [U-Boot] [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB

From b5691db49dc3844b650f78634c35f091df906095 Mon Sep 17 00:00:00

Quoted 11 lines

2001
From: Georg Kirschbaum <[email protected]>
Date: Fri, 13 Sep 2019 14:45:30 +0200
Subject: [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB

IFC region 2 [0x620000000, 0x700000000) was not usable because the MMU entries were missing.
In case of CONFIG_FSL_LSCH2 they are added in early_map and final_map.

Cc Prabhakar Kushwaha <[email protected]>

Above email-id does not exists
Please update to Priyanka Jain <[email protected]>

Quoted 18 lines

---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 12 ++++++++++++
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++

2 files changed, 14 insertions(+)
(quoted diff) +0 -0

b/arch/arm/cpu/armv8/fsl- layerscape/cpu.c index edb9c96658..4ecdb6a7c4 100644

arch/arm/cpu/armv8/fsl-layerscape/cpu.c +4 -0
@@ -168,6 +168,12 @@ static struct mm_region early_map[] = {  #endif
 	  PTE_BLOCK_OUTER_SHARE | PTE_BLOCK_NS
 	},
+#ifdef CONFIG_FSL_IFC
+	{ CONFIG_SYS_FSL_IFC_BASE2, CONFIG_SYS_FSL_IFC_BASE2,
+	  CONFIG_SYS_FSL_IFC_SIZE2,
+	  PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |

PTE_BLOCK_NON_SHARE

arch/arm/cpu/armv8/fsl-layerscape/cpu.c

Quoted 2 lines
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +2 -0
+	},
+#endif

Please rebase to top of tree. IFC_BASE2 entry already exists in early_map

<snip>

--priyankajain