Skip to content
  1. Oct 18, 2007
    • Ralf Baechle's avatar
      [MIPS] Probe for usability of cp0 compare interrupt. · b0d4056d
      Ralf Baechle authored
      
      
      Some processors offer the option of using the interrupt on which
      normally the count / compare interrupt would be signaled as a normal
      interupt pin.  Previously this required some ugly hackery for each
      system which is much easier done by a quick and simple probe.
      
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      b0d4056d
    • Maciej W. Rozycki's avatar
      [MIPS] SYNC emulation for MIPS I processors · 60b0d655
      Maciej W. Rozycki authored
      
      
      Userland, including the C library and the dynamic linker, is keen to use
      the SYNC instruction, even for "generic" MIPS I binaries these days.
      Which makes it less than useful on MIPS I processors.
      
      This change adds the emulation, but as our do_ri() infrastructure was not
      really prepared to take yet another instruction, I have rewritten it and
      its callees slightly as follows.
      
      Now there is only a single place a possible signal is thrown from.  The
      place is at the end of do_ri().  The instruction word is fetched in
      do_ri() and passed down to handlers.  The handlers are called in sequence
      and return a result that lets the caller decide upon further processing.
      If the result is positive, then the handler has picked the instruction,
      but a signal should be thrown and the result is the signal number.  If the
      result is zero, then the handler has successfully simulated the
      instruction.  If the result is negative, then the handler did not handle
      the instruction; to make it more obvious the calls do not follow the usual
      0/-Exxx result convention they now return -1 instead of -EFAULT.
      
      The calculation of the return EPC is now at the beginning.  The reason is
      it is easier to handle it there as emulation callees may modify a register
      and an instruction may be located in delay slot of a branch whose result
      depends on the register.  It has to be undone if a signal is to be raised,
      but it is not a problem as this is the slow-path case, and both actions
      are done in single places now rather than the former being scattered
      through emulation handlers.
      
      The part of do_cpu() being covered follows the changes to do_ri().
      
      Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      
      ---
      60b0d655
    • Ralf Baechle's avatar
      [MIPS] Fix modpost warning in raw binary builds. · 396a2ae0
      Ralf Baechle authored
      
      
        MODPOST vmlinux.o
      WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')
      
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      396a2ae0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched · e6d5a11d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched:
        sched: fix new task startup crash
        sched: fix !SYSFS build breakage
        sched: fix improper load balance across sched domain
        sched: more robust sd-sysctl entry freeing
      e6d5a11d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block · b6257a90
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block:
        [SCSI] Remove full sg table memset()
        [SCSI] ide-scsi: remove usage of sg_last()
        Fix loop terminating conditions in fill_sg().
        [BLOCK] Clear sg entry before filling in blk_rq_map_sg()
        IA64: iommu uses sg_next with an invalid sg element
        cciss: disable DMA refetch on Smart Array P600
        swiotlb: fix map_sg failure handling
        SPARC64: fix iommu sg chaining
        [SCSI] ide-scsi: use scsi_sg_count() instead of ->use_sg
      b6257a90
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · c548f08a
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (24 commits)
        [POWERPC] Fix vmemmap warning in init_64.c
        [POWERPC] Fix 64 bits vDSO DWARF info for CR register
        [POWERPC] Add 1TB workaround for PA6T
        [POWERPC] Enable NO_HZ and high res timers for pseries and ppc64 configs
        [POWERPC] Quieten cache information at boot
        [POWERPC] Quieten clockevent printk
        [POWERPC] Enable SLUB in *_defconfig
        [POWERPC] Fix 1TB segment detection
        [POWERPC] Fix iSeries_hpte_insert prototype
        [POWERPC] Fix copyright symbol
        [POWERPC] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers
        [POWERPC] ibmebus: Add device creation and bus probing based on of_device
        [POWERPC] ibmebus: Remove bus match/probe/remove functions
        [POWERPC] Move of_device allocation into of_device.[ch]
        [POWERPC] mpc52xx: device tree changes for FEC and MDIO
        [POWERPC] bestcomm: GenBD task support
        [POWERPC] bestcomm: FEC task support
        [POWERPC] bestcomm: ATA task support
        [POWERPC] bestcomm: core bestcomm support for Freescale MPC5200
        [POWERPC] mpc52xx: Update mpc52xx_psc structure with B revision changes
        ...
      c548f08a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 · 347c53dc
      Linus Torvalds authored
      * 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6: (59 commits)
        [XFS] eagerly remove vmap mappings to avoid upsetting Xen
        [XFS] simplify validata_fields
        [XFS] no longer using io_vnode, as was remaining from 23 cherrypick
        [XFS] Remove STATIC which was missing from prior manual merge
        [XFS] Put back the QUEUE_ORDERED_NONE test in the barrier check.
        [XFS] Turn off XBF_ASYNC flag before re-reading superblock.
        [XFS] avoid race in sync_inodes() that can fail to write out all dirty data
        [XFS] This fix prevents bulkstat from spinning in an infinite loop.
        [XFS] simplify xfs_create/mknod/symlink prototype
        [XFS] avoid xfs_getattr in XFS_IOC_FSGETXATTR ioctl
        [XFS] get_bulkall() could return incorrect inode state
        [XFS] Kill unused IOMAP_EOF flag
        [XFS] fix when DMAPI mount option processing happens
        [XFS] ensure file size is logged on synchronous writes
        [XFS] growlock should be a mutex
        [XFS] replace some large xfs_log_priv.h macros by proper functions
        [XFS] kill struct bhv_vfs
        [XFS] move syncing related members from struct bhv_vfs to struct xfs_mount
        [XFS] kill the vfs_flags member in struct bhv_vfs
        [XFS] kill the vfs_fsid and vfs_altfsid members in struct bhv_vfs
        ...
      347c53dc
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup · 5c8e191e
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup:
        Remove magic macros for screen_info structure members
        [x86] remove uses of magic macros for boot_params access
      5c8e191e
  2. Oct 17, 2007