[PATCH v3 00/10] Add tegra30 support for secondary cores
From: pdeschrijver@nvidia.com (Peter De Schrijver)
Date: 2012-03-01 14:35:47
Also in:
linux-tegra, lkml
On Thu, Mar 01, 2012 at 12:42:11PM +0100, Peter De Schrijver wrote:
On Wed, Feb 29, 2012 at 11:38:16PM +0100, Stephen Warren wrote:quoted
Peter De Schrijver wrote at Wednesday, February 29, 2012 8:42 AM:quoted
On Wed, Feb 15, 2012 at 10:27:43PM +0100, Stephen Warren wrote:quoted
Peter De Schrijver wrote at Thursday, February 09, 2012 4:48 PM:quoted
This patchset introduces support for secondary cores on tegra30. It also introduces some functions for the flowcontroller and adds basic support for tegra30 powerdomains.The code looks fine to me. I do notice the following when running "shutdown -h now": [ 27.762124] SMP: failed to stop secondary CPUsI can't seem to reproduce this at all on next-20120229 anymore. What kind of repro frequency are you seeing, and does it get fixed if you update to that baseline?I see it abount once every 3 reboots. I have a an expect script which automates the test. I haven't tried with next-20120229 yet.quoted
(I tried 20 times with shutdown, and 15 of them I reverted all the CPU and cache errata in case they affected the issue at all)
Tried it with next-20120229 and it works fine here. I also noticed next-20120229 does not have https://lkml.org/lkml/2012/1/31/444 which was part of the earlier tree I used for testing. So num_online_cpus() recalculates the number of online CPUs everytime instead of trying to only recalculate it when there is a change. Cheers, Peter.