development kernel tree: Changes to 'master'

git at git.openmoko.org git at git.openmoko.org
Fri Jul 11 17:14:18 CEST 2008


 .gitignore                                    |   12 +-
 CREDITS                                       |    5 +-
 Documentation/DocBook/kgdb.tmpl               |   20 +-
 Documentation/accounting/taskstats-struct.txt |    6 +
 Documentation/auxdisplay/cfag12864b           |    4 +-
 Documentation/auxdisplay/cfag12864b-example.c |    2 +-
 Documentation/auxdisplay/ks0108               |    4 +-
 Documentation/cgroups.txt                     |    4 +
 Documentation/controllers/devices.txt         |    8 +-
 Documentation/cpusets.txt                     |    9 +-
 Documentation/feature-removal-schedule.txt    |    9 +
 Documentation/ftrace.txt                      | 1353 +++++++++++++++++
 Documentation/i2c/writing-clients             |   18 +-
 Documentation/kernel-parameters.txt           |    8 +-
 Documentation/networking/ip-sysctl.txt        |  268 +++-
 Documentation/networking/s2io.txt             |    6 +-
 Documentation/video4linux/CARDLIST.au0828     |    2 +-
 Documentation/vm/slabinfo.c                   |    4 +-
 Documentation/vm/slub.txt                     |    2 +-
 MAINTAINERS                                   |   85 +-
 Makefile                                      |    2 +-
 arch/alpha/kernel/vmlinux.lds.S               |   14 +-
 arch/arm/common/dmabounce.c                   |    3 +-
 arch/arm/mach-omap2/gpmc.c                    |    2 +-
 arch/arm/mach-realview/platsmp.c              |    2 +
 arch/arm/plat-omap/dma.c                      |    2 -
 arch/blackfin/kernel/cplb-nompu/cplbinit.c    |    6 +-
 arch/blackfin/kernel/irqchip.c                |    5 +
 arch/ia64/kernel/iosapic.c                    |    2 -
 arch/ia64/kernel/setup.c                      |    6 +-
 arch/ia64/kernel/time.c                       |    1 +
 arch/ia64/sn/kernel/sn2/sn2_smp.c             |    2 +-
 arch/mips/Kconfig                             |    2 +-
 arch/mips/kernel/cevt-txx9.c                  |    3 +
 arch/mips/mm/c-r3k.c                          |    6 +-
 arch/mips/mm/page.c                           |   61 +-
 arch/mips/mm/sc-rm7k.c                        |    4 +-
 arch/mips/sgi-ip32/ip32-irq.c                 |    5 +
 arch/mn10300/kernel/mn10300_ksyms.c           |    5 +
 arch/mn10300/kernel/process.c                 |    1 +
 arch/mn10300/lib/Makefile                     |    2 +-
 arch/mn10300/lib/__ucmpdi2.S                  |   43 +
 arch/powerpc/boot/Makefile                    |    3 +-
 arch/powerpc/kernel/legacy_serial.c           |   10 +-
 arch/powerpc/kernel/of_platform.c             |    2 +
 arch/powerpc/platforms/52xx/lite5200_pm.c     |   14 +-
 arch/um/Makefile                              |    1 -
 arch/um/Makefile-i386                         |    7 +
 arch/um/Makefile-x86_64                       |    3 +
 arch/x86/Kconfig                              |    9 +-
 arch/x86/kernel/.gitignore                    |    1 +
 arch/x86/kernel/Makefile                      |    1 +
 arch/x86/kernel/acpi/realmode/wakeup.S        |   38 +-
 arch/x86/kernel/acpi/realmode/wakeup.h        |    5 +
 arch/x86/kernel/acpi/sleep.c                  |   16 +-
 arch/x86/kernel/efi_32.c                      |    8 +-
 arch/x86/kernel/head_64.S                     |    2 +-
 arch/x86/kernel/i387.c                        |    4 +-
 arch/x86/kernel/kvmclock.c                    |   89 +-
 arch/x86/kernel/pvclock.c                     |  141 ++
 arch/x86/kernel/smpboot.c                     |    1 -
 arch/x86/kvm/i8254.c                          |    9 +-
 arch/x86/kvm/lapic.c                          |    1 +
 arch/x86/kvm/mmu.c                            |   19 +-
 arch/x86/kvm/vmx.c                            |   19 +-
 arch/x86/kvm/x86.c                            |   91 +-
 arch/x86/mm/init_64.c                         |    7 +-
 arch/x86/mm/ioremap.c                         |   25 +-
 arch/x86/pci/common.c                         |    8 +-
 arch/x86/xen/Kconfig                          |    3 +-
 arch/x86/xen/enlighten.c                      |   56 +-
 arch/x86/xen/mmu.c                            |   75 +-
 arch/x86/xen/mmu.h                            |   24 +-
 arch/x86/xen/time.c                           |  132 +--
 arch/x86/xen/xen-head.S                       |    6 +-
 block/as-iosched.c                            |    2 +
 crypto/chainiv.c                              |   10 +-
 crypto/tcrypt.c                               |   10 +-
 drivers/acpi/bay.c                            |    3 +
 drivers/acpi/dock.c                           |    3 +
 drivers/acpi/glue.c                           |    3 +
 drivers/acpi/sleep/main.c                     |    5 +-
 drivers/acpi/sleep/proc.c                     |    5 +-
 drivers/ata/ahci.c                            |   23 +-
 drivers/ata/libata-sff.c                      |   30 +-
 drivers/ata/sata_mv.c                         |    2 +-
 drivers/ata/sata_sil24.c                      |    1 +
 drivers/ata/sata_uli.c                        |    1 +
 drivers/auxdisplay/Kconfig                    |    2 +-
 drivers/auxdisplay/cfag12864b.c               |    4 +-
 drivers/auxdisplay/cfag12864bfb.c             |    4 +-
 drivers/auxdisplay/ks0108.c                   |    4 +-
 drivers/base/node.c                           |    4 +-
 drivers/block/cciss.c                         |   70 +-
 drivers/char/drm/i915_drv.c                   |    1 +
 drivers/char/drm/i915_irq.c                   |    4 +-
 drivers/char/tty_io.c                         |    2 +-
 drivers/char/tty_ioctl.c                      |    7 -
 drivers/connector/connector.c                 |   40 +
 drivers/firewire/fw-sbp2.c                    |    3 +-
 drivers/gpio/Kconfig                          |   14 +-
 drivers/gpio/pca953x.c                        |    2 +-
 drivers/hwmon/hdaps.c                         |    6 +
 drivers/i2c/busses/i2c-s3c2410.c              |   28 +-
 drivers/ide/Kconfig                           |    7 +
 drivers/ide/arm/Makefile                      |    1 +
 drivers/ide/arm/bast-ide.c                    |   90 ++
 drivers/ide/arm/palm_bk3710.c                 |   38 +-
 drivers/ide/ide-probe.c                       |   10 +-
 drivers/ide/ide-proc.c                        |    2 +-
 drivers/ide/ide.c                             |   24 +-
 drivers/ide/pci/it8213.c                      |    3 +-
 drivers/ide/pci/ns87415.c                     |    6 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c   |    4 +
 drivers/infiniband/hw/mthca/mthca_memfree.c   |    6 +-
 drivers/input/ff-core.c                       |   18 +-
 drivers/lguest/x86/core.c                     |   15 +-
 drivers/md/dm-crypt.c                         |    1 +
 drivers/md/md.c                               |    6 +-
 drivers/md/raid10.c                           |    2 +
 drivers/md/raid5.c                            |   14 +-
 drivers/media/common/ir-keymaps.c             |   38 +
 drivers/media/common/tuners/tda18271-common.c |   10 +-
 drivers/media/common/tuners/tda18271-fe.c     |   53 +-
 drivers/media/common/tuners/xc5000.c          |   30 +-
 drivers/media/common/tuners/xc5000_priv.h     |    1 -
 drivers/media/dvb/dvb-usb/gl861.c             |   27 +-
 drivers/media/dvb/dvb-usb/umt-010.c           |    2 +-
 drivers/media/dvb/frontends/au8522.c          |   29 +-
 drivers/media/dvb/frontends/stv0299.c         |   15 +-
 drivers/media/dvb/frontends/tda10023.c        |   20 +-
 drivers/media/dvb/frontends/tda1004x.c        |   29 +-
 drivers/media/dvb/ttpci/Kconfig               |    1 +
 drivers/media/dvb/ttpci/av7110_hw.c           |    5 +-
 drivers/media/video/Kconfig                   |    8 +
 drivers/media/video/Makefile                  |    2 +
 drivers/media/video/au0828/au0828-cards.c     |   18 +
 drivers/media/video/cx18/Kconfig              |    4 +-
 drivers/media/video/cx18/cx18-av-core.c       |   73 +-
 drivers/media/video/cx18/cx18-av-core.h       |   16 +-
 drivers/media/video/cx18/cx18-cards.c         |   84 +-
 drivers/media/video/cx18/cx18-cards.h         |   50 +-
 drivers/media/video/cx18/cx18-dvb.c           |   17 +-
 drivers/media/video/cx18/cx18-gpio.c          |   26 +-
 drivers/media/video/cx18/cx18-gpio.h          |    1 +
 drivers/media/video/cx18/cx18-i2c.c           |    2 +
 drivers/media/video/cx25840/cx25840-core.c    |    2 +-
 drivers/media/video/cx88/cx88-alsa.c          |    6 +
 drivers/media/video/em28xx/em28xx-audio.c     |   18 +
 drivers/media/video/em28xx/em28xx-cards.c     |    4 +
 drivers/media/video/em28xx/em28xx-dvb.c       |   10 +
 drivers/media/video/em28xx/em28xx-reg.h       |    1 +
 drivers/media/video/em28xx/em28xx-video.c     |   24 +-
 drivers/media/video/pxa_camera.c              |    4 +-
 drivers/media/video/saa7134/saa7134-alsa.c    |    8 +-
 drivers/media/video/saa7134/saa7134-cards.c   |   56 +-
 drivers/media/video/saa7134/saa7134-dvb.c     |   43 +-
 drivers/media/video/saa7134/saa7134-empress.c |   37 +-
 drivers/media/video/saa7134/saa7134-input.c   |    9 +
 drivers/media/video/soc_camera.c              |   16 -
 drivers/media/video/uvc/Makefile              |    3 +
 drivers/media/video/uvc/uvc_ctrl.c            | 1256 ++++++++++++++++
 drivers/media/video/uvc/uvc_driver.c          | 1955 +++++++++++++++++++++++++
 drivers/media/video/uvc/uvc_isight.c          |  134 ++
 drivers/media/video/uvc/uvc_queue.c           |  477 ++++++
 drivers/media/video/uvc/uvc_status.c          |  207 +++
 drivers/media/video/uvc/uvc_v4l2.c            | 1105 ++++++++++++++
 drivers/media/video/uvc/uvc_video.c           |  934 ++++++++++++
 drivers/media/video/uvc/uvcvideo.h            |  796 ++++++++++
 drivers/media/video/videodev.c                |  245 +---
 drivers/media/video/vivi.c                    |    7 +-
 drivers/mmc/host/pxamci.c                     |   13 +
 drivers/mmc/host/sdhci.c                      |   34 +-
 drivers/net/3c59x.c                           |    5 +-
 drivers/net/e100.c                            |    2 +
 drivers/net/e1000/e1000_ethtool.c             |    2 +-
 drivers/net/e1000e/netdev.c                   |    3 +-
 drivers/net/ehea/ehea.h                       |    8 +-
 drivers/net/ehea/ehea_main.c                  |   42 +-
 drivers/net/forcedeth.c                       |   15 +-
 drivers/net/fs_enet/mac-fcc.c                 |    3 +
 drivers/net/hamradio/dmascc.c                 |    2 -
 drivers/net/ibm_newemac/core.c                |    8 +
 drivers/net/igb/igb_main.c                    |    3 +-
 drivers/net/ipg.c                             |   16 +-
 drivers/net/irda/nsc-ircc.c                   |    1 +
 drivers/net/irda/via-ircc.c                   |    3 +
 drivers/net/ixgbe/ixgbe_main.c                |    3 +-
 drivers/net/netxen/netxen_nic_main.c          |   18 +-
 drivers/net/pasemi_mac.c                      |    2 +-
 drivers/net/pcmcia/axnet_cs.c                 |    2 +
 drivers/net/pcmcia/pcnet_cs.c                 |    3 +
 drivers/net/qla3xxx.c                         |    2 +
 drivers/net/r6040.c                           |    2 +-
 drivers/net/s2io.c                            |   35 +-
 drivers/net/s2io.h                            |    4 -
 drivers/net/tc35815.c                         |    4 +-
 drivers/net/tun.c                             |    6 +
 drivers/net/wan/hdlc_fr.c                     |    1 +
 drivers/net/wan/x25_asy.c                     |    3 +
 drivers/net/wireless/b43/leds.c               |    3 +
 drivers/net/wireless/b43/main.c               |   12 +-
 drivers/net/wireless/b43legacy/dma.c          |    2 +-
 drivers/net/wireless/b43legacy/main.c         |    6 +-
 drivers/net/wireless/hostap/hostap_80211_rx.c |    8 +-
 drivers/net/wireless/hostap/hostap_ap.c       |    2 +-
 drivers/net/wireless/hostap/hostap_cs.c       |   20 +-
 drivers/net/wireless/hostap/hostap_hw.c       |   10 +-
 drivers/net/wireless/hostap/hostap_main.c     |    5 +-
 drivers/net/wireless/iwlwifi/iwl-3945.c       |   10 +-
 drivers/net/wireless/iwlwifi/iwl-4965.c       |    6 +-
 drivers/net/wireless/iwlwifi/iwl3945-base.c   |   36 +-
 drivers/net/wireless/iwlwifi/iwl4965-base.c   |   42 +-
 drivers/net/wireless/libertas/if_usb.c        |    1 +
 drivers/net/wireless/libertas/scan.c          |    4 +-
 drivers/net/wireless/prism54/islpci_eth.c     |    2 +-
 drivers/net/wireless/rt2x00/rt2400pci.c       |   11 +
 drivers/net/wireless/rt2x00/rt2500pci.c       |   11 +
 drivers/net/wireless/rt2x00/rt2500usb.c       |   43 +-
 drivers/net/wireless/rt2x00/rt2x00.h          |    1 +
 drivers/net/wireless/rt2x00/rt2x00dev.c       |   38 +-
 drivers/net/wireless/rt2x00/rt2x00mac.c       |    4 +-
 drivers/net/wireless/rt2x00/rt61pci.c         |    9 +
 drivers/net/wireless/rt2x00/rt73usb.c         |   45 +-
 drivers/net/wireless/zd1211rw/zd_mac.c        |    1 +
 drivers/net/wireless/zd1211rw/zd_usb.c        |    1 +
 drivers/pci/access.c                          |   14 +-
 drivers/pci/hotplug/acpiphp_glue.c            |   17 +-
 drivers/pci/pci-sysfs.c                       |    4 +-
 drivers/pci/pci.h                             |    2 +-
 drivers/pci/quirks.c                          |   43 +
 drivers/rtc/interface.c                       |  102 ++-
 drivers/rtc/rtc-sa1100.c                      |    4 +-
 drivers/rtc/rtc-x1205.c                       |  111 ++-
 drivers/scsi/esp_scsi.c                       |   22 +-
 drivers/scsi/ses.c                            |    2 +-
 drivers/serial/serial_core.c                  |    4 +-
 drivers/spi/spidev.c                          |   10 +-
 drivers/ssb/driver_pcicore.c                  |    7 +
 drivers/thermal/Kconfig                       |    9 +
 drivers/thermal/thermal_sys.c                 |    4 +-
 drivers/usb/class/cdc-acm.c                   |    3 -
 drivers/usb/core/hcd.c                        |   47 +-
 drivers/usb/core/hcd.h                        |    2 +
 drivers/usb/core/hub.c                        |   24 +-
 drivers/usb/host/ehci.h                       |   19 +-
 drivers/usb/host/ohci-at91.c                  |    1 +
 drivers/usb/host/ohci-au1xxx.c                |    1 +
 drivers/usb/host/ohci-ep93xx.c                |    1 +
 drivers/usb/host/ohci-hcd.c                   |   15 +-
 drivers/usb/host/ohci-hub.c                   |   53 +-
 drivers/usb/host/ohci-lh7a404.c               |    1 +
 drivers/usb/host/ohci-omap.c                  |    1 +
 drivers/usb/host/ohci-pci.c                   |    1 +
 drivers/usb/host/ohci-pnx4008.c               |    1 +
 drivers/usb/host/ohci-pnx8550.c               |    1 +
 drivers/usb/host/ohci-ppc-of.c                |    1 +
 drivers/usb/host/ohci-ppc-soc.c               |    1 +
 drivers/usb/host/ohci-ps3.c                   |    1 +
 drivers/usb/host/ohci-pxa27x.c                |    1 +
 drivers/usb/host/ohci-q.c                     |   12 +
 drivers/usb/host/ohci-s3c2410.c               |    1 +
 drivers/usb/host/ohci-sa1111.c                |    1 +
 drivers/usb/host/ohci-sh.c                    |    1 +
 drivers/usb/host/ohci-sm501.c                 |    1 +
 drivers/usb/host/ohci-ssb.c                   |    1 +
 drivers/usb/host/u132-hcd.c                   |   11 +
 drivers/usb/misc/sisusbvga/sisusb.c           |    2 -
 drivers/usb/serial/ftdi_sio.c                 |    1 +
 drivers/usb/serial/ftdi_sio.h                 |    3 +
 drivers/usb/serial/ipaq.c                     |    7 +-
 drivers/usb/serial/option.c                   |    1 +
 drivers/usb/serial/pl2303.c                   |    1 +
 drivers/usb/serial/pl2303.h                   |    1 +
 drivers/usb/storage/unusual_devs.h            |    8 +
 drivers/video/Kconfig                         |    3 +-
 drivers/video/fsl-diu-fb.c                    |   25 +-
 drivers/video/pxafb.c                         |   52 +-
 drivers/video/w100fb.c                        |    1 +
 drivers/watchdog/Makefile                     |    1 -
 drivers/xen/events.c                          |    2 +-
 fs/9p/v9fs_vfs.h                              |    2 +-
 fs/9p/vfs_file.c                              |    4 +-
 fs/9p/vfs_inode.c                             |   18 +-
 fs/Kconfig                                    |    2 +-
 fs/block_dev.c                                |   10 +-
 fs/buffer.c                                   |   13 +-
 fs/dcache.c                                   |   68 +-
 fs/ecryptfs/miscdev.c                         |    2 -
 fs/exec.c                                     |    2 +-
 fs/ext3/super.c                               |    4 +-
 fs/ext4/super.c                               |    4 +-
 fs/gfs2/bmap.c                                |   23 +-
 fs/gfs2/rgrp.c                                |    2 +-
 fs/libfs.c                                    |   28 +
 fs/locks.c                                    |    6 -
 fs/namei.c                                    |   26 +-
 fs/nfs/dir.c                                  |    2 +-
 fs/nfs/mount_clnt.c                           |    5 +-
 fs/nfs/super.c                                |   76 +-
 fs/nfs/write.c                                |    7 +-
 fs/ocfs2/dlm/dlmmaster.c                      |    2 +
 fs/ocfs2/dlmglue.c                            |   14 +-
 fs/open.c                                     |   37 +-
 fs/pipe.c                                     |   10 +-
 fs/proc/task_mmu.c                            |   80 +-
 fs/reiserfs/inode.c                           |    2 +
 fs/reiserfs/super.c                           |    4 +-
 fs/select.c                                   |    2 +-
 fs/udf/super.c                                |   57 +-
 fs/utimes.c                                   |   59 +-
 include/asm-alpha/percpu.h                    |    2 +
 include/asm-generic/Kbuild.asm                |    2 +-
 include/asm-generic/atomic.h                  |    2 +-
 include/asm-mips/atomic.h                     |    4 +-
 include/asm-powerpc/Kbuild                    |    1 -
 include/asm-powerpc/hugetlb.h                 |    6 -
 include/asm-powerpc/pgtable-ppc64.h           |   10 +
 include/asm-s390/pgtable.h                    |    5 +-
 include/asm-x86/kvm_host.h                    |    4 +-
 include/asm-x86/kvm_para.h                    |   33 +-
 include/asm-x86/msr.h                         |    2 +-
 include/asm-x86/pvclock-abi.h                 |   42 +
 include/asm-x86/pvclock.h                     |   13 +
 include/asm-x86/xen/page.h                    |    4 -
 include/linux/Kbuild                          |    2 +-
 include/linux/audit.h                         |    2 +-
 include/linux/capability.h                    |    2 +
 include/linux/cfag12864b.h                    |    2 +-
 include/linux/cpumask.h                       |    4 +
 include/linux/dcache.h                        |    2 +-
 include/linux/debug_locks.h                   |   10 +-
 include/linux/firmware.h                      |    2 +-
 include/linux/fs.h                            |    3 +-
 include/linux/i2c.h                           |    2 +-
 include/linux/ide.h                           |   15 +
 include/linux/inet_lro.h                      |    6 +-
 include/linux/input.h                         |    2 +-
 include/linux/kernel.h                        |    3 +
 include/linux/ks0108.h                        |    2 +-
 include/linux/kvm_host.h                      |    1 +
 include/linux/netdevice.h                     |    4 +
 include/linux/pci_ids.h                       |    1 +
 include/linux/rculist.h                       |    6 +
 include/linux/securebits.h                    |   15 +-
 include/linux/slab.h                          |    2 +-
 include/linux/slub_def.h                      |    4 +-
 include/linux/thermal.h                       |    6 +-
 include/linux/tty_driver.h                    |    5 +-
 include/linux/xfrm.h                          |    1 +
 include/media/cx25840.h                       |    6 +-
 include/media/ir-common.h                     |    1 +
 include/media/v4l2-dev.h                      |    4 +-
 include/net/mac80211.h                        |    9 +
 include/net/sch_generic.h                     |    2 +-
 include/xen/interface/xen.h                   |    7 +-
 kernel/audit.c                                |    6 +-
 kernel/auditfilter.c                          |    3 +-
 kernel/capability.c                           |   21 +
 kernel/futex.c                                |   93 +-
 kernel/hrtimer.c                              |    8 +
 kernel/kgdb.c                                 |    3 +-
 kernel/kprobes.c                              |    2 +-
 kernel/printk.c                               |    2 +-
 kernel/rcuclassic.c                           |   16 +-
 kernel/rcupreempt.c                           |   20 +-
 kernel/sched.c                                |   25 +-
 kernel/sched_rt.c                             |    3 +-
 kernel/softlockup.c                           |    1 +
 kernel/workqueue.c                            |    2 +-
 lib/bug.c                                     |    2 +
 lib/debugobjects.c                            |   15 +-
 lib/radix-tree.c                              |    2 +-
 lib/ts_bm.c                                   |    2 +-
 lib/vsprintf.c                                |  128 ++-
 mm/allocpercpu.c                              |    2 +-
 mm/memory.c                                   |   66 +-
 mm/mempolicy.c                                |    6 +-
 mm/migrate.c                                  |    2 +-
 mm/page_alloc.c                               |    1 -
 mm/slub.c                                     |   18 +-
 mm/sparse-vmemmap.c                           |    2 +-
 net/bridge/br_if.c                            |   10 +-
 net/can/af_can.c                              |   10 +
 net/can/bcm.c                                 |   23 +-
 net/can/raw.c                                 |    3 +
 net/core/dev.c                                |    6 +-
 net/core/fib_rules.c                          |    4 +-
 net/core/filter.c                             |    1 -
 net/core/skbuff.c                             |   17 +-
 net/ipv4/fib_trie.c                           |   17 +-
 net/ipv4/inet_fragment.c                      |   16 +-
 net/ipv4/inet_lro.c                           |    3 +-
 net/ipv4/ip_fragment.c                        |    2 +
 net/ipv4/netfilter/nf_nat_snmp_basic.c        |    2 +-
 net/ipv4/tcp.c                                |   13 +-
 net/ipv4/tcp_ipv4.c                           |    6 +-
 net/ipv4/tcp_probe.c                          |    2 +-
 net/ipv6/addrconf.c                           |    4 +-
 net/ipv6/exthdrs.c                            |    2 +-
 net/ipv6/netfilter/ip6table_mangle.c          |    2 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c       |    3 +-
 net/ipv6/reassembly.c                         |    2 +
 net/ipv6/route.c                              |    6 +-
 net/ipv6/tcp_ipv6.c                           |    6 +-
 net/irda/irnetlink.c                          |    4 +-
 net/mac80211/key.c                            |    9 +
 net/mac80211/main.c                           |    4 +-
 net/mac80211/mlme.c                           |   13 +-
 net/mac80211/rc80211_pid.h                    |    5 -
 net/mac80211/rc80211_pid_algo.c               |   31 +-
 net/mac80211/wext.c                           |    7 +
 net/mac80211/wme.c                            |    3 +-
 net/netfilter/nf_conntrack_proto_tcp.c        |   23 +-
 net/netlabel/netlabel_cipso_v4.c              |    7 +-
 net/netlabel/netlabel_mgmt.c                  |   12 +-
 net/netlabel/netlabel_unlabeled.c             |    8 +-
 net/netlink/af_netlink.c                      |    2 +-
 net/netlink/attr.c                            |    7 +-
 net/sched/Kconfig                             |   11 -
 net/sched/sch_api.c                           |    6 +-
 net/sched/sch_atm.c                           |    7 +-
 net/sched/sch_cbq.c                           |    8 +-
 net/sched/sch_dsmark.c                        |    2 +-
 net/sched/sch_generic.c                       |    2 +-
 net/sched/sch_hfsc.c                          |    6 +-
 net/sched/sch_htb.c                           |    4 +-
 net/sched/sch_ingress.c                       |    2 +-
 net/sched/sch_prio.c                          |    2 +-
 net/sched/sch_sfq.c                           |    2 +-
 net/sctp/sm_statefuns.c                       |    9 +-
 net/sctp/ulpevent.c                           |    5 +
 net/sunrpc/auth_gss/svcauth_gss.c             |   12 +-
 net/sunrpc/rpcb_clnt.c                        |   23 +-
 net/unix/af_unix.c                            |   52 +-
 net/wireless/reg.c                            |   18 +
 net/xfrm/xfrm_user.c                          |    3 +-
 security/commoncap.c                          |   13 +-
 security/device_cgroup.c                      |    2 +
 sound/isa/sb/sb_mixer.c                       |    4 +-
 sound/pci/aw2/aw2-alsa.c                      |    4 +-
 virt/kvm/ioapic.c                             |   33 +-
 442 files changed, 12152 insertions(+), 2198 deletions(-)

New commits:
commit e5a5816f7875207cb0a0a7032e39a4686c5e10a4
Merge: bdb21928512a860a60e6a24a849dc5b63cbaf96a e35259a95331ae4a9146cc03ab49aad641cab957
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 17:58:47 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (27 commits)
      tun: Persistent devices can get stuck in xoff state
      xfrm: Add a XFRM_STATE_AF_UNSPEC flag to xfrm_usersa_info
      ipv6: missed namespace context in ipv6_rthdr_rcv
      netlabel: netlink_unicast calls kfree_skb on error path by itself
      ipv4: fib_trie: Fix lookup error return
      tcp: correct kcalloc usage
      ip: sysctl documentation cleanup
      Documentation: clarify tcp_{r,w}mem sysctl docs
      netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
      netfilter: nf_conntrack_tcp: fix endless loop
      libertas: fix memory alignment problems on the blackfin
      zd1211rw: stop beacons on remove_interface
      rt2x00: Disable synchronization during initialization
      rc80211_pid: Fix fast_start parameter handling
      sctp: Add documentation for sctp sysctl variable
      ipv6: fix race between ipv6_del_addr and DAD timer
      irda: Fix netlink error path return value
      irda: New device ID for nsc-ircc
      irda: via-ircc proper dma freeing
      sctp: Mark the tsn as received after all allocations finish
      ...

commit e35259a95331ae4a9146cc03ab49aad641cab957
Author: Max Krasnyansky <maxk at qualcomm.com>
Date:   Thu Jul 10 16:59:11 2008 -0700

    tun: Persistent devices can get stuck in xoff state
    
    The scenario goes like this. App stops reading from tun/tap.
    TX queue gets full and driver does netif_stop_queue().
    App closes fd and TX queue gets flushed as part of the cleanup.
    Next time the app opens tun/tap and starts reading from it but
    the xoff state is not cleared. We're stuck.
    Normally xoff state is cleared when netdev is brought up. But
    in the case of persistent devices this happens only during
    initial setup.
    
    The fix is trivial. If device is already up when an app opens
    it we clear xoff state and that gets things moving again.
    
    Signed-off-by: Max Krasnyansky <maxk at qualcomm.com>
    Tested-by: Christian Borntraeger <borntraeger at de.ibm.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit ccf9b3b83d0e56fbf20c00a08b15031ce13204a7
Author: Steffen Klassert <steffen.klassert at secunet.com>
Date:   Thu Jul 10 16:55:37 2008 -0700

    xfrm: Add a XFRM_STATE_AF_UNSPEC flag to xfrm_usersa_info
    
    Add a XFRM_STATE_AF_UNSPEC flag to handle the AF_UNSPEC behavior for
    the selector family. Userspace applications can set this flag to leave
    the selector family of the xfrm_state unspecified.  This can be used
    to to handle inter family tunnels if the selector is not set from
    userspace.
    
    Signed-off-by: Steffen Klassert <steffen.klassert at secunet.com>
    Acked-by: Herbert Xu <herbert at gondor.apana.org.au>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 0ce28553cc018be5022f51e67c87997f7271534e
Author: Denis V. Lunev <den at parallels.com>
Date:   Thu Jul 10 16:54:50 2008 -0700

    ipv6: missed namespace context in ipv6_rthdr_rcv
    
    Signed-off-by: Denis V. Lunev <den at parallels.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit fe785bee05f08d37b34b7399d003b74199274ce4
Author: Denis V. Lunev <den at openvz.org>
Date:   Thu Jul 10 16:53:39 2008 -0700

    netlabel: netlink_unicast calls kfree_skb on error path by itself
    
    So, no need to kfree_skb here on the error path. In this case we can
    simply return.
    
    Signed-off-by: Denis V. Lunev <den at openvz.org>
    Acked-by: Paul Moore <paul.moore at hp.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 2e655571c618434c24ac2ca989374fdd84470d6d
Author: Ben Hutchings <bhutchings at solarflare.com>
Date:   Thu Jul 10 16:52:52 2008 -0700

    ipv4: fib_trie: Fix lookup error return
    
    In commit a07f5f508a4d9728c8e57d7f66294bf5b254ff7f "[IPV4] fib_trie: style
    cleanup", the changes to check_leaf() and fn_trie_lookup() were wrong - where
    fn_trie_lookup() would previously return a negative error value from
    check_leaf(), it now returns 0.
    
    Now fn_trie_lookup() doesn't appear to care about plen, so we can revert
    check_leaf() to returning the error value.
    
    Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
    Tested-by: William Boughton <bill at boughton.de>
    Acked-by: Stephen Heminger <shemminger at vyatta.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 3d8ea1fd7001f39b5cc0ad2ff51696292ea3cfbf
Author: Milton Miller <miltonm at bga.com>
Date:   Thu Jul 10 16:51:32 2008 -0700

    tcp: correct kcalloc usage
    
    kcalloc is supposed to be called with the count as its first argument and
    the element size as the second.
    
    Signed-off-by: Milton Miller <miltonm at bga.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 4edc2f3416438a05b83a677ae7b1a78b3ca22bb9
Author: Stephen Hemminger <shemminger at vyatta.com>
Date:   Thu Jul 10 16:50:26 2008 -0700

    ip: sysctl documentation cleanup
    
    Reduced version of the spelling cleanup patch.
    
    Take out the confusing language in tcp_frto, and organize the
    undocumented values.
    
    Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
    Acked-by: Randy Dunlap <rdunlap at xenotime.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 53025f5efd5a1c14fca75c479b11d97d9dd958a5
Author: J. Bruce Fields <bfields at citi.umich.edu>
Date:   Thu Jul 10 16:47:41 2008 -0700

    Documentation: clarify tcp_{r,w}mem sysctl docs
    
    Fix some of the defaults and attempt to clarify some language.
    
    Signed-off-by: J. Bruce Fields <bfields at citi.umich.edu>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit bdb21928512a860a60e6a24a849dc5b63cbaf96a
Author: Dmitry Adamushko <dmitry.adamushko at gmail.com>
Date:   Thu Jul 10 22:21:58 2008 +0200

    slub: Fix use-after-preempt of per-CPU data structure
    
    Vegard Nossum reported a crash in kmem_cache_alloc():
    
    	BUG: unable to handle kernel paging request at da87d000
    	IP: [<c01991c7>] kmem_cache_alloc+0xc7/0xe0
    	*pde = 28180163 *pte = 1a87d160
    	Oops: 0002 [#1] PREEMPT SMP DEBUG_PAGEALLOC
    	Pid: 3850, comm: grep Not tainted (2.6.26-rc9-00059-gb190333 #5)
    	EIP: 0060:[<c01991c7>] EFLAGS: 00210203 CPU: 0
    	EIP is at kmem_cache_alloc+0xc7/0xe0
    	EAX: 00000000 EBX: da87c100 ECX: 1adad71a EDX: 6b6b6b6b
    	ESI: 00200282 EDI: da87d000 EBP: f60bfe74 ESP: f60bfe54
    	DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    
    and analyzed it:
    
      "The register %ecx looks innocent but is very important here. The disassembly:
    
           mov    %edx,%ecx
           shr    $0x2,%ecx
           rep stos %eax,%es:(%edi) <-- the fault
    
       So %ecx has been loaded from %edx... which is 0x6b6b6b6b/POISON_FREE.
       (0x6b6b6b6b >> 2 == 0x1adadada.)
    
       %ecx is the counter for the memset, from here:
    
           memset(object, 0, c->objsize);
    
      i.e. %ecx was loaded from c->objsize, so "c" must have been freed.
      Where did "c" come from? Uh-oh...
    
           c = get_cpu_slab(s, smp_processor_id());
    
      This looks like it has very much to do with CPU hotplug/unplug. Is
      there a race between SLUB/hotplug since the CPU slab is used after it
      has been freed?"
    
    Good analysis.
    
    Yeah, it's possible that a caller of kmem_cache_alloc() -> slab_alloc()
    can be migrated on another CPU right after local_irq_restore() and
    before memset().  The inital cpu can become offline in the mean time (or
    a migration is a consequence of the CPU going offline) so its
    'kmem_cache_cpu' structure gets freed ( slab_cpuup_callback).
    
    At some point of time the caller continues on another CPU having an
    obsolete pointer...
    
    Signed-off-by: Dmitry Adamushko <dmitry.adamushko at gmail.com>
    Reported-by: Vegard Nossum <vegard.nossum at gmail.com>
    Acked-by: Ingo Molnar <mingo at elte.hu>
    Cc: stable at kernel.org
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 96a8e13ed44e380fc2bb6c711d74d5ba698c00b2
Author: Hugh Dickins <hugh at veritas.com>
Date:   Thu Jul 10 21:19:20 2008 +0100

    exec: fix stack excutability without PT_GNU_STACK
    
    Kernel Bugzilla #11063 points out that on some architectures (e.g. x86_32)
    exec'ing an ELF without a PT_GNU_STACK program header should default to an
    executable stack; but this got broken by the unlimited argv feature because
    stack vma is now created before the right personality has been established:
    so breaking old binaries using nested function trampolines.
    
    Therefore re-evaluate VM_STACK_FLAGS in setup_arg_pages, where stack
    vm_flags used to be set, before the mprotect_fixup.  Checking through
    our existing VM_flags, none would have changed since insert_vm_struct:
    so this seems safer than finding a way through the personality labyrinth.
    
    Reported-by: pageexec at freemail.hu
    Signed-off-by: Hugh Dickins <hugh at veritas.com>
    Cc: stable at kernel.org
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit f8804d39462dc019ae9d1a6e4d45512e9dfec2bf
Merge: a26449daa285c858fc68991c1d585b6927702cf5 e988cf1cfed4ed80bf40528e655fe18bed6a38b6
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 13:11:01 2008 -0700

    Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
    
    * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
      ocfs2: Fix flags in ocfs2_file_lock

commit a26449daa285c858fc68991c1d585b6927702cf5
Merge: 9cc308920103a743ce9fb2c88481d6d7a676514b b1e387348a2a70954312b102d0589c3e2ca3dba1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 12:34:55 2008 -0700

    Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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 cpu hotplug, cleanup
      sched: fix cpu hotplug

commit b1e387348a2a70954312b102d0589c3e2ca3dba1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 11:25:03 2008 -0700

    sched: fix cpu hotplug, cleanup
    
    Clean up __migrate_task(): to just have separate "done" and "fail"
    cases, instead of that "out" case with random error behavior.
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 9cc308920103a743ce9fb2c88481d6d7a676514b
Merge: 70ff05554f91a1edda1f11684da1dbde09e2feea a361ee5cb8011763ece7b4add393e206439db8b3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 11:19:53 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      x86: fix /dev/mem compatibility under PAT

commit 70ff05554f91a1edda1f11684da1dbde09e2feea
Author: Nick Piggin <nickpiggin at yahoo.com.au>
Date:   Thu Jul 10 17:25:35 2008 +1000

    Fix PREEMPT_RCU without HOTPLUG_CPU
    
    PREEMPT_RCU without HOTPLUG_CPU is broken.  The rcu_online_cpu is called
    to initially populate rcu_cpu_online_map with all online CPUs when the
    hotplug event handler is installed, and also to populate the map with
    CPUs as they come online.  The former case is meant to happen with and
    without HOTPLUG_CPU, but without HOTPLUG_CPU, the rcu_offline_cpu
    function is no-oped -- while it still gets called, it does not set the
    rcu CPU map.
    
    With a blank RCU CPU map, grace periods get to tick by completely
    oblivious to active RCU read side critical sections.  This results in
    free-before-grace bugs.
    
    Fix is obvious once the problem is known. (Also, change __devinit to
    __cpuinit so the function gets thrown away on !HOTPLUG_CPU kernels).
    
    Signed-off-by: Nick Piggin <npiggin at suse.de>
    Reported-and-tested-by: Alexey Dobriyan <adobriyan at gmail.com>
    Acked-by: Ingo Molnar <mingo at elte.hu>
    Cc: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
    [ Nick is my personal hero of the day - Linus ]
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit eb6d42ea17329745d7d712d3aa3bb84ec1da9c85
Author: Steven Rostedt <rostedt at goodmis.org>
Date:   Thu Jul 10 12:46:01 2008 -0400

    ftrace: Documentation
    
    This is the long awaited ftrace.txt. It explains in quite detail how to
    use ftrace and the various tracers.
    
    Signed-off-by: Steven Rostedt <srostedt at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit b10e9ad0f1d0dc62bd444dd6761a6527bfe98959
Author: Daniel Guilak <guilak at linux.vnet.ibm.com>
Date:   Thu Jul 10 09:39:32 2008 -0700

    arch/x86/kernel/.gitignore: Added vmlinux.lds to .gitignore file because it shouldn't be tracked.
    
    Signed-off-by: Daniel Guilak <daniel at danielguilak.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 544304b200c3869bc1312bcf941c4cf04d65b56c
Author: Daniel Guilak <guilak at linux.vnet.ibm.com>
Date:   Thu Jul 10 09:38:19 2008 -0700

    kernel/kprobes.c: Made kprobe_blacklist static.
    
    Signed-off-by: Daniel Guilak <daniel at danielguilak.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 08405b8bd1795145e0f9cb8cb13949281efe9ec2
Merge: 2283af5b0b99565f516eacd756df2b1ddf9f4f85 872ac8743cb400192a9fce4ba2d3ffd7bb309685
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 10:10:02 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
      crypto: chainiv - Invoke completion function

commit 2283af5b0b99565f516eacd756df2b1ddf9f4f85
Merge: 6329d3021bcfa9038621e6e917d98929421d8ec8 7a1fc53c5adb910751a9b212af90302eb4ffb527
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 10 09:49:46 2008 -0700

    Merge branch 'for-2.6.26' of git://neil.brown.name/md
    
    * 'for-2.6.26' of git://neil.brown.name/md:
      md: ensure all blocks are uptodate or locked when syncing

commit e988cf1cfed4ed80bf40528e655fe18bed6a38b6
Author: Mark Fasheh <mfasheh at suse.com>
Date:   Thu Jul 10 09:25:39 2008 -0700

    ocfs2: Fix flags in ocfs2_file_lock
    
    The stack-glue merge changed the way we use flags in dlmglue in that we now
    use the fs/dlm equivalents. Unfortunately, a merge error left the new flock
    code only partially updated. This took a while to show up though, because
    the lock level constants are actually identical between o2dlm and fs/dlm.
    The *_CONVERT and *_NOQUEUE flags have different values though, which is
    eventually causing a crash in flags_to_o2dlm().
    
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 872ac8743cb400192a9fce4ba2d3ffd7bb309685
Author: Herbert Xu <herbert at gondor.apana.org.au>
Date:   Thu Jul 10 17:42:36 2008 +0800

    crypto: chainiv - Invoke completion function
    
    When chainiv postpones requests it never calls their completion functions.
    This causes symptoms such as memory leaks when IPsec is in use.
    
    Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

commit a361ee5cb8011763ece7b4add393e206439db8b3
Author: Venkatesh Pallipadi <venkatesh.pallipadi at intel.com>
Date:   Thu Jul 10 10:09:59 2008 +0200

    x86: fix /dev/mem compatibility under PAT
    
    Add ioremap_default(), which gives a sane mapping without worrying about
    type conflicts.
    
    Use it in /dev/mem read in place of ioremap(), as with ioremap(),
    any mapping of the region (other than UC_MINUS) will cause a conflict
    and failure of /dev/mem read.
    
    Should address the vbetest failure reported at:
    
      http://bugzilla.kernel.org/show_bug.cgi?id=11057
    
    Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi at intel.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit dc7fab8b3bb388c57c6c4a43ba68c8a32ca25204
Author: Dmitry Adamushko <dmitry.adamushko at gmail.com>
Date:   Thu Jul 10 00:32:40 2008 +0200

    sched: fix cpu hotplug
    
    I think we may have a race between try_to_wake_up() and
    migrate_live_tasks() -> move_task_off_dead_cpu() when the later one
    may end up looping endlessly.
    
    Interrupts are enabled on other CPUs when migration_call(CPU_DEAD, ...) is
    called so we may get a race between try_to_wake_up() and
    migrate_live_tasks() -> move_task_off_dead_cpu(). The former one may push
    a task out of a dead CPU causing the later one to loop endlessly.
    
    Heiko Carstens observed:
    
    | That's exactly what explains a dump I got yesterday. Thanks for fixing! :)
    
    Signed-off-by: Dmitry Adamushko <dmitry.adamushko at gmail.com>
    Cc: miaox at cn.fujitsu.com
    Cc: Lai Jiangshan <laijs at cn.fujitsu.com>
    Cc: Heiko Carstens <heiko.carstens at de.ibm.com>
    Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
    Cc: Avi Kivity <avi at qumranet.com>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 7a1fc53c5adb910751a9b212af90302eb4ffb527
Author: Dan Williams <dan.j.williams at intel.com>
Date:   Thu Jul 10 04:54:57 2008 -0700

    md: ensure all blocks are uptodate or locked when syncing
    
    Remove the dubious attempt to prefer 'compute' over 'read'.  Not only is it
    wrong given commit c337869d (md: do not compute parity unless it is on a failed
    drive), but it can trigger a BUG_ON in handle_parity_checks5().
    
    Cc: <stable at kernel.org>
    Signed-off-by: Dan Williams <dan.j.williams at intel.com>
    Signed-off-by: Neil Brown <neilb at suse.de>

commit 2ddddb98694af847f70463dbdc69aa491d9f477a
Merge: 252815b0cfe711001eff0327872209986b36d490 814feefa859a736d29d0700d49debf13904b429f
Author: David S. Miller <davem at davemloft.net>
Date:   Wed Jul 9 15:10:09 2008 -0700

    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6

commit 252815b0cfe711001eff0327872209986b36d490
Author: David Howells <dhowells at redhat.com>
Date:   Wed Jul 9 15:06:45 2008 -0700

    netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
    
    Fix a range check in netfilter IP NAT for SNMP to always use a big enough size
    variable that the compiler won't moan about comparing it to ULONG_MAX/8 on a
    64-bit platform.
    
    Signed-off-by: David Howells <dhowells at redhat.com>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 6b69fe0c73c0f5a8dacf8f889db3cc9adee53649
Author: Patrick McHardy <kaber at trash.net>
Date:   Wed Jul 9 15:06:12 2008 -0700

    netfilter: nf_conntrack_tcp: fix endless loop
    
    When a conntrack entry is destroyed in process context and destruction
    is interrupted by packet processing and the packet is an attempt to
    reopen a closed connection, TCP conntrack tries to kill the old entry
    itself and returns NF_REPEAT to pass the packet through the hook
    again. This may lead to an endless loop: TCP conntrack repeatedly
    finds the old entry, but can not kill it itself since destruction
    is already in progress, but destruction in process context can not
    complete since TCP conntrack is keeping the CPU busy.
    
    Drop the packet in TCP conntrack if we can't kill the connection
    ourselves to avoid this.
    
    Reported by: hemao77 at gmail.com [ Kernel bugzilla #11058 ]
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 6329d3021bcfa9038621e6e917d98929421d8ec8
Merge: b72e9ebe7efa5754aa53bbdb0040a2d6eeb34db3 5e19cf663be534c7c15a35a86fa7ddc9f797e4f4
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 9 14:16:23 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
      RDMA/cxgb3: Fix regression caused by class_device -> device conversion

commit 814feefa859a736d29d0700d49debf13904b429f
Author: Ihar Hrachyshka <ihar.hrachyshka at promwad.com>
Date:   Wed Jul 9 09:29:58 2008 +0300

    libertas: fix memory alignment problems on the blackfin
    
    Fixing unaligned memory access on the blackfin architecture.
    
    Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at promwad.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 86229f0c7b4e065f51b5572a8a61801e281740a0
Author: Luis Carlos Cobo <luisca at cozybit.com>
Date:   Tue Jul 8 16:19:21 2008 +0200

    zd1211rw: stop beacons on remove_interface
    
    If a mesh or ad-hoc interface is brought up and later it is replaced
    by managed interface, the managed interface will keep transmitting
    the beacons that were configured for the former interface. This patch
    fixes that behaviour.
    
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 1f90916264049a7d9e6106fd60d289c9a775d24f
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date:   Tue Jul 8 13:45:20 2008 +0200

    rt2x00: Disable synchronization during initialization
    
    As soon as init_registers() was called, the rt2400/rt2500
    would start raising beacondone interrupts. Since this is highly
    premature since no beacons were provided yet, we should
    initialize the synchronization register to 0.
    
    This will make all drivers initialize it to 0 regardless
    if they are raising beacondone interrupts or not, since it only
    makes sense to have it completely disabled.
    
    Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit adeed48090fc370afa0db8d007748ee72a40b578
Author: Mattias Nissler <mattias.nissler at gmx.de>
Date:   Mon Jul 7 23:08:19 2008 +0200

    rc80211_pid: Fix fast_start parameter handling
    
    This removes the fast_start parameter from the rc_pid parameters
    information and instead uses the parameter macro when initializing
    the rc_pid state. Since the parameter is only used on initialization,
    there is no point of making exporting it via debugfs. This also fixes
    uninitialized memory references to the fast_start and norm_offset
    parameters detected by the kmemcheck utility.  Thanks to Vegard Nossum
    for reporting the bug.
    
    Signed-off-by: Mattias Nissler <mattias.nissler at gmx.de>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit b72e9ebe7efa5754aa53bbdb0040a2d6eeb34db3
Merge: ba0fc709e197415aadd46b9ec208dc4abaa21edd 18c6ac383f3e46cfce08d0bf972705852a4e1268
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 21:48:26 2008 -0700

    Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
    
    * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
      [PATCH] ocfs2/dlm: Fixes oops in dlm_new_lockres()

commit ba0fc709e197415aadd46b9ec208dc4abaa21edd
Author: Vitaly Bordug <vitb at kernel.crashing.org>
Date:   Wed Jul 9 13:13:38 2008 +1000

    powerpc: Add missing reference to coherent_dma_mask
    
    There is dma_mask in of_device upon of_platform_device_create()
    but we don't actually set coherent_dma_mask. This may cause weird
    behavior of USB subsystem using of_device USB host drivers.
    
    Signed-off-by: Vitaly Bordug <vitb at kernel.crashing.org>
    Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit f1d407efbe59ff1a450f0ec7a486a768acaa2949
Merge: 7683c57c489bd17795945f4ae1c1d73e7c7b38e3 dbb018cd8a0fd073eaabf9de5a93f62d98bd7723
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 18:10:51 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
      crypto: tcrypt - Fix memory leak in test_cipher

commit 7683c57c489bd17795945f4ae1c1d73e7c7b38e3
Author: Daniel Guilak <guilak at linux.vnet.ibm.com>
Date:   Tue Jul 8 15:02:06 2008 -0700

    kernel/printk.c: Made printk_recursion_bug_msg static.
    
    Signed-off-by: Daniel Guilak <daniel at danielguilak.com>
    Acked-by: Josh Triplett <josh at kernel.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 32e8d4948bb0b5f3f0ac5cdb71d0ac8e305b29a5
Author: Vlad Yasevich <vladislav.yasevich at hp.com>
Date:   Tue Jul 8 16:43:29 2008 -0700

    sctp: Add documentation for sctp sysctl variable
    
    Signed-off-by: Vlad Yasevich <vladislav.yasevich at hp.com>
    Acked-by: Randy Dunlap <randy.dunlap at oracle.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit b2238566401f01eb796e75750213c7b0fce396b2
Author: Andrey Vagin <avagin at parallels.com>
Date:   Tue Jul 8 15:13:31 2008 -0700

    ipv6: fix race between ipv6_del_addr and DAD timer
    
    Consider the following scenario:
    
    ipv6_del_addr(ifp)
      ipv6_ifa_notify(RTM_DELADDR, ifp)
        ip6_del_rt(ifp->rt)
    
    after returning from the ipv6_ifa_notify and enabling BH-s
    back, but *before* calling the addrconf_del_timer the
    ifp->timer fires and:
    
    addrconf_dad_timer(ifp)
      addrconf_dad_completed(ifp)
        ipv6_ifa_notify(RTM_NEWADDR, ifp)
          ip6_ins_rt(ifp->rt)
    
    then return back to the ipv6_del_addr and:
    
    in6_ifa_put(ifp)
      inet6_ifa_finish_destroy(ifp)
        dst_release(&ifp->rt->u.dst)
    
    After this we have an ifp->rt inserted into fib6 lists, but
    queued for gc, which in turn can result in oopses in the
    fib6_run_gc. Maybe some other nasty things, but we caught
    only the oops in gc so far.
    
    The solution is to disarm the ifp->timer before flushing the
    rt from it.
    
    Signed-off-by: Andrey Vagin <avagin at parallels.com>
    Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 5e19cf663be534c7c15a35a86fa7ddc9f797e4f4
Author: Steve Wise <swise at opengridcomputing.com>
Date:   Tue Jul 8 14:40:05 2008 -0700

    RDMA/cxgb3: Fix regression caused by class_device -> device conversion
    
    The change to iwch_provider.c in commit f4e91eb4 ("IB: convert struct
    class_device to struct device") undid the fix done in commit 7f049f2f
    ("RDMA/cxgb3: Hold rtnl_lock() around ethtool get_drvinfo call").  It
    removed the calls to rtnl_lock() that serialized the iw_cxgb3 ethtool
    ops calls into the cxgb3 driver.  This locking is needed to avoid
    messing up the internal state of the cxgb3 driver.
    
    Signed-off-by: Steve Wise <swise at opengridcomputing.com>
    Signed-off-by: Roland Dreier <rolandd at cisco.com>

commit 48948a3e237ff47823d414704aeb8604a4c61ad0
Author: Takashi Iwai <tiwai at suse.de>
Date:   Tue Jul 8 18:41:17 2008 +0200

    Fix broken fix for fsl-diu-db
    
    On 2.6.26-rc9, the commit 05946bce839b4fed5442dbfab77060fb75e051f3
    ("fsl_diu_fb: fix build with CONFIG_PM=y, plus fix some warnings")
    breaks its previous fix f969c5672b16b857e5231ad3c78f08d8ef3305aa
    ("fsl-diu-db: compile fix")
    
    This patch reverts the broken part.
    
    Signed-off-by: Takashi Iwai <tiwai at suse.de>
    Acked-by: Anton Vorontsov <avorontsov at ru.mvista.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit f57e91682d141ea50d8c6d42cdc251b6256a3755
Merge: e9144754867b9ef431d54ea2a156f78feb196c34 803a9067e19714ea7b7da760fe92f0d53bfa6994
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 12:40:57 2008 -0700

    Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
    
    * 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
      SUNRPC: Fix an rpcbind breakage for the case of IPv6 lookups
      SUNRPC: Fix a double-free in rpcbind
      NFS: Fix readdir cache invalidation

commit e9144754867b9ef431d54ea2a156f78feb196c34
Merge: eb35c218d83ec0780d9db869310f2e333f628702 14defd90f5281da8a1bf43bc789efbafe5991cd8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 12:40:19 2008 -0700

    Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      [MIPS] Fix 32bit kernels on R4k with 128 byte cache line size
      [MIPS] Atlas, decstation: Fix section mismatches triggered by defconfigs

commit eb35c218d83ec0780d9db869310f2e333f628702
Author: Jeff Mahoney <jeffm at suse.com>
Date:   Tue Jul 8 14:37:06 2008 -0400

    reiserfs: discard prealloc in reiserfs_delete_inode
    
    With the removal of struct file from the xattr code,
    reiserfs_file_release() isn't used anymore, so the prealloc isn't
    discarded.  This causes hangs later down the line.
    
    This patch adds it to reiserfs_delete_inode.  In most cases it will be a
    no-op due to it already having been called, but will avoid hangs with
    xattrs.
    
    Signed-off-by: Jeff Mahoney <jeffm at suse.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 803a9067e19714ea7b7da760fe92f0d53bfa6994
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Tue Jul 1 15:20:55 2008 -0400

    SUNRPC: Fix an rpcbind breakage for the case of IPv6 lookups
    
    Now that rpcb_next_version has been split into an IPv4 version and an IPv6
    version, we Oops when rpcb_call_async attempts to look up the IPv6-specific
    RPC procedure in rpcb_next_version.
    
    Fix the Oops simply by having rpcb_getport_async pass the correct RPC
    procedure as an argument.
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 0d3a34b48c87a374b37d7a21a60d257d076484f3
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Mon Jul 7 12:18:52 2008 -0400

    SUNRPC: Fix a double-free in rpcbind
    
    It is wrong to be freeing up the rpcbind arguments if the call to
    rpcb_call_async() fails, since they should already have been freed up by
    rpcb_map_release().
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 2aac05a91971fbd1bf6cbed78b8731eb7454b9b7
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Mon Jul 7 13:26:10 2008 -0400

    NFS: Fix readdir cache invalidation
    
    invalidate_inode_pages2_range() takes page offset arguments, not byte
    ranges.
    
    Another thought is that individual pages might perhaps get evicted by VM
    pressure, in which case we might perhaps want to re-read not only the
    evicted page, but all subsequent pages too (in case the server returns
    more/less data per page so that the alignment of the next entry
    changes). We should therefore remove the condition that we only do this on
    page->index==0.
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 14defd90f5281da8a1bf43bc789efbafe5991cd8
Author: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Date:   Tue Jul 8 14:46:34 2008 +0200

    [MIPS] Fix 32bit kernels on R4k with 128 byte cache line size
    
    The generated copy_page for R4k CPU with a 128 byte cache line size used
    Create Dirty Exclusive cache line operations even if only part of the
    cache line was filled.  This change avoids generating cache operations,
    if only part of the cache line size is copied in one loop. It also
    increases the maxmimum loop size, because the generated code even fits
    into the available space for r4k CPUs with 128 byte cache line size.
    
    Signed-off-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit b32dfbb9c54393af32761add16e249664193621f
Author: Shane McDonald <mcdonald.shane at gmail.com>
Date:   Sat Jul 5 17:19:42 2008 -0600

    [MIPS] Atlas, decstation: Fix section mismatches triggered by defconfigs
    
    Resolve these mismatches by defining affected functions with the __cpuinit
    attribute, rather than __init.
    
    Signed-off-by: Shane McDonald <mcdonald.shane at gmail.com>
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit 90621ed829ac64eb25b4d1214e9a5155e5c67ff2
Merge: 9c0fc4e28b57c5a6da7b58d60f71476c64d457a6 be305042b7a01a1ab03a8adfa95f57bc63e012e1
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 11:19:11 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
      it8213: fix return value in it8213_init_one()
      palm_bk3710: fix IDECLK period calculation
      ide: add __ide_default_irq() inline helper

commit be305042b7a01a1ab03a8adfa95f57bc63e012e1
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Tue Jul 8 19:27:23 2008 +0200

    it8213: fix return value in it8213_init_one()
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit ffab6cf44e9058fe75a33aa86386b22e616a8f6f
Author: Sergei Shtylyov <sshtylyov at ru.mvista.com>
Date:   Tue Jul 8 19:27:22 2008 +0200

    palm_bk3710: fix IDECLK period calculation
    
    The driver uses completely bogus rounding formula for calculating period from
    the IDECLK frequency which gives one-off period values (e.g. 11 ns with 100 MHz
    IDECLK) which in turn can lead to overclocked IDE transfer timings.  Actually,
    rounding is just wrong in this case, so use a mere division for a safe result.
    
    While at it, also:
    
    - give 'ide_palm_clk' variable a more suitable name;
    
    - get rid of the useless 'ideclkp' variable;
    
    - drop the LISP stype 'p' postfix from the 'clkp' variable's name. :-)
    
    Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>
    Cc: mcherkashin at ru.mvista.com
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit a861beb1401d65e3f095fee074c13645ab06490e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Tue Jul 8 19:27:22 2008 +0200

    ide: add __ide_default_irq() inline helper
    
    Add __ide_default_irq() inline helper and use it instead of
    ide_default_irq() in ide-probe.c and ns87415.c (all host drivers
    except IDE PCI ones always setup hwif->irq so it is enough to
    check only for I/O bases 0x1f0 and 0x170).
    
    This fixes post-2.6.25 regression since ide_default_irq()
    define could shadow ide_default_irq() inline.
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit 9c0fc4e28b57c5a6da7b58d60f71476c64d457a6
Merge: 86df86424939d316b1f6cfac1b6204f0c7dee317 138c9021ca68d6f8a6fac3418995fee102a3cc22
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jul 8 09:29:34 2008 -0700

    Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
    
    * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
      [S390] protect _PAGE_SPECIAL bit against mprotect

commit 86df86424939d316b1f6cfac1b6204f0c7dee317
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Tue Jul 8 15:58:16 2008 +1000

    Correct hash flushing from huge_ptep_set_wrprotect()
    
    As Andy Whitcroft recently pointed out, the current powerpc version of
    huge_ptep_set_wrprotect() has a bug.  It just calls ptep_set_wrprotect()
    which in turn calls pte_update() then hpte_need_flush() with the 'huge'
    argument set to 0.  This will cause hpte_need_flush() to flush the wrong
    hash entries (of any).  Andy's fix for this is already in the powerpc
    tree as commit 016b33c4958681c24056abed8ec95844a0da80a3.
    
    I have confirmed this is a real bug, not masked by some other
    synchronization, with a new testcase for libhugetlbfs.  A process write
    a (MAP_PRIVATE) hugepage mapping, fork(), then alter the mapping and
    have the child incorrectly see the second write.
    
    Therefore, this should be fixed for 2.6.26, and for the stable tree.
    Here is a suitable patch for 2.6.26, which I think will also be suitable
    for the stable tree (neither of the headers in question has been changed
    much recently).
    
    It is cut down slighlty from Andy's original version, in that it does
    not include a 32-bit version of huge_ptep_set_wrprotect().  Currently,
    hugepages are not supported on any 32-bit powerpc platform.  When they
    are, a suitable 32-bit version can be added - the only 32-bit hardware
    which supports hugepages does not use the conventional hashtable MMU and
    so will have different needs anyway.
    
    Signed-off-by: Andy Whitcroft <apw at shadowen.org>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
    Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 07035fc1bbf931a06e47583cddd2cea2907ac0db
Author: Julius Volz <juliusv at google.com>
Date:   Tue Jul 8 03:07:43 2008 -0700

    irda: Fix netlink error path return value
    
    Fix an incorrect return value check of genlmsg_put() in irda_nl_get_mode().
    genlmsg_put() does not use ERR_PTR() to encode return values, it just
    returns NULL on error.
    
    Signed-off-by: Julius Volz <juliusv at google.com>
    Signed-off-by: Samuel Ortiz <samuel at sortiz.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 02307080622da0312f2ede0f9c0ac779a1cc4f9a
Author: Ville Syrjala <syrjala at sci.fi>
Date:   Tue Jul 8 03:07:16 2008 -0700

    irda: New device ID for nsc-ircc
    
    HP OmniBook 500's DSDT code changes the HID of the FIR device from
    NSC6001 to HWPC224 when run under an "NT" operating system. Add the
    new ID to the pnp device id table.
    
    Signed-off-by: Ville Syrjala <syrjala at sci.fi>
    Signed-off-by: Samuel Ortiz <samuel at sortiz.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 568b4933a9902aed0f51e2e1bea3da157fb18833
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date:   Tue Jul 8 03:06:46 2008 -0700

    irda: via-ircc proper dma freeing
    
    1. dma should be freed when dma2 request fail.
    2. dma2 should be freed too when device close.
    
    Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
    Signed-off-by: Samuel Ortiz <samuel at sortiz.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 138c9021ca68d6f8a6fac3418995fee102a3cc22
Author: Nick Piggin <npiggin at suse.de>
Date:   Tue Jul 8 11:31:06 2008 +0200

    [S390] protect _PAGE_SPECIAL bit against mprotect
    
    Stop mprotect's pte_modify from wiping out the s390 pte_special bit, which
    caused oops thereafter when vm_normal_page thought X's abnormal was normal.
    
    Debugged-by: Ryan Hope <rmh3093 at gmail.com>
    Debugged-by: Zan Lynx <zlynx at acm.org>
    Acked-by: Hugh Dickins <hugh at veritas.com>
    Signed-off-by: Nick Piggin <npiggin at suse.de>
    Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>

commit 3888e9efc9bf05e60504d2a420be7a527ff43678
Author: Vlad Yasevich <vladislav.yasevich at hp.com>
Date:   Tue Jul 8 02:28:39 2008 -0700

    sctp: Mark the tsn as received after all allocations finish
    
    If we don't have the buffer space or memory allocations fail,
    the data chunk is dropped, but TSN is still reported as received.
    This introduced a data loss that can't be recovered.  We should
    only mark TSNs are received after memory allocations finish.
    The one exception is the invalid stream identifier, but that's
    due to user error and is reported back to the user.
    
    This was noticed by Michael Tuexen.
    
    Signed-off-by: Vlad Yasevich <vladislav.yasevich at hp.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit dbb018cd8a0fd073eaabf9de5a93f62d98bd7723
Author: Darren Jenkins <darrenrjenkins at gmailcom>
Date:   Tue Jul 8 15:51:44 2008 +0800

    crypto: tcrypt - Fix memory leak in test_cipher
    
    Coverity CID: 2306 & 2307 RESOURCE_LEAK
    
    In the second for loop in test_cipher(), data is allocated space with
    kzalloc() and is only ever freed in an error case.
    Looking at this loop, data is written to this memory but nothing seems
    to read from it.
    So here is a patch removing the allocation, I think this is the right
    fix.
    
    Only compile tested.
    
    Signed-off-by: Darren Jenkins <darrenrjenkins at gmailcom>
    Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

commit 7b51ba38d9baca207152d1c97ec793cfb673a6cd
Merge: 4f81c5350b44bcc501ab6f8a089b16d064b4d2f6 739db07f82767e7634176d18af2acbe77b11fd42
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jul 7 16:59:43 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
      Revert "PCI: Correct last two HP entries in the bfsort whitelist"

commit 6e43829bb69bf1d584a592075f1357590eb49b1a
Author: Vladimir Koutny <vlado at work.ksp.sk>
Date:   Mon Jul 7 14:23:01 2008 +0200

    mac80211: don't report selected IBSS when not found
    
    Don't report a 'selected' IBSS in sta_find_ibss when none was found.
    
    Signed-off-by: Vladimir Koutny <vlado at ksp.sk>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 9e095a687b3561972272063260e14ab1bc21de08
Author: Michael Buesch <mb at bu3sch.de>
Date:   Fri Jul 4 23:44:37 2008 +0200

    ssb-pcicore: Fix IRQ-vector init on embedded devices
    
    On embedded devices we must not route the interrupts through
    the PCI core, if our host-bus is not PCI.
    
    Reported-by: Steve Brown <sbrown at cortland.com>
    Signed-off-by: Michael Buesch <mb at bu3sch.de>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 9dfd55008e3863dcd93219c74bf05b09e5c549e2
Author: Firat Birlik <firat at airties.com>
Date:   Fri Jul 4 04:31:50 2008 +0100

    zd1211rw: add ID for AirTies WUS-201
    
    I would like to inform you of our zd1211 based usb wifi adapter (AirTies
    WUS-201), which works with the zd1211rw driver with the following device
    id definition.
    
    Signed-off-by: Daniel Drake <dsd at gentoo.org>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit ea0c925370b33baf168bb33782c613468c1aa119
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date:   Thu Jul 3 19:02:44 2008 +0200

    mac80211: Only flush workqueue when last interface was removed
    
    Currently the ieee80211_hw->workqueue is flushed each time
    an interface is being removed. However most scheduled work
    is not interface specific but device specific, for example things like
    periodic work for link tuners.
    
    This patch will move the flush_workqueue() call to directly behind
    the call to ops->stop() to make sure the workqueue is only flushed
    when all interfaces are gone and there really shouldn't be any scheduled
    work in the drivers left.
    
    Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
    Acked-by: Johannes Berg <johannes at sipsolutions.net>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 8db9369ff92b1cd93566baadd8bd2992f025fdd0
Author: Guy Cohen <guy.cohen at intel.com>
Date:   Thu Jul 3 19:56:13 2008 +0300

    mac80211: move netif_carrier_on to after ieee80211_bss_info_change_notify
    
    Putting netif_carrier_on before configuring the driver/device with the
    new association state may cause a race (tx frames may be sent before
    configuration is done)
    
    Signed-off-by: Guy Cohen <guy.cohen at intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 0ff1cca0e272045b9c11a2ff94bd3e6893c9308c
Author: Darren Jenkins <darrenrjenkins at gmail.com>
Date:   Thu Jul 3 09:41:38 2008 +1000

    drivers/net/wireless/iwlwifi/iwl-3945.c Fix type issue on 64bit
    
    Coverity CID: 2265 NEGATIVE_RETURNS
    
    "rate" is of an unsigned type, and the code requires a signed type.
    The following patch makes it so.
    
    Signed-off-by: Darren Jenkins <darrenrjenkins at gmailcom>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit fcee7a01ad7516eeb8dfdd0a17ef04cd2ee30757
Author: John W. Linville <linville at tuxdriver.com>
Date:   Wed Jul 2 11:04:24 2008 -0400

    hostap_cs: correct poor NULL checks in suspend/resume routines
    
    This corrects this kernel.org bug:
    
    	http://bugzilla.kernel.org/show_bug.cgi?id=9701
    
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 739db07f82767e7634176d18af2acbe77b11fd42
Author: Jesse Barnes <jbarnes at hobbes.(none)>
Date:   Mon Jul 7 09:55:26 2008 -0700

    Revert "PCI: Correct last two HP entries in the bfsort whitelist"
    
    This reverts commit a1676072558854b95336c8f7db76b0504e909a0a.  It duplicates
    the change from 8d64c781f0c5fbfdf8016bd1634506ff2ad1376a and only one should be
    applied, otherwise some of the Dell quirks are lost.
    
    Thanks to Tony Camuso for catching this.
    
    Acked-by: Tony Camuso <tcamuso at redhat.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

commit 18c6ac383f3e46cfce08d0bf972705852a4e1268
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Mon Jul 7 10:06:29 2008 -0700

    [PATCH] ocfs2/dlm: Fixes oops in dlm_new_lockres()
    
    Patch fixes a race that can result in an oops while adding a
    lockres to the dlm lockres tracking list.
    
    Bug introduced by mainline commit 29576f8bb54045be944ba809d4fca1ad77c94165.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 4f81c5350b44bcc501ab6f8a089b16d064b4d2f6
Author: Jeff Dike <jdike at addtoit.com>
Date:   Mon Jul 7 13:36:56 2008 -0400

    [UML] fix gcc ICEs and unresolved externs
    
    There are various constraints on the use of unit-at-a-time:
     - i386 uses no-unit-at-a-time for pre-4.0 (not 4.3)
     - x86_64 uses unit-at-a-time always
    
    Uli reported a crash on x86_64 with gcc 4.1.2 with unit-at-a-time,
    resulting in commit c0a18111e571138747a98af18b3a2124df56a0d1
    
    Ingo reported a gcc internal error with gcc 4.3 with no-unit-at-a-timem,
    resulting in 22eecde2f9034764a3fd095eecfa3adfb8ec9a98
    
    Benny Halevy is seeing extern inlines not resolved with gcc 4.3 with
    no-unit-at-a-time
    
    This patch reintroduces unit-at-a-time for gcc >= 4.0, bringing back the
    possibility of Uli's crash.  If that happens, we'll debug it.
    
    I started seeing both the internal compiler errors and unresolved
    inlines on Fedora 9.  This patch fixes both problems, without so far
    reintroducing the crash reported by Uli.
    
    Signed-off-by: Jeff Dike <jdike at linux.intel.com>
    Cc: Benny Halevy <bhalevy at panasas.com>
    Cc: Adrian Bunk <bunk at kernel.org>
    Cc: Ingo Molnar <mingo at elte.hu>
    Cc: Ulrich Drepper <drepper at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit b2798bf0ec2cb5a17bfc1430c5ba6d971c436a03
Merge: 3bc5ab9b7f2760d2892fd0a0589e1077e869d4f5 7f2d38eb7a42bea1c1df51bbdaa2ca0f0bdda07f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jul 7 09:24:28 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
      can: add sanity checks
      fs_enet: restore promiscuous and multicast settings in restart()
      ibm_newemac: Fixes entry of short packets
      ibm_newemac: Fixes kernel crashes when speed of cable connected changes
      pasemi_mac: Access iph->tot_len with correct endianness
      ehea: Access iph->tot_len with correct endianness
      ehea: fix race condition
      ehea: add MODULE_DEVICE_TABLE
      ehea: fix might sleep problem
      forcedeth: fix lockdep warning on ethtool -s
      Add missing skb->dev assignment in Frame Relay RX code
      bridge: fix use-after-free in br_cleanup_bridges()
      tcp: fix a size_t < 0 comparison in tcp_read_sock
      tcp: net/ipv4/tcp.c needs linux/scatterlist.h
      libertas: support USB persistence on suspend/resume (resend)
      iwlwifi: drop skb silently for Tx request in monitor mode
      iwlwifi: fix incorrect 5GHz rates reported in monitor mode

commit 3bc5ab9b7f2760d2892fd0a0589e1077e869d4f5
Author: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date:   Mon Jul 7 16:39:50 2008 +1000

    powerpc: Fix unterminated of_device_id array in legacy_serial.c
    
    A recent patch to legacy_serial.c factored out some code by
    using the of_match_node() facility to match a node against
    an array of possible matches. However, the patch didn't properly
    terminate the array causing potential crashes in cases where no
    match is found. In addition, the name of the array was poorly
    chosen for a static symbol making debugging harder.
    
    Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 16:43:12 2008 -0700

    vsprintf: add support for '%pS' and '%pF' pointer formats
    
    They print out a pointer in symbolic format, if possible (ie using
    symbolic KALLSYMS information).  The '%pS' format is for regular direct
    pointers (which can point to data or code and that you find on the stack
    during backtraces etc), while '%pF' is for C function pointer types.
    
    On most architectures, the two mean exactly the same thing, but some
    architectures use an indirect pointer for C function pointers, where the
    function pointer points to a function descriptor (which in turn contains
    the actual pointer to the code).  The '%pF' code automatically does the
    appropriate function descriptor dereference on such architectures.
    
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 4d8a743cdd2690c0bc8d1b8cbd02cffb1ead849f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 16:24:57 2008 -0700

    vsprintf: add infrastructure support for extended '%p' specifiers
    
    This expands the kernel '%p' handling with an arbitrary alphanumberic
    specifier extension string immediately following the '%p'.  Right now
    it's just being ignored, but the next commit will start adding some
    specific pointer type extensions.
    
    NOTE! The reason the extension is appended to the '%p' is to allow
    minimal gcc type checking: gcc will still see the '%p' and will check
    that the argument passed in is indeed a pointer, and yet will not
    complain about the extended information that gcc doesn't understand
    about (on the other hand, it also won't actually check that the pointer
    type and the extension are compatible).
    
    Alphanumeric characters were chosen because there is no sane existing
    use for a string format with a hex pointer representation immediately
    followed by alphanumerics (which is what such a format string would have
    traditionally resulted in).
    
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 78a8bf69b32980879975f7e31d30386c50bfe851
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 16:16:15 2008 -0700

    vsprintf: split out '%p' handling logic
    
    The actual code is the same, just split out into a helper function.
    This makes it easier to read, and allows for simple future extension
    of %p handling.
    
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 0f9bfa569d46f2346a53a940b2b9e49a38635732
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 16:06:25 2008 -0700

    vsprintf: split out '%s' handling logic
    
    The actual code is the same, just split out into a helper function.
    This makes it easier to read, and allows for future sharing of the
    string code.
    
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 1b40a895df6c7d5a80e71f65674060b03d84bbef
Merge: 97f8571e663c808ad2d01a396627235167291556 35baff256d8fe1eec0b8988fcb5cde80df7bfa1a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 11:16:23 2008 -0700

    Merge branch 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
    
    * 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
      KVM: IOAPIC: Fix level-triggered irq injection hang
      x86: KVM guest: Add memory clobber to hypercalls

commit 97f8571e663c808ad2d01a396627235167291556
Author: Philipp Zabel <philipp.zabel at gmail.com>
Date:   Sun Jul 6 01:15:34 2008 +0200

    pxamci: fix byte aligned DMA transfers
    
    The pxa27x DMA controller defaults to 64-bit alignment. This caused
    the SCR reads to fail (and, depending on card type, error out) when
    card->raw_scr was not aligned on a 8-byte boundary.
    
    For performance reasons all scatter-gather addresses passed to
    pxamci_request should be aligned on 8-byte boundaries, but if
    this can't be guaranteed, byte aligned DMA transfers in the
    have to be enabled in the controller to get correct behaviour.
    
    Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
    Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 09ca8adbe9f724a7e96f512c0039c4c4a1c5dcc0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jul 6 10:27:25 2008 -0700

    Revert "USB: don't explicitly reenable root-hub status interrupts"
    
    This reverts commit e872154921a6b5256a3c412dd69158ac0b135176.
    
    Andrey Borzenkov reports that it resulted in a totally hung machine for
    him when loading the OHCI driver.  Extensive netconsole capture with
    SysRq output shows that modprobe gets stuck in ohci_hub_status_data()
    when probing and enabling the OHCI controller, see for example
    
    	http://lkml.org/lkml/2008/7/5/236
    
    for an analysis.
    
    The problem appears to be an interrupt flood triggered by the commit
    that gets reverted, and Andrey confirmed that the revert makes things
    work for him again.
    
    Reported-and-tested-by: Andrey Borzenkov <arvidjaar at mail.ru>
    Acked-by: Alan Stern <stern at rowland.harvard.edu>
    Acked-by: David Brownell <david-b at pacbell.net>
    Cc: Greg Kroah-Hartman <gregkh at suse.de>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 35baff256d8fe1eec0b8988fcb5cde80df7bfa1a
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Fri Jul 4 18:23:15 2008 +0100

    KVM: IOAPIC: Fix level-triggered irq injection hang
    
    The "remote_irr" variable is used to indicate an interrupt
    which has been received by the LAPIC, but not acked.
    
    In our EOI handler, we unset remote_irr and re-inject the
    interrupt if the interrupt line is still asserted.
    
    However, we do not set remote_irr here, leading to a
    situation where if kvm_ioapic_set_irq() is called, then we go
    ahead and call ioapic_service(). This means that IRR is
    re-asserted even though the interrupt is currently in service
    (i.e. LAPIC IRR is cleared and ISR/TMR set)
    
    The issue with this is that when the currently executing
    interrupt handler finishes and writes LAPIC EOI, then TMR is
    unset and EOI sent to the IOAPIC. Since IRR is now asserted,
    but TMR is not, then when the second interrupt is handled,
    no EOI is sent and if there is any pending interrupt, it is
    not re-injected.
    
    This fixes a hang only seen while running mke2fs -j on an
    8Gb virtio disk backed by a fully sparse raw file, with
    aliguori "avoid fragmented virtio-blk transfers by copying"
    changes.
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Acked-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit ca3739327b89bb4053a62ac41b67b106c1967ab0
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jul 3 19:02:36 2008 +0300

    x86: KVM guest: Add memory clobber to hypercalls
    
    Hypercalls can modify arbitrary regions of memory.  Make sure to indicate this
    in the clobber list.  This fixes a hang when using KVM_GUEST kernel built with
    GCC 4.3.0.
    
    This was originally spotted and analyzed by Marcelo.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 7f2d38eb7a42bea1c1df51bbdaa2ca0f0bdda07f
Author: Oliver Hartkopp <oliver.hartkopp at volkswagen.de>
Date:   Sat Jul 5 23:38:43 2008 -0700

    can: add sanity checks
    
    Even though the CAN netlayer only deals with CAN netdevices, the
    netlayer interface to the userspace and to the device layer should
    perform some sanity checks.
    
    This patch adds several sanity checks that mainly prevent userspace apps
    to send broken content into the system that may be misinterpreted by
    some other userspace application.
    
    Signed-off-by: Oliver Hartkopp <oliver.hartkopp at volkswagen.de>
    Signed-off-by: Urs Thuermann <urs.thuermann at volkswagen.de>
    Acked-by: Andre Naujoks <nautsch at gmail.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit b7279469d66b55119784b8b9529c99c1955fe747
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sat Jul 5 15:53:22 2008 -0700

    Linux 2.6.26-rc9

commit 5d7e0d2bd98ef4f5a16ac9da1987ae655368dd6a
Author: Andrew Morton <akpm at linux-foundation.org>
Date:   Sat Jul 5 01:02:01 2008 -0700

    Fix pagemap_read() use of struct mm_walk
    
    Fix some issues in pagemap_read noted by Alexey:
    
    - initialize pagemap_walk.mm to "mm" , so the code starts working as
      advertised
    
    - initialize ->private to "&pm" so it wouldn't immediately oops in
      pagemap_pte_hole()
    
    - unstatic struct pagemap_walk, so two threads won't fsckup each other
      (including those started by root, including flipping ->mm when you don't
      have permissions)
    
    - pagemap_read() contains two calls to ptrace_may_attach(), second one
      looks unneeded.
    
    - avoid possible kmalloc(0) and integer wraparound.
    
    Cc: Alexey Dobriyan <adobriyan at gmail.com>
    Cc: Matt Mackall <mpm at selenic.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    [ Personally, I'd just remove the functionality entirely  - Linus ]
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit ca31e146d5c2fe51498e619eb3a64782d02e310a
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date:   Sat Jul 5 12:14:23 2008 +0300

    Move _RET_IP_ and _THIS_IP_ to include/linux/kernel.h
    
    These two macros are useful beyond lock debugging. Moved definitions from
    include/linux/debug_locks.h to include/linux/kernel.h, so code that needs
    them does not have to include the former, which would have been a less
    intuitive choice of a header.
    
    Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
    Acked-by: Pekka Enberg <penberg at cs.helsinki.fi>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 84df87b7ebdcbbc0f59df9526f4e63fda70647d3
Merge: 537388bb6563bfde7c0307b95ecc1f7a1ae39b02 3b7253238801a7b97b3929d8db2fa7a0721fb17b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sat Jul 5 13:09:31 2008 -0700

    Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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:
      softlockup: print a module list on being stuck

commit 537388bb6563bfde7c0307b95ecc1f7a1ae39b02
Merge: 20cbc972617069c1ed434f62151e4de57d26ea46 a1716d508abf77e4bd02c275ab9293b9866929f3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sat Jul 5 13:08:38 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      x86 ACPI: fix resume from suspend to RAM on uniprocessor x86-64
      x86 ACPI: normalize segment descriptor register on resume

commit 20cbc972617069c1ed434f62151e4de57d26ea46
Author: Andrew Morton <akpm at linux-foundation.org>
Date:   Sat Jul 5 12:29:05 2008 -0700

    Fix clear_refs_write() use of struct mm_walk
    
    Don't use a static entry, so as to prevent races during concurrent use
    of this function.
    
    Reported-by: Alexey Dobriyan <adobriyan at gmail.com>
    Cc: Matt Mackall <mpm at selenic.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit fbe0825752dc34b505777fd59cde4a6ce832eb16
Merge: d28f87aa87ce8b196349d7c306a7e6fe3abd7155 2b54ed9467697b0ce2d60d89e5e4253c9e322c26
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sat Jul 5 13:06:19 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
      ide: ide_unregister() locking bugfix
      ide: ide_unregister() warm-plug bugfix
      ide: fix hwif->gendev refcounting

commit d28f87aa87ce8b196349d7c306a7e6fe3abd7155
Author: Tejun Heo <tj at kernel.org>
Date:   Sat Jul 5 13:10:50 2008 +0900

    ahci: give another shot at clearing all bits in irq_stat
    
    Commit ea0c62f7cf70f13a67830471b613337bd0c9a62e tried to clear all
    bits in irq_stat but it didn't actually achieve that as irq_stat was
    anded with port_map right after read.  This patch makes ahci driver
    always use the unmasked value to clear irq_status.
    
    While at it, add explanation on the peculiarities of ahci IRQ
    clearing.
    
    This was spotted by Linus Torvalds.
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 2b54ed9467697b0ce2d60d89e5e4253c9e322c26
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Sat Jul 5 20:30:51 2008 +0200

    ide: ide_unregister() locking bugfix
    
    Holding ide_lock for ide_release_dma_engine() call is unnecessary
    and triggers WARN_ON(irqs_disabled()) in dma_free_coherent().
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit bd8a59e29726b2a5ff7baefe995febdc63044a61
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Sat Jul 5 20:30:51 2008 +0200

    ide: ide_unregister() warm-plug bugfix
    
    Fix ide_unregister() to work for ports with no devices attached to them.
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit 7cd95f56cb61f5348d062527c9d3653196f6e629
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Sat Jul 5 20:30:51 2008 +0200

    ide: fix hwif->gendev refcounting
    
    class->dev_release is called by device_release() iff dev->release
    is not present so ide_port_class_release() is never called and the
    last hwif->gendev reference is not dropped.
    
    Fix it by removing ide_port_class_release() and get_device() call
    from ide_register_port() (device_create_drvdata() takes a hwif->gendev
    reference anyway).
    
    This patch fixes hang on wait_for_completion(&hwif->gendev_rel_comp)
    in ide_unregister() reported by Pavel Machek.
    
    Cc: Pavel Machek <pavel at suse.cz>
    Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
    Cc: Greg KH <greg at kroah.com>
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit 3b7253238801a7b97b3929d8db2fa7a0721fb17b
Author: Arjan van de Ven <arjan at linux.intel.com>
Date:   Mon Jun 16 15:51:08 2008 -0700

    softlockup: print a module list on being stuck
    
    Most places in the kernel that go BUG: print a module list
    (which is very useful for doing statistics and finding patterns),
    however the softlockup detector does not do this yet.
    
    This patch adds the one line change to fix this gap.
    
    Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit a1716d508abf77e4bd02c275ab9293b9866929f3
Merge: 64e83b5a919a65eb35b63dd7e07c188379ff8ce6 4b4f7280d7fd1feeff134c2cf2db32fd583b6c29
Author: Ingo Molnar <mingo at elte.hu>
Date:   Sat Jul 5 08:42:45 2008 +0200

    Merge branch 'x86/s2ram-fix' into x86/urgent

commit 64e83b5a919a65eb35b63dd7e07c188379ff8ce6
Author: Rafael J. Wysocki <rjw at sisk.pl>
Date:   Sat Jul 5 00:05:30 2008 +0200

    x86 ACPI: fix resume from suspend to RAM on uniprocessor x86-64
    
    Since the trampoline code is now used for ACPI resume from suspend to RAM,
    the trampoline page tables have to be fixed up during boot not only on SMP
    systems, but also on UP systems that use the trampoline.
    
    Reference: http://bugzilla.kernel.org/show_bug.cgi?id=10923
    
    Reported-by: Dionisus Torimens <djtm at gmx.net>
    Signed-off-by: Rafael J. Wysocki <rjw at sisk.pl>
    Cc: Andi Kleen <andi at firstfloor.org>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Cc: pm list <linux-pm at lists.linux-foundation.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 4b4f7280d7fd1feeff134c2cf2db32fd583b6c29
Author: H. Peter Anvin <hpa at zytor.com>
Date:   Tue Jun 24 23:03:48 2008 +0200

    x86 ACPI: normalize segment descriptor register on resume
    
    Some Dell laptops enter resume with apparent garbage in the segment
    descriptor registers (almost certainly the result of a botched
    transition from protected to real mode.)  The only way to clean that
    up is to enter protected mode ourselves and clean out the descriptor
    registers.
    
    This fixes resume on Dell XPS M1210 and Dell D620.
    
    Reference: http://bugzilla.kernel.org/show_bug.cgi?id=10927
    
    Signed-off-by: H. Peter Anvin <hpa at zytor.com>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Cc: Pavel Machek <pavel at ucw.cz>
    Cc: pm list <linux-pm at lists.linux-foundation.org>
    Cc: Len Brown <lenb at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Tested-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Rafael J. Wysocki <rjw at sisk.pl>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit d79df630f622806c4d0e116fbaf6ebf6baf53461
Author: David Rientjes <rientjes at google.com>
Date:   Fri Jul 4 12:24:13 2008 -0700

    mempolicy: mask off internal flags for userspace API
    
    Flags considered internal to the mempolicy kernel code are stored as part
    of the "flags" member of struct mempolicy.
    
    Before exposing a policy type to userspace via get_mempolicy(), these
    internal flags must be masked.  Flags exposed to userspace, however,
    should still be returned to the user.
    
    Signed-off-by: David Rientjes <rientjes at google.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit b8a0b6ccf2ba2519ace65d782b41ee91bf3c3778
Merge: bf5b1935d8e42b36a34645788eb261461fe07f2e d8355aca23863be659ec5b7e0393cfbfa91ec221
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Jul 4 10:46:46 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      xen: fix address truncation in pte mfn<->pfn conversion
      arch/x86/mm/init_64.c: early_memtest(): fix types
      x86: fix Intel Mac booting with EFI

commit bf5b1935d8e42b36a34645788eb261461fe07f2e
Author: Pierre Ossman <drzeus at drzeus.cx>
Date:   Fri Jul 4 12:51:20 2008 +0200

    mmc: don't use DMA on newer ENE controllers
    
    Even the newer ENE controllers have bugs in their DMA engine that make
    it too dangerous to use. Disable it until someone has figured out under
    which conditions it corrupts data.
    
    This has caused problems at least once, and can be found as bug report
    10925 in the kernel bugzilla.
    
    Signed-off-by: Pierre Ossman <drzeus at drzeus.cx>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 46b6d94eb04a718730c73b83db889341aad0515e
Author: Paul Jackson <pj at sgi.com>
Date:   Fri Jul 4 10:00:09 2008 -0700

    doc: document the relax_domain_level kernel boot argument
    
    Document the kernel boot parameter: relax_domain_level=.
    
    Signed-off-by: Paul Jackson <pj at sgi.com>
    Cc: Michael Kerrisk <mtk.manpages at googlemail.com>
    Reviewed-by: Li Zefan <lizf at cn.fujitsu.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit d823f6bfec2844493c05961133895de21fa0e02d
Author: Li Zefan <lizf at cn.fujitsu.com>
Date:   Fri Jul 4 10:00:07 2008 -0700

    devcgroup: fix odd behaviour when writing 'a' to devices.allow
    
     # cat /devcg/devices.list
     a *:* rwm
     # echo a > devices.allow
     # cat /devcg/devices.list
     a *:* rwm
     a 0:0 rwm
    
    This is odd and maybe confusing.  With this patch, writing 'a' to
    devices.allow will add 'a *:* rwm' to the whitelist.
    
    Also a few fixes and updates to the document.
    
    Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
    Cc: Pavel Emelyanov <xemul at openvz.org>
    Cc: Serge E. Hallyn <serue at us.ibm.com>
    Cc: Paul Menage <menage at google.com>
    Cc: Balbir Singh <balbir at in.ibm.com>
    Cc: James Morris <jmorris at namei.org>
    Cc: Chris Wright <chrisw at sous-sol.org>
    Cc: Stephen Smalley <sds at tycho.nsa.gov>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 26ff8c697a2c8f6974c2357d3f01cca91b20c964
Author: Rajiv Andrade <srajiv at linux.vnet.ibm.com>
Date:   Fri Jul 4 10:00:06 2008 -0700

    Update MAINTAINERS file for the TPM device driver
    
    Acked-By: Debora Velarde <debora at linux.vnet.ibm.com>
    Cc: <zohar at linux.vnet.ibm.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 2d5c1be8870383622809c25935fff00d2630c7a5
Author: John Blackwood <john.blackwood at ccur.com>
Date:   Fri Jul 4 10:00:05 2008 -0700

    mm: switch node meminfo Active & Inactive pages to Kbytes
    
    There is a bug in the output of /sys/devices/system/node/node[n]/meminfo
    where the Active and Inactive values are in pages instead of Kbytes.
    
    Looks like this occurred back in 2.6.20 when the code was changed
    over to use node_page_state().
    
    Cc: <stable at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit acb7669c125676e63cf96582455509216c39745e
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date:   Fri Jul 4 10:00:05 2008 -0700

    cpumask: introduce new APIs
    
    In linux-next there is a commit ("x86: Add performance variants of cpumask
    operators") which, as part of the 4096 cpu support work adds some new APIs
    for dealing with cpu masks.  Add trivial versions of these now so that
    subsystems can update in a timely manner and avoid conflicts in linux-next
    and the next merge window.
    
    Cc: Mike Travis <travis at sgi.com>
    Cc: Thomas Gleixner <tglx at linutronix.de>
    Cc: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 603ded16a308d0a7a17738c973e3c8cbcd5db7dd
Author: Andres Salomon <dilinger at queued.net>
Date:   Fri Jul 4 10:00:04 2008 -0700

    olpc: sdhci: add quirk for the Marvell CaFe's interrupt timeout
    
    The CaFe chip has a hardware bug that ends up with us getting a timeout
    value that's too small, causing the following sorts of problems:
    
    [   60.525138] mmcblk0: error -110 transferring data
    [   60.531477] end_request: I/O error, dev mmcblk0, sector 1484353
    [   60.533371] Buffer I/O error on device mmcblk0p2, logical block 181632
    [   60.533371] lost page write due to I/O error on mmcblk0p2
    
    Presumably this is an off-by-one error in the hardware.  Incrementing
    the timeout count value that we stuff into the TIMEOUT_CONTROL register
    gets us a value that works.  This bug was originally discovered by
    Pierre Ossman, I believe.
    
    [thanks to Robert Millan for proving that this was still a problem]
    
    Signed-off-by: Andres Salomon <dilinger at debian.org>
    Cc: Pierre Ossman <drzeus-list at drzeus.cx>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit e08c1694d9e2138204f2b79b73f0f159074ce2f5
Author: Andres Salomon <dilinger at queued.net>
Date:   Fri Jul 4 10:00:03 2008 -0700

    olpc: sdhci: add quirk for the Marvell CaFe's vdd/powerup issue
    
    This has been sitting around unloved for way too long..
    
    The Marvell CaFe chip's SD implementation chokes during card insertion
    if one attempts to set the voltage and power up in the same
    SDHCI_POWER_CONTROL register write.  This adds a quirk that does
    that particular dance in two steps.
    
    It also adds an entry to pci_ids.h for the CaFe chip's SD device.
    
    Signed-off-by: Andres Salomon <dilinger at debian.org>
    Cc: Pierre Ossman <drzeus-list at drzeus.cx>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 491539982aa01fa71de93c2a06ac5d890d4cf1e2
Author: Mike Miller <mike.miller at hp.com>
Date:   Fri Jul 4 10:00:02 2008 -0700

    cciss: read config to obtain max outstanding commands per controller
    
    This patch changes the way we determine the maximum number of outstanding
    commands for each controller.
    
    Most Smart Array controllers can support up to 1024 commands, the notable
    exceptions are the E200 and E200i.
    
    The next generation of controllers which were just added support a mode of
    operation called Zero Memory Raid (ZMR).  In this mode they only support
    64 outstanding commands.  In Full Function Raid (FFR) mode they support
    1024.
    
    We have been setting the queue depth by arbitrarily assigning some value
    for each controller.  We needed a better way to set the queue depth to
    avoid lots of annoying "fifo full" messages.  So we made the driver a
    little smarter.  We now read the config table and subtract 4 from the
    returned value.  The -4 is to allow some room for ioctl calls which are
    not tracked the same way as io commands are tracked.
    
    Please consider this for inclusion.
    
    Signed-off-by: Mike Miller <mike.miller at hp.com>
    Cc: Jens Axboe <jens.axboe at oracle.com>
    Cc: <stable at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 8deacee4f5a64a79a626479ba5d05e5643467513
Author: Geert Uytterhoeven <geert at linux-m68k.org>
Date:   Fri Jul 4 10:00:01 2008 -0700

    MAINTAINERS: update the email address of Andreas Dilger
    
    The old one bounces.
    
    Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
    Cc: Andreas Dilger <adilger at sun.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 985ee7f224cca8a0d622b24ec399f364c63fc274
Author: Paul Jackson <pj at sgi.com>
Date:   Fri Jul 4 10:00:01 2008 -0700

    cpusets: document proc status cpus and mems allowed lists
    
    Provide a little documentation for the two new fields, Cpus_allowed_list
    and Mems_allowed_list, that were added to each /proc/<pid>/status file a
    while back.
    
    Signed-off-by: Paul Jackson <pj at sgi.com>
    Acked-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Cc: Randy Dunlap <randy.dunlap at oracle.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 51597acfd3c09073aeea94a0e6f76a931f8c22d2
Author: Bastian Blank <waldi at debian.org>
Date:   Fri Jul 4 10:00:00 2008 -0700

    Alpha Linux kernel fails with inconsistent kallsyms data
    
    The build of the Alpha Linux kernel currently fails[1] with inconsistent
    kallsyms data.  As I never saw that before, I thought about hardware
    problems.  But in fact it is a bug in the Linux kernel.
    
    The end of the rodata section is marked with the "__end_rodata" symbol.
    This symbol have different aligning constraints than the inittext parts
    and therefor the start marked "_sinittext".  Because of that the
    __end_rodata symbol shifts between < _sinittext and == _sinittext.  The
    later variant is seen as a code symbol and recorded in the kallsyms data.
    
    On fix would be to move the exception table a little bit and get some
    space between that two areas.
    
    [1]: http://buildd.debian.org/fetch.cgi?pkg=linux-2.6&arch=alpha&ver=2.6.25-5&stamp=1213919009&file=log&as=raw
    
    Cc: maximilian attems <max at stro.at>
    Cc: Richard Henderson <rth at twiddle.net>
    Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 1209726ce942047c9fefe7cd427dc36f8e9ded53
Author: Andrew G. Morgan <morgan at kernel.org>
Date:   Fri Jul 4 09:59:59 2008 -0700

    security: filesystem capabilities: fix CAP_SETPCAP handling
    
    The filesystem capability support meaning for CAP_SETPCAP is less powerful
    than the non-filesystem capability support.  As such, when filesystem
    capabilities are configured, we should not permit CAP_SETPCAP to 'enhance'
    the current process through strace manipulation of a child process.
    
    Signed-off-by: Andrew G. Morgan <morgan at kernel.org>
    Acked-by: Serge Hallyn <serue at us.ibm.com>
    Cc: David Howells <dhowells at redhat.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 086f7316f0d400806d76323beefae996bb3849b1
Author: Andrew G. Morgan <morgan at kernel.org>
Date:   Fri Jul 4 09:59:58 2008 -0700

    security: filesystem capabilities: fix fragile setuid fixup code
    
    This commit includes a bugfix for the fragile setuid fixup code in the
    case that filesystem capabilities are supported (in access()).  The effect
    of this fix is gated on filesystem capability support because changing
    securebits is only supported when filesystem capabilities support is
    configured.)
    
    [akpm at linux-foundation.org: coding-style fixes]
    Signed-off-by: Andrew G. Morgan <morgan at kernel.org>
    Acked-by: Serge Hallyn <serue at us.ibm.com>
    Acked-by: David Howells <dhowells at redhat.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit abbaeff38c00cb7f6817ec1cef406b27081ebedd
Author: Randy Dunlap <rdunlap at xenotime.net>
Date:   Fri Jul 4 09:59:57 2008 -0700

    doc: doc maintainers
    
    Maintain the kernel's Documentation/ tree.
    
    This includes tree layout and contents, although not much in terms of new
    content production.  That will usually have to be done by someone familiar
    with the software, at least in some rough form.
    
    Includes review and editorial assistance for people contributing changes
    to /Documentation.
    
    Also includes prodding people for content if something is in need of
    documentation.
    
    Signed-off-by: Randy Dunlap <rdunlap at xenotime.net>
    Acked-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Cc: Jonathan Corbet <corbet at lwn.net>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 4b1295b0df28cffd40e6c6d7c4b88dec7af1eb76
Author: Sebastian Siewior <bigeasy at linutronix.de>
Date:   Fri Jul 4 09:59:56 2008 -0700

    spi: fix the read path in spidev
    
    This got broken by the recent "fix rmmod $spi_driver while spidev-user is
    active".  I tested the rmmod & write path but didn't check the read path.
    I am sorry.  The read logic changed and spidev_sync_read() +
    spidev_sync_write() do not return zero on success anymore but the number
    of bytes that has been transfered over the bus.  This patch changes the
    logic and copy_to_user() gets called again.
    
    The write path returns the number of bytes which are written to the
    underlying device what may be less than the requested size.  This patch
    makes the same change to the read path or else we request a read of 20
    bytes, get 10, don't call copy to user and report to the user that we read
    10 bytes.
    
    [akpm at linux-foundation.org: remove test of known-to-be-zero local]
    Signed-off-by: Sebastian Siewior <bigeasy at linutronix.de>
    Acked-by: David Brownell <dbrownell at users.sourceforge.net>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit bef67c5a7d3a9c45e091e36625c09c0c811e2672
Author: Li Zefan <lizf at cn.fujitsu.com>
Date:   Fri Jul 4 09:59:55 2008 -0700

    cgroups: document the effect of attaching PID 0 to a cgroup
    
    Document that a pid of zero(0) can be used to refer to the current task
    when attaching a task to a cgroup, as in the following usage:
    
    	# echo 0 > /dev/cgroup/tasks
    
    This is consistent with existing cpuset behavior.
    
    Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
    Acked-by: Paul Jackson <pj at sgi.com>
    Acked-by: Dhaval Giani <dhaval at linux.vnet.ibm.com>
    Cc: Paul Menage <menage at google.com>
    Cc: Balbir Singh <balbir at in.ibm.com>
    Cc: Andrea Righi <righi.andrea at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 4e0d13cbb71de2b1baf71ddd3c14f7ba8da810e5
Author: Samuel Ortiz <sameo at openedhand.com>
Date:   Fri Jul 4 09:59:53 2008 -0700

    MFD maintainer
    
    We probably need someone to look after the few drivers/mfd patches coming
    every now and then.  As agreed with Andrew, I'm ok to do so and my
    employer is fine with me spending a few working hours on it, if needed.
    Ben, Philipp, feel free to add your names there too if you wish.
    
    Signed-off-by: Samuel Ortiz <sameo at openedhand.com>
    Cc: "pHilipp Zabel" <philipp.zabel at gmail.com>
    Cc: Ian Molton <spyro at f2s.com>
    Cc: Ben Dooks <ben-linux at fluff.org>
    Cc: Dmitry Baryshkov <dbaryshkov at gmail.com>
    Cc: Russell King <rmk at arm.linux.org.uk>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 27c8d95f8c9ff83e4e4d8a90523d891427964c79
Author: Philipp Zabel <philipp.zabel at gmail.com>
Date:   Fri Jul 4 09:59:53 2008 -0700

    w100fb: add 80 MHz modeline
    
    This is needed for HTC Blueangel (w3200).  At 96MHz its screen flickers.
    
    Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
    Acked-by: Ian Molton <spyro at f2s.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit e5dd3cbd81aad69bdf773ab63c06fbaabc2b767a
Author: Philipp Zabel <philipp.zabel at gmail.com>
Date:   Fri Jul 4 09:59:52 2008 -0700

    w100fb: do not depend on SHARPSL
    
    Apart from Sharp SL-Cxx series, there are a few other devices that have
    ATI Imageon chips, among them HP iPAQ hx4700.
    
    Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
    Acked-by: Ian Molton <spyro at f2s.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 6d1029b56329b1cc9b7233e5333c1a48ddbbfad8
Author: Akinobu Mita <akinobu.mita at gmail.com>
Date:   Fri Jul 4 09:59:51 2008 -0700

    add kernel-doc for simple_read_from_buffer and memory_read_from_buffer
    
    Add kernel-doc comments describing simple_read_from_buffer and
    memory_read_from_buffer.
    
    Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
    Cc: Christoph Hellwig <hch at lst.de>
    Cc: "Randy.Dunlap" <rdunlap at xenotime.net>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 337e2ab5d1efca56c6fdd57bffaea7e7899e7283
Author: Jess Guerrero <i92guboj at terra.es>
Date:   Fri Jul 4 09:59:50 2008 -0700

    ntfs: update help text
    
    The url in the help text for ntfs should be updated.
    
    Acked-by: Anton Altaparmakov <aia21 at cantab.net>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit c76a58783d7bb2190872c5431e5ee44da7143fad
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date:   Fri Jul 4 09:59:49 2008 -0700

    man-pages is supported
    
    Starting last month, I reached a long-time goal: man-pages finally has a
    paid, full-time maintainer, thanks to a fellowship from the Linux
    Foundation.  It's still a little unclear how long the LF money will last
    for the fellowship, but for the foreseeable future, I'll be working on:
    
    * Properly documenting every new Linux kernel-userland (and glibc) API,
      and every API change, that is released into the mainline kernel, ideally
      before actual release.  (That's the ideal, but there's a quite a
      backlog, so I'm not going to achieve the ideal immediately.)
    
    * Testing new APIs, again ideally before they are released into the
      mainline kernel, and probably doing some light bug fixing while I'm at
      it (e.g., the recent utimensat() work).
    
    * Design review of new APIs, which of course can only usefully be done
      before they are released into the mainline kernel.
    
    * And of course accepting patches and dealing with bug reports for
      existing man pages.
    
    Signed-off-by: Michael Kerrisk <mtk.manpages at googlemail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 93921f5c2ce7427cc30341c86882527d1d1d8770
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date:   Fri Jul 4 09:59:48 2008 -0700

    Introduce rculist.h
    
    In linux-next there is a commit ("rcu: split list.h and move rcu-protected
    lists into rculist.h") that moved the rcu related list iterators from
    list.h to rculist.h.  Add a trivial version of the file now so that
    various subsystem trees can start using it now for -next changes and so
    reduce the build errors caused by adding uses of the moved functions.
    
    Cc: Franck Bui-Huu <fbuihuu at gmail.com>
    Acked-by: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
    Cc: Josh Triplett <josh at kernel.org>
    Acked-by: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit fc26361ef0fbcad0406475fc6006fa4f09e60dce
Author: David Howells <dhowells at redhat.com>
Date:   Fri Jul 4 09:59:47 2008 -0700

    mn10300: provide __ucmpdi2() for MN10300
    
    Provide __ucmpdi2() for MN10300 so that allmodconfig can be built.
    
    Signed-off-by: David Howells <dhowells at redhat.com>
    Cc: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 7fc7228c0be9007f0e6a32c8a8ae340ea6246056
Author: David Howells <dhowells at redhat.com>
Date:   Fri Jul 4 09:59:46 2008 -0700

    mn10300: export certain arch symbols required to build allmodconfig
    
    Export kernel_thread() and empty_zero_page so that allmodconfig can be
    built for MN10300.
    
    Signed-off-by: David Howells <dhowells at redhat.com>
    Cc: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 292d73551d0aa19526c3417e791c529b49ebadf3
Author: maximilian attems <max at stro.at>
Date:   Fri Jul 4 09:59:43 2008 -0700

    hdaps: add support for various newer Lenovo thinkpads
    
    Adds R61, T61p, X61s, X61, Z61m, Z61p models to whitelist.
    
    Fixes this:
    
    cullen at lenny:~$ sudo modprobe hdaps
    FATAL: Error inserting hdaps (/lib/modules/2.6.22-10-generic/kernel/drivers/hwmon/hdaps.ko): No such device
    
    [25192.888000] hdaps: supported laptop not found!
    [25192.888000] hdaps: driver init failed (ret=-19)!
    
    Originally based on an Ubuntu patch that got it wrong, the dmidecode
    output of the corresponding laptops shows LENOVO as the manufacturer.
    https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/133636
    
    tested on X61s:
    [  184.893588] hdaps: inverting axis readings.
    [  184.893588] hdaps: LENOVO ThinkPad X61s detected.
    [  184.893588] input: hdaps as /class/input/input12
    [  184.924326] hdaps: driver successfully loaded.
    
    Cc: Klaus S. Madsen <ubuntu at hjernemadsen.org>
    Cc: Chuck Short <zulcss at ubuntu.com>
    Cc: Jean Delvare <khali at linux-fr.org>
    Cc: Tim Gardner <tim.gardner at canonical.com>
    Signed-off-by: maximilian attems <max at stro.at>
    Cc: Mark M. Hoffman <mhoffman at lightlink.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 71f77055deeab9708c00717352bec05aa125c713
Author: Pavel Machek <pavel at suse.cz>
Date:   Fri Jul 4 09:59:43 2008 -0700

    Doc*/kernel-parameters.txt: fix stale references
    
    Fix stale references to source files in kernel-parameters.txt.
    
    Signed-off-by: Pavel Machek <pavel at suse.cz>
    Acked-by: Randy Dunlap <randy.dunlap at oracle.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit abc5f23a32919f3196d3fa22d5216ab192db236b
Author: Balbir Singh <balbir at linux.vnet.ibm.com>
Date:   Fri Jul 4 09:59:42 2008 -0700

    delay accounting: maintainer update
    
    Update the delay accounting and taskstats maintainer to Balbir Singh.
    I spoke to Shailabh and he is now busy with other things.
    
    Cc: Shailabh Nagar <nagar1234 at in.ibm.com>
    Cc: Shailabh Nagar <nagar at watson.ibm.com>
    Signed-off-by: Balbir Singh <balbir at linux.vnet.ibm.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 77b96bd7e5ee0b44aed1b77fef5949bc19e8301f
Author: Stephen M. Cameron <scameron at beardog.cca.cpqcorp.net>
Date:   Fri Jul 4 09:59:40 2008 -0700

    cciss: fix regression that no device nodes are created if no logical drives are configured.
    
    Fix regression in cciss driver that if no logical drives are configured,
    no device nodes at all get created.
    
    Signed-off-by: Stephen M. Cameron <scameron at beardog.cca.cpqcorp.net>
    Acked-by: Mike Miller <mike.miller at hp.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit f93f18cd94626108021c4e681f48d2d99bca5b90
Author: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
Date:   Fri Jul 4 09:59:39 2008 -0700

    Update taskstats-struct document for scaled time accounting
    
    Update Documentation/accounting/taskstats-struct.txt for TASKSTATS_VERSION 6,
    adding scaled time accounting.
    
    Signed-off-by: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 05946bce839b4fed5442dbfab77060fb75e051f3
Author: Anton Vorontsov <avorontsov at ru.mvista.com>
Date:   Fri Jul 4 09:59:38 2008 -0700

    fsl_diu_fb: fix build with CONFIG_PM=y, plus fix some warnings
    
    This patch fixes following build error when CONFIG_PM is set.
    
      CC      drivers/video/fsl-diu-fb.o
    drivers/video/fsl-diu-fb.c: In function 'fsl_diu_suspend':
    drivers/video/fsl-diu-fb.c:1327: error: 'ofdev' undeclared (first use in this function)
    drivers/video/fsl-diu-fb.c:1327: error: (Each undeclared identifier is reported only once
    drivers/video/fsl-diu-fb.c:1327: error: for each function it appears in.)
    drivers/video/fsl-diu-fb.c: In function 'fsl_diu_resume':
    drivers/video/fsl-diu-fb.c:1337: error: 'ofdev' undeclared (first use in this function)
    
    While I'm at it, also fix this warning:
    
    drivers/video/fsl-diu-fb.c: In function 'fsl_diu_alloc':
    drivers/video/fsl-diu-fb.c:314: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'phys_addr_t'
    
    And these section mismatches:
    
    ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb()
    ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb()
    ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db
    ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db
    ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb()
    ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb()
    
    Also, some sparse fixes: make two functions static, and use NULL where
    appropriate. There are still a lot of sparse warnings, mainly wrt absence
    of __iomem annotations, but some will require ugly __force stuff. I'll leave
    them for now, since proper fix would be not that trivial as few one-liners
    below.
    
    Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
    Cc: Timur Tabi <timur at freescale.com>
    Cc: Antonino Daplas <adaplas at gmail.com>
    Cc: York Sun <yorksun at freescale.com>
    Cc: Krzysztof Helt <krzysztof.h1 at poczta.fm>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 7059d4b08eba2ad046395a04b02e34ca27304d8f
Author: David Brownell <david-b at pacbell.net>
Date:   Fri Jul 4 09:59:37 2008 -0700

    gpio: pca953x (i2c) handles max7310 too
    
    The pca953x driver can handle another 8-bit I/O expander, the max7310.
    This patch adds that chip to the list of supported IDs in that driver, and
    expands the Kconfig helptext accordingly.
    
    Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit da9eac8990dc614ab4756f2a3d84870b675f1f1e
Author: Paul Mundt <lethal at linux-sh.org>
Date:   Fri Jul 4 09:59:36 2008 -0700

    lib: taint kernel in common report_bug() WARN path.
    
    Commit 95b570c9cef3b12356454c7112571b7e406b4b51 ("Taint kernel after
    WARN_ON(condition)") introduced a TAINT_WARN that was implemented for
    all architectures using the generic warn_on_slowpath(), which excluded
    any architecture that set HAVE_ARCH_WARN_ON.
    
    As all of the architectures that implement their own WARN_ON() all go
    through the report_bug() path (specifically handling BUG_TRAP_TYPE_WARN),
    taint the kernel there as well for consistency.
    
    Tested on avr32 and sh. Also relevant for s390, parisc, and powerpc.
    
    Signed-off-by: Haavard Skinnemoen <hskinnemoen at atmel.com>
    Signed-off-by: Paul Mundt <lethal at linux-sh.org>
    Acked-by: Kyle McMartin <kyle at mcmartin.ca>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit c4a2d7fbec3029c8891a3ad5fceec2992096a3b7
Author: Michael Halcrow <mhalcrow at us.ibm.com>
Date:   Fri Jul 4 09:59:35 2008 -0700

    ecryptfs: remove unnecessary mux from ecryptfs_init_ecryptfs_miscdev()
    
    The misc_mtx should provide all the protection required to keep the daemon
    hash table sane during miscdev registration.  Since this mutex is causing
    gratuitous lockdep warnings, this patch removes it.
    
    Signed-off-by: Michael Halcrow <mhalcrow at us.ibm.com>
    Reported-by: Cyrill Gorcunov <gorcunov at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 10dd08dc04c881dcc9f7f19e2a3ad8e0778e4db5
Author: Jan Kara <jack at suse.cz>
Date:   Fri Jul 4 09:59:34 2008 -0700

    reiserfs: add missing unlock to an error path in reiserfs_quota_write()
    
    When write in reiserfs_quota_write() fails, we have to properly release
    i_mutex. One error path has been missing the unlock...
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 4d04e4fbf8fc9f5136a64d45e2c20de095c08efb
Author: Jan Kara <jack at suse.cz>
Date:   Fri Jul 4 09:59:34 2008 -0700

    ext4: add missing unlock to an error path in ext4_quota_write()
    
    When write in ext4_quota_write() fails, we have to properly release
    i_mutex.  One error path has been missing the unlock...
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit f5c8f7dae75e1e6bb3200fc61302e4d5e2df3dc2
Author: Jan Kara <jack at suse.cz>
Date:   Fri Jul 4 09:59:33 2008 -0700

    ext3: add missing unlock to error path in ext3_quota_write()
    
    When write in ext3_quota_write() fails, we have to properly release
    i_mutex.  One error path has been missing the unlock...
    
    Signed-off-by: Jan Kara <jack at suse.cz>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 450c622e9ff19888818d4e2c4d31adb97a5242b2
Author: Miguel Ojeda <miguel.ojeda.sandonis at gmail.com>
Date:   Fri Jul 4 09:59:33 2008 -0700

    Miguel Ojeda has moved
    
    Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 66d715c95a39e84cd25204a665915621457d9691
Author: Tejun Heo <tj at kernel.org>
Date:   Fri Jul 4 09:59:32 2008 -0700

    pci: VT3336 can't do MSI either
    
    It seems VT3336 can't do msi either as with its bro 3351.  Disable it.
    Reported in the following SUSE bug.
    
      https://bugzilla.novell.com/show_bug.cgi?id=300001
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Acked-by: Jesse Barnes <jbarnes at virtuousgeek.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit cce3ce89c1abde1298dd0e769ab9c14ea95d7384
Author: Huacai Chen <huacai.chen at intel.com>
Date:   Fri Jul 4 09:59:31 2008 -0700

    rtc: fix CMOS time error after writing /proc/acpi/alarm
    
    When writing /proc/acpi/alarm in adjust mode, e.g.
    	echo "+0000-00-00 00:00:15" >/proc/acpi/alarm
    The "century" field should be read and added to "year" field before
    writing, otherwise the CMOS time will go back to 2000 years ago, e.g.
    	# cat /proc/acpi/alarm
    	0008-06-21 11:38:46
    Then the system time may be reset to the date of manufacture after
    rebooting. This patch fixed this issue.
    
    Signed-off-by: Huacai Chen <huacai.chen at intel.com>
    Acked-by: Pavel Machek <pavel at suse.cz>
    Acked-by: Zhao Yakui <yakui.zhao at intel.com>
    Acked-by: Alessandro Zummo <a.zummo at towertech.it>
    Acked-by: Len Brown <lenb at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 471d47e3223311d2638755717f97dc9a298f6dc9
Author: Michael Hamel <mhamel at adi.co.nz>
Date:   Fri Jul 4 09:59:30 2008 -0700

    rtc-x1205: Fix alarm set
    
    I have discovered that the current version of rtc-x1205.c does not work
    correctly when asked to set the alarm time by the RTC_WKALM_SET ioctl()
    call.  This happens because the alarm registers do not behave like the
    current-time registers.  They are non-volatile.  Two things go wrong:
    
    - the X1205 requires a 10 msec delay after any attempt to write to the
      non-volatile registers.  The x1205_set_datetime() routine does the write
      as 8 single-byte writes without any delay.  Only the first write
      succeeds.  The second is NAKed because the chip is busy.
    
    - the X1205 resets the RWEL bit after any write to the non-volatile
      registers.  This would lock out any further writes after the first even
      with a 10msec delay.
    
    I fix this by doing a single 8-byte write and then waiting 10msec for the
    chip to be ready.  A side effect of this change is that it will speed up
    x1205_rtc_set_time() which uses the same code.
    
    I have also implemented the 'enable' bit in the rtc_wkalm structure, which
    the existing driver does not attempt to do.  I have modified both
    x1205_rtc_set_alarm() to set the AL0E bit, and x1205_rtc_read_alarm() to
    return it.
    
    I have tested this patch on a LinkSys NSLU2 under OpenWRT, but on no other
    hardware.  On the NSLU2 the X1205 correctly asserts its IRQ pin when the
    alarm time matches the current time.
    
    [akpm at linux-foundation.org: clean up over-parenthesisation]
    Signed-off-by: Michael Hamel <mhamel at adi.co.nz>
    Signed-off-by: Alessandro Zummo <a.zummo at towertech.it>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 7a36a752d006f6874049da510297eeb7f09d92a7
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date:   Fri Jul 4 09:59:28 2008 -0700

    get_user_pages(): fix possible page leak on oom
    
    get_user_pages() must not return the error when i != 0.  When pages !=
    NULL we have i get_page()'ed pages.
    
    Signed-off-by: Oleg Nesterov <oleg at tv-sign.ru>
    Acked-by: Nick Piggin <npiggin at suse.de>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 7ca796f492a11f9408e661c8f22cd8c4f486b8e5
Author: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
Date:   Fri Jul 4 09:59:28 2008 -0700

    serial: fix serial_match_port() for dynamic major tty-device numbers
    
    As reported by Vipul Gandhi, the current serial_match_port() doesn't work
    for tty-devices using dynamic major number allocation.  Fix it.
    
    It oopses if you suspend a serial port with _dynamic_ major number.  ATM,
    I think, there's only the drivers/serial/jsm/jsm_driver.c driver, that
    does it in-tree.
    
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
    Tested-by: Vipul Gandhi <vcgandhi1 at aol.com>
    Cc: Alan Cox <alan at lxorguk.ukuu.org.uk>
    Cc: <stable at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 69d44a1835ec8163a82c4ee57367f87ae0f85c2e
Author: James Bottomley <James.Bottomley at HansenPartnership.com>
Date:   Fri Jul 4 09:59:27 2008 -0700

    firmware: fix the request_firmware() dummy
    
    > the build (.config attached) failed, make ends with :
    > ...
    >   UPD     include/linux/compile.h
    >   CC      init/version.o
    >   LD      init/built-in.o
    >   LD      vmlinux
    > drivers/built-in.o: In function `sas_request_addr':
    > (.text+0x33bab): undefined reference to `request_firmware'
    > drivers/built-in.o: In function `sas_request_addr':
    > (.text+0x33c3f): undefined reference to `release_firmware'
    > make: *** [vmlinux] Error 1
    
    There's a slight fault in the stub logic.  It fails for FW_LOADER=m and
    the user =y.
    
    This should fix it.
    
    This patch fixes the following 2.6.26-rc regression:
      http://bugzilla.kernel.org/show_bug.cgi?id=10730
    
    Reviewed-by: Toralf Foerster <toralf.foerster at gmx.de>
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit a01cc6570326c01e70619bf6540fb32139947c33
Author: David Brownell <david-b at pacbell.net>
Date:   Fri Jul 4 09:59:26 2008 -0700

    rtc: rtc_read_alarm() handles wraparound
    
    While 0e36a9a4a788e4e92407774df76c545910810d35 ("rtc: fix readback from
    /sys/class/rtc/rtc?/wakealarm") made sure that active alarms were never
    returned with invalid "wildcard" fields (negative), it can still report
    (wrongly) that the alarm triggers in the past.
    
    Example, if it's now 10am, an alarm firing at 5am will be triggered
    TOMORROW not today.  (Which may also be next month or next year...)
    
    This updates that alarm handling in three ways:
    
      * Handle alarm rollover in the common cases of RTCs that don't
        support matching on all date fields.
    
      * Skip the invalid-field logic when it's not needed.
    
      * Minor bugfix ... tm_isdst should be ignored, it's one of the
        fields Linux doesn't maintain.
    
    A warning is emitted for some of the unhandled rollover cases, but the
    possible combinations are a bit too numerous to handle every bit of
    potential hardware and firmware braindamage.
    
    Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
    Cc: Mark Lord <lkml at rtr.ca>
    Acked-by: Alessandro Zummo <a.zummo at towertech.it>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 251b97f552b1ad414cc5a9ccc8e4e94503edd5fc
Author: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date:   Fri Jul 4 09:59:24 2008 -0700

    mm: dirty page accounting vs VM_MIXEDMAP
    
    Dirty page accounting accurately measures the amound of dirty pages in
    writable shared mappings by mapping the pages RO (as indicated by
    vma_wants_writenotify).  We then trap on first write and call
    set_page_dirty() on the page, after which we map the page RW and
    continue execution.
    
    When we launder dirty pages, we call clear_page_dirty_for_io() which
    clears both the dirty flag, and maps the page RO again before we start
    writeout so that the story can repeat itself.
    
    vma_wants_writenotify() excludes VM_PFNMAP on the basis that we cannot
    do the regular dirty page stuff on raw PFNs and the memory isn't going
    anywhere anyway.
    
    The recently introduced VM_MIXEDMAP mixes both !pfn_valid() and
    pfn_valid() pages in a single mapping.
    
    We can't do dirty page accounting on !pfn_valid() pages as stated
    above, and mapping them RO causes them to be COW'ed on write, which
    breaks VM_SHARED semantics.
    
    Excluding VM_MIXEDMAP in vma_wants_writenotify() would mean we don't do
    the regular dirty page accounting for the pfn_valid() pages, which
    would bring back all the head-aches from inaccurate dirty page
    accounting.
    
    So instead, we let the !pfn_valid() pages get mapped RO, but fix them
    up unconditionally in the fault path.
    
    Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
    Cc: Nick Piggin <nickpiggin at yahoo.com.au>
    Acked-by: Hugh Dickins <hugh at veritas.com>
    Cc: "Jared Hulbert" <jaredeh at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit cde53535991fbb5c34a1566f25955297c1487b8d
Author: Christoph Lameter <clameter at sgi.com>
Date:   Fri Jul 4 09:59:22 2008 -0700

    Christoph has moved
    
    Remove all clameter at sgi.com addresses from the kernel tree since they will
    become invalid on June 27th.  Change my maintainer email address for the
    slab allocators to cl at linux-foundation.org (which will be the new email
    address for the future).
    
    Signed-off-by: Christoph Lameter <clameter at sgi.com>
    Signed-off-by: Christoph Lameter <cl at linux-foundation.org>
    Cc: Pekka Enberg <penberg at cs.helsinki.fi>
    Cc: Stephen Rothwell <sfr at canb.auug.org.au>
    Cc: Matt Mackall <mpm at selenic.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit a926c063738f31c8c8b5c2b883812a40e7868072
Merge: 638944adc169b3164399a7c1aa98bb48fa070e41 c7843e8f565f624b0cff7cad1370fad4cb84dfbc
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Jul 4 09:52:54 2008 -0700

    Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
    
    * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
      sata_mv: safer logic for limit_warnings
      libata-sff: improve HSM violation reporting
      ahci: always clear all bits in irq_stat
      sata_sil24: add DID for another adaptec flavor
      sata_uli: hardreset is broken

commit 638944adc169b3164399a7c1aa98bb48fa070e41
Merge: 3ea9eed49346eb80f17f1c6539c47dc508be1173 50952026036c7b4212b90091bf23a264c0ccc1fb
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Jul 4 09:51:51 2008 -0700

    Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      [MIPS] Fix bug in atomic_sub_if_positive.

commit 3ea9eed49346eb80f17f1c6539c47dc508be1173
Merge: 852bb9f594e0ea737f83487962a040ad210e8a13 41d54d3bf83f62d3ff5948cb788fe6007e66a0d0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Jul 4 09:48:21 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
      slub: Do not use 192 byte sized cache if minimum alignment is 128 byte

commit 852bb9f594e0ea737f83487962a040ad210e8a13
Author: Paul Mackerras <paulus at samba.org>
Date:   Fri Jul 4 21:04:42 2008 +1000

    Update maintainers for powerpc
    
    This updates the MAINTAINERS entries for powerpc.  It adds Ben H to
    the overall Linux for PowerPC entry and makes it clear this covers
    both 32-bit and 64-bit machines.  It removes the separate entry we had
    for Linux on 64-bit PowerPC where Anton and I were listed as
    maintainers - Anton hasn't been involved in the day-to-day maintenance
    of the code for several years.  Finally, it removes the entry for the
    Linux for PowerPC boot code where Tom Rini was listed as the
    maintainer.  That code got completely rewritten when we merged
    32-bit and 64-bit, and I and the various platform maintainers have
    been maintaining that code since.
    
    Signed-off-by: Paul Mackerras <paulus at samba.org>
    Acked-by: Tom Rini <trini at kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit c7843e8f565f624b0cff7cad1370fad4cb84dfbc
Author: Mark Lord <liml at rtr.ca>
Date:   Wed Jun 18 21:57:42 2008 -0400

    sata_mv: safer logic for limit_warnings
    
    There is a miniscule chance that two separate host controllers
    might be in sata_mv at the same time and manage to decrement
    the static limit_warnings variable below zero.
    
    Fix the comparison to deal with it.
    
    Signed-off-by: Mark Lord <mlord at pobox.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit a836d3e882161c562b3ddacee5d8842a033c5b2c
Author: Tejun Heo <tj at kernel.org>
Date:   Sat Jun 28 01:39:43 2008 +0900

    libata-sff: improve HSM violation reporting
    
    Improve SFF HSM violation reporting such that each HSM violation can
    be distinguished using ehi_desc.
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit ea0c62f7cf70f13a67830471b613337bd0c9a62e
Author: Tejun Heo <tj at kernel.org>
Date:   Sat Jun 28 01:49:02 2008 +0900

    ahci: always clear all bits in irq_stat
    
    Some AHCI controllers (ICH7 was reported) set pending bit in
    HOST_IRQ_STAT for non-existent ports and when it's not cleared falls
    into IRQ storm.  Always clear full irq_stat instead of only the bits
    that are handled.  As nothing changes for recognized ports, the risk
    of breaking things is pretty low.
    
    Reported and verified by Philipp Thomas in the following suse
    bugzilla.
    
    https://bugzilla.novell.com/attachment.cgi?id=215692
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Cc: Philipp Thomas <pth at novell.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 464b3286b4aa459059c6fda85ba55185fd21d9fc
Author: Tejun Heo <tj at kernel.org>
Date:   Wed Jul 2 17:50:23 2008 +0900

    sata_sil24: add DID for another adaptec flavor
    
    There's another DID used for Adaptec card.  Add it.
    
    Reported by Travis Read.
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Cc: Travis Read <ics at dark.net.au>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit c5a78ac00c400df29645e59938700301efb371d0
Author: Laurent Pinchart <laurentp at cse-semaphore.com>
Date:   Thu Jun 26 11:48:22 2008 +0200

    fs_enet: restore promiscuous and multicast settings in restart()
    
    The restart() function is called when the link state changes and resets
    multicast and promiscuous settings. This patch restores those settings at the
    end of restart().
    
    Signed-off-by: Laurent Pinchart <laurentp at cse-semaphore.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 6c688f4294dec3f2228fd46be67604508177a1c3
Author: Sathya Narayanan <sathyan at teamf1.com>
Date:   Tue Jul 1 10:58:19 2008 +0200

    ibm_newemac: Fixes entry of short packets
    
    Short packets has to be discarded by the driver. So this patch addresses the
    issue of discarding the short packets of size lesser then ethernet header
    size.
    
    Signed-off-by: Sathya Narayanan <sathyan at teamf1.com>
    Signed-off-by: Stefan Roese <sr at denx.de>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit ab9b30cc3ec868fab8764d710193107fbeedbd0f
Author: Sathya Narayanan <sathyan at teamf1.com>
Date:   Tue Jul 1 10:58:05 2008 +0200

    ibm_newemac: Fixes kernel crashes when speed of cable connected changes
    
    The descriptor pointers were not initialized to NIL values, so it was
    poiniting to some random addresses which was completely invalid. This
    fix takes care of initializing the descriptor to NIL values and clearing
    the valid descriptors on clean ring operation.
    
    Signed-off-by: Sathya Narayanan <sathyan at teamf1.com>
    Signed-off-by: Stefan Roese <sr at denx.de>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 773212337941c5e26a05989532943877d72a2c83
Author: Roland Dreier <rdreier at cisco.com>
Date:   Tue Jul 1 10:22:45 2008 -0700

    pasemi_mac: Access iph->tot_len with correct endianness
    
    iph->tot_len is stored in network byte order, so access it using
    ntohs().  This doesn't have any real world impact on pasemi_mac, since
    the device only exists as part of a big-endian system-on-chip, but
    fixing this gets rid of a sparse warning and avoids having a bad example
    in the tree.
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 3ff2cd230de31e3b7bf2efd254e0393e5fc1d15d
Author: Roland Dreier <rdreier at cisco.com>
Date:   Tue Jul 1 10:20:33 2008 -0700

    ehea: Access iph->tot_len with correct endianness
    
    iph->tot_len is stored in network byte order, so access it using
    ntohs().  This doesn't have any real world impact on ehea, since ehea
    only exists for big-endian platfroms (at the moment at least) but fixing
    this gets rid of a sparse warning and avoids having a bad example in the
    tree.
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 2f69ae01c83a94af5dc3c20e8135b974687ed004
Author: Jan-Bernd Themann <ossthema at de.ibm.com>
Date:   Thu Jul 3 15:18:51 2008 +0100

    ehea: fix race condition
    
    When ehea_stop is called the function
    cancel_work_sync(&port->reset_task) is used to ensure
    that the reset task is not running anymore. We need an
    additional flag to ensure that it can not be scheduled
    after this call again for a certain time.
    
    Signed-off-by: Jan-Bernd Themann <themann at de.ibm.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit b0afffe89be619f42ae4215554ed66e67de7bb0e
Author: Jan-Bernd Themann <ossthema at de.ibm.com>
Date:   Thu Jul 3 15:18:48 2008 +0100

    ehea: add MODULE_DEVICE_TABLE
    
    Required to allow distros to easily detect when ehea
    module needs to be loaded
    
    Signed-off-by: Jan-Bernd Themann <themann at de.ibm.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 5c2cec143ac54c1960e54bc320fa7d13ac8e0f4a
Author: Jan-Bernd Themann <ossthema at de.ibm.com>
Date:   Thu Jul 3 15:18:45 2008 +0100

    ehea: fix might sleep problem
    
    A mutex has to be replaced by spinlocks as it can be called from
    a context which does not allow sleeping.
    The kzalloc flag GFP_KERNEL has to be replaced by GFP_ATOMIC
    for the same reason.
    
    Signed-off-by: Jan-Bernd Themann <themann at de.ibm.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 97bff0953dd45a633fa69e1a650d612f5610a60b
Author: Tobias Diedrich <ranma+kernel at tdiedrich.de>
Date:   Thu Jul 3 23:54:56 2008 -0700

    forcedeth: fix lockdep warning on ethtool -s
    
    After enabling CONFIG_LOCKDEP and CONFIG_PROVE_LOCKING I get the
    following warning when ethtool -s is first called on one of the
    forcedeth ports:
    
    =================================
    [ INFO: inconsistent lock state ]
    2.6.26-rc4 #28
    ---------------------------------
    inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
    ethtool/1985 [HC0[0]:SC0[1]:HE1:SE0] takes:
     (&np->lock){++..}, at: [<ffffffffa000c5fd>] nv_set_settings+0xc8/0x3de [forcedeth]
    {in-hardirq-W} state was registered at:
      [<ffffffffffffffff>] 0xffffffffffffffff
    irq event stamp: 3606
    hardirqs last  enabled at (3605): [<ffffffff8068106f>] _spin_unlock_irqrestore+0x3f/0x68
    hardirqs last disabled at (3604): [<ffffffff80680d38>] _spin_lock_irqsave+0x13/0x46
    softirqs last  enabled at (3534): [<ffffffff80246ba5>] __do_softirq+0xbc/0xc5
    softirqs last disabled at (3606): [<ffffffff80680b33>] _spin_lock_bh+0x11/0x41
    
    other info that might help us debug this:
    2 locks held by ethtool/1985:
     #0:  (rtnl_mutex){--..}, at: [<ffffffff80596072>] rtnl_lock+0x12/0x14
     #1:  (_xmit_ETHER){-+..}, at: [<ffffffffa000c5e8>] nv_set_settings+0xb3/0x3de [forcedeth]
    stack backtrace:
    Pid: 1985, comm: ethtool Not tainted 2.6.26-rc4 #28
    Call Trace:
     [<ffffffff8025f190>] print_usage_bug+0x162/0x173
     [<ffffffff8025fa8b>] mark_lock+0x231/0x41f
     [<ffffffff802607cf>] __lock_acquire+0x4e7/0xcac
     [<ffffffff8025fe64>] ? trace_hardirqs_on+0xf1/0x115
     [<ffffffff80272c3a>] ? disable_irq_nosync+0x6f/0x7b
     [<ffffffff80261375>] lock_acquire+0x55/0x6e
     [<ffffffffa000c5fd>] ? :forcedeth:nv_set_settings+0xc8/0x3de
     [<ffffffff80680b15>] _spin_lock+0x2f/0x3c
     [<ffffffffa000c5fd>] :forcedeth:nv_set_settings+0xc8/0x3de
     [<ffffffff8058f8bb>] dev_ethtool+0x186/0xea3
     [<ffffffff8067f446>] ? mutex_lock_nested+0x243/0x275
     [<ffffffff8025df2b>] ? debug_mutex_free_waiter+0x46/0x4a
     [<ffffffff8067f469>] ? mutex_lock_nested+0x266/0x275
     [<ffffffff8058e1ce>] dev_ioctl+0x4eb/0x600
     [<ffffffff8068106f>] ? _spin_unlock_irqrestore+0x3f/0x68
     [<ffffffff80580f91>] sock_ioctl+0x1f5/0x202
     [<ffffffff802a322e>] vfs_ioctl+0x2a/0x77
     [<ffffffff802a34d6>] do_vfs_ioctl+0x25b/0x270
     [<ffffffff806807b6>] ? trace_hardirqs_on_thunk+0x35/0x3a
     [<ffffffff802a352d>] sys_ioctl+0x42/0x65
     [<ffffffff8021fffb>] system_call_after_swapgs+0x7b/0x80
    
    This is caused by the following snippet in nv_set_settings:
    
    	netif_carrier_off(dev);
    	if (netif_running(dev)) {
    		nv_disable_irq(dev);
    		netif_tx_lock_bh(dev);
    		spin_lock(&np->lock);
    		/* stop engines */
    		nv_stop_rxtx(dev);
    		spin_unlock(&np->lock);
    		netif_tx_unlock_bh(dev);
    	}
    
    Because of nv_disable_irq this is probably not really a problem
    though (I guess) and replacing the spin_lock with spin_lock_irqsave
    could keep interrupts disabled for a longer period of time because
    of delays in nv_stop_rx and nv_stop_tx.
    
    Signed-off-by: Tobias Diedrich <ranma+kernel at tdiedrich.de>
    Cc: Ayaz Abdulla <aabdulla at nvidia.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 54364b752ef0c91fe92684df000cc4593d1e8963
Author: Krzysztof Halasa <khc at pm.waw.pl>
Date:   Sun Jun 29 21:48:11 2008 +0200

    Add missing skb->dev assignment in Frame Relay RX code
    
    Commit 4c13eb6657fe9ef7b4dc8f1a405c902e9e5234e0 ([ETH]: Make
    eth_type_trans set skb->dev like the other *_type_trans) removed
    skb->dev assignment from hdlc_fr.c:fr_rx(). Unfortunately it was also
    needed for cases other than eth_type_trans().
    
    Adding it back.
    
    It's quite serious and may be a security risk as it causes a wrong
    input interface indication (the physical hdlcX instead of logical
    pvcX). Probably -stable class fix.
    
    Signed-off-by: Krzysztof Halasa <khc at pm.waw.pl>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit d8355aca23863be659ec5b7e0393cfbfa91ec221
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date:   Thu Jul 3 22:10:18 2008 -0700

    xen: fix address truncation in pte mfn<->pfn conversion
    
    When converting the page number in a pte/pmd/pud/pgd between
    machine and pseudo-physical addresses, the converted result was
    being truncated at 32-bits.  This caused failures on machines
    with more than 4G of physical memory.
    
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Cc: "Christopher S. Aker" <caker at theshore.net>
    Cc: Ian Campbell <Ian.Campbell at eu.citrix.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 50952026036c7b4212b90091bf23a264c0ccc1fb
Author: Ralf Baechle <ralf at linux-mips.org>
Date:   Thu Jul 3 23:28:35 2008 +0100

    [MIPS] Fix bug in atomic_sub_if_positive.
    
    The branch optimization fixes in 2.6.21 introduced a bug in
    atomic_sub_if_positive that causes it to return even when the sc
    instruction fails. The result is that e.g. down_trylock becomes unreliable
    as the semaphore counter is not always decremented.
    
    Original MUA-shredded patch from Morten Larsen <mlarsen at broadcom.com>.
    
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit bf9127c36341573dc47a9c2fc003dcf13bbbf246
Merge: b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f b89cbb81aec2015b4020221564ced1569e1a8900
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 3 21:29:08 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
      USB: adding comment for ipaq forcing number of ports
      USB: fix Oops on loading ipaq module since 2.6.26
      USB: add a pl2303 device id
      USB: another option device id
      USB: don't lose disconnections during suspend
      USB: fix interrupt disabling for HCDs with shared interrupt handlers
      USB: New device ID for ftdi_sio driver
      sisusbvga: Fix oops on disconnect.
      USB: mass storage: new id for US_SC_CYP_ATACB
      USB: ohci - record data toggle after unlink
      USB: ehci - fix timer regression
      USB: fix cdc-acm resume()
      OHCI: Fix problem if SM501 and another platform driver is selected

commit b89cbb81aec2015b4020221564ced1569e1a8900
Author: Oliver Neukum <oliver at neukum.org>
Date:   Thu Jul 3 17:14:16 2008 +0200

    USB: adding comment for ipaq forcing number of ports
    
    The reason for forcing a number of ports should be documented.
    
    Signed-off-by: Oliver Neukum <oneukum at suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 4edb966b375dfbabfc96b580a164c5ae90584aa0
Author: Oliver Neukum <oliver at neukum.org>
Date:   Thu Jul 3 10:05:57 2008 +0200

    USB: fix Oops on loading ipaq module since 2.6.26
    
    Fixes bugzilla.kernel.org #10868
    
    Signed-off-by: Oliver Neukum <oneukum at suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 727df3569b358ef440683787c2b9fe8cc55a0954
Author: Greg Kroah-Hartman <gregkh at suse.de>
Date:   Wed Jul 2 15:25:41 2008 -0500

    USB: add a pl2303 device id
    
    As reported by Ken A Scott <kscott9 at sent.com>
    
    Cc: Ken A Scott <kscott9 at sent.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit d2e2affba4a3619df203d3be8d655ec48d00e3ec
Author: Greg Kroah-Hartman <gregkh at suse.de>
Date:   Tue Jul 1 13:11:56 2008 +0530

    USB: another option device id
    
    Thanks to umesh b <umesh.kollam at gmail.com> for the information here.
    
    Cc: umesh b <umesh.kollam at gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 1236edf1c70107a0d31b3fba0b2a8783615d0d24
Author: Alan Stern <stern at rowland.harvard.edu>
Date:   Tue Jul 1 10:45:51 2008 -0400

    USB: don't lose disconnections during suspend
    
    This patch (as1111) fixes a bug in the hub driver.  When a hub
    resumes, disconnections that occurred while the hub was suspended are
    lost.
    
    A completely different fix for this problem has already been accepted
    for 2.6.27; however the problem still needs to be handled in 2.6.26.
    
    Signed-off-by: Alan Stern <stern at rowland.harvard.edu>
    Tested-by: Lukas Hejtmanek <xhejtman at ics.muni.cz>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit de85422b94ddb23c021126815ea49414047c13dc
Author: Stefan Becker <Stefan.Becker at nokia.com>
Date:   Tue Jul 1 19:19:22 2008 +0300

    USB: fix interrupt disabling for HCDs with shared interrupt handlers
    
    USB: fix interrupt disabling for HCDs with shared interrupt handlers
    
    As has been discussed several times on LKML, IRQF_SHARED | IRQF_DISABLED
    doesn't work reliably, i.e. a shared interrupt handler CAN'T be certain to
    be called with interrupts disabled. Most USB HCD handlers use IRQF_DISABLED
    and therefore havoc can break out if they share their interrupt with a
    handler that doesn't use it.
    
    On my test machine the yenta_socket interrupt handler (no IRQF_DISABLED)
    was registered before ehci_hcd and one uhci_hcd instance. Therefore all
    usb_hcd_irq() invocations for ehci_hcd and for one uhci_hcd instance
    happened with interrupts enabled. That led to random lockups as USB core
    HCD functions that acquire the same spinlock could be called twice
    from interrupt handlers.
    
    This patch updates usb_hcd_irq() to always disable/restore interrupts.
    usb_add_hcd() will silently remove any IRQF_DISABLED requested from HCD code.
    
    Signed-off-by: Stefan Becker <stefan.becker at nokia.com>
    Cc: stable <stable at kernel.org>
    Acked-by: David Brownell <david-b at pacbell.net>
    Acked-by: Alan Stern <stern at rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 2542335ccf34cfb442d3fd842d7e78ca5e649951
Author: Jon K Hellan <hellan at acm.org>
Date:   Tue Jun 24 11:43:13 2008 +0200

    USB: New device ID for ftdi_sio driver
    
    Here's a new device ID for the ftdio_sio driver.
    The diff is with linus's tree as of this morning.
    
    The device is the RigExpert Tiny USB Soundcard Transceiver Interface for ham
    radio.
    
    (I didn't actually test this. A fellow ham couldn't get the device to work, and
    I suggested binding the device ID using sysfs - see
    "http://jk.ufisa.uninett.no/usb/". However, he had had moved on to other things
    by then. I guess adding the device ID to the kernel "on spec" won't hurt.
    The relevant part of cat /proc/bus/usb/devices shows:
    
    T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=0403 ProdID=ed22 Rev= 5.00
    S:  Manufacturer=FTDI
    S:  Product=MixW RigExpert Tiny
    S:  SerialNumber=00000000
    C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
    E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
    E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    )
    
    From: Jon K Hellan <hellan at acm.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit f15e39739a1d7dfaa2173a91707a74c11a246648
Author: Will Newton <will.newton at gmail.com>
Date:   Fri Jun 27 13:08:08 2008 +0100

    sisusbvga: Fix oops on disconnect.
    
    Remove dev_info call on disconnect. The sisusb_dev pointer may have been
    set to zero by sisusb_delete at this point causing an oops.
    
    The message does not provide any extra information over the standard USB
    subsystem output so removing it does not affect functionality.
    
    Signed-off-by: Will Newton <will.newton at gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit e72616f429a6aaa720a2d90b8fe94869f3c3ff4b
Author: matthieu castet <castet.matthieu at free.fr>
Date:   Mon Jun 16 19:49:06 2008 +0200

    USB: mass storage: new id for US_SC_CYP_ATACB
    
    CY7C68310 chip also support cypress atacb "ATA command" pass_thru.
    
    
    Signed-off-by: Matthieu CASTET <castet.matthieu at free.fr>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 29c8f6a727a683b5988877dd80dbdefd49e64a51
Author: David Brownell <dbrownell at users.sourceforge.net>
Date:   Fri Jun 13 23:59:54 2008 -0700

    USB: ohci - record data toggle after unlink
    
    This patch fixes a problem with OHCI where canceling bulk or
    interrupt URBs may lose track of the right data toggle.  This
    seems to be a longstanding bug, possibly dating back to the
    Linux 2.4 kernel, which stayed hidden because
    
     (a) about half the time the data toggle bit was correct;
     (b) canceling such URBs is unusual; and
     (c) the few drivers which cancel these URBs either
          [1] do it only as part of shutting down, or
          [2] have fault recovery logic, which recovers.
    
    For those transfer types, the toggle is normally written back
    into the ED when each TD is retired.  But canceling bypasses
    the mechanism used to retire TDs ... so on average, half the
    time the toggle bit will be invalid after cancelation.
    
    The fix is simple:  the toggle state of any canceled TDs are
    propagated back to the ED in the finish_unlinks function.
    
    (Issue found by leonidv11 at gmail.com ...)
    
    Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
    Cc: Leonid <leonidv11 at gmail.com>
    Cc: stable <stable at kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 056761e55c8687ddf3db14226213f2e8dc2689bc
Author: David Brownell <david-b at pacbell.net>
Date:   Fri Jun 13 23:56:48 2008 -0700

    USB: ehci - fix timer regression
    
    This patch fixes a regression in the EHCI driver's TIMER_IO_WATCHDOG
    behavior.  The patch "USB: EHCI: add separate IAA watchdog timer" changed
    how that timer is handled, so that short timeouts on the remaining
    timer (unfortunately, overloaded) would never be used.
    
    This takes a more direct approach, reorganizing the code slightly to
    be explicit about only the I/O watchdog role now being overridable.
    It also replaces a now-obsolete comment describing older timer behavior.
    
    Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
    Cc: Alan Stern <stern at rowland.harvard.edu>
    Cc: Leonid <leonidv11 at gmail.com>
    Cc: stable <stable at kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 4b828abed217527ca815727a1a251334bd8e5e04
Author: Oliver Neukum <oliver at neukum.org>
Date:   Tue Jun 17 22:30:48 2008 +0200

    USB: fix cdc-acm resume()
    
    cdc-acm has
    - a memory leak in resume()
    - will fail to reactivate the read code path if this is needed.
    his corrects it by deleting the useless relict code.
    
    Signed-off-by: Oliver Neukum <oneukum at suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit 3ee38d8bf46b364b1ca364ddb7c379a4afcd8bbb
Author: Ben Dooks <ben-linux at fluff.org>
Date:   Sun Jun 8 17:20:11 2008 +0100

    OHCI: Fix problem if SM501 and another platform driver is selected
    
    If the SM501 and another platform driver, such as the SM501
    then we end up defining PLATFORM_DRIVER twice. This patch
    seperated the SM501 onto a seperate define of SM501_OHCI_DRIVER
    so that it can be selected without overwriting the original
    definition.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>
    Acked-by: David Brownell <dbrownell at users.sourceforge.net>
    Cc: stable <stable at kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

commit b620754bfeb8b0e0c6622b03d5ee2f1af1d3082f
Author: J. Bruce Fields <bfields at citi.umich.edu>
Date:   Thu Jul 3 15:26:35 2008 -0400

    svcrpc: fix handling of garbage args
    
    To return garbage_args, the accept_stat must be 0, and we must have a
    verifier.  So we shouldn't be resetting the write pointer as we reject
    the call.
    
    Also, we must add the two placeholder words here regardless of success
    of the unwrap, to ensure the output buffer is left in a consistent state
    for svcauth_gss_release().
    
    This fixes a BUG() in svcauth_gss.c:svcauth_gss_release().
    
    Thanks to Aime Le Rouzic for bug report, debugging help, and testing.
    
    Signed-off-by: J. Bruce Fields <bfields at citi.umich.edu>
    Tested-by: Aime Le Rouzic <aime.le-rouzic at bull.net>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 97055a915720fe1aff9ac71c17fae60e929d4ed6
Merge: ee3ece830f6db9837f7ac67008f532a8c1e755f4 8986d2f50e1a9ba63f64ccbf59181886aa7898c3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 3 11:37:19 2008 -0700

    Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      [MIPS] cevt-txx9: Reset timer counter on initialization
      [MIPS] IP22: Fix crashes due to wrong L1_CACHE_BYTES
      [MIPS] IP32: Fix unexpected irq 71

commit ee3ece830f6db9837f7ac67008f532a8c1e755f4
Author: Steven Rostedt <rostedt at goodmis.org>
Date:   Thu Jul 3 14:31:26 2008 -0400

    hrtimer: prevent migration for raising softirq
    
    Due to a possible deadlock, the waking of the softirq was pushed outside
    of the hrtimer base locks. See commit 0c96c5979a522c3323c30a078a70120e29b5bdbc
    
    Unfortunately this allows the task to migrate after setting up the softirq
    and raising it. Since softirqs run a queue that is per-cpu we may raise the
    softirq on the wrong CPU and this will keep the queued softirq task from
    running.
    
    To solve this issue, this patch disables preemption around the releasing
    of the hrtimer lock and raising of the softirq.
    
    Signed-off-by: Steven Rostedt <srostedt at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 8986d2f50e1a9ba63f64ccbf59181886aa7898c3
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date:   Tue Jun 24 23:26:38 2008 +0900

    [MIPS] cevt-txx9: Reset timer counter on initialization
    
    The txx9_tmr_init() will not clear a timer counter register in a certain
    case.  The counter register is cleared on 1->0 transition of TCE bit if
    CRE=1.  So just clearing the TCE bit is not enough.
    
    Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit 7e3297dc280f88ec0c6619a895f3d449776f952e
Author: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Date:   Fri Jun 27 23:52:26 2008 +0200

    [MIPS] IP22: Fix crashes due to wrong L1_CACHE_BYTES
    
    The introduction of a real dma cache invalidate makes it important
    to have a correct cache line size, otherwise the kernel will gives
    out two memory segment, which might share one cache line. The R4400
    Indy/Indigo2 CPU modules are using a second level cache line size
    of 128 bytes, so MIPS_L1_CACHE_SHIFT needs to be bumped up to 7 for
    IP22.
    
    Signed-off-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit 1faf7f25b2aa4fcd2ae0ec2fd2e9fb9ff4bfee10
Author: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Date:   Tue Jun 24 00:48:05 2008 +0200

    [MIPS] IP32: Fix unexpected irq 71
    
    It's possible that the crime interrupt handler is called without
    pending interrupts (probably a hardware issue). To avoid irritating
    "unexpected irq 71" messages, we now just ignore the spurious crime
    interrupts.
    
    Signed-off-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
    Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

commit 6beef7eb0c16b5216814148b04838cfa963d2cb4
Merge: 494de90098784b8e2797598cefdd34188884ec2e 2e4bef41a0f7df31be140ef354b9c12f2299016a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Thu Jul 3 09:28:44 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
      9p: fix O_APPEND in legacy mode

commit 494de90098784b8e2797598cefdd34188884ec2e
Author: Mel Gorman <mel at csn.ul.ie>
Date:   Thu Jul 3 05:27:51 2008 +0100

    Do not overwrite nr_zones on !NUMA when initialising zlcache_ptr
    
    The non-NUMA case of build_zonelist_cache() would initialize the
    zlcache_ptr for both node_zonelists[] to NULL.
    
    Which is problematic, since non-NUMA only has a single node_zonelists[]
    entry, and trying to zero the non-existent second one just overwrote the
    nr_zones field instead.
    
    As kswapd uses this value to determine what reclaim work is necessary,
    the result is that kswapd never reclaims.  This causes processes to
    stall frequently in low-memory situations as they always direct reclaim.
    This patch initialises zlcache_ptr correctly.
    
    Signed-off-by: Mel Gorman <mel at csn.ul.ie>
    Tested-by: Dan Williams <dan.j.williams at intel.com>
    [ Simplified patch a bit ]
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 41d54d3bf83f62d3ff5948cb788fe6007e66a0d0
Author: Christoph Lameter <cl at linux-foundation.org>
Date:   Thu Jul 3 09:14:26 2008 -0500

    slub: Do not use 192 byte sized cache if minimum alignment is 128 byte
    
    The 192 byte cache is not necessary if we have a basic alignment of 128
    byte. If it would be used then the 192 would be aligned to the next 128 byte
    boundary which would result in another 256 byte cache. Two 256 kmalloc caches
    cause sysfs to complain about a duplicate entry.
    
    MIPS needs 128 byte aligned kmalloc caches and spits out warnings on boot without
    this patch.
    
    Signed-off-by: Christoph Lameter <cl at linux-foundation.org>
    Signed-off-by: Pekka Enberg <penberg at cs.helsinki.fi>

commit 2e4bef41a0f7df31be140ef354b9c12f2299016a
Author: Eric Van Hensbergen <ericvh at gmail.com>
Date:   Tue Jun 24 17:39:39 2008 -0500

    9p: fix O_APPEND in legacy mode
    
    The legacy protocol's open operation doesn't handle an append operation
    (it is expected that the client take care of it).  We were incorrectly
    passing the extended protocol's flag through even in legacy mode.  This
    was reported in bugzilla report #10689.  This patch fixes the problem
    by disallowing extended protocol open modes from being passed in legacy
    mode and implemented append functionality on the client side by adding
    a seek after the open.
    
    Signed-off-by: Eric Van Hensbergen <ericvh at gmail.com>

commit ab1b20467cd2214ad89a95d007047cd2a6b5bf5d
Author: Patrick McHardy <kaber at trash.net>
Date:   Thu Jul 3 03:53:42 2008 -0700

    bridge: fix use-after-free in br_cleanup_bridges()
    
    Unregistering a bridge device may cause virtual devices stacked on the
    bridge, like vlan or macvlan devices, to be unregistered as well.
    br_cleanup_bridges() uses for_each_netdev_safe() to iterate over all
    devices during cleanup. This is not enough however, if one of the
    additionally unregistered devices is next in the list to the bridge
    device, it will get freed as well and the iteration continues on
    the freed element.
    
    Restart iteration after each bridge device removal from the beginning to
    fix this, similar to what rtnl_link_unregister() does.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Acked-by: Stephen Hemminger <shemminger at vyatta.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 374e7b59498ce0785b3727794b351221528a5159
Author: Octavian Purdila <opurdila at ixiacom.com>
Date:   Thu Jul 3 03:31:21 2008 -0700

    tcp: fix a size_t < 0 comparison in tcp_read_sock
    
    <used> should be of type int (not size_t) since recv_actor can return
    negative values and it is also used in a < 0 comparison.
    
    Signed-off-by: Octavian Purdila <opurdila at ixiacom.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 81b23b4a7acd9b37a269c62d02479d4f645dd20a
Author: Andrew Morton <akpm at linux-foundation.org>
Date:   Thu Jul 3 03:22:02 2008 -0700

    tcp: net/ipv4/tcp.c needs linux/scatterlist.h
    
    alpha:
    
    net/ipv4/tcp.c: In function 'tcp_calc_md5_hash':
    net/ipv4/tcp.c:2479: error: implicit declaration of function 'sg_init_table'    net/ipv4/tcp.c:2482: error: implicit declaration of function 'sg_set_buf'
    net/ipv4/tcp.c:2507: error: implicit declaration of function 'sg_mark_end'
    
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 27df66a406a171308b138bd84938cb735392e15c
Author: Andrew Morton <akpm at linux-foundation.org>
Date:   Thu Jul 3 10:14:10 2008 +0200

    arch/x86/mm/init_64.c: early_memtest(): fix types
    
    fix this warning:
    
    arch/x86/mm/init_64.c: In function 'early_memtest':
    arch/x86/mm/init_64.c:524: warning: passing argument 2 of 'find_e820_area_size' from incompatible pointer type
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 216705d2720dedf630b55d641737f430ead0c228
Author: Hugh Dickins <hugh at veritas.com>
Date:   Wed Jul 2 22:48:03 2008 +0100

    x86: fix Intel Mac booting with EFI
    
    Fedora reports that mem_init()'s zap_low_mappings(), extended to SMP in
    61165d7a035f6571c7576e7f51e7230157724c8d x86: fix app crashes after SMP
    resume causes 32-bit Intel Mac machines to reboot very early when
    booting with EFI.
    
    The EFI code appears to manage low mappings for itself when needed; but
    like many before it, confuses PSE with PAE.  So it has only been mapping
    half the space it needed when PSE but not PAE.  This remained unnoticed
    until we moved the SMP zap_low_mappings() before
    efi_enter_virtual_mode().  Presumably could have been noticed years ago
    if anyone ran a UP kernel on such machines?
    
    Reported-by: Peter Jones <pjones at redhat.com>
    Signed-off-by: Hugh Dickins <hugh at veritas.com>
    Cc: Peter Jones <pjones at redhat.com>
    Cc: Glauber Costa <gcosta at redhat.com>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Cc: Linus Torvalds <torvalds at linux-foundation.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Tested-by: Peter Jones <pjones at redhat.com>

commit 2fff58fce14701e27d5e8a50fa73caef9a6907f5
Merge: c461a973118346d5c103aaaddd62e53939fd7c67 7b58ccfe32f40eca8c8ca29aa723a5d0e814f0c9
Author: David S. Miller <davem at davemloft.net>
Date:   Wed Jul 2 22:13:20 2008 -0700

    Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6

commit c461a973118346d5c103aaaddd62e53939fd7c67
Merge: 9ad4107ba137f743fc531f9f4ceb81b122f9ff25 a13307cef8bf51990ef1d525b1cbdcc2cfe07e2a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:29:16 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
      PCI: acpiphp: cleanup notify handler on all root bridges
      PCI: Limit VPD read/write lengths for Broadcom 5706, 5708, 5709 rev.
      PCI: Restrict VPD read permission to root

commit 9ad4107ba137f743fc531f9f4ceb81b122f9ff25
Merge: 0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489 d150a4bbd0e5c6427e66086b139953428680160b
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:26:38 2008 -0700

    Merge branch 'i2c-fix' of git://aeryn.fluff.org.uk/bjdooks/linux
    
    * 'i2c-fix' of git://aeryn.fluff.org.uk/bjdooks/linux:
      I2C: S3C2410: Add MODULE_ALIAS() for s3c2440 device.
      I2C: S3C2410: Fixup error codes returned rom a transfer.
      I2C: S3C2410: Check ACK on byte transmission

commit 0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489
Merge: 23c0e4a2257051113a99e1377c49af224bd27bc8 18ce3751ccd488c78d3827e9f6bf54e6322676fb
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:25:36 2008 -0700

    Merge branch 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block
    
    * 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block:
      Properly notify block layer of sync writes
      block: Fix the starving writes bug in the anticipatory IO scheduler

commit 23c0e4a2257051113a99e1377c49af224bd27bc8
Merge: 3a57a788757738b8f80a82d4f5101fefb8fd7a58 3a677d216445dba3332a000063405de3fc135859
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:24:48 2008 -0700

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
      [IA64] export account_system_vtime
      [IA64] Bugfix for system with 32 cpus

commit 3a57a788757738b8f80a82d4f5101fefb8fd7a58
Merge: a16b4bcd31a73a81b6d2b8ffa6b5f6ed01cf6d64 06f3ed23b1e1038da649c4836b51fe035f5536bd
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:23:52 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
      V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected
      V4L/DVB (8145a): USB Video Class driver

commit a16b4bcd31a73a81b6d2b8ffa6b5f6ed01cf6d64
Merge: 15895b932b8a047a1db7006a4f9ca74485d5a826 4283e1babe167e0ba856bb5d039465358e90785c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:22:54 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
      ide: fix /proc/ide/ide?/mate reporting
      Revert "BAST: Remove old IDE driver"

commit 15895b932b8a047a1db7006a4f9ca74485d5a826
Merge: 3e2a078ca6a0d3122bbf2b904cd7ccf21a5ca21d 08383ef29faa7fa247962e6b8662c8683e34da01
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:22:25 2008 -0700

    Merge master.kernel.org:/home/rmk/linux-2.6-arm
    
    * master.kernel.org:/home/rmk/linux-2.6-arm:
      [ARM] 5131/1: Annotate platform_secondary_init with trace_hardirqs_off
      [ARM] 5117/1: pxafb: fix __devinit/exit annotations
      [ARM] Export dma_sync_sg_for_device()
      [ARM] 5109/1: Mark rtc sa1100 driver as wakeup source before registering it
      [ARM] 5116/1: pxafb: cleanup and fix order of failure handling
      [ARM] 5115/1: pxafb: fix ifdef for command line option handling
      ARM: OMAP: Correcting the gpmc prefetch control register address
      ARM: OMAP: DMA: Don't mark channel active in omap_enable_channel_irq

commit 3e2a078ca6a0d3122bbf2b904cd7ccf21a5ca21d
Author: Alan Cox <alan at redhat.com>
Date:   Mon Jun 30 17:40:08 2008 +0100

    tty: Fix inverted logic in send_break
    
    Not sure how this came to get inverted but it appears to have been my
    mess up.
    
    Signed-off-by: Alan Cox <alan at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit b2a4a7ce3a995b83f59792ec9981d20ac550ccb0
Merge: f7572da502916e6abac06d698c0b6a7119cea0c1 619b0488038224391e64fa03854651ca0f5efe56
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:12:53 2008 -0700

    Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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 divide error when trying to configure rt_period to zero

commit f7572da502916e6abac06d698c0b6a7119cea0c1
Merge: c000131c711f68cb68712e6553ddce5fa6ad5c5c 8e29da9ee8958cc17e27f4053420f1c982614793
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 19:00:29 2008 -0700

    Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
    
    * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
      i2c: Fix bad hint about irqs in i2c.h
      i2c: Documentation: fix device matching description

commit c000131c711f68cb68712e6553ddce5fa6ad5c5c
Merge: 041924ec2f40efa6a3163144a5481a000804199d 8558f8f81680a43d383abd1b5f23d3501fedfa65
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:59:45 2008 -0700

    Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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 hotplug vs rcu race

commit 041924ec2f40efa6a3163144a5481a000804199d
Merge: f36b7a2c170ff1dbbb38d235817e04020b196950 efac41894df57d32b483ac622d03541b5b2692c0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:58:56 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      x86: fix NODES_SHIFT Kconfig range

commit f36b7a2c170ff1dbbb38d235817e04020b196950
Merge: cefcade9e7b2331110fdd709b5871ebcc5f9a40f ec5e69f6d3f4350681d6f7eaae515cf014be9276
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:57:33 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
      [SCSI] esp: tidy up target reference counting
      [SCSI] esp: Fix OOPS in esp_reset_cleanup().
      [SCSI] ses: Fix timeout

commit cefcade9e7b2331110fdd709b5871ebcc5f9a40f
Merge: c6b96d195a0fd132d6e8c783216d1d3f686e5ba8 c7f1b2044191a82e7f0a1a674751ed582289e2e0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:55:17 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
      dm crypt: use cond_resched

commit c6b96d195a0fd132d6e8c783216d1d3f686e5ba8
Merge: 79ff1ad2eec1c106962241f6346958b9641e34f3 9bbbca3a0ee09293108b67835c6bdf6196d7bcb3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:47:10 2008 -0700

    Merge branch 'for-2.6.26' of git://neil.brown.name/md
    
    * 'for-2.6.26' of git://neil.brown.name/md:
      Fix error paths if md_probe fails.
      Don't acknowlege that stripe-expand is complete until it really is.
      Ensure interrupted recovery completed properly (v1 metadata plus bitmap)

commit 79ff1ad2eec1c106962241f6346958b9641e34f3
Merge: 821b03ffac8851d6bc1d5530183d2ed25adae35d 781c74b1e660d045c2e380b4ada02534f415685c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:45:29 2008 -0700

    Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
    
    * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
      powerpc/mpc5200: Fix lite5200b suspend/resume
      powerpc/legacy_serial: Bail if reg-offset/shift properties are present
      powerpc/bootwrapper: update for initrd with simpleImage

commit 821b03ffac8851d6bc1d5530183d2ed25adae35d
Merge: 3d25802e3ba7c82457b5c12bbfeefe391d8a333e 2fe195cfe3e53c144d247b2768e37732e8eae4d8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Jul 2 18:43:16 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (55 commits)
      net: fib_rules: fix error code for unsupported families
      netdevice: Fix wrong string handle in kernel command line parsing
      net: Tyop of sk_filter() comment
      netlink: Unneeded local variable
      net-sched: fix filter destruction in atm/hfsc qdisc destruction
      net-sched: change tcf_destroy_chain() to clear start of filter list
      ipv4: fix sysctl documentation of time related values
      mac80211: don't accept WEP keys other than WEP40 and WEP104
      hostap: fix sparse warnings
      hostap: don't report useless WDS frames by default
      textsearch: fix Boyer-Moore text search bug
      netfilter: nf_conntrack_tcp: fixing to check the lower bound of valid ACK
      ipv6 route: Convert rt6_device_match() to use RT6_LOOKUP_F_xxx flags.
      netlabel: Fix a problem when dumping the default IPv6 static labels
      net/inet_lro: remove setting skb->ip_summed when not LRO-able
      inet fragments: fix race between inet_frag_find and inet_frag_secret_rebuild
      CONNECTOR: add a proc entry to list connectors
      netlink: Fix some doc comments in net/netlink/attr.c
      tcp: /proc/net/tcp rto,ato values not scaled properly (v2)
      include/linux/netdevice.h: don't export MAX_HEADER to userspace
      ...

commit 3d25802e3ba7c82457b5c12bbfeefe391d8a333e
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Tue Jul 1 12:32:52 2008 -0700

    DRM/i915: only use tiled blits on 965+
    
    When scheduled swaps occur, we need to blit between front & back
    buffers.  If the buffers are tiled, we need to set the appropriate
    XY_SRC_COPY tile bit, but only on 965 chips, since it will cause
    corruption on pre-965 (e.g. 945).
    
    Bug reported by and fix tested by Tomas Janousek <tomi at nomi.cz>.
    
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
    Acked-by: Dave Airlie <airlied at linux.ie>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 83680cdbcecd1fd284ad4df060d12bf214bb63a8
Author: Geert Uytterhoeven <geert at linux-m68k.org>
Date:   Tue Jul 1 13:55:25 2008 +0200

    drivers/input/ff-core.c needs <linux/sched.h>
    
    Commit 656acd2bbc4ce7f224de499ee255698701396c48 ("Input: fix locking in
    force-feedback core") causes the following regression on m68k:
    
    | linux/drivers/input/ff-core.c: In function 'input_ff_upload':
    | linux/drivers/input/ff-core.c:172: error: dereferencing pointer to incomplete type
    | linux/drivers/input/ff-core.c: In function 'erase_effect':
    | linux/drivers/input/ff-core.c:197: error: dereferencing pointer to incomplete type
    | linux/drivers/input/ff-core.c:204: error: dereferencing pointer to incomplete type
    | make[4]: *** [drivers/input/ff-core.o] Error 1
    
    As the incomplete type is `struct task_struct', including <linux/sched.h> fixes
    it.
    
    Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
    Acked-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 781c74b1e660d045c2e380b4ada02534f415685c
Merge: 1e6d1f260611387a7b4e6eae4d1dd6f62e53714d 18d76ac9a47742558bca3bbc2f7c41870ac744c8
Author: Paul Mackerras <paulus at samba.org>
Date:   Thu Jul 3 10:05:59 2008 +1000

    Merge branch 'for-2.6.26' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into merge

commit 7b58ccfe32f40eca8c8ca29aa723a5d0e814f0c9
Author: andrey at cozybit.com <andrey at cozybit.com>
Date:   Tue Jul 1 11:43:53 2008 -0700

    libertas: support USB persistence on suspend/resume (resend)
    
    Handle .reset_resume() so that libertas can survive suspend/resume without
    reloading the firmware.
    
    Signed-off-by: Andrey Yurovsky <andrey at cozybit.com>
    Acked-by: Deepak Saxena <dsaxena at laptop.org>
    Acked-by: Dan Williams <dcbw at redhat.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 6afe6828b19b4567768264831d101026cb5510ff
Author: Zhu Yi <yi.zhu at intel.com>
Date:   Tue Jul 1 09:20:34 2008 +0800

    iwlwifi: drop skb silently for Tx request in monitor mode
    
    This patch fixes the problem to keep mac80211 resubmitting SKBs
    when Tx request cannot be met in monitor mode.
    
    Signed-off-by: Zhu Yi <yi.zhu at intel.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit ec04fd60fd74a9db9c63fe11d519be3642cabfdd
Author: Rick Farrington <rickdic at hotmail.com>
Date:   Tue Jul 1 09:20:33 2008 +0800

    iwlwifi: fix incorrect 5GHz rates reported in monitor mode
    
    This patch fixes the rates reported in monitor mode operation
    (Wireshark) for iwlwifi.
    
    Previously, packets with rates of 6M..24M would be reported
    incorrectly and packets with rates of 36M..54M would not passed
    up the stack.
    
    Signed-off-by: Rick Farrington <rickdic at hotmail.com>
    Signed-off-by: Zhu Yi <yi.zhu at intel.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit a13307cef8bf51990ef1d525b1cbdcc2cfe07e2a
Author: Alex Chiang <achiang at hp.com>
Date:   Tue Jul 1 20:02:23 2008 -0600

    PCI: acpiphp: cleanup notify handler on all root bridges
    
    During the development of the physical PCI slot patch series, Gary Hade
    kept on reporting strange oopses due to interactions between pci_slot
    and acpiphp.
    
    	http://lkml.org/lkml/2007/11/28/319
    
    find_root_bridges() unconditionally installs
    handle_hotplug_event_bridge() as an ACPI_SYSTEM_NOTIFY handler for all
    root bridges.
    
    However, during module cleanup, remove_bridge() will only remove the
    notify handler iff the root bridge had a hot-pluggable slot directly
    underneath. That is:
    
    	root bridge -> hotplug slot
    
    But, if the topology looks like either of the following:
    
    	root bridge -> non-hotplug slot
    	root bridge -> p2p bridge -> hotplug slot
    
    Then we currently do not remove the notify handler from that root
    bridge.
    
    This can cause a kernel oops if we modprobe acpiphp later and it gets
    loaded somewhere else in memory. If the root bridge then receives a
    hotplug event, it will then attempt to call a stale, non-existent notify
    handler and we blow up.
    
    Much thanks goes to Gary Hade for his persistent debugging efforts.
    
    Signed-off-by: Alex Chiang <achiang at hp.com>
    Signed-off-by: Gary Hade <garyhade at us.ibm.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

commit 99cb233d60cbe644203f19938c729ea2bb004d70
Author: Benjamin Li <benli at broadcom.com>
Date:   Wed Jul 2 10:59:04 2008 -0700

    PCI: Limit VPD read/write lengths for Broadcom 5706, 5708, 5709 rev.
    
    For Broadcom 5706, 5708, 5709 rev. A nics, any read beyond the
    VPD end tag will hang the device.  This problem was initially
    observed when a vpd entry was created in sysfs
    ('/sys/bus/pci/devices/<id>/vpd').   A read to this sysfs entry
    will dump 32k of data.  Reading a full 32k will cause an access
    beyond the VPD end tag causing the device to hang.  Once the device
    is hung, the bnx2 driver will not be able to reset the device.
    We believe that it is legal to read beyond the end tag and
    therefore the solution is to limit the read/write length.
    
    A majority of this patch is from Matthew Wilcox who gave code for
    reworking the PCI vpd size information.  A PCI quirk added for the
    Broadcom NIC's to limit the read/write's.
    
    Signed-off-by: Benjamin Li <benli at broadcom.com>
    Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

commit 06f3ed23b1e1038da649c4836b51fe035f5536bd
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Wed Jul 2 11:03:33 2008 -0300

    V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected
    
    UVC makefile defines obj as:
    	obj-$(CONFIG_USB_VIDEO_CLASS) := uvcvideo.o
    Instead of:
    	obj-$(CONFIG_USB_VIDEO_CLASS) += uvcvideo.o
    
    Due to that, if uvc is selected, all obj-y or obj-m that were added to
    compilation were forget. This breaks a proper kernel build.
    
    Acked-by: Laurent Pinchart <laurent.pinchart at skynet.be>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit c7f1b2044191a82e7f0a1a674751ed582289e2e0
Author: Milan Broz <mbroz at redhat.com>
Date:   Wed Jul 2 09:34:28 2008 +0100

    dm crypt: use cond_resched
    
    Add cond_resched() to prevent monopolising CPU when processing large bios.
    
    dm-crypt processes encryption of bios in sector units.  If the bio request
    is big it can spend a long time in the encryption call.
    
    Signed-off-by: Milan Broz <mbroz at redhat.com>
    Tested-by: Yan Li <elliot.li.tech at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Alasdair G Kergon <agk at redhat.com>

commit 2fe195cfe3e53c144d247b2768e37732e8eae4d8
Author: Patrick McHardy <kaber at trash.net>
Date:   Tue Jul 1 19:59:37 2008 -0700

    net: fib_rules: fix error code for unsupported families
    
    The errno code returned must be negative.
    
    Fixes "RTNETLINK answers: Unknown error 18446744073709551519".
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 93b3cff9915322d6fa36bac0064714a7076230e4
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date:   Tue Jul 1 19:57:19 2008 -0700

    netdevice: Fix wrong string handle in kernel command line parsing
    
    v1->v2: Use strlcpy() to ensure s[i].name be null-termination.
    
    1. In netdev_boot_setup_add(), a long name will leak.
       ex. : dev=21,0x1234,0x1234,0x2345,eth123456789verylongname.........
    2. In netdev_boot_setup_check(), mismatch will happen if s[i].name
       is a substring of dev->name.
       ex. : dev=...eth1 dev=...eth11
    
    [ With feedback from Ben Hutchings. ]
    
    Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 8fde8a076940969d32805b853efdce8b988d7dda
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date:   Tue Jul 1 19:55:40 2008 -0700

    net: Tyop of sk_filter() comment
    
    Parameter "needlock" no long exists.
    
    Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 8487460720fd03a0f4ecd032f017b0a8468028da
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date:   Tue Jul 1 19:55:09 2008 -0700

    netlink: Unneeded local variable
    
    We already have a variable, which has the same capability.
    
    Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit a4aebb83cf0da0363684f1c339f7e6149a3e74c1
Author: Patrick McHardy <kaber at trash.net>
Date:   Tue Jul 1 19:53:09 2008 -0700

    net-sched: fix filter destruction in atm/hfsc qdisc destruction
    
    Filters need to be destroyed before beginning to destroy classes
    since the destination class needs to still be alive to unbind the
    filter.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit ff31ab56c0e900235f653e375fc3b01ba2d8d6a3
Author: Patrick McHardy <kaber at trash.net>
Date:   Tue Jul 1 19:52:38 2008 -0700

    net-sched: change tcf_destroy_chain() to clear start of filter list
    
    Pass double tcf_proto pointers to tcf_destroy_chain() to make it
    clear the start of the filter list for more consistency.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 77a538d5aa25a8866606a1faa4300c9aa2a59dfc
Author: Stephen Hemminger <shemminger at vyatta.com>
Date:   Tue Jul 1 17:22:48 2008 -0700

    ipv4: fix sysctl documentation of time related values
    
    These sysctl values are time related and all use the same routine
    (proc_dointvec_jiffies) that internally converts from seconds to jiffies.
    The code is fine, the documentation is just wrong.
    
    Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 18d76ac9a47742558bca3bbc2f7c41870ac744c8
Author: Tim Yamin <plasm at roo.me.uk>
Date:   Tue Jun 17 09:33:14 2008 +0100

    powerpc/mpc5200: Fix lite5200b suspend/resume
    
    Suspend/resume ("echo mem > /sys/power/state") does not work with
    vanilla kernels -- the system does not suspend correctly and just
    hangs. This patch fixes this so suspend/resume works:
    
    1) of_iomap does not map the whole 0xC000 of the MPC5200 immr so
    saving registers does not work.
    2) PCI registers need to be saved and restored.
    
    Signed-off-by: Tim Yamin <plasm at roo.me.uk>
    Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

commit 1e6d1f260611387a7b4e6eae4d1dd6f62e53714d
Author: John Linn <john.linn at xilinx.com>
Date:   Tue Jul 1 10:52:41 2008 -0700

    powerpc/legacy_serial: Bail if reg-offset/shift properties are present
    
    The legacy serial driver does not work with an 8250 type UART that is
    described in the device tree with the reg-offset and reg-shift
    properties.  This change makes legacy_serial ignore these devices.
    
    Signed-off-by: John Linn <john.linn at xilinx.com>
    Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

commit 8e29da9ee8958cc17e27f4053420f1c982614793
Author: Wolfram Sang <w.sang at pengutronix.de>
Date:   Tue Jul 1 22:38:18 2008 +0200

    i2c: Fix bad hint about irqs in i2c.h
    
    i2c.h mentions -1 as a not-issued irq. This false hint was taken by
    of_i2c and caused crashes. Don't give any advice as 'no irq' is not
    consistent across all architectures yet and it is not needed internally
    by the i2c-core.
    
    Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
    Signed-off-by: Jean Delvare <khali at linux-fr.org>

commit 2260e63a2f313f416b31af80d02f02ef92d20d78
Author: Ben Dooks <ben-linux at fluff.org>
Date:   Tue Jul 1 22:38:18 2008 +0200

    i2c: Documentation: fix device matching description
    
    The matching process described for new style clients in
    Documentation/i2c/writing-clients is classed as out-of-date
    as it requires the presence of an .id_table entry in the
    driver's i2c_driver entry.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>
    Signed-off-by: Jean Delvare <khali at linux-fr.org>

commit 5d1a04110bfc40a86e1387b5f4382addd9aa7fbb
Author: John Linn <john.linn at xilinx.com>
Date:   Tue Jul 1 14:17:18 2008 -0600

    powerpc/bootwrapper: update for initrd with simpleImage
    
    This change to the makefile corrects the build of a simpleImage with initrd.
    
    Signed-off-by: John Linn <john.linn at xilinx>
    Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

commit a94c248113b86bbbc47d027a4004b70f2be298b1
Author: Ben Hutchings <bhutchings at solarflare.com>
Date:   Tue Jul 1 17:18:17 2008 +0100

    PCI: Restrict VPD read permission to root
    
    Some PCI devices will lock up if we attempt to read from VPD addresses
    beyond some device-dependent limit.  Until we can identify these
    devices and adjust the file size accordingly, only let root read VPD
    through sysfs to prevent a DoS by normal users.
    
    Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

commit d150a4bbd0e5c6427e66086b139953428680160b
Author: Ben Dooks <ben-linux at fluff.org>
Date:   Tue Jul 1 11:59:43 2008 +0100

    I2C: S3C2410: Add MODULE_ALIAS() for s3c2440 device.
    
    Add a MODULE_ALIAS() statement for the i2c-s3c2410 controller
    to ensure that it can be autoloaded on the S3C2440 systems that
    we support.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>

commit 63f5c2891eae6b4dd0538ef094e5f256d6150d7b
Author: Ben Dooks <ben-linux at fluff.org>
Date:   Tue Jul 1 11:59:42 2008 +0100

    I2C: S3C2410: Fixup error codes returned rom a transfer.
    
    The driver should be returning -ENXIO for transfers that do not
    pass the initial address byte stage.
    
    Note, also small tidyups to the driver comments in the area.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>

commit 2709781be6141798162f1089df728fb218a590df
Author: Ben Dooks <ben-linux at fluff.org>
Date:   Tue Jul 1 11:59:41 2008 +0100

    I2C: S3C2410: Check ACK on byte transmission
    
    We should check for the reception of an ACK after transmitting each
    data byte. The address send has been correctly checking this, but the
    data write byte state should have also been checking for these failures.
    
    As part of the same fix, we remove the ACK checking from the receive
    path where it should not have been checking for an ACK which our hardware
    was sending.
    
    Signed-off-by: Ben Dooks <ben-linux at fluff.org>

commit 8558f8f81680a43d383abd1b5f23d3501fedfa65
Author: Gautham R Shenoy <ego at in.ibm.com>
Date:   Fri Jun 27 10:17:38 2008 +0530

    rcu: fix hotplug vs rcu race
    
    Dhaval Giani reported this warning during cpu hotplug stress-tests:
    
    | On running kernel compiles in parallel with cpu hotplug:
    |
    | WARNING: at arch/x86/kernel/smp.c:118
    | native_smp_send_reschedule+0x21/0x36()
    | Modules linked in:
    | Pid: 27483, comm: cc1 Not tainted 2.6.26-rc7 #1
    | [...]
    |  [<c0110355>] native_smp_send_reschedule+0x21/0x36
    |  [<c014fe8f>] force_quiescent_state+0x47/0x57
    |  [<c014fef0>] call_rcu+0x51/0x6d
    |  [<c01713b3>] __fput+0x130/0x158
    |  [<c0171231>] fput+0x17/0x19
    |  [<c016fd99>] filp_close+0x4d/0x57
    |  [<c016fdff>] sys_close+0x5c/0x97
    
    IMHO the warning is a spurious one.
    
    cpu_online_map is updated by the _cpu_down() using stop_machine_run().
    Since force_quiescent_state is invoked from irqs disabled section,
    stop_machine_run() won't be executing while a cpu is executing
    force_quiescent_state(). Hence the cpu_online_map is stable while we're
    in the irq disabled section.
    
    However, a cpu might have been offlined _just_ before we disabled irqs
    while entering force_quiescent_state(). And rcu subsystem might not yet
    have handled the CPU_DEAD notification, leading to the offlined cpu's
    bit being set in the rcp->cpumask.
    
    Hence cpumask = (rcp->cpumask & cpu_online_map) to prevent sending
    smp_reschedule() to an offlined CPU.
    
    Here's the timeline:
    
    CPU_A						 CPU_B
    --------------------------------------------------------------
    cpu_down():					.
    .					   	.
    .						.
    stop_machine(): /* disables preemption,		.
    		 * and irqs */			.
    .						.
    .						.
    take_cpu_down();				.
    .						.
    .						.
    .						.
    cpu_disable(); /*this removes cpu 		.
    		*from cpu_online_map 		.
    		*/				.
    .						.
    .						.
    restart_machine(); /* enables irqs */		.
    ------WINDOW DURING WHICH rcp->cpumask is stale ---------------
    .						call_rcu();
    .						/* disables irqs here */
    .						.force_quiescent_state();
    .CPU_DEAD:					.for_each_cpu(rcp->cpumask)
    .						.   smp_send_reschedule();
    .						.
    .						.   WARN_ON() for offlined CPU!
    .
    .
    .
    rcu_cpu_notify:
    .
    -------- WINDOW ENDS ------------------------------------------
    rcu_offline_cpu() /* Which calls cpu_quiet()
    		   * which removes
    		   * cpu from rcp->cpumask.
    		   */
    
    If a new batch was started just before calling stop_machine_run(), the
    "tobe-offlined" cpu is still present in rcp-cpumask.
    
    During a cpu-offline, from take_cpu_down(), we queue an rt-prio idle
    task as the next task to be picked by the scheduler. We also call
    cpu_disable() which will disable any further interrupts and remove the
    cpu's bit from the cpu_online_map.
    
    Once the stop_machine_run() successfully calls take_cpu_down(), it calls
    schedule(). That's the last time a schedule is called on the offlined
    cpu, and hence the last time when rdp->passed_quiesc will be set to 1
    through rcu_qsctr_inc().
    
    But the cpu_quiet() will be on this cpu will be called only when the
    next RCU_SOFTIRQ occurs on this CPU. So at this time, the offlined CPU
    is still set in rcp->cpumask.
    
    Now coming back to the idle_task which truely offlines the CPU, it does
    check for a pending RCU and raises the softirq, since it will find
    rdp->passed_quiesc to be 0 in this case. However, since the cpu is
    offline I am not sure if the softirq will trigger on the CPU.
    
    Even if it doesn't the rcu_offline_cpu() will find that rcp->completed
    is not the same as rcp->cur, which means that our cpu could be holding
    up the grace period progression. Hence we call cpu_quiet() and move
    ahead.
    
    But because of the window explained in the timeline, we could still have
    a call_rcu() before the RCU subsystem executes it's CPU_DEAD
    notification, and we send smp_send_reschedule() to offlined cpu while
    trying to force the quiescent states. The appended patch adds comments
    and prevents checking for offlined cpu everytime.
    
    cpu_online_map is updated by the _cpu_down() using stop_machine_run().
    Since force_quiescent_state is invoked from irqs disabled section,
    stop_machine_run() won't be executing while a cpu is executing
    force_quiescent_state(). Hence the cpu_online_map is stable while we're
    in the irq disabled section.
    
    Reported-by: Dhaval Giani <dhaval at linux.vnet.ibm.com>
    Signed-off-by: Gautham R Shenoy <ego at in.ibm.com>
    Acked-by: Dhaval Giani <dhaval at linux.vnet.ibm.com>
    Cc: Dipankar Sarma <dipankar at in.ibm.com>
    Cc: laijs at cn.fujitsu.com
    Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
    Cc: Rusty Russel <rusty at rustcorp.com.au>
    Cc: "Paul E. McKenney" <paulmck at linux.vnet.ibm.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 18ce3751ccd488c78d3827e9f6bf54e6322676fb
Author: Jens Axboe <jens.axboe at oracle.com>
Date:   Tue Jul 1 09:07:34 2008 +0200

    Properly notify block layer of sync writes
    
    fsync_buffers_list() and sync_dirty_buffer() both issue async writes and
    then immediately wait on them. Conceptually, that makes them sync writes
    and we should treat them as such so that the IO schedulers can handle
    them appropriately.
    
    This patch fixes a write starvation issue that Lin Ming reported, where
    xx is stuck for more than 2 minutes because of a large number of
    synchronous IO in the system:
    
    INFO: task kjournald:20558 blocked for more than 120 seconds.
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
    message.
    kjournald     D ffff810010820978  6712 20558      2
    ffff81022ddb1d10 0000000000000046 ffff81022e7baa10 ffffffff803ba6f2
    ffff81022ecd0000 ffff8101e6dc9160 ffff81022ecd0348 000000008048b6cb
    0000000000000086 ffff81022c4e8d30 0000000000000000 ffffffff80247537
    Call Trace:
    [<ffffffff803ba6f2>] kobject_get+0x12/0x17
    [<ffffffff80247537>] getnstimeofday+0x2f/0x83
    [<ffffffff8029c1ac>] sync_buffer+0x0/0x3f
    [<ffffffff8066d195>] io_schedule+0x5d/0x9f
    [<ffffffff8029c1e7>] sync_buffer+0x3b/0x3f
    [<ffffffff8066d3f0>] __wait_on_bit+0x40/0x6f
    [<ffffffff8029c1ac>] sync_buffer+0x0/0x3f
    [<ffffffff8066d48b>] out_of_line_wait_on_bit+0x6c/0x78
    [<ffffffff80243909>] wake_bit_function+0x0/0x23
    [<ffffffff8029e3ad>] sync_dirty_buffer+0x98/0xcb
    [<ffffffff8030056b>] journal_commit_transaction+0x97d/0xcb6
    [<ffffffff8023a676>] lock_timer_base+0x26/0x4b
    [<ffffffff8030300a>] kjournald+0xc1/0x1fb
    [<ffffffff802438db>] autoremove_wake_function+0x0/0x2e
    [<ffffffff80302f49>] kjournald+0x0/0x1fb
    [<ffffffff802437bb>] kthread+0x47/0x74
    [<ffffffff8022de51>] schedule_tail+0x28/0x5d
    [<ffffffff8020cac8>] child_rip+0xa/0x12
    [<ffffffff80243774>] kthread+0x0/0x74
    [<ffffffff8020cabe>] child_rip+0x0/0x12
    
    Lin Ming confirms that this patch fixes the issue. I've run tests with
    it for the past week and no ill effects have been observed, so I'm
    proposing it for inclusion into 2.6.26.
    
    Signed-off-by: Jens Axboe <jens.axboe at oracle.com>

commit d585d0b9d73ed999cc7b8cf3cac4a5b01abb544e
Author: Divyesh Shah <dpshah at google.com>
Date:   Mon Jun 16 18:37:08 2008 +0200

    block: Fix the starving writes bug in the anticipatory IO scheduler
    
    AS scheduler alternates between issuing read and write batches. It does
    the batch switch only after all requests from the previous batch are
    completed.
    
    When switching to a write batch, if there is an on-going read request,
    it waits for its completion and indicates its intention of switching by
    setting ad->changed_batch and the new direction but does not update the
    batch_expire_time for the new write batch which it does in the case of
    no previous pending requests.
    On completion of the read request, it sees that we were waiting for the
    switch and schedules work for kblockd right away and resets the
    ad->changed_data flag.
    Now when kblockd enters dispatch_request where it is expected to pick
    up a write request, it in turn ends the write batch because the
    batch_expire_timer was not updated and shows the expire timestamp for
    the previous batch.
    
    This results in the write starvation for all the cases where there is
    the intention for switching to a write batch, but there is a previous
    in-flight read request and the batch gets reverted to a read_batch
    right away.
    
    This also holds true in the reverse case (switching from a write batch
    to a read batch with an in-flight write request).
    
    I've checked that this bug exists on 2.6.11, 2.6.18, 2.6.24 and
    linux-2.6-block git HEAD. I've tested the fix on x86 platforms with
    SCSI drives where the driver asks for the next request while a current
    request is in-flight.
    
    This patch is based off linux-2.6-block git HEAD.
    
    Bug reproduction:
    A simple scenario which reproduces this bug is:
    - dd if=/dev/hda3 of=/dev/null &
    - lilo
       The lilo takes forever to complete.
    
    This can also be reproduced fairly easily with the earlier dd and
    another test
    program doing msync().
    
    The example test program below should print out a message after every
    iteration
    but it simply hangs forever. With this bugfix it makes forward progress.
    
    ====
    Example test program using msync() (thanks to suleiman AT google DOT
    com)
    
    inline uint64_t
    rdtsc(void)
    {
             int64_t tsc;
    
             __asm __volatile("rdtsc" : "=A" (tsc));
             return (tsc);
    }
    
    int
    main(int argc, char **argv)
    {
             struct stat st;
             uint64_t e, s, t;
             char *p, q;
             long i;
             int fd;
    
             if (argc < 2) {
                     printf("Usage: %s <file>\n", argv[0]);
                     return (1);
             }
    
             if ((fd = open(argv[1], O_RDWR | O_NOATIME)) < 0)
                     err(1, "open");
    
             if (fstat(fd, &st) < 0)
                     err(1, "fstat");
    
             p = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE,
    MAP_SHARED, fd, 0);
    
             t = 0;
             for (i = 0; i < 1000; i++) {
                     *p = 0;
                     msync(p, 4096, MS_SYNC);
                     s = rdtsc();
                    *p = 0;
                     __asm __volatile(""::: "memory");
                     e = rdtsc();
                     if (argc > 2)
                             printf("%d: %lld cycles %jd %jd\n",
                                    i, e - s, (intmax_t)s, (intmax_t)e);
                     t += e - s;
             }
             printf("average time: %lld cycles\n", t / 1000);
             return (0);
    }
    
    Cc: <stable at kernel.org>
    Acked-by: Nick Piggin <npiggin at suse.de>
    Signed-off-by: Jens Axboe <jens.axboe at oracle.com>

commit efac41894df57d32b483ac622d03541b5b2692c0
Author: Thomas Gleixner <tglx at linutronix.de>
Date:   Tue Jul 1 08:56:32 2008 +0200

    x86: fix NODES_SHIFT Kconfig range
    
    commit 4323838215184f5a2f081e0d17b8d60731b03164
           x86: change size of node ids from u8 to s16
    
    set the range for NODES_SHIFT to 1..15.
    
    The possible range is 1..9
    
    Fixes Bugzilla #10726
    
    Reported-by: Dave Jones <davej at codemonkey.org.uk>
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

commit 619b0488038224391e64fa03854651ca0f5efe56
Author: Raistlin <raistlin at linux.it>
Date:   Thu Jun 26 18:54:09 2008 +0200

    sched: fix divide error when trying to configure rt_period to zero
    
    Here it is another little Oops we found while configuring invalid values
    via cgroups:
    
    echo 0 > /dev/cgroups/0/cpu.rt_period_us
    or
    echo 4294967296 > /dev/cgroups/0/cpu.rt_period_us
    
    [  205.509825] divide error: 0000 [#1]
    [  205.510151] Modules linked in:
    [  205.510151]
    [  205.510151] Pid: 2339, comm: bash Not tainted (2.6.26-rc8 #33)
    [  205.510151] EIP: 0060:[<c030c6ef>] EFLAGS: 00000293 CPU: 0
    [  205.510151] EIP is at div64_u64+0x5f/0x70
    [  205.510151] EAX: 0000389f EBX: 00000000 ECX: 00000000 EDX: 00000000
    [  205.510151] ESI: d9800000 EDI: 00000000 EBP: c6cede60 ESP: c6cede50
    [  205.510151]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
    [  205.510151] Process bash (pid: 2339, ti=c6cec000 task=c79be370 task.ti=c6cec000)
    [  205.510151] Stack: d9800000 0000389f c05971a0 d9800000 c6cedeb4 c0214dbd 00000000 00000000
    [  205.510151]        c6cede88 c0242bd8 c05377c0 c7a41b40 00000000 00000000 00000000 c05971a0
    [  205.510151]        c780ed20 c7508494 c7a41b40 00000000 00000002 c6cedebc c05971a0 ffffffea
    [  205.510151] Call Trace:
    [  205.510151]  [<c0214dbd>] ? __rt_schedulable+0x1cd/0x240
    [  205.510151]  [<c0242bd8>] ? cgroup_file_open+0x18/0xe0
    [  205.510151]  [<c0214fe4>] ? tg_set_bandwidth+0xa4/0xf0
    [  205.510151]  [<c0215066>] ? sched_group_set_rt_period+0x36/0x50
    [  205.510151]  [<c021508e>] ? cpu_rt_period_write_uint+0xe/0x10
    [  205.510151]  [<c0242dc5>] ? cgroup_file_write+0x125/0x160
    [  205.510151]  [<c0232c15>] ? hrtimer_interrupt+0x155/0x190
    [  205.510151]  [<c02f047f>] ? security_file_permission+0xf/0x20
    [  205.510151]  [<c0277ad8>] ? rw_verify_area+0x48/0xc0
    [  205.510151]  [<c0283744>] ? dupfd+0x104/0x130
    [  205.510151]  [<c027838c>] ? vfs_write+0x9c/0x160
    [  205.510151]  [<c0242ca0>] ? cgroup_file_write+0x0/0x160
    [  205.510151]  [<c027850d>] ? sys_write+0x3d/0x70
    [  205.510151]  [<c0203019>] ? sysenter_past_esp+0x6a/0x91
    [  205.510151]  =======================
    [  205.510151] Code: 0f 45 de 31 f6 0f ad d0 d3 ea f6 c1 20 0f 45 c2 0f 45 d6 89 45 f0 89 55 f4 8b 55 f4 31 c9 8b 45 f0 39 d3 89 c6 77 08 89 d0 31 d2 <f7> f3 89 c1 83 c4 08 89 f0 f7 f3 89 ca 5b 5e 5d c3 55 89 e5 56
    [  205.510151] EIP: [<c030c6ef>] div64_u64+0x5f/0x70 SS:ESP 0068:c6cede50
    
    The attached patch solves the issue for me.
    
    I'm checking as soon as possible for the period not being zero since, if
    it is, going ahead is useless. This way we also save a mutex_lock() and
    a read_lock() wrt doing it inside tg_set_bandwidth() or
    __rt_schedulable().
    
    Signed-off-by: Dario Faggioli <raistlin at linux.it>
    Signed-off-by: Michael Trimarchi <trimarchimichael at yahoo.it>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 3a677d216445dba3332a000063405de3fc135859
Author: Doug Chapman <doug.chapman at hp.com>
Date:   Mon Jun 30 15:06:48 2008 -0700

    [IA64] export account_system_vtime
    
    The symbol account_system_vtime is used by the kvm module but
    not exported.  This breaks building with CONFIG_VIRT_CPU_ACCOUNTING
    and CONFIG_KVM=m.
    
    Signed-off-by: Doug Chapman <doug.chapman at hp.com>
    Acked-by: Hidetosho Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Tony Luck <tony.luck at intel.com>

commit dd4f0888f8b42a97c93a66617a4f9acaff3089d6
Author: Tony Luck <tony.luck at intel.com>
Date:   Mon Jun 30 15:03:14 2008 -0700

    [IA64] Bugfix for system with 32 cpus
    
    On a system where there are no hot pluggable cpus "additional_cpus"
    is still set to -1 at the point where we call per_cpu_scan_finalize().
    If we didn't find an SRAT table and so pick the default "32" for the
    number of cpus, when we get to:
    high_cpu = min(high_cpu + reserve_cpus, NR_CPUS);
    we will end up initializing for just 31 cpus ... and so we will
    die horribly when bringing up cpu#32.
    
    Problem introduced by: 2c6e6db41f01b6b4eb98809350827c9678996698
    "Minimize per_cpu reservations."
    
    Acked-by: Robin Holt <holt at sgi.com>
    Signed-off-by: Tony Luck <tony.luck at intel.com>

commit c0efd232929c2cd87238de2cccdaf4e845be5b0c
Author: Laurent Pinchart <laurent.pinchart at skynet.be>
Date:   Mon Jun 30 15:04:50 2008 -0300

    V4L/DVB (8145a): USB Video Class driver
    
    This driver supports video input devices compliant with the USB Video Class
    specification. This means lots of currently manufactured webcams, and probably
    most of the future ones.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart at skynet.be>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 2a64cc4b793f8a84969401afe5a28bd08bc20c9b
Merge: aebb6a849cfe7d89bcacaaecc20a480dfc1180e7 23976efedd5ecb420b87455787c537eb4aed1981
Author: David S. Miller <davem at davemloft.net>
Date:   Mon Jun 30 13:18:53 2008 -0700

    Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6

commit 23976efedd5ecb420b87455787c537eb4aed1981
Author: Emmanuel Grumbach <emmanuel.grumbach at intel.com>
Date:   Sat Jun 28 02:50:13 2008 +0300

    mac80211: don't accept WEP keys other than WEP40 and WEP104
    
    This patch makes mac80211 refuse a WEP key whose length is not WEP40 nor
    WEP104.
    
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach at intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 1bcca3c463e4930cef9986b05165bb0b3eb46f63
Author: Pavel Roskin <proski at gnu.org>
Date:   Fri Jun 27 16:19:58 2008 -0400

    hostap: fix sparse warnings
    
    Rewrite AID calculation in handle_pspoll() to avoid truncating bits.
    Make hostap_80211_header_parse() static, don't export it.  Avoid
    shadowing variables.
    
    Signed-off-by: Pavel Roskin <proski at gnu.org>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 15ea0ebc5b7305cc75189cb6b7924d0db5278e0c
Author: Pavel Roskin <proski at gnu.org>
Date:   Fri Jun 27 16:19:52 2008 -0400

    hostap: don't report useless WDS frames by default
    
    DEBUG_EXTRA is reported to the kernel log by default, but DEBUG_EXTRA2
    is not.  Unrelated WDS frames pollute the log unnecessarily.
    
    Signed-off-by: Pavel Roskin <proski at gnu.org>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit aebb6a849cfe7d89bcacaaecc20a480dfc1180e7
Author: Joonwoo Park <joonwpark81 at gmail.com>
Date:   Mon Jun 30 12:42:23 2008 -0700

    textsearch: fix Boyer-Moore text search bug
    
    The current logic has a bug which cannot find matching pattern, if the
    pattern is matched from the first character of target string.
    for example:
    	pattern=abc, string=abcdefg
    	pattern=a,   string=abcdefg
    Searching algorithm should return 0 for those things.
    
    Signed-off-by: Joonwoo Park <joonwpark81 at gmail.com>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 84ebe1cdae56707b9aa1b40ae5aa7d817ba745f5
Author: Jozsef Kadlecsik <kadlec at blackhole.kfki.hu>
Date:   Mon Jun 30 12:41:30 2008 -0700

    netfilter: nf_conntrack_tcp: fixing to check the lower bound of valid ACK
    
    Lost connections was reported by Thomas Bätzler (running 2.6.25 kernel) on
    the netfilter mailing list (see the thread "Weird nat/conntrack Problem
    with PASV FTP upload"). He provided tcpdump recordings which helped to
    find a long lingering bug in conntrack.
    
    In TCP connection tracking, checking the lower bound of valid ACK could
    lead to mark valid packets as INVALID because:
    
     - We have got a "higher or equal" inequality, but the test checked
       the "higher" condition only; fixed.
     - If the packet contains a SACK option, it could occur that the ACK
       value was before the left edge of our (S)ACK "window": if a previous
       packet from the other party intersected the right edge of the window
       of the receiver, we could move forward the window parameters beyond
       accepting a valid ack. Therefore in this patch we check the rightmost
       SACK edge instead of the ACK value in the lower bound of valid (S)ACK
       test.
    
    Signed-off-by: Jozsef Kadlecsik <kadlec at blackhole.kfki.hu>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 4283e1babe167e0ba856bb5d039465358e90785c
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Mon Jun 30 20:14:45 2008 +0200

    ide: fix /proc/ide/ide?/mate reporting
    
    Now that we support warm-plug mate port will be registered
    even if there are no devices attached to it.
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit a529b59060862b36a4dae968534e090c6c77272e
Author: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Date:   Mon Jun 30 20:13:31 2008 +0200

    Revert "BAST: Remove old IDE driver"
    
    This reverts commit ac1623625c5818bbdf5c68973098ba386ba7a004.
    
    It was premature to remove it now, we will do it post-2.6.26.
    
    Thanks to Russell King for noticing the issue.
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>

commit 08383ef29faa7fa247962e6b8662c8683e34da01
Author: Catalin Marinas <catalin.marinas at arm.com>
Date:   Fri Jun 27 15:15:12 2008 +0100

    [ARM] 5131/1: Annotate platform_secondary_init with trace_hardirqs_off
    
    This patch annotates the platform_secondary_init function in
    arch/arm/mach-realview/platsmp.c with trace_hardirqs_off to avoid a
    warning when LOCKDEP and TRACE_IRQFLAGS are enabled.
    
    Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit e1441b9a41c33aa9236008a7cfe49a8e723fb397
Merge: 70c85057e0bde35eb56352a293ecb5d1641a0334 656acd2bbc4ce7f224de499ee255698701396c48
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 30 08:58:09 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: fix locking in force-feedback core
      Input: add KEY_MEDIA_REPEAT definition

commit 70c85057e0bde35eb56352a293ecb5d1641a0334
Merge: e6100f23375c0c71ce595d04551fa6553b611918 d7ee56059b335e27c3c6db34f7efe5a705d65b1c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 30 08:57:43 2008 -0700

    Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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:
      debugobjects: fix lockdep warning

commit e6100f23375c0c71ce595d04551fa6553b611918
Merge: bbad5d4750ab3b44a196f9bdd982972e41b7e520 79c537998d143b127c8c662a403c3356cb885f1c
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 30 08:57:19 2008 -0700

    Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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 cpu hotplug

commit bbad5d4750ab3b44a196f9bdd982972e41b7e520
Merge: 1702b52092e9a6d05398d3f9581ddc050ef00d06 11dbc963a8f6128595d0f6ecf138dc369e144997
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 30 08:56:57 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      ptrace GET/SET FPXREGS broken
      x86: fix cpu hotplug crash
      x86: section/warning fixes
      x86: shift bits the right way in native_read_tscp

commit 656acd2bbc4ce7f224de499ee255698701396c48
Author: Dmitry Torokhov <dmitry.torokhov at gmail.com>
Date:   Thu Jun 26 11:30:02 2008 -0400

    Input: fix locking in force-feedback core
    
    The newly added event_lock spinlock in the input core disallows sleeping
    and therefore using mutexes in event handlers. Convert force-feedback
    core to rely on event_lock instead of mutex to protect slots allocated
    for fore-feedback effects. The original mutex is still used to serialize
    uploading and erasing of effects.
    
    Reported-by: Anssi Hannula <anssi.hannula at gmail.com>
    Signed-off-by: Dmitry Torokhov <dtor at mail.ru>

commit 4bbff7e408a54cce88d26191191e8bcda2a60d55
Author: Bastien Nocera <hadess at hadess.net>
Date:   Thu Jun 26 09:13:48 2008 -0400

    Input: add KEY_MEDIA_REPEAT definition
    
    This patch adds the Repeat key to the input layer. The usage
    in the HUT is 0xBC (listed under "15.7 Transport Controls").
    
    Signed-off-by: Dmitry Torokhov <dtor at mail.ru>

commit 11dbc963a8f6128595d0f6ecf138dc369e144997
Author: TAKADA Yoshihito <takada at mbf.nifty.com>
Date:   Mon Jun 30 13:44:45 2008 +0900

    ptrace GET/SET FPXREGS broken
    
    When I update kernel 2.6.25 from 2.6.24, gdb does not work.
    On 2.6.25, ptrace(PTRACE_GETFPXREGS, ...) returns ENODEV.
    
    But 2.6.24 kernel's ptrace() returns EIO.
    It is issue of compatibility.
    
    I attached test program as pt.c and patch for fix it.
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <signal.h>
    #include <errno.h>
    #include <sys/ptrace.h>
    #include <sys/types.h>
    
    struct user_fxsr_struct {
    	unsigned short	cwd;
    	unsigned short	swd;
    	unsigned short	twd;
    	unsigned short	fop;
    	long	fip;
    	long	fcs;
    	long	foo;
    	long	fos;
    	long	mxcsr;
    	long	reserved;
    	long	st_space[32];	/* 8*16 bytes for each FP-reg = 128 bytes */
    	long	xmm_space[32];	/* 8*16 bytes for each XMM-reg = 128 bytes */
    	long	padding[56];
    };
    
    int main(void)
    {
      pid_t pid;
    
      pid = fork();
    
      switch(pid){
      case -1:/*  error */
        break;
      case 0:/*  child */
        child();
        break;
      default:
        parent(pid);
        break;
      }
      return 0;
    }
    
    int child(void)
    {
      ptrace(PTRACE_TRACEME);
      kill(getpid(), SIGSTOP);
      sleep(10);
      return 0;
    }
    int parent(pid_t pid)
    {
      int ret;
      struct user_fxsr_struct fpxregs;
    
      ret = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpxregs);
      if(ret < 0){
        printf("%d: %s.\n", errno, strerror(errno));
      }
      kill(pid, SIGCONT);
      wait(pid);
      return 0;
    }
    
    /* in the kerel, at kernel/i387.c get_fpxregs() */
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit fcb43042ef55d2f46b0efa5d7746967cef38f056
Author: Zhang, Yanmin <yanmin_zhang at linux.intel.com>
Date:   Tue Jun 24 16:06:23 2008 +0800

    x86: fix cpu hotplug crash
    
    Vegard Nossum reported crashes during cpu hotplug tests:
    
      http://marc.info/?l=linux-kernel&m=121413950227884&w=4
    
    In function _cpu_up, the panic happens when calling
    __raw_notifier_call_chain at the second time. Kernel doesn't panic when
    calling it at the first time. If just say because of nr_cpu_ids, that's
    not right.
    
    By checking the source code, I found that function do_boot_cpu is the culprit.
    Consider below call chain:
     _cpu_up=>__cpu_up=>smp_ops.cpu_up=>native_cpu_up=>do_boot_cpu.
    
    So do_boot_cpu is called in the end. In do_boot_cpu, if
    boot_error==true, cpu_clear(cpu, cpu_possible_map) is executed. So later
    on, when _cpu_up calls __raw_notifier_call_chain at the second time to
    report CPU_UP_CANCELED, because this cpu is already cleared from
    cpu_possible_map, get_cpu_sysdev returns NULL.
    
    Many resources are related to cpu_possible_map, so it's better not to
    change it.
    
    Below patch against 2.6.26-rc7 fixes it by removing the bit clearing in
    cpu_possible_map.
    
    Signed-off-by: Zhang Yanmin <yanmin_zhang at linux.intel.com>
    Tested-by: Vegard Nossum <vegard.nossum at gmail.com>
    Acked-by: Rusty Russell <rusty at rustcorp.com.au>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 1702b52092e9a6d05398d3f9581ddc050ef00d06
Merge: 0acbbee440fadf45164cc9537ee7d528d045f2d6 a17898737eaed4ef41f273da7b830c632e06613e
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:22:55 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (42 commits)
      V4L/DVB (8108): Fix open/close race in saa7134
      V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff
      V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download is needed
      V4L/DVB (8096): au8522: prevent false-positive lock status
      V4L/DVB (8092): videodev: simplify and fix standard enumeration
      V4L/DVB (8075): stv0299: Uncorrected block count and bit error rate fixed
      V4L/DVB (8074): av7110: OSD transfers should not be interrupted
      V4L/DVB (8073): av7110: Catch another type of ARM crash
      V4L/DVB (8071): tda10023: Fix possible kernel oops during initialisation
      V4L/DVB (8069): cx18: Fix S-Video and Compsite inputs for the Yuan MPC718 and enable card entry
      V4L/DVB (8068): cx18: Add I2C slave reset via GPIO upon initialization
      V4L/DVB (8067): cx18: Fix firmware load for case when digital capture happens first
      V4L/DVB (8066): cx18: Fix audio mux input definitions for HVR-1600 Line In 2 and FM radio
      V4L/DVB (8063): cx18: Fix unintended auto configurations in cx18-av-core
      V4L/DVB (8061): cx18: only select tuner / frontend modules if !DVB_FE_CUSTOMISE
      V4L/DVB (8048): saa7134: Fix entries for Avermedia A16d and Avermedia E506
      V4L/DVB (8044): au8522: tuning optimizations
      V4L/DVB (8043): au0828: add support for additional USB device id's
      V4L/DVB (8042): DVB-USB UMT-010 channel scan oops
      V4L/DVB (8040): soc-camera: remove soc_camera_host_class class
      ...

commit 0acbbee440fadf45164cc9537ee7d528d045f2d6
Merge: 535e49f48e2fc95a6de8efb366ca8af35d424642 c4e6a2e64e948de42473e9c829181d768b1258c3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:22:30 2008 -0700

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
      dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled.
      ACPI: don't walk tables if ACPI was disabled
      thermal: Create CONFIG_THERMAL_HWMON=n

commit 535e49f48e2fc95a6de8efb366ca8af35d424642
Merge: 0b20715f3f83141ab5a2bb14b844b7c3c8bcf1aa b660398101cd0622325480a67ac88bb4d33d553a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:21:02 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
      kbuild: fix a.out.h export to userspace with O= build.

commit 0b20715f3f83141ab5a2bb14b844b7c3c8bcf1aa
Merge: 747606464bc1eb1a2c3588b3b06ef7538f12deac 0e3e2eabf4fbc0162e1f1eb4fd90cb3e9513a554
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:20:11 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
      firewire: fw-sbp2: fix parsing of logical unit directories

commit 747606464bc1eb1a2c3588b3b06ef7538f12deac
Merge: f72e9df0e04c0ea7b5c97e6db5b114234bf3c36f 19fd426a18b48a0446ba4b54ac66264916dcb7f3
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:19:02 2008 -0700

    Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6
    
    * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6:
      udf: Fix regression in UDF anchor block detection

commit f72e9df0e04c0ea7b5c97e6db5b114234bf3c36f
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date:   Thu Jun 26 10:54:34 2008 +0300

    Fix and clean top .gitignore
    
    Removed vmlinux* rule because it matches too many useful files, replacing
    it with rules matching filetype by filename (e.g. *.gz). Also unignored
    .mailmap from the top directory. Added a comment telling the user how to
    check for tracked files being ignored.
    
    Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit db6c24fdf19bd7ee25c86ddd8021ec648b76d5ae
Merge: a4480ac4f966384f9d2db98bffec223e4eaf6150 8d0a60032ffd472f0f7821ff388e9f438c06077a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:16:07 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
      Blackfin arch: fix up section mismatch warning
      Blackfin arch: fix bug - kernel boot fails when Spinlock and rw-lock debugging enabled

commit a4480ac4f966384f9d2db98bffec223e4eaf6150
Merge: 4f46accee45d74a408e417c04c0ed1543a7c51e9 d8de72473effd674a3c1fe9621821f406f5587c9
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:15:10 2008 -0700

    Merge branch 'audit.b52' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current
    
    * 'audit.b52' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
      [PATCH] remove useless argument type in audit_filter_user()
      [PATCH] audit: fix kernel-doc parameter notation
      [PATCH] kernel/audit.c: nlh->nlmsg_type is gotten more than once

commit 4f46accee45d74a408e417c04c0ed1543a7c51e9
Merge: 543cf4cb3fe6f6cae3651ba918b9c56200b257d0 cdd16d0265c9234228fd37fbbad844d7e894b278
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 29 12:14:37 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
      [patch 2/3] vfs: dcache cleanups
      [patch 1/3] vfs: dcache sparse fixes
      [patch 3/3] vfs: make d_path() consistent across mount operations
      [patch 4/4] flock: remove unused fields from file_lock_operations
      [patch 3/4] vfs: fix ERR_PTR abuse in generic_readlink
      [patch 2/4] fs: make struct file arg to d_path const
      [patch 1/4] vfs: path_{get,put}() cleanups
      [patch for 2.6.26 4/4] vfs: utimensat(): fix write access check for futimens()
      [patch for 2.6.26 3/4] vfs: utimensat(): fix error checking for {UTIME_NOW,UTIME_OMIT} case
      [patch for 2.6.26 1/4] vfs: utimensat(): ignore tv_sec if tv_nsec == UTIME_OMIT or UTIME_NOW
      [patch for 2.6.26 2/4] vfs: utimensat(): be consistent with utime() for immutable and append-only files
      [PATCH] fix cgroup-inflicted breakage in block_dev.c

commit 79c537998d143b127c8c662a403c3356cb885f1c
Author: Dmitry Adamushko <dmitry.adamushko at gmail.com>
Date:   Sun Jun 29 00:16:56 2008 +0200

    sched: fix cpu hotplug
    
    the CPU hotplug problems (crashes under high-volume unplug+replug
    tests) seem to be related to migrate_dead_tasks().
    
    Firstly I added traces to see all tasks being migrated with
    migrate_live_tasks() and migrate_dead_tasks(). On my setup the problem
    pops up (the one with "se == NULL" in the loop of
    pick_next_task_fair()) shortly after the traces indicate that some has
    been migrated with migrate_dead_tasks()). btw., I can reproduce it
    much faster now with just a plain cpu down/up loop.
    
    [disclaimer] Well, unless I'm really missing something important in
    this late hour [/desclaimer] pick_next_task() is not something
    appropriate for migrate_dead_tasks() :-)
    
    the following change seems to eliminate the problem on my setup
    (although, I kept it running only for a few minutes to get a few
    messages indicating migrate_dead_tasks() does move tasks and the
    system is still ok)
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit d420895efb259a78dda50f95289571faa6e10e41
Author: YOSHIFUJI Hideaki <yoshfuji at linux-ipv6.org>
Date:   Fri Jun 27 20:14:54 2008 -0700

    ipv6 route: Convert rt6_device_match() to use RT6_LOOKUP_F_xxx flags.
    
    The commit 77d16f450ae0452d7d4b009f78debb1294fb435c ("[IPV6] ROUTE:
    Unify RT6_F_xxx and RT6_SELECT_F_xxx flags") intended to pass various
    routing lookup hints around RT6_LOOKUP_F_xxx flags, but conversion was
    missing for rt6_device_match().
    
    Signed-off-by: YOSHIFUJI Hideaki <yoshfuji at linux-ipv6.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 59d88c00cafe5192b058abf4f3ce17c2e27d1c09
Author: Paul Moore <paul.moore at hp.com>
Date:   Fri Jun 27 20:12:32 2008 -0700

    netlabel: Fix a problem when dumping the default IPv6 static labels
    
    There is a missing "!" in a conditional statement which is causing entries to
    be skipped when dumping the default IPv6 static label entries.  This can be
    demonstrated by running the following:
    
     # netlabelctl unlbl add default address:::1 \
                                     label:system_u:object_r:unlabeled_t:s0
     # netlabelctl -p unlbl list
    
    ... you will notice that the entry for the IPv6 localhost address is not
    displayed but does exist (works correctly, causes collisions when attempting
    to add duplicate entries, etc.).
    
    Signed-off-by: Paul Moore <paul.moore at hp.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 251a4b320f2352598f84e4452ab538aa8064af52
Author: Eli Cohen <eli at mellanox.co.il>
Date:   Fri Jun 27 20:09:00 2008 -0700

    net/inet_lro: remove setting skb->ip_summed when not LRO-able
    
    When an SKB cannot be chained to a session, the current code attempts
    to "restore" its ip_summed field from lro_mgr->ip_summed. However,
    lro_mgr->ip_summed does not hold the original value; in fact, we'd
    better not touch skb->ip_summed since it is not modified by the code
    in the path leading to a failure to chain it.  Also use a cleaer
    comment to the describe the ip_summed field of struct net_lro_mgr.
    
    Issue raised by Or Gerlitz <ogerlitz at voltaire.com>
    
    Signed-off-by: Eli Cohen <eli at mellanox.co.il>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 9a375803feaadb6c34e0807bd9325885dcca5c00
Author: Pavel Emelyanov <xemul at openvz.org>
Date:   Fri Jun 27 20:06:08 2008 -0700

    inet fragments: fix race between inet_frag_find and inet_frag_secret_rebuild
    
    The problem is that while we work w/o the inet_frags.lock even
    read-locked the secret rebuild timer may occur (on another CPU, since
    BHs are still disabled in the inet_frag_find) and change the rnd seed
    for ipv4/6 fragments.
    
    It was caused by my patch fd9e63544cac30a34c951f0ec958038f0529e244
    ([INET]: Omit double hash calculations in xxx_frag_intern) late
    in the 2.6.24 kernel, so this should probably be queued to -stable.
    
    Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit a0a61a604c60c14accc3962ecfeee9acc7a3c08a
Author: Li Zefan <lizf at cn.fujitsu.com>
Date:   Fri Jun 27 20:03:24 2008 -0700

    CONNECTOR: add a proc entry to list connectors
    
    I got a problem when I wanted to check if the kernel supports process
    event connector, and It seems there's no way to do this check.
    
    At best I can check if the kernel supports connector or not, by looking
    into /proc/net/netlink, or maybe checking the return value of bind() to
    see if it's ENOENT.
    
    So it would be useful to add /proc/net/connector to list all supported
    connectors:
     # cat /proc/net/connector
     Name            ID
     connector       4294967295:4294967295
     cn_proc         1:1
     w1              3:1
    
    Changelog:
    - fix memory leak: s/seq_release/single_release
    - use spin_lock_bh instead of spin_lock_irqsave
    
    Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
    Acked-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 10b595aff138961b520bfed51d664fd99980f6e9
Author: Julius Volz <juliusv at google.com>
Date:   Fri Jun 27 20:02:14 2008 -0700

    netlink: Fix some doc comments in net/netlink/attr.c
    
    Fix some doc comments to match function and attribute names in
    net/netlink/attr.c.
    
    Signed-off-by: Julius Volz <juliusv at google.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 7be87351a1f6430426e88b4fcde353ab3330caff
Author: Stephen Hemminger <shemminger at vyatta.com>
Date:   Fri Jun 27 20:00:19 2008 -0700

    tcp: /proc/net/tcp rto,ato values not scaled properly (v2)
    
    I found another case where we are sending information to userspace
    in the wrong HZ scale.  This should have been fixed back in 2.5 :-(
    
    This means an ABI change but as it stands there is no way for an application
    like ss to get the right value.
    
    Signed-off-by: Stephen Hemminger <shemminger at vyatta.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit c88e6f51c2154c7606f7e281bcca2d1a2c89d7b2
Author: Adrian Bunk <bunk at kernel.org>
Date:   Fri Jun 27 19:54:54 2008 -0700

    include/linux/netdevice.h: don't export MAX_HEADER to userspace
    
    Due to the CONFIG_'s the value is anyway not correct in userspace.
    
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit ede16af4cdbd21fa15d4178beb7c6fcbcccd07e9
Author: Adrian Bunk <bunk at kernel.org>
Date:   Fri Jun 27 19:54:05 2008 -0700

    pkt_sched: Remove CONFIG_NET_SCH_RR
    
    Commit d62733c8e437fdb58325617c4b3331769ba82d70
    ([SCHED]: Qdisc changes and sch_rr added for multiqueue)
    added a NET_SCH_RR option that was unused since the code
    went unconditionally into sch_prio.
    
    Reported-by: Robert P. J. Day <rpjday at crashcourse.ca>
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 01e123d79a23000f85c4cfb12a957908c0b2c3d8
Author: WANG Cong <wcong at critical-links.com>
Date:   Fri Jun 27 19:51:35 2008 -0700

    pkt_sched: ERR_PTR() ususally encodes an negative errno, not positive.
    
    Note, in the following patch, 'err' is initialized as:
    
    int err = -ENOBUFS;
    
    Signed-off-by: WANG Cong <wcong at critical-links.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 5dbaec5dc6a4895db8bf9765a867418481ed7311
Author: Wang Chen <wangchen at cn.fujitsu.com>
Date:   Fri Jun 27 19:35:16 2008 -0700

    netdevice: Fix typo of dev_unicast_add() comment
    
    Signed-off-by: Wang Chen <wangchen at cn.fujitsu.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit ec0d215f9420564fc8286dcf93d2d068bb53a07e
Author: Rainer Weikusat <rweikusat at mssgmbh.com>
Date:   Fri Jun 27 19:34:18 2008 -0700

    af_unix: fix 'poll for write'/connected DGRAM sockets
    
    For n:1 'datagram connections' (eg /dev/log), the unix_dgram_sendmsg
    routine implements a form of receiver-imposed flow control by
    comparing the length of the receive queue of the 'peer socket' with
    the max_ack_backlog value stored in the corresponding sock structure,
    either blocking the thread which caused the send-routine to be called
    or returning EAGAIN. This routine is used by both SOCK_DGRAM and
    SOCK_SEQPACKET sockets. The poll-implementation for these socket types
    is datagram_poll from core/datagram.c. A socket is deemed to be
    writeable by this routine when the memory presently consumed by
    datagrams owned by it is less than the configured socket send buffer
    size. This is always wrong for PF_UNIX non-stream sockets connected to
    server sockets dealing with (potentially) multiple clients if the
    abovementioned receive queue is currently considered to be full.
    'poll' will then return, indicating that the socket is writeable, but
    a subsequent write result in EAGAIN, effectively causing an (usual)
    application to 'poll for writeability by repeated send request with
    O_NONBLOCK set' until it has consumed its time quantum.
    
    The change below uses a suitably modified variant of the datagram_poll
    routines for both type of PF_UNIX sockets, which tests if the
    recv-queue of the peer a socket is connected to is presently
    considered to be 'full' as part of the 'is this socket
    writeable'-checking code. The socket being polled is additionally
    put onto the peer_wait wait queue associated with its peer, because the
    unix_dgram_recvmsg routine does a wake up on this queue after a
    datagram was received and the 'other wakeup call' is done implicitly
    as part of skb destruction, meaning, a process blocked in poll
    because of a full peer receive queue could otherwise sleep forever
    if no datagram owned by its socket was already sitting on this queue.
    Among this change is a small (inline) helper routine named
    'unix_recvq_full', which consolidates the actual testing code (in three
    different places) into a single location.
    
    Signed-off-by: Rainer Weikusat <rweikusat at mssgmbh.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit db43a282d3ec92ea45109c5551fff3dcc5afef02
Author: Octavian Purdila <opurdila at ixiacom.com>
Date:   Fri Jun 27 17:27:21 2008 -0700

    tcp: fix for splice receive when used with software LRO
    
    If an skb has nr_frags set to zero but its frag_list is not empty (as
    it can happen if software LRO is enabled), and a previous
    tcp_read_sock has consumed the linear part of the skb, then
    __skb_splice_bits:
    
    (a) incorrectly reports an error and
    
    (b) forgets to update the offset to account for the linear part
    
    Any of the two problems will cause the subsequent __skb_splice_bits
    call (the one that handles the frag_list skbs) to either skip data,
    or, if the unadjusted offset is greater then the size of the next skb
    in the frag_list, make tcp_splice_read loop forever.
    
    Signed-off-by: Octavian Purdila <opurdila at ixiacom.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 57413ebc4e0f1e471a3b4db4aff9a85c083d090e
Author: Miquel van Smoorenburg <miquels at cistron.nl>
Date:   Fri Jun 27 17:23:57 2008 -0700

    tcp: calculate tcp_mem based on low memory instead of all memory
    
    The tcp_mem array which contains limits on the total amount of memory
    used by TCP sockets is calculated based on nr_all_pages.  On a 32 bits
    x86 system, we should base this on the number of lowmem pages.
    
    Signed-off-by: Miquel van Smoorenburg <miquels at cistron.nl>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 479798211967cd828e09ce27775b8cbfe99462ab
Author: Andre Haupt <andre at bitwigglers.org>
Date:   Fri Jun 27 17:22:08 2008 -0700

    hamradio: remove unused variable
    
    Signed-off-by: Andre Haupt <andre at bitwigglers.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit 9bbbca3a0ee09293108b67835c6bdf6196d7bcb3
Author: Neil Brown <neilb at notabene.brown>
Date:   Sat Jun 28 08:31:17 2008 +1000

    Fix error paths if md_probe fails.
    
    md_probe can fail (e.g. alloc_disk could fail) without
    returning an error (as it alway returns NULL).
    So when we call mddev_find immediately afterwards, we need
    to check that md_probe actually succeeded.  This means checking
    that mdev->gendisk is non-NULL.
    
    cc: <stable at kernel.org>
    Cc: Dave Jones <davej at redhat.com>
    Signed-off-by: Neil Brown <neilb at suse.de>

commit efe311431869b40d67911820a309f9a1a41306f3
Author: Neil Brown <neilb at notabene.brown>
Date:   Sat Jun 28 08:31:14 2008 +1000

    Don't acknowlege that stripe-expand is complete until it really is.
    
    We shouldn't acknowledge that a stripe has been expanded (When
    reshaping a raid5 by adding a device) until the moved data has
    actually been written out.  However we are currently
    acknowledging (by calling md_done_sync) when the POST_XOR
    is complete and before the write.
    
    So track in s.locked whether there are pending writes, and don't
    call md_done_sync yet if there are.
    
    Note: we all set R5_LOCKED on devices which are are about to
    read from.  This probably isn't technically necessary, but is
    usually done when writing a block, and justifies the use of
    s.locked here.
    
    This bug can lead to a crash if an array is stopped while an reshape
    is in progress.
    
    Cc: <stable at kernel.org>
    Signed-off-by: Neil Brown <neilb at suse.de>

commit 8c2e870a625bd336b2e7a65a97c1836acef07322
Author: Neil Brown <neilb at notabene.brown>
Date:   Sat Jun 28 08:30:52 2008 +1000

    Ensure interrupted recovery completed properly (v1 metadata plus bitmap)
    
    If, while assembling an array, we find a device which is not fully
    in-sync with the array, it is important to set the "fullsync" flags.
    This is an exact analog to the setting of this flag in hot_add_disk
    methods.
    
    Currently, only v1.x metadata supports having devices in an array
    which are not fully in-sync (it keep track of how in sync they are).
    The 'fullsync' flag only makes a difference when a write-intent bitmap
    is being used.  In this case it tells recovery to ignore the bitmap
    and recovery all blocks.
    
    This fix is already in place for raid1, but not raid5/6 or raid10.
    
    So without this fix, a raid1 ir raid4/5/6 array with version 1.x
    metadata and a write intent bitmaps, that is stopped in the middle
    of a recovery, will appear to complete the recovery instantly
    after it is reassembled, but the recovery will not be correct.
    
    If you might have an array like that, issueing
       echo repair > /sys/block/mdXX/md/sync_action
    
    will make sure recovery completes properly.
    
    Cc: <stable at kernel.org>
    Signed-off-by: Neil Brown <neilb at suse.de>

commit b660398101cd0622325480a67ac88bb4d33d553a
Author: David Woodhouse <david.woodhouse at intel.com>
Date:   Fri Jun 27 14:39:42 2008 +0100

    kbuild: fix a.out.h export to userspace with O= build.
    
    We need to check for existence of the a.out.h header in the source tree,
    not the object tree, if we want it to get the right answer with O=.
    
    Signed-off-by: David Woodhouse <david.woodhouse at intel.com>
    Signed-off-by: Sam Ravnborg <sam at ravnborg.org>

commit 0e3e2eabf4fbc0162e1f1eb4fd90cb3e9513a554
Author: Richard Sharpe <realrichardsharpe at gmail.com>
Date:   Tue Jun 24 19:11:13 2008 -0700

    firewire: fw-sbp2: fix parsing of logical unit directories
    
    There is a small off-by-one bug in firewire-sbp2. This causes problems
    when a device exports multiple LUN Directories. I found it when trying
    to talk to a SONY DVD Jukebox.
    
    Signed-off-by: Richard Sharpe <realrichardsharpe at gmail.com>
    Acked-by: Kristian Høgsberg <krh at redhat.com>
    Signed-off-by: Stefan Richter <stefanr at s5r6.in-berlin.de> (op. order, changelog)

commit 00eb7fe77eb455f807c396f9917f0f623d4c84bb
Author: Emmanuel Grumbach <emmanuel.grumbach at intel.com>
Date:   Thu Jun 26 12:13:46 2008 +0300

    mac80211: fix an oops in several failure paths in key allocation
    
    This patch fixes an oops in several failure paths in key allocation. This
    Oops occurs when freeing a key that has not been linked yet, so the
    key->sdata is not set.
    
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach at intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
    Acked-by: Johannes Berg <johannes at sipsolutions.net>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 5f4a6fae46a214c4dce3bd63a6219a5f1c818c78
Author: Harvey Harrison <harvey.harrison at gmail.com>
Date:   Wed Jun 25 14:20:37 2008 -0700

    prism: islpci_eth.c endianness fix
    
    clock is already cpu-endian (see le32_to_cpu slightly before), so
    le64_to_cpu doesn't make much sense.
    
    Signed-off-by: Harvey Harrison <harvey.harrison at gmail.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 980dfcb93232907034a2c92d62d3a7d6ac7bef44
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date:   Wed Jun 25 21:27:00 2008 +0200

    rt2x00: Fix lock dependency errror
    
    This fixes a circular locking dependency in the workqueue handling.
    The interface work task uses the mac80211 function
    ieee80211_iterate_active_interfaces() which grabs the RTNL lock.
    
    However when the interface is brough down, this happens under the RTNL
    lock as well, this causes problems because mac80211 will flush the workqueue
    during the ifdown event. This causes mac80211 to wait until the driver has
    completed all work which can't finish because it is waiting on the RTNL lock.
    
    This is fixed by moving rt2x00 workqueue tasks on a different workqueue,
    this workqueue can be flushed when the ieee80211_hw structure is removed
    by the driver (when the driver is unloaded) which does not happen under the
    RTNL lock.
    
    Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 7ac3b02536c9ccfcc8aabc4c135a371ac4641805
Merge: 3e3cda96d014b69f7723d1d4507897e5be6aceb7 66b5004d85164a6439d3ba1e7757734472ee2cac
Author: David S. Miller <davem at davemloft.net>
Date:   Fri Jun 27 04:26:58 2008 -0700

    Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6

commit d7ee56059b335e27c3c6db34f7efe5a705d65b1c
Merge: 1b7558e457ed0de61023cfc913d2c342c7c3d9f2 50db04dd9c74178e68a981a7127c37252ffb3242
Author: Ingo Molnar <mingo at elte.hu>
Date:   Fri Jun 27 10:36:21 2008 +0200

    Merge branch 'core/debugobjects' into core/urgent

commit 70a3143af87c6ca188107cbd49ab5eec2c86c456
Author: Tejun Heo <tj at kernel.org>
Date:   Sat Jun 21 16:07:32 2008 +0900

    sata_uli: hardreset is broken
    
    sata_uli can't do hardresets reliably and lock up.  This went
    unnoticed till now as softreset was the default and hardreset was only
    used after softreset failed.
    
    Reported by Christian Casteyde in bz#10860.
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Cc: Christian Casteyde <casteyde.christian at free.fr>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 3e3cda96d014b69f7723d1d4507897e5be6aceb7
Author: Ben Hutchings <bhutchings at solarflare.com>
Date:   Tue May 6 19:41:48 2008 +0100

    Hold RTNL while calling dev_close()
    
    dev_close() must be called holding the RTNL.  Compile-tested only.
    
    Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit c81ec80bc86f4eacd5f48229c1de623865acbb92
Author: Ben Hutchings <bhutchings at solarflare.com>
Date:   Tue May 6 19:36:26 2008 +0100

    qla3xxx: Hold RTNL while calling dev_close()
    
    dev_close() must be called holding the RTNL.  Compile-tested only.
    
    Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 64c42f697661e27c9688a32c1ba61d0228e81d84
Author: Andi Kleen <andi at firstfloor.org>
Date:   Wed Jun 18 13:58:36 2008 +0200

    [netdrvr] Fix IOMMU overflow checking in s2io.c
    
    s2io has IOMMU overflow checking, but unfortunately it is wrong.
    
    It didn't use the standard macros, which meant that it only worked
    on POWER and SPARC because only those define DMA_ERROR_CODE. Convert it to
    use the standard macros instead.
    
    I also commented two more bugs in the IOMMU handling. It assumes
    that 0 DMA addresses cannot happen, but that's not true in all IOMMU setups.
    The information if a buffer has been already mapped needs to be stored
    elsewhere.
    
    Didn't fix those because it needs careful checking of the buffer handling
    by the maintainers.
    
    Cc: ram.vepa at neterion.com
    Cc: santosh.rastapur at neterion.com
    Cc: sivakumar.subramani at neterion.com
    Cc: sreenivasa.honnur at neterion.com
    
    Signed-off-by: Andi Kleen <ak at linux.intel.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 581abbc26a7adb693fb8b913f1be18d1c349c1ab
Author: Andy Gospodarek <andy at greyhouse.net>
Date:   Thu Jun 19 17:19:02 2008 -0400

    e1000: only enable TSO6 via ethtool when using correct hardware
    
    When enabling TSO via ethool on e1000, it is possible to set
    NETIF_F_TSO6 on hardware that does not support it.  Setting TSO via
    ethtool now matches the settings used when the hardware is probed.
    
    Signed-off-by: Andy Gospodarek <andy at greyhouse.net>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 1923815d855e1daec931fc9f2221fb73ca708870
Author: Kevin Hao <kexin.hao at windriver.com>
Date:   Sat Jun 21 18:20:35 2008 +0800

    e100: Do pci_dma_sync after skb_alloc for proper operation on ixp4xx
    
    The E100 device can't work on current kernel (2.6.26-rc6) and will cause
    kernel corruption on intel ixdp4xx.
    
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 70081ac55df939363b27c1ebd27c51f510129139
Author: Al Viro <viro at ZenIV.linux.org.uk>
Date:   Mon Jun 23 02:04:50 2008 +0100

    [netdrvr] netxen: fix netxen_pci_tbl[] breakage
    
    	PCI_DEVICE_CLASS sets .device and .vendor to PCI_ANY_DEV,
    which overrides the effect of preceding PCI_DEVICE() and makes
    all elements of netxen_pci_tbl[] identical.  Introduced in the
    commit dcd56fdbaeae1008044687b973c4a3e852e8a726.
    
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit c5643cab7bf663ae049b11be43de8819683176dd
Author: Ingo Molnar <mingo at elte.hu>
Date:   Mon Jun 23 10:41:23 2008 +0200

    [netdrvr] 3c59x: remove irqs_disabled warning from local_bh_enable
    
    Original Author: Michael Buesch <mb at bu3sch.de>
    
    net, vortex: fix lockup
    
    Ingo Molnar reported:
    
    -tip testing found that Johannes Berg's "softirq: remove irqs_disabled
    warning from local_bh_enable" enhancement to lockdep triggers a new
    warning on an old testbox that uses 3c59x vortex and netlogging:
    
    ----->
        calling  vortex_init+0x0/0xb0
        PCI: Found IRQ 10 for device 0000:00:0b.0
        PCI: Sharing IRQ 10 with 0000:00:0a.0
        PCI: Sharing IRQ 10 with 0000:00:0b.1
        3c59x: Donald Becker and others.
        0000:00:0b.0: 3Com PCI 3c556 Laptop Tornado at e0800400.
        PCI: Enabling bus mastering for device 0000:00:0b.0
        initcall vortex_init+0x0/0xb0 returned 0 after 47 msecs
    ...
        calling  init_netconsole+0x0/0x1b0
        netconsole: local port 4444
        netconsole: local IP 10.0.1.9
        netconsole: interface eth0
        netconsole: remote port 4444
        netconsole: remote IP 10.0.1.16
        netconsole: remote ethernet address 00:19:xx:xx:xx:xx
        netconsole: device eth0 not up yet, forcing it
        eth0:  setting half-duplex.
        eth0:  setting full-duplex.
    ------------[ cut here ]------------
        WARNING: at kernel/softirq.c:137 local_bh_enable_ip+0xd1/0xe0()
        Pid: 1, comm: swapper Not tainted 2.6.26-rc6-tip #2091
         [<c0125ecf>] warn_on_slowpath+0x4f/0x70
         [<c0126834>] ? release_console_sem+0x1b4/0x1d0
         [<c0126d00>] ? vprintk+0x2a0/0x450
         [<c012fde5>] ? __mod_timer+0xa5/0xc0
         [<c046f7fd>] ? mdio_sync+0x3d/0x50
         [<c0160ef6>] ? marker_probe_cb+0x46/0xa0
         [<c0126ed7>] ? printk+0x27/0x50
         [<c046f4c3>] ? vortex_set_duplex+0x43/0xc0
         [<c046f521>] ? vortex_set_duplex+0xa1/0xc0
         [<c0471b92>] ? vortex_timer+0xe2/0x3e0
         [<c012b361>] local_bh_enable_ip+0xd1/0xe0
         [<c08d9f9f>] _spin_unlock_bh+0x2f/0x40
         [<c0471b92>] vortex_timer+0xe2/0x3e0
         [<c014743b>] ? trace_hardirqs_on+0xb/0x10
         [<c0147358>] ? trace_hardirqs_on_caller+0x88/0x160
         [<c012f8b2>] run_timer_softirq+0x162/0x1c0
         [<c0471ab0>] ? vortex_timer+0x0/0x3e0
         [<c012b361>] local_bh_enable_ip+0xd1/0xe0
         [<c08d9f9f>] _spin_unlock_bh+0x2f/0x40
         [<c0471b92>] vortex_timer+0xe2/0x3e0
         [<c014743b>] ? trace_hardirqs_on+0xb/0x10
         [<c0147358>] ? trace_hardirqs_on_caller+0x88/0x160
         [<c012f8b2>] run_timer_softirq+0x162/0x1c0
         [<c0471ab0>] ? vortex_timer+0x0/0x3e0
         [<c0471ab0>] ? vortex_timer+0x0/0x3e0
         [<c012b60a>] __do_softirq+0x9a/0x160
         [<c012b570>] ? __do_softirq+0x0/0x160
         [<c0106775>] call_on_stack+0x15/0x30
         [<c012b4f5>] ? irq_exit+0x55/0x60
         [<c0106e85>] ? do_IRQ+0x85/0xd0
         [<c0147391>] ? trace_hardirqs_on_caller+0xc1/0x160
         [<c0104888>] ? common_interrupt+0x28/0x30
         [<c08d8ac8>] ? mutex_unlock+0x8/0x10
         [<c08d8180>] ? _cond_resched+0x10/0x30
         [<c07a3be7>] ? netpoll_setup+0x117/0x390
         [<c0cbfcfe>] ? init_netconsole+0x14e/0x1b0
         [<c013d539>] ? ktime_get+0x19/0x40
         [<c0c9bab2>] ? kernel_init+0x1b2/0x2c0
         [<c0cbfbb0>] ? init_netconsole+0x0/0x1b0
         [<c0396aa4>] ? trace_hardirqs_on_thunk+0xc/0x10
         [<c0103f12>] ? restore_nocheck_notrace+0x0/0xe
         [<c0c9b900>] ? kernel_init+0x0/0x2c0
         [<c0c9b900>] ? kernel_init+0x0/0x2c0
         [<c0104aa7>] ? kernel_thread_helper+0x7/0x10
         =======================
    ---[ end trace 37f9c502aff112e0 ]---
        console [netcon0] enabled
        netconsole: network logging started
        initcall init_netconsole+0x0/0x1b0 returned 0 after 2914 msecs
    
    looking at the driver I think the bug is real and the fix actually
    is trivial.
    
    vp->lock is also taken in hardware IRQ context, so we _have_ to always
    use irqsafe locking. As we run in a timer with IRQs disabled,
    we can simply use spin_lock.
    
    Cc: <stable at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit e8399fed7e9f2e76eb65852612b16732129b9f3f
Author: Pekka Enberg <penberg at cs.helsinki.fi>
Date:   Mon Jun 23 14:34:50 2008 +0300

    ipg: use NULL, not zero, for pointers
    
    Fixes a sparse warning in a code block that's hidden under JUMBO_FRAME #ifdef.
    
    Tested-by: Andrew Savchenko <Bircoph at list.ru>
    Signed-off-by: Pekka Enberg <penberg at cs.helsinki.fi>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit ecfecfb5e39165b3f7f6d93aacd268edfe7c3524
Author: Pekka Enberg <penberg at cs.helsinki.fi>
Date:   Mon Jun 23 14:34:29 2008 +0300

    ipg: fix jumbo frame compilation
    
    Make jumbo frame support compile again. It was broken by the cleanup series
    before the merge because the code is hidden under JUMBO_FRAME #ifdef.
    
    Tested-by: Andrew Savchenko <Bircoph at list.ru>
    Signed-off-by: Pekka Enberg <penberg at cs.helsinki.fi>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 3f6602ad56dc538a846367bd6a05ac7ac4d3e641
Author: Julia Lawall <julia at diku.dk>
Date:   Mon Jun 23 23:12:31 2008 +0200

    drivers/net/r6040.c: Eliminate double sizeof
    
    Taking sizeof the result of sizeof is quite strange and does not seem to be
    what is wanted here.
    
    This was fixed using the following semantic patch.
    (http://www.emn.fr/x-info/coccinelle/)
    
    // <smpl>
    @@
    expression E;
    @@
    
    - sizeof (
      sizeof (E)
    - )
    // </smpl>
    
    Signed-off-by: Julia Lawall <julia at diku.dk>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 54299ef7e9ae4b5d47b02f3abea168cdc62a6f70
Author: Komuro <komurojun-mbn at nifty.com>
Date:   Sat Jun 7 21:37:56 2008 +0900

    pcnet_cs, axnet_cs: clear bogus interrupt before request_irq
    
    Signed-off-by: Komuro <komurojun-mbn at nifty.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 52cc30862a8f90c98be8eb527d00e5e06d398b22
Author: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
Date:   Tue Jun 24 17:01:29 2008 -0700

    e1000e: fix EEH recovery during reset on PPC
    
    EEH is not recovering in a reasonable amount of time on PPC during
    e1000e_down().
    
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
    Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 3023682e74bc17debc6aa5e234ae1d0b0e198719
Author: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
Date:   Tue Jun 24 17:01:15 2008 -0700

    igb: fix EEH recovery during reset on PPC
    
    EEH is not recovering in a reasonable amount of time on PPC during
    igb_down().
    
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
    Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 6f4a0e45c6392f84436004d4c04d31b8ff5071c5
Author: Paul Larson <pl at us.ibm.com>
Date:   Tue Jun 24 17:00:56 2008 -0700

    ixgbe: fix EEH recovery during reset on PPC
    
    EEh is not recovering in a resonable amount of time on PPC during
    ixgbe_down().
    
    Signed-off-by: Paul Larson <pl at us.ibm.com>
    Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit ccc57aac9c9532b4540968632a8c4a0b946dbcc4
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date:   Thu Jun 26 17:14:15 2008 +0900

    tc35815: Fix receiver hangup on Rx FIFO overflow
    
    On Rx FIFO overflow error, the controller consume a buffer descriptor
    but currently the driver does not give it back to the controller.
    This results unrecoverable 'Buffer List Exhausted' condition.  This
    patch fix this problem by moving a "fbl_count--" line to proper place.
    
    Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit 59524a37446e18a672188d86d23c8c76fd488621
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Date:   Wed Jun 25 11:41:01 2008 +0900

    tc35815: Mark carrier-off before starting PHY
    
    Call netif_carrier_off() before starting PHY device.  This is a
    behavior before converting to generic PHY layer.
    
    Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit f471f92339860c35b561cf45ad563ab1ff07c386
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Jun 26 16:06:19 2008 +0200

    s2io: fix documentation about intr_type
    
    The documentation for intr_type module parameter of the s2io driver is
    not consistent with the code. The comments in drivers/net/s2io.c are
    OK, but Documentation/networking/s2io.txt is wrong.
    
    Pointed out by Andrew Hecox.
    
    Signed-off-by: Michal Schmidt <mschmidt at redhat.com>
    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>

commit a17898737eaed4ef41f273da7b830c632e06613e
Author: Arjan van de Ven <arjan at linux.intel.com>
Date:   Sun Jun 22 17:03:02 2008 -0300

    V4L/DVB (8108): Fix open/close race in saa7134
    
    The saa7134 driver uses a (non-atomic) variable in an attempt to
    only allow one opener of the device (how it deals with sending
    the fd over unix sockets I don't know).
    
    Unfortunately, the release function first decrements this variable,
    and THEN goes on to disable more of the device. This allows for
    a race where another opener of the device comes in after the decrement of
    the variable, configures the hardware just to then see the hardware
    be disabled by the rest of the release function.
    
    This patch makes the release function use the same lock as the open
    function to protect the hardware as well as the variable (which now
    at least has some locking to protect it).
    
    Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 5c554e6b984ce6b36488b93a7ec8e2752233e7cb
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Sun Jun 22 09:11:40 2008 -0300

    V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff
    
    Move allocation after first check and fix memory leak.
    
    Noticed-by: Daniel Marjamäki <danielm77 at spray.se>
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit e470d8177ed6ae56f4310ce793a57bcb2fed1749
Author: Steven Toth <stoth at linuxtv.org>
Date:   Sat Jun 21 21:06:02 2008 -0300

    V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download is needed
    
    This patch ensures that the xc5000 will have firmware loaded as needed if the
    part is powered down or reset via gpio from the host. An example of this, in
    some cases, could be after the system resumes from standby or hibernate modes.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 836c28584d4629fdc85365f083b84e1298e14312
Author: Steven Toth <stoth at linuxtv.org>
Date:   Sat Jun 21 19:32:41 2008 -0300

    V4L/DVB (8096): au8522: prevent false-positive lock status
    
    This decreases scan time in Queens, New York from 28 minutes to 7 minutes,
    with the exact same services found.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 7fa8e6fa1519194fc0c931f40d530fb55137bad9
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date:   Sat Jun 21 13:23:27 2008 -0300

    V4L/DVB (8092): videodev: simplify and fix standard enumeration
    
    VIDIOC_ENUMSTD did not return all the PAL/SECAM/NTSC variants: it just returned
    one single PAL/SECAM/NTSC standard without separate entries for the trickier
    standards like NTSC-JP.
    
    Changed the code so that it behaves better.
    
    Also simplified the if/switch statements into a common standards lookup table.
    
    Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 7876ad75b1a3b7dc3d5d765d0be086d89fd2e663
Author: Oliver Endriss <o.endriss at gmx.de>
Date:   Thu Jun 19 23:25:04 2008 -0300

    V4L/DVB (8075): stv0299: Uncorrected block count and bit error rate fixed
    
    Fix uncorrected block counter and bit error rate to follow DVB API spec:
    - Unsupported controls return -ENOSYS.
    - UNC must never be set to 0.
    
    Signed-off-by: Oliver Endriss <o.endriss at gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 0b915e74ac10b65da930aa430837d4338f5deb65
Author: Oliver Endriss <o.endriss at gmx.de>
Date:   Thu Jun 19 23:10:14 2008 -0300

    V4L/DVB (8074): av7110: OSD transfers should not be interrupted
    
    OSD transfers should not be interrupted.
    
    Signed-off-by: Oliver Endriss <o.endriss at gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit edabaffc7e7fccdeadac6273704102adc2b604ae
Author: Oliver Endriss <o.endriss at gmx.de>
Date:   Thu Jun 19 23:04:27 2008 -0300

    V4L/DVB (8073): av7110: Catch another type of ARM crash
    
    Catch another type of ARM crash.
    
    Signed-off-by: Oliver Endriss <o.endriss at gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit c9fa2b1eee9d10c2455d3cd148cf13b34d91bdef
Author: Oliver Endriss <o.endriss at gmx.de>
Date:   Thu Jun 19 22:45:55 2008 -0300

    V4L/DVB (8071): tda10023: Fix possible kernel oops during initialisation
    
    If the i2c write fails during initialisation, an oops happens
    because state->frontend.dvb is still undefined. Fixed.
    
    Thanks to Sigmund Augdal for reporting this bug,
    and to Hartmut Birr for suggesting the fix.
    
    Thanks-to: Sigmund Augdal <sigmund at snap.tv>
    Thanks-to: Hartmut Birr <e9hack at gmail.com>
    
    Signed-off-by: Oliver Endriss <o.endriss at gmx.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit ad907fa39517ca35b46912fbfe2b77cd89e1d56a
Author: Andy Walls <awalls at radix.net>
Date:   Sun Jun 22 02:00:09 2008 -0300

    V4L/DVB (8069): cx18: Fix S-Video and Compsite inputs for the Yuan MPC718 and enable card entry
    
    cx18: Fix S-Video and Compsite input settings for the Yuan MPC718 per user
    reports from Yuri Warczynski <Yuri.Warczynski at gmail.com> and
    Brian Hope <brian at hopefamily.info> and enable the card entry.  The tuner reset
    GPIO pin is likely incorrect as the tuner firmware cannot be reloaded without a
    reboot.  It is likely the audio routing is done via GPIO which is not
    implemented yet, as users report audio doesn't work for some inputs.
    
    Signed-off-by: Andy Walls <awalls at radix.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 1f09e8a25c9aaa4066b4593c1bf99a4cbcc38120
Author: Andy Walls <awalls at radix.net>
Date:   Sun Jun 22 01:27:00 2008 -0300

    V4L/DVB (8068): cx18: Add I2C slave reset via GPIO upon initialization
    
    cx18: Add I2C slave reset via GPIO upon initialization.  One user,
    Michael <msd4824 at yahoo.com>, has reported this allows his HVR-1600 EEPROM to
    be consistently recognized when using (long,) 100 msec delays.   The delays in
    this commit are nominal (10 & 40 msec) and need testing/tuning on boards with
    I2C problems to find the right values.
    
    Signed-off-by: Andy Walls <awalls at radix.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 08cf7b2ed172cc83f3d2f44b712b3d54e6cc4ae6
Author: Andy Walls <awalls at radix.net>
Date:   Sun Jun 22 00:04:21 2008 -0300

    V4L/DVB (8067): cx18: Fix firmware load for case when digital capture happens first
    
    This is a fix for the case when a digital capture from dvr0 happens first after
    modprobe, before access to any cx18 v4l2 device nodes.  The initial dvb feed
    start has been changed to load the firmware if not already loaded.  Also fixed a
    use counter to correct dvb feed accounting if starting the transport DMA fails.
    
    Signed-off-by: Andy Walls <awalls at radix.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 46195b555aa3edd265b4e765e4edff59b253b55e
Author: Andy Walls <awalls at radix.net>
Date:   Thu Jun 19 23:17:05 2008 -0300

    V4L/DVB (8066): cx18: Fix audio mux input definitions for HVR-1600 Line In 2 and FM radio
    
    Fix the cx18-cards.c structures for the HVR-1600 to reflect that audio Line In 2
    and FM radio audio go to AIN3 and AIN4 of the CS5345 mux respectively.  Verified
    by physical inspection of an HVR-1600MCE, by listening to FM broadcasts with the
    HVR-1600MCE, and by comparing with the card definition for a PVR-150 in ivtv.
    
    Signed-off-by: Andy Walls <awalls at radix.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 527629fb7c35ad93389ab132823d19139dd88e70
Author: Andy Walls <awalls at radix.net>
Date:   Sat Jun 14 03:58:08 2008 -0300

    V4L/DVB (8063): cx18: Fix unintended auto configurations in cx18-av-core
    
    Change the cx18-av-core code so that accesses to cx23418 av core that
    cause auto-configuration will be adjusted to emulate the auto-configuration
    behavior of the cx25843.  This fixes the VBI displayed as video at the top of
    the frame for NTSC and probably other things.
    
    Signed-off-by: Andy Walls <awalls at radix.net>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit beb31e636501f39e853ac5d0ffd3fbb910d19d5c
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Tue Jun 17 17:37:51 2008 -0300

    V4L/DVB (8061): cx18: only select tuner / frontend modules if !DVB_FE_CUSTOMISE
    
    The automatic Kconfig selection for tuners and frontends should be
    conditional, based on !DVB_FE_CUSTOMISE.
    
    This patch corrects the selection for VIDEO_CX18 on
    MEDIA_TUNER_MXL5005S and DVB_S5H1409
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 6e501a3f4a7259b1c04aa6cbdfe64376afc9f59c
Author: Tim Farrington <timf at iinet.net.au>
Date:   Sun Jun 15 13:33:42 2008 -0300

    V4L/DVB (8048): saa7134: Fix entries for Avermedia A16d and Avermedia E506
    
    Also, adds IR table for Avermedia A16d
    
    Signed-off-by: Tim Farrington <timf at iinet.net.au>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 74d50724a02d7cdc7f7887411518ec43d0251b97
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Fri Jun 13 20:33:23 2008 -0300

    V4L/DVB (8044): au8522: tuning optimizations
    
    If the current modulation and frequency is already set to
    the desired parameters, then don't re-tune.
    
    Don't store current frequency until after we've tuned successfully.
    
    Force a re-tune after resume from standby.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 104fe9a2d2a56f25fb95800a7ab0f7600dd6879c
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Fri Jun 13 03:29:43 2008 -0300

    V4L/DVB (8043): au0828: add support for additional USB device id's
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 3b9408870757bd9e07fd03ac6318258f22b8dfa3
Author: Austin Lund <austin.lund at gmail.com>
Date:   Fri Jun 13 11:02:43 2008 -0300

    V4L/DVB (8042): DVB-USB UMT-010 channel scan oops
    
    In the umt-010 driver the struct umt_properties sets the number of URBs for
    transfer to 20.  But in dvb-usb.h MAX_NO_URBS_FOR_DATA_STREAM is set to 10.
    
    Not surprisingly this causes an oops for all devices which use the umt-010
    chipset when they are inserted.
    
    fix on Kaffeine channel scan for
    
    Initialize stream count using MAX_NO_URBS_FOR_DATA_STREAM.
    
    Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
    Signed-off-by: maximilian attems <max at stro.at>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 3cfdc7f25b3116d57e91427caada74dd69bfbc06
Author: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
Date:   Fri Jun 13 09:11:01 2008 -0300

    V4L/DVB (8040): soc-camera: remove soc_camera_host_class class
    
    Devices can either be class devices or bus devices, not both at the
    same time. Soc-camera host devices usually have a platform device as
    their parent. Trying to also register them with a class crashes the
    kernel, when linked statically. Interestingly, it works when built
    as a module. Thanks to Paulius Zaleckas for reporting.
    
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 02da465945ae0a277aadf2bf37965a9e6c28f8c3
Author: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
Date:   Fri Jun 13 09:03:45 2008 -0300

    V4L/DVB (8039): pxa-camera: fix platform_get_irq() error handling.
    
    platform_get_irq() returns a negative value on error, not 0.
    
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at pengutronix.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 7ae1ac4c1db5a3647604acb00d736f17af6999b7
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Wed Jun 11 13:52:49 2008 -0300

    V4L/DVB (8037): tda18271: ensure that the thermometer is off during channel configuration
    
    Having the thermometer on during channel configuration
    could cause tuning instability.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 51858d13612a06494beb08616f8a93bdb2688e4c
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Mon Jun 9 02:03:31 2008 -0300

    V4L/DVB (8036): tda18271: toggle rf agc speed mode on TDA18271HD/C2 only
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 119a7c7e34b5e5fa65051960ca05000a19dbce85
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Sun Jun 8 22:12:37 2008 -0300

    V4L/DVB (8035): tda18271: dont touch EB14 if rf_cal lookup is out of range
    
    The TDA18271HD/C1 rf_cal map lookup is expected to go out of range outside
    of the frequency window 41 MHz - 61.1 MHz.  In these cases, the internal
    RF tracking filters calibration mechanism is used.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 44e645c20304bbe0a72cb994d9baf4b5727d7cec
Author: Michael Krufky <mkrufky at linuxtv.org>
Date:   Sun Jun 8 20:10:29 2008 -0300

    V4L/DVB (8034): tda18271: fix IF notch frequency handling
    
    The IF notch bit gets unset when we update the Main Post Div register
    value, before we have a chance to write the desired IF notch setting
    to the tuner.  Move the IF notch configuration to after we update MPD.
    
    Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 0e7830b50b20fcc25f21f79b7734102284d7c8f9
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Sat Jun 14 11:27:34 2008 -0300

    V4L/DVB (8029): Improve error message at tda1004x_attach
    
    When an error occurs at firmware loading, sometimes, tda1004x stops answering.
    Instead of reporting such error, attach code were assuming that the device were
    answering an invalid ID (0xff). This can be seen when enabling debug options:
    
    tda1004x: tda1004x_read_byte: reg=0x0
    tda1004x: tda1004x_read_byte: error reg=0x0, ret=-5
    
    Now, instead of reporting an invalid ID, it will report the correct error:
    
    tda10046: chip is not answering. Giving up.
    saa7133[0]/dvb: failed to attach tda10046
    saa7133[0]/dvb: frontend initialization failed
    
    A possible improvement would be trying to reset the device.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit bc36ec746409e4e4719b94a86dc0d8cbeb6f439f
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Sat Jun 14 10:44:04 2008 -0300

    V4L/DVB (8028): Improve error messages for tda1004x attach
    
    A fresh copy of v.29 firmware, using get_firmware, is leading to an invalid
    firmware:
    
    DVB: registering new adapter (saa7133[0])
    DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
    tda1004x: setting up plls for 48MHz sampling clock
    tda1004x: found firmware revision ff -- invalid
    tda1004x: trying to boot from eeprom
    tda1004x: found firmware revision ff -- invalid
    tda1004x: waiting for firmware upload...
    tda1004x: Error during firmware upload
    tda1004x: found firmware revision ff -- invalid
    tda1004x: firmware upload failed
    
    Sometimes, loading/unloading this firmware makes tda1004x to return an invalid
    ID. However, there were no printk messages to help to identify what were the
    cause for the error.
    
    With this patch, it will now print:
    
    Invalid tda1004x ID = 0xff. Can't proceed
    saa7133[0]/dvb: failed to attach tda10046
    saa7133[0]/dvb: frontend initialization failed
    
    Tested with LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit b25fed115a8bd8d39d14ce0d03e808272a401d67
Author: Matthias Schwarzott <zzam at gentoo.org>
Date:   Fri Jun 13 19:28:17 2008 -0300

    V4L/DVB (8027): saa7134: Avermedia A700: only s-video and composite input are working
    
    Describe exactly that only s-video and composite input are working on Avermedia
    A700
    
    Signed-off-by: Matthias Schwarzott <zzam at gentoo.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 83ee87a31dc43a5fd6dee3562c146033c3a4cb39
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Sat Jun 14 09:41:18 2008 -0300

    V4L/DVB (8026): Avoids an OOPS if dev struct can't be successfully recovered
    
    On some alsa versions, it seems that snd_pcm_substream_chip(substream)
    is returning a NULL pointer. This causes an OOPS, as reported by:
    
    https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/212271
    https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/212960
    
    This patch avoids the OOPS by not letting and open() succeed.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 913f5fc209247b607b1994a710315966f4f9d358
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Tue Jun 10 15:18:16 2008 -0300

    V4L/DVB (8022): saa7134: fix race between opening and closing the device
    
    decrementing dev->empress_users should be done as last action of ts_release,
    because it sleeps and write access to dev->empress_started is not protected
    in any way
    (additionally closing thread could mute audio after opening thread unmuted it)
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit a14fe9605bfdfe360b97acc9ef912779eb860507
Author: Dmitri Belimov <d.belimov at gmail.com>
Date:   Tue Jun 10 14:19:31 2008 -0300

    V4L/DVB (8020): Fix callbacks functions of saa7134_empress
    
    If I try v4l2-ctl --all -d /dev/video1 or v4l2-ctl --streamon -d /dev/video1
    modules crashed:
    
    *pde = 00000000
    Modules linked in: ac battery loop saa7134_empress(F) saa6752hs(F) tuner_simple(F) tuner_types(F) tea5767(F) tda9887(F) tda8290(F) tea5761(F) tuner(F) snd_cmipci snd_pcm snd_page_alloc snd_opl3_lib saa7134(F) snd_mpu401 parport_pc parport snd_timer snd_hwdep snd_mpu401_uart floppy rtc psmouse videodev(F) v4l1_compat(F) compat_ioctl32(F) v4l2_common(F) videobuf_dma_sg(F) videobuf_core(F) snd_rawmidi snd_seq_device via_ircc pcspkr snd ir_kbd_i2c(F) irda soundcore ir_common(F) crc_ccitt tveeprom(F) i2c_viapro i2c_core button via_agp agpgart evdev ext3 jbd mbcache ide_cd_mod cdrom ide_disk 8139cp via82cxxx ide_core 8139too mii ehci_hcd uhci_hcd usbcore thermal processor fan
    
    EIP is at __mutex_lock_slowpath+0x29/0x7b
     DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    Process v4l2-ctl (pid: 2742, ti=ced7e000 task=cf325260 task.ti=ced7e000)
           d08e5411 00000000 ced7fed4 00000000 d0975acb 40045612 cfa86ee0 ffffffcd
           cf2b7000 ced7febc c03858d6 00000019 00000292 d089e4ec cf37b2a0 d089e4a0
    Call Trace:
     [<c028b52b>] mutex_lock+0xa/0xb
     [<d08e5411>] videobuf_streamon+0xf/0x9a [videobuf_core]
     [<d0975acb>] __video_do_ioctl+0x136a/0x2d68 [videodev]
     [<d088f789>] task_end_request+0x40/0x51 [ide_core]
     [<d088c4aa>] ide_intr+0x187/0x192 [ide_core]
     [<c016a551>] mntput_no_expire+0x11/0x64
     [<c0160b1c>] path_walk+0x90/0x98
     [<d0977738>] video_ioctl2+0x173/0x239 [videodev]
     [<c0140936>] filemap_fault+0x202/0x370
     [<c014930a>] __do_fault+0x2c3/0x2fe
     [<c014ab03>] handle_mm_fault+0x22a/0x49f
     [<c0162737>] vfs_ioctl+0x47/0x5d
     [<c0162992>] do_vfs_ioctl+0x245/0x258
     [<c01629e6>] sys_ioctl+0x41/0x5b
     [<c01036a6>] sysenter_past_esp+0x5f/0x85
     =======================
    
    After this fix all of that commands works without problem:
    
    v4l2-ctl --all -d /dev/video1
    
    Driver Info:
    	Driver name   : saa7134
    	Card type     : Beholder BeholdTV M6 Extra
    	Bus info      : PCI:0000:00:0d.0
    	Driver version: 526
    	Capabilities  : 0x05000001
    		Video Capture
    		Read/Write
    		Streaming
    Format Video Capture:
    	Width/Height  : 720/576
    	Pixel Format  : MPEG
    	Field         : Any
    	Bytes per Line: 0
    	Size Image    : 58656
    	Colorspace    : Unknown (00000000)
    Video input : 0 (CCIR656)
    Video Standard = 0x000000ff
    	PAL-B/B1/G/H/I/D/D1/K
    
    
    P.S. data from /dev/video1 is not correct :(( .
    
    Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit a8a1f8cc0cae07c209f13857adbdd4b87b36cdde
Author: Devin Heitmueller <devin.heitmueller at gmail.com>
Date:   Tue Jun 10 12:35:42 2008 -0300

    V4L/DVB (8018): Add em2860 chip ID
    
    em28xx-cards.c
    em28xx-reg.h
     - Add em2860 chip ID (seen on Pointnix Intra-Oral Camera)
       http://www.pointnix.com/ENG/dental/product_02.asp
    
    Signed-off-by: Devin Heitmueller <devin.heitmueller at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit df619181631217e3166bb6c7538f981e0272617f
Author: Devin Heitmueller <devin.heitmueller at gmail.com>
Date:   Tue Jun 10 12:34:35 2008 -0300

    V4L/DVB (8017): Ensure em28xx extensions only get run against devs that support them
    
    em28xx-audio.c
    em28xx-dvb.c
     - Em28xx extensions should ensure they are being only loaded against devices
       that support them.  Deals with case where there are multiple em28xx
       devices, some of which have DVB (or ALSA) support and some do not.
    
    Signed-off-by: Devin Heitmueller <devin.heitmueller at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 1a78db826973b9fa658d72291ec2007889e2faf7
Author: Antti Palosaari <crope at iki.fi>
Date:   Tue Jun 10 11:41:58 2008 -0300

    V4L/DVB (8015): gl861: replace non critical msleep(0) with msleep(1) to be on the safe side
    
    - change msleep(0) to msleep(1)
    
    Signed-off-by: Antti Palosaari <crope at iki.fi>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit ea3a13b7a19f0d7d7344494047c9aa8bb32b6678
Author: Antti Palosaari <crope at iki.fi>
Date:   Wed May 28 22:04:12 2008 -0300

    V4L/DVB (8013): gl861: remove useless identify_state
    
    - remove useless identify_state - device is always warm
    
    Signed-off-by: Antti Palosaari <crope at iki.fi>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit f56ebe16b045861d26b81ef6683445c0144362b8
Author: Antti Palosaari <crope at iki.fi>
Date:   Wed May 28 21:55:06 2008 -0300

    V4L/DVB (8012): gl861: sleep a little to avoid I2C errors
    
    - add little sleep to avoid I2C errors arising on faster CPUs
    
    Signed-off-by: Antti Palosaari <crope at iki.fi>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit b38cc642000f0a262db367ffb95cd02ca2ead59b
Author: Devin Heitmueller <devin.heitmueller at gmail.com>
Date:   Mon Jun 9 14:59:05 2008 -0300

    V4L/DVB (8011): em28xx: enable DVB for HVR-900
    
    em28xx-cards.c
     - DVB support is supposed to be enabled for the first generation HVR-900.
       This device was confirmed with DVB by mkrufky when we did the original work
       in April, but I guess we forgot to set the flag.
    
    Signed-off-by: Devin Heitmueller <devin.heitmueller at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 0367ca1bc7346d9ea89a4b4f1b9220489bda65a3
Author: Devin Heitmueller <devin.heitmueller at gmail.com>
Date:   Mon Jun 9 14:58:04 2008 -0300

    V4L/DVB (8010): em28xx: Properly register extensions for already attached devices
    
    em28xx-video.c
     - Properly handle loading of the module when multiple devices are already
       connected (such as at bootup).  Before we were only calling dvb_init()
       against the last device in the list, so while we were handling subsequent
       adds properly, if there were multiple devices present on driver load,
       everybody except the last device would not get initialized.
    
    Signed-off-by: Devin Heitmueller <devin.heitmueller at gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit d3d9b803eead0a536d28ffc31c5fadae976991cc
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date:   Sun Jun 8 06:05:18 2008 -0300

    V4L/DVB (8008): cx18: remove duplicate audio and video input enums
    
    cx18-cards.h had a copy of the audio and video input enums
    from cx18-av-core.h, but with different prefixes. Removed
    that copy and used the ones from cx18-av-core.h.
    
    Thanks to Andy Walls <awalls at radix.net> for the report.
    
    Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 45270a1531a2aa90dd890666913c25a1e6f5e8eb
Author: Hans Verkuil <hverkuil at xs4all.nl>
Date:   Sat Jun 7 11:18:17 2008 -0300

    V4L/DVB (8007): cx18/cx25840: the S-Video LUMA input can use all In1-In8 inputs
    
    The S-Video LUMA input was restricted to the In1-In4 inputs, but it
    turns out that it can use the full range of In1-In8.
    
    Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit bf67cac1314ba29676fbac2decde0e2e0a8170f8
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Sat Jun 7 15:54:10 2008 -0300

    V4L/DVB (8005): Fix OOPS if frontend is null
    
    Thanks to timf <timf at iinet.net.au> and Mike Galbraith <efault at gmx.de> to report
    this issue.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit fde60748d2f0345cabff20d25458c67d4ac06034
Author: Mauro Carvalho Chehab <mchehab at infradead.org>
Date:   Thu Jun 5 18:59:08 2008 -0300

    V4L/DVB (8004): Fix INPUT dependency at budget-ci
    
    As reported by Ingo Molnar:
    MODPOST 346 modules
    ERROR: "input_free_device" [drivers/media/dvb/ttpci/budget-ci.ko] undefined!
    ERROR: "input_register_device" [drivers/media/dvb/ttpci/budget-ci.ko] undefined!
    ERROR: "input_allocate_device" [drivers/media/dvb/ttpci/budget-ci.ko] undefined!
    ERROR: "input_unregister_device" [drivers/media/dvb/ttpci/budget-ci.ko] undefined!
    ERROR: "input_event" [drivers/media/common/ir-common.ko] undefined!
    
    This occurs when:
    
    CONFIG_INPUT=n
    CONFIG_VIDEO_IR=m
    CONFIG_DVB_BUDGET_CI=m
    
    Thanks-to: Ingo Molnar <mingo at elte.hu>
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>

commit 0b1faeef5f9243bb5fc5713a34bbf1ceab0de562
Author: Daniel J Blueman <daniel.blueman at gmail.com>
Date:   Sun Jun 15 12:32:15 2008 +0100

    x86: section/warning fixes
    
    WARNING: arch/x86/mm/built-in.o(.text+0x3a1): Section mismatch in
    reference from the function set_pte_phys() to the function
    .init.text:spp_getpage()
    The function set_pte_phys() references
    the function __init spp_getpage().
    This is often because set_pte_phys lacks a __init
    annotation or the annotation of spp_getpage is wrong.
    
    arch/x86/mm/init_64.c: In function 'early_memtest':
    arch/x86/mm/init_64.c:520: warning: passing argument 2 of
    'find_e820_area_size' from incompatible pointer type
    
    Signed-off-by: Daniel J Blueman <daniel.blueman at gmail.com>
    Cc: "Linus Torvalds" <torvalds at linux-foundation.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 41aefdcc98fdba47459eab67630293d67e855fc3
Author: Max Asbock <masbock at us.ibm.com>
Date:   Wed Jun 25 14:45:28 2008 -0700

    x86: shift bits the right way in native_read_tscp
    
    native_read_tscp shifts the bits in the high order value in the
    wrong direction, the attached patch fixes that.
    
    Signed-off-by: Max Asbock <masbock at linux.vnet.ibm.com>
    Acked-by: Glauber Costa <gcosta at redhat.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit c4e6a2e64e948de42473e9c829181d768b1258c3
Merge: 816c2eda3ce8fa7eb62f22e01e2ec7a3f7d677c0 16d752397301b95abaa95cbaf9e785d221872311
Author: Len Brown <len.brown at intel.com>
Date:   Thu Jun 26 01:56:35 2008 -0400

    Merge branches 'release', 'acpi_disabled' and 'bugzilla-10958' into release

commit 816c2eda3ce8fa7eb62f22e01e2ec7a3f7d677c0
Author: Len Brown <len.brown at intel.com>
Date:   Tue Jun 24 22:57:12 2008 -0400

    dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled.
    
    Signed-off-by: Len Brown <len.brown at intel.com>

commit 4389ed2ff61de2b1485b31bf342da913dd342f59
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date:   Fri Jun 20 15:39:09 2008 +0200

    ACPI: don't walk tables if ACPI was disabled
    
    Ingo Molnar wrote:
    > -tip auto-testing started triggering this spinlock corruption message
    > yesterday:
    >
    > [    3.976213] calling  acpi_rtc_init+0x0/0xd3
    > [    3.980213] ACPI Exception (utmutex-0263): AE_BAD_PARAMETER, Thread F7C50000 could not acquire Mutex [3] [20080321]
    > [    3.992213] BUG: spinlock bad magic on CPU#0, swapper/1
    > [    3.992213]  lock: c2508dc4, .magic: 00000000, .owner: swapper/1, .owner_cpu: 0
    
    This is apparently because some parts of ACPI, including mutexes, are not
    initialized when acpi=off is passed to the kernel.
    
    Reported-by: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
    Signed-off-by: Len Brown <len.brown at intel.com>

commit 16d752397301b95abaa95cbaf9e785d221872311
Author: Rene Herman <rene.herman at keyaccess.nl>
Date:   Tue Jun 24 19:38:56 2008 +0200

    thermal: Create CONFIG_THERMAL_HWMON=n
    
    A bug in libsensors <= 2.10.6 is exposed
    when this new hwmon I/F is enabled.
    Create CONFIG_THERMAL_HWMON=n
    until some time after libsensors 2.10.7 ships
    so those users can run the latest kernel.
    
    libsensors 3.x is already fixed -- those users
    can use CONFIG_THERMAL_HWMON=y now.
    
    Signed-off-by: Rene Herman <rene.herman at gmail.com>
    Acked-by: Mark M. Hoffman <mhoffman at lightlink.com>
    Signed-off-by: Len Brown <len.brown at intel.com>

commit 9e6c29768fc05d32ba1342b9348957b24bc476c2
Author: Jaya Kumar <jayakumar.arm at gmail.com>
Date:   Sun Jun 22 04:27:27 2008 +0100

    [ARM] 5117/1: pxafb: fix __devinit/exit annotations
    
    This patch fixes pxafb's init/exit annotations. It uses __devinit/exit for
    probe functions and __init for init functions. g_options is left as
    __devinitdata since it is used by both.
    
    Signed-off-by: Jaya Kumar <jayakumar.lkml at gmail.com>
    Acked-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
    Acked-by: Eric Miao <eric.miao at marvell.com>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit ec5e69f6d3f4350681d6f7eaae515cf014be9276
Author: James Bottomley <James.Bottomley at HansenPartnership.com>
Date:   Mon Jun 23 14:52:09 2008 -0500

    [SCSI] esp: tidy up target reference counting
    
    The esp driver currently does hand rolled reference counting of its
    target.  It's much easier to do what it needs to do if it's plugged into
    the mid-layer callbacks (target_alloc and target_destroy) which were
    designed for this case, so do it this way and get rid of the internal
    target reference count.
    
    Acked-by: David S. Miller <davem at davemloft.net>
    Cc: Stable Tree <stable at kernel.org>
    Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>

commit 66b5004d85164a6439d3ba1e7757734472ee2cac
Author: Ron Rindjunsky <ron.rindjunsky at intel.com>
Date:   Wed Jun 25 16:46:31 2008 +0800

    iwlwifi: improve scanning band selection management
    
    This patch modifies the band selection management when scanning, so
    bands are now scanned according to HW band support.
    
    Signed-off-by: Ron Rindjunsky <ron.rindjunsky at intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
    Signed-off-by: Zhu Yi <yi.zhu at intel.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 99ade2597e3f7f0ad463c489aaccd6cc605e242c
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date:   Fri Jun 20 22:11:00 2008 +0200

    rt2x00: Fix unbalanced mutex locking
    
    The usb_cache_mutex was not correctly released
    under all circumstances. Both rt73usb as rt2500usb
    didn't release the mutex under certain conditions
    when the register access failed. Obviously such
    failure would lead to deadlocks.
    
    In addition under similar circumstances when the
    bbp register couldn't be read the value must be
    set to 0xff to indicate that the value is wrong.
    This too didn't happen under all circumstances.
    
    Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 2f9ec47d0954f9d2e5a00209c2689cbc477a8c89
Author: Michael Buesch <mb at bu3sch.de>
Date:   Fri Jun 20 11:40:46 2008 +0200

    b43legacy: Fix possible NULL pointer dereference in DMA code
    
    This fixes a possible NULL pointer dereference in an error path of the
    DMA allocation error checking code. This is also necessary for a future
    DMA API change that is on its way into the mainline kernel that adds
    an additional dev parameter to dma_mapping_error().
    
    Signed-off-by: Michael Buesch <mb at bu3sch.de>
    Cc: stable <stable at kernel.org>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 7b3abfc87ec13a81b255012b6e1bd4caeeb05aec
Author: Michael Buesch <mb at bu3sch.de>
Date:   Sun Jun 15 16:01:24 2008 +0200

    b43: Fix possible MMIO access while device is down
    
    This fixes a possible MMIO access while the device is still down
    from a suspend cycle. MMIO accesses with the device powered down
    may cause crashes on certain devices.
    
    Signed-off-by: Michael Buesch <mb at bu3sch.de>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 664f200610a3c9641ff58fc91b986b804cb1cc2d
Author: Michael Buesch <mb at bu3sch.de>
Date:   Sun Jun 15 15:27:49 2008 +0200

    b43legacy: Do not return TX_BUSY from op_tx
    
    Never return TX_BUSY from op_tx. It doesn't make sense to return
    TX_BUSY, if we can not transmit the packet.
    Drop the packet and return TX_OK.
    
    Signed-off-by: Michael Buesch <mb at bu3sch.de>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit c9e8eae0935f03e2d03a7ad7af80d8fc6c53e68c
Author: Michael Buesch <mb at bu3sch.de>
Date:   Sun Jun 15 15:17:29 2008 +0200

    b43: Do not return TX_BUSY from op_tx
    
    Never return TX_BUSY from op_tx. It doesn't make sense to return
    TX_BUSY, if we can not transmit the packet.
    Drop the packet and return TX_OK.
    This will fix the resume hang.
    
    Signed-off-by: Michael Buesch <mb at bu3sch.de>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 59d393ad92f719d9ef36b96eae56d4817a7eeb10
Author: Tony Vroon <tony at linx.net>
Date:   Wed Jun 11 16:23:56 2008 -0400

    mac80211: implement EU regulatory domain
    
    Implement missing EU regulatory domain for mac80211. Based on the
    information in IEEE 802.11-2007 (specifically pages 1142, 1143 & 1148)
    and ETSI 301 893 (V1.4.1).
    With thanks to Johannes Berg.
    
    Signed-off-by: Tony Vroon <tony at linx.net>
    Acked-by: Johannes Berg <johannes at sipsolutions.net>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

commit 8d0a60032ffd472f0f7821ff388e9f438c06077a
Author: Bryan Wu <cooloney at kernel.org>
Date:   Wed Jun 25 12:41:51 2008 +0800

    Blackfin arch: fix up section mismatch warning
    
    --
    WARNING: vmlinux.o(.text+0x721a): Section mismatch in reference from the function ___fill_code_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_code_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_code_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x7238): Section mismatch in reference from the function ___fill_code_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_code_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_code_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x7250): Section mismatch in reference from the function ___fill_code_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_code_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_code_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x7264): Section mismatch in reference from the function ___fill_code_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_code_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_code_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x72a2): Section mismatch in reference from the function ___fill_data_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_data_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_data_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x72bc): Section mismatch in reference from the function ___fill_data_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_data_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_data_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x72d4): Section mismatch in reference from the function ___fill_data_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_data_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_data_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    
    WARNING: vmlinux.o(.text+0x72e8): Section mismatch in reference from the function ___fill_data_cplbtab() to the function .init.text:_fill_cplbtab()
    The function ___fill_data_cplbtab() references
    the function __init _fill_cplbtab().
    This is often because ___fill_data_cplbtab lacks a __init
    annotation or the annotation of _fill_cplbtab is wrong.
    --
    
    Signed-off-by: Bryan Wu <cooloney at kernel.org>

commit 71a7d1556264c1ad84b1bcf5f7a9cbc980b1e1fd
Author: Sonic Zhang <sonic.zhang at analog.com>
Date:   Wed Jun 25 12:02:07 2008 +0800

    Blackfin arch: fix bug - kernel boot fails when Spinlock and rw-lock debugging enabled
    
    Initialize the lock of bad_irq_desc properly.
    The content of irq_desc array is replaced by bad_irq_desc in blackfin
    arch irqchip init code. So, do it properly as common irq init code.
    
    Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
    Signed-off-by: Bryan Wu <cooloney at kernel.org>

commit d8de72473effd674a3c1fe9621821f406f5587c9
Author: Peng Haitao <penght at cn.fujitsu.com>
Date:   Tue May 20 09:13:02 2008 +0800

    [PATCH] remove useless argument type in audit_filter_user()
    
    The second argument "type" is not used in audit_filter_user(), so I think that type can be removed. If I'm wrong, please tell me.
    
    Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 9f0aecdd1cd6aacee9aa8f08031f4f2e09e454dc
Author: Randy Dunlap <randy.dunlap at oracle.com>
Date:   Mon May 19 15:09:21 2008 -0700

    [PATCH] audit: fix kernel-doc parameter notation
    
    Fix auditfilter kernel-doc misssing parameter description:
    
    Warning(lin2626-rc3//kernel/auditfilter.c:1551): No description found for parameter 'sessionid'
    
    Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 13d5ef97f0675d789f559cfebc1df9d5e2b1879c
Author: Peng Haitao <penght at cn.fujitsu.com>
Date:   Fri May 16 10:15:04 2008 +0800

    [PATCH] kernel/audit.c: nlh->nlmsg_type is gotten more than once
    
    The first argument "nlh->nlmsg_type" of audit_receive_filter() should be modified to "msg_type" in audit_receive_msg().
    
    Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 543cf4cb3fe6f6cae3651ba918b9c56200b257d0
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 18:58:20 2008 -0700

    Linux 2.6.26-rc8

commit bd8c540fe867c070810a3ef55541f41f7c189c9a
Merge: 035cfc61a523343fe0bee5ec54348e26f330a06c e2569b7e572c0e6782380b3fdda901deb175d75a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 18:12:33 2008 -0700

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
      [IA64] Eliminate NULL test after alloc_bootmem in iosapic_alloc_rte()
      [IA64] Handle count==0 in sn2_ptc_proc_write()
      [IA64] Fix boot failure on ia64/sn2

commit 035cfc61a523343fe0bee5ec54348e26f330a06c
Merge: 919c0d14ae93073a3957c018a6d86ceb1e2e454b 5af4e7a0bea715f2dd7190859a43eb2258b1f388
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 18:09:47 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes:
      [GFS2] fix gfs2 block allocation (cleaned up)
      [GFS2] BUG: unable to handle kernel paging request at ffff81002690e000

commit 919c0d14ae93073a3957c018a6d86ceb1e2e454b
Merge: de08341a0ef747d607542af3ae441b286f503e35 6b1ed9086592fd4b066daae222751bb6757ca5eb
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 18:09:06 2008 -0700

    Merge branch 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
    
    * 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
      KVM: Remove now unused structs from kvm_para.h
      x86: KVM guest: Use the paravirt clocksource structs and functions
      KVM: Make kvm host use the paravirt clocksource structs
      x86: Make xen use the paravirt clocksource structs and functions
      x86: Add structs and functions for paravirt clocksource
      KVM: VMX: Fix host msr corruption with preemption enabled
      KVM: ioapic: fix lost interrupt when changing a device's irq
      KVM: MMU: Fix oops on guest userspace access to guest pagetable
      KVM: MMU: large page update_pte issue with non-PAE 32-bit guests (resend)
      KVM: MMU: Fix rmap_write_protect() hugepage iteration bug
      KVM: close timer injection race window in __vcpu_run
      KVM: Fix race between timer migration and vcpu migration

commit eadc49b1a8d09480f14caea292142f103a89c77a
Author: David S. Miller <davem at davemloft.net>
Date:   Tue Jun 17 23:53:22 2008 -0700

    [SCSI] esp: Fix OOPS in esp_reset_cleanup().
    
    OOPS reported by Friedrich Oslage <bluebird at porno-bullen.de>
    
    The problem here is that tp->starget is set every time a lun
    is allocated for a particular target so we can catch the
    sdev_target parent value.
    
    The reset handler uses the NULL'ness of this value to determine
    which targets are active.
    
    But esp_slave_destroy() does not NULL out this value when appropriate.
    
    So for every target that doesn't respond, the SCSI bus scan causes
    a stale pointer to be left here, with ensuing crashes like you're
    seeing.
    
    Signed-off-by: David S. Miller <davem at davemloft.net>
    Cc: Stable Tree <stable at kernel.org>
    Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>

commit 88a6f4ad76be425f47df7f892baf913bcd466fb3
Author: Patrick McHardy <kaber at trash.net>
Date:   Tue Jun 24 13:30:45 2008 -0700

    netfilter: ip6table_mangle: don't reroute in LOCAL_IN
    
    Rerouting should only happen in LOCAL_OUT, in INPUT its useless
    since the packet has already chosen its final destination.
    
    Noticed by Alexey Dobriyan <adobriyan at gmail.com>.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: David S. Miller <davem at davemloft.net>

commit de08341a0ef747d607542af3ae441b286f503e35
Merge: 9bf8a943ad79a3bb15597fe0275f8b1cf26e2010 63842cccb285259345f52025ef57bdfd79657a2d
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 11:23:35 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
      Revert "[WATCHDOG] hpwdt: Add CFLAGS to get driver working"

commit 9bf8a943ad79a3bb15597fe0275f8b1cf26e2010
Merge: 3b968b7c10b3d81eb83380655484f2bb5b240dc6 28499143933f19b28008a556ed59255d6009391a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 11:21:47 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      xen: remove support for non-PAE 32-bit

commit 3b968b7c10b3d81eb83380655484f2bb5b240dc6
Merge: ea7b44c8e6baa1a4507f05ba2c0009ac21c3fe0b aabdc3b8c3b3d081f1532454e344208338478e29
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Jun 24 11:20:59 2008 -0700

    Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
    
    * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb:
      kgdb: sparse fix
      kgdb: documentation update - remove kgdboe

commit ea7b44c8e6baa1a4507f05ba2c0009ac21c3fe0b
Author: Jie Luo <clotho67 at gmail.com>
Date:   Tue Jun 24 10:38:31 2008 -0700

    enable bus mastering on i915 at resume time
    
    On 9xx chips, bus mastering needs to be enabled at resume time for much of the
    chip to function.  With this patch, vblank interrupts will work as expected
    on resume, along with other chip functions.   Fixes kernel bugzilla #10844.
    
    Signed-off-by: Jie Luo <clotho67 at gmail.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 6b1ed9086592fd4b066daae222751bb6757ca5eb
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Jun 3 16:17:33 2008 +0200

    KVM: Remove now unused structs from kvm_para.h
    
    The kvm_* structs are obsoleted by the pvclock_* ones.
    Now all users have been switched over and the old structs
    can be dropped.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit f6e16d5ad463d15f285666f588cfe49495c692d9
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Jun 3 16:17:32 2008 +0200

    x86: KVM guest: Use the paravirt clocksource structs and functions
    
    This patch updates the kvm host code to use the pvclock structs
    and functions, thereby making it compatible with Xen.
    
    The patch also fixes an initialization bug: on SMP systems the
    per-cpu has two different locations early at boot and after CPU
    bringup.  kvmclock must take that in account when registering the
    physical address within the host.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 50d0a0f987b83a8dadb1134d834e35ec410392b5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Jun 3 16:17:31 2008 +0200

    KVM: Make kvm host use the paravirt clocksource structs
    
    This patch updates the kvm host code to use the pvclock structs.
    It also makes the paravirt clock compatible with Xen.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 1c7b67f7576c4ca2a344379a4a29eec8fe8e7935
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Jun 3 16:17:30 2008 +0200

    x86: Make xen use the paravirt clocksource structs and functions
    
    This patch updates the xen guest to use the pvclock structs
    and helper functions.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 7af192c954017499ec163bc9dbaaee2e593d7ef2
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Jun 3 16:17:29 2008 +0200

    x86: Add structs and functions for paravirt clocksource
    
    This patch adds structs for the paravirt clocksource ABI
    used by both xen and kvm (pvclock-abi.h).
    
    It also adds some helper functions to read system time and
    wall clock time from a paravirtual clocksource (pvclock.[ch]).
    They are based on the xen code.  They are enabled using
    CONFIG_PARAVIRT_CLOCK.
    
    Subsequent patches of this series will put the code in use.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 5af4e7a0bea715f2dd7190859a43eb2258b1f388
Author: Benjamin Marzinski <bmarzins at redhat.com>
Date:   Tue Jun 24 12:53:38 2008 -0500

    [GFS2] fix gfs2 block allocation (cleaned up)
    
    This patch fixes bz 450641.
    
    This patch changes the computation for zero_metapath_length(), which it
    renames to metapath_branch_start(). When you are extending the metadata
    tree, The indirect blocks that point to the new data block must either
    diverge from the existing tree either at the inode, or at the first
    indirect block. They can diverge at the first indirect block because the
    inode has room for 483 pointers while the indirect blocks have room for
    509 pointers, so when the tree is grown, there is some free space in the
    first indirect block. What metapath_branch_start() now computes is the
    height where the first indirect block for the new data block is located.
    It can either be 1 (if the indirect block diverges from the inode) or 2
    (if it diverges from the first indirect block).
    
    Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
    Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>

commit e2569b7e572c0e6782380b3fdda901deb175d75a
Author: Julia Lawall <julia at diku.dk>
Date:   Tue Jun 24 10:22:05 2008 +0200

    [IA64] Eliminate NULL test after alloc_bootmem in iosapic_alloc_rte()
    
    As noted by Akinobu Mita alloc_bootmem and related functions never return
    NULL and always return a zeroed region of memory.  Thus a NULL test or
    memset after calls to these functions is unnecessary.
    
    Signed-off-by: Julia Lawall <julia at diku.dk>
    Signed-off-by: Tony Luck <tony.luck at intel.com>

commit 8097110d179b874d91c6495330c2b96c991e8c6e
Author: Cliff Wickman <cpw at sgi.com>
Date:   Tue Jun 24 10:20:06 2008 -0700

    [IA64] Handle count==0 in sn2_ptc_proc_write()
    
    The fix applied in e0c6d97c65e0784aade7e97b9411f245a6c543e7
    "security hole in sn2_ptc_proc_write" didn't take into account
    the case where count==0 (which results in a buffer underrun
    when adding the trailing '\0').  Thanks to Andi Kleen for
    pointing this out.
    
    Signed-off-by: Cliff Wickman <cpw at sgi.com>
    Signed-off-by: Tony Luck <tony.luck at intel.com>

commit 2826f8c0f4c97b7db33e2a680f184d828eb7a785
Author: Jes Sorensen <jes at sgi.com>
Date:   Tue Jun 24 11:30:09 2008 -0400

    [IA64] Fix boot failure on ia64/sn2
    
    Call check_sal_cache_flush() after platform_setup() as
    check_sal_cache_flush() now relies on being able to call platform
    vector code.
    
    Problem was introduced by: 3463a93def55c309f3c0d0a8aaf216be3be42d64
    "Update check_sal_cache_flush to use platform_send_ipi()"
    
    Signed-off-by: Jes Sorensen <jes at sgi.com>
    Tested-by: Alex Chiang: <achiang at hp.com>
    Signed-off-by: Tony Luck <tony.luck at intel.com>

commit c95e62ce8905aab62fed224eaaa9b8558a0ef652
Author: Matthew Wilcox <matthew at wil.cx>
Date:   Mon Jun 23 09:14:31 2008 -0600

    [SCSI] ses: Fix timeout
    
    Timeouts are measured in jiffies, not in seconds.
    
    Signed-off-by: Matthew Wilcox <willy at linux.intel.com>
    Cc: Stable Tree <stable at kernel.org>
    Signed-off-by: James Bottomley <James.Bottomley at HansenPartnership.com>

commit aabdc3b8c3b3d081f1532454e344208338478e29
Author: Jason Wessel <jason.wessel at windriver.com>
Date:   Tue Jun 24 10:52:55 2008 -0500

    kgdb: sparse fix
    
    - Fix warning reported by sparse
    kernel/kgdb.c:1502:6: warning: symbol 'kgdb_console_write' was not declared.
    	Should it be static?
    
    Signed-off-by: Jason Wessel <jason.wessel at windriver.com>

commit a606b5e24b7e2937604f4c85023d8d9c5ab0a28b
Author: Jason Wessel <jason.wessel at windriver.com>
Date:   Tue Jun 24 10:52:55 2008 -0500

    kgdb: documentation update - remove kgdboe
    
    kgdboe is not presently included kgdb, and there should be no
    references to it.
    
    Also fix the tcp port terminal connection example.
    
    Signed-off-by: Jason Wessel <jason.wessel at windriver.com>

commit 28499143933f19b28008a556ed59255d6009391a
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date:   Fri May 9 12:05:57 2008 +0100

    xen: remove support for non-PAE 32-bit
    
    Non-PAE operation has been deprecated in Xen for a while, and is
    rarely tested or used.  xen-unstable has now officially dropped
    non-PAE support.  Since Xen/pvops' non-PAE support has also been
    broken for a while, we may as well completely drop it altogether.
    
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 17c15da00c0e7289375ad57e8fea0c7892b74aa0
Author: Bob Peterson <rpeterso at redhat.com>
Date:   Wed Jun 18 11:30:40 2008 -0500

    [GFS2] BUG: unable to handle kernel paging request at ffff81002690e000
    
    This patch fixes bugzilla bug bz448866: gfs2: BUG: unable to
    handle kernel paging request at ffff81002690e000.
    
    Signed-off-by: Bob Peterson <rpeterso at redhat.com>
    Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>

commit 63842cccb285259345f52025ef57bdfd79657a2d
Author: Wim Van Sebroeck <wim at iguana.be>
Date:   Tue Jun 24 13:09:26 2008 +0000

    Revert "[WATCHDOG] hpwdt: Add CFLAGS to get driver working"
    
    After Linus fixed the inline assembly, the CFLAGS option is not
    needed anymore.
    
    Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli at hp.com>
    Signed-off-by: Wim Van Sebroeck <wim at iguana.be>

commit 19fd426a18b48a0446ba4b54ac66264916dcb7f3
Merge: e8183c2452041326c95258ecc7865b6fcd91c730 62786b9e81a2dbe9c073a2ade52d33a2627d6d85
Author: Jan Kara <jack at suse.cz>
Date:   Tue Jun 24 11:43:00 2008 +0200

    Merge branch 'master' into for_mm

commit e8183c2452041326c95258ecc7865b6fcd91c730
Author: Tomas Janousek <tomi at nomi.cz>
Date:   Mon Jun 23 15:12:35 2008 +0200

    udf: Fix regression in UDF anchor block detection
    
    In some cases it could happen that some block passed test in
    udf_check_anchor_block() even though udf_read_tagged() refused to read it later
    (e.g. because checksum was not correct).  This patch makes
    udf_check_anchor_block() use udf_read_tagged() so that the checking is
    stricter.
    
    This fixes the regression (certain disks unmountable) caused by commit
    423cf6dc04eb79d441bfda2b127bc4b57134b41d.
    
    Signed-off-by: Tomas Janousek <tomi at nomi.cz>
    Signed-off-by: Jan Kara <jack at suse.cz>

commit a9b21b622958afc3f3bc5a23d266dd9ed1171fd3
Author: Avi Kivity <avi at qumranet.com>
Date:   Tue Jun 24 11:48:49 2008 +0300

    KVM: VMX: Fix host msr corruption with preemption enabled
    
    Switching msrs can occur either synchronously as a result of calls to
    the msr management functions (usually in response to the guest touching
    virtualized msrs), or asynchronously when preempting a kvm thread that has
    guest state loaded.  If we're unlucky enough to have the two at the same
    time, host msrs are corrupted and the machine goes kaput on the next syscall.
    
    Most easily triggered by Windows Server 2008, as it does a lot of msr
    switching during bootup.
    
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 4fa6b9c5dc4134bdeac341d731a87783cc11ca10
Author: Avi Kivity <avi at qumranet.com>
Date:   Tue Jun 17 15:36:36 2008 -0700

    KVM: ioapic: fix lost interrupt when changing a device's irq
    
    The ioapic acknowledge path translates interrupt vectors to irqs.  It
    currently uses a first match algorithm, stopping when it finds the first
    redirection table entry containing the vector.  That fails however if the
    guest changes the irq to a different line, leaving the old redirection table
    entry in place (though masked).  Result is interrupts not making it to the
    guest.
    
    Fix by always scanning the entire redirection table.
    
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 6bf6a9532fd03ad719f0c86654f16ef777b78fc6
Author: Avi Kivity <avi at qumranet.com>
Date:   Thu Jun 12 16:54:41 2008 +0300

    KVM: MMU: Fix oops on guest userspace access to guest pagetable
    
    KVM has a heuristic to unshadow guest pagetables when userspace accesses
    them, on the assumption that most guests do not allow userspace to access
    pagetables directly. Unfortunately, in addition to unshadowing the pagetables,
    it also oopses.
    
    This never triggers on ordinary guests since sane OSes will clear the
    pagetables before assigning them to userspace, which will trigger the flood
    heuristic, unshadowing the pagetables before the first userspace access. One
    particular guest, though (Xenner) will run the kernel in userspace, triggering
    the oops.  Since the heuristic is incorrect in this case, we can simply
    remove it.
    
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 3094538739415a9225afd2a6c78cb0fe1c1f641b
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jun 11 20:32:40 2008 -0300

    KVM: MMU: large page update_pte issue with non-PAE 32-bit guests (resend)
    
    kvm_mmu_pte_write() does not handle 32-bit non-PAE large page backed
    guests properly. It will instantiate two 2MB sptes pointing to the same
    physical 2MB page when a guest large pte update is trapped.
    
    Instead of duplicating code to handle this, disallow directory level
    updates to happen through kvm_mmu_pte_write(), so the two 2MB sptes
    emulating one guest 4MB pte can be correctly created by the page fault
    handling path.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 6597ca09e6c0e5aec7ffd2b8ab48c671d3c28414
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Sun Jun 8 01:48:53 2008 -0300

    KVM: MMU: Fix rmap_write_protect() hugepage iteration bug
    
    rmap_next() does not work correctly after rmap_remove(), as it expects
    the rmap chains not to change during iteration.  Fix (for now) by restarting
    iteration from the beginning.
    
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 06e05645661211b9eaadaf6344c335d2e80f0ba2
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Fri Jun 6 16:37:36 2008 -0300

    KVM: close timer injection race window in __vcpu_run
    
    If a timer fires after kvm_inject_pending_timer_irqs() but before
    local_irq_disable() the code will enter guest mode and only inject such
    timer interrupt the next time an unrelated event causes an exit.
    
    It would be simpler if the timer->pending irq conversion could be done
    with IRQ's disabled, so that the above problem cannot happen.
    
    For now introduce a new vcpu requests bit to cancel guest entry.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit d4acf7e7abe45457e751525a2a4d5b693dfdd597
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Fri Jun 6 16:37:35 2008 -0300

    KVM: Fix race between timer migration and vcpu migration
    
    A guest vcpu instance can be scheduled to a different physical CPU
    between the test for KVM_REQ_MIGRATE_TIMER and local_irq_disable().
    
    If that happens, the timer will only be migrated to the current pCPU on
    the next exit, meaning that guest LAPIC timer event can be delayed until
    a host interrupt is triggered.
    
    Fix it by cancelling guest entry if any vcpu request is pending.  This
    has the side effect of nicely consolidating vcpu->requests checks.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at qumranet.com>

commit 72c6e251ed84b3a9cdfde6711191155c47bb2b9c
Author: Thorsten Kranzkowski <dl8bcu at dl8bcu.de>
Date:   Mon Jun 23 20:57:22 2008 +0000

    alpha: fix compile error in arch/alpha/mm/init.c
    
    Commit 9267b4b3880d00dc2dab90f1d817c856939114f7 ("alpha: fix module load
    failures on smp (bug #10926)") causes a regression for my ev4
    uniprocessor build:
    
      CC      arch/alpha/mm/init.o
    /export/data/repositories/linux-2.6/arch/alpha/mm/init.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typeof’
    make[2]: *** [arch/alpha/mm/init.o] Error 1
    make[1]: *** [arch/alpha/mm] Error 2
    make: *** [sub-make] Error 2
    
    This fixes it for me (compile and boot tested):
    
    Signed-off-by: Thorsten Kranzkowski <dl8bcu at dl8bcu.de>
    Acked-by: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 62786b9e81a2dbe9c073a2ade52d33a2627d6d85
Merge: 27f4837cbfd87126e733d098824544b6841a4eb8 03fa9e84e5dc10aeacb0e4eb2f708cd9fc36a5b8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 16:25:11 2008 -0700

    Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
    
    * 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
      NFS: nfs_updatepage(): don't mark page as dirty if an error occurred
      NFS: Fix filehandle size comparisons in the mount code
      NFS: Reduce the NFS mount code stack usage.

commit 03fa9e84e5dc10aeacb0e4eb2f708cd9fc36a5b8
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Thu Jun 5 16:02:35 2008 -0400

    NFS: nfs_updatepage(): don't mark page as dirty if an error occurred
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit b7e2445737ff69cef892b6fd9cd71cae2c9e9515
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Thu Jun 19 15:21:11 2008 -0400

    NFS: Fix filehandle size comparisons in the mount code
    
    Fix a sign issue in xdr_decode_fhstatus3()
    Fix incorrect comparison in nfs_validate_mount_data()
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 33852a1f2bb014e4047a844556c0d76a2f790c37
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Thu Jun 19 14:20:11 2008 -0400

    NFS: Reduce the NFS mount code stack usage.
    
    This appears to fix the Oops reported in
      http://bugzilla.kernel.org/show_bug.cgi?id=10826
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 27f4837cbfd87126e733d098824544b6841a4eb8
Merge: 0e053738b50836e9d1e94b2295ef2942eb471078 1b7558e457ed0de61023cfc913d2c342c7c3d9f2
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 12:49:22 2008 -0700

    Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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:
      futexes: fix fault handling in futex_lock_pi

commit 0e053738b50836e9d1e94b2295ef2942eb471078
Merge: ee5c2ab09b79d3aba3515a3eae7c5cf1e2cbc569 198bb971e256e4167e45e7df643c13ea66f67e3a
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 12:48:50 2008 -0700

    Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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: refactor wait_for_completion_timeout()
      sched: fix wait_for_completion_timeout() spurious failure under heavy load
      sched: rt: dont stop the period timer when there are tasks wanting to run

commit ee5c2ab09b79d3aba3515a3eae7c5cf1e2cbc569
Merge: f6837bfa6506892e889ec79d8ab29931b4468826 ebb9cfe20fe167f29960a5e913193a684fac50bf
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 12:48:17 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      xen: don't drop NX bit
      xen: mask unwanted pte bits in __supported_pte_mask
      xen: Use wmb instead of rmb in xen_evtchn_do_upcall().
      x86: fix NULL pointer deref in __switch_to

commit f6837bfa6506892e889ec79d8ab29931b4468826
Merge: 8dca7ffe2cdbcf8a2f188c8230044c3225b70418 87afd448b186c885d67a08b7417cd46253b6a9d6
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 12:45:49 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
      IB/mthca: Clear ICM pages before handing to FW

commit 8dca7ffe2cdbcf8a2f188c8230044c3225b70418
Merge: 945754a1754f9d4c2974a8241ad4f92fad7f3a6a 3e14b50dd4a3178f4f635267a2706b5d4f8c61ee
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 12:18:06 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
      ALSA: sb - Fix wrong assertions
      ALSA: aw2 - Fix Oops at initialization

commit 945754a1754f9d4c2974a8241ad4f92fad7f3a6a
Author: Nick Piggin <npiggin at suse.de>
Date:   Mon Jun 23 14:30:30 2008 +0200

    mm: fix race in COW logic
    
    There is a race in the COW logic.  It contains a shortcut to avoid the
    COW and reuse the page if we have the sole reference on the page,
    however it is possible to have two racing do_wp_page()ers with one
    causing the other to mistakenly believe it is safe to take the shortcut
    when it is not.  This could lead to data corruption.
    
    Process 1 and process2 each have a wp pte of the same anon page (ie.
    one forked the other).  The page's mapcount is 2.  Then they both
    attempt to write to it around the same time...
    
      proc1				proc2 thr1			proc2 thr2
      CPU0				CPU1				CPU3
      do_wp_page()			do_wp_page()
    				 trylock_page()
    				  can_share_swap_page()
    				   load page mapcount (==2)
    				  reuse = 0
    				 pte unlock
    				 copy page to new_page
    				 pte lock
    				 page_remove_rmap(page);
       trylock_page()
        can_share_swap_page()
         load page mapcount (==1)
        reuse = 1
       ptep_set_access_flags (allow W)
    
      write private key into page
    								read from page
    				ptep_clear_flush()
    				set_pte_at(pte of new_page)
    
    Fix this by moving the page_remove_rmap of the old page after the pte
    clear and flush.  Potentially the entire branch could be moved down
    here, but in order to stay consistent, I won't (should probably move all
    the *_mm_counter stuff with one patch).
    
    Signed-off-by: Nick Piggin <npiggin at suse.de>
    Acked-by: Hugh Dickins <hugh at veritas.com>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 672ca28e300c17bf8d792a2a7a8631193e580c74
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Mon Jun 23 11:21:37 2008 -0700

    Fix ZERO_PAGE breakage with vmware
    
    Commit 89f5b7da2a6bad2e84670422ab8192382a5aeb9f ("Reinstate ZERO_PAGE
    optimization in 'get_user_pages()' and fix XIP") broke vmware, as
    reported by Jeff Chua:
    
      "This broke vmware 6.0.4.
       Jun 22 14:53:03.845: vmx| NOT_IMPLEMENTED
       /build/mts/release/bora-93057/bora/vmx/main/vmmonPosix.c:774"
    
    and the reason seems to be that there's an old bug in how we handle do
    FOLL_ANON on VM_SHARED areas in get_user_pages(), but since it only
    triggered if the whole page table was missing, nobody had apparently hit
    it before.
    
    The recent changes to 'follow_page()' made the FOLL_ANON logic trigger
    not just for whole missing page tables, but for individual pages as
    well, and exposed this problem.
    
    This fixes it by making the test for when FOLL_ANON is used more
    careful, and also makes the code easier to read and understand by moving
    the logic to a separate inline function.
    
    Reported-and-tested-by: Jeff Chua <jeff.chua.linux at gmail.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 96a331b1d6426726c37242ddbe939ee14b255790
Author: Gustavo Fernando Padovan <gustavo at las.ic.unicamp.br>
Date:   Mon Jun 23 12:07:06 2008 +0100

    removed unused var real_tty on n_tty_ioctl()
    
    I noted that the 'struct tty_struct *real_tty' is not used in this
    function, so I removed the code about 'real_tty'.
    
    Signed-off-by: Gustavo Fernando Padovan <gustavo at las.ic.unicamp.br>
    Acked-by: Alan Cox <alan at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 36c7343b4ecac2432430f5393314f1bdc2c219a5
Author: Alan Cox <alan at lxorguk.ukuu.org.uk>
Date:   Mon Jun 23 12:06:52 2008 +0100

    tty_driver: Update required method documentation
    
    Some of the requirement rules are now more relaxed. Also correct a
    contradiction in the previous update
    
    Signed-off-by: Alan Cox <alan at redhat.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit cdd16d0265c9234228fd37fbbad844d7e894b278
Author: Miklos Szeredi <mszeredi at suse.cz>
Date:   Mon Jun 23 18:11:53 2008 +0200

    [patch 2/3] vfs: dcache cleanups
    
    Comment from Al Viro: add prepend_name() wrapper.
    
    Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 31f3e0b3a18c6d48196c40a82a3b8c01f4ff6b23
Author: Miklos Szeredi <mszeredi at suse.cz>
Date:   Mon Jun 23 18:11:52 2008 +0200

    [patch 1/3] vfs: dcache sparse fixes
    
    Fix the following sparse warnings:
    
    fs/dcache.c:2183:19: warning: symbol 'filp_cachep' was not declared. Should it be static?
    fs/dcache.c:115:3: warning: context imbalance in 'dentry_iput' - unexpected unlock
    fs/dcache.c:188:2: warning: context imbalance in 'dput' - different lock contexts for basic block
    fs/dcache.c:400:2: warning: context imbalance in 'prune_one_dentry' - different lock contexts for basic block
    fs/dcache.c:431:22: warning: context imbalance in 'prune_dcache' - different lock contexts for basic block
    fs/dcache.c:563:2: warning: context imbalance in 'shrink_dcache_sb' - different lock contexts for basic block
    fs/dcache.c:1385:6: warning: context imbalance in 'd_delete' - wrong count at exit
    fs/dcache.c:1636:2: warning: context imbalance in '__d_unalias' - unexpected unlock
    fs/dcache.c:1735:2: warning: context imbalance in 'd_materialise_unique' - different lock contexts for basic block
    
    Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
    Reviewed-by: Matthew Wilcox <willy at linux.intel.com>
    Acked-by: Christoph Hellwig <hch at infradead.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit be285c712bbbe5db43e503782fbef2bfeaa345f9
Author: Andreas Gruenbacher <agruen at suse.de>
Date:   Mon Jun 16 13:28:07 2008 +0200

    [patch 3/3] vfs: make d_path() consistent across mount operations
    
    The path that __d_path() computes can become slightly inconsistent when it
    races with mount operations: it grabs the vfsmount_lock when traversing mount
    points but immediately drops it again, only to re-grab it when it reaches the
    next mount point.  The result is that the filename computed is not always
    consisent, and the file may never have had that name. (This is unlikely, but
    still possible.)
    
    Fix this by grabbing the vfsmount_lock for the whole duration of
    __d_path().
    
    Signed-off-by: Andreas Gruenbacher <agruen at suse.de>
    Signed-off-by: John Johansen <jjohansen at suse.de>
    Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
    Acked-by: Christoph Hellwig <hch at infradead.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 87afd448b186c885d67a08b7417cd46253b6a9d6
Author: Eli Cohen <eli at mellanox.co.il>
Date:   Mon Jun 23 09:29:58 2008 -0700

    IB/mthca: Clear ICM pages before handing to FW
    
    Current memfree FW has a bug which in some cases, assumes that ICM
    pages passed to it are cleared.  This patch uses __GFP_ZERO to
    allocate all ICM pages passed to the FW.  Once firmware with a fix is
    released, we can make the workaround conditional on firmware version.
    
    This fixes the bug reported by Arthur Kepner <akepner at sgi.com> here:
    http://lists.openfabrics.org/pipermail/general/2008-May/050026.html
    
    Cc: <stable at kernel.org>
    Signed-off-by: Eli Cohen <eli at mellanox.co.il>
    
    [ Rewritten to be a one-liner using __GFP_ZERO instead of vmap()ing
      ICM memory and memset()ing it to 0. - Roland ]
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>

commit f9f48ec72bfc9489a30bc6ddbfcf27d86a8bc651
Author: Denis V. Lunev <den at openvz.org>
Date:   Mon Jun 9 16:40:38 2008 -0700

    [patch 4/4] flock: remove unused fields from file_lock_operations
    
    fl_insert and fl_remove are not used right now in the kernel. Remove them.
    
    Signed-off-by: Denis V. Lunev <den at openvz.org>
    Cc: Matthew Wilcox <matthew at wil.cx>
    Cc: Alexander Viro <viro at zeniv.linux.org.uk>
    Cc: "J. Bruce Fields" <bfields at fieldses.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 694a1764d657e0f7a9b139bc7269c8d5f5a2534b
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Mon Jun 9 16:40:37 2008 -0700

    [patch 3/4] vfs: fix ERR_PTR abuse in generic_readlink
    
    generic_readlink calls ERR_PTR for negative and positive values
    (vfs_readlink returns length of "link"), but it should not
    (not an errno) and does not need to.
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
    Cc: Al Viro <viro at ZenIV.linux.org.uk>
    Cc: Christoph Hellwig <hch at lst.de>
    Acked-by: Miklos Szeredi <miklos at szeredi.hu>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 20d4fdc1a788e4ca0aaf2422772ba668e7e10839
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Mon Jun 9 16:40:36 2008 -0700

    [patch 2/4] fs: make struct file arg to d_path const
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit c8e7f449b225ee6c87454ac069f0a041035c5140
Author: Jan Blunck <jblunck at suse.de>
Date:   Mon Jun 9 16:40:35 2008 -0700

    [patch 1/4] vfs: path_{get,put}() cleanups
    
    Here are some more places where path_{get,put}() can be used instead of
    dput()/mntput() pair.
    
    Signed-off-by: Jan Blunck <jblunck at suse.de>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Cc: Jens Axboe <jens.axboe at oracle.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit c70f84417429f41519be0197a1092a53c2201f47
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date:   Mon Jun 9 21:16:09 2008 -0700

    [patch for 2.6.26 4/4] vfs: utimensat(): fix write access check for futimens()
    
    The POSIX.1 draft spec for futimens()/utimensat() says:
    
            Only a process with the effective user ID equal to the
            user ID of the file, *or with write access to the file*,
            or with appropriate privileges may use futimens() or
            utimensat() with a null pointer as the times argument
            or with both tv_nsec fields set to the special value
            UTIME_NOW.
    
    The important piece here is "with write access to the file", and
    this matters for futimens(), which deals with an argument that
    is a file descriptor referring to the file whose timestamps are
    being updated,  The standard is saying that the "writability"
    check is based on the file permissions, not the access mode with
    which the file is opened.  (This behavior is consistent with the
    semantics of FreeBSD's futimes().)  However, Linux is currently
    doing the latter -- futimens(fd, times) is a library
    function implemented as
    
           utimensat(fd, NULL, times, 0)
    
    and within the utimensat() implementation we have the code:
    
                    f = fget(dfd);  // dfd is 'fd'
                    ...
                    if (f) {
                            if (!(f->f_mode & FMODE_WRITE))
                                    goto mnt_drop_write_and_out;
    
    The check should instead be based on the file permissions.
    
    Thanks to Miklos for pointing out how to do this check.
    Miklos also pointed out a simplification that could be
    made to my first version of this patch, since the checks
    for the pathname and file descriptor cases can now be
    conflated.
    
    Acked-by: Miklos Szeredi <miklos at szeredi.hu>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Cc: Ulrich Drepper <drepper at redhat.com>
    Signed-off-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 4cca92264e61a90b43fc4e076cd25b7f4e16dc61
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date:   Mon Jun 9 21:16:08 2008 -0700

    [patch for 2.6.26 3/4] vfs: utimensat(): fix error checking for {UTIME_NOW,UTIME_OMIT} case
    
    The POSIX.1 draft spec for utimensat() says:
    
        Only a process with the effective user ID equal to the
        user ID of the file or with appropriate privileges may use
        futimens() or utimensat() with a non-null times argument
        that does not have both tv_nsec fields set to UTIME_NOW
        and does not have both tv_nsec fields set to UTIME_OMIT.
    
    If this condition is violated, then the error EPERM should result.
    However, the current implementation does not generate EPERM if
    one tv_nsec field is UTIME_NOW while the other is UTIME_OMIT.
    It should give this error for that case.
    
    This patch:
    
    a) Repairs that problem.
    b) Removes the now unneeded nsec_special() helper function.
    c) Adds some comments to explain the checks that are being
       performed.
    
    Thanks to Miklos, who provided comments on the previous iteration
    of this patch.  As a result, this version is a little simpler and
    and its logic is better structured.
    
    Miklos suggested an alternative idea, migrating the
    is_owner_or_cap() checks into fs/attr.c:inode_change_ok() via
    the use of an ATTR_OWNER_CHECK flag.  Maybe we could do that
    later, but for now I've gone with this version, which is
    IMO simpler, and can be more easily read as being correct.
    
    Acked-by: Miklos Szeredi <miklos at szeredi.hu>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Cc: Ulrich Drepper <drepper at redhat.com>
    Signed-off-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 94c70b9ba7e9c1036284e779e2fef5be89021533
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date:   Mon Jun 9 21:16:05 2008 -0700

    [patch for 2.6.26 1/4] vfs: utimensat(): ignore tv_sec if tv_nsec == UTIME_OMIT or UTIME_NOW
    
    The POSIX.1 draft spec for utimensat() says that if a times[n].tv_nsec
    field is UTIME_OMIT or UTIME_NOW, then the value in the corresponding
    tv_sec field is ignored.  See the last sentence of this para, from
    the spec:
    
        If the tv_nsec field of a timespec structure has
        the special value UTIME_NOW, the file's relevant
        timestamp shall be set to the greatest value
        supported by the file system that is not greater than
        the current time. If the tv_nsec field has the
        special value UTIME_OMIT, the file's relevant
        timestamp shall not be changed. In either case,
        the tv_sec field shall be ignored.
    
    However the current Linux implementation requires the tv_sec value to be
    zero (or the EINVAL error results). This requirement should be removed.
    
    Acked-by: Miklos Szeredi <miklos at szeredi.hu>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Cc: Ulrich Drepper <drepper at redhat.com>
    Signed-off-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 12fd0d3088d27867be68655bcab2b074f2835f60
Author: Michael Kerrisk <mtk.manpages at googlemail.com>
Date:   Mon Jun 9 21:16:07 2008 -0700

    [patch for 2.6.26 2/4] vfs: utimensat(): be consistent with utime() for immutable and append-only files
    
    This patch fixes utimensat() to make its behavior consistent
    with that of utime()/utimes() when dealing with files marked
    immutable and append-only.
    
    The current utimensat() implementation also returns EPERM if
    'times' is non-NULL and the tv_nsec fields are both UTIME_NOW.
    For consistency, the
    
    (times != NULL && times[0].tv_nsec == UTIME_NOW &&
                      times[1].tv_nsec == UTIME_NOW)
    
    case should be treated like the traditional utimes() case where
    'times' is NULL.  That is, the call should succeed for a file
    marked append-only and should give the error EACCES if the file
    is marked as immutable.
    
    The simple way to do this is to set 'times' to NULL
    if (times[0].tv_nsec == UTIME_NOW && times[1].tv_nsec == UTIME_NOW).
    
    This is also the natural approach, since POSIX.1 semantics consider the
    times == {{x, UTIME_NOW}, {y, UTIME_NOW}}
    to be exactly equivalent to the case for
    times == NULL.
    
    (Thanks to Miklos for pointing this out.)
    
    Patch 3 in this series relies on the simplification provided
    by this patch.
    
    Acked-by: Miklos Szeredi <miklos at szeredi.hu>
    Cc: Al Viro <viro at zeniv.linux.org.uk>
    Cc: Ulrich Drepper <drepper at redhat.com>
    Signed-off-by: Michael Kerrisk <mtk.manpages at gmail.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit fe6e9c1f25ac01f848bd084ee0ee62a5a0966ff3
Author: Al Viro <viro at zeniv.linux.org.uk>
Date:   Mon Jun 23 08:30:55 2008 -0400

    [PATCH] fix cgroup-inflicted breakage in block_dev.c
    
    devcgroup_inode_permission() expects MAY_FOO, not FMODE_FOO; kindly
    keep your misdesign consistent if you positively have to inflict it
    on the kernel.
    
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 1b7558e457ed0de61023cfc913d2c342c7c3d9f2
Author: Thomas Gleixner <tglx at linutronix.de>
Date:   Mon Jun 23 11:21:58 2008 +0200

    futexes: fix fault handling in futex_lock_pi
    
    This patch addresses a very sporadic pi-futex related failure in
    highly threaded java apps on large SMP systems.
    
    David Holmes reported that the pi_state consistency check in
    lookup_pi_state triggered with his test application. This means that
    the kernel internal pi_state and the user space futex variable are out
    of sync. First we assumed that this is a user space data corruption,
    but deeper investigation revieled that the problem happend because the
    pi-futex code is not handling a fault in the futex_lock_pi path when
    the user space variable needs to be fixed up.
    
    The fault happens when a fork mapped the anon memory which contains
    the futex readonly for COW or the page got swapped out exactly between
    the unlock of the futex and the return of either the new futex owner
    or the task which was the expected owner but failed to acquire the
    kernel internal rtmutex. The current futex_lock_pi() code drops out
    with an inconsistent in case it faults and returns -EFAULT to user
    space. User space has no way to fixup that state.
    
    When we wrote this code we thought that we could not drop the hash
    bucket lock at this point to handle the fault.
    
    After analysing the code again it turned out to be wrong because there
    are only two tasks involved which might modify the pi_state and the
    user space variable:
    
     - the task which acquired the rtmutex
     - the pending owner of the pi_state which did not get the rtmutex
    
    Both tasks drop into the fixup_pi_state() function before returning to
    user space. The first task which acquired the hash bucket lock faults
    in the fixup of the user space variable, drops the spinlock and calls
    futex_handle_fault() to fault in the page. Now the second task could
    acquire the hash bucket lock and tries to fixup the user space
    variable as well. It either faults as well or it succeeds because the
    first task already faulted the page in.
    
    One caveat is to avoid a double fixup. After returning from the fault
    handling we reacquire the hash bucket lock and check whether the
    pi_state owner has been modified already.
    
    Reported-by: David Holmes <david.holmes at sun.com>
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
    Cc: Andrew Morton <akpm at linux-foundation.org>
    Cc: David Holmes <david.holmes at sun.com>
    Cc: Peter Zijlstra <peterz at infradead.org>
    Cc: Linus Torvalds <torvalds at linux-foundation.org>
    Cc: Peter Zijlstra <peterz at infradead.org>
    Cc: <stable at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    
     kernel/futex.c |   93 ++++++++++++++++++++++++++++++++++++++++++++-------------
     1 file changed, 73 insertions(+), 20 deletions(-)

commit 3e14b50dd4a3178f4f635267a2706b5d4f8c61ee
Author: Takashi Iwai <tiwai at suse.de>
Date:   Mon Jun 23 11:58:06 2008 +0200

    ALSA: sb - Fix wrong assertions
    
    snd_assert() in save_mixer() and restore_mixer() in sb_mixer.c is
    just wrong.  The debug code wasn't tested at all, obviously...
    
    Signed-off-by: Takashi Iwai <tiwai at suse.de>

commit 44e051773da465f8c92127914bc784770e0e2a28
Author: Takashi Iwai <tiwai at suse.de>
Date:   Mon Jun 23 11:54:05 2008 +0200

    ALSA: aw2 - Fix Oops at initialization
    
    The irq handler may be called before the proper initialization of hardware.
    Call snd_aw2_saa7146_setup() before the irq handler registration.
    
    Signed-off-by: Takashi Iwai <tiwai at suse.de>

commit 198bb971e256e4167e45e7df643c13ea66f67e3a
Merge: ea71a546706dfdad72462624394e1e472c6bf34f 481c5346d0981940ee63037eb53e4e37b0735c10
Author: Ingo Molnar <mingo at elte.hu>
Date:   Mon Jun 23 11:00:26 2008 +0200

    Merge branch 'linus' into sched/urgent

commit 55d8538498f62ec72b5ba67aa386c7726f630475
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sun Jun 22 12:23:15 2008 -0700

    Fix performance regression on lmbench select benchmark
    
    Christian Borntraeger reported that reinstating cond_resched() with
    CONFIG_PREEMPT caused a performance regression on lmbench:
    
    	For example select file 500:
    	23 microseconds
    	32 microseconds
    
    and that's really because we totally unnecessarily do the cond_resched()
    in the innermost loop of select(), which is just silly.
    
    This moves it out from the innermost loop (which only ever loops ove the
    bits in a single "unsigned long" anyway), which makes the performance
    regression go away.
    
    Reported-and-tested-by: Christian Borntraeger <borntraeger at de.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit fc6e14f4fb50bc734d08e65eb8a5798d54a2ad77
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date:   Sun Jun 22 15:41:30 2008 +0100

    [ARM] Export dma_sync_sg_for_device()
    
    Noticed by Martin Michlmayr, this missing export prevents IEEE1394
    from building with:
    
    ERROR: "dma_sync_sg_for_device" [drivers/ieee1394/ieee1394.ko] undefined!
    
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit c907310fb0a5dd69a7fe11c08368abb0d34a35cb
Merge: e5a2c9ccb3e849fed70674ac6880536eaf553dba 15e02a3b510aa4ef3d077ebc25eb3cd08b9af034
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date:   Sun Jun 22 15:03:20 2008 +0100

    Merge branch 'omap-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6

commit e5a2c9ccb3e849fed70674ac6880536eaf553dba
Author: Uli Luckas <u.luckas at road.de>
Date:   Wed Jun 18 09:54:03 2008 +0100

    [ARM] 5109/1: Mark rtc sa1100 driver as wakeup source before registering it
    
    Mark rtc sa1100 driver as wakeup source before registering it.
    rtc_device_register evaluates device_can_wakeup(rtc->dev.parent) and
    supresses the creation of /sys/class/rtc/rtcX/wakealarm if
    device_can_wakeup is not (yet) true.
    
    Signed-off-by: Uli Luckas <u.luckas at road.de>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit ee98476bbc565f8fe42e198602e647288b6a258d
Author: Jaya Kumar <jayakumar.arm at gmail.com>
Date:   Sun Jun 22 04:27:26 2008 +0100

    [ARM] 5116/1: pxafb: cleanup and fix order of failure handling
    
    This issue was found by Krzysztof Helt and Eric Miao.
    
    pxafb had issues in the order with which it cleaned up if errors occurred
    during a probe. This patch reorders the failure handling sequence and also
    frees the cmap and clk.
    
    Signed-off-by: Jaya Kumar <jayakumar.lkml at gmail.com>
    Acked-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
    Acked-by: Eric Miao <eric.miao at marvell.com>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit f1edfc420ac7beb90b27bf822036cbbfa32483f1
Author: Jaya Kumar <jayakumar.arm at gmail.com>
Date:   Sun Jun 22 04:27:25 2008 +0100

    [ARM] 5115/1: pxafb: fix ifdef for command line option handling
    
    This bug was found and fixed by Lothar Wassmann.
    
    Previously, the use of ifndef CONFIG_MODULES made it such that pxafb command
    line option parsing was dependent on whether the kernel was built with module
    support. The ifndef should be MODULE so that parsing is dependent only on
    whether the driver is built-in or not.
    
    Signed-off-by: Jaya Kumar <jayakumar.lkml at gmail.com>
    Acked-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
    Acked-by: Eric Miao <eric.miao at marvell.com>
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

commit ea71a546706dfdad72462624394e1e472c6bf34f
Author: Oleg Nesterov <oleg at tv-sign.ru>
Date:   Fri Jun 20 18:32:20 2008 +0400

    sched: refactor wait_for_completion_timeout()
    
    Simplify the code and fix the boundary condition of
    wait_for_completion_timeout(,0).
    
    We can kill the first __remove_wait_queue() as well.
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Acked-by: Peter Zijlstra <a.p.zijlstra at chello.nl>

commit ebb9cfe20fe167f29960a5e913193a684fac50bf
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date:   Mon Jun 16 15:01:56 2008 -0700

    xen: don't drop NX bit
    
    Because NX is now enforced properly, we must put the hypercall page
    into the .text segment so that it is executable.
    
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Cc: Stable Kernel <stable at kernel.org>
    Cc: the arch/x86 maintainers <x86 at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 05345b0f006ac226d0d25d48fcb2d792ac44a071
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date:   Mon Jun 16 15:01:53 2008 -0700

    xen: mask unwanted pte bits in __supported_pte_mask
    
    [ Stable: this isn't a bugfix in itself, but it's a pre-requiste
      for "xen: don't drop NX bit" ]
    
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Cc: Stable Kernel <stable at kernel.org>
    Cc: the arch/x86 maintainers <x86 at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 46539383791a0e59a4af7412056dfbfc5240af0a
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Mon Jun 16 14:58:13 2008 -0700

    xen: Use wmb instead of rmb in xen_evtchn_do_upcall().
    
    This patch is ported one from 534:77db69c38249 of linux-2.6.18-xen.hg.
    Use wmb instead of rmb to enforce ordering between
    evtchn_upcall_pending and evtchn_pending_sel stores
    in xen_evtchn_do_upcall().
    
    Cc: Samuel Thibault <samuel.thibault at eu.citrix.com>
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Cc: Nick Piggin <nickpiggin at yahoo.com.au>
    Cc: the arch/x86 maintainers <x86 at kernel.org>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 54481cf88bc59923ea30f2ca345a73c60155e901
Author: Suresh Siddha <suresh.b.siddha at intel.com>
Date:   Thu Jun 19 09:41:22 2008 -0700

    x86: fix NULL pointer deref in __switch_to
    
    I am able to reproduce the oops reported by Simon in __switch_to() with
    lguest.
    
    My debug showed that there is at least one lguest specific
    issue (which should be present in 2.6.25 and before aswell) and it got
    exposed with a kernel oops with the recent fpu dynamic allocation patches.
    
    In addition to the previous possible scenario (with fpu_counter), in the
    presence of lguest, it is possible that the cpu's TS bit it still set and the
    lguest launcher task's thread_info has TS_USEDFPU still set.
    
    This is because of the way the lguest launcher handling the guest's TS bit.
    (look at lguest_set_ts() in lguest_arch_run_guest()). This can result
    in a DNA fault while doing unlazy_fpu() in __switch_to(). This will
    end up causing a DNA fault in the context of new process thats
    getting context switched in (as opossed to handling DNA fault in the context
    of lguest launcher/helper process).
    
    This is wrong in both pre and post 2.6.25 kernels. In the recent
    2.6.26-rc series, this is showing up as NULL pointer dereferences or
    sleeping function called from atomic context(__switch_to()), as
    we free and dynamically allocate the FPU context for the newly
    created threads. Older kernels might show some FPU corruption for processes
    running inside of lguest.
    
    With the appended patch, my test system is running for more than 50 mins
    now. So atleast some of your oops (hopefully all!) should get fixed.
    Please give it a try. I will spend more time with this fix tomorrow.
    
    Reported-by: Simon Holm Thøgersen <odie at cs.aau.dk>
    Reported-by: Patrick McHardy <kaber at trash.net>
    Signed-off-by: Suresh Siddha <suresh.b.siddha at intel.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit bb10ed0994927d433f6dbdf274fdb26cfcf516b7
Author: Roland Dreier <rdreier at cisco.com>
Date:   Thu Jun 19 15:04:07 2008 -0700

    sched: fix wait_for_completion_timeout() spurious failure under heavy load
    
    It seems that the current implementaton of wait_for_completion_timeout()
    has a small problem under very high load for the common pattern:
    
    	if (!wait_for_completion_timeout(&done, timeout))
    		/* handle failure */
    
    because the implementation very roughly does (lots of code deleted to
    show the basic flow):
    
    	static inline long __sched
    	do_wait_for_common(struct completion *x, long timeout, int state)
    	{
    		if (x->done)
    			return timeout;
    
    		do {
    			timeout = schedule_timeout(timeout);
    
    			if (!timeout)
    				return timeout;
    
    		} while (!x->done);
    
    		return timeout;
    	}
    
    so if the system is very busy and x->done is not set when
    do_wait_for_common() is entered, it is possible that the first call to
    schedule_timeout() returns 0 because the task doing wait_for_completion
    doesn't get rescheduled for a long time, even if it is woken up early
    enough.
    
    In this case, wait_for_completion_timeout() returns 0 without even
    checking x->done again, and the code above falls into its failure case
    purely for scheduler reasons, even if the hardware event or whatever was
    being waited for happened early enough.
    
    It would make sense to add an extra test to do_wait_for() in the timeout
    case and return 1 if x->done is actually set.
    
    A quick audit (not exhaustive) of wait_for_completion_timeout() callers
    seems to indicate that no one actually cares about the return value in
    the success case -- they just test for 0 (timed out) versus non-zero
    (wait succeeded).
    
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 8a8cde163ea724baf74e7752a31a69d3121a240e
Author: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date:   Thu Jun 19 14:22:28 2008 +0200

    sched: rt: dont stop the period timer when there are tasks wanting to run
    
    So if the group ever gets throttled, it will never wake up again.
    
    Reported-by: "Daniel K." <dk at uw.no>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
    Tested-by: Daniel K. <dk at uw.no>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>

commit 50db04dd9c74178e68a981a7127c37252ffb3242
Author: Vegard Nossum <vegard.nossum at gmail.com>
Date:   Sun Jun 15 00:47:36 2008 +0200

    debugobjects: fix lockdep warning
    
    Daniel J Blueman reported:
    | =======================================================
    | [ INFO: possible circular locking dependency detected ]
    | 2.6.26-rc5-201c #1
    | -------------------------------------------------------
    | nscd/3669 is trying to acquire lock:
    |  (&n->list_lock){.+..}, at: [<ffffffff802bab03>] deactivate_slab+0x173/0x1e0
    |
    | but task is already holding lock:
    |  (&obj_hash[i].lock){++..}, at: [<ffffffff803fa56f>]
    | __debug_object_init+0x2f/0x350
    |
    | which lock already depends on the new lock.
    
    There are two locks involved here; the first is a SLUB-local lock, and
    the second is a debugobjects-local lock. They are basically taken in two
    different orders:
    
    1. SLUB { debugobjects { ... } }
    2. debugobjects { SLUB { ... } }
    
    This patch changes pattern #2 by trying to fill the memory pool (e.g.
    the call into SLUB/kmalloc()) outside the debugobjects lock, so now the
    two patterns look like this:
    
    1. SLUB { debugobjects { ... } }
    2. SLUB { } debugobjects { ... }
    
    [ daniel.blueman at gmail.com: pool_lock needs to be taken irq safe in fill_pool ]
    
    Reported-by: Daniel J Blueman <daniel.blueman at gmail.com>
    Signed-off-by: Vegard Nossum <vegard.nossum at gmail.com>
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

commit 15e02a3b510aa4ef3d077ebc25eb3cd08b9af034
Author: Thara Gopinath <thara at ti.com>
Date:   Mon Apr 28 16:55:01 2008 +0530

    ARM: OMAP: Correcting the gpmc prefetch control register address
    
    Correcting the GPMC_PREFETCH_CONTROL register address
    
    Signed-off-by: Thara Gopinath <thara at ti.com>
    Signed-off-by: Tony Lindgren <tony at atomide.com>

commit 66c23551b1b774e2be3c7bdf91c0ebf2c7a3519e
Author: Jarkko Nikula <jarkko.nikula at nokia.com>
Date:   Tue May 13 13:26:03 2008 +0300

    ARM: OMAP: DMA: Don't mark channel active in omap_enable_channel_irq
    
    Channel should be marked active only when DMA is really started. Otherwise
    just omap_request_dma, omap_dma_link_lch and omap_dma_unlink_lch will cause
    incorrect dump_stack().
    
    Signed-off-by: Jarkko Nikula <jarkko.nikula at nokia.com>
    Signed-off-by: Tony Lindgren <tony at atomide.com>





More information about the commitlog mailing list