1. 12 Apr, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] dmL remove __dm_request · 3749bf2c
      Andrew Morton authored
      From: Joe Thornber <thornber@redhat.com>
      
      dm.c: remove __dm_request (merge with previous patch).
      3749bf2c
    • Andrew Morton's avatar
      [PATCH] Implement queue congestion callout for device mapper · 1fe10e2f
      Andrew Morton authored
      From: Miquel van Smoorenburg <miquels@cistron.nl>
            Joe Thornber <thornber@redhat.com>
      
      This implements the queue congestion callout for DM stacks.  To make
      bdi_read/write_congested() return correct information.
      
      - md->lock protects all fields in md _except_ md->map
      - md->map_lock protects md->map
      - Anyone who wants to read md->map should use dm_get_table() which
        increments the tables reference count.
      
      This means the spin lock is now only held for the duration of a
      reference count increment.
      
      Udpate:
      
      dm.c: protect md->map with a rw spin lock rather than the md->lock
      semaphore.  Also ensure that everyone accesses md->map through
      dm_get_table(), rather than directly.
      1fe10e2f
    • Andrew Morton's avatar
      [PATCH] Add queue congestion callout · 6a435d69
      Andrew Morton authored
      From: Miquel van Smoorenburg <miquels@cistron.nl>
      
      The VM and VFS use the address_space_backing_dev_info to track the realtime
      status of the device which backs the mapping.  The read_congested and
      write_congested fields are used to determine whether a read or write
      against that device may block.
      
      We use this infrastructure to
      
      a) allow pdflush to service many queues in parallel (by not getting
         stuck on any particular one) and
      
      b) to avoid undesirable and uncontrolled latencies in places such as
         page reclaim and
      
      c) To avoid blocking in readahead operations
      
      The current code only supports simple disk queues (and I have a patch here
      for NFS).  Stacked queues (MD and DM) don't get this information right and
      problems were expected.  Efficiency problems have now been noted and it's
      time to fix it.
      
      This patch lays down the infrastructure which permits the queue
      implementation to get control when someone at a higher level is querying
      the queue's congestion state.  So DM (for example) can run around and
      examine all the queues which contribute to the higher-level queue.
      
      
      It also adds bdi_rw_congested() for code in xfs and ext2 that calls both
      bdi_read_congested() and bdi_write_congested() in a row, and it was "free"
      anyway.
      6a435d69
    • Andrew Morton's avatar
      [PATCH] s390: rewritten qeth driver · fa7bb531
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      The rewritten qeth network driver.
      fa7bb531
    • Andrew Morton's avatar
      [PATCH] s390: crypto device driver part 2 · a1171283
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      The crypto device driver for PCICA & PCICC cards, part 2.
      a1171283
    • Andrew Morton's avatar
      [PATCH] s390: crypto device driver part 1 · 58ebaaf0
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      The crypto device driver for PCICA & PCICC cards, part 1.
      58ebaaf0
    • Andrew Morton's avatar
      [PATCH] s390: zfcp log messages part 2 · 57f8dc81
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter log message cleanup part 2:
       - Shorten log output.
       - Increase log level for some messages.
       - Always print leading zeroes for wwpn and fcp-lun.
      57f8dc81
    • Andrew Morton's avatar
      [PATCH] s390: zfcp log messages part 1 · 12c845ae
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter log message cleanup part 1:
       - Shorten log output.
       - Increase log level for some messages.
       - Always print leading zeroes for wwpn and fcp-lun.
      12c845ae
    • Andrew Morton's avatar
      [PATCH] s390: zfcp fixes (without kfree hack) · f9a56f8a
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter fixes:
       - Reuse freed scsi_ids and scsi_luns for mappings.
       - Order list of ports/units by assigned scsi_id/scsi_lun.
       - Don't update max_id/max_lun in scsi_host anymore.
       - Get rid of all magics.
       - Add owner field to ccw_driver structure.
       - Avoid deadlock on bus->subsys.rwsem.
       - Use a macro for all scsi device sysfs attributes.
       - Change proc_name from "dummy" to "zfcp".
       - Don't wait for scsi_add_device to complete while holding a semaphore.
       - Cleanup include files in zfcp_aux.c & zfcp_def.h.
       - Get rid of zfcp_erp_fsf_req_handler.
       - Proper link up/down handling.
       - Avoid possible NULL pointer dereference in zfcp_erp_schedule_work.
       - Remove module_exit function. Without an external release function for
         the zfcp_port/zfcp_unit objects module unloading is racy.
      f9a56f8a
    • Andrew Morton's avatar
      [PATCH] s390: dcss block driver fix · d959cc9f
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      DCSS block device driver changes:
       - Fix remove_store function, put_device is called too early.
      d959cc9f
    • Andrew Morton's avatar
      [PATCH] s390: network driver fixes · f86f3b68
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Network driver changes:
       - ctc: move kfree of driver structure after the last use of it.
       - netiucv: stay in state startwait if peer is down.
       - lcs: initialize ipm_list and unregister netdev only if it is present.
      f86f3b68
    • Andrew Morton's avatar
      [PATCH] s390: dasd driver fix · 482ac593
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      dasd driver changes:
       - Fix check for device type in error recovery for fba devices.
      482ac593
    • Andrew Morton's avatar
      [PATCH] s390: tape driver fixes · 2152527f
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Tape driver changes:
       - Add missing break in tape_34xx_work_handler to avoid misleading message.
       - Cleanup offline/remove code.
      2152527f
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer · 6a562864
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer changes:
       - Avoid de-registering a ccwgroup device multiple times.
       - Remove check for channel path objects in get_subchannel_by_schid.
         Channel patch objects are never in the bus list.
       - Avoid NULL pointer deref. in qdio_unmark_q.
       - Fix reference counting on subchannel objects.
       - Add shutdown function to terminate i/o and disable subchannels at reipl.
       - Remove all ccwgroup devices if the ccwgroup driver is unregistered.
      6a562864
    • Andrew Morton's avatar
      [PATCH] s390: core s390 · 74216ef5
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 core changes:
       - Fix _raw_spin_trylock for 64 bit.
       - Add clarification to s390 debug debug documentation.
      74216ef5
    • Andrew Morton's avatar
      [PATCH] hugetlb consolidation · c8b976af
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      The following patch consolidates redundant code in various hugetlb
      implementations.  I took the liberty of renaming a few things, since the
      code was all moved anyway, and it has the benefit of helping to catch
      missed conversions and/or consolidations.
      c8b976af
    • Andrew Morton's avatar
      [PATCH] missing \n in timer_tsc.c · 618e7f44
      Andrew Morton authored
      From: Arjan van de Ven <arjanv@redhat.com>
      
      patch below fixes a missing \n in a printk; without this you get to see a
      <4> in the middle of that line...
      618e7f44
    • Andrew Morton's avatar
      [PATCH] 68knommu: add support for 64MHz clock for ColdFire boards · 3549c624
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add support for boards that have a 64MHz clock to common Coldfire header.
      3549c624
    • Andrew Morton's avatar
      [PATCH] 68knommu: 68EZ328/ucdimm setup code printk cleanup · 97773298
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type specifier to printk calls in 68EZ328/ucdimm setup code.  Patch
      original from kernel janitors.
      97773298
    • Andrew Morton's avatar
      [PATCH] 68knommu: cleanup startup code for 68EZ328 DragonEngine board · aa19aafa
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Clean up debug trace in startup code of 68EZ328 DragonEngine board.
      aa19aafa
    • Andrew Morton's avatar
      [PATCH] 68knommu: mk68knommu DragonEngine setup code printk cleanup · cd18c683
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      A couple of fixes for the DragonEngine sepcific setup code:
      
      . remove cs8900 ethernet setup from here
      . add type specifier to printk calls (from kernel janitors)
      cd18c683
    • Andrew Morton's avatar
      [PATCH] 68knommu: cleanup Motorola 68360 ints code · 6086d4fe
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Some fixes for the 68360 common ints management code:
      
      . use irqreturn_t for return type of interrupt handlers
      . add type field to printk calls (from kernel janitors)
      . there is no loop in show_interrupts(), don't use continue
      6086d4fe
    • Andrew Morton's avatar
      [PATCH] 68knommu: cleanup Motorola 68328 ints code · 66b80103
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Some fixes for the 68328 common ints management code:
      
      . use irqreturn_t for return type of interrupt handlers
      . clean up asm code to be gcc-3.3.x clean
      . add type field to printk calls (from kernel janitors)
      . there is no loop in show_interrupts(), don't use continue
      66b80103
    • Andrew Morton's avatar
      [PATCH] 68knommu: use irqreturn_t in Motorola 68328 setup code · c4cc53e3
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      A number of small fixes for the Motorola 68328 setup code:
      
      . fix interrupt routine return types to be irqreturn_t
      . add type specifier to printk calls (from kernel janitors)
      . rework asm code to be gcc-3.3.x clean
      c4cc53e3
    • Andrew Morton's avatar
      [PATCH] 68knommu: use irqreturn_t in ColdFire 5407 setup code · 1bb13b4c
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Fixes to the Motorola ColdFire 5407 setup code:
      
      . fix interrupt routine return types to be irqreturn_t
      . add DMA base addresses array
      . support compile time setting of kernel boot arguments
      1bb13b4c
    • Andrew Morton's avatar
      [PATCH] m68knommu: 68EZ328 config.c printk cleanup · fc571490
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type specifier to printk calls.  Patch originally from kernel janitors.
      fc571490
    • Andrew Morton's avatar
      [PATCH] m68knommu: 68360 config.c printk cleanup · 43cba448
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type specifier to printk calls.  Patch originally from kernel janitors.
      43cba448
    • Andrew Morton's avatar
      [PATCH] m68knommu: 68360 commproc.c printk cleanup · 7b5bbf5d
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type specifier to printk calls.  Original patch from kernel janitors.
      7b5bbf5d
    • Andrew Morton's avatar
      [PATCH] m68knommu: conditional ROMfs copy for 5407 CLEOPATRA board · 49e7053a
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Conditionaly copy an attached ROMfs filesystem in memory on kernel startup.
      This should only be done if there really is a ROMfs there.
      49e7053a
    • Andrew Morton's avatar
      [PATCH] m68knommu: mm/5307/vectors.c printk cleanup · 5db0ebea
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type field to printk call.  Original patch supplied bu kernel janitors.
      5db0ebea
    • Andrew Morton's avatar
      [PATCH] m68knommu: use irqreturn_t in ColdFire 5307 setup code · 810738b6
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Fixes to the Motorola ColdFire 5307 setup code:
      
      . fix interrupt routine return types to be irqreturn_t
      . add DMA base addresses array
      810738b6
    • Andrew Morton's avatar
      [PATCH] m68knommu: cleanup ColdFire/5307 ints code · ebce3d3d
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      . add type field to printk calls (from kernel janitors)
      . there is no loop in show_interrupts(), don't use continue
      ebce3d3d
    • Andrew Morton's avatar
      [PATCH] m68knommu: add start code for COBRA5282 board · 57f5029b
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add start up code specific to the newly added COBRA5282 board.
      57f5029b
    • Andrew Morton's avatar
      [PATCH] m68knommu: use irqreturn_t in ColdFire 5282 setup code · deb09fa2
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Fixes to the Motorola ColdFire 5282 setup code:
      
      . fix interrupt routine return types to be irqreturn_t
      . add DMA base addresses array
      deb09fa2
    • Andrew Morton's avatar
      [PATCH] m68knommu: add start code for COBRA5272 board · 267c1309
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add startup code specific to newly supported COBRA5272 board.
      267c1309
    • Andrew Morton's avatar
      [PATCH] m68knommu: auto-size DRAM on Motorola/5272 ColdFire board · 6378e963
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Allow for auto-detecting the size of the DRAM in the startup code for the
      Motorola/5272 (ColdFire) board.  Use the DRAM sizing register, since it will
      have been setup by the debug boot monitor (dBUG).
      6378e963
    • Andrew Morton's avatar
      [PATCH] m68knommu: timers.c printk cleanup · 486cb810
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type field to printk calls in m68knommu timers.c
      486cb810
    • Andrew Morton's avatar
      [PATCH] m68knommu/ColdFire base DMA addresses · 540699a2
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Define the DMA register set base address array for those m68knommu/ColdFire
      CPU's that have a DMA engines.
      540699a2
    • Andrew Morton's avatar
      [PATCH] m68knommu: mm/init.c printk cleanup · 19ae7f2d
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type field to printk calls in m68knommu mm/init.c.  Patch originally
      from kernel janitors.
      19ae7f2d
    • Andrew Morton's avatar
      [PATCH] m68knommu: fault.c printk cleanup · fe11cbda
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Add type field to printk calls.  Patch original provided by kernel
      janitors.
      fe11cbda