xen-devel
[Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flu
To: |
mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, ian.campbell@xxxxxxxxxx, Jeremy.Fitzhardinge@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, Ian.Campbell@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx |
Subject: |
[Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix |
From: |
Ingo Molnar <mingo@xxxxxxx> |
Date: |
Mon, 11 May 2009 15:12:30 +0200 |
Cc: |
linux-tip-commits@xxxxxxxxxxxxxxx |
Delivery-date: |
Mon, 11 May 2009 06:13:11 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<tip-636afdbe85d50d9b88f5283b5e6d0f8518431aac@xxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<1241797927.15972.51.camel@xxxxxxxxxxxxxxxxxxxxxx> <tip-636afdbe85d50d9b88f5283b5e6d0f8518431aac@xxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* tip-bot for Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:
> Commit-ID: 636afdbe85d50d9b88f5283b5e6d0f8518431aac
> Gitweb: http://git.kernel.org/tip/636afdbe85d50d9b88f5283b5e6d0f8518431aac
> Author: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
> AuthorDate: Fri, 8 May 2009 16:52:07 +0100
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Mon, 11 May 2009 15:08:08 +0200
>
> x86: use flush_tlb_others to implement flush_tlb_all, fix
>
> "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: <none>/-1, .owner_cpu: 0
> Pid: 0, comm: swapper Not tainted
> 2.6.30-rc3-x86_32p-xen0-tip-01797-g3db7847 #1054
> Call Trace:
> [<c023e656>] spin_bug+0x96/0xf0
> [<c023e90f>] _raw_spin_lock+0x6f/0x150
>
> It can be called before the core_initcalls are run. Explicitly call
> init_smp_flush early on.
>
> Also there is no need for init_smp_flush to be __cpuinit.
>
> [ Impact: fix boot crash/warning ]
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>
> LKML-Reference: <1241797927.15972.51.camel@xxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
>
>
> ---
> 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 ‘init_smp_flush’
i've excluded tip:x86/xen from tip:master for now.
Ingo
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [GIT PULL] Xen core updates, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 1/8] xen/x86-64: fix breakpoints and hardware watchpoints, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 3/8] xen: cache cr0 value to avoid trap'n'emulate for read_cr0, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 2/8] xen/x86-64: clean up warnings about IST-using traps, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Ian Campbell
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Ian Campbell
- [Xen-devel] [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, tip-bot for Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix,
Ingo Molnar <=
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, tip-bot for Ian Campbell
[Xen-devel] [PATCH 4/8] xen: deal with NMI's use of IST too, Jeremy Fitzhardinge
[Xen-devel] [PATCH 5/8] xen/i386: make sure initial VGA/ISA mappings are not overridden, Jeremy Fitzhardinge
|
|
|