1. 30 Mar, 2006 15 commits
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 256414de
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [PATCH] sata_mv: three bug fixes
        [PATCH] libata: ata_dev_init_params() fixes
        [PATCH] libata: Fix interesting use of "extern" and also some bracketing
        [PATCH] libata: Simplex and other mode filtering logic
        [PATCH] libata - ATA is both ATA and CFA
        [PATCH] libata: Add ->set_mode hook for odd drivers
        [PATCH] libata: BMDMA handling updates
        [PATCH] libata: kill trailing whitespace
        [PATCH] libata: add FIXME above ata_dev_xfermask()
        [PATCH] libata: cosmetic changes in ata_bus_softreset()
        [PATCH] libata: kill E.D.D.
      256414de
    • Linus Torvalds's avatar
      Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 63e8d911
      Linus Torvalds authored
      * 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm: remove drm_{alloc,free}_pages
        drm: sis fix compile warning
        drm: add new radeon PCI ids..
        drm: read breadcrumb in IRQ handler
        drm: fixup i915 breadcrumb read/write
        drm:  remove pointless checks in radeon_state
        drm: fixup improper cast.
        drm: rationalise some pci ids
        drm: Add general-purpose packet for manipulating scratch registers (r300)
        drm: rework radeon memory map (radeon 1.23)
        drm: update r300 register names
        drm: fixup PCI DMA support
      63e8d911
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · d1127e40
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] ioremap() should prefer WB over UC
        [IA64] Add __mca_table to the DISCARD list in gate.lds
        [IA64] Move __mca_table out of the __init section
        [IA64] simplify some condition checks in iosapic_check_gsi_range
        [IA64] correct some messages and fixes some minor things
        [IA64-SGI] fix for-loop in sn_hwperf_geoid_to_cnode()
        [IA64-SGI] sn_hwperf use of num_online_cpus()
        [IA64] optimize flush_tlb_range on large numa box
        [IA64] lazy_mmu_prot_update needs to be aware of huge pages
      d1127e40
    • Jens Axboe's avatar
      [PATCH] splice: add support for SPLICE_F_MOVE flag · 5abc97aa
      Jens Axboe authored
      This enables the caller to migrate pages from one address space page
      cache to another.  In buzz word marketing, you can do zero-copy file
      copies!
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      5abc97aa
    • Jens Axboe's avatar
      [PATCH] Introduce sys_splice() system call · 5274f052
      Jens Axboe authored
      This adds support for the sys_splice system call. Using a pipe as a
      transport, it can connect to files or sockets (latter as output only).
      
      From the splice.c comments:
      
         "splice": joining two ropes together by interweaving their strands.
      
         This is the "extended pipe" functionality, where a pipe is used as
         an arbitrary in-memory buffer. Think of a pipe as a small kernel
         buffer that you can use to transfer data from one end to the other.
      
         The traditional unix read/write is extended with a "splice()" operation
         that transfers data buffers to or from a pipe buffer.
      
         Named by Larry McVoy, original implementation from Linus, extended by
         Jens to support splicing to files and fixing the initial implementation
         bugs.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      5274f052
    • Bjorn Helgaas's avatar
      [IA64] ioremap() should prefer WB over UC · c1c57d76
      Bjorn Helgaas authored
      efi_memmap_init() collects full granules of WB memory, without
      regard for whether they also support UC.  So in order for ioremap()
      to work for main memory, it must prefer WB mappings when possible.
      Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      c1c57d76
    • Jes Sorensen's avatar
      [IA64] Add __mca_table to the DISCARD list in gate.lds · 3283a67d
      Jes Sorensen authored
      Add __mca_table to the DISCARD list for the gate.lds linker script to
      avoid broken linker references when linking the final vmlinux file.
      
      Also add comment to include/asm-ia64/asmmacros.h to avoid anyone else
      hitting this problem in the future.
      
      Credits to James Bottomley <James.Bottomley@SteelEye.com> for spotting
      the DISCARD list in gate.lds.S
      Signed-off-by: default avatarJes Sorensen <jes@sgi.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      3283a67d
    • Jeff Garzik's avatar
      Merge branch 'mv-merge' · 55d8ca4f
      Jeff Garzik authored
      Conflicts:
      
      	drivers/scsi/sata_mv.c
      55d8ca4f
    • Mark Lord's avatar
      [PATCH] sata_mv: three bug fixes · 63af2a5c
      Mark Lord authored
      (1) A DMA transfer size of 0x10000 was not being written
      as 0x0000 in the PRDs.  Fixed.
      
      (1) The DEV_IRQ interrupt cause bit happens spuriously
      during EDMA operation, and was not being ignored by the driver.
      This led to various "drive busy" errors being reported,
      with associated unpredictable behaviour.  Fixed.
      
      (2) If a SATA or PCI interrupt was received with no outstanding
      command, the interrupt handler still attempted to invoke
      ata_qc_complete(), triggering assert()/BUG_ON() behaviour
      elsewhere in libata.  Fixed.
      
      The driver still has issues with confusion after error-recovery,
      but should now  be reliable in the absence of drive errors.
      I will be looking more into the error-handling bugs next.
      Signed-Off-By: default avatarMark Lord <mlord@pobox.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      63af2a5c
    • Albert Lee's avatar
      [PATCH] libata: ata_dev_init_params() fixes · 00b6f5e9
      Albert Lee authored
      ata_dev_init_params() fixes:
      - Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[].
      - Return AC_ERR_INVALID instead of 0 if an invalid parameter is found
      Signed-off-by: default avatarAlbert Lee <albertcc@tw.ibm.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      00b6f5e9
    • Alan Cox's avatar
      [PATCH] libata: Fix interesting use of "extern" and also some bracketing · 17efc5f7
      Alan Cox authored
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      
      Last of the set, just clean up some oddments. Assuming the whole set is
      now ok then the remaining differences are the setup of PIO_0 at reset
      and the ->data_xfer method.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      17efc5f7
    • Alan Cox's avatar
      [PATCH] libata: Simplex and other mode filtering logic · 5444a6f4
      Alan Cox authored
      Add a field to the host_set called 'flags' (was host_set_flags changed
      to suit Jeff)
      Add a simplex_claimed field so we can remember who owns the DMA channel
      Add a ->mode_filter() hook to allow drivers to filter modes
      Add docs for mode_filter and set_mode
      Filter according to simplex state
      Filter cable in core
      
      This provides the needed framework to support all the mode rules found
      in the PATA world. The simplex filter deals with 'to spec' simplex DMA
      systems found in older chips. The cable filter avoids duplicating the
      same rules in each chip driver with PATA. Finally the mode filter is
      neccessary because drive/chip combinations have errata that forbid
      certain modes with some drives or types of ATA object.
      
      Drive speed setup remains per channel for now and the filters now use
      the framework Tejun put into place which cleans them up a lot from the
      older libata-pata patches.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5444a6f4
    • Alan Cox's avatar
      [PATCH] libata - ATA is both ATA and CFA · 692785e7
      Alan Cox authored
      I think this is still needed with the new probe code (which btw seems to
      be missing docs in upstream ?).
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      692785e7
    • Alan Cox's avatar
      [PATCH] libata: Add ->set_mode hook for odd drivers · e35a9e01
      Alan Cox authored
      Some hardware doesn't want the usual mode setup logic running. This
      allows the hardware driver to replace it for special cases in the least
      invasive way possible.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e35a9e01
    • Alan Cox's avatar
      [PATCH] libata: BMDMA handling updates · 4e5ec5db
      Alan Cox authored
      This is the minimal patch set to enable the current code to be used with
      a controller following SFF (ie any PATA and early SATA controllers)
      safely without crashes if there is no BMDMA area or if BMDMA is not
      assigned by the BIOS for some reason.
      
      Simplex status is recorded but not acted upon in this change, this isn't
      a problem with the current drivers as none of them are for simplex
      hardware. A following diff will deal with that.
      
      The flags in the probe structure remain ->host_set_flags although Jeff
      asked me to rename them, simply because the rename would break the usual
      Linux rules that old code should break when there are changes. not
      compile and run and then blow up/eat your computer/etc. Renaming this
      later is a trivial exercise once a better name is chosen.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      4e5ec5db
  2. 29 Mar, 2006 25 commits