[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110520130135.GA15248@elte.hu>
Date: Fri, 20 May 2011 15:01:35 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: tglx@...utronix.de, hpa@...or.com, steiner@....com,
yinghai@...nel.org, linux-kernel@...r.kernel.org,
gorcunov@...nvz.org
Subject: Re: [patch 6/6] x86, apic: use .apicdrivers section to find the list
of apic drivers
* Suresh Siddha <suresh.b.siddha@...el.com> wrote:
> This will enable each apic driver to be self-contained and eliminate the need
> for apic_probe[].
>
> Apic probe will now depend on the order in which apic drivers are listed in
> the .apicdrivers section. Ordering of apic driver files in the Makefile
> and the macros apic_driver()/apic_drivers() help enforce the desired order.
>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@...el.com>
> ---
> arch/x86/include/asm/apic.h | 25 ++++++++++---
> arch/x86/kernel/apic/Makefile | 17 +++++---
> arch/x86/kernel/apic/apic_flat_64.c | 11 ++++-
> arch/x86/kernel/apic/bigsmp_32.c | 2 +
> arch/x86/kernel/apic/es7000_32.c | 9 +++-
> arch/x86/kernel/apic/numaq_32.c | 7 ++-
> arch/x86/kernel/apic/probe_32.c | 65 ++++++++++++----------------------
> arch/x86/kernel/apic/probe_64.c | 43 ++++++----------------
> arch/x86/kernel/apic/summit_32.c | 4 +-
> arch/x86/kernel/apic/x2apic_cluster.c | 4 +-
> arch/x86/kernel/apic/x2apic_phys.c | 6 ++-
> arch/x86/kernel/apic/x2apic_uv_x.c | 6 ++-
> arch/x86/kernel/vmlinux.lds.S | 6 +++
> 13 files changed, 111 insertions(+), 94 deletions(-)
This patch crashes one of my testboxes (AMD X2 whitebox, config attached). No
crashlog.
The patch is also clearly too large and should be split up into 4 pieces:
- there should be a patch adding the whole driver section thing and marking
all the existing APIC drivers with it
- one patch adding the functions doing the new-style probing.
- one patch flipping over from old-style to new-style probing
- a final patch removing all the stale functions and marking the APIC driver
probe functions static.
Thanks,
Ingo
View attachment "config" of type "text/plain" (67305 bytes)
Powered by blists - more mailing lists