23 Feb, 2010

2 commits

  • Now that the bio list management stuff is generic, convert
    generic_make_request to use bio lists instead of its own private bio
    list implementation.

    Signed-off-by: Akinobu Mita
    Cc: Christoph Hellwig
    Signed-off-by: Jens Axboe

    Akinobu Mita
     
  • 'make headers_check' began to fail after cciss_defs.h was introduced in:
    429c42c9d246f5bda868495c09974312a0177328

    usr/include/linux/cciss_ioctl.h:6: included file 'linux/cciss_defs.h' is not exported

    Fix this by exporting cciss_defs.h

    Signed-off-by: dann frazier
    Signed-off-by: Jens Axboe

    dann frazier
     

22 Feb, 2010

4 commits


21 Feb, 2010

5 commits


20 Feb, 2010

22 commits

  • cachefiles_delete_object() can race with rename. It gets the parent directory
    of the object it's asked to delete, then locks it - but rename may have changed
    the object's parent between the get and the completion of the lock.

    However, if such a circumstance is detected, we abandon our attempt to delete
    the object - since it's no longer in the index key path, it won't be seen
    again by lookups of that key. The assumption is that cachefilesd may have
    culled it by renaming it to the graveyard for later destruction.

    Signed-off-by: David Howells
    Signed-off-by: Al Viro

    David Howells
     
  • Signed-off-by: Russell King

    Russell King
     
  • This fixes the filepath encoded in and adds
    some documentation as to what this bus really means.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     
  • This patch fix the below build error for arm1026ej-s processor (IntegratorCP/arm1026ej-s board).
    CC init/main.o
    In file included from include/linux/highmem.h:8,
    from include/linux/pagemap.h:10,
    from include/linux/mempolicy.h:62,
    from init/main.c:52:
    arch/arm/include/asm/cacheflush.h:134:2: error: #error Unknown cache maintainence model
    make[1]: *** [init/main.o] Erreur 1
    make: *** [init] Erreur 2

    Signed-off-by: Abdoulaye Walsimou Gaye
    Signed-off-by: Russell King

    Abdoulaye Walsimou Gaye
     
  • commit 1e41568d7378d1ba8c64ba137b9ddd00b59f893a ("Take ima_path_check()
    in nfsd past dentry_open() in nfsd_open()") moved this code back to its
    original location but missed the "else".

    Signed-off-by: Chuck Ebbert
    Signed-off-by: Al Viro

    Chuck Ebbert
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] megaraid_sas: fix for 32bit apps
    [SCSI] fcoe: Only rmmod fcoe.ko if there are no active connections
    [SCSI] libfcoe: Send port LKA every FIP_VN_KA_PERIOD secs.
    [SCSI] libfc: Don't assume response request present.
    [SCSI] libfc: Fix e_d_tov ns -> ms scaling factor in PLOGI response.
    [SCSI] libfc: call ddp setup for only FCP reads to avoid accessing junk fsp pointer
    [SCSI] iscsi_tcp regression: remove bogus warn on in write path

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    sfc: SFE4002/SFN4112F: Widen temperature and voltage tolerances
    sfc: Fix sign of efx_mcdi_poll_reboot() error in efx_mcdi_poll()
    net-sysfs: Use rtnl_trylock in wireless sysfs methods.
    net: Fix sysctl restarts...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc64: Fix sun4u execute bit check in TSB I-TLB load.
    sparc: Fix incorrect comparison in of_bus_ambapp_match()
    sparc64: Sync of_create_pci_dev() with drivers/pci/probe.c changes.
    sparc64: Tighten checks in kstack_valid().

    Linus Torvalds
     
  • * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/radeon: bump the UMS driver version number to indicate rv740 fix
    drm/radeon/kms: free fence IB if it wasn't emited at IB free time
    drm/ttm: fix caching problem on non-PAT systems.
    drm/radeon/rv740: fix backend setup
    drm/radeon/kms: fix shared ddc detection
    drm/radeon/kms/rs600: add connector quirk
    vgaarb: fix "target=default" passing

    Linus Torvalds
     
  • The temperature and voltage limits currently set on these boards are
    too conservative and will cause the driver to stop the net device
    erroneously in some systems.

    Based on a review of the chip datasheets and advice from the designer
    of these boards:

    - Raise the maximum board temperatures to the specified maximum ambient
    temperatures for their PHYs plus the expected temperature bias of the
    board
    - Raise the maximum controller temperature to 90 degrees
    - Lower the minimum temperatures to 0 degrees
    - Widen the voltage tolerances to at least +/- 10%

    Signed-off-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Ben Hutchings
     
  • efx_mcdi_poll() uses positive error numbers, matching the MCDI
    protocol. It must negate the result of efx_mcdi_poll_reboot() which
    returns the usual negative error numbers.

    Signed-off-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Ben Hutchings
     
  • The wireless sysfs methods like the rest of the networking sysfs
    methods are removed with the rtnl_lock held and block until
    the existing methods stop executing. So use rtnl_trylock
    and restart_syscall so that the code continues to work.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: David S. Miller

    Eric W. Biederman
     
  • Yuck. It turns out that when we restart sysctls we were restarting
    with the values already changed. Which unfortunately meant that
    the second time through we thought there was no change and skipped
    all kinds of work, despite the fact that there was indeed a change.

    I have fixed this the simplest way possible by restoring the changed
    values when we restart the sysctl write.

    One of my coworkers spotted this bug when after disabling forwarding
    on an interface pings were still forwarded.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: David S. Miller

    Eric W. Biederman
     
  • Thanks to testcase and report from Brad Spengler:

    --------------------
    #include

    typedef int (* _wee)(void);

    int main(void)
    {
    char buf[8] = { '\x81', '\xc7', '\xe0', '\x08', '\x81', '\xe8',
    '\x00', '\x00' };
    _wee wee;
    printf("%p\n", &buf);
    wee = (_wee)&buf;
    wee();

    return 0;
    }
    --------------------

    TSB I-tlb load code tries to use andcc to check the _PAGE_EXEC_4U bit,
    but that's bit 12 so it gets sign extended all the way up to bit 63
    and the test nearly always passes as a result.

    Use sethi to fix the bug.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This lets UMS userspace know the rv740 fix is in. For KMS we can
    consider the kernel release to be the v2.0.0 release so we don't need the
    bump there.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • If at IB free time fence wasn't emited that means the IB wasn't
    scheduled because an error occured somewhere, thus we can free
    then fence and mark the IB as free.

    Signed-off-by: Jerome Glisse
    Signed-off-by: Dave Airlie

    Jerome Glisse
     
  • http://bugzilla.kernel.org/show_bug.cgi?id=15328

    This fixes a serious regression on AGP/non-PAT systems, where
    pages were ending up in the wrong state and slowing down the
    whole system.

    [airlied: taken this from the bug as the other option is to revert
    the change which caused it].

    Tested-by: John W. Linville (in bug).
    Signed-off-by: Dave Airlie

    Francisco Jerez
     
  • This patch fixes occlusion queries and rendering errors
    on rv740 boards. Hardcoding the backend map is not an optimal
    solution, but a better fix is being worked on.

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • Just compare the i2c id since the i2c structs
    may be slighly different.

    Fixes fdo bug 26616.

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • rs600 board lists DVI port as HDMI.

    Fixes fdo bug 26605

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • Commit 77c1ff3982c6b36961725dd19e872a1c07df7f3b fixed the userspace
    pointer dereference, but introduced another bug pointed out by Eugene Teo
    in RH bug #564264. Instead of comparing the point we were at in the string,
    we instead compared the beginning of the string to "default".

    Signed-off-by: Kyle McMartin
    Reported-by: Eugene Teo
    Signed-off-by: Dave Airlie

    Kyle McMartin
     
  • It looks like this patch -

    commit 7b2519afa1abd1b9f63aa1e90879307842422dae
    Author: Yang, Bo
    Date: Tue Oct 6 14:52:20 2009 -0600

    [SCSI] megaraid_sas: fix 64 bit sense pointer truncation

    has caused a problem for 32bit programs with 64bit os -

    http://bugzilla.kernel.org/show_bug.cgi?id=15001

    fix by converting the user space 32bit pointer to a 64 bit one when
    needed.

    [jejb: fix up some 64 bit warnings]
    Signed-off-by: Tomas Henzl
    Cc: Bo Yang
    Signed-off-by: James Bottomley

    Tomas Henzl
     

19 Feb, 2010

7 commits