mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARC fix for 4.3
@ 2015-09-11 23:32 Vineet Gupta
  2015-09-11 23:32 ` [PATCH] ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Vineet Gupta @ 2015-09-11 23:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml, arc-linux-dev, Vineet Gupta

Hi Linus,

Could you please add this to 4.3 for merge window. Since this is a single patch
I'm not bothering with a pull request.

Thx,
-Vineet

Vineet Gupta (1):
  ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs

 arch/arc/plat-axs10x/axs10x.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
  2015-09-11 23:32 [PATCH] ARC fix for 4.3 Vineet Gupta
@ 2015-09-11 23:32 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2015-09-11 23:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml, arc-linux-dev, Vineet Gupta, stable

Newer bitfiles needs the reduced clk even for SMP builds

Cc: <stable@vger.kernel.org>  #4.2
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 arch/arc/plat-axs10x/axs10x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arc/plat-axs10x/axs10x.c b/arch/arc/plat-axs10x/axs10x.c
index ad9825d4026a..0a77b19e1df8 100644
--- a/arch/arc/plat-axs10x/axs10x.c
+++ b/arch/arc/plat-axs10x/axs10x.c
@@ -402,6 +402,8 @@ static void __init axs103_early_init(void)
 	unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
 	if (num_cores > 2)
 		arc_set_core_freq(50 * 1000000);
+	else if (num_cores == 2)
+		arc_set_core_freq(75 * 1000000);
 #endif
 
 	switch (arc_get_core_freq()/1000000) {
-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-11 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-11 23:32 [PATCH] ARC fix for 4.3 Vineet Gupta
2015-09-11 23:32 ` [PATCH] ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome