Message ID | 1375360855-25219-1-git-send-email-srinivas.kandagatla@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Aug 1, 2013 at 2:40 PM, Srinivas KANDAGATLA <srinivas.kandagatla@st.com> wrote: > From: Srinivas Kandagatla <srinivas.kandagatla@st.com> > > This patch removes u8500_secondary_startup from _INIT section, there are > two reason for this removal. > 1. discarding such a small code does not save much, given the RAM sizes. > 2. Having this code discarded, creates corruption issue when we boot > smp-kernel with nr_cpus=1 or with single cpu node in DT. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> > --- > Hi, > > I did encounter corruption issues on STi CA9 SOCs when a SMP kernel is booted with > nr_cpus=1. This boiled down to freeing the __INIT section of the secondary > startup code. It looks like two other SOCs(Spear and ux500) might have same > issue. > > Do you think this patch is valid for ux500? Yes, tentatively applied, I cannot test the patch right now since ux500 has some boot regression and I'm hunting the cause. Yours, Linus Walleij
diff --git a/arch/arm/mach-ux500/headsmp.S b/arch/arm/mach-ux500/headsmp.S index 08da5589..9cdea04 100644 --- a/arch/arm/mach-ux500/headsmp.S +++ b/arch/arm/mach-ux500/headsmp.S @@ -11,8 +11,6 @@ #include <linux/linkage.h> #include <linux/init.h> - __INIT - /* * U8500 specific entry point for secondary CPUs. */