08 Jan, 2009

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits)
    trivial: chack -> check typo fix in main Makefile
    trivial: Add a space (and a comma) to a printk in 8250 driver
    trivial: Fix misspelling of "firmware" in docs for ncr53c8xx/sym53c8xx
    trivial: Fix misspelling of "firmware" in powerpc Makefile
    trivial: Fix misspelling of "firmware" in usb.c
    trivial: Fix misspelling of "firmware" in qla1280.c
    trivial: Fix misspelling of "firmware" in a100u2w.c
    trivial: Fix misspelling of "firmware" in megaraid.c
    trivial: Fix misspelling of "firmware" in ql4_mbx.c
    trivial: Fix misspelling of "firmware" in acpi_memhotplug.c
    trivial: Fix misspelling of "firmware" in ipw2100.c
    trivial: Fix misspelling of "firmware" in atmel.c
    trivial: Fix misspelled firmware in Kconfig
    trivial: fix an -> a typos in documentation and comments
    trivial: fix then -> than typos in comments and documentation
    trivial: update Jesper Juhl CREDITS entry with new email
    trivial: fix singal -> signal typo
    trivial: Fix incorrect use of "loose" in event.c
    trivial: printk: fix indentation of new_text_line declaration
    trivial: rtc-stk17ta8: fix sparse warning
    ...

    Linus Torvalds
     
  • Commit 079034073fa ("HID: hiddev cleanup -- handle all error conditions
    properly") by mistake removed proper initialization of hid->hiddev pointer
    in hiddev_connect() in case usb_register_dev() succeeds for the hiddev node.
    Put it properly back in place.

    Reported-and-tested-by: Gabriel C
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    Jiri Kosina
     
  • The typedefs for __u64 and __s64 where fixed to be available for other
    compiler on May 2 2008 by H. Peter Anvin (in commit edfa5cfa3dc5)

    Acked-by: H. Peter Anvin
    Signed-off-by: Detlef Riekenberg
    Signed-off-by: Linus Torvalds

    Detlef Riekenberg
     

07 Jan, 2009

37 commits

  • The __SWAB_64_THRU_32__ case of a 64-bit byte swap was depending on the
    no-longer-existant ___swab32() method (three underscores). We got rid
    of some of the worst indirection and complexity, and now it should just
    use the 32-bit swab function that was defined right above it.

    Reported-and-tested-by: Nicolas Pitre
    Reported-by: Benjamin Herrenschmidt
    Cc: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This implementation caused problems in userspace which can, and does
    define _both_ __LITTLE_ENDIAN and __BIG_ENDIAN.

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • The first step to make swab.h a regular header that will
    include an asm/swab.h with arch overrides.

    Avoid the gratuitous differences introduced in the new
    linux/swab.h by naming the ___constant_swabXX bits and
    __fswabXX bits exactly as found in the old implementation
    in byteorder/swab[b].h

    Use this new swab.h in byteorder/[big|little]_endian.h and
    remove the two old swab headers.

    Although the inclusion of asm/byteorder.h looks strange in
    linux/swab.h, this will allow each arch to move the actual
    arch overrides for the swab bits in an asm file and then
    the includes can be cleaned up without requiring a flag day
    for all arches at once.

    Keep providing __fswabXX in case some userspace was using them
    directly, but the revised __swabXX should be used instead in
    any new code and will always do constant folding not dependent
    on the optimization level, which means the __constant versions
    can be phased out in-kernel.

    Arches that use the old-style arch macros will lose their
    optimized versions until they move to the new style, but at
    least they will still compile. Many arches have already moved
    and the patches to move the remaining arches are trivial.

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • * 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm: fix ordering of driver unload vs agp unload.
    drm/i915: Respect the other stolen memory sizes we know of.
    drm/i915: Non-mobile parts don't have integrated TV-out.
    drm/i915: Add support for integrated HDMI on G4X hardware.
    drm/i915: Pin cursor bo and unpin old bo when setting cursor.
    drm/i915: Don't allow objects to get bound while VT switched.

    Linus Torvalds
     
  • For KMS drivers, we really need to cleanup the driver before disabling
    the AGP subsystem.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • fd.o bug #19336.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • This is ported directly from the userland 2D driver code. The HDMI audio bits
    aren't hooked up yet.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • We also didn't track the cursor bo before and would leak a reference
    when the cursor image was change.

    Signed-off-by: Kristian Høgsberg
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Kristian Høgsberg
     
  • This avoids a BUG_ON in the enter_vt path due to objects being in the GTT
    when we shouldn't have ever let them be (as we're not supposed to touch the
    device during that time).

    This was triggered by a change in the 2D driver to use the GTT mapping of
    objects after pinning them to improve software fallback performance.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (29 commits)
    Input: i8042 - add Dell Vostro 1510 to nomux list
    Input: gtco - use USB endpoint API
    Input: add support for Maple controller as a joystick
    Input: atkbd - broaden the Dell DMI signatures
    Input: HIL drivers - add MODULE_ALIAS()
    Input: map_to_7segment.h - convert to __inline__ for userspace
    Input: add support for enhanced rotary controller on pxa930 and pxa935
    Input: add support for trackball on pxa930 and pxa935
    Input: add da9034 touchscreen support
    Input: ads7846 - strict_strtoul takes unsigned long
    Input: make some variables and functions static
    Input: add tsc2007 based touchscreen driver
    Input: psmouse - add module parameters to control OLPC touchpad delays
    Input: i8042 - add Gigabyte M912 netbook to noloop exception table
    Input: atkbd - Samsung NC10 key repeat fix
    Input: atkbd - add keyboard quirk for HP Pavilion ZV6100 laptop
    Input: libps2 - handle 0xfc responses from devices
    Input: add support for Wacom W8001 penabled serial touchscreen
    Input: synaptics - report multi-taps only if supported by the device
    Input: add joystick driver for Walkera WK-0701 RC transmitter
    ...

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #3]
    Revert "CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]"
    SELinux: shrink sizeof av_inhert selinux_class_perm and context
    CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]
    keys: fix sparse warning by adding __user annotation to cast
    smack: Add support for unlabeled network hosts and networks
    selinux: Deprecate and schedule the removal of the the compat_net functionality
    netlabel: Update kernel configuration API

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    hrtimer: splitout peek ahead functionality, fix
    hrtimer: fixup comments
    hrtimer: fix recursion deadlock by re-introducing the softirq
    hrtimer: simplify hotplug migration
    hrtimer: fix HOTPLUG_CPU=n compile warning
    hrtimer: splitout peek ahead functionality

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: fix section mismatch
    sched: fix double kfree in failure path
    sched: clean up arch_reinit_sched_domains()
    sched: mark sched_create_sysfs_power_savings_entries() as __init
    getrusage: RUSAGE_THREAD should return ru_utime and ru_stime
    sched: fix sched_slice()
    sched_clock: prevent scd->clock from moving backwards, take #2
    sched: sched.c declare variables before they get used

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    genirq: provide irq_to_desc() to non-genirq architectures too

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    rcu: fix rcutorture bug
    rcu: eliminate synchronize_rcu_xxx macro
    rcu: make treercu safe for suspend and resume
    rcu: fix rcutree grace-period-latency bug on small systems
    futex: catch certain assymetric (get|put)_futex_key calls
    futex: make futex_(get|put)_key() calls symmetric
    locking, percpu counters: introduce separate lock classes
    swiotlb: clean up EXPORT_SYMBOL usage
    swiotlb: remove unnecessary declaration
    swiotlb: replace architecture-specific swiotlb.h with linux/swiotlb.h
    swiotlb: add support for systems with highmem
    swiotlb: store phys address in io_tlb_orig_addr array
    swiotlb: add hwdev to swiotlb_phys_to_bus() / swiotlb_sg_to_bus()

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ASoC: Fix SND_SOC_ALL_CODECS handling of dual SPI and I2C control buses
    ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek
    ASoC: TWL4030: Convert the bitfield enums to VALUE_ENUM type
    ASoC: New enum type: value_enum
    pxa2xx-ac97: switch AC unit to correct state before probing
    ASoC: Clocking fixes for davinci-evm.c
    ASoC: Mark non-connected TWL4030 pins for pandora
    ASoC: OMAP: Select OMAP pin multiplexing when using Nokia N810 ASoC drivers

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (237 commits)
    Staging: android: binder: fix build errors
    Staging: android: add lowmemorykiller driver
    Staging: android: remove dummy android.c driver
    Staging: android: timed_gpio: Rename android_timed_gpio to timed_gpio
    Staging: android: add timed_gpio driver
    Staging: android: add ram_console driver
    Staging: android: add logging driver
    staging: android: binder: Fix use of euid
    Staging: android: binder: Fix gcc warnings about improper format specifiers for size_t in printk
    Staging: android: add binder driver
    Staging: add android framework
    Staging: epl: fix netdev->priv b0rkage
    Staging: epl: hr timers all run in hard irq context now
    Staging: epl: run Lindent on *.c files
    Staging: epl: run Lindent on *.h files
    Staging: epl: run Lindent on all user/*.h files
    Staging: epl: run Lindent on all kernel/*.h files
    Staging: add epl stack
    Staging: frontier: fix compiler warnings
    Staging: frontier: remove unused alphatrack_sysfs.c file
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (60 commits)
    uio: make uio_info's name and version const
    UIO: Documentation for UIO ioport info handling
    UIO: Pass information about ioports to userspace (V2)
    UIO: uio_pdrv_genirq: allow custom irq_flags
    UIO: use pci_ioremap_bar() in drivers/uio
    arm: struct device - replace bus_id with dev_name(), dev_set_name()
    libata: struct device - replace bus_id with dev_name(), dev_set_name()
    avr: struct device - replace bus_id with dev_name(), dev_set_name()
    block: struct device - replace bus_id with dev_name(), dev_set_name()
    chris: struct device - replace bus_id with dev_name(), dev_set_name()
    dmi: struct device - replace bus_id with dev_name(), dev_set_name()
    gadget: struct device - replace bus_id with dev_name(), dev_set_name()
    gpio: struct device - replace bus_id with dev_name(), dev_set_name()
    gpu: struct device - replace bus_id with dev_name(), dev_set_name()
    hwmon: struct device - replace bus_id with dev_name(), dev_set_name()
    i2o: struct device - replace bus_id with dev_name(), dev_set_name()
    IA64: struct device - replace bus_id with dev_name(), dev_set_name()
    i7300_idle: struct device - replace bus_id with dev_name(), dev_set_name()
    infiniband: struct device - replace bus_id with dev_name(), dev_set_name()
    ISDN: struct device - replace bus_id with dev_name(), dev_set_name()
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
    fuse: clean up annotations of fc->lock
    fuse: fix sparse warning in ioctl
    fuse: update interface version
    fuse: add fuse_conn->release()
    fuse: separate out fuse_conn_init() from new_conn()
    fuse: add fuse_ prefix to several functions
    fuse: implement poll support
    fuse: implement unsolicited notification
    fuse: add file kernel handle
    fuse: implement ioctl support
    fuse: don't let fuse_req->end() put the base reference
    fuse: move FUSE_MINOR to miscdevice.h
    fuse: style fixes

    Linus Torvalds