All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@armlinux.org.uk>
To: afzal mohammed <afzal.mohd.ma@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
	linux-omap@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Kevin Hilman <khilman@kernel.org>
Subject: Re: [CFT] Always enable SMP mode on MP capable CPUs
Date: Sat, 27 May 2017 14:22:37 +0100	[thread overview]
Message-ID: <20170527132237.GX23750@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20170526112210.GA3354@afzalpc>

On Fri, May 26, 2017 at 04:52:10PM +0530, afzal mohammed wrote:
> Hi,
> 
> On Thu, May 25, 2017 at 03:13:33PM -0700, Tony Lindgren wrote:
> 
> > OK so got my am437x-idk back
> > 
> > And as suspected it won't boot with these changes.
> 
> Tested here too with your additional changes included & seeing same
> behavior here as well on AM437x.
> 
> As an aside, when Russell posted this patch a week back itself was
> suspecting this. i had a certain view on AM437x w.r.t SMP issue back
> while officially working on it & since now not officially involved
> with the issue at hand, i was uncomfortable dealing with this. But as
> Russell's patch was not noticed by others w.r.t AM437x, upon being
> able to confirm it yesterday, i at least wanted to bring it to notice
> & runaway from the scene.

Right, so I think the summary is: the kernel can't set the SMP bit
correctly - it doesn't have the information at this point in time
to know definitively whether the bit needs to be set or not.

So, those who are suffering issues with their SMP cores in uniprocessor
systems need to ensure that their boot loader correctly configures the
CPU cores.

Thanks for testing.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

WARNING: multiple messages have this Message-ID (diff)
From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [CFT] Always enable SMP mode on MP capable CPUs
Date: Sat, 27 May 2017 14:22:37 +0100	[thread overview]
Message-ID: <20170527132237.GX23750@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20170526112210.GA3354@afzalpc>

On Fri, May 26, 2017 at 04:52:10PM +0530, afzal mohammed wrote:
> Hi,
> 
> On Thu, May 25, 2017 at 03:13:33PM -0700, Tony Lindgren wrote:
> 
> > OK so got my am437x-idk back
> > 
> > And as suspected it won't boot with these changes.
> 
> Tested here too with your additional changes included & seeing same
> behavior here as well on AM437x.
> 
> As an aside, when Russell posted this patch a week back itself was
> suspecting this. i had a certain view on AM437x w.r.t SMP issue back
> while officially working on it & since now not officially involved
> with the issue at hand, i was uncomfortable dealing with this. But as
> Russell's patch was not noticed by others w.r.t AM437x, upon being
> able to confirm it yesterday, i at least wanted to bring it to notice
> & runaway from the scene.

Right, so I think the summary is: the kernel can't set the SMP bit
correctly - it doesn't have the information at this point in time
to know definitively whether the bit needs to be set or not.

So, those who are suffering issues with their SMP cores in uniprocessor
systems need to ensure that their boot loader correctly configures the
CPU cores.

Thanks for testing.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2017-05-27 13:22 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 10:52 [CFT] Always enable SMP mode on MP capable CPUs Russell King - ARM Linux
2017-05-18 18:09 ` Fabio Estevam
2017-05-19 17:07   ` Fabio Estevam
2017-05-19 17:15     ` Russell King - ARM Linux
2017-05-24 15:38       ` Tony Lindgren
2017-05-24 15:38         ` Tony Lindgren
2017-05-25 14:48         ` Russell King - ARM Linux
2017-05-25 14:48           ` Russell King - ARM Linux
2017-05-25 15:11           ` Tony Lindgren
2017-05-25 15:11             ` Tony Lindgren
2017-05-25 18:05             ` Russell King - ARM Linux
2017-05-25 18:05               ` Russell King - ARM Linux
2017-05-25 22:13               ` Tony Lindgren
2017-05-25 22:13                 ` Tony Lindgren
2017-05-26 11:22                 ` afzal mohammed
2017-05-26 11:22                   ` afzal mohammed
2017-05-27 13:22                   ` Russell King - ARM Linux [this message]
2017-05-27 13:22                     ` Russell King - ARM Linux
2017-05-31 14:39                     ` Tony Lindgren
2017-05-31 14:39                       ` Tony Lindgren
2017-05-31 14:59                       ` Russell King - ARM Linux
2017-05-31 14:59                         ` Russell King - ARM Linux
2017-05-31 15:07                         ` Tony Lindgren
2017-05-31 15:07                           ` Tony Lindgren
2017-05-24 15:50 ` afzal mohammed
2017-05-24 15:50   ` afzal mohammed
2017-05-25 16:15 ` Florian Fainelli
2017-05-25 16:56   ` Russell King - ARM Linux
2017-05-25 17:10     ` Tony Lindgren
2017-05-25 17:10       ` Tony Lindgren
2017-05-25 17:24     ` Florian Fainelli
2017-05-26  9:44 ` Vladimir Murzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170527132237.GX23750@n2100.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=afzal.mohd.ma@gmail.com \
    --cc=festevam@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.