ARM: OMAP2: Fix up interconnect barrier initialization for DRA7
Subsystems (3)
PATCH 1/1 ARM: OMAP2: Fix up interconnect barrier initialization for DRA7
The following commits:
commit 3fa609755c11 ("ARM: omap2: restore OMAP4 barrier behaviour")
commit f746929ffdc8 ("Revert "ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688"") and
commit ea827ad5ffbb ("ARM: DRA7: Provide proper IO map table")
came in around the same time, unfortunately this seem to have missed initializing the barrier for DRA7 platforms - omap5_map_io was reused
for dra7 till it was split out by the last patch. barrier_init
needs to be hence carried forward as it is valid for DRA7 family of processors as they are for OMAP5.
---
Original thread of report: http://www.spinics.net/lists/dri-devel/msg101246.html
arch/arm/mach-omap2/io.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/io.c +1 -0
@@ -368,6 +368,7 @@ void __init omap5_map_io(void)void __init dra7xx_map_io (void ) {iotable_init (dra7xx_io_desc,ARRAY_SIZE (dra7xx_io_desc)); +omap_barriers_init (); }#endif /*
Signature · 1 line
2.7.0
Hi Nishanth,
Thank you for the patch.
Quoted 11 lines · On Friday 11 March 2016 10:12:28 Nishanth Menon wrote:
The following commits:
commit3fa609755c11("ARM: omap2: restore OMAP4 barrier behaviour") commitf746929ffdc8("Revert "ARM: OMAP4: remove dead kconfig optionOMAP4_ERRATA_I688"") and
commitea827ad5ffbb("ARM: DRA7: Provide proper IO map table") came in around the same time, unfortunately this seem to have missed initializing the barrier for DRA7 platforms -omap5_map_iowas reused for dra7 till it was split out by the last patch.barrier_initneeds to be hence carried forward as it is valid for DRA7 family of processors as they are for OMAP5.
Quoted 5 lines
Fixes ea827ad5ffbb7 ("ARM: DRA7: Provide proper IO map table")Reported-by Laurent Pinchart <[email protected]>Reported-by Tomi Valkeinen <[email protected]>Cc Russell King <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
Quoted 20 lines
---
Original thread of report:
http://www.spinics.net/lists/dri-devel/msg101246.htmlarch/arm/mach-omap2/io.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap2/io.c +1
-0@@ -368,6 +368,7 @@ void __init omap5_map_io(void)void __init dra7xx_map_io (void ) {iotable_init (dra7xx_io_desc,ARRAY_SIZE (dra7xx_io_desc)); +omap_barriers_init (); }#endif /*
Signature · 3 lines
Regards, Laurent Pinchart
Tony Lindgren
maintainerQuoted 16 lines · Laurent Pinchart
Hi Nishanth,
Thank you for the patch.
Quoted 11 lines · On Friday 11 March 2016 10:12:28 Nishanth Menon wrote:
The following commits:
commit3fa609755c11("ARM: omap2: restore OMAP4 barrier behaviour") commitf746929ffdc8("Revert "ARM: OMAP4: remove dead kconfig optionOMAP4_ERRATA_I688"") and
commitea827ad5ffbb("ARM: DRA7: Provide proper IO map table") came in around the same time, unfortunately this seem to have missed initializing the barrier for DRA7 platforms -omap5_map_iowas reused for dra7 till it was split out by the last patch.barrier_initneeds to be hence carried forward as it is valid for DRA7 family of processors as they are for OMAP5.
Quoted 7 lines
Quoted 5 lines
Fixes ea827ad5ffbb7 ("ARM: DRA7: Provide proper IO map table")Reported-by Laurent Pinchart <[email protected]>Reported-by Tomi Valkeinen <[email protected]>Cc Russell King <[email protected]>Signed-off-by Nishanth Menon <[email protected]>Reviewed-by Laurent Pinchart <[email protected]>
Applying into omap-for-v4.6/fixes with Cc stable thanks.
Tony