stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
       [not found] <1442014342-5202-1-git-send-email-vgupta@synopsys.com>
@ 2015-09-11 23:32 ` Vineet Gupta
  0 siblings, 0 replies; only message 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 related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-11 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1442014342-5202-1-git-send-email-vgupta@synopsys.com>
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;
as well as URLs for NNTP newsgroup(s).