* Re: SMVP Support on MIPS34KC (linux-2.6.35)
[not found] <34219711.post@talk.nabble.com>
@ 2012-07-27 17:19 ` Steven J. Hill
2012-07-30 13:20 ` JoeJ
0 siblings, 1 reply; 6+ messages in thread
From: Steven J. Hill @ 2012-07-27 17:19 UTC (permalink / raw)
To: JoeJ; +Cc: linux-mips, sjhill
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Joe.
The 2.6.35.9 is obsolete with regards to SMVP support. You should grab the
latest 3.4.2 kernel that has complete and working SMVP. To access it, do the
following:
git clone git://git.linux-mips.org/pub/scm/linux-mti
git checkout -b linux-mti-3.4.2 origin/linux-mti-3.4.2
Use the 'arch/mips/configs/maltasmvp_defconfig' as your base configuration
file. If you have any issues, please let me know.
- -Steve
P.S. You can also reach me at <sjhill AT mips DOT com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlASzaQACgkQgyK5H2Ic36cjbACfcgtny/+QYPBNhiDqC0I9QIfV
4ZQAn2TlJWe+t2Jsriji2KAAtk8fwnu3
=0aZ6
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SMVP Support on MIPS34KC (linux-2.6.35)
2012-07-27 17:19 ` SMVP Support on MIPS34KC (linux-2.6.35) Steven J. Hill
@ 2012-07-30 13:20 ` JoeJ
2012-07-30 14:52 ` Steven J. Hill
0 siblings, 1 reply; 6+ messages in thread
From: JoeJ @ 2012-07-30 13:20 UTC (permalink / raw)
To: linux-mips
Hi Steve,
Thanks for the suggestion. We moved to 3.4.2 kernel and observed the same
issue, ie System hangs while booting. In 3.4.2 port, we are using mips
timers (count & compare - csrc-r4k.c & cevt-r4k.c) as clocksource. The last
few prints on the console are :
Synchronize counters across 2 CPUs: done.
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
As mentioned in my previous post, even with 3.4.2 kernel, the control loops
in stop_machine_cpu_stop function. Do you suspect anything here?
btw, if we set "clocksource=jiffies" in the bootargs, the system boot goes
fine. The issue is observed only during switching from default clocksource
to MIPS clocksource. Also, the boot works fine with 'nosmp=1' option & MIPS
clocksource.
Please suggest on the possible debug approach for this issue.
Thanks for your support.
Regards,
Joe
sjhill-3 wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Joe.
>
> The 2.6.35.9 is obsolete with regards to SMVP support. You should grab the
> latest 3.4.2 kernel that has complete and working SMVP. To access it, do
> the
> following:
>
> git clone git://git.linux-mips.org/pub/scm/linux-mti
> git checkout -b linux-mti-3.4.2 origin/linux-mti-3.4.2
>
> Use the 'arch/mips/configs/maltasmvp_defconfig' as your base configuration
> file. If you have any issues, please let me know.
>
> - -Steve
>
> P.S. You can also reach me at <sjhill AT mips DOT com>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlASzaQACgkQgyK5H2Ic36cjbACfcgtny/+QYPBNhiDqC0I9QIfV
> 4ZQAn2TlJWe+t2Jsriji2KAAtk8fwnu3
> =0aZ6
> -----END PGP SIGNATURE-----
>
>
>
--
View this message in context: http://old.nabble.com/SMVP-Support-on-MIPS34KC-%28linux-2.6.35%29-tp34219711p34230427.html
Sent from the linux-mips main mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SMVP Support on MIPS34KC (linux-2.6.35)
2012-07-30 13:20 ` JoeJ
@ 2012-07-30 14:52 ` Steven J. Hill
2012-07-30 15:28 ` Jeffin
0 siblings, 1 reply; 6+ messages in thread
From: Steven J. Hill @ 2012-07-30 14:52 UTC (permalink / raw)
To: JoeJ; +Cc: linux-mips
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/30/2012 08:20 AM, JoeJ wrote:
>
> Synchronize counters across 2 CPUs: done. NET: Registered protocol family
> 16 bio: create slab <bio-0> at 0 Switching to clocksource MIPS
>
>
> As mentioned in my previous post, even with 3.4.2 kernel, the control
> loops in stop_machine_cpu_stop function. Do you suspect anything here? btw,
> if we set "clocksource=jiffies" in the bootargs, the system boot goes fine.
> The issue is observed only during switching from default clocksource to
> MIPS clocksource. Also, the boot works fine with 'nosmp=1' option & MIPS
> clocksource.
>
Make user that you select both CONFIG_CSRC_R4K ad CONFIG_CSRC_GIC for your
clock sources. The GIC counter will be used from synchronization across the
CPUs. Secondly, the hang is not actually a hard hang. Wait 50 seconds and I
bet you will see the boot complete.
- -Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAWn6cACgkQgyK5H2Ic36f47wCbBM7J8Bl0iEyELwxx2sYHBRxZ
SukAniQlkEwYyNdolwPhi1vOJgxNrba+
=NW6E
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SMVP Support on MIPS34KC (linux-2.6.35)
2012-07-30 14:52 ` Steven J. Hill
@ 2012-07-30 15:28 ` Jeffin
2012-07-30 21:02 ` Steven J. Hill
0 siblings, 1 reply; 6+ messages in thread
From: Jeffin @ 2012-07-30 15:28 UTC (permalink / raw)
To: Steven J. Hill; +Cc: JoeJ, linux-mips
[-- Attachment #1: Type: text/plain, Size: 2067 bytes --]
Hi Steve,
CONFIG_CSRC_R4K is defined . However, I have not
enabled CONFIG_CSRC_GIC and gic_present is initialized to 'zero' . I am a
bit confused about CONFIG_SRC_GIC macros. I am not sure if GIC is an
external timer outside the mips 34Kc core (specific to malta reference
board)? In that case, we might have to replace to GIC source code with our
own General purpose timer code. Can you please confirm if i am missing
something here? It will be verfy helpful if you can explain a bit about the
significance of CSRC_R4K & CSRC_GIC macros definitions in SMVP model.
We have been stuck with this issue for quiet sometime and looking for ways
to resolve this at the best possible way. Your suggestions are really
helpful in this regard.
Regards,
Jeffin
On Mon, Jul 30, 2012 at 8:22 PM, Steven J. Hill
<sjhill@realitydiluted.com>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/30/2012 08:20 AM, JoeJ wrote:
> >
> > Synchronize counters across 2 CPUs: done. NET: Registered protocol family
> > 16 bio: create slab <bio-0> at 0 Switching to clocksource MIPS
> >
> >
> > As mentioned in my previous post, even with 3.4.2 kernel, the control
> > loops in stop_machine_cpu_stop function. Do you suspect anything here?
> btw,
> > if we set "clocksource=jiffies" in the bootargs, the system boot goes
> fine.
> > The issue is observed only during switching from default clocksource to
> > MIPS clocksource. Also, the boot works fine with 'nosmp=1' option & MIPS
> > clocksource.
> >
> Make user that you select both CONFIG_CSRC_R4K ad CONFIG_CSRC_GIC for your
> clock sources. The GIC counter will be used from synchronization across the
> CPUs. Secondly, the hang is not actually a hard hang. Wait 50 seconds and I
> bet you will see the boot complete.
>
> - -Steve
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAWn6cACgkQgyK5H2Ic36f47wCbBM7J8Bl0iEyELwxx2sYHBRxZ
> SukAniQlkEwYyNdolwPhi1vOJgxNrba+
> =NW6E
> -----END PGP SIGNATURE-----
>
[-- Attachment #2: Type: text/html, Size: 2705 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SMVP Support on MIPS34KC (linux-2.6.35)
2012-07-30 15:28 ` Jeffin
@ 2012-07-30 21:02 ` Steven J. Hill
2012-08-02 13:44 ` JoeJ
0 siblings, 1 reply; 6+ messages in thread
From: Steven J. Hill @ 2012-07-30 21:02 UTC (permalink / raw)
To: Jeffin; +Cc: JoeJ, linux-mips
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeffin,
You will need to file an official support request with MIPS to proceed
further. Additional time spent on this will need to be tracked. Thanks.
- -Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAW9mAACgkQgyK5H2Ic36eS0QCfW8Z1mH1qvLnarlr7HRAr1Lbc
tloAni+7cilKyEy5eJD6ONUa+oZFctMp
=Iz5d
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SMVP Support on MIPS34KC (linux-2.6.35)
2012-07-30 21:02 ` Steven J. Hill
@ 2012-08-02 13:44 ` JoeJ
0 siblings, 0 replies; 6+ messages in thread
From: JoeJ @ 2012-08-02 13:44 UTC (permalink / raw)
To: linux-mips
Steve,
I have posted in the mips portal, addressing to you. Hope you must have got
the mail.
Regards,
Jeffin
sjhill-3 wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeffin,
>
> You will need to file an official support request with MIPS to proceed
> further. Additional time spent on this will need to be tracked. Thanks.
>
> - -Steve
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAW9mAACgkQgyK5H2Ic36eS0QCfW8Z1mH1qvLnarlr7HRAr1Lbc
> tloAni+7cilKyEy5eJD6ONUa+oZFctMp
> =Iz5d
> -----END PGP SIGNATURE-----
>
>
>
--
View this message in context: http://old.nabble.com/SMVP-Support-on-MIPS34KC-%28linux-2.6.35%29-tp34219711p34245663.html
Sent from the linux-mips main mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-08-02 13:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <34219711.post@talk.nabble.com>
2012-07-27 17:19 ` SMVP Support on MIPS34KC (linux-2.6.35) Steven J. Hill
2012-07-30 13:20 ` JoeJ
2012-07-30 14:52 ` Steven J. Hill
2012-07-30 15:28 ` Jeffin
2012-07-30 21:02 ` Steven J. Hill
2012-08-02 13:44 ` JoeJ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.