From: Ingo Molnar Subject: Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix Date: Mon, 11 May 2009 15:12:30 +0200 Message-ID: <20090511131230.GA32693@elte.hu> References: <1241797927.15972.51.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, ian.campbell@citrix.com, Jeremy.Fitzhardinge@citrix.com, tglx@linutronix.de, Ian.Campbell@eu.citrix.com, xen-devel@lists Cc: linux-tip-commits@vger.kernel.org List-Id: xen-devel@lists.xenproject.org * tip-bot for Ian Campbell wrote: > Commit-ID: 636afdbe85d50d9b88f5283b5e6d0f8518431aac > Gitweb: http://git.kernel.org/tip/636afdbe85d50d9b88f5283b5e6d0f851= 8431aac > Author: Ian Campbell > AuthorDate: Fri, 8 May 2009 16:52:07 +0100 > Committer: Ingo Molnar > CommitDate: Mon, 11 May 2009 15:08:08 +0200 >=20 > x86: use flush_tlb_others to implement flush_tlb_all, fix >=20 > "use the flush_tlb_others() call to implement flush_tlb_all()" > causes: > BUG: spinlock bad magic on CPU#0, swapper/0 > lock: c05b7588, .magic: 00000000, .owner: /-1, .owner_c= pu: 0 > Pid: 0, comm: swapper Not tainted 2.6.30-rc3-x86_32p-xen0-tip-= 01797-g3db7847 #1054 > Call Trace: > [] spin_bug+0x96/0xf0 > [] _raw_spin_lock+0x6f/0x150 >=20 > It can be called before the core_initcalls are run. Explicitly call > init_smp_flush early on. >=20 > Also there is no need for init_smp_flush to be __cpuinit. >=20 > [ Impact: fix boot crash/warning ] >=20 > Signed-off-by: Ian Campbell > Cc: Xen-devel > Acked-by: Jeremy Fitzhardinge > LKML-Reference: <1241797927.15972.51.camel@zakaz.uk.xensource.com> > Signed-off-by: Ingo Molnar >=20 >=20 > --- > arch/x86/include/asm/tlbflush.h | 2 ++ > arch/x86/mm/tlb.c | 3 +-- > init/main.c | 1 + > 3 files changed, 4 insertions(+), 2 deletions(-) which then does: init/main.c:728: error: implicit declaration of function =E2=80=98init_sm= p_flush=E2=80=99 i've excluded tip:x86/xen from tip:master for now. Ingo