24 May, 2009

4 commits

  • Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] mpt2sas: fix driver version inconsistency
    [SCSI] 3w-xxxx: scsi_dma_unmap fix
    [SCSI] 3w-9xxx: scsi_dma_unmap fix
    [SCSI] ses: fix problems caused by empty SES provided name
    [SCSI] fc-transport: Close state transition-window during rport deletion.
    [SCSI] initialize max_target_blocked in scsi_alloc_target
    [SCSI] fnic: Add new Cisco PCI-Express FCoE HBA

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
    [CIFS] Avoid open on possible directories since Samba now rejects them

    Linus Torvalds
     
  • Small change (mostly formatting) to limit lookup based open calls to
    file create only.

    After discussion yesteday on samba-technical about the posix lookup
    regression, and looking at a problem with cifs posix open to one
    particular Samba version, Jeff and JRA realized that Samba server's
    behavior changed in this area (posix open behavior on files vs.
    directories). To make this behavior consistent, JRA just made a
    fix to Samba server to alter how it handles open of directories (now
    returning the equivalent of EISDIR instead of success). Since we don't
    know at lookup time whether the inode is a directory or file (and
    thus whether posix open will succeed with most current Samba server),
    this change avoids the posix open code on lookup open (just issues
    posix open on creates). This gets the semantic benefits we want
    (atomicity, posix byte range locks, improved write semantics on newly
    created files) and file create still is fast, and we avoid the problem
    that Jeff noticed yesterday with "openat" (and some open directory
    calls) of non-cached directories to one version of Samba server, and
    will work with future Samba versions (which include the fix jra just
    pushed into Samba server). I confirmed this approach with jra
    yesterday and with Shirish today.

    Posix open is only called (at lookup time) for file create now.
    For opens (rather than creates), because we do not know if it
    is a file or directory yet, and current Samba no longer allows
    us to do posix open on dirs, we could end up wasting an open call
    on what turns out to be a dir. For file opens, we wait to call posix
    open till cifs_open. It could be added here (lookup) in the future
    but the performance tradeoff of the extra network request when EISDIR
    or EACCES is returned would have to be weighed against the 50%
    reduction in network traffic in the other paths.

    Reviewed-by: Shirish Pargaonkar
    Tested-by: Jeff Layton
    CC: Jeremy Allison
    Signed-off-by: Steve French

    Steve French
     

23 May, 2009

4 commits

  • Actually the icom driver is crashing when is being removed because
    the driver is kfreeing the adapter structure before calling
    pci_release_regions(), which result in the following error:

    Unable to handle kernel paging request for data at address 0x6b6b6b6b6b6b6d33
    Faulting instruction address: 0xc000000000246b80
    Oops: Kernel access of bad area, sig: 11 [#1]
    ....
    [c000000012d436a0] [c0000000001002d0] .kfree+0x120/0x34c (unreliable)
    [c000000012d43730] [c000000000246d60] .pci_release_selected_regions+0x3c/0x68
    [c000000012d437c0] [d000000002d54700] .icom_kref_release+0xf4/0x118 [icom]
    [c000000012d43850] [c000000000232e50] .kref_put+0x74/0x94
    [c000000012d438d0] [d000000002d56c58] .icom_remove+0x40/0xa4 [icom]
    [c000000012d43960] [c000000000249e48] .pci_device_remove+0x50/0x90
    [c000000012d439e0] [c0000000002d68d8] .__device_release_driver+0x94/0xd4
    [c000000012d43a70] [c0000000002d7104] .driver_detach+0xf8/0x12c
    [c000000012d43b00] [c0000000002d549c] .bus_remove_driver+0xbc/0x11c
    [c000000012d43b90] [c0000000002d71dc] .driver_unregister+0x60/0x80
    [c000000012d43c20] [c00000000024a07c] .pci_unregister_driver+0x44/0xe8
    [c000000012d43cb0] [d000000002d56bf4] .icom_exit+0x1c/0x40 [icom]
    [c000000012d43d30] [c000000000095fa8] .SyS_delete_module+0x214/0x2a8
    [c000000012d43e30] [c00000000000852c] syscall_exit+0x0/0x40

    Signed-off-by: Breno Leitao
    Cc: stable@kernel.org
    Cc: Alan Cox
    Signed-off-by: Linus Torvalds

    Breno Leitao
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: Kill truncate warning by shortening Sigmatel-specific AC97 control name
    ALSA: hda - fix audio on HP TX25xx series notebooks
    ALSA: pcsp - fix printk format warning again

    Linus Torvalds
     
  • * fix/misc:
    ALSA: Kill truncate warning by shortening Sigmatel-specific AC97 control name
    ALSA: pcsp - fix printk format warning again

    Takashi Iwai
     
  • ALSA sound/core/control.c:232: Control name 'Sigmatel Surround Phase
    Inversion Playback Switch' truncated to 'Sigmatel Surround Phase
    Inversion Playback ' bootup message by omitting weird Sigmatel prefix
    in this case; also fix up the related ca0106 mixer control removal
    part by using identical naming there.

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai

    Andreas Mohr
     

22 May, 2009

24 commits


21 May, 2009

8 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI PM: Fix initialization and kexec breakage for some devices

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/drm-2.6:
    drm: Copy back ioctl data to userspace regardless of return code.
    drm: Round size of SHM maps to PAGE_SIZE

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    MIPS: 64-bit: Fix system lockup.
    MIPS: IP28: Change to build with -mr10k-cache-barrier=store
    MIPS: IP22: Fix hang in power button interrupt handler
    MIPS: IP32: Fix hang on shutdown in power button interrupt handler.

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm: (25 commits)
    [ARM] 5519/1: amba probe: pass "struct amba_id *" instead of void *
    [ARM] 5517/1: integrator: don't put clock lookups in __initdata
    [ARM] 5518/1: versatile: don't put clock lookups in __initdata
    [ARM] mach-l7200: fix spelling of SYS_CLOCK_OFF
    [ARM] Double check memmap is actually valid with a memmap has unexpected holes V2
    [ARM] realview: fix broadcast tick support
    [ARM] realview: remove useless smp_cross_call_done()
    [ARM] smp: fix cpumask usage in ARM SMP code
    [ARM] 5513/1: Eurotech VIPER SBC: fix compilation error
    [ARM] 5509/1: ep93xx: clkdev enable UARTS
    ARM: OMAP2/3: Change omapfb to use clkdev for dispc and rfbi, v2
    ARM: OMAP3: Fix HW SAVEANDRESTORE shift define
    ARM: OMAP3: Fix number of GPIO lines for 34xx
    [ARM] S3C: Do not set clk->owner field if unset
    [ARM] S3C2410: mach-bast.c registering i2c data too early
    [ARM] S3C24XX: Fix unused code warning in arch/arm/plat-s3c24xx/dma.c
    [ARM] S3C64XX: fix GPIO debug
    [ARM] S3C64XX: GPIO include cleanup
    [ARM] nwfpe: fix 'floatx80_is_nan' sparse warning
    [ARM] nwfpe: Add decleration for ExtendedCPDO
    ...

    Linus Torvalds
     
  • The second argument of the probe method points to the amba_id
    structure, so it's better passed with the correct type. None of the
    current in-tree drivers uses the pointer, so they have only been
    checked for a clean compile.

    Change suggested by Russell King.

    Signed-off-by: Alessandro Rubini
    Signed-off-by: Russell King

    Alessandro Rubini
     
  • Fixes a regression from commit 9d5b3ffc42f7820e8ee07705496955e4c2c38dd9
    ('drm: fixup some of the ioctl function exit paths'): The vblank ioctl
    needs to update the userspace parameters when interrupted by a signal,
    which was prevented by the return code check. This could cause the X
    server to hang in drmWaitVBlank().

    Signed-off-by: Michel Dänzer
    Signed-off-by: Jesse Barnes

    Michel Dänzer
     
  • The address range size calculation inside local_flush_tlb_kernel_range()
    is being truncated by a too small size variable holder on 64-bit systems.
    The truncated size can result in an erroneous tlbsize check that means we
    sit spinning inside a loop trying to flush a hige number of TLB entries.
    This is for all intents and purposes a system hang. Fix by using an
    appropriately sized valiable to hold the size.

    [Ralf: Greg's original patch submission identified the issue and fixed one
    instance in tlb-r4k.c but there there were several more. For consistency
    I also modified tlb-r3k.c even though that file is only used on 32-bit.]

    Signed-off-by: Greg Ungerer
    Signed-off-by: Ralf Baechle

    Greg Ungerer
     
  • Richard Sandiford's new code for inserting the cache-barriers, for GCC
    4.3 and above and already incorporated in the current GCC-release, uses
    a slightly different option-syntax.

    Signed-off-by: peter fuerst
    Signed-off-by: Ralf Baechle

    peter fuerst