25 Mar, 2009

2 commits


24 Mar, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (32 commits)
    ucc_geth: Fix oops when using fixed-link support
    dm9000: locking bugfix
    net: update dnet.c for bus_id removal
    dnet: DNET should depend on HAS_IOMEM
    dca: add missing copyright/license headers
    nl80211: Check that function pointer != NULL before using it
    sungem: missing net_device_ops
    be2net: fix to restore vlan ids into BE2 during a IF DOWN->UP cycle
    be2net: replenish when posting to rx-queue is starved in out of mem conditions
    bas_gigaset: correctly allocate USB interrupt transfer buffer
    smsc911x: reset last known duplex and carrier on open
    sh_eth: Fix mistake of the address of SH7763
    sh_eth: Change handling of IRQ
    netns: oops in ip[6]_frag_reasm incrementing stats
    net: kfree(napi->skb) => kfree_skb
    net: fix sctp breakage
    ipv6: fix display of local and remote sit endpoints
    net: Document /proc/sys/net/core/netdev_budget
    tulip: fix crash on iface up with shirq debug
    virtio_net: Make virtio_net support carrier detection
    ...

    Linus Torvalds
     

22 Mar, 2009

1 commit


18 Mar, 2009

2 commits


16 Mar, 2009

2 commits

  • This patch skips the delivery of conntrack events if the packet
    was drop due to a race condition in the conntrack insertion.

    Signed-off-by: Pablo Neira Ayuso
    Signed-off-by: Patrick McHardy

    Pablo Neira Ayuso
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm: (23 commits)
    [ARM] Fix virtual to physical translation macro corner cases
    [ARM] update mach-types
    [ARM] 5421/1: ftrace: fix crash due to tracing of __naked functions
    MX1 fix include
    [ARM] 5419/1: ep93xx: fix build warnings about struct i2c_board_info
    [ARM] 5418/1: restore lr before leaving mcount
    ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
    ARM: OMAP: Allow I2C bus driver to be compiled as a module
    ARM: OMAP: sched_clock() corrected
    ARM: OMAP: Fix compile error if pm.h is included
    [ARM] orion5x: pass dram mbus data to xor driver
    [ARM] S3C64XX: Fix s3c64xx_setrate_clksrc
    [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/irq.c
    [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/s3c6400-clock.c
    [ARM] S3C64XX: Fix USB host clock mux list
    [ARM] S3C64XX: Fix name of USB host clock.
    [ARM] S3C64XX: Rename IRQ_UHOST to IRQ_USBH
    [ARM] S3C64XX: Do gpiolib configuration earlier
    [ARM] S3C64XX: Staticise s3c64xx_init_irq_eint()
    [ARM] SMDK6410: Declare iodesc table static
    ...

    Linus Torvalds
     

15 Mar, 2009

4 commits

  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    Fix Xilinx SystemACE driver to handle empty CF slot
    block: fix memory leak in bio_clone()
    block: Add gfp_mask parameter to bio_integrity_clone()

    Linus Torvalds
     
  • Stricter gfp_mask might be required for clone allocation.
    For example, request-based dm may clone bio in interrupt context
    so it has to use GFP_ATOMIC.

    Signed-off-by: Kiyoshi Ueda
    Signed-off-by: Jun'ichi Nomura
    Acked-by: Martin K. Petersen
    Cc: Alasdair G Kergon
    Signed-off-by: Jens Axboe

    un'ichi Nomura
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6: (31 commits)
    [SCSI] qla2xxx: Update version number to 8.03.00-k4.
    [SCSI] qla2xxx: Correct overwrite of pre-assigned init-control-block structure size.
    [SCSI] qla2xxx: Correct truncation in return-code status checking.
    [SCSI] qla2xxx: Correct vport delete bug.
    [SCSI] qla2xxx: Use correct value for max vport in LOOP topology.
    [SCSI] qla2xxx: Correct address range checking for option-rom updates.
    [SCSI] fcoe: Change fcoe receive thread nice value from 19 (lowest priority) to -20
    [SCSI] fcoe: fix handling of pending queue, prevent out of order frames (v3)
    [SCSI] fcoe: Out of order tx frames was causing several check condition SCSI status
    [SCSI] fcoe: fix kfree(skb)
    [SCSI] fcoe: ETH_P_8021Q is already in if_ether and fcoe is not using it anyway
    [SCSI] libfc: do not change the fh_rx_id of a recevied frame
    [SCSI] fcoe: Correct fcoe_transports initialization vs. registration
    [SCSI] fcoe: Use setup_timer() and mod_timer()
    [SCSI] libfc, fcoe: Remove unnecessary cast by removing inline wrapper
    [SCSI] libfc, fcoe: Cleanup function formatting and minor typos
    [SCSI] libfc, fcoe: Fix kerneldoc comments
    [SCSI] libfc: Cleanup libfc_function_template comments
    [SCSI] libfc: check for err when recv and state is incorrect
    [SCSI] libfc: rename rp to rdata in fc_disc_new_target()
    ...

    Linus Torvalds
     
  • * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    NFS: Fix the fix to Bugzilla #11061, when IPv6 isn't defined...
    SUNRPC: xprt_connect() don't abort the task if the transport isn't bound
    SUNRPC: Fix an Oops due to socket not set up yet...
    Bug 11061, NFS mounts dropped
    NFS: Handle -ESTALE error in access()
    NLM: Fix GRANT callback address comparison when IPv6 is enabled
    NLM: Shrink the IPv4-only version of nlm_cmp_addr()
    NFSv3: Fix posix ACL code
    NFS: Fix misparsing of nfsv4 fs_locations attribute (take 2)
    SUNRPC: Tighten up the task locking rules in __rpc_execute()

    Linus Torvalds
     

14 Mar, 2009

1 commit

  • dma_map_sg could return a value different to 'nents' argument of
    dma_map_sg so the ide stack needs to save it for the later usage
    (e.g. for_each_sg).

    The ide stack also needs to save the original sg_nents value for
    pci_unmap_sg.

    Signed-off-by: FUJITA Tomonori
    [bart: backport to Linus' tree]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    FUJITA Tomonori
     

13 Mar, 2009

2 commits


12 Mar, 2009

2 commits


11 Mar, 2009

3 commits

  • Comparing the layouts of struct detail_pixel_timing with
    x.org's struct detailed_timings and how those are handled,
    it appears that the hsync_positive and vsync_positive
    fields are backwards.

    This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=20019
    for me. It was tested on 2 monitors, LG FLATRON L225WS 22" and
    a YAKUMO 17" for which more details are unknown.

    Signed-off-by: Pantelis Koukousoulas
    Signed-off-by: Dave Airlie

    Pantelis Koukousoulas
     
  • Clean up/micro-optimatization: Make the AF_INET-only version of
    nlm_cmp_addr() smaller. This matches the style of
    nlm_privileged_requester(), and makes the AF_INET-only version of
    nlm_cmp_addr() nearly the same size as it was before IPv6 support.

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     
  • Fix a memory leak due to allocation in the XDR layer. In cases where the
    RPC call needs to be retransmitted, we end up allocating new pages without
    clearing the old ones. Fix this by moving the allocation into
    nfs3_proc_setacls().

    Also fix an issue discovered by Kevin Rudd, whereby the amount of memory
    reserved for the acls in the xdr_buf->head was miscalculated, and causing
    corruption.

    Signed-off-by: Trond Myklebust

    Trond Myklebust
     

10 Mar, 2009

7 commits

  • frames followed by these errors in log.

    [sdp] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
    [sdp] Sense Key : Aborted Command [current]
    [sdp] Add. Sense: Data phase error

    This was causing some test apps to exit due to write failure under heavy
    load.

    This was due to a race around adding and removing tx frame skb in
    fcoe_pending_queue, Chris Leech helped me to find that brief unlocking
    period when pulling skb from fcoe_pending_queue in various contexts
    (fcoe_watchdog and fcoe_xmit) and then adding skb back into fcoe_pending_queue
    up on a failed fcoe_start_io could change skb/tx frame order in
    fcoe_pending_queue. Thanks Chris.

    This patch allows only single context to pull skb from fcoe_pending_queue
    at any time to prevent above described ordering issue/race by use of
    fcoe_pending_queue_active flag.

    This patch simplified fcoe_watchdog with modified fcoe_check_wait_queue by
    use of FCOE_LOW_QUEUE_DEPTH instead previously used several conditionals
    to clear and set lp->qfull.

    I think FCOE_MAX_QUEUE_DEPTH with FCOE_LOW_QUEUE_DEPTH will work better
    in re/setting lp->qfull and these could be fine tuned for performance.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     
  • Signed-off-by: Yi Zou
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Yi Zou
     
  • Comment from "Andrew Morton "

    > +{
    > + return (struct fcoe_softc *)lport_priv(lp);

    unneeded/undesirable cast of void*. There are probably zillions of
    instances of this - there always are.

    This whole inline function was unnecessary. The FCoE layer knows
    that it's data structure is stored in the lport private data, it
    can just access it from lport_priv().

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • 1) Added '()' for function names in kerneldoc comments

    2) Changed comment bookends from '**/' to '*/'. The comment on the the
    mailing list was that '**/' "is consistently unconventional. Not
    wrong, just odd." The Documentation/kernel-doc-nano-HOWTO.txt
    states that kerneldoc comment blocks should end with '**/' but most
    (if not all) instance I found under drivers/scsi/ were only using
    the '*/' so I converted to that style.

    3) Removed incorrect linebreaks in kerneldoc comments where found

    4) Removed a few unnecessary blank comment lines in kerneldoc comment
    blocks

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] Add p4-clockmod sysfs-ui removal to feature-removal schedule.
    Revert "[CPUFREQ] Disable sysfs ui for p4-clockmod."

    Linus Torvalds
     
  • This reverts commit e088e4c9cdb618675874becb91b2fd581ee707e6.

    Removing the sysfs interface for p4-clockmod was flagged as a
    regression in bug 12826.

    Course of action:
    - Find out the remaining causes of overheating, and fix them
    if possible. ACPI should be doing the right thing automatically.
    If it isn't, we need to fix that.
    - mark p4-clockmod ui as deprecated
    - try again with the removal in six months.

    It's not really feasible to printk about the deprecation, because
    it needs to happen at all the sysfs entry points, which means adding
    a lot of strcmp("p4-clockmod".. calls to the core, which.. bleuch.

    Signed-off-by: Dave Jones

    Dave Jones
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
    p54: fix race condition in memory management
    cfg80211: test before subtraction on unsigned
    iwlwifi: fix error flow in iwl*_pci_probe
    rt2x00 : more devices to rt73usb.c
    rt2x00 : more devices to rt2500usb.c
    bonding: Fix device passed into ->ndo_neigh_setup().
    vlan: Fix vlan-in-vlan crashes.
    net: Fix missing dev->neigh_setup in register_netdevice().
    tmspci: fix request_irq race
    pkt_sched: act_police: Fix a rate estimator test.
    tg3: Fix 5906 link problems
    SCTP: change sctp_ctl_sock_init() to try IPv4 if IPv6 fails
    IPv6: add "disable" module parameter support to ipv6.ko
    sungem: another error printed one too early
    aoe: error printed 1 too early
    net pcmcia: worklimit reaches -1
    net: more timeouts that reach -1
    net: fix tokenring license
    dm9601: new vendor/product IDs
    netlink: invert error code in netlink_set_err()
    ...

    Linus Torvalds
     

09 Mar, 2009

4 commits


08 Mar, 2009

1 commit


07 Mar, 2009

5 commits

  • Made the comments more like the comments for struct scsi_host_template.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • This allows any rport ELS to retry on LS_RJT.

    The rport error handling would only retry on resource allocation failures
    and exchange timeouts. I have a target that will occasionally reject PLOGI
    when we do a quick LOGO/PLOGI. When a critical ELS was rejected, libfc would
    fail silently leaving the rport in a dead state.

    The retry count and delay are managed by fc_rport_error_retry. If the retry
    count is exceeded fc_rport_error will be called. When retrying is not the
    correct course of action, fc_rport_error can be called directly.

    Signed-off-by: Chris Leech
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Chris Leech
     
  • The fcoe_xmit could call fc_pause in case the pending skb queue len is larger
    than FCOE_MAX_QUEUE_DEPTH, the fc_pause was trying to grab lport->lp_muex to
    change lport->link_status and that had these issues :-

    1. The fcoe_xmit was getting called with bh disabled, thus causing
    "BUG: scheduling while atomic" when grabbing lport->lp_muex with bh disabled.

    2. fc_linkup and fc_linkdown function calls lport_enter function with
    lport->lp_mutex held and these enter function in turn calls fcoe_xmit to send
    lport related FC frame, e.g. fc_linkup => fc_lport_enter_flogi to send flogi
    req. In this case grabbing the same lport->lp_mutex again in fc_puase from
    fcoe_xmit would cause deadlock.

    The lport->lp_mutex was used for setting FC_PAUSE in fcoe_xmit path but
    FC_PAUSE bit was not used anywhere beside just setting and clear this
    bit in lport->link_status, instead used a separate field qfull in fc_lport
    to eliminate need for lport->lp_mutex to track pending queue full condition
    and in turn avoid above described two locking issues.

    Also added check for lp->qfull in fc_fcp_lport_queue_ready to trigger
    SCSI_MLQUEUE_HOST_BUSY when lp->qfull is set to prevent more scsi-ml cmds
    while lp->qfull is set.

    This patch eliminated FC_LINK_UP and FC_PAUSE and instead used dedicated
    fields in fc_lport for this, this simplified all related conditional
    code.

    Also removed fc_pause and fc_unpause functions and instead used newly added
    lport->qfull directly in fcoe.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     
  • fc_exch_mgr structure is private to fc_exch.c. To export exch_mgr_reset to
    transport, transport needs access to the exch manager. Change
    exch_mgr_reset to use lport param which is the shared structure between
    libFC and transport.

    Alternatively, fc_exch_mgr definition can be moved to libfc.h so that lport
    can be accessed from mp*.

    Signed-off-by: Abhijeet Joglekar
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Abhijeet Joglekar
     

06 Mar, 2009

1 commit


05 Mar, 2009

2 commits