1. 11 Feb, 2009 6 commits
    • Jaswinder Singh Rajput's avatar
      x86: kernel/mpparse.c fix compilation warnings · ba1511bf
      Jaswinder Singh Rajput authored
       arch/x86/kernel/mpparse.c: In function ‘smp_scan_config’:
       arch/x86/kernel/mpparse.c:696: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘phys_addr_t’
       arch/x86/kernel/mpparse.c: In function ‘update_mp_table’:
       arch/x86/kernel/mpparse.c:1014: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘phys_addr_t’
      Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      ba1511bf
    • Ingo Molnar's avatar
      x86: make hibernation always-possible · 17993b49
      Ingo Molnar authored
      This commit:
      
        aced3ce: x86/Voyager: remove HIBERNATION Kconfig quirk
      
      Made hibernation only available on UP - instead of making it available
      on all of x86. Fix it.
      Reported-by: default avatarJiri Slaby <jirislaby@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      17993b49
    • Ravikiran G Thirumalai's avatar
      x86: cleanup, rename CONFIG_X86_NON_STANDARD to CONFIG_X86_EXTENDED_PLATFORM · c5c606d9
      Ravikiran G Thirumalai authored
      Patch to rename the CONFIG_X86_NON_STANDARD to CONFIG_X86_EXTENDED_PLATFORM.
      
      The new name represents the subarches better. Also, default this to 'y'
      so that many of the sub architectures that were not easily visible now
      become visible.
      
      Also re-organize the extended architecture platform and non standard
      platform list alphabetically as suggested by Ingo.
      Signed-off-by: default avatarRavikiran Thirumalai <kiran@scalex86.org>
      Signed-off-by: default avatarShai Fultheim <shai@scalex86.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      c5c606d9
    • Ingo Molnar's avatar
      x86, apic: make generic_apic_probe() generally available · 160d8dac
      Ingo Molnar authored
      Impact: build fix
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      160d8dac
    • Ingo Molnar's avatar
    • Alok Kataria's avatar
      x86, apic: fix initialization of wakeup_cpu · 0e81cb59
      Alok Kataria authored
      With refactoring of wake_cpu macros the 32bit code in tip doesn't
      execute generic_apic_probe if CONFIG_X86_32_NON_STANDARD is not set.
      
      Even on a x86 STANDARD cpu we need to execute the generic_apic_probe
      function, as we rely on this function to execute the update_genapic
      quirk which initilizes apic->wakeup_cpu.
      
      Failing to do so results in we making a call to a null function in do_boot_cpu.
      
      The stack trace without the patch goes like this.
      
      Booting processor 1 APIC 0x1 ip 0x6000
      BUG: unable to handle kernel NULL pointer dereference at (null)
      IP: [<(null)>] (null)
      *pdpt = 0000000000839001 *pde = 0000000000c97067 *pte = 0000000000000163
      Oops: 0000 [#1] SMP
      last sysfs file:
      Modules linked in:
      
      Pid: 1, comm: swapper Not tainted (2.6.29-rc4-tip #18) VMware Virtual Platform
      EIP: 0062:[<00000000>] EFLAGS: 00010293 CPU: 0
      EIP is at 0x0
      EAX: 00000001 EBX: 00006000 ECX: c077ed00 EDX: 00006000
      ESI: 00000001 EDI: 00000001 EBP: ef04cf40 ESP: ef04cf1c
       DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 006a
      Process swapper (pid: 1, ti=ef04c000 task=ef050000 task.ti=ef04c000)
      Stack:
       c0644e52 00000000 ef04cf24 ef04cf24 c064468d c0886dc0 00000000 c0702aea
       ef055480 00000001 00000101 dead4ead ffffffff ffffffff c08af530 00000000
       c0709715 ef04cf60 ef04cf60 00000001 00000000 00000000 dead4ead ffffffff
      Call Trace:
       [<c0644e52>] ? native_cpu_up+0x2de/0x45b
       [<c064468d>] ? do_fork_idle+0x0/0x19
       [<c0645c5e>] ? _cpu_up+0x88/0xe8
       [<c0645d20>] ? cpu_up+0x42/0x4e
       [<c07e7462>] ? kernel_init+0x99/0x14b
       [<c07e73c9>] ? kernel_init+0x0/0x14b
       [<c040375f>] ? kernel_thread_helper+0x7/0x10
      Code:  Bad EIP value.
      EIP: [<00000000>] 0x0 SS:ESP 006a:ef04cf1c
      
      I think we should call generic_apic_probe unconditionally for 32 bit now.
      Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
      Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0e81cb59
  2. 09 Feb, 2009 18 commits
  3. 05 Feb, 2009 15 commits
  4. 04 Feb, 2009 1 commit