21 Jul, 2008

6 commits

  • Dmitry Torokhov
     
  • * 'for-2.6.27' of git://linux-nfs.org/~bfields/linux: (51 commits)
    nfsd: nfs4xdr.c do-while is not a compound statement
    nfsd: Use C99 initializers in fs/nfsd/nfs4xdr.c
    lockd: Pass "struct sockaddr *" to new failover-by-IP function
    lockd: get host reference in nlmsvc_create_block() instead of callers
    lockd: minor svclock.c style fixes
    lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock
    lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_testlock
    lockd: nlm_release_host() checks for NULL, caller needn't
    file lock: reorder struct file_lock to save space on 64 bit builds
    nfsd: take file and mnt write in nfs4_upgrade_open
    nfsd: document open share bit tracking
    nfsd: tabulate nfs4 xdr encoding functions
    nfsd: dprint operation names
    svcrdma: Change WR context get/put to use the kmem cache
    svcrdma: Create a kmem cache for the WR contexts
    svcrdma: Add flush_scheduled_work to module exit function
    svcrdma: Limit ORD based on client's advertised IRD
    svcrdma: Remove unused wait q from svcrdma_xprt structure
    svcrdma: Remove unneeded spin locks from __svc_rdma_free
    svcrdma: Add dma map count and WARN_ON
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (277 commits)
    V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.
    V4L/DVB (8414): videodev/cx18: fix get_index bug and error-handling lock-ups
    V4L/DVB (8411): videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernels
    V4L/DVB (8410): sh_mobile_ceu_camera: fix 64-bit compiler warnings
    V4L/DVB (8397): video: convert select VIDEO_ZORAN_ZR36060 into depends on
    V4L/DVB (8396): video: Fix Kbuild dependency for VIDEO_IR_I2C
    V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c
    V4L/DVB (8394): ir-common: CodingStyle fix: move EXPORT_SYMBOL_GPL to their proper places
    V4L/DVB (8393): media/video: Fix depencencies for VIDEOBUF
    V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on"
    V4L/DVB (8390): videodev: add comment and remove magic number.
    V4L/DVB (8389): videodev: simplify get_index()
    V4L/DVB (8387): Some cosmetic changes
    V4L/DVB (8381): ov7670: fix compile warnings
    V4L/DVB (8380): saa7115: use saa7115_auto instead of saa711x as the autodetect driver name.
    V4L/DVB (8379): saa7127: Make device detection optional
    V4L/DVB (8378): cx18: move cx18_av_vbi_setup to av-core.c and rename to cx18_av_std_setup
    V4L/DVB (8377): ivtv/cx18: ensure the default control values are correct
    V4L/DVB (8376): cx25840: move cx25840_vbi_setup to core.c and rename to cx25840_std_setup
    V4L/DVB (8374): gspca: No conflict of 0c45:6011 with the sn9c102 driver.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (1232 commits)
    iucv: Fix bad merging.
    net_sched: Add size table for qdiscs
    net_sched: Add accessor function for packet length for qdiscs
    net_sched: Add qdisc_enqueue wrapper
    highmem: Export totalhigh_pages.
    ipv6 mcast: Omit redundant address family checks in ip6_mc_source().
    net: Use standard structures for generic socket address structures.
    ipv6 netns: Make several "global" sysctl variables namespace aware.
    netns: Use net_eq() to compare net-namespaces for optimization.
    ipv6: remove unused macros from net/ipv6.h
    ipv6: remove unused parameter from ip6_ra_control
    tcp: fix kernel panic with listening_get_next
    tcp: Remove redundant checks when setting eff_sacks
    tcp: options clean up
    tcp: Fix MD5 signatures for non-linear skbs
    sctp: Update sctp global memory limit allocations.
    sctp: remove unnecessary byteshifting, calculate directly in big-endian
    sctp: Allow only 1 listening socket with SO_REUSEADDR
    sctp: Do not leak memory on multiple listen() calls
    sctp: Support ipv6only AF_INET6 sockets.
    ...

    Linus Torvalds
     
  • * 'configfs-fixup-ptr-error' of git://oss.oracle.com/git/jlbec/linux-2.6:
    configfs: Allow ->make_item() and ->make_group() to return detailed errors.
    Revert "configfs: Allow ->make_item() and ->make_group() to return detailed errors."

    Linus Torvalds
     
  • Serial drivers using DMA (like the atmel_serial driver) tend to get very
    confused when the xmit buffer is flushed and nobody told them. They
    also tend to spew a lot of garbage since the DMA engine keeps running
    after the buffer is flushed and possibly refilled with unrelated data.

    This patch adds a new flush_buffer operation to the uart_ops struct,
    along with a call to it from uart_flush_buffer() right after the xmit
    buffer has been cleared. The driver can implement this in order to
    syncronize its internal DMA state with the xmit buffer when the buffer
    is flushed.

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     

20 Jul, 2008

15 commits


18 Jul, 2008

5 commits

  • Conflicts:

    Documentation/powerpc/booting-without-of.txt
    drivers/atm/Makefile
    drivers/net/fs_enet/fs_enet-main.c
    drivers/pci/pci-acpi.c
    net/8021q/vlan.c
    net/iucv/iucv.c

    David S. Miller
     
  • There is no need for a feature bit for something that
    can be tested by simply checking the TX queue count.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • The configfs operations ->make_item() and ->make_group() currently
    return a new item/group. A return of NULL signifies an error. Because
    of this, -ENOMEM is the only return code bubbled up the stack.

    Multiple folks have requested the ability to return specific error codes
    when these operations fail. This patch adds that ability by changing the
    ->make_item/group() ops to return ERR_PTR() values. These errors are
    bubbled up appropriately. NULL returns are changed to -ENOMEM for
    compatibility.

    Also updated are the in-kernel users of configfs.

    This is a rework of reverted commit 11c3b79218390a139f2d474ee1e983a672d5839a.

    Signed-off-by: Joel Becker

    Joel Becker
     
  • This reverts commit 11c3b79218390a139f2d474ee1e983a672d5839a. The code
    will move to PTR_ERR().

    Signed-off-by: Joel Becker

    Joel Becker
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
    [PATCH] ocfs2: fix oops in mmap_truncate testing
    configfs: call drop_link() to cleanup after create_link() failure
    configfs: Allow ->make_item() and ->make_group() to return detailed errors.
    configfs: Fix failing mkdir() making racing rmdir() fail
    configfs: Fix deadlock with racing rmdir() and rename()
    configfs: Make configfs_new_dirent() return error code instead of NULL
    configfs: Protect configfs_dirent s_links list mutations
    configfs: Introduce configfs_dirent_lock
    ocfs2: Don't snprintf() without a format.
    ocfs2: Fix CONFIG_OCFS2_DEBUG_FS #ifdefs
    ocfs2/net: Silence build warnings on sparc64
    ocfs2: Handle error during journal load
    ocfs2: Silence an error message in ocfs2_file_aio_read()
    ocfs2: use simple_read_from_buffer()
    ocfs2: fix printk format warnings with OCFS2_FS_STATS=n
    [PATCH 2/2] ocfs2: Instrument fs cluster locks
    [PATCH 1/2] ocfs2: Add CONFIG_OCFS2_FS_STATS config option

    Linus Torvalds
     

17 Jul, 2008

13 commits

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (72 commits)
    Revert "x86/PCI: ACPI based PCI gap calculation"
    PCI: remove unnecessary volatile in PCIe hotplug struct controller
    x86/PCI: ACPI based PCI gap calculation
    PCI: include linux/pm_wakeup.h for device_set_wakeup_capable
    PCI PM: Fix pci_prepare_to_sleep
    x86/PCI: Fix PCI config space for domains > 0
    Fix acpi_pm_device_sleep_wake() by providing a stub for CONFIG_PM_SLEEP=n
    PCI: Simplify PCI device PM code
    PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleep
    PCI ACPI: Rework PCI handling of wake-up
    ACPI: Introduce new device wakeup flag 'prepared'
    ACPI: Introduce acpi_device_sleep_wake function
    PCI: rework pci_set_power_state function to call platform first
    PCI: Introduce platform_pci_power_manageable function
    ACPI: Introduce acpi_bus_power_manageable function
    PCI: make pci_name use dev_name
    PCI: handle pci_name() being const
    PCI: add stub for pci_set_consistent_dma_mask()
    PCI: remove unused arch pcibios_update_resource() functions
    PCI: fix pci_setup_device()'s sprinting into a const buffer
    ...

    Fixed up conflicts in various files (arch/x86/kernel/setup_64.c,
    arch/x86/pci/irq.c, arch/x86/pci/pci.h, drivers/acpi/sleep/main.c,
    drivers/pci/pci.c, drivers/pci/pci.h, include/acpi/acpi_bus.h) from x86
    and ACPI updates manually.

    Linus Torvalds
     
  • * 'for_linus' of git://git.infradead.org/~dedekind/ubifs-2.6:
    UBIFS: include to compilation
    UBIFS: add new flash file system
    UBIFS: add brief documentation
    MAINTAINERS: add UBIFS section
    do_mounts: allow UBI root device name
    VFS: export sync_sb_inodes
    VFS: move inode_lock into sync_sb_inodes

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6: (76 commits)
    IDE: Report errors during drive reset back to user space
    Update documentation of HDIO_DRIVE_RESET ioctl
    IDE: Remove unused code
    IDE: Fix HDIO_DRIVE_RESET handling
    hd.c: remove the #include
    update the BLK_DEV_HD help text
    move ide/legacy/hd.c to drivers/block/
    ide/legacy/hd.c: use late_initcall()
    remove BLK_DEV_HD_ONLY
    ide: endian annotations in ide-floppy.c
    ide-floppy: zero out the whole struct ide_atapi_pc on init
    ide-floppy: fold idefloppy_create_test_unit_ready_cmd into idefloppy_open
    ide-cd: move request prep chunk from cdrom_do_newpc_cont to rq issue path
    ide-cd: move request prep from cdrom_start_rw_cont to rq issue path
    ide-cd: move request prep from cdrom_start_seek_continuation to rq issue path
    ide-cd: fold cdrom_start_seek into ide_cd_do_request
    ide-cd: simplify request issuing path
    ide-cd: mv ide_do_rw_cdrom ide_cd_do_request
    ide-cd: cdrom_start_seek: remove unused argument block
    ide-cd: ide_do_rw_cdrom: add the catch-all bad request case to the if-else block
    ...

    Linus Torvalds
     
  • "idle=nomwait" disables the use of the MWAIT
    instruction from both C1 (C1_FFH) and deeper (C2C3_FFH)
    C-states.

    When MWAIT is unavailable, the BIOS and OS generally
    negotiate to use the HALT instruction for C1,
    and use IO accesses for deeper C-states.

    This option is useful for power and performance
    comparisons, and also to work around BIOS bugs
    where broken MWAIT support is advertised.

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

    Signed-off-by: Zhao Yakui
    Signed-off-by: Li Shaohua
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Zhao Yakui
     
  • "idle=halt" limits the idle loop to using
    the halt instruction. No MWAIT, no IO accesses,
    no C-states deeper than C1.

    If something is broken in the idle code,
    "idle=halt" is a less severe workaround
    than "idle=poll" which disables all power savings.

    Signed-off-by: Zhao Yakui
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Zhao Yakui
     
  • Allow users to enable/disable/clear a specific & valid GPE/Fixed Event
    in user space.

    This is useful for debugging, especially for some
    interrupt storm issues.

    All wakeup GPEs are disabled and they can not be enabled at runtime,
    and we mark them as invalid.

    All GPEs that don't have a _Lxx/_Exx method are marked as invalid.

    All Fixed Events that don't have an event handler are marked as invalid
    and they can't be enabled until an event handler is registered.

    Signed-off-by: Zhang Rui
    Signed-off-by: Ling Ming
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Zhang Rui
     
  • This should have been removed when the colour was removed from the LED
    device name.

    Signed-off-by: Carlos Corbacho
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Carlos Corbacho
     
  • Make sure that each error condition during the execution of an
    HDIO_DRIVE_RESET ioctl is actually reported to the calling process.
    Also, unify the exit path of reset_pollfunc() when returning ide_stopped
    since the need of ->port_ops->reset_poll() to be treated specially has
    vanished (way back, it seems).

    Signed-off-by: Elias Oltmanns
    Cc: "Alan Cox"
    Cc: "Randy Dunlap"
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Elias Oltmanns
     
  • Alter the entry for HDIO_DRIVE_RESET in Documentation/ioctl/hdio.txt to
    reflect a functional change in the driver. Besides, the entry has been
    inaccurate before.

    Signed-off-by: Elias Oltmanns
    Cc: "Alan Cox"
    Cc: "Randy Dunlap"
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Elias Oltmanns
     
  • The new-style max6875 driver implements the optional detect() callback
    to cover the use cases of the legacy driver. I'm curious if anyone
    really needs this though, so it might be removed in the feature.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • The new-style pca9539 driver implements the optional detect() callback
    to cover the use cases of the legacy driver.

    Warning: users will now have to use the force module parameter to get
    the driver to attach to their device. That's not a bad thing as these
    devices can't be detected anyway.

    Note that this doesn't change the fact that this driver is deprecated
    in favor of gpio/pca953x.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • The new-style pcf8575 driver implements the optional detect() callback
    to cover the use cases of the legacy driver.

    Warning: users will now have to use the force module parameter to get
    the driver to attach to their device. That's not a bad thing as these
    devices can't be detected anyway.

    Note that this doesn't change the fact that this driver is deprecated
    in favor of gpio/pcf857x.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • The new-style pcf8574 driver implements the optional detect() callback
    to cover the use cases of the legacy driver.

    Warning: users will now have to use the force module parameter to get
    the driver to attach to their device. That's not a bad thing as these
    devices can't be detected anyway.

    Note that this doesn't change the fact that this driver is deprecated
    in favor of gpio/pcf857x.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

16 Jul, 2008

1 commit

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (249 commits)
    powerpc: Fix pte_update for CONFIG_PTE_64BIT and !PTE_ATOMIC_UPDATES
    powerpc: Fix a build problem on ppc32 with new DMA_ATTRs
    ibm_newemac: Add MII mode support to the EMAC RGMII bridge.
    powerpc: Don't spin on sync instruction at boot time
    powerpc: Add VSX load/store alignment exception handler
    powerpc: fix giveup_vsx to save registers correctly
    powerpc: support for latencytop
    powerpc: Remove unnecessary condition when sanity-checking WIMG bits
    powerpc: Add PPC_FEATURE_PSERIES_PERFMON_COMPAT
    powerpc: Add driver for Barrier Synchronization Register
    powerpc: mman.h export fixups
    powerpc/fsl: update crypto node definition and device tree instances
    powerpc/fsl: Refactor device bindings
    powerpc/85xx: Minor fixes for 85xxds and 8536ds board.
    powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform
    powerpc/85xx: publish of device for cds platforms
    powerpc/booke: don't reinitialize time base
    powerpc/86xx: Refactor pic init
    powerpc/CPM: Add i2c pins to dts and board setup
    cpm_uart: Support uart_wait_until_sent()
    ...

    Linus Torvalds