1. 16 Jul, 2008 17 commits
    • Jeremy Fitzhardinge's avatar
      xen64: define asm/xen/interface for 64-bit · 48b5db20
      Jeremy Fitzhardinge authored
      Copy 64-bit definitions of various interface structures into place.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      48b5db20
    • Jeremy Fitzhardinge's avatar
      xen: define set_pte from the outset · 851fa3c4
      Jeremy Fitzhardinge authored
      We need set_pte to work from a relatively early point, so enable it
      from the start.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      851fa3c4
    • Isaku Yamahata's avatar
      xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support · ad55db9f
      Isaku Yamahata authored
      add xen_timer_resume() hook.
      
      Timer resume should be done after event channel is resumed.
      add xen_arch_resume() hook when ipi becomes usable after resume.
      After resume, some cpu specific resource must be reinitialized
      on ia64 that can't be set by another cpu.
      
      However available hooks is run once on only one cpu so that ipi has
      to be used.
      
      During stop_machine_run() ipi can't be used because interrupt is masked.
      So add another hook after stop_machine_run().
      Another approach might be use resume hook which is run by
      device_resume(). However device_resume() may be executed on
      suspend error recovery path.
      
      So it is necessary to determine whether it is executed on real resume path
      or error recovery path.
      Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      ad55db9f
    • Isaku Yamahata's avatar
      xen-netfront: fix xennet_release_tx_bufs() · 1ffb40b8
      Isaku Yamahata authored
      After restore on ia64 xen domain, kernel panics as follows.
      This patch fixes it.
      
      union skb_entry assumes sizeof(link->skb, pointer) ==
      sizeof(list->link, unsigned).
      However this isn't true on ia64. So  make link type unsigned long.
      And introduced two accesor.
      
      kernel unaligned access to 0xe0000000000000bd, ip=0xa0000001004c2ca0
      xenwatch[14]: error during unaligned kernel access
       -1 [1]
      Modules linked in:
      
      Pid: 14, CPU 0, comm:             xenwatch
      psr : 0000101008422010 ifs : 8000000000000307 ip  : [<a0000001004c2ca0>]    Not tainted (2.6.26-rc4xen-ia64-dirty)
      ip is at dev_kfree_skb_irq+0x20/0x1a0
      unat: 0000000000000000 pfs : 400000000000040b rsc : 0000000000000007
      rnat: 0000000000000000 bsps: 0000000000000000 pr  : 000000000000a941
      ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70433f
      csd : 0000000000000000 ssd : 0000000000000000
      b0  : a0000001003efb70 b6  : a000000100070e40 b7  : a000000100070e40
      f6  : 1003e000000fcb75352b1 f7  : 1003e000000000014ff97
      f8  : 1003e00fcb74fc3454d80 f9  : 1003e0000000080000000
      f10 : 1003e0000000000001431 f11 : 1003e0000000000989680
      r1  : a000000100bfcf80 r2  : e0000000000000bd r3  : 000000000000308c
      r8  : 0000000000000000 r9  : e00000000fc31310 r10 : a000000100a13b28
      r11 : 0000000000000000 r12 : e00000000fd0fdf0 r13 : e00000000fd08000
      r14 : 0000000000000000 r15 : e00000000fcc8000 r16 : 0000000000000009
      r17 : e000010000104000 r18 : e000010000104000 r19 : a000000100a13b40
      r20 : a0000001009c23f0 r21 : a0000001009fd4d0 r22 : 0000000000004000
      r23 : 0000000000000000 r24 : fffffffffff04c10 r25 : 0000000000000002
      r26 : 0000000000000000 r27 : 0000000000000000 r28 : e00000000fd08bd4
      r29 : a0000001007570b8 r30 : a0000001009e5500 r31 : a0000001009e54a0
      
      Call Trace:
       [<a000000100026000>] show_stack+0x40/0xa0
                                      sp=e00000000fd0f670 bsp=e00000000fd08f68
       [<a000000100026a60>] show_regs+0x9a0/0x9e0
                                      sp=e00000000fd0f840 bsp=e00000000fd08f10
       [<a000000100037680>] die+0x260/0x3a0
                                      sp=e00000000fd0f840 bsp=e00000000fd08ec8
       [<a000000100037810>] die_if_kernel+0x50/0x80
                                      sp=e00000000fd0f840 bsp=e00000000fd08e98
       [<a00000010003eb40>] ia64_handle_unaligned+0x2ea0/0x2fc0
                                      sp=e00000000fd0f840 bsp=e00000000fd08df0
       [<a00000010001ca30>] ia64_prepare_handle_unaligned+0x30/0x60
                                      sp=e00000000fd0fa10 bsp=e00000000fd08df0
       [<a00000010005d100>] paravirt_leave_kernel+0x0/0x40
                                      sp=e00000000fd0fc20 bsp=e00000000fd08df0
       [<a0000001004c2ca0>] dev_kfree_skb_irq+0x20/0x1a0
                                      sp=e00000000fd0fdf0 bsp=e00000000fd08db8
       [<a0000001003efb70>] xennet_release_tx_bufs+0xd0/0x120
                                      sp=e00000000fd0fdf0 bsp=e00000000fd08d78
       [<a0000001003f14c0>] backend_changed+0xc40/0xf80
                                      sp=e00000000fd0fdf0 bsp=e00000000fd08d08
       [<a00000010034bd50>] otherend_changed+0x190/0x1c0
                                      sp=e00000000fd0fe00 bsp=e00000000fd08cc8
       [<a000000100349530>] xenwatch_thread+0x310/0x3c0
                                      sp=e00000000fd0fe00 bsp=e00000000fd08ca0
       [<a0000001000cb040>] kthread+0xe0/0x160
                                      sp=e00000000fd0fe30 bsp=e00000000fd08c68
       [<a000000100024450>] kernel_thread_helper+0x30/0x60
                                      sp=e00000000fd0fe30 bsp=e00000000fd08c40
       [<a00000010001a8a0>] start_kernel_thread+0x20/0x40
                                      sp=e00000000fd0fe30 bsp=e00000000fd08c40
      Kernel panic - not syncing: Aiee, killing interrupt handler!
      Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1ffb40b8
    • Jeremy Fitzhardinge's avatar
      xen: print backtrace on multicall failure · 8ba6c2b0
      Jeremy Fitzhardinge authored
      Print a backtrace if a multicall fails, to help with debugging.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8ba6c2b0
    • Jeremy Fitzhardinge's avatar
      x86_64: unstatic get_local_pda · 7c33b1e6
      Jeremy Fitzhardinge authored
      This allows Xen's xen_cpu_up() to allocate a pda for the new CPU.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      7c33b1e6
    • Jeremy Fitzhardinge's avatar
      x86_64: adjust exception frame in ia32entry · 360c044e
      Jeremy Fitzhardinge authored
      The 32-bit compat int $0x80 entrypoint needs exception frame
      adjustment.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      360c044e
    • Jeremy Fitzhardinge's avatar
      x86: use __page_aligned_data/bss · cbcd79c2
      Jeremy Fitzhardinge authored
      Update arch/x86's use of page-aligned variables.  The change to
      arch/x86/xen/mmu.c fixes an actual bug, but the rest are cleanups
      and to set a precedent.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      cbcd79c2
    • Jeremy Fitzhardinge's avatar
      x86: clean up formatting of __switch_to · 87b935a0
      Jeremy Fitzhardinge authored
      process_64.c:__switch_to has some very old strange formatting, some of
      it dating back to pre-git.  Fix it up.
      
      No functional changes.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      87b935a0
    • Jeremy Fitzhardinge's avatar
      x86_64: there's no need to preallocate level1_fixmap_pgt · 8840c0cc
      Jeremy Fitzhardinge authored
      Early fixmap will allocate its own L1 pagetable page for fixmap
      mappings, so there's no need to preallocate one.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8840c0cc
    • Eduardo Habkost's avatar
      pvops-64: call paravirt_post_allocator_init() on setup_arch() · c1f2f09e
      Eduardo Habkost authored
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      c1f2f09e
    • Eduardo Habkost's avatar
      x86/paravirt: call paravirt_pagetable_setup_{start, done} · a312b37b
      Eduardo Habkost authored
      Call paravirt_pagetable_setup_{start,done}
      
      These paravirt_ops functions were not being called on x86_64.
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stephen Tweedie <sct@redhat.com>
      Cc: Mark McLoughlin <markmc@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a312b37b
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 45158894
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (249 commits)
        powerpc: Fix pte_update for CONFIG_PTE_64BIT and !PTE_ATOMIC_UPDATES
        powerpc: Fix a build problem on ppc32 with new DMA_ATTRs
        ibm_newemac: Add MII mode support to the EMAC RGMII bridge.
        powerpc: Don't spin on sync instruction at boot time
        powerpc: Add VSX load/store alignment exception handler
        powerpc: fix giveup_vsx to save registers correctly
        powerpc: support for latencytop
        powerpc: Remove unnecessary condition when sanity-checking WIMG bits
        powerpc: Add PPC_FEATURE_PSERIES_PERFMON_COMPAT
        powerpc: Add driver for Barrier Synchronization Register
        powerpc: mman.h export fixups
        powerpc/fsl: update crypto node definition and device tree instances
        powerpc/fsl: Refactor device bindings
        powerpc/85xx: Minor fixes for 85xxds and 8536ds board.
        powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform
        powerpc/85xx: publish of device for cds platforms
        powerpc/booke: don't reinitialize time base
        powerpc/86xx: Refactor pic init
        powerpc/CPM: Add i2c pins to dts and board setup
        cpm_uart: Support uart_wait_until_sent()
        ...
      45158894
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · 89a93f2f
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (102 commits)
        [SCSI] scsi_dh: fix kconfig related build errors
        [SCSI] sym53c8xx: Fix bogus sym_que_entry re-implementation of container_of
        [SCSI] scsi_cmnd.h: remove double inclusion of linux/blkdev.h
        [SCSI] make struct scsi_{host,target}_type static
        [SCSI] fix locking in host use of blk_plug_device()
        [SCSI] zfcp: Cleanup external header file
        [SCSI] zfcp: Cleanup code in zfcp_erp.c
        [SCSI] zfcp: zfcp_fsf cleanup.
        [SCSI] zfcp: consolidate sysfs things into one file.
        [SCSI] zfcp: Cleanup of code in zfcp_aux.c
        [SCSI] zfcp: Cleanup of code in zfcp_scsi.c
        [SCSI] zfcp: Move status accessors from zfcp to SCSI include file.
        [SCSI] zfcp: Small QDIO cleanups
        [SCSI] zfcp: Adapter reopen for large number of unsolicited status
        [SCSI] zfcp: Fix error checking for ELS ADISC requests
        [SCSI] zfcp: wait until adapter is finished with ERP during auto-port
        [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver
        [SCSI] sg: Add target reset support
        [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
        [SCSI] sd: Move scsi_disk() accessor function to sd.h
        ...
      89a93f2f
    • Linus Torvalds's avatar
    • Steven Rostedt's avatar
      ftrace: ftrace.txt updates · f2d9c740
      Steven Rostedt authored
      This patch includes ftrace.txt updates that address (mostly) comments from
      Andrew Morton. It also includes updates that were suggested by Randy
      Dunlap, John Kacur and David Teigland.
      Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f2d9c740
    • Benjamin Herrenschmidt's avatar
      Merge commit 'origin/master' · 84c3d4aa
      Benjamin Herrenschmidt authored
      Manual merge of:
      
      	arch/powerpc/Kconfig
      	arch/powerpc/kernel/stacktrace.c
      	arch/powerpc/mm/slice.c
      	arch/ppc/kernel/smp.c
      84c3d4aa
  2. 15 Jul, 2008 23 commits