Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1203262 > unrolled thread

[PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2015-08-08 14:20 +0200
Last post2015-08-13 12:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-08-08 14:20 +0200
    Re: [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary  entry Olof Johansson <olof@lixom.net> - 2015-08-13 12:50 +0200

#1203262 — [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2015-08-08 14:20 +0200
Subject[PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry
Message-ID<pVbgu-6Td-25@gated-at.bofh.it>
This is unnecessary since commit 02b4e2756e01 ("ARM: v7 setup
function should invalidate L1 cache").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-uniphier/platsmp.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/arch/arm/mach-uniphier/platsmp.c b/arch/arm/mach-uniphier/platsmp.c
index 5943e1c..4b784f7 100644
--- a/arch/arm/mach-uniphier/platsmp.c
+++ b/arch/arm/mach-uniphier/platsmp.c
@@ -60,12 +60,6 @@ err:
 	sbcm_regmap = NULL;
 }
 
-static void __naked uniphier_secondary_startup(void)
-{
-	asm("bl		v7_invalidate_l1\n"
-	    "b		secondary_startup\n");
-};
-
 static int uniphier_boot_secondary(unsigned int cpu,
 				   struct task_struct *idle)
 {
@@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu,
 		return -ENODEV;
 
 	ret = regmap_write(sbcm_regmap, 0x1208,
-			   virt_to_phys(uniphier_secondary_startup));
+			   virt_to_phys(secondary_startup));
 	if (!ret)
 		asm("sev"); /* wake up secondary CPU */
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1206697 — Re: [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry

FromOlof Johansson <olof@lixom.net>
Date2015-08-13 12:50 +0200
SubjectRe: [PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry
Message-ID<pWYf7-St-1@gated-at.bofh.it>
In reply to#1203262
On Sat, Aug 08, 2015 at 09:13:44PM +0900, Masahiro Yamada wrote:
> This is unnecessary since commit 02b4e2756e01 ("ARM: v7 setup
> function should invalidate L1 cache").
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---

Applied, thanks.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web