24 Sep, 2006

8 commits


23 Sep, 2006

32 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
    [CIFS] statfs for cifs unix extensions no longer experimental
    [CIFS] New POSIX locking code not setting rc properly to zero on successful
    [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path)

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
    [AGPGART] Rework AGPv3 modesetting fallback.
    [AGPGART] Add suspend callback for i965
    [AGPGART] Fix number of aperture sizes in 830 gart structs.
    [AGPGART] Intel 965 Express support.
    [AGPGART] agp.h: constify struct agp_bridge_data::version
    [AGPGART] const'ify VIA AGP PCI table.
    [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c
    [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c
    [AGPGART] Const'ify the agpgart driver version.
    [AGPGART] remove private page protection map

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata
    [CPUFREQ] Fix some more CPU hotplug locking.
    [CPUFREQ] Workaround for BIOS bug in software coordination of frequency
    [CPUFREQ] Longhaul - Add voltage scaling to driver
    [CPUFREQ] Fix sparse warning in ondemand
    [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
    [CPUFREQ] Longhaul - Add ignore_latency option
    [CPUFREQ] Longhaul - Disable arbiter
    [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable
    [CPUFREQ][1/2] ondemand: updated tune for hardware coordination
    [CPUFREQ] Fix typo.

    Linus Torvalds
     
  • missing le16_to_cpu()

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • In

    |Author: James Simmons
    |Date: Thu Mar 13 22:37:08 2003 -0800
    |
    | [FBCON] Cursor handling clean up. I nuked several static variables.

    we have

    -static void fbcon_vbl_handler(int irq, void *dummy, struct pt_regs *fp)
    +static void fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp)

    and 3 years later a couple of instances missed back then still remains
    there.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • iommu_init() and iounit_init() are never called for sun4, but that's not
    enough - these calls should be ifdefed out since the functions in question
    simply do not exist for CONFIG_SUN4 kernel.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • memcpy() from iomem is a bad thing...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Back when pci_dev had base_address[], loop of form
    base = &...->base_address[0];
    for (.....) {
    ...
    *base++ = addr;
    }
    was fine, but when that array got spread in ->resource[...].start
    replacing the initialization with
    base = &...->resource[0].start;
    was not a sufficient modification. IOW this code got broken for cases
    when there had been more than one resource to fill. All way back in
    2.3.41-pre3...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • several targets have no ....at() family and m32r calls its only chown variant
    chown32(), with __NR_chown being undefined. creat(2) is also absent in some
    targets.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • sw_any_bug_dmi_table can be used on resume, so it isn't initdata.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Dave Jones

    Jeremy Fitzhardinge
     
  • Lukewarm IQ detected in hotplug locking
    BUG: warning at kernel/cpu.c:38/lock_cpu_hotplug()
    [] lock_cpu_hotplug+0x42/0x65
    [] cpufreq_update_policy+0x25/0xad
    [] kprobe_flush_task+0x18/0x40
    [] schedule+0x63f/0x68b
    [] __link_module+0x0/0x1f
    [] __cond_resched+0x16/0x34
    [] cond_resched+0x26/0x31
    [] wait_for_completion+0x17/0xb1
    [] cpufreq_stat_cpu_callback+0x13/0x20 [cpufreq_stats]
    [] cpufreq_stats_init+0x74/0x8b [cpufreq_stats]
    [] sys_init_module+0x91/0x174
    [] sysenter_past_esp+0x56/0x79

    As there are other places that call cpufreq_update_policy without
    the hotplug lock, it seems better to keep the hotplug locking
    at the lower level for the time being until this is revamped.

    Signed-off-by: Dave Jones

    Dave Jones
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (65 commits)
    IB: Fix typo in kerneldoc for ib_set_client_data()
    IPoIB: Add some likely/unlikely annotations in hot path
    IPoIB: Remove unused include of vmalloc.h
    IPoIB: Rejoin all multicast groups after a port event
    IPoIB: Create MCGs with all attributes required by RFC
    IB/sa: fix ib_sa_selector names
    IB/iser: INFINIBAND_ISER depends on INET
    IB/mthca: Simplify calls to mthca_cq_clean()
    RDMA/cma: Document rdma_accept() error handling
    IB/mthca: Recover from catastrophic errors
    RDMA/cma: Document rdma_destroy_id() function
    IB/cm: Do not track remote QPN in timewait state
    IB/sa: Require SA registration
    IPoIB: Refactor completion handling
    IB/iser: Do not use FMR for a single dma entry sg
    IB/iser: fix some debug prints
    IB/iser: make FMR "page size" be 4K and not PAGE_SIZE
    IB/iser: Limit the max size of a scsi command
    IB/iser: fix a check of SG alignment for RDMA
    RDMA/cma: Protect against adding device during destruction
    ...

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage
    [netdrvr] lp486e: fix typo

    Linus Torvalds
     
  • Signed-off-by: Krishna Kumar
    Signed-off-by: Roland Dreier

    Krishna Kumar
     
  • Signed-off-by: Eli Cohen
    Signed-off-by: Roland Dreier

    Eli Cohen
     
  • IPoIB doesn't use anything from , so don't include it.

    Signed-off-by: Dotan Barak
    Signed-off-by: Roland Dreier

    Dotan Barak
     
  • When ipoib_ib_dev_flush() is called because of a port event, the
    driver needs to rejoin all multicast groups, since the flush will call
    ipoib_mcast_dev_flush() (via ipoib_ib_dev_down()). Otherwise no
    (non-broadcast) multicast groups will be rejoined until the networking
    core calls ->set_multicast_list again, and so multicast reception will
    be broken for potentially a long time.

    Signed-off-by: Eli Cohen
    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Eli Cohen
     
  • RFC 4391 ("Transmission of IP over InfiniBand (IPoIB)") says:

    If the IB multicast group does not already exist, one must be
    created first with the IPoIB link MTU. The MGID MUST use the same
    P_Key, Q_Key, SL, MTU, and HopLimit as those used in the
    broadcast-GID. The rest of attributes SHOULD follow the values used
    in the broadcast-GID as well.

    However, the current IPoIB driver is only setting the attributes
    required by the InfiniBand spec to create a multicast group, so in
    particular the MTU and HopLimit are not being set. Add these
    attributes when creating MCGs, and also set the Rate attribute, since
    IPoIB pays attention to that attribute as well.

    Signed-off-by: Roland Dreier

    Roland Dreier
     
  • Relevant SA queries are actually "greater than" / "less than", not
    "greater than or equal" / "less than or equal" as the names imply.
    (See IB spec 1.2 Vol 1, 15.2.5.16 PATHRECORD/Table 205 PathRecord)

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • iSER won't build without CONFIG_INET enabled, so make Kconfig reflect that.

    Signed-off-by: Roland Dreier

    Roland Dreier
     
  • If a QP has separate send and receive CQs, then the send CQ will never
    have receive completions from that QP in it. So when cleaning the
    send CQ, there's no need to pass in an SRQ pointer, even if the QP is
    attached to an SRQ.

    Signed-off-by: Roland Dreier

    Roland Dreier
     
  • Document the reject sending and modifying QP to error done in rdma_accept().

    Signed-off-by: Or Gerlitz
    Signed-off-by: Sean Hefty
    Signed-off-by: Roland Dreier

    Or Gerlitz
     
  • Trigger device remove and then add when a catastrophic error is
    detected in hardware. This, in turn, will cause a device reset, which
    we hope will recover from the catastrophic condition.

    Since this might interefere with debugging the root cause, add a
    module option to suppress this behaviour.

    Signed-off-by: Jack Morgenstein
    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Jack Morgenstein
     
  • Clarify that rdma_destroy_id cancels outstanding asynchronous operations on the
    Associated id.

    Signed-off-by: Or Gerlitz
    Signed-off-by: Sean Hefty
    Signed-off-by: Roland Dreier

    Or Gerlitz
     
  • Do not track remote QPN in TimeWait state, since QP is not connected.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • Require users to register with SA module, to prevent the sa_query
    module text from going away while an SA query callback is still
    running. Update all in-tree users for the new interface.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Sean Hefty
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • Split up ipoib_ib_handle_wc() into ipoib_ib_handle_rx_wc() and
    ipoib_ib_handle_tx_wc() to make the code easier to read. This will
    also help implement NAPI in the future.

    Signed-off-by: Roland Dreier

    Roland Dreier
     
  • Fast Memory Registration (fmr) is used to register for rdma an sg whose
    elements are not linearly sequential after dma mapping.

    The IB verbs layer provides an "all dma memory MR (memory region)" which
    can be used for RDMA-ing a dma linearly sequential buffer.

    Change the code to use the dma mr instead of doing fmr when dma mapping
    produces a single dma entry sg.

    Signed-off-by: Erez Zilber
    Signed-off-by: Roland Dreier

    Erez Zilber
     
  • fix and add some debug prints related to iser
    handling of memory for rdma.

    Signed-off-by: Erez Zilber
    Signed-off-by: Roland Dreier

    Erez Zilber