Skip to content

apic: unification series 5

Cyrill Gorcunov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15x86: apic - rearrange maxcpu definitionarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+3 -31 reply
2/15x86: apic - unify setup_boot_APIC_clockarch/x86/kernel/apic_32.c+1 -00 replies
3/15x86: apic - unify disable_local_APICarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+17 -10 replies
4/15x86: apic - unify lapic_shutdownarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+19 -40 replies
5/15x86: apic - unify connect_bsp_APICarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+20 -20 replies
6/15x86: apic - unify lapic_setup_esrarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+50 -220 replies
7/15x86: apic - unify __setup_APIC_LVTTarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+15 -70 replies
8/15x86: apic - unify disconnect_bsp_APICarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+55 -340 replies
9/15x86: apic - generic_processor_infoarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+47 -90 replies
10/15x86: apic - unify end_local_APIC_setuparch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+13 -20 replies
11/15x86: apic - unify local_apic_timer_interruptarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+8 -00 replies
12/15x86: apic - unify apic_set_verbosityarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+39 -240 replies
13/15x86: apic - unify disableapic and nolapic setup handlersarch/x86/kernel/apic_32.c arch/x86/kernel/apic_64.c+12 -50 replies
14/15x86: apic - rearrange parse_lapic_timer_c2_okarch/x86/kernel/apic_32.c+7 -70 replies
15/15x86: apic - lapic_resume 32bit - unification fixarch/x86/kernel/apic_32.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/15] apic: unification series 5

This series is over

commit d5e629a6f88137fb77c4cc857be5ea7c3f27110d

Author: Yinghai Lu <[email protected]>
Date:   Sun Aug 17 21:12:27 2008 -0700

x86: apic - unify lapic_resume - fix

Please review - any comments are quite welcome!

Mostly #ifdef added, code rearrangement - nothing serious (except new bugs have been brought in :-)

So I think the most simple/basic unification is done. Now unif. process will be harder since it will require for much detailed code review - for example smp_spurious_interrupt which uses different call frames on 32/64 bit modes and will require some wrapping I think.

With this series 32bit code compilation warns:

arch/x86/kernel/apic_32.c: In function ‘end_local_APIC_setup’:
arch/x86/kernel/apic_32.c:1165: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/apic_32.c: In function ‘disconnect_bsp_APIC’:
arch/x86/kernel/apic_32.c:1446: warning: ISO C90 forbids mixed declarations and code cyrill@lenovo linux-2.6.git $

So parenthesis will be needed to eliminate them... but
I think it could be too ugly... need some time to think.
So patches 8/15 and 10/15 sould be not applied for now - just review them. Thanks for patience!

- Cyrill -