Skip to contentSkip to conversation

Linux 2.6.37.1

DISCUSSION Greg KH 1 participant 2 messages Feb 18, 2011

Subsystems (114)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

I'm announcing the release of the 2.6.37.1 kernel.

All users of the 2.6.37 kernel series must upgrade.

The updated 2.6.37.y git tree can be found at:

        git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.37.y.git
and can be browsed at the normal kernel.org git web browser:
        http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.37.y.git;a=summary

thanks,

greg k-h

------------

 Documentation/kernel-parameters.txt            |    1 
 Makefile                                       |    2 
 arch/arm/kernel/head.S                         |   41 +++---
 arch/arm/mach-s5pv310/cpu.c                    |    2 
 arch/arm/mm/init.c                             |    6 
 arch/arm/oprofile/common.c                     |   12 -
 arch/avr32/include/asm/syscalls.h              |    9 -
 arch/parisc/kernel/firmware.c                  |   13 --
 arch/powerpc/boot/dts/p1022ds.dts              |    4 
 arch/powerpc/kernel/cpu_setup_6xx.S            |   40 +++---
 arch/powerpc/mm/numa.c                         |    2 
 arch/powerpc/platforms/pseries/lpar.c          |   37 +++++
 arch/powerpc/sysdev/fsl_rio.c                  |    1 
 arch/sh/include/asm/io.h                       |   10 +
 arch/sh/include/asm/pgtable_32.h               |    7 -
 arch/x86/Kconfig                               |    1 
 arch/x86/include/asm/mmu_context.h             |    5 
 arch/x86/include/asm/uv/uv_bau.h               |    9 -
 arch/x86/kernel/cpu/mtrr/main.c                |   10 +
 arch/x86/kernel/irq.c                          |    3 
 arch/x86/kernel/process.c                      |   22 ++-
 arch/x86/platform/uv/tlb_uv.c                  |   22 ++-
 block/blk-core.c                               |   26 +++-
 block/blk-merge.c                              |    3 
 block/cfq-iosched.c                            |    4 
 block/genhd.c                                  |    1 
 drivers/ata/libata-scsi.c                      |   24 ++-
 drivers/ata/pata_mpc52xx.c                     |    2 
 drivers/base/power/runtime.c                   |    9 -
 drivers/block/nbd.c                            |    3 
 drivers/char/agp/intel-agp.c                   |   27 ++--
 drivers/char/ipmi/ipmi_si_intf.c               |   12 -
 drivers/char/tpm/tpm.c                         |   28 +++-
 drivers/char/tpm/tpm.h                         |    2 
 drivers/char/tpm/tpm_tis.c                     |   10 -
 drivers/char/virtio_console.c                  |   15 ++
 drivers/cpuidle/cpuidle.c                      |   82 ++++++-------
 drivers/firewire/core-card.c                   |   11 +
 drivers/firmware/dmi_scan.c                    |   11 +
 drivers/gpu/drm/Kconfig                        |    3 
 drivers/gpu/drm/drm_crtc_helper.c              |   17 +-
 drivers/gpu/drm/i915/i915_dma.c                |   10 +
 drivers/gpu/drm/i915/i915_drv.c                |   10 +
 drivers/gpu/drm/i915/i915_drv.h                |    1 
 drivers/gpu/drm/i915/i915_reg.h                |    9 -
 drivers/gpu/drm/i915/intel_crt.c               |   30 ++++
 drivers/gpu/drm/i915/intel_display.c           |    4 
 drivers/gpu/drm/i915/intel_dp.c                |   23 ++-
 drivers/gpu/drm/i915/intel_drv.h               |    3 
 drivers/gpu/drm/i915/intel_lvds.c              |   18 +-
 drivers/gpu/drm/i915/intel_panel.c             |   31 +++++
 drivers/gpu/drm/i915/intel_sdvo.c              |   33 +----
 drivers/gpu/drm/radeon/atombios_crtc.c         |   18 ++
 drivers/gpu/drm/radeon/atombios_dp.c           |    4 
 drivers/gpu/drm/radeon/evergreen.c             |    7 -
 drivers/gpu/drm/radeon/evergreen_blit_kms.c    |   39 +++++-
 drivers/gpu/drm/radeon/radeon_atombios.c       |   47 +++----
 drivers/gpu/drm/radeon/radeon_display.c        |  132 ++++++++++++++++++++-
 drivers/gpu/drm/radeon/radeon_legacy_crtc.c    |    6 
 drivers/gpu/drm/radeon/radeon_mode.h           |   23 ++-
 drivers/gpu/vga/vgaarb.c                       |    2 
 drivers/hwmon/applesmc.c                       |   48 ++-----
 drivers/hwmon/lm63.c                           |   59 +++++++--
 drivers/hwmon/via686a.c                        |   14 +-
 drivers/i2c/i2c-core.c                         |   14 ++
 drivers/idle/intel_idle.c                      |   43 ++++++
 drivers/infiniband/hw/cxgb4/cm.c               |    2 
 drivers/infiniband/hw/cxgb4/qp.c               |    6 
 drivers/input/input.c                          |   37 +----
 drivers/input/mouse/bcm5974.c                  |   40 ++++++
 drivers/input/serio/i8042-x86ia64io.h          |   21 +++
 drivers/input/serio/i8042.c                    |    6 
 drivers/md/dm-mpath.c                          |   12 -
 drivers/md/dm.c                                |    5 
 drivers/md/md.c                                |   27 +++-
 drivers/md/md.h                                |    3 
 drivers/media/IR/ir-keytable.c                 |   28 ++--
 drivers/media/dvb/frontends/ix2505v.c          |    2 
 drivers/media/radio/radio-aimslab.c            |   23 ---
 drivers/media/video/em28xx/em28xx-cards.c      |    4 
 drivers/mmc/host/bfin_sdh.c                    |    2 
 drivers/mtd/nand/pxa3xx_nand.c                 |    2 
 drivers/net/e1000/e1000_main.c                 |   10 -
 drivers/net/fec.c                              |    4 
 drivers/net/ixgbe/ixgbe_main.c                 |   11 +
 drivers/net/virtio_net.c                       |   27 ++--
 drivers/net/wireless/ath/ath9k/ar9002_calib.c  |   10 -
 drivers/net/wireless/ath/ath9k/ar9002_hw.c     |    3 
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c |   14 +-
 drivers/net/wireless/ath/ath9k/ath9k.h         |    4 
 drivers/net/wireless/ath/ath9k/hif_usb.c       |   40 +++++-
 drivers/net/wireless/ath/ath9k/hif_usb.h       |    1 
 drivers/net/wireless/ath/ath9k/hw.c            |    6 
 drivers/net/wireless/ath/ath9k/hw.h            |    1 
 drivers/net/wireless/ath/ath9k/main.c          |    8 -
 drivers/net/wireless/ath/ath9k/pci.c           |    4 
 drivers/net/wireless/ath/carl9170/rx.c         |    2 
 drivers/net/wireless/ath/key.c                 |    2 
 drivers/net/wireless/hostap/hostap_cs.c        |   15 --
 drivers/net/wireless/iwlwifi/iwl-agn.c         |   15 +-
 drivers/net/wireless/iwlwifi/iwl-helpers.h     |    6 
 drivers/net/wireless/p54/txrx.c                |    2 
 drivers/net/wireless/rt2x00/rt73usb.c          |    1 
 drivers/pci/pci-stub.c                         |    3 
 drivers/power/ds2760_battery.c                 |    2 
 drivers/power/jz4740-battery.c                 |    7 +
 drivers/rtc/rtc-cmos.c                         |   16 +-
 drivers/s390/cio/qdio.h                        |    6 
 drivers/s390/cio/qdio_main.c                   |   43 ++++--
 drivers/s390/crypto/ap_bus.c                   |    2 
 drivers/scsi/libsas/sas_scsi_host.c            |    1 
 drivers/scsi/mpt2sas/mpt2sas_base.c            |   24 +++
 drivers/scsi/mpt2sas/mpt2sas_scsih.c           |   64 ++++++++--
 drivers/scsi/sd.c                              |    9 +
 drivers/serial/68360serial.c                   |    1 
 drivers/serial/8250.c                          |    3 
 drivers/ssb/pcmcia.c                           |    2 
 drivers/staging/bcm/InterfaceInit.c            |    1 
 drivers/staging/bcm/InterfaceInit.h            |    1 
 drivers/staging/brcm80211/sys/wl_mac80211.c    |   45 +++----
 drivers/staging/comedi/drivers/jr3_pci.c       |    7 +
 drivers/staging/comedi/drivers/ni_labpc.c      |    3 
 drivers/staging/hv/blkvsc_drv.c                |    1 
 drivers/staging/hv/netvsc.c                    |    2 
 drivers/staging/hv/netvsc_drv.c                |    2 
 drivers/staging/iio/adc/ad7476_core.c          |    2 
 drivers/staging/iio/adc/ad799x_core.c          |    2 
 drivers/staging/rt2860/chips/rt3090.c          |    3 
 drivers/staging/rt2860/chips/rt30xx.c          |    4 
 drivers/staging/rt2860/rt_main_dev.c           |    2 
 drivers/staging/rt2860/usb_main_dev.c          |    1 
 drivers/staging/rtl8712/usb_intf.c             |  145 ++++++++++++++++++-----
 drivers/staging/speakup/kobjects.c             |    2 
 drivers/staging/usbip/vhci_hcd.c               |   14 --
 drivers/staging/zram/zram_drv.c                |    4 
 drivers/tty/n_gsm.c                            |    1 
 drivers/tty/sysrq.c                            |   19 ++-
 drivers/usb/class/cdc-acm.c                    |    1 
 drivers/usb/core/hcd-pci.c                     |    7 -
 drivers/usb/core/hcd.c                         |    2 
 drivers/usb/core/hub.c                         |   26 ++++
 drivers/usb/gadget/printer.c                   |   19 +--
 drivers/usb/host/ehci-au1xxx.c                 |    2 
 drivers/usb/host/ehci-hcd.c                    |   27 +++-
 drivers/usb/host/ehci-hub.c                    |    7 +
 drivers/usb/host/ehci-pci.c                    |   41 ++++++
 drivers/usb/host/ehci-sched.c                  |   79 ++++++++++++
 drivers/usb/host/ehci.h                        |    1 
 drivers/usb/host/xhci-ring.c                   |    2 
 drivers/usb/host/xhci.c                        |   60 ++++-----
 drivers/usb/serial/ch341.c                     |   10 +
 drivers/usb/serial/cp210x.c                    |   16 --
 drivers/usb/serial/digi_acceleport.c           |   10 -
 drivers/usb/serial/ftdi_sio.c                  |   39 ++++++
 drivers/usb/serial/ftdi_sio_ids.h              |   32 ++++-
 drivers/usb/serial/generic.c                   |   20 +++
 drivers/usb/serial/io_edgeport.c               |    4 
 drivers/usb/serial/io_tables.h                 |    1 
 drivers/usb/serial/iuu_phoenix.c               |    1 
 drivers/usb/serial/keyspan.h                   |    4 
 drivers/usb/serial/keyspan_pda.c               |   17 --
 drivers/usb/serial/moto_modem.c                |    1 
 drivers/usb/serial/option.c                    |   23 +++
 drivers/usb/serial/oti6858.c                   |    1 
 drivers/usb/serial/pl2303.c                    |   12 +
 drivers/usb/serial/pl2303.h                    |    1 
 drivers/usb/serial/qcaux.c                     |    3 
 drivers/usb/serial/siemens_mpi.c               |    1 
 drivers/usb/serial/spcp8x5.c                   |    7 -
 drivers/usb/serial/ti_usb_3410_5052.c          |    2 
 drivers/usb/serial/usb-serial.c                |    8 -
 drivers/usb/serial/usb_debug.c                 |    1 
 drivers/usb/storage/unusual_cypress.h          |    5 
 drivers/usb/storage/unusual_devs.h             |   32 +++++
 drivers/video/aty/atyfb_base.c                 |   27 ----
 drivers/video/backlight/88pm860x_bl.c          |    4 
 drivers/virtio/virtio_pci.c                    |   20 ---
 drivers/xen/platform-pci.c                     |   21 +--
 fs/cifs/cifsproto.h                            |    2 
 fs/cifs/cifssmb.c                              |    4 
 fs/cifs/connect.c                              |    4 
 fs/cifs/file.c                                 |   21 +--
 fs/cifs/misc.c                                 |    2 
 fs/direct-io.c                                 |   10 +
 fs/eventpoll.c                                 |   16 ++
 fs/exofs/inode.c                               |    2 
 fs/ext4/inode.c                                |    1 
 fs/ext4/mballoc.c                              |  102 +++++++++-------
 fs/ext4/page-io.c                              |   11 -
 fs/ext4/super.c                                |   41 ++++--
 fs/fs-writeback.c                              |   98 ++++++++++++---
 fs/nfs/delegation.c                            |    6 
 fs/nfs/dir.c                                   |   50 ++++----
 fs/nfs/direct.c                                |   34 +++--
 fs/nfs/nfs2xdr.c                               |    6 
 fs/nfs/nfs3xdr.c                               |    6 
 fs/nfs/nfs4xdr.c                               |    6 
 fs/nfsd/nfs4idmap.c                            |    4 
 fs/nfsd/nfsd.h                                 |    1 
 fs/nfsd/nfsproc.c                              |    2 
 fs/nilfs2/super.c                              |    3 
 fs/partitions/check.c                          |   10 +
 fs/proc/kcore.c                                |    2 
 include/drm/drm_pciids.h                       |    1 
 include/linux/blkdev.h                         |    1 
 include/linux/completion.h                     |    8 -
 include/linux/dynamic_debug.h                  |   18 --
 include/linux/genhd.h                          |    2 
 include/linux/ieee80211.h                      |    2 
 include/linux/klist.h                          |    2 
 include/linux/kref.h                           |    1 
 include/linux/lockdep.h                        |    3 
 include/linux/memory_hotplug.h                 |    6 
 include/linux/mmzone.h                         |   10 -
 include/linux/nl80211.h                        |    6 
 include/linux/oprofile.h                       |   13 +-
 include/linux/radix-tree.h                     |   16 ++
 include/linux/security.h                       |   15 +-
 include/linux/sunrpc/xdr.h                     |    4 
 include/linux/sysrq.h                          |    3 
 include/linux/usb/hcd.h                        |    1 
 include/linux/usb/serial.h                     |    3 
 include/linux/vmstat.h                         |    5 
 include/net/cfg80211.h                         |   15 +-
 include/scsi/scsi.h                            |    1 
 init/calibrate.c                               |    6 
 kernel/irq/migration.c                         |   14 +-
 kernel/perf_event.c                            |   15 +-
 kernel/ptrace.c                                |    2 
 kernel/sched.c                                 |   22 +++
 kernel/sched_rt.c                              |    2 
 kernel/smp.c                                   |   30 ++++
 kernel/sys.c                                   |    3 
 kernel/sysctl.c                                |    3 
 kernel/trace/trace.c                           |    6 
 kernel/watchdog.c                              |   41 ++----
 kernel/workqueue.c                             |   14 +-
 lib/dynamic_debug.c                            |    9 -
 lib/kref.c                                     |   12 +
 mm/memcontrol.c                                |    7 -
 mm/memory_hotplug.c                            |    4 
 mm/migrate.c                                   |   75 ++++--------
 mm/mmzone.c                                    |   21 ---
 mm/page_alloc.c                                |   35 ++++-
 mm/slub.c                                      |    4 
 mm/vmscan.c                                    |   23 ++-
 mm/vmstat.c                                    |   68 ++++++++++
 net/ax25/af_ax25.c                             |    2 
 net/core/ethtool.c                             |    2 
 net/core/rtnetlink.c                           |    3 
 net/core/sock.c                                |    2 
 net/ipv4/ip_fragment.c                         |   34 +++++
 net/ipv6/ip6_output.c                          |    3 
 net/mac80211/agg-rx.c                          |   11 -
 net/mac80211/key.c                             |    6 
 net/mac80211/rx.c                              |    4 
 net/mac80211/tx.c                              |    6 
 net/sched/sch_fifo.c                           |    2 
 net/sunrpc/xdr.c                               |  155 ++++++++++++++++++++-----
 net/unix/af_unix.c                             |    2 
 net/wireless/reg.c                             |   33 ++++-
 security/capability.c                          |    2 
 security/security.c                            |    3 
 security/selinux/hooks.c                       |   15 +-
 security/selinux/nlmsgtab.c                    |    2 
 security/smack/smack_lsm.c                     |   14 +-
 sound/atmel/ac97c.c                            |    5 
 sound/core/hrtimer.c                           |    5 
 sound/pci/au88x0/au88x0_pcm.c                  |   24 +++
 sound/pci/hda/hda_codec.c                      |    3 
 sound/pci/hda/hda_eld.c                        |    2 
 sound/pci/hda/patch_conexant.c                 |    9 +
 sound/pci/hda/patch_hdmi.c                     |   51 ++++++++
 sound/pci/hda/patch_realtek.c                  |    2 
 sound/pci/hda/patch_sigmatel.c                 |    2 
 sound/soc/blackfin/bf5xx-ac97.c                |    4 
 sound/soc/blackfin/bf5xx-tdm.c                 |    2 
 sound/soc/codecs/wm8990.c                      |   10 -
 sound/soc/codecs/wm8994.c                      |   17 +-
 sound/soc/codecs/wm_hubs.c                     |   15 +-
 sound/soc/davinci/davinci-evm.c                |    2 
 sound/soc/pxa/corgi.c                          |    4 
 sound/soc/pxa/poodle.c                         |    2 
 sound/soc/pxa/spitz.c                          |    4 
 sound/soc/soc-core.c                           |    2 
 sound/usb/midi.c                               |   11 +
 sound/usb/usx2y/us122l.c                       |   41 +++---
 287 files changed, 2858 insertions(+), 1280 deletions(-)

Alan Stern (9):
USB: usb-storage: unusual_devs entry for CamSport Evo
USB: usb-storage: unusual_devs entry for Coby MP3 player USB serial: add missing .usb_driver field in serial drivers
USB: EHCI: fix DMA deallocation bug
USB: g_printer: fix bug in unregistration
USB: g_printer: fix bug in module parameter definitions
USB: prevent buggy hubs from crashing the USB stack
USB: fix race between root-hub resume and wakeup requests PM / Runtime: Don't enable interrupts while running in_interrupt

Alex Deucher (11):
drm/radeon/kms: add quirk for Mac Radeon HD 2600 card drm/radeon/kms: adjust quirk for acer laptop drm/radeon/kms: make the mac rv630 quirk generic drm/radeon/kms: re-emit full context state for evergreen blits drm/radeon/kms: switch back to min->max pll post divider iteration drm/radeon/kms: add pll debugging output drm/radeon/kms: add new pll algo for avivo asics drm/radeon/kms: Enable new pll calculation for avivo+ asics drm/radeon: remove 0x4243 pci id drm/radeon/kms/evergreen: always set certain VGT regs at CP init drm/radeon/kms: fix s/r issues with bios scratch regs

Alex He (2):
USB: EHCI: ASPM quirk of ISOC on AMD SB800
USB: EHCI: ASPM quirk of ISOC on AMD Hudson

Alexey Kuznetsov (1):
inet6: prevent network storms caused by linux IPv6 routers

Amit Shah (1):
virtio: console: Wake up outvq on host notifications

Amitkumar Karwar (1):

      ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro

Andiry Xu (1):
xHCI: synchronize irq in xhci_suspend()

Andrew Morton (1):
ext4: fix uninitialized variable in ext4_register_li_request

Andy Whitcroft (1):
Input: sysrq - ensure sysrq_enabled and __sysrq_enabled are consistent

Anton Blanchard (3):
powerpc: Fix hcall tracepoint recursion powerpc/numa: Fix bug in unmap_cpu_from_node kernel/smp.c: fix smp_call_function_many() SMP race

Arend van Spriel (1):
staging: brcm80211: fix suspend/resume issue in brcmsmac

Ari Kauppi (2):
oprofile: Fix usage of CONFIG_HW_PERF_EVENTS for oprofile_perf_init and friends
ARM: oprofile: Fix backtraces in timer mode

Arvid Ephraim Picciani (1):
USB: cdc-acm: Adding second ACM channel support for Nokia N8

Axel Köllhofer (1):
staging: r8712u: Add new device IDs

Ben Hutchings (1):

      68360serial: Plumb in rs_360_get_icount()

Benjamin Herrenschmidt (1):
powerpc: Fix some 6xx/7xxx CPU setup functions

Bjørn Mork (1):
USB: io_edgeport: fix the reported firmware major and minor

Boaz Harrosh (1):

      Revert "exofs: Set i_mapping->backing_dev_info anyway"

Bruce Rogers (1):
virtio_net: Add schedule check to napi_enable call

Changhwan Youn (1):
ARM: S5PV310: Set bit 22 in the PL310 (cache controller) AuxCtlr register

Chien-Chia Chen (2):
Staging: rt3090: Fix RT3090 scan AP function
Staging: rt2860: fix previous patch error

Chris Mason (1):
md_make_request: don't touch the bio after calling make_request

Chris Wilson (6):
drm: Restore the old_fb upon modeset failure drm/i915/sdvo: Defer detection of output capabilities until probing drm/i915/panel: Only record the backlight level when it is enabled drm/i915: Add dependency on CONFIG_TMPFS
drm/i915: Recognise non-VGA display devices
drm/i915: Only bind to function 0 of the PCI device

Christian Lamparter (2):
p54: fix sequence no. accounting off-by-one error
carl9170: fix typo in PS code

Christoph Lameter (1):
slub: Avoid use of slub_lock in show_slab_objects()

Chuck Lever (1):

      NFS: Fix "kernel BUG at fs/aio.c:554!"

Clemens Ladisch (1):
ALSA: hrtimer: handle delayed timer interrupts

Cliff Wickman (1):
x86, UV, BAU: Extend for more than 16 cpus per socket

Corey Minyard (1):
char/ipmi: fix OOPS caused by pnp_unregister_driver on unregistered driver

Craig Shelley (2):

      USB: CP210x Add two device IDs
      USB: CP210x Removed incorrect device ID

Curt Wohlgemuth (1):
ext4: Fix data corruption with multi-block writepages support

Dan Carpenter (2):
Staging: Beceem: add USB id for BCSM250 Mobile WiMAX
mtd: pxa3xx_nand: NULL dereference in pxa3xx_nand_probe

Dan Williams (1):
USB: qcaux: add Pantech UML290 device ID

Daniel T Chen (1):
ALSA: hda: Use vostro model quirk for Dell Vostro 1014

Dario Lombardo (1):
drivers: update to pl2303 usb-serial to support Motorola cables

Dave Anderson (1):
/proc/kcore: fix seeking

David Dillow (2):
fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering fs/direct-io.c: don't try to allocate more than BIO_MAX_PAGES in a bio

David Henningsson (2):
ALSA: HDA: Fix dmesg output of HDMI supported bits
ALSA: HDA: Add subwoofer quirk for Acer Aspire 8942G

David Miller (1):
klist: Fix object alignment on 64-bit.

David Müller (1):
drm/i915/crt: Check for a analog monitor in case of DVI-I

David S. Miller (2):
atyfb: Fix bootup hangs on sparc64.
af_unix: Avoid socket->sk NULL OOPS in stream connect security hooks.

Dean Nelson (1):
e1000: fix return value not set on error

Denis Kirjanov (1):
staging: rt2860: Fix incorrect netif_stop_queue usage warning

Dimitris Papastamos (1):
ASoC: WM8990: msleep() takes milliseconds not jiffies

Dirk Eibach (1):
hwmon: (lm63) Consider LM64 temperature offset

Dmitry Eremin-Solenikov (1):
ASoC: correct link specifications for corgi, poodle and spitz

Dmitry Torokhov (3):
Input: rc-keymap - return KEY_RESERVED for unknown mappings
Input: sysrq - rework re-inject logic
Revert "Input: do not pass injected events back to the originating handler"

Don Fry (1):
iwlagn: Re-enable RF_KILL interrupt when down

Don Skidmore (1):
ixgbe: fix for 82599 erratum on Header Splitting

Edgar (gimli) Hucek (1):
input: bcm5974: Add support for MacBookAir3

Edgar Hucek (1):
hwmon: (applesmc) Add MacBookAir3,1(3,2) support

Eric Dumazet (5):
net: add POLLPRI to sock_def_readable()
ipv4: IP defragmentation must be ECN aware
net_sched: pfifo_head_drop problem
epoll: epoll_wait() should not use timespec_add_ns()
perf: Fix alloc_callchain_buffers()

Eric Paris (2):
SELinux: define permissions for DCB netlink messages
SELinux: do not compute transition labels on mountpoint labeled filesystems

Eric Sandeen (2):
ext4: fix panic on module unload when stopping lazyinit thread
ext4: make grpinfo slab cache names static

Eric W. Biederman (1):
net: Fix ip link add netns oops

Eugene Teo (1):
net: clear heap allocation for ethtool_get_regs()

Felix Beck (1):
zcrypt: Fix check to look for facility bits 2 & 65

Felix Fietkau (2):
mac80211: fix a crash in ieee80211_beacon_get_tim on change_interface
mac80211: fix initialization of skb->cb in ieee80211_subif_start_xmit

Greg Kroah-Hartman (2):
rt2x00: add device id for windy31 usb device Linux 2.6.37.1

Guy Martin (1):
parisc : Remove broken line wrapping handling pdc_iodc_print()

H. Peter Anvin (1):
x86, olpc: Add missing Kconfig dependencies

Haiyang Zhang (1):
staging: hv: Enable sending GARP packet after live migration

Hank Janssen (1):
staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc

Hans-Christian Egtvedt (2):
ALSA: fix invalid hardware.h include in ac97c for AVR32 architecture
avr32: use syscall prototypes from asm-generic instead of arch

Henrik Rydberg (1):
hwmon: (applesmc) Relax the severity of device init failure

Hugh Dickins (2):
mm: fix migration hangs on anon_vma lock
mm: fix hugepage migration

Ian Abbott (1):
staging: comedi: ni_labpc: Use shared IRQ for PCMCIA card

Ian Campbell (1):
xen-platform: use PCI interfaces to request IO and MEM resources.

Indan Zupancic (1):
drm/i915/panel: The backlight is enabled if the current value is non-zero

Ionut Nicu (1):
USB: ti_usb: fix module removal

J. Bruce Fields (1):

      nfsd4: name->id mapping should fail with BADOWNER not BADNAME

James Bottomley (2):
fix medium error problems with some arrays which can cause data corruption
libsas: fix runaway error handler problem

Jan Glauber (1):
qdio: use proper QEBSM operand for SIGA-R and SIGA-S

Jan Kara (4):
writeback: integrated background writeback work
writeback: stop background/kupdate works from livelocking other works
writeback: avoid livelocking WB_SYNC_ALL writeback
ext4: fix trimming of a single group

Jason Baron (1):
dynamic debug: Fix build issue with older gcc

Jean Delvare (2):
hwmon: (via686a) Initialize fan_div values
i2c: Unregister dummy devices last on adapter removal

Jean-Christophe PLAGNIOL-VILLARD (1):
USB: ftdi_sio: add ST Micro Connect Lite uart support

Jerome Glisse (1):
radeon/kms: fix dp displayport mode validation

Jerome Marchand (2):
kref: add kref_test_and_get
block: fix accounting bug on cross partition merges

Jesse Barnes (1):
drm/i915: check eDP encoder correctly when setting modes

Jiri Kosina (1):
Input: i8042 - introduce 'notimeout' blacklist for Dell Vostro V13

Johannes Berg (1):
mac80211: add missing synchronize_rcu

Justin TerAvest (1):
cfq-iosched: Don't wait if queue already has requests.

KAMEZAWA Hiroyuki (2):
memcg: fix account leak at failure of memsw acconting memory hotplug: one more lock on memory hotplug

Kacper Kornet (1):
Fix prlimit64 for suid/sgid processes

Karsten Wiese (2):
ALSA: snd-usb-us122l: Fix MIDI output
ALSA: snd-usb-us122l: Fix missing NULL checks

Kashyap, Desai (7):
mpt2sas: fix Integrated Raid unsynced on shutdown problem
mpt2sas: Fix device removal handshake for zoned devices
mpt2sas: fix internal device reset for older firmware prior to MPI Rev K
mpt2sas: Fix the race between broadcast asyn event and scsi command completion
mpt2sas: Correct resizing calculation for max_queue_depth
mpt2sas: add missing initialization of scsih_cmds
mpt2sas: Kernel Panic during Large Topology discovery

Kees Cook (1):
net: ax25: fix information leak to userland harder

Keith Packard (1):
drm: Only set DPMS ON when actually configuring a mode

Ken Mills (1):
n_gsm: copy mtu over when configuring via ioctl interface

Knut Petersen (1):
drm/i915/lvds: Add AOpen i915GMm-HFS to the list of false-positive LVDS

Ky Srinivasan (1):
Staging: hv: fix sysfs symlink on hv block device

Larry Finger (1):
staging: rt2870sta: Add ID for Linksys WUSB100v2

Lars-Peter Clausen (1):
jz4740-battery: Protect against concurrent battery readings

Li Zefan (1):
tracing: Fix preempt count leak

Libor Pechacek (1):
USB: serial: handle Data Carrier Detect changes

Luciano Coelho (1):
mac80211: use maximum number of AMPDU frames as default in BA RX

Luis R. Rodriguez (6):
ath9k: fix assumptions for idle calls on suspend/resume
ath9k: fix aphy / wiphy idle mismatch
ath9k_hw: disabled PAPRD for AR9003
cfg80211: pass the reg hint initiator to helpers
cfg80211: fix allowing country IEs for WIPHY_FLAG_STRICT_REGULATORY
cfg80211: fix disabling channels based on hints

Lukas Czerner (1):
ext4: unregister features interface on module unload

Marcin Slusarz (3):
watchdog: Fix sysctl consistency
watchdog: Don't change watchdog state on read of sysctl
watchdog: Fix broken nowatchdog logic

Mark Brown (4):
ASoC: When disabling WM8994 FLL force a source selection
ASoC: Fix AC'97 registration unwind
ASoC: Handle low measured DC offsets for wm_hubs devices
ASoC: Create an AIF1ADCDAT signal widget to match AIF2

Matthias Schwarzott (1):
IX2505V: i2c transfer error code ignored

Mauro Carvalho Chehab (2):
radio-aimslab.c: Fix gcc 4.5+ bug
em28xx: Fix audio input for Terratec Grabby

Mel Gorman (2):
mm: migration: use rcu_dereference_protected when dereferencing the radix tree slot during file page migration
mm: page allocator: adjust the per-cpu counter threshold when memory is low

Michael Buesch (1):
ssb-pcmcia: Fix parsing of invariants tuples

Michael Williamson (1):

      USB: ftdi_sio: Add VID=0x0647, PID=0x0100 for Acton Research spectrograph

Michal Hocko (1):
memsw: handle swapaccount kernel parameter correctly

Mike Frysinger (2):
ASoC: Blackfin AC97: fix build error after multi-component update
ASoC: Blackfin TDM: fix missed snd_soc_dai_get_drvdata update

Mike Snitzer (2):
dm: dont take i_mutex to change device size
dm mpath: disable blk_abort_queue

Milton Miller (2):
mac80211: fix mesh forwarding when ratelimited too
virtio: remove virtio-pci root device

Márton Németh (1):
staging: usbip: remove double giveback of URB

Naga Chumbalkar (1):
x86, dmi, debug: Log board name (when present) in dmesg/oops output

NeilBrown (5):
sched: Change wait_for_completion_*_timeout() to return a signed long
md: fix regression with re-adding devices to arrays with no metadata
md: fix regression resulting in delays in clearing bits in a bitmap
md: Ensure no IO request to get md device before it is properly initialised.
md: Fix removal of extra drives when converting RAID6 to RAID5

Nick Holloway (1):
USB: Storage: Add unusual_devs entry for VTech Kidizoom

Nicolaus Colberg (1):
USB: adding USB support for Cinterion's HC2x, EU3 and PH8 products

Nitin Daga (1):
ALSA: hda: Disable 4/6 channels on some NVIDIA GPUs.

Nitin Gupta (1):
staging: zram: fix data corruption issue

Oleg Nesterov (2):
perf: Find_get_context: fix the per-cpu-counter check
perf: Validate cpu early in perf_event_alloc()

Olof Johansson (1):
tpm: fix panic caused by "tpm: Autodetect itpm devices"

Paul Fox (1):
rtc-cmos: fix suspend/resume

Paul Mundt (1):
sh: Fix up legacy PTEA space attribute mapping.

Pavel Machek (1):
serial: unbreak billionton CF card

Pavel Shilovsky (1):
CIFS: Fix oplock break handling (try #2)

Peter Zijlstra (2):
sched, cgroup: Use exit hook to avoid use-after-free crash
sched: Fix update_curr_rt()

Pieter Maes (1):
USB: serial: Updated support for ICOM devices

Qiao Zhou (1):
ASoC: WM8994: fix wrong value in tristate function

Rafael J. Wysocki (1):
cpuidle: Make cpuidle_enable_device() call poll_idle_init()

Rajiv Andrade (1):
TPM: Long default timeout fix

Rajkumar Manoharan (4):
ath9k: fix beacon restart on channel change
ath9k_hw: do PA offset calibration only on longcal interval
ath9k_hw: Fix system hang when resuming from S3/S4
ath: Missed to clear key4 of micentry

Randy Dunlap (1):

      backlight: fix 88pm860x_bl macro collision

Raymond Yau (1):
ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu

Richard Schütz (2):
USB: usb-storage: unusual_devs update for Cypress ATACB
USB: usb-storage: unusual_devs update for TrekStor DataStation maxi g.u external hard drive enclosure

Roland Stigge (1):
iio: Fixpoint formatted output bugfix

Ruben Smits (1):
staging: comedi: add support for newer jr3 1-channel pci board

Russell King (3):
ARM: initrd: disable initrd if passed address overlaps reserved region
ARM: SMP: use more sane register allocation for __fixup_smp_on_up
ARM: smp_on_up: allow non-ARM SMP processors

Ryusuke Konishi (1):
nilfs2: fix crash after one superblock became unavailable

Sarah Sharp (3):
xhci: Resume bus on any port status change.
usb: Realloc xHCI structures after a hub is verified.
xhci: Use GFP_NOIO during device reset.

Shaohua Li (2):
intel_idle: open broadcast clock event
fix a shutdown regression in intel_idle

Shawn Guo (1):
net/fec: fix MMFR_OP type in fec_enet_mdio_write

Shirish Pargaonkar (1):
cifs: Fix regression during share-level security mounts (Repost)

Sonic Zhang (1):
mmc: bfin_sdh: fix alloc size for private data

Soren Hansen (1):
nbd: remove module-level ioctl mutex

Stanislaw Gruszka (2):
iwlagn: enable only rfkill interrupt when device is down
hostap_cs: fix sleeping function called from invalid context

Stefan Berger (1):
tpm_tis: Use timeouts returned from TPM

Stefan Richter (1):
firewire: core: fix unstable I/O with Canon camcorder

Stephen Kitt (1):
agp: ensure GART has an address before enabling it

Steve Wise (3):
RDMA/cxgb4: Don't re-init wait object in init/fini paths RDMA/cxgb4: Set the correct device physical function for iWARP connections RDMA/cxgb4: Limit MAXBURST EQ context field to 256B

Sudhakar Rajashekhara (1):
ASoC: da8xx/omap-l1xx: match codec_name with i2c ids

Sujith Manoharan (1):
ath9k_htc: Handle pending URBs properly

Suresh Siddha (2):
x86, mtrr: Avoid MTRR reprogramming on BP during boot on UP platforms x86, mm: avoid possible bogus tlb entries by clearing prev mm_cpumask after switching mm

Sven Neumann (1):
ds2760_battery: Fix calculation of time_to_empty_now

Takashi Iwai (7):
ALSA: hda - Add missing NID 0x19 fixup for Sony VAIO
ALSA: hda - Don't refer ELD when unplugged
ALSA: hda - Fix NULL-derefence with a single mic in STAC auto-mic detection
ALSA: hda - Fix multi-headphone handling for Realtek codecs
ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser
ALSA: hda - Fix memory leaks in conexant jack arrays
ALSA: hda - Fix missing CA initialization for HDMI/DP

Tejun Heo (5):
libata: set queue DMA alignment to sector size for ATAPI too
PCI: pci-stub: ignore zero-length id parameters
ptrace: use safer wake up on ptrace_detach()
workqueue: relax lockdep annotation on flush_work()
pata_mpc52xx: inherit from ata_bmdma_port_ops

Theodore Ts'o (1):
ext4: fix memory leak in ext4_free_branches

Thomas Gleixner (2):
genirq: Prevent irq storm on migration
x86: Readd missing irq_to_desc() in fixup_irq()

Thomas Taranowski (1):
rapidio: fix hang on RapidIO doorbell queue full condition

Tim Deegan (1):
fix jiffy calculations in calibrate_delay_direct to handle overflow

Timo Teräs (1):
staging: hv: fix netvsc sleeping while atomic

Timur Tabi (1):
powerpc/85xx: fix compatible properties of the P1022DS DMA nodes used for audio

Trond Myklebust (3):
NFS: Don't use vm_map_ram() in readdir
NFS: Fix NFSv3 exclusive open semantics
NFS: Fix an NFS client lockdep issue

Vasanthakumar Thiagarajan (2):
ath9k_hw: Fix XPABIAS level configuration for AR9003
ath9k: Fix bug in delimiter padding computation

Yin Kangkai (1):
USB: EHCI: fix scheduling while atomic during suspend

Yuanhan Liu (1):
drm/i915: fix calculation of eDP signal levels on Sandybridge

Zhang Rui (1):
xhci: Do not run xhci_cleanup_msix with irq disabled

roel kluin (1):

      Staging: speakup: &&/|| confusion in silent_store()
author
#1 lore raw
Documentation/kernel-parameters.txt +1 -0
index 01ece1b..596bb3c 100644
@@ -884,6 +884,7 @@ and is between 256 and 4096 characters. It is defined in the file
 			     controller
 	i8042.nopnp	[HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
 			     controllers
+	i8042.notimeout	[HW] Ignore timeout condition signalled by conroller
 	i8042.reset	[HW] Reset the controller during init and cleanup
 	i8042.unlock	[HW] Unlock (ignore) the keylock
 
Makefile +1 -1
index 74b2555..8096fed 100644
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 37
-EXTRAVERSION =
+EXTRAVERSION = .1
 NAME = Flesh-Eating Bats with Fangs
 
 # *DOCUMENTATION*
arch/arm/kernel/head.S +22 -19

62 lines not on this page · raw message

arch/arm/mach-s5pv310/cpu.c +1 -1
index 82ce4aa..b2a37d0 100644
@@ -168,7 +168,7 @@ static int __init s5pv310_l2x0_cache_init(void)
 	__raw_writel(L2X0_DYNAMIC_CLK_GATING_EN | L2X0_STNDBY_MODE_EN,
 		     S5P_VA_L2CC + L2X0_POWER_CTRL);
 
-	l2x0_init(S5P_VA_L2CC, 0x7C070001, 0xC200ffff);
+	l2x0_init(S5P_VA_L2CC, 0x7C470001, 0xC200ffff);
 
 	return 0;
 }
arch/arm/mm/init.c +6 -0
index 5164069..cddd684 100644
@@ -297,6 +297,12 @@ void __init arm_memblock_init(struct meminfo *mi, struct machine_desc *mdesc)
 	memblock_reserve(__pa(_stext), _end - _stext);
 #endif
 #ifdef CONFIG_BLK_DEV_INITRD
+	if (phys_initrd_size &&
+	    memblock_is_region_reserved(phys_initrd_start, phys_initrd_size)) {
+		pr_err("INITRD: 0x%08lx+0x%08lx overlaps in-use memory region - disabling initrd\n",
+		       phys_initrd_start, phys_initrd_size);
+		phys_initrd_start = phys_initrd_size = 0;
+	}
 	if (phys_initrd_size) {
 		memblock_reserve(phys_initrd_start, phys_initrd_size);
 
arch/arm/oprofile/common.c +2 -10
index 8aa9744..2b66391 100644
@@ -10,8 +10,6 @@
  */
 
 #include <linux/cpumask.h>
-#include <linux/err.h>
-#include <linux/errno.h>
 #include <linux/init.h>
 #include <linux/mutex.h>
 #include <linux/oprofile.h>
@@ -46,6 +44,7 @@ char *op_name_from_perf_id(void)
 		return NULL;
 	}
 }
+#endif
 
 static int report_trace(struct stackframe *frame, void *d)
 {
@@ -111,6 +110,7 @@ static void arm_backtrace(struct pt_regs * const regs, unsigned int depth)
 
 int __init oprofile_arch_init(struct oprofile_operations *ops)
 {
+	/* provide backtrace support also in timer mode: */
 	ops->backtrace		= arm_backtrace;
 
 	return oprofile_perf_init(ops);
@@ -120,11 +120,3 @@ void __exit oprofile_arch_exit(void)
 {
 	oprofile_perf_exit();
 }
-#else
-int __init oprofile_arch_init(struct oprofile_operations *ops)
-{
-	pr_info("oprofile: hardware counters not available\n");
-	return -ENODEV;
-}
-void __exit oprofile_arch_exit(void) {}
-#endif /* CONFIG_HW_PERF_EVENTS */
arch/avr32/include/asm/syscalls.h +0 -9
index ab608b7..730a461 100644
@@ -16,18 +16,9 @@
 #include <linux/signal.h>
 
 /* kernel/process.c */
-asmlinkage int sys_fork(struct pt_regs *);
 asmlinkage int sys_clone(unsigned long, unsigned long,
 			 unsigned long, unsigned long,
 			 struct pt_regs *);
-asmlinkage int sys_vfork(struct pt_regs *);
-asmlinkage int sys_execve(const char __user *, char __user *__user *,
-			  char __user *__user *, struct pt_regs *);
-
-/* kernel/signal.c */
-asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
-			       struct pt_regs *);
-asmlinkage int sys_rt_sigreturn(struct pt_regs *);
 
 /* mm/cache.c */
 asmlinkage int sys_cacheflush(int, void __user *, size_t);
arch/parisc/kernel/firmware.c +1 -12
index df971fa..4896ed0 100644
@@ -1126,15 +1126,13 @@ int pdc_iodc_print(const unsigned char *str, unsigned count)
 	unsigned int i;
 	unsigned long flags;
 
-	for (i = 0; i < count && i < 79;) {
+	for (i = 0; i < count;) {
 		switch(str[i]) {
 		case '\n':
 			iodc_dbuf[i+0] = '\r';
 			iodc_dbuf[i+1] = '\n';
 			i += 2;
 			goto print;
-		case '\b':	/* BS */
-			i--; /* overwrite last */
 		default:
 			iodc_dbuf[i] = str[i];
 			i++;
@@ -1142,15 +1140,6 @@ int pdc_iodc_print(const unsigned char *str, unsigned count)
 		}
 	}
 
-	/* if we're at the end of line, and not already inserting a newline,
-	 * insert one anyway. iodc console doesn't claim to support >79 char
-	 * lines. don't account for this in the return value.
-	 */
-	if (i == 79 && iodc_dbuf[i-1] != '\n') {
-		iodc_dbuf[i+0] = '\r';
-		iodc_dbuf[i+1] = '\n';
-	}
-
 print:
         spin_lock_irqsave(&pdc_lock, flags);
         real32_call(PAGE0->mem_cons.iodc_io,
arch/powerpc/boot/dts/p1022ds.dts +2 -2
index 2bbecbb..69422eb 100644
@@ -291,13 +291,13 @@
 			ranges = <0x0 0xc100 0x200>;
 			cell-index = <1>;
 			dma00: dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
+				compatible = "fsl,ssi-dma-channel";
 				reg = <0x0 0x80>;
 				cell-index = <0>;
 				interrupts = <76 2>;
 			};
 			dma01: dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
+				compatible = "fsl,ssi-dma-channel";
 				reg = <0x80 0x80>;
 				cell-index = <1>;
 				interrupts = <77 2>;
arch/powerpc/kernel/cpu_setup_6xx.S +20 -20
index 55cba4a..f8cd9fb 100644
@@ -18,7 +18,7 @@
 #include <asm/mmu.h>
 
 _GLOBAL(__setup_cpu_603)
-	mflr	r4
+	mflr	r5
 BEGIN_MMU_FTR_SECTION
 	li	r10,0
 	mtspr	SPRN_SPRG_603_LRU,r10		/* init SW LRU tracking */
@@ -27,60 +27,60 @@ BEGIN_FTR_SECTION
 	bl	__init_fpu_registers
 END_FTR_SECTION_IFCLR(CPU_FTR_FPU_UNAVAILABLE)
 	bl	setup_common_caches
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_604)
-	mflr	r4
+	mflr	r5
 	bl	setup_common_caches
 	bl	setup_604_hid0
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_750)
-	mflr	r4
+	mflr	r5
 	bl	__init_fpu_registers
 	bl	setup_common_caches
 	bl	setup_750_7400_hid0
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_750cx)
-	mflr	r4
+	mflr	r5
 	bl	__init_fpu_registers
 	bl	setup_common_caches
 	bl	setup_750_7400_hid0
 	bl	setup_750cx
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_750fx)
-	mflr	r4
+	mflr	r5
 	bl	__init_fpu_registers
 	bl	setup_common_caches
 	bl	setup_750_7400_hid0
 	bl	setup_750fx
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_7400)
-	mflr	r4
+	mflr	r5
 	bl	__init_fpu_registers
 	bl	setup_7400_workarounds
 	bl	setup_common_caches
 	bl	setup_750_7400_hid0
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_7410)
-	mflr	r4
+	mflr	r5
 	bl	__init_fpu_registers
 	bl	setup_7410_workarounds
 	bl	setup_common_caches
 	bl	setup_750_7400_hid0
 	li	r3,0
 	mtspr	SPRN_L2CR2,r3
-	mtlr	r4
+	mtlr	r5
 	blr
 _GLOBAL(__setup_cpu_745x)
-	mflr	r4
+	mflr	r5
 	bl	setup_common_caches
 	bl	setup_745x_specifics
-	mtlr	r4
+	mtlr	r5
 	blr
 
 /* Enable caches for 603's, 604, 750 & 7400 */
@@ -194,10 +194,10 @@ setup_750cx:
 	cror	4*cr0+eq,4*cr0+eq,4*cr1+eq
 	cror	4*cr0+eq,4*cr0+eq,4*cr2+eq
 	bnelr
-	lwz	r6,CPU_SPEC_FEATURES(r5)
+	lwz	r6,CPU_SPEC_FEATURES(r4)
 	li	r7,CPU_FTR_CAN_NAP
 	andc	r6,r6,r7
-	stw	r6,CPU_SPEC_FEATURES(r5)
+	stw	r6,CPU_SPEC_FEATURES(r4)
 	blr
 
 /* 750fx specific
@@ -225,12 +225,12 @@ BEGIN_FTR_SECTION
 	andis.	r11,r11,L3CR_L3E@h
 	beq	1f
 END_FTR_SECTION_IFSET(CPU_FTR_L3CR)
-	lwz	r6,CPU_SPEC_FEATURES(r5)
+	lwz	r6,CPU_SPEC_FEATURES(r4)
 	andi.	r0,r6,CPU_FTR_L3_DISABLE_NAP
 	beq	1f
 	li	r7,CPU_FTR_CAN_NAP
 	andc	r6,r6,r7
-	stw	r6,CPU_SPEC_FEATURES(r5)
+	stw	r6,CPU_SPEC_FEATURES(r4)
 1:
 	mfspr	r11,SPRN_HID0
 
arch/powerpc/mm/numa.c +1 -1
index 74505b2..c33210a 100644
@@ -181,7 +181,7 @@ static void unmap_cpu_from_node(unsigned long cpu)
 	dbg("removing cpu %lu from node %d\n", cpu, node);
 
 	if (cpumask_test_cpu(cpu, node_to_cpumask_map[node])) {
-		cpumask_set_cpu(cpu, node_to_cpumask_map[node]);
+		cpumask_clear_cpu(cpu, node_to_cpumask_map[node]);
 	} else {
 		printk(KERN_ERR "WARNING: cpu %lu not found in node %d\n",
 		       cpu, node);
arch/powerpc/platforms/pseries/lpar.c +37 -0
index f129040..8323f14 100644
@@ -701,6 +701,13 @@ EXPORT_SYMBOL(arch_free_page);
 /* NB: reg/unreg are called while guarded with the tracepoints_mutex */
 extern long hcall_tracepoint_refcount;
 
+/*
+ * Since the tracing code might execute hcalls we need to guard against
+ * recursion. One example of this are spinlocks calling H_YIELD on
+ * shared processor partitions.
+ */
+static DEFINE_PER_CPU(unsigned int, hcall_trace_depth);
+
 void hcall_tracepoint_regfunc(void)
 {
 	hcall_tracepoint_refcount++;
@@ -713,12 +720,42 @@ void hcall_tracepoint_unregfunc(void)
 
 void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
 {
+	unsigned long flags;
+	unsigned int *depth;
+
+	local_irq_save(flags);
+
+	depth = &__get_cpu_var(hcall_trace_depth);
+
+	if (*depth)
+		goto out;
+
+	(*depth)++;
 	trace_hcall_entry(opcode, args);
+	(*depth)--;
+
+out:
+	local_irq_restore(flags);
 }
 
 void __trace_hcall_exit(long opcode, unsigned long retval,
 			unsigned long *retbuf)
 {
+	unsigned long flags;
+	unsigned int *depth;
+
+	local_irq_save(flags);
+
+	depth = &__get_cpu_var(hcall_trace_depth);
+
+	if (*depth)
+		goto out;
+
+	(*depth)++;
 	trace_hcall_exit(opcode, retval, retbuf);
+	(*depth)--;
+
+out:
+	local_irq_restore(flags);
 }
 #endif
arch/powerpc/sysdev/fsl_rio.c +0 -1
index 9725369..9f99bef 100644
@@ -973,7 +973,6 @@ fsl_rio_dbell_handler(int irq, void *dev_instance)
 	if (dsr & DOORBELL_DSR_QFI) {
 		pr_info("RIO: doorbell queue full\n");
 		out_be32(&priv->msg_regs->dsr, DOORBELL_DSR_QFI);
-		goto out;
 	}
 
 	/* XXX Need to check/dispatch until queue empty */
arch/sh/include/asm/io.h +9 -1
index b237d52..34ba197 100644
@@ -322,7 +322,15 @@ __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot)
 	 * mapping must be done by the PMB or by using page tables.
 	 */
 	if (likely(PXSEG(offset) < P3SEG && PXSEG(last_addr) < P3SEG)) {
-		if (unlikely(pgprot_val(prot) & _PAGE_CACHABLE))
+		u64 flags = pgprot_val(prot);
+
+		/*
+		 * Anything using the legacy PTEA space attributes needs
+		 * to be kicked down to page table mappings.
+		 */
+		if (unlikely(flags & _PAGE_PCC_MASK))
+			return NULL;
+		if (unlikely(flags & _PAGE_CACHABLE))
 			return (void __iomem *)P1SEGADDR(offset);
 
 		return (void __iomem *)P2SEGADDR(offset);
arch/sh/include/asm/pgtable_32.h +6 -1
index 43528ec..68f3eff 100644
@@ -76,6 +76,10 @@
 /* Wrapper for extended mode pgprot twiddling */
 #define _PAGE_EXT(x)		((unsigned long long)(x) << 32)
 
+#ifdef CONFIG_X2TLB
+#define _PAGE_PCC_MASK	0x00000000	/* No legacy PTEA support */
+#else
+
 /* software: moves to PTEA.TC (Timing Control) */
 #define _PAGE_PCC_AREA5	0x00000000	/* use BSC registers for area5 */
 #define _PAGE_PCC_AREA6	0x80000000	/* use BSC registers for area6 */
@@ -89,7 +93,8 @@
 #define _PAGE_PCC_ATR8	0x60000000	/* Attribute Memory space, 8 bit bus */
 #define _PAGE_PCC_ATR16	0x60000001	/* Attribute Memory space, 6 bit bus */
 
-#ifndef CONFIG_X2TLB
+#define _PAGE_PCC_MASK	0xe0000001
+
 /* copy the ptea attributes */
 static inline unsigned long copy_ptea_attributes(unsigned long x)
 {
arch/x86/Kconfig +1 -0
index e330da2..57e823a 100644
@@ -2035,6 +2035,7 @@ config OLPC
 	bool "One Laptop Per Child support"
 	select GPIOLIB
 	select OLPC_OPENFIRMWARE
+	depends on !X86_64 && !X86_PAE
 	---help---
 	  Add support for detecting the unique features of the OLPC
 	  XO hardware.
arch/x86/include/asm/mmu_context.h +3 -2
index 4a2d4e0..8b5393e 100644
@@ -36,8 +36,6 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
 	unsigned cpu = smp_processor_id();
 
 	if (likely(prev != next)) {
-		/* stop flush ipis for the previous mm */
-		cpumask_clear_cpu(cpu, mm_cpumask(prev));
 #ifdef CONFIG_SMP
 		percpu_write(cpu_tlbstate.state, TLBSTATE_OK);
 		percpu_write(cpu_tlbstate.active_mm, next);
@@ -47,6 +45,9 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
 		/* Re-load page tables */
 		load_cr3(next->pgd);
 
+		/* stop flush ipis for the previous mm */
+		cpumask_clear_cpu(cpu, mm_cpumask(prev));
+
 		/*
 		 * load the LDT, if the LDT is different:
 		 */
arch/x86/include/asm/uv/uv_bau.h +5 -4
index 42d412f..ce1d54c 100644
@@ -26,20 +26,22 @@
  * BAU_SB_DESCRIPTOR_BASE register, set 1 is located at BASE + 512,
  * set 2 is at BASE + 2*512, set 3 at BASE + 3*512, and so on.
  *
- * We will use 31 sets, one for sending BAU messages from each of the 32
+ * We will use one set for sending BAU messages from each of the
  * cpu's on the uvhub.
  *
  * TLB shootdown will use the first of the 8 descriptors of each set.
  * Each of the descriptors is 64 bytes in size (8*64 = 512 bytes in a set).
  */
 
+#define MAX_CPUS_PER_UVHUB		64
+#define MAX_CPUS_PER_SOCKET		32
+#define UV_ADP_SIZE			64 /* hardware-provided max. */
+#define UV_CPUS_PER_ACT_STATUS		32 /* hardware-provided max. */
 #define UV_ITEMS_PER_DESCRIPTOR		8
 /* the 'throttle' to prevent the hardware stay-busy bug */
 #define MAX_BAU_CONCURRENT		3
-#define UV_CPUS_PER_ACT_STATUS		32
 #define UV_ACT_STATUS_MASK		0x3
 #define UV_ACT_STATUS_SIZE		2
-#define UV_ADP_SIZE			32
 #define UV_DISTRIBUTION_SIZE		256
 #define UV_SW_ACK_NPENDING		8
 #define UV_NET_ENDPOINT_INTD		0x38
@@ -100,7 +102,6 @@
  * number of destination side software ack resources
  */
 #define DEST_NUM_RESOURCES		8
-#define MAX_CPUS_PER_NODE		32
 /*
  * completion statuses for sending a TLB flush message
  */
arch/x86/kernel/cpu/mtrr/main.c +9 -1
index 01c0f3e..bebabec 100644
@@ -793,13 +793,21 @@ void set_mtrr_aps_delayed_init(void)
 }
 
 /*
- * MTRR initialization for all AP's
+ * Delayed MTRR initialization for all AP's
  */
 void mtrr_aps_init(void)
 {
 	if (!use_intel())
 		return;
 
+	/*
+	 * Check if someone has requested the delay of AP MTRR initialization,
+	 * by doing set_mtrr_aps_delayed_init(), prior to this point. If not,
+	 * then we are done.
+	 */
+	if (!mtrr_aps_delayed_init)
+		return;
+
 	set_mtrr(~0U, 0, 0, 0);
 	mtrr_aps_delayed_init = false;
 }
arch/x86/kernel/irq.c +2 -1
index 83ec017..e430114 100644
@@ -357,7 +357,8 @@ void fixup_irqs(void)
 		if (irr  & (1 << (vector % 32))) {
 			irq = __get_cpu_var(vector_irq)[vector];
 
-			data = irq_get_irq_data(irq);
+			desc = irq_to_desc(irq);
+			data = &desc->irq_data;
 			raw_spin_lock(&desc->lock);
 			if (data->chip->irq_retrigger)
 				data->chip->irq_retrigger(data);
arch/x86/kernel/process.c +16 -6
index 57d1868..2502aaf 100644
@@ -97,21 +97,31 @@ void show_regs(struct pt_regs *regs)
 
 void show_regs_common(void)
 {
-	const char *board, *product;
+	const char *vendor, *product, *board;
 
-	board = dmi_get_system_info(DMI_BOARD_NAME);
-	if (!board)
-		board = "";
+	vendor = dmi_get_system_info(DMI_SYS_VENDOR);
+	if (!vendor)
+		vendor = "";
 	product = dmi_get_system_info(DMI_PRODUCT_NAME);
 	if (!product)
 		product = "";
 
+	/* Board Name is optional */
+	board = dmi_get_system_info(DMI_BOARD_NAME);
+
 	printk(KERN_CONT "\n");
-	printk(KERN_DEFAULT "Pid: %d, comm: %.20s %s %s %.*s %s/%s\n",
+	printk(KERN_DEFAULT "Pid: %d, comm: %.20s %s %s %.*s",
 		current->pid, current->comm, print_tainted(),
 		init_utsname()->release,
 		(int)strcspn(init_utsname()->version, " "),
-		init_utsname()->version, board, product);
+		init_utsname()->version);
+	printk(KERN_CONT " ");
+	printk(KERN_CONT "%s %s", vendor, product);
+	if (board) {
+		printk(KERN_CONT "/");
+		printk(KERN_CONT "%s", board);
+	}
+	printk(KERN_CONT "\n");
 }
 
 void flush_thread(void)
arch/x86/platform/uv/tlb_uv.c +18 -4
index ba9caa8..df58e9c 100644
@@ -1341,7 +1341,7 @@ uv_activation_descriptor_init(int node, int pnode)
 
 	/*
 	 * each bau_desc is 64 bytes; there are 8 (UV_ITEMS_PER_DESCRIPTOR)
-	 * per cpu; and up to 32 (UV_ADP_SIZE) cpu's per uvhub
+	 * per cpu; and one per cpu on the uvhub (UV_ADP_SIZE)
 	 */
 	bau_desc = kmalloc_node(sizeof(struct bau_desc) * UV_ADP_SIZE
 				* UV_ITEMS_PER_DESCRIPTOR, GFP_KERNEL, node);
@@ -1490,7 +1490,7 @@ calculate_destination_timeout(void)
 /*
  * initialize the bau_control structure for each cpu
  */
-static void __init uv_init_per_cpu(int nuvhubs)
+static int __init uv_init_per_cpu(int nuvhubs)
 {
 	int i;
 	int cpu;
@@ -1507,7 +1507,7 @@ static void __init uv_init_per_cpu(int nuvhubs)
 	struct bau_control *smaster = NULL;
 	struct socket_desc {
 		short num_cpus;
-		short cpu_number[16];
+		short cpu_number[MAX_CPUS_PER_SOCKET];
 	};
 	struct uvhub_desc {
 		unsigned short socket_mask;
@@ -1540,6 +1540,10 @@ static void __init uv_init_per_cpu(int nuvhubs)
 		sdp = &bdp->socket[socket];
 		sdp->cpu_number[sdp->num_cpus] = cpu;
 		sdp->num_cpus++;
+		if (sdp->num_cpus > MAX_CPUS_PER_SOCKET) {
+			printk(KERN_EMERG "%d cpus per socket invalid\n", sdp->num_cpus);
+			return 1;
+		}
 	}
 	for (uvhub = 0; uvhub < nuvhubs; uvhub++) {
 		if (!(*(uvhub_mask + (uvhub/8)) & (1 << (uvhub%8))))
@@ -1570,6 +1574,12 @@ static void __init uv_init_per_cpu(int nuvhubs)
 				bcp->uvhub_master = hmaster;
 				bcp->uvhub_cpu = uv_cpu_hub_info(cpu)->
 						blade_processor_id;
+				if (bcp->uvhub_cpu >= MAX_CPUS_PER_UVHUB) {
+					printk(KERN_EMERG
+						"%d cpus per uvhub invalid\n",
+						bcp->uvhub_cpu);
+					return 1;
+				}
 			}
 nextsocket:
 			socket++;
@@ -1595,6 +1605,7 @@ nextsocket:
 		bcp->congested_reps = congested_reps;
 		bcp->congested_period = congested_period;
 	}
+	return 0;
 }
 
 /*
@@ -1625,7 +1636,10 @@ static int __init uv_bau_init(void)
 	spin_lock_init(&disable_lock);
 	congested_cycles = microsec_2_cycles(congested_response_us);
 
-	uv_init_per_cpu(nuvhubs);
+	if (uv_init_per_cpu(nuvhubs)) {
+		nobau = 1;
+		return 0;
+	}
 
 	uv_partition_base_pnode = 0x7fffffff;
 	for (uvhub = 0; uvhub < nuvhubs; uvhub++)
block/blk-core.c +21 -5
index 4ce953f..8767520 100644
@@ -64,13 +64,27 @@ static void drive_stat_acct(struct request *rq, int new_io)
 		return;
 
 	cpu = part_stat_lock();
-	part = disk_map_sector_rcu(rq->rq_disk, blk_rq_pos(rq));
 
-	if (!new_io)
+	if (!new_io) {
+		part = rq->part;
 		part_stat_inc(cpu, part, merges[rw]);
-	else {
+	} else {
+		part = disk_map_sector_rcu(rq->rq_disk, blk_rq_pos(rq));
+		if (!kref_test_and_get(&part->ref)) {
+			/*
+			 * The partition is already being removed,
+			 * the request will be accounted on the disk only
+			 *
+			 * We take a reference on disk->part0 although that
+			 * partition will never be deleted, so we can treat
+			 * it as any other partition.
+			 */
+			part = &rq->rq_disk->part0;
+			kref_get(&part->ref);
+		}
 		part_round_stats(cpu, part);
 		part_inc_in_flight(part, rw);
+		rq->part = part;
 	}
 
 	part_stat_unlock();
@@ -128,6 +142,7 @@ void blk_rq_init(struct request_queue *q, struct request *rq)
 	rq->ref_count = 1;
 	rq->start_time = jiffies;
 	set_start_time_ns(rq);
+	rq->part = NULL;
 }
 EXPORT_SYMBOL(blk_rq_init);
 
@@ -1776,7 +1791,7 @@ static void blk_account_io_completion(struct request *req, unsigned int bytes)
 		int cpu;
 
 		cpu = part_stat_lock();
-		part = disk_map_sector_rcu(req->rq_disk, blk_rq_pos(req));
+		part = req->part;
 		part_stat_add(cpu, part, sectors[rw], bytes >> 9);
 		part_stat_unlock();
 	}
@@ -1796,13 +1811,14 @@ static void blk_account_io_done(struct request *req)
 		int cpu;
 
 		cpu = part_stat_lock();
-		part = disk_map_sector_rcu(req->rq_disk, blk_rq_pos(req));
+		part = req->part;
 
 		part_stat_inc(cpu, part, ios[rw]);
 		part_stat_add(cpu, part, ticks[rw], duration);
 		part_round_stats(cpu, part);
 		part_dec_in_flight(part, rw);
 
+		kref_put(&part->ref, __delete_partition);
 		part_stat_unlock();
 	}
 }
block/blk-merge.c +2 -1
index 74bc4a7..23ea74b 100644
@@ -351,11 +351,12 @@ static void blk_account_io_merge(struct request *req)
 		int cpu;
 
 		cpu = part_stat_lock();
-		part = disk_map_sector_rcu(req->rq_disk, blk_rq_pos(req));
+		part = req->part;
 
 		part_round_stats(cpu, part);
 		part_dec_in_flight(part, rq_data_dir(req));
 
+		kref_put(&part->ref, __delete_partition);
 		part_stat_unlock();
 	}
 }
block/cfq-iosched.c +4 -0
index 4cd59b0..6f2a966 100644
@@ -3412,6 +3412,10 @@ static bool cfq_should_wait_busy(struct cfq_data *cfqd, struct cfq_queue *cfqq)
 {
 	struct cfq_io_context *cic = cfqd->active_cic;
 
+	/* If the queue already has requests, don't wait */
+	if (!RB_EMPTY_ROOT(&cfqq->sort_list))
+		return false;
+
 	/* If there are other queues in the group, don't wait */
 	if (cfqq->cfqg->nr_cfqq > 1)
 		return false;
block/genhd.c +1 -0
index 5fa2b44..0c55eae 100644
@@ -1192,6 +1192,7 @@ struct gendisk *alloc_disk_node(int minors, int node_id)
 			return NULL;
 		}
 		disk->part_tbl->part[0] = &disk->part0;
+		kref_init(&disk->part0.ref);
 
 		disk->minors = minors;
 		rand_initialize_disk(disk);
drivers/ata/libata-scsi.c +18 -6
index 66aa4be..f03ea29 100644
@@ -1102,9 +1102,9 @@ static int ata_scsi_dev_config(struct scsi_device *sdev,
 		struct request_queue *q = sdev->request_queue;
 		void *buf;
 
-		/* set the min alignment and padding */
-		blk_queue_update_dma_alignment(sdev->request_queue,
-					       ATA_DMA_PAD_SZ - 1);
+		sdev->sector_size = ATA_SECT_SIZE;
+
+		/* set DMA padding */
 		blk_queue_update_dma_pad(sdev->request_queue,
 					 ATA_DMA_PAD_SZ - 1);
 
@@ -1118,13 +1118,25 @@ static int ata_scsi_dev_config(struct scsi_device *sdev,
 
 		blk_queue_dma_drain(q, atapi_drain_needed, buf, ATAPI_MAX_DRAIN);
 	} else {
-		/* ATA devices must be sector aligned */
 		sdev->sector_size = ata_id_logical_sector_size(dev->id);
-		blk_queue_update_dma_alignment(sdev->request_queue,
-					       sdev->sector_size - 1);
 		sdev->manage_start_stop = 1;
 	}
 
+	/*
+	 * ata_pio_sectors() expects buffer for each sector to not cross
+	 * page boundary.  Enforce it by requiring buffers to be sector
+	 * aligned, which works iff sector_size is not larger than
+	 * PAGE_SIZE.  ATAPI devices also need the alignment as
+	 * IDENTIFY_PACKET is executed as ATA_PROT_PIO.
+	 */
+	if (sdev->sector_size > PAGE_SIZE)
+		ata_dev_printk(dev, KERN_WARNING,
+			"sector_size=%u > PAGE_SIZE, PIO may malfunction\n",
+			sdev->sector_size);
+
+	blk_queue_update_dma_alignment(sdev->request_queue,
+				       sdev->sector_size - 1);
+
 	if (dev->flags & ATA_DFLAG_AN)
 		set_bit(SDEV_EVT_MEDIA_CHANGE, sdev->supported_events);
 
drivers/ata/pata_mpc52xx.c +1 -1
index 8cc536e..d7d8026 100644
@@ -610,7 +610,7 @@ static struct scsi_host_template mpc52xx_ata_sht = {
 };
 
 static struct ata_port_operations mpc52xx_ata_port_ops = {
-	.inherits		= &ata_sff_port_ops,
+	.inherits		= &ata_bmdma_port_ops,
 	.sff_dev_select		= mpc52xx_ata_dev_select,
 	.set_piomode		= mpc52xx_ata_set_piomode,
 	.set_dmamode		= mpc52xx_ata_set_dmamode,
drivers/base/power/runtime.c +6 -3
index 02c652b..6b2d409 100644
@@ -404,12 +404,15 @@ static int rpm_suspend(struct device *dev, int rpmflags)
 		goto out;
 	}
 
+	/* Maybe the parent is now able to suspend. */
 	if (parent && !parent->power.ignore_children) {
-		spin_unlock_irq(&dev->power.lock);
+		spin_unlock(&dev->power.lock);
 
-		pm_request_idle(parent);
+		spin_lock(&parent->power.lock);
+		rpm_idle(parent, RPM_ASYNC);
+		spin_unlock(&parent->power.lock);
 
-		spin_lock_irq(&dev->power.lock);
+		spin_lock(&dev->power.lock);
 	}
 
  out:
drivers/block/nbd.c +0 -3
index a32fb41..e6fc716 100644
@@ -53,7 +53,6 @@
 #define DBG_BLKDEV      0x0100
 #define DBG_RX          0x0200
 #define DBG_TX          0x0400
-static DEFINE_MUTEX(nbd_mutex);
 static unsigned int debugflags;
 #endif /* NDEBUG */
 
@@ -718,11 +717,9 @@ static int nbd_ioctl(struct block_device *bdev, fmode_t mode,
 	dprintk(DBG_IOCTL, "%s: nbd_ioctl cmd=%s(0x%x) arg=%lu\n",
 			lo->disk->disk_name, ioctl_cmd_to_ascii(cmd), cmd, arg);
 
-	mutex_lock(&nbd_mutex);
 	mutex_lock(&lo->tx_lock);
 	error = __nbd_ioctl(bdev, lo, cmd, arg);
 	mutex_unlock(&lo->tx_lock);
-	mutex_unlock(&nbd_mutex);
 
 	return error;
 }
drivers/char/agp/intel-agp.c +16 -11
index e72f49d..2c9dca9 100644
@@ -774,20 +774,14 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
 	dev_info(&pdev->dev, "Intel %s Chipset\n", intel_agp_chipsets[i].name);
 
 	/*
-	* If the device has not been properly setup, the following will catch
-	* the problem and should stop the system from crashing.
-	* 20030610 - [email protected]
-	*/
-	if (pci_enable_device(pdev)) {
-		dev_err(&pdev->dev, "can't enable PCI device\n");
-		agp_put_bridge(bridge);
-		return -ENODEV;
-	}
-
-	/*
 	* The following fixes the case where the BIOS has "forgotten" to
 	* provide an address range for the GART.
 	* 20030610 - [email protected]
+	* This happens before pci_enable_device() intentionally;
+	* calling pci_enable_device() before assigning the resource
+	* will result in the GART being disabled on machines with such
+	* BIOSs (the GART ends up with a BAR starting at 0, which
+	* conflicts a lot of other devices).
 	*/
 	r = &pdev->resource[0];
 	if (!r->start && r->end) {
@@ -798,6 +792,17 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
 		}
 	}
 
+	/*
+	* If the device has not been properly setup, the following will catch
+	* the problem and should stop the system from crashing.
+	* 20030610 - [email protected]
+	*/
+	if (pci_enable_device(pdev)) {
+		dev_err(&pdev->dev, "can't enable PCI device\n");
+		agp_put_bridge(bridge);
+		return -ENODEV;
+	}
+
 	/* Fill in the mode register */
 	if (cap_ptr) {
 		pci_read_config_dword(pdev,
drivers/char/ipmi/ipmi_si_intf.c +2 -10
index 035da9e..2689ddb 100644
@@ -320,6 +320,7 @@ static int unload_when_empty = 1;
 static int add_smi(struct smi_info *smi);
 static int try_smi_init(struct smi_info *smi);
 static void cleanup_one_si(struct smi_info *to_clean);
+static void cleanup_ipmi_si(void);
 
 static ATOMIC_NOTIFIER_HEAD(xaction_notifier_list);
 static int register_xaction_notifier(struct notifier_block *nb)
@@ -3435,16 +3436,7 @@ static int __devinit init_ipmi_si(void)
 	mutex_lock(&smi_infos_lock);
 	if (unload_when_empty && list_empty(&smi_infos)) {
 		mutex_unlock(&smi_infos_lock);
-#ifdef CONFIG_PCI
-		if (pci_registered)
-			pci_unregister_driver(&ipmi_pci_driver);
-#endif
-
-#ifdef CONFIG_PPC_OF
-		if (of_registered)
-			of_unregister_platform_driver(&ipmi_of_platform_driver);
-#endif
-		driver_unregister(&ipmi_driver.driver);
+		cleanup_ipmi_si();
 		printk(KERN_WARNING PFX
 		       "Unable to find any System Interface(s)\n");
 		return -ENODEV;
drivers/char/tpm/tpm.c +22 -6
index 7c41335..55d0466 100644
@@ -364,12 +364,14 @@ unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip,
 		    tpm_protected_ordinal_duration[ordinal &
 						   TPM_PROTECTED_ORDINAL_MASK];
 
-	if (duration_idx != TPM_UNDEFINED)
+	if (duration_idx != TPM_UNDEFINED) {
 		duration = chip->vendor.duration[duration_idx];
-	if (duration <= 0)
+		/* if duration is 0, it's because chip->vendor.duration wasn't */
+		/* filled yet, so we set the lowest timeout just to give enough */
+		/* time for tpm_get_timeouts() to succeed */
+		return (duration <= 0 ? HZ : duration);
+	} else
 		return 2 * 60 * HZ;
-	else
-		return duration;
 }
 EXPORT_SYMBOL_GPL(tpm_calc_ordinal_duration);
 
@@ -575,9 +577,11 @@ duration:
 	if (rc)
 		return;
 
-	if (be32_to_cpu(tpm_cmd.header.out.return_code)
-	    != 3 * sizeof(u32))
+	if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 ||
+	    be32_to_cpu(tpm_cmd.header.out.length)
+	    != sizeof(tpm_cmd.header.out) + sizeof(u32) + 3 * sizeof(u32))
 		return;
+
 	duration_cap = &tpm_cmd.params.getcap_out.cap.duration;
 	chip->vendor.duration[TPM_SHORT] =
 	    usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_short));
@@ -921,6 +925,18 @@ ssize_t tpm_show_caps_1_2(struct device * dev,
 }
 EXPORT_SYMBOL_GPL(tpm_show_caps_1_2);
 
+ssize_t tpm_show_timeouts(struct device *dev, struct device_attribute *attr,
+			  char *buf)
+{
+	struct tpm_chip *chip = dev_get_drvdata(dev);
+
+	return sprintf(buf, "%d %d %d\n",
+	               jiffies_to_usecs(chip->vendor.duration[TPM_SHORT]),
+	               jiffies_to_usecs(chip->vendor.duration[TPM_MEDIUM]),
+	               jiffies_to_usecs(chip->vendor.duration[TPM_LONG]));
+}
+EXPORT_SYMBOL_GPL(tpm_show_timeouts);
+
 ssize_t tpm_store_cancel(struct device *dev, struct device_attribute *attr,
 			const char *buf, size_t count)
 {
drivers/char/tpm/tpm.h +2 -0
index 792868d..ba1779c 100644
@@ -56,6 +56,8 @@ extern ssize_t tpm_show_owned(struct device *, struct device_attribute *attr,
 				char *);
 extern ssize_t tpm_show_temp_deactivated(struct device *,
 					 struct device_attribute *attr, char *);
+extern ssize_t tpm_show_timeouts(struct device *,
+				 struct device_attribute *attr, char *);
 
 struct tpm_chip;
 
drivers/char/tpm/tpm_tis.c +6 -4
index c17a305..0d1d38e 100644
@@ -376,6 +376,7 @@ static DEVICE_ATTR(temp_deactivated, S_IRUGO, tpm_show_temp_deactivated,
 		   NULL);
 static DEVICE_ATTR(caps, S_IRUGO, tpm_show_caps_1_2, NULL);
 static DEVICE_ATTR(cancel, S_IWUSR | S_IWGRP, NULL, tpm_store_cancel);
+static DEVICE_ATTR(timeouts, S_IRUGO, tpm_show_timeouts, NULL);
 
 static struct attribute *tis_attrs[] = {
 	&dev_attr_pubek.attr,
@@ -385,7 +386,8 @@ static struct attribute *tis_attrs[] = {
 	&dev_attr_owned.attr,
 	&dev_attr_temp_deactivated.attr,
 	&dev_attr_caps.attr,
-	&dev_attr_cancel.attr, NULL,
+	&dev_attr_cancel.attr,
+	&dev_attr_timeouts.attr, NULL,
 };
 
 static struct attribute_group tis_attr_grp = {
@@ -493,9 +495,6 @@ static int tpm_tis_init(struct device *dev, resource_size_t start,
 		 "1.2 TPM (device-id 0x%X, rev-id %d)\n",
 		 vendor >> 16, ioread8(chip->vendor.iobase + TPM_RID(0)));
 
-	if (is_itpm(to_pnp_dev(dev)))
-		itpm = 1;
-
 	if (itpm)
 		dev_info(dev, "Intel iTPM workaround enabled\n");
 
@@ -637,6 +636,9 @@ static int __devinit tpm_tis_pnp_init(struct pnp_dev *pnp_dev,
 	else
 		interrupts = 0;
 
+	if (is_itpm(pnp_dev))
+		itpm = 1;
+
 	return tpm_tis_init(&pnp_dev->dev, start, len, irq);
 }
 
drivers/char/virtio_console.c +13 -2
index 896a2ce..ad2520b 100644
@@ -1462,6 +1462,17 @@ static void control_work_handler(struct work_struct *work)
 	spin_unlock(&portdev->cvq_lock);
 }
 
+static void out_intr(struct virtqueue *vq)
+{
+	struct port *port;
+
+	port = find_port_by_vq(vq->vdev->priv, vq);
+	if (!port)
+		return;
+
+	wake_up_interruptible(&port->waitqueue);
+}
+
 static void in_intr(struct virtqueue *vq)
 {
 	struct port *port;
@@ -1566,7 +1577,7 @@ static int init_vqs(struct ports_device *portdev)
 	 */
 	j = 0;
 	io_callbacks[j] = in_intr;
-	io_callbacks[j + 1] = NULL;
+	io_callbacks[j + 1] = out_intr;
 	io_names[j] = "input";
 	io_names[j + 1] = "output";
 	j += 2;
@@ -1580,7 +1591,7 @@ static int init_vqs(struct ports_device *portdev)
 		for (i = 1; i < nr_ports; i++) {
 			j += 2;
 			io_callbacks[j] = in_intr;
-			io_callbacks[j + 1] = NULL;
+			io_callbacks[j + 1] = out_intr;
 			io_names[j] = "input";
 			io_names[j + 1] = "output";
 		}
drivers/cpuidle/cpuidle.c +41 -41

106 lines not on this page · raw message

drivers/firewire/core-card.c +9 -2
index be04923..24ff355 100644
@@ -75,6 +75,8 @@ static size_t config_rom_length = 1 + 4 + 1 + 1;
 #define BIB_IRMC		((1) << 31)
 #define NODE_CAPABILITIES	0x0c0083c0 /* per IEEE 1394 clause 8.3.2.6.5.2 */
 
+#define CANON_OUI		0x000085
+
 static void generate_config_rom(struct fw_card *card, __be32 *config_rom)
 {
 	struct fw_descriptor *desc;
@@ -284,6 +286,7 @@ static void bm_work(struct work_struct *work)
 	bool root_device_is_running;
 	bool root_device_is_cmc;
 	bool irm_is_1394_1995_only;
+	bool keep_this_irm;
 
 	spin_lock_irq(&card->lock);
 
@@ -305,6 +308,10 @@ static void bm_work(struct work_struct *work)
 	irm_is_1394_1995_only = irm_device && irm_device->config_rom &&
 			(irm_device->config_rom[2] & 0x000000f0) == 0;
 
+	/* Canon MV5i works unreliably if it is not root node. */
+	keep_this_irm = irm_device && irm_device->config_rom &&
+			irm_device->config_rom[3] >> 8 == CANON_OUI;
+
 	root_id  = root_node->node_id;
 	irm_id   = card->irm_node->node_id;
 	local_id = card->local_node->node_id;
@@ -333,7 +340,7 @@ static void bm_work(struct work_struct *work)
 			goto pick_me;
 		}
 
-		if (irm_is_1394_1995_only) {
+		if (irm_is_1394_1995_only && !keep_this_irm) {
 			new_root_id = local_id;
 			fw_notify("%s, making local node (%02x) root.\n",
 				  "IRM is not 1394a compliant", new_root_id);
@@ -382,7 +389,7 @@ static void bm_work(struct work_struct *work)
 
 		spin_lock_irq(&card->lock);
 
-		if (rcode != RCODE_COMPLETE) {
+		if (rcode != RCODE_COMPLETE && !keep_this_irm) {
 			/*
 			 * The lock request failed, maybe the IRM
 			 * isn't really IRM capable after all. Let's
drivers/firmware/dmi_scan.c +9 -2
index e28e41668..bcb1126 100644
@@ -378,10 +378,17 @@ static void __init print_filtered(const char *info)
 
 static void __init dmi_dump_ids(void)
 {
+	const char *board;	/* Board Name is optional */
+
 	printk(KERN_DEBUG "DMI: ");
-	print_filtered(dmi_get_system_info(DMI_BOARD_NAME));
-	printk(KERN_CONT "/");
+	print_filtered(dmi_get_system_info(DMI_SYS_VENDOR));
+	printk(KERN_CONT " ");
 	print_filtered(dmi_get_system_info(DMI_PRODUCT_NAME));
+	board = dmi_get_system_info(DMI_BOARD_NAME);
+	if (board) {
+		printk(KERN_CONT "/");
+		print_filtered(board);
+	}
 	printk(KERN_CONT ", BIOS ");
 	print_filtered(dmi_get_system_info(DMI_BIOS_VERSION));
 	printk(KERN_CONT " ");
drivers/gpu/drm/Kconfig +3 -0
index 7af4436..7ea4bdd 100644
@@ -100,7 +100,10 @@ config DRM_I830
 config DRM_I915
 	tristate "i915 driver"
 	depends on AGP_INTEL
+	# we need shmfs for the swappable backing store, and in particular
+	# the shmem_readpage() which depends upon tmpfs
 	select SHMEM
+	select TMPFS
 	select DRM_KMS_HELPER
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
drivers/gpu/drm/drm_crtc_helper.c +10 -7
index 2d4e17a..a0ce53d 100644
@@ -650,9 +650,16 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
 						      old_fb)) {
 				DRM_ERROR("failed to set mode on [CRTC:%d]\n",
 					  set->crtc->base.id);
+				set->crtc->fb = old_fb;
 				ret = -EINVAL;
 				goto fail;
 			}
+			DRM_DEBUG_KMS("Setting connector DPMS state to on\n");
+			for (i = 0; i < set->num_connectors; i++) {
+				DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set DPMS on\n", set->connectors[i]->base.id,
+					      drm_get_connector_name(set->connectors[i]));
+				set->connectors[i]->dpms = DRM_MODE_DPMS_ON;
+			}
 		}
 		drm_helper_disable_unused_functions(dev);
 	} else if (fb_changed) {
@@ -664,14 +671,10 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
 			set->crtc->fb = set->fb;
 		ret = crtc_funcs->mode_set_base(set->crtc,
 						set->x, set->y, old_fb);
-		if (ret != 0)
+		if (ret != 0) {
+			set->crtc->fb = old_fb;
 			goto fail;
-	}
-	DRM_DEBUG_KMS("Setting connector DPMS state to on\n");
-	for (i = 0; i < set->num_connectors; i++) {
-		DRM_DEBUG_KMS("\t[CONNECTOR:%d:%s] set DPMS on\n", set->connectors[i]->base.id,
-			      drm_get_connector_name(set->connectors[i]));
-		set->connectors[i]->dpms = DRM_MODE_DPMS_ON;
+		}
 	}
 
 	kfree(save_connectors);
drivers/gpu/drm/i915/i915_dma.c +8 -2
index cb900dc..4916c10 100644
@@ -1243,9 +1243,15 @@ static int i915_load_modeset_init(struct drm_device *dev,
 	if (ret)
 		DRM_INFO("failed to find VBIOS tables\n");
 
-	/* if we have > 1 VGA cards, then disable the radeon VGA resources */
+	/* If we have > 1 VGA cards, then we need to arbitrate access
+	 * to the common VGA resources.
+	 *
+	 * If we are a secondary display controller (!PCI_DISPLAY_CLASS_VGA),
+	 * then we do not take part in VGA arbitration and the
+	 * vga_client_register() fails with -ENODEV.
+	 */
 	ret = vga_client_register(dev->pdev, dev, NULL, i915_vga_set_decode);
-	if (ret)
+	if (ret && ret != -ENODEV)
 		goto cleanup_ringbuffer;
 
 	intel_register_dsm_handler();
drivers/gpu/drm/i915/i915_drv.c +9 -1
index f737960..da769bc 100644
@@ -54,7 +54,7 @@ extern int intel_agp_enabled;
 
 #define INTEL_VGA_DEVICE(id, info) {		\
 	.class = PCI_CLASS_DISPLAY_VGA << 8,	\
-	.class_mask = 0xffff00,			\
+	.class_mask = 0xff0000,			\
 	.vendor = 0x8086,			\
 	.device = id,				\
 	.subvendor = PCI_ANY_ID,		\
@@ -501,6 +501,14 @@ int i915_reset(struct drm_device *dev, u8 flags)
 static int __devinit
 i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
+	/* Only bind to function 0 of the device. Early generations
+	 * used function 1 as a placeholder for multi-head. This causes
+	 * us confusion instead, especially on the systems where both
+	 * functions have the same PCI-ID!
+	 */
+	if (PCI_FUNC(pdev->devfn))
+		return -ENODEV;
+
 	return drm_get_pci_dev(pdev, ent, &driver);
 }
 
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 409826d..d2896eb 100644
@@ -329,6 +329,7 @@ typedef struct drm_i915_private {
 
 	/* LVDS info */
 	int backlight_level;  /* restore backlight to this value */
+	bool backlight_enabled;
 	struct drm_display_mode *panel_fixed_mode;
 	struct drm_display_mode *lfp_lvds_vbt_mode; /* if any */
 	struct drm_display_mode *sdvo_lvds_vbt_mode; /* if any */
drivers/gpu/drm/i915/i915_reg.h +5 -4
index cb8f434..0a1b276 100644
@@ -3057,10 +3057,11 @@
 #define  EDP_LINK_TRAIN_600MV_3_5DB_SNB_A	(0x01<<22)
 #define  EDP_LINK_TRAIN_800MV_0DB_SNB_A		(0x0<<22)
 /* SNB B-stepping */
-#define  EDP_LINK_TRAIN_400MV_0DB_SNB_B		(0x0<<22)
-#define  EDP_LINK_TRAIN_400MV_6DB_SNB_B		(0x3a<<22)
-#define  EDP_LINK_TRAIN_600MV_3_5DB_SNB_B	(0x39<<22)
-#define  EDP_LINK_TRAIN_800MV_0DB_SNB_B		(0x38<<22)
+#define  EDP_LINK_TRAIN_400_600MV_0DB_SNB_B	(0x0<<22)
+#define  EDP_LINK_TRAIN_400MV_3_5DB_SNB_B	(0x1<<22)
+#define  EDP_LINK_TRAIN_400_600MV_6DB_SNB_B	(0x3a<<22)
+#define  EDP_LINK_TRAIN_600_800MV_3_5DB_SNB_B	(0x39<<22)
+#define  EDP_LINK_TRAIN_800_1200MV_0DB_SNB_B	(0x38<<22)
 #define  EDP_LINK_TRAIN_VOL_EMP_MASK_SNB	(0x3f<<22)
 
 #endif /* _I915_REG_H_ */
drivers/gpu/drm/i915/intel_crt.c +25 -5
index 8df5743..17035b8 100644
@@ -30,6 +30,7 @@
 #include "drm.h"
 #include "drm_crtc.h"
 #include "drm_crtc_helper.h"
+#include "drm_edid.h"
 #include "intel_drv.h"
 #include "i915_drm.h"
 #include "i915_drv.h"
@@ -287,8 +288,9 @@ static bool intel_crt_ddc_probe(struct drm_i915_private *dev_priv, int ddc_bus)
 	return i2c_transfer(&dev_priv->gmbus[ddc_bus].adapter, msgs, 1) == 1;
 }
 
-static bool intel_crt_detect_ddc(struct intel_crt *crt)
+static bool intel_crt_detect_ddc(struct drm_connector *connector)
 {
+	struct intel_crt *crt = intel_attached_crt(connector);
 	struct drm_i915_private *dev_priv = crt->base.base.dev->dev_private;
 
 	/* CRT should always be at 0, but check anyway */
@@ -301,8 +303,26 @@ static bool intel_crt_detect_ddc(struct intel_crt *crt)
 	}
 
 	if (intel_ddc_probe(&crt->base, dev_priv->crt_ddc_pin)) {
-		DRM_DEBUG_KMS("CRT detected via DDC:0x50 [EDID]\n");
-		return true;
+		struct edid *edid;
+		bool is_digital = false;
+
+		edid = drm_get_edid(connector,
+			&dev_priv->gmbus[dev_priv->crt_ddc_pin].adapter);
+		/*
+		 * This may be a DVI-I connector with a shared DDC
+		 * link between analog and digital outputs, so we
+		 * have to check the EDID input spec of the attached device.
+		 */
+		if (edid != NULL) {
+			is_digital = edid->input & DRM_EDID_INPUT_DIGITAL;
+			connector->display_info.raw_edid = NULL;
+			kfree(edid);
+		}
+
+		if (!is_digital) {
+			DRM_DEBUG_KMS("CRT detected via DDC:0x50 [EDID]\n");
+			return true;
+		}
 	}
 
 	return false;
@@ -458,7 +478,7 @@ intel_crt_detect(struct drm_connector *connector, bool force)
 		}
 	}
 
-	if (intel_crt_detect_ddc(crt))
+	if (intel_crt_detect_ddc(connector))
 		return connector_status_connected;
 
 	if (!force)
@@ -472,7 +492,7 @@ intel_crt_detect(struct drm_connector *connector, bool force)
 		crtc = intel_get_load_detect_pipe(&crt->base, connector,
 						  NULL, &dpms_mode);
 		if (crtc) {
-			if (intel_crt_detect_ddc(crt))
+			if (intel_crt_detect_ddc(connector))
 				status = connector_status_connected;
 			else
 				status = intel_crt_load_detect(crtc, crt);
drivers/gpu/drm/i915/intel_display.c +3 -1
index fca5232..3abd904 100644
@@ -3714,7 +3714,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
 		int lane = 0, link_bw, bpp;
 		/* CPU eDP doesn't require FDI link, so just set DP M/N
 		   according to current link config */
-		if (has_edp_encoder && !intel_encoder_is_pch_edp(&encoder->base)) {
+		if (has_edp_encoder && !intel_encoder_is_pch_edp(&has_edp_encoder->base)) {
 			target_clock = mode->clock;
 			intel_edp_link_config(has_edp_encoder,
 					      &lane, &link_bw);
@@ -5498,6 +5498,8 @@ static void intel_setup_outputs(struct drm_device *dev)
 		encoder->base.possible_clones =
 			intel_encoder_clones(dev, encoder->clone_mask);
 	}
+
+	intel_panel_setup_backlight(dev);
 }
 
 static void intel_user_framebuffer_destroy(struct drm_framebuffer *fb)
drivers/gpu/drm/i915/intel_dp.c +16 -7
index 864417c..c1f13bf 100644
@@ -1153,18 +1153,27 @@ intel_dp_signal_levels(uint8_t train_set, int lane_count)
 static uint32_t
 intel_gen6_edp_signal_levels(uint8_t train_set)
 {
-	switch (train_set & (DP_TRAIN_VOLTAGE_SWING_MASK|DP_TRAIN_PRE_EMPHASIS_MASK)) {
+	int signal_levels = train_set & (DP_TRAIN_VOLTAGE_SWING_MASK |
+					 DP_TRAIN_PRE_EMPHASIS_MASK);
+	switch (signal_levels) {
 	case DP_TRAIN_VOLTAGE_SWING_400 | DP_TRAIN_PRE_EMPHASIS_0:
-		return EDP_LINK_TRAIN_400MV_0DB_SNB_B;
+	case DP_TRAIN_VOLTAGE_SWING_600 | DP_TRAIN_PRE_EMPHASIS_0:
+		return EDP_LINK_TRAIN_400_600MV_0DB_SNB_B;
+	case DP_TRAIN_VOLTAGE_SWING_400 | DP_TRAIN_PRE_EMPHASIS_3_5:
+		return EDP_LINK_TRAIN_400MV_3_5DB_SNB_B;
 	case DP_TRAIN_VOLTAGE_SWING_400 | DP_TRAIN_PRE_EMPHASIS_6:
-		return EDP_LINK_TRAIN_400MV_6DB_SNB_B;
+	case DP_TRAIN_VOLTAGE_SWING_600 | DP_TRAIN_PRE_EMPHASIS_6:
+		return EDP_LINK_TRAIN_400_600MV_6DB_SNB_B;
 	case DP_TRAIN_VOLTAGE_SWING_600 | DP_TRAIN_PRE_EMPHASIS_3_5:
-		return EDP_LINK_TRAIN_600MV_3_5DB_SNB_B;
+	case DP_TRAIN_VOLTAGE_SWING_800 | DP_TRAIN_PRE_EMPHASIS_3_5:
+		return EDP_LINK_TRAIN_600_800MV_3_5DB_SNB_B;
 	case DP_TRAIN_VOLTAGE_SWING_800 | DP_TRAIN_PRE_EMPHASIS_0:
-		return EDP_LINK_TRAIN_800MV_0DB_SNB_B;
+	case DP_TRAIN_VOLTAGE_SWING_1200 | DP_TRAIN_PRE_EMPHASIS_0:
+		return EDP_LINK_TRAIN_800_1200MV_0DB_SNB_B;
 	default:
-		DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level\n");
-		return EDP_LINK_TRAIN_400MV_0DB_SNB_B;
+		DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:"
+			      "0x%x\n", signal_levels);
+		return EDP_LINK_TRAIN_400_600MV_0DB_SNB_B;
 	}
 }
 
drivers/gpu/drm/i915/intel_drv.h +3 -0
index e52c612..1e68293 100644
@@ -256,6 +256,9 @@ extern void intel_pch_panel_fitting(struct drm_device *dev,
 extern u32 intel_panel_get_max_backlight(struct drm_device *dev);
 extern u32 intel_panel_get_backlight(struct drm_device *dev);
 extern void intel_panel_set_backlight(struct drm_device *dev, u32 level);
+extern void intel_panel_setup_backlight(struct drm_device *dev);
+extern void intel_panel_enable_backlight(struct drm_device *dev);
+extern void intel_panel_disable_backlight(struct drm_device *dev);
 
 extern void intel_crtc_load_lut(struct drm_crtc *crtc);
 extern void intel_encoder_prepare (struct drm_encoder *encoder);
drivers/gpu/drm/i915/intel_lvds.c +10 -8
index 25bcedf..fe779b3 100644
@@ -106,7 +106,7 @@ static void intel_lvds_enable(struct intel_lvds *intel_lvds)
 	I915_WRITE(ctl_reg, I915_READ(ctl_reg) | POWER_TARGET_ON);
 	POSTING_READ(lvds_reg);
 
-	intel_panel_set_backlight(dev, dev_priv->backlight_level);
+	intel_panel_enable_backlight(dev);
 }
 
 static void intel_lvds_disable(struct intel_lvds *intel_lvds)
@@ -123,8 +123,7 @@ static void intel_lvds_disable(struct intel_lvds *intel_lvds)
 		lvds_reg = LVDS;
 	}
 
-	dev_priv->backlight_level = intel_panel_get_backlight(dev);
-	intel_panel_set_backlight(dev, 0);
+	intel_panel_disable_backlight(dev);
 
 	I915_WRITE(ctl_reg, I915_READ(ctl_reg) & ~POWER_TARGET_ON);
 
@@ -395,8 +394,6 @@ static void intel_lvds_prepare(struct drm_encoder *encoder)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct intel_lvds *intel_lvds = to_intel_lvds(encoder);
 
-	dev_priv->backlight_level = intel_panel_get_backlight(dev);
-
 	/* We try to do the minimum that is necessary in order to unlock
 	 * the registers for mode setting.
 	 *
@@ -427,9 +424,6 @@ static void intel_lvds_commit(struct drm_encoder *encoder)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct intel_lvds *intel_lvds = to_intel_lvds(encoder);
 
-	if (dev_priv->backlight_level == 0)
-		dev_priv->backlight_level = intel_panel_get_max_backlight(dev);
-
 	/* Undo any unlocking done in prepare to prevent accidental
 	 * adjustment of the registers.
 	 */
@@ -703,6 +697,14 @@ static const struct dmi_system_id intel_no_lvds[] = {
 	},
 	{
 		.callback = intel_no_lvds_dmi_callback,
+		.ident = "AOpen i915GMm-HFS",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "AOpen"),
+			DMI_MATCH(DMI_BOARD_NAME, "i915GMm-HFS"),
+		},
+	},
+	{
+		.callback = intel_no_lvds_dmi_callback,
 		.ident = "Aopen i945GTt-VFA",
 		.matches = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "AO00001JW"),
drivers/gpu/drm/i915/intel_panel.c +31 -0
index 92ff8f3..0df86b5 100644
@@ -218,3 +218,34 @@ void intel_panel_set_backlight(struct drm_device *dev, u32 level)
 		tmp &= ~BACKLIGHT_DUTY_CYCLE_MASK;
 	I915_WRITE(BLC_PWM_CTL, tmp | level);
 }
+
+void intel_panel_disable_backlight(struct drm_device *dev)
+{
+	struct drm_i915_private *dev_priv = dev->dev_private;
+
+	if (dev_priv->backlight_enabled) {
+		dev_priv->backlight_level = intel_panel_get_backlight(dev);
+		dev_priv->backlight_enabled = false;
+	}
+
+	intel_panel_set_backlight(dev, 0);
+}
+
+void intel_panel_enable_backlight(struct drm_device *dev)
+{
+	struct drm_i915_private *dev_priv = dev->dev_private;
+
+	if (dev_priv->backlight_level == 0)
+		dev_priv->backlight_level = intel_panel_get_max_backlight(dev);
+
+	intel_panel_set_backlight(dev, dev_priv->backlight_level);
+	dev_priv->backlight_enabled = true;
+}
+
+void intel_panel_setup_backlight(struct drm_device *dev)
+{
+	struct drm_i915_private *dev_priv = dev->dev_private;
+
+	dev_priv->backlight_level = intel_panel_get_backlight(dev);
+	dev_priv->backlight_enabled = dev_priv->backlight_level != 0;
+}
drivers/gpu/drm/i915/intel_sdvo.c +11 -22
index 6bc42fa..920ca27 100644
@@ -1024,9 +1024,13 @@ static void intel_sdvo_mode_set(struct drm_encoder *encoder,
 	if (!intel_sdvo_set_target_input(intel_sdvo))
 		return;
 
-	if (intel_sdvo->has_hdmi_monitor &&
-	    !intel_sdvo_set_avi_infoframe(intel_sdvo))
-		return;
+	if (intel_sdvo->has_hdmi_monitor) {
+		intel_sdvo_set_encode(intel_sdvo, SDVO_ENCODE_HDMI);
+		intel_sdvo_set_colorimetry(intel_sdvo,
+					   SDVO_COLORIMETRY_RGB256);
+		intel_sdvo_set_avi_infoframe(intel_sdvo);
+	} else
+		intel_sdvo_set_encode(intel_sdvo, SDVO_ENCODE_DVI);
 
 	if (intel_sdvo->is_tv &&
 	    !intel_sdvo_set_tv_format(intel_sdvo))
@@ -1395,6 +1399,9 @@ intel_sdvo_detect(struct drm_connector *connector, bool force)
 
 	intel_sdvo->attached_output = response;
 
+	intel_sdvo->has_hdmi_monitor = false;
+	intel_sdvo->has_hdmi_audio = false;
+
 	if ((intel_sdvo_connector->output_flag & response) == 0)
 		ret = connector_status_disconnected;
 	else if (response & SDVO_TMDS_MASK)
@@ -1919,20 +1926,7 @@ intel_sdvo_select_i2c_bus(struct drm_i915_private *dev_priv,
 static bool
 intel_sdvo_is_hdmi_connector(struct intel_sdvo *intel_sdvo, int device)
 {
-	int is_hdmi;
-
-	if (!intel_sdvo_check_supp_encode(intel_sdvo))
-		return false;
-
-	if (!intel_sdvo_set_target_output(intel_sdvo,
-					  device == 0 ? SDVO_OUTPUT_TMDS0 : SDVO_OUTPUT_TMDS1))
-		return false;
-
-	is_hdmi = 0;
-	if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_ENCODE, &is_hdmi, 1))
-		return false;
-
-	return !!is_hdmi;
+	return intel_sdvo_check_supp_encode(intel_sdvo);
 }
 
 static u8
@@ -2034,12 +2028,7 @@ intel_sdvo_dvi_init(struct intel_sdvo *intel_sdvo, int device)
 	connector->connector_type = DRM_MODE_CONNECTOR_DVID;
 
 	if (intel_sdvo_is_hdmi_connector(intel_sdvo, device)) {
-		/* enable hdmi encoding mode if supported */
-		intel_sdvo_set_encode(intel_sdvo, SDVO_ENCODE_HDMI);
-		intel_sdvo_set_colorimetry(intel_sdvo,
-					   SDVO_COLORIMETRY_RGB256);
 		connector->connector_type = DRM_MODE_CONNECTOR_HDMIA;
-
 		intel_sdvo->is_hdmi = true;
 	}
 	intel_sdvo->base.clone_mask = ((1 << INTEL_SDVO_NON_TV_CLONE_BIT) |
drivers/gpu/drm/radeon/atombios_crtc.c +16 -2
index 9fbabaa..6b7fc4b 100644
@@ -531,6 +531,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 					dp_clock = dig_connector->dp_clock;
 				}
 			}
+/* this might work properly with the new pll algo */
 #if 0 /* doesn't work properly on some laptops */
 			/* use recommended ref_div for ss */
 			if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
@@ -548,6 +549,11 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 					adjusted_clock = mode->clock * 2;
 				if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
 					pll->flags |= RADEON_PLL_PREFER_CLOSEST_LOWER;
+				/* rv515 needs more testing with this option */
+				if (rdev->family != CHIP_RV515) {
+					if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
+						pll->flags |= RADEON_PLL_IS_LCD;
+				}
 			} else {
 				if (encoder->encoder_type != DRM_MODE_ENCODER_DAC)
 					pll->flags |= RADEON_PLL_NO_ODD_POST_DIV;
@@ -915,8 +921,16 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
 	/* adjust pixel clock as needed */
 	adjusted_clock = atombios_adjust_pll(crtc, mode, pll, ss_enabled, &ss);
 
-	radeon_compute_pll(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
-			   &ref_div, &post_div);
+	/* rv515 seems happier with the old algo */
+	if (rdev->family == CHIP_RV515)
+		radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
+					  &ref_div, &post_div);
+	else if (ASIC_IS_AVIVO(rdev))
+		radeon_compute_pll_avivo(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
+					 &ref_div, &post_div);
+	else
+		radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
+					  &ref_div, &post_div);
 
 	atombios_crtc_program_ss(crtc, ATOM_DISABLE, radeon_crtc->pll_id, &ss);
 
drivers/gpu/drm/radeon/atombios_dp.c +2 -2
index 4e7778d..695de9a 100644
@@ -187,9 +187,9 @@ static int dp_link_clock_for_mode_clock(u8 dpcd[DP_DPCD_SIZE], int mode_clock)
 int dp_mode_valid(u8 dpcd[DP_DPCD_SIZE], int mode_clock)
 {
 	int lanes = dp_lanes_for_mode_clock(dpcd, mode_clock);
-	int bw = dp_lanes_for_mode_clock(dpcd, mode_clock);
+	int dp_clock = dp_link_clock_for_mode_clock(dpcd, mode_clock);
 
-	if ((lanes == 0) || (bw == 0))
+	if ((lanes == 0) || (dp_clock == 0))
 		return MODE_CLOCK_HIGH;
 
 	return MODE_OK;
drivers/gpu/drm/radeon/evergreen.c +6 -1
index 7b337c3..cff593d 100644
@@ -1135,7 +1135,7 @@ static int evergreen_cp_start(struct radeon_device *rdev)
 	cp_me = 0xff;
 	WREG32(CP_ME_CNTL, cp_me);
 
-	r = radeon_ring_lock(rdev, evergreen_default_size + 15);
+	r = radeon_ring_lock(rdev, evergreen_default_size + 19);
 	if (r) {
 		DRM_ERROR("radeon: cp failed to lock ring (%d).\n", r);
 		return r;
@@ -1168,6 +1168,11 @@ static int evergreen_cp_start(struct radeon_device *rdev)
 	radeon_ring_write(rdev, 0xffffffff);
 	radeon_ring_write(rdev, 0xffffffff);
 
+	radeon_ring_write(rdev, 0xc0026900);
+	radeon_ring_write(rdev, 0x00000316);
+	radeon_ring_write(rdev, 0x0000000e); /* VGT_VERTEX_REUSE_BLOCK_CNTL */
+	radeon_ring_write(rdev, 0x00000010); /*  */
+
 	radeon_ring_unlock_commit(rdev);
 
 	return 0;
drivers/gpu/drm/radeon/evergreen_blit_kms.c +33 -6
index e0e5901..a2cfead 100644
@@ -230,7 +230,7 @@ draw_auto(struct radeon_device *rdev)
 
 }
 
-/* emits 30 */
+/* emits 34 */
 static void
 set_default_state(struct radeon_device *rdev)
 {
@@ -243,6 +243,8 @@ set_default_state(struct radeon_device *rdev)
 	int num_hs_threads, num_ls_threads;
 	int num_ps_stack_entries, num_vs_stack_entries, num_gs_stack_entries, num_es_stack_entries;
 	int num_hs_stack_entries, num_ls_stack_entries;
+	u64 gpu_addr;
+	int dwords;
 
 	switch (rdev->family) {
 	case CHIP_CEDAR:
@@ -409,6 +411,14 @@ set_default_state(struct radeon_device *rdev)
 	radeon_ring_write(rdev, 0x00000000);
 	radeon_ring_write(rdev, 0x00000000);
 
+	/* emit an IB pointing at default state */
+	dwords = ALIGN(rdev->r600_blit.state_len, 0x10);
+	gpu_addr = rdev->r600_blit.shader_gpu_addr + rdev->r600_blit.state_offset;
+	radeon_ring_write(rdev, PACKET3(PACKET3_INDIRECT_BUFFER, 2));
+	radeon_ring_write(rdev, gpu_addr & 0xFFFFFFFC);
+	radeon_ring_write(rdev, upper_32_bits(gpu_addr) & 0xFF);
+	radeon_ring_write(rdev, dwords);
+
 }
 
 static inline uint32_t i2f(uint32_t input)
@@ -439,8 +449,10 @@ static inline uint32_t i2f(uint32_t input)
 int evergreen_blit_init(struct radeon_device *rdev)
 {
 	u32 obj_size;
-	int r;
+	int r, dwords;
 	void *ptr;
+	u32 packet2s[16];
+	int num_packet2s = 0;
 
 	/* pin copy shader into vram if already initialized */
 	if (rdev->r600_blit.shader_obj)
@@ -448,8 +460,17 @@ int evergreen_blit_init(struct radeon_device *rdev)
 
 	mutex_init(&rdev->r600_blit.mutex);
 	rdev->r600_blit.state_offset = 0;
-	rdev->r600_blit.state_len = 0;
-	obj_size = 0;
+
+	rdev->r600_blit.state_len = evergreen_default_size;
+
+	dwords = rdev->r600_blit.state_len;
+	while (dwords & 0xf) {
+		packet2s[num_packet2s++] = PACKET2(0);
+		dwords++;
+	}
+
+	obj_size = dwords * 4;
+	obj_size = ALIGN(obj_size, 256);
 
 	rdev->r600_blit.vs_offset = obj_size;
 	obj_size += evergreen_vs_size * 4;
@@ -479,6 +500,12 @@ int evergreen_blit_init(struct radeon_device *rdev)
 		return r;
 	}
 
+	memcpy_toio(ptr + rdev->r600_blit.state_offset,
+		    evergreen_default_state, rdev->r600_blit.state_len * 4);
+
+	if (num_packet2s)
+		memcpy_toio(ptr + rdev->r600_blit.state_offset + (rdev->r600_blit.state_len * 4),
+			    packet2s, num_packet2s * 4);
 	memcpy(ptr + rdev->r600_blit.vs_offset, evergreen_vs, evergreen_vs_size * 4);
 	memcpy(ptr + rdev->r600_blit.ps_offset, evergreen_ps, evergreen_ps_size * 4);
 	radeon_bo_kunmap(rdev->r600_blit.shader_obj);
@@ -564,7 +591,7 @@ int evergreen_blit_prepare_copy(struct radeon_device *rdev, int size_bytes)
 	/* calculate number of loops correctly */
 	ring_size = num_loops * dwords_per_loop;
 	/* set default  + shaders */
-	ring_size += 46; /* shaders + def state */
+	ring_size += 50; /* shaders + def state */
 	ring_size += 10; /* fence emit for VB IB */
 	ring_size += 5; /* done copy */
 	ring_size += 10; /* fence emit for done copy */
@@ -572,7 +599,7 @@ int evergreen_blit_prepare_copy(struct radeon_device *rdev, int size_bytes)
 	if (r)
 		return r;
 
-	set_default_state(rdev); /* 30 */
+	set_default_state(rdev); /* 34 */
 	set_shaders(rdev); /* 16 */
 	return 0;
 }
drivers/gpu/drm/radeon/radeon_atombios.c +24 -23

91 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_display.c +124 -8

162 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_legacy_crtc.c +3 -3
index ace2e63..cf0638c 100644
@@ -778,9 +778,9 @@ static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode)
 	DRM_DEBUG_KMS("\n");
 
 	if (!use_bios_divs) {
-		radeon_compute_pll(pll, mode->clock,
-				   &freq, &feedback_div, &frac_fb_div,
-				   &reference_div, &post_divider);
+		radeon_compute_pll_legacy(pll, mode->clock,
+					  &freq, &feedback_div, &frac_fb_div,
+					  &reference_div, &post_divider);
 
 		for (post_div = &post_divs[0]; post_div->divider; ++post_div) {
 			if (post_div->divider == post_divider)
drivers/gpu/drm/radeon/radeon_mode.h +16 -7
index e301c6f..aa22570 100644
@@ -149,6 +149,7 @@ struct radeon_tmds_pll {
 #define RADEON_PLL_PREFER_CLOSEST_LOWER (1 << 11)
 #define RADEON_PLL_USE_POST_DIV         (1 << 12)
 #define RADEON_PLL_IS_LCD               (1 << 13)
+#define RADEON_PLL_PREFER_MINM_OVER_MAXP (1 << 14)
 
 struct radeon_pll {
 	/* reference frequency */
@@ -510,13 +511,21 @@ extern bool radeon_atombios_get_asic_ss_info(struct radeon_device *rdev,
 					     struct radeon_atom_ss *ss,
 					     int id, u32 clock);
 
-extern void radeon_compute_pll(struct radeon_pll *pll,
-			       uint64_t freq,
-			       uint32_t *dot_clock_p,
-			       uint32_t *fb_div_p,
-			       uint32_t *frac_fb_div_p,
-			       uint32_t *ref_div_p,
-			       uint32_t *post_div_p);
+extern void radeon_compute_pll_legacy(struct radeon_pll *pll,
+				      uint64_t freq,
+				      uint32_t *dot_clock_p,
+				      uint32_t *fb_div_p,
+				      uint32_t *frac_fb_div_p,
+				      uint32_t *ref_div_p,
+				      uint32_t *post_div_p);
+
+extern void radeon_compute_pll_avivo(struct radeon_pll *pll,
+				     u32 freq,
+				     u32 *dot_clock_p,
+				     u32 *fb_div_p,
+				     u32 *frac_fb_div_p,
+				     u32 *ref_div_p,
+				     u32 *post_div_p);
 
 extern void radeon_setup_encoder_clones(struct drm_device *dev);
 
drivers/gpu/vga/vgaarb.c +1 -1
index c380c65..ace2b16 100644
@@ -636,7 +636,7 @@ int vga_client_register(struct pci_dev *pdev, void *cookie,
 			void (*irq_set_state)(void *cookie, bool state),
 			unsigned int (*set_vga_decode)(void *cookie, bool decode))
 {
-	int ret = -1;
+	int ret = -ENODEV;
 	struct vga_device *vgadev;
 	unsigned long flags;
 
drivers/hwmon/applesmc.c +17 -31

101 lines not on this page · raw message

drivers/hwmon/lm63.c +47 -12

125 lines not on this page · raw message

drivers/hwmon/via686a.c +11 -3
index f397ce7..b2074e3 100644
@@ -687,6 +687,13 @@ static int __devexit via686a_remove(struct platform_device *pdev)
 	return 0;
 }
 
+static void via686a_update_fan_div(struct via686a_data *data)
+{
+	int reg = via686a_read_value(data, VIA686A_REG_FANDIV);
+	data->fan_div[0] = (reg >> 4) & 0x03;
+	data->fan_div[1] = reg >> 6;
+}
+
 static void __devinit via686a_init_device(struct via686a_data *data)
 {
 	u8 reg;
@@ -700,6 +707,9 @@ static void __devinit via686a_init_device(struct via686a_data *data)
 	via686a_write_value(data, VIA686A_REG_TEMP_MODE,
 			    (reg & ~VIA686A_TEMP_MODE_MASK)
 			    | VIA686A_TEMP_MODE_CONTINUOUS);
+
+	/* Pre-read fan clock divisor values */
+	via686a_update_fan_div(data);
 }
 
 static struct via686a_data *via686a_update_device(struct device *dev)
@@ -751,9 +761,7 @@ static struct via686a_data *via686a_update_device(struct device *dev)
 		    (via686a_read_value(data, VIA686A_REG_TEMP_LOW23) &
 		     0xc0) >> 6;
 
-		i = via686a_read_value(data, VIA686A_REG_FANDIV);
-		data->fan_div[0] = (i >> 4) & 0x03;
-		data->fan_div[1] = i >> 6;
+		via686a_update_fan_div(data);
 		data->alarms =
 		    via686a_read_value(data,
 				       VIA686A_REG_ALARM1) |
drivers/i2c/i2c-core.c +13 -1
index 6b4cc56..44bb9c2 100644
@@ -1021,6 +1021,14 @@ static int i2c_do_del_adapter(struct i2c_driver *driver,
 static int __unregister_client(struct device *dev, void *dummy)
 {
 	struct i2c_client *client = i2c_verify_client(dev);
+	if (client && strcmp(client->name, "dummy"))
+		i2c_unregister_device(client);
+	return 0;
+}
+
+static int __unregister_dummy(struct device *dev, void *dummy)
+{
+	struct i2c_client *client = i2c_verify_client(dev);
 	if (client)
 		i2c_unregister_device(client);
 	return 0;
@@ -1075,8 +1083,12 @@ int i2c_del_adapter(struct i2c_adapter *adap)
 	mutex_unlock(&adap->userspace_clients_lock);
 
 	/* Detach any active clients. This can't fail, thus we do not
-	   checking the returned value. */
+	 * check the returned value. This is a two-pass process, because
+	 * we can't remove the dummy devices during the first pass: they
+	 * could have been instantiated by real devices wishing to clean
+	 * them up properly, so we give them a chance to do that first. */
 	res = device_for_each_child(&adap->dev, NULL, __unregister_client);
+	res = device_for_each_child(&adap->dev, NULL, __unregister_dummy);
 
 #ifdef CONFIG_I2C_COMPAT
 	class_compat_remove_link(i2c_adapter_compat_class, &adap->dev,
drivers/idle/intel_idle.c +42 -1

73 lines not on this page · raw message

drivers/infiniband/hw/cxgb4/cm.c +1 -1
index 0dc62b1..8b00e6c 100644
@@ -380,7 +380,7 @@ static void send_flowc(struct c4iw_ep *ep, struct sk_buff *skb)
 					  16)) | FW_WR_FLOWID(ep->hwtid));
 
 	flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN;
-	flowc->mnemval[0].val = cpu_to_be32(0);
+	flowc->mnemval[0].val = cpu_to_be32(PCI_FUNC(ep->com.dev->rdev.lldi.pdev->devfn) << 8);
 	flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
 	flowc->mnemval[1].val = cpu_to_be32(ep->tx_chan);
 	flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
drivers/infiniband/hw/cxgb4/qp.c +2 -4
index 057cb25..8ae09e7 100644
@@ -220,7 +220,7 @@ static int create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq,
 		V_FW_RI_RES_WR_DCAEN(0) |
 		V_FW_RI_RES_WR_DCACPU(0) |
 		V_FW_RI_RES_WR_FBMIN(2) |
-		V_FW_RI_RES_WR_FBMAX(3) |
+		V_FW_RI_RES_WR_FBMAX(2) |
 		V_FW_RI_RES_WR_CIDXFTHRESHO(0) |
 		V_FW_RI_RES_WR_CIDXFTHRESH(0) |
 		V_FW_RI_RES_WR_EQSIZE(eqsize));
@@ -243,7 +243,7 @@ static int create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq,
 		V_FW_RI_RES_WR_DCAEN(0) |
 		V_FW_RI_RES_WR_DCACPU(0) |
 		V_FW_RI_RES_WR_FBMIN(2) |
-		V_FW_RI_RES_WR_FBMAX(3) |
+		V_FW_RI_RES_WR_FBMAX(2) |
 		V_FW_RI_RES_WR_CIDXFTHRESHO(0) |
 		V_FW_RI_RES_WR_CIDXFTHRESH(0) |
 		V_FW_RI_RES_WR_EQSIZE(eqsize));
@@ -1029,7 +1029,6 @@ static int rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
 	wqe->cookie = (unsigned long) &ep->com.wr_wait;
 
 	wqe->u.fini.type = FW_RI_TYPE_FINI;
-	c4iw_init_wr_wait(&ep->com.wr_wait);
 	ret = c4iw_ofld_send(&rhp->rdev, skb);
 	if (ret)
 		goto out;
@@ -1125,7 +1124,6 @@ static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp)
 	if (qhp->attr.mpa_attr.initiator)
 		build_rtr_msg(qhp->attr.mpa_attr.p2p_type, &wqe->u.init);
 
-	c4iw_init_wr_wait(&qhp->ep->com.wr_wait);
 	ret = c4iw_ofld_send(&rhp->rdev, skb);
 	if (ret)
 		goto out;
drivers/input/input.c +11 -26
index db409d6..e8a8802 100644
@@ -73,7 +73,6 @@ static int input_defuzz_abs_event(int value, int old_val, int fuzz)
  * dev->event_lock held and interrupts disabled.
  */
 static void input_pass_event(struct input_dev *dev,
-			     struct input_handler *src_handler,
 			     unsigned int type, unsigned int code, int value)
 {
 	struct input_handler *handler;
@@ -92,15 +91,6 @@ static void input_pass_event(struct input_dev *dev,
 				continue;
 
 			handler = handle->handler;
-
-			/*
-			 * If this is the handler that injected this
-			 * particular event we want to skip it to avoid
-			 * filters firing again and again.
-			 */
-			if (handler == src_handler)
-				continue;
-
 			if (!handler->filter) {
 				if (filtered)
 					break;
@@ -130,7 +120,7 @@ static void input_repeat_key(unsigned long data)
 	if (test_bit(dev->repeat_key, dev->key) &&
 	    is_event_supported(dev->repeat_key, dev->keybit, KEY_MAX)) {
 
-		input_pass_event(dev, NULL, EV_KEY, dev->repeat_key, 2);
+		input_pass_event(dev, EV_KEY, dev->repeat_key, 2);
 
 		if (dev->sync) {
 			/*
@@ -139,7 +129,7 @@ static void input_repeat_key(unsigned long data)
 			 * Otherwise assume that the driver will send
 			 * SYN_REPORT once it's done.
 			 */
-			input_pass_event(dev, NULL, EV_SYN, SYN_REPORT, 1);
+			input_pass_event(dev, EV_SYN, SYN_REPORT, 1);
 		}
 
 		if (dev->rep[REP_PERIOD])
@@ -172,7 +162,6 @@ static void input_stop_autorepeat(struct input_dev *dev)
 #define INPUT_PASS_TO_ALL	(INPUT_PASS_TO_HANDLERS | INPUT_PASS_TO_DEVICE)
 
 static int input_handle_abs_event(struct input_dev *dev,
-				  struct input_handler *src_handler,
 				  unsigned int code, int *pval)
 {
 	bool is_mt_event;
@@ -216,15 +205,13 @@ static int input_handle_abs_event(struct input_dev *dev,
 	/* Flush pending "slot" event */
 	if (is_mt_event && dev->slot != input_abs_get_val(dev, ABS_MT_SLOT)) {
 		input_abs_set_val(dev, ABS_MT_SLOT, dev->slot);
-		input_pass_event(dev, src_handler,
-				 EV_ABS, ABS_MT_SLOT, dev->slot);
+		input_pass_event(dev, EV_ABS, ABS_MT_SLOT, dev->slot);
 	}
 
 	return INPUT_PASS_TO_HANDLERS;
 }
 
 static void input_handle_event(struct input_dev *dev,
-			       struct input_handler *src_handler,
 			       unsigned int type, unsigned int code, int value)
 {
 	int disposition = INPUT_IGNORE_EVENT;
@@ -277,8 +264,7 @@ static void input_handle_event(struct input_dev *dev,
 
 	case EV_ABS:
 		if (is_event_supported(code, dev->absbit, ABS_MAX))
-			disposition = input_handle_abs_event(dev, src_handler,
-							     code, &value);
+			disposition = input_handle_abs_event(dev, code, &value);
 
 		break;
 
@@ -336,7 +322,7 @@ static void input_handle_event(struct input_dev *dev,
 		dev->event(dev, type, code, value);
 
 	if (disposition & INPUT_PASS_TO_HANDLERS)
-		input_pass_event(dev, src_handler, type, code, value);
+		input_pass_event(dev, type, code, value);
 }
 
 /**
@@ -365,7 +351,7 @@ void input_event(struct input_dev *dev,
 
 		spin_lock_irqsave(&dev->event_lock, flags);
 		add_input_randomness(type, code, value);
-		input_handle_event(dev, NULL, type, code, value);
+		input_handle_event(dev, type, code, value);
 		spin_unlock_irqrestore(&dev->event_lock, flags);
 	}
 }
@@ -395,8 +381,7 @@ void input_inject_event(struct input_handle *handle,
 		rcu_read_lock();
 		grab = rcu_dereference(dev->grab);
 		if (!grab || grab == handle)
-			input_handle_event(dev, handle->handler,
-					   type, code, value);
+			input_handle_event(dev, type, code, value);
 		rcu_read_unlock();
 
 		spin_unlock_irqrestore(&dev->event_lock, flags);
@@ -609,10 +594,10 @@ static void input_dev_release_keys(struct input_dev *dev)
 		for (code = 0; code <= KEY_MAX; code++) {
 			if (is_event_supported(code, dev->keybit, KEY_MAX) &&
 			    __test_and_clear_bit(code, dev->key)) {
-				input_pass_event(dev, NULL, EV_KEY, code, 0);
+				input_pass_event(dev, EV_KEY, code, 0);
 			}
 		}
-		input_pass_event(dev, NULL, EV_SYN, SYN_REPORT, 1);
+		input_pass_event(dev, EV_SYN, SYN_REPORT, 1);
 	}
 }
 
@@ -887,9 +872,9 @@ int input_set_keycode(struct input_dev *dev,
 	    !is_event_supported(old_keycode, dev->keybit, KEY_MAX) &&
 	    __test_and_clear_bit(old_keycode, dev->key)) {
 
-		input_pass_event(dev, NULL, EV_KEY, old_keycode, 0);
+		input_pass_event(dev, EV_KEY, old_keycode, 0);
 		if (dev->sync)
-			input_pass_event(dev, NULL, EV_SYN, SYN_REPORT, 1);
+			input_pass_event(dev, EV_SYN, SYN_REPORT, 1);
 	}
 
  out:
drivers/input/mouse/bcm5974.c +40 -0
index b952317..ee82851 100644
@@ -55,6 +55,14 @@
 #define USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI	0x0236
 #define USB_DEVICE_ID_APPLE_WELLSPRING3_ISO	0x0237
 #define USB_DEVICE_ID_APPLE_WELLSPRING3_JIS	0x0238
+/* MacbookAir3,2 (unibody), aka wellspring5 */
+#define USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI	0x023f
+#define USB_DEVICE_ID_APPLE_WELLSPRING4_ISO	0x0240
+#define USB_DEVICE_ID_APPLE_WELLSPRING4_JIS	0x0241
+/* MacbookAir3,1 (unibody), aka wellspring4 */
+#define USB_DEVICE_ID_APPLE_WELLSPRING4A_ANSI	0x0242
+#define USB_DEVICE_ID_APPLE_WELLSPRING4A_ISO	0x0243
+#define USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS	0x0244
 
 #define BCM5974_DEVICE(prod) {					\
 	.match_flags = (USB_DEVICE_ID_MATCH_DEVICE |		\
@@ -80,6 +88,14 @@ static const struct usb_device_id bcm5974_table[] = {
 	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI),
 	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_ISO),
 	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_JIS),
+	/* MacbookAir3,2 */
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI),
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4_ISO),
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4_JIS),
+	/* MacbookAir3,1 */
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4A_ANSI),
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4A_ISO),
+	BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS),
 	/* Terminating entry */
 	{}
 };
@@ -234,6 +250,30 @@ static const struct bcm5974_config bcm5974_config_table[] = {
 		{ DIM_X, DIM_X / SN_COORD, -4460, 5166 },
 		{ DIM_Y, DIM_Y / SN_COORD, -75, 6700 }
 	},
+	{
+		USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI,
+		USB_DEVICE_ID_APPLE_WELLSPRING4_ISO,
+		USB_DEVICE_ID_APPLE_WELLSPRING4_JIS,
+		HAS_INTEGRATED_BUTTON,
+		0x84, sizeof(struct bt_data),
+		0x81, TYPE2, FINGER_TYPE2, FINGER_TYPE2 + SIZEOF_ALL_FINGERS,
+		{ DIM_PRESSURE, DIM_PRESSURE / SN_PRESSURE, 0, 300 },
+		{ DIM_WIDTH, DIM_WIDTH / SN_WIDTH, 0, 2048 },
+		{ DIM_X, DIM_X / SN_COORD, -4620, 5140 },
+		{ DIM_Y, DIM_Y / SN_COORD, -150, 6600 }
+	},
+	{
+		USB_DEVICE_ID_APPLE_WELLSPRING4A_ANSI,
+		USB_DEVICE_ID_APPLE_WELLSPRING4A_ISO,
+		USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS,
+		HAS_INTEGRATED_BUTTON,
+		0x84, sizeof(struct bt_data),
+		0x81, TYPE2, FINGER_TYPE2, FINGER_TYPE2 + SIZEOF_ALL_FINGERS,
+		{ DIM_PRESSURE, DIM_PRESSURE / SN_PRESSURE, 0, 300 },
+		{ DIM_WIDTH, DIM_WIDTH / SN_WIDTH, 0, 2048 },
+		{ DIM_X, DIM_X / SN_COORD, -4616, 5112 },
+		{ DIM_Y, DIM_Y / SN_COORD, -142, 5234 }
+	},
 	{}
 };
 
drivers/input/serio/i8042-x86ia64io.h +21 -0
index a5475b5..b04dd27 100644
@@ -424,6 +424,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "0100"),
 		},
 	},
+	{
+		/* Dell Vostro V13 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Vostro V13"),
+		},
+	},
 	{ }
 };
 
@@ -545,6 +552,17 @@ static const struct dmi_system_id __initconst i8042_dmi_laptop_table[] = {
 };
 #endif
 
+static const struct dmi_system_id __initconst i8042_dmi_notimeout_table[] = {
+	{
+		/* Dell Vostro V13 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Vostro V13"),
+		},
+	},
+	{ }
+};
+
 /*
  * Some Wistron based laptops need us to explicitly enable the 'Dritek
  * keyboard extension' to make their extra keys start generating scancodes.
@@ -897,6 +915,9 @@ static int __init i8042_platform_init(void)
 	if (dmi_check_system(i8042_dmi_nomux_table))
 		i8042_nomux = true;
 
+	if (dmi_check_system(i8042_dmi_notimeout_table))
+		i8042_notimeout = true;
+
 	if (dmi_check_system(i8042_dmi_dritek_table))
 		i8042_dritek = true;
 #endif /* CONFIG_X86 */
drivers/input/serio/i8042.c +5 -1
index 18db5a8..039037d 100644
@@ -61,6 +61,10 @@ static bool i8042_noloop;
 module_param_named(noloop, i8042_noloop, bool, 0);
 MODULE_PARM_DESC(noloop, "Disable the AUX Loopback command while probing for the AUX port");
 
+static bool i8042_notimeout;
+module_param_named(notimeout, i8042_notimeout, bool, 0);
+MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042");
+
 #ifdef CONFIG_X86
 static bool i8042_dritek;
 module_param_named(dritek, i8042_dritek, bool, 0);
@@ -503,7 +507,7 @@ static irqreturn_t i8042_interrupt(int irq, void *dev_id)
 	} else {
 
 		dfl = ((str & I8042_STR_PARITY) ? SERIO_PARITY : 0) |
-		      ((str & I8042_STR_TIMEOUT) ? SERIO_TIMEOUT : 0);
+		      ((str & I8042_STR_TIMEOUT && !i8042_notimeout) ? SERIO_TIMEOUT : 0);
 
 		port_no = (str & I8042_STR_AUXDATA) ?
 				I8042_AUX_PORT_NO : I8042_KBD_PORT_NO;
drivers/md/dm-mpath.c +0 -12
index 487ecda..406091f 100644
@@ -33,7 +33,6 @@ struct pgpath {
 	unsigned fail_count;		/* Cumulative failure count */
 
 	struct dm_path path;
-	struct work_struct deactivate_path;
 	struct work_struct activate_path;
 };
 
@@ -116,7 +115,6 @@ static struct workqueue_struct *kmultipathd, *kmpath_handlerd;
 static void process_queued_ios(struct work_struct *work);
 static void trigger_event(struct work_struct *work);
 static void activate_path(struct work_struct *work);
-static void deactivate_path(struct work_struct *work);
 
 
 /*-----------------------------------------------
@@ -129,7 +127,6 @@ static struct pgpath *alloc_pgpath(void)
 
 	if (pgpath) {
 		pgpath->is_active = 1;
-		INIT_WORK(&pgpath->deactivate_path, deactivate_path);
 		INIT_WORK(&pgpath->activate_path, activate_path);
 	}
 
@@ -141,14 +138,6 @@ static void free_pgpath(struct pgpath *pgpath)
 	kfree(pgpath);
 }
 
-static void deactivate_path(struct work_struct *work)
-{
-	struct pgpath *pgpath =
-		container_of(work, struct pgpath, deactivate_path);
-
-	blk_abort_queue(pgpath->path.dev->bdev->bd_disk->queue);
-}
-
 static struct priority_group *alloc_priority_group(void)
 {
 	struct priority_group *pg;
@@ -995,7 +984,6 @@ static int fail_path(struct pgpath *pgpath)
 		      pgpath->path.dev->name, m->nr_valid_paths);
 
 	schedule_work(&m->trigger_event);
-	queue_work(kmultipathd, &pgpath->deactivate_path);
 
 out:
 	spin_unlock_irqrestore(&m->lock, flags);
drivers/md/dm.c +3 -2
index 7cb1352..81cb2f5 100644
@@ -1992,13 +1992,14 @@ static void event_callback(void *context)
 	wake_up(&md->eventq);
 }
 
+/*
+ * Protected by md->suspend_lock obtained by dm_swap_table().
+ */
 static void __set_size(struct mapped_device *md, sector_t size)
 {
 	set_capacity(md->disk, size);
 
-	mutex_lock(&md->bdev->bd_inode->i_mutex);
 	i_size_write(md->bdev->bd_inode, (loff_t)size << SECTOR_SHIFT);
-	mutex_unlock(&md->bdev->bd_inode->i_mutex);
 }
 
 /*
drivers/md/md.c +19 -8
index 175c424..0e5a483 100644
@@ -287,11 +287,14 @@ static int md_make_request(struct request_queue *q, struct bio *bio)
 	mddev_t *mddev = q->queuedata;
 	int rv;
 	int cpu;
+	unsigned int sectors;
 
-	if (mddev == NULL || mddev->pers == NULL) {
+	if (mddev == NULL || mddev->pers == NULL
+	    || !mddev->ready) {
 		bio_io_error(bio);
 		return 0;
 	}
+	smp_rmb(); /* Ensure implications of  'active' are visible */
 	rcu_read_lock();
 	if (mddev->suspended) {
 		DEFINE_WAIT(__wait);
@@ -309,12 +312,16 @@ static int md_make_request(struct request_queue *q, struct bio *bio)
 	atomic_inc(&mddev->active_io);
 	rcu_read_unlock();
 
+	/*
+	 * save the sectors now since our bio can
+	 * go away inside make_request
+	 */
+	sectors = bio_sectors(bio);
 	rv = mddev->pers->make_request(mddev, bio);
 
 	cpu = part_stat_lock();
 	part_stat_inc(cpu, &mddev->gendisk->part0, ios[rw]);
-	part_stat_add(cpu, &mddev->gendisk->part0, sectors[rw],
-		      bio_sectors(bio));
+	part_stat_add(cpu, &mddev->gendisk->part0, sectors[rw], sectors);
 	part_stat_unlock();
 
 	if (atomic_dec_and_test(&mddev->active_io) && mddev->suspended)
@@ -3115,7 +3122,7 @@ level_store(mddev_t *mddev, const char *buf, size_t len)
 		char nm[20];
 		if (rdev->raid_disk < 0)
 			continue;
-		if (rdev->new_raid_disk > mddev->raid_disks)
+		if (rdev->new_raid_disk >= mddev->raid_disks)
 			rdev->new_raid_disk = -1;
 		if (rdev->new_raid_disk == rdev->raid_disk)
 			continue;
@@ -4564,7 +4571,8 @@ int md_run(mddev_t *mddev)
 	mddev->safemode_timer.data = (unsigned long) mddev;
 	mddev->safemode_delay = (200 * HZ)/1000 +1; /* 200 msec delay */
 	mddev->in_sync = 1;
-
+	smp_wmb();
+	mddev->ready = 1;
 	list_for_each_entry(rdev, &mddev->disks, same_set)
 		if (rdev->raid_disk >= 0) {
 			char nm[20];
@@ -4725,6 +4733,7 @@ EXPORT_SYMBOL_GPL(md_stop_writes);
 
 void md_stop(mddev_t *mddev)
 {
+	mddev->ready = 0;
 	mddev->pers->stop(mddev);
 	if (mddev->pers->sync_request && mddev->to_remove == NULL)
 		mddev->to_remove = &md_redundancy_group;
@@ -5159,9 +5168,10 @@ static int add_new_disk(mddev_t * mddev, mdu_disk_info_t *info)
 		/* set saved_raid_disk if appropriate */
 		if (!mddev->persistent) {
 			if (info->state & (1<<MD_DISK_SYNC)  &&
-			    info->raid_disk < mddev->raid_disks)
+			    info->raid_disk < mddev->raid_disks) {
 				rdev->raid_disk = info->raid_disk;
-			else
+				set_bit(In_sync, &rdev->flags);
+			} else
 				rdev->raid_disk = -1;
 		} else
 			super_types[mddev->major_version].
@@ -6041,7 +6051,8 @@ static int md_thread(void * arg)
 			 || kthread_should_stop(),
 			 thread->timeout);
 
-		if (test_and_clear_bit(THREAD_WAKEUP, &thread->flags))
+		clear_bit(THREAD_WAKEUP, &thread->flags);
+		if (!kthread_should_stop())
 			thread->run(thread->mddev);
 	}
 
drivers/md/md.h +2 -1
index d05bab5..a161283 100644
@@ -148,7 +148,8 @@ struct mddev_s
 						       * are happening, so run/
 						       * takeover/stop are not safe
 						       */
-
+	int				ready; /* See when safe to pass
+						* IO requests down */
 	struct gendisk			*gendisk;
 
 	struct kobject			kobj;
drivers/media/IR/ir-keytable.c +17 -11
index f60107c..c4645d7 100644
@@ -374,21 +374,27 @@ static int ir_getkeycode(struct input_dev *dev,
 		index = ir_lookup_by_scancode(rc_tab, scancode);
 	}
 
-	if (index >= rc_tab->len) {
-		if (!(ke->flags & INPUT_KEYMAP_BY_INDEX))
-			IR_dprintk(1, "unknown key for scancode 0x%04x\n",
-				   scancode);
+	if (index < rc_tab->len) {
+		entry = &rc_tab->scan[index];
+
+		ke->index = index;
+		ke->keycode = entry->keycode;
+		ke->len = sizeof(entry->scancode);
+		memcpy(ke->scancode, &entry->scancode, sizeof(entry->scancode));
+
+	} else if (!(ke->flags & INPUT_KEYMAP_BY_INDEX)) {
+		/*
+		 * We do not really know the valid range of scancodes
+		 * so let's respond with KEY_RESERVED to anything we
+		 * do not have mapping for [yet].
+		 */
+		ke->index = index;
+		ke->keycode = KEY_RESERVED;
+	} else {
 		retval = -EINVAL;
 		goto out;
 	}
 
-	entry = &rc_tab->scan[index];
-
-	ke->index = index;
-	ke->keycode = entry->keycode;
-	ke->len = sizeof(entry->scancode);
-	memcpy(ke->scancode, &entry->scancode, sizeof(entry->scancode));
-
 	retval = 0;
 
 out:
drivers/media/dvb/frontends/ix2505v.c +1 -1
index 55f2eba..6360c68 100644
@@ -72,7 +72,7 @@ static int ix2505v_read_status_reg(struct ix2505v_state *state)
 	ret = i2c_transfer(state->i2c, msg, 1);
 	deb_i2c("Read %s ", __func__);
 
-	return (ret = 1) ? (int) b2[0] : -1;
+	return (ret == 1) ? (int) b2[0] : -1;
 }
 
 static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count)
drivers/media/radio/radio-aimslab.c +6 -17
index 05e832f..6cc5d13 100644
@@ -31,7 +31,6 @@
 #include <linux/module.h>	/* Modules 			*/
 #include <linux/init.h>		/* Initdata			*/
 #include <linux/ioport.h>	/* request_region		*/
-#include <linux/delay.h>	/* udelay			*/
 #include <linux/videodev2.h>	/* kernel radio structs		*/
 #include <linux/version.h>	/* for KERNEL_VERSION MACRO	*/
 #include <linux/io.h>		/* outb, outb_p			*/
@@ -71,27 +70,17 @@ static struct rtrack rtrack_card;
 
 /* local things */
 
-static void sleep_delay(long n)
-{
-	/* Sleep nicely for 'n' uS */
-	int d = n / msecs_to_jiffies(1000);
-	if (!d)
-		udelay(n);
-	else
-		msleep(jiffies_to_msecs(d));
-}
-
 static void rt_decvol(struct rtrack *rt)
 {
 	outb(0x58, rt->io);		/* volume down + sigstr + on	*/
-	sleep_delay(100000);
+	msleep(100);
 	outb(0xd8, rt->io);		/* volume steady + sigstr + on	*/
 }
 
 static void rt_incvol(struct rtrack *rt)
 {
 	outb(0x98, rt->io);		/* volume up + sigstr + on	*/
-	sleep_delay(100000);
+	msleep(100);
 	outb(0xd8, rt->io);		/* volume steady + sigstr + on	*/
 }
 
@@ -120,7 +109,7 @@ static int rt_setvol(struct rtrack *rt, int vol)
 
 	if (vol == 0) {			/* volume = 0 means mute the card */
 		outb(0x48, rt->io);	/* volume down but still "on"	*/
-		sleep_delay(2000000);	/* make sure it's totally down	*/
+		msleep(2000);	/* make sure it's totally down	*/
 		outb(0xd0, rt->io);	/* volume steady, off		*/
 		rt->curvol = 0;		/* track the volume state!	*/
 		mutex_unlock(&rt->lock);
@@ -155,7 +144,7 @@ static void send_0_byte(struct rtrack *rt)
 		outb_p(128+64+16+8+  1, rt->io);  /* on + wr-enable + data low */
 		outb_p(128+64+16+8+2+1, rt->io);  /* clock */
 	}
-	sleep_delay(1000);
+	msleep(1);
 }
 
 static void send_1_byte(struct rtrack *rt)
@@ -169,7 +158,7 @@ static void send_1_byte(struct rtrack *rt)
 		outb_p(128+64+16+8+4+2+1, rt->io); /* clock */
 	}
 
-	sleep_delay(1000);
+	msleep(1);
 }
 
 static int rt_setfreq(struct rtrack *rt, unsigned long freq)
@@ -420,7 +409,7 @@ static int __init rtrack_init(void)
 
 	/* this ensures that the volume is all the way down  */
 	outb(0x48, rt->io);		/* volume down but still "on"	*/
-	sleep_delay(2000000);	/* make sure it's totally down	*/
+	msleep(2000);	/* make sure it's totally down	*/
 	outb(0xc0, rt->io);		/* steady volume, mute card	*/
 
 	if (video_register_device(&rt->vdev, VFL_TYPE_RADIO, radio_nr) < 0) {
drivers/media/video/em28xx/em28xx-cards.c +2 -2
index f7e9168..2637f6f 100644
@@ -1633,11 +1633,11 @@ struct em28xx_board em28xx_boards[] = {
 		.input           = { {
 			.type     = EM28XX_VMUX_COMPOSITE1,
 			.vmux     = SAA7115_COMPOSITE0,
-			.amux     = EM28XX_AMUX_VIDEO2,
+			.amux     = EM28XX_AMUX_LINE_IN,
 		}, {
 			.type     = EM28XX_VMUX_SVIDEO,
 			.vmux     = SAA7115_SVIDEO3,
-			.amux     = EM28XX_AMUX_VIDEO2,
+			.amux     = EM28XX_AMUX_LINE_IN,
 		} },
 	},
 	[EM2860_BOARD_TERRATEC_AV350] = {
drivers/mmc/host/bfin_sdh.c +1 -1
index bac7d62..0371bf5 100644
@@ -462,7 +462,7 @@ static int __devinit sdh_probe(struct platform_device *pdev)
 		goto out;
 	}
 
-	mmc = mmc_alloc_host(sizeof(*mmc), &pdev->dev);
+	mmc = mmc_alloc_host(sizeof(struct sdh_host), &pdev->dev);
 	if (!mmc) {
 		ret = -ENOMEM;
 		goto out;
drivers/mtd/nand/pxa3xx_nand.c +1 -1
index 17f8518..ea2c288 100644
@@ -885,6 +885,7 @@ static int pxa3xx_nand_detect_config(struct pxa3xx_nand_info *info)
 	/* set info fields needed to __readid */
 	info->read_id_bytes = (info->page_size == 2048) ? 4 : 2;
 	info->reg_ndcr = ndcr;
+	info->cmdset = &default_cmdset;
 
 	if (__readid(info, &id))
 		return -ENODEV;
@@ -915,7 +916,6 @@ static int pxa3xx_nand_detect_config(struct pxa3xx_nand_info *info)
 
 	info->ndtr0cs0 = nand_readl(info, NDTR0CS0);
 	info->ndtr1cs0 = nand_readl(info, NDTR1CS0);
-	info->cmdset = &default_cmdset;
 
 	return 0;
 }
drivers/net/e1000/e1000_main.c +6 -4
index 4d62f7b..b3b251e 100644
@@ -971,11 +971,13 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
 		 */
 		dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(64));
 		pci_using_dac = 1;
-	} else if (!dma_set_mask(&pdev->dev, DMA_BIT_MASK(32))) {
-		dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
 	} else {
-		pr_err("No usable DMA config, aborting\n");
-		goto err_dma;
+		err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
+		if (err) {
+			pr_err("No usable DMA config, aborting\n");
+			goto err_dma;
+		}
+		dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
 	}
 
 	netdev->netdev_ops = &e1000_netdev_ops;
drivers/net/fec.c +2 -2
index cce32d4..52e9ca8 100644
@@ -651,8 +651,8 @@ static int fec_enet_mdio_write(struct mii_bus *bus, int mii_id, int regnum,
 	fep->mii_timeout = 0;
 	init_completion(&fep->mdio_done);
 
-	/* start a read op */
-	writel(FEC_MMFR_ST | FEC_MMFR_OP_READ |
+	/* start a write op */
+	writel(FEC_MMFR_ST | FEC_MMFR_OP_WRITE |
 		FEC_MMFR_PA(mii_id) | FEC_MMFR_RA(regnum) |
 		FEC_MMFR_TA | FEC_MMFR_DATA(value),
 		fep->hwp + FEC_MII_DATA);
drivers/net/ixgbe/ixgbe_main.c +9 -2
index eee0b29..57d747a 100644
@@ -2912,9 +2912,16 @@ static void ixgbe_set_rx_buffer_len(struct ixgbe_adapter *adapter)
 	u32 mhadd, hlreg0;
 
 	/* Decide whether to use packet split mode or not */
+	/* On by default */
+	adapter->flags |= IXGBE_FLAG_RX_PS_ENABLED;
+
 	/* Do not use packet split if we're in SR-IOV Mode */
-	if (!adapter->num_vfs)
-		adapter->flags |= IXGBE_FLAG_RX_PS_ENABLED;
+	if (adapter->num_vfs)
+		adapter->flags &= ~IXGBE_FLAG_RX_PS_ENABLED;
+
+	/* Disable packet split due to 82599 erratum #45 */
+	if (hw->mac.type == ixgbe_mac_82599EB)
+		adapter->flags &= ~IXGBE_FLAG_RX_PS_ENABLED;
 
 	/* Set the RX buffer length according to the mode */
 	if (adapter->flags & IXGBE_FLAG_RX_PS_ENABLED) {
drivers/net/virtio_net.c +16 -11
index b6d4028..c1689ba 100644
@@ -446,6 +446,20 @@ static void skb_recv_done(struct virtqueue *rvq)
 	}
 }
 
+static void virtnet_napi_enable(struct virtnet_info *vi)
+{
+	napi_enable(&vi->napi);
+
+	/* If all buffers were filled by other side before we napi_enabled, we
+	 * won't get another interrupt, so process any outstanding packets
+	 * now.  virtnet_poll wants re-enable the queue, so we disable here.
+	 * We synchronize against interrupts via NAPI_STATE_SCHED */
+	if (napi_schedule_prep(&vi->napi)) {
+		virtqueue_disable_cb(vi->rvq);
+		__napi_schedule(&vi->napi);
+	}
+}
+
 static void refill_work(struct work_struct *work)
 {
 	struct virtnet_info *vi;
@@ -454,7 +468,7 @@ static void refill_work(struct work_struct *work)
 	vi = container_of(work, struct virtnet_info, refill.work);
 	napi_disable(&vi->napi);
 	still_empty = !try_fill_recv(vi, GFP_KERNEL);
-	napi_enable(&vi->napi);
+	virtnet_napi_enable(vi);
 
 	/* In theory, this can happen: if we don't get any buffers in
 	 * we will *never* try to fill again. */
@@ -638,16 +652,7 @@ static int virtnet_open(struct net_device *dev)
 {
 	struct virtnet_info *vi = netdev_priv(dev);
 
-	napi_enable(&vi->napi);
-
-	/* If all buffers were filled by other side before we napi_enabled, we
-	 * won't get another interrupt, so process any outstanding packets
-	 * now.  virtnet_poll wants re-enable the queue, so we disable here.
-	 * We synchronize against interrupts via NAPI_STATE_SCHED */
-	if (napi_schedule_prep(&vi->napi)) {
-		virtqueue_disable_cb(vi->rvq);
-		__napi_schedule(&vi->napi);
-	}
+	virtnet_napi_enable(vi);
 	return 0;
 }
 
drivers/net/wireless/ath/ath9k/ar9002_calib.c +5 -5
index 15f62cd..9b6ba23 100644
@@ -681,10 +681,6 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah,
 
 	/* Do NF cal only at longer intervals */
 	if (longcal || nfcal_pending) {
-		/* Do periodic PAOffset Cal */
-		ar9002_hw_pa_cal(ah, false);
-		ar9002_hw_olc_temp_compensation(ah);
-
 		/*
 		 * Get the value from the previous NF cal and update
 		 * history buffer.
@@ -699,8 +695,12 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah,
 			ath9k_hw_loadnf(ah, ah->curchan);
 		}
 
-		if (longcal)
+		if (longcal) {
 			ath9k_hw_start_nfcal(ah, false);
+			/* Do periodic PAOffset Cal */
+			ar9002_hw_pa_cal(ah, false);
+			ar9002_hw_olc_temp_compensation(ah);
+		}
 	}
 
 	return iscaldone;
drivers/net/wireless/ath/ath9k/ar9002_hw.c +1 -2
index 48261b7..2528b29 100644
@@ -444,9 +444,8 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
 		}
 
 		/* WAR for ASPM system hang */
-		if (AR_SREV_9280(ah) || AR_SREV_9285(ah) || AR_SREV_9287(ah)) {
+		if (AR_SREV_9285(ah) || AR_SREV_9287(ah))
 			val |= (AR_WA_BIT6 | AR_WA_BIT7);
-		}
 
 		if (AR_SREV_9285E_20(ah))
 			val |= AR_WA_BIT23;
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +8 -6
index a7b82f0..aa355df 100644
@@ -22,12 +22,14 @@
 #define COMP_CKSUM_LEN 2
 
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/ath9k.h +2 -2
index 0963071..c0b60ce 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/hif_usb.c +36 -4
index 0de3c3d..270671f 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/hif_usb.h +1 -0
index 2daf97b..30d0938 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/hw.c +5 -1
index c7fbe25..5dcf140 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/hw.h +1 -0
index d47d1b4..1240376 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/main.c +5 -3
index c0c3464..d1b0db4 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/pci.c +4 -0
index b5b6514..894ebadb 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/carl9170/rx.c +1 -1
index 939a0e9..84866a4 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/key.c +2 -0
index bd21a4d..32fcc19 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/hostap/hostap_cs.c +6 -9
index bd8a413..2176ede 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/iwlwifi/iwl-agn.c +11 -4
index c2636a7..f0468cd 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/iwlwifi/iwl-helpers.h +6 -0
index 1aaef70..19f5586 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/p54/txrx.c +1 -1
index 76b2318a..f618b96 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rt2x00/rt73usb.c +1 -0
index 9be8089..4c6fba7 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci-stub.c +3 -0
index f7b68ca..4ae494b 100644

Lines of this file are not shown. View the raw message.

drivers/power/ds2760_battery.c +1 -1
index b3c01c1..11e1ac5 100644

Lines of this file are not shown. View the raw message.

drivers/power/jz4740-battery.c +7 -0
index a8108a7..2bbe04a 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-cmos.c +9 -7
index 5856167..dd8242d 100644

Lines of this file are not shown. View the raw message.

drivers/s390/cio/qdio.h +6 -0
index 0f4ef87..3e6ad23 100644

Lines of this file are not shown. View the raw message.

drivers/s390/cio/qdio_main.c +28 -15

43 lines not on this page · raw message

drivers/s390/crypto/ap_bus.c +1 -1
index 8fd8c62..a1ba52a 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_scsi_host.c +1 -0
index 29251fa..812d32c 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpt2sas/mpt2sas_base.c +19 -5
index 12faf64..7227227 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpt2sas/mpt2sas_scsih.c +52 -12

64 lines not on this page · raw message

drivers/scsi/sd.c +8 -1
index 9564961..9c9e6d3 100644

Lines of this file are not shown. View the raw message.

drivers/serial/68360serial.c +1 -0
index 88b1335..bc21eea 100644

Lines of this file are not shown. View the raw message.

drivers/serial/8250.c +2 -1
index 09a5508..b2b40f91 100644

Lines of this file are not shown. View the raw message.

drivers/ssb/pcmcia.c +1 -1
index c7345db..f853379 100644

Lines of this file are not shown. View the raw message.

drivers/staging/bcm/InterfaceInit.c +1 -0
index 824f9a4..dc760ef 100644

Lines of this file are not shown. View the raw message.

drivers/staging/bcm/InterfaceInit.h +1 -0
index e7a96e5..6c21625 100644

Lines of this file are not shown. View the raw message.

drivers/staging/brcm80211/sys/wl_mac80211.c +23 -22

45 lines not on this page · raw message

drivers/staging/comedi/drivers/jr3_pci.c +7 -0
index 8b383ee..5c6c727 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/ni_labpc.c +2 -1
index 4d1868d..0728c3c 100644

Lines of this file are not shown. View the raw message.

drivers/staging/hv/blkvsc_drv.c +1 -0
index 3f81ca5..b255c8b 100644

Lines of this file are not shown. View the raw message.

drivers/staging/hv/netvsc.c +1 -1
index 4c2632c..d7dcc66 100644

Lines of this file are not shown. View the raw message.

drivers/staging/hv/netvsc_drv.c +1 -1
index 1415352..cb79dff 100644

Lines of this file are not shown. View the raw message.

drivers/staging/iio/adc/ad7476_core.c +1 -1
index deb68c8..b8b54da 100644

Lines of this file are not shown. View the raw message.

drivers/staging/iio/adc/ad799x_core.c +1 -1
index 6309d52..89ccf37 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rt2860/chips/rt3090.c +2 -1
index c2933c6..cbc59f8 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rt2860/chips/rt30xx.c +2 -2
index 4367a19..88eba51 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rt2860/rt_main_dev.c +0 -2
index ad60cea..caf8b76 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rt2860/usb_main_dev.c +1 -0
index cd15daa..aca0c46 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8712/usb_intf.c +113 -32

145 lines not on this page · raw message

drivers/staging/speakup/kobjects.c +1 -1
index cc79f9e..a082f8d 100644

Lines of this file are not shown. View the raw message.

drivers/staging/usbip/vhci_hcd.c +0 -14
index 832608d..08bd26a 100644

Lines of this file are not shown. View the raw message.

drivers/staging/zram/zram_drv.c +4 -0
index d0e9e02..080e85f 100644

Lines of this file are not shown. View the raw message.

drivers/tty/n_gsm.c +1 -0
index c5f8e5b..dc74295 100644

Lines of this file are not shown. View the raw message.

drivers/tty/sysrq.c +17 -2
index c556ed9..81f1395 100644

Lines of this file are not shown. View the raw message.

drivers/usb/class/cdc-acm.c +1 -0
index d6ede98..4ab49d4 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/hcd-pci.c +6 -1
index 3799573..4de52dc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/hcd.c +1 -1
index ced846a..8aa6b51 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/hub.c +26 -0
index 27115b4..31edd87 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/printer.c +9 -10
index 2fc8636..12ff6cf 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-au1xxx.c +1 -1
index 2baf8a8..a869e3c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-hcd.c +20 -7
index e906280..6716312 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-hub.c +7 -0
index 796ea0c..8a515f0 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-pci.c +40 -1

41 lines not on this page · raw message

drivers/usb/host/ehci-sched.c +79 -0

79 lines not on this page · raw message

drivers/usb/host/ehci.h +1 -0
index ba8eab3..799ac16 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-ring.c +1 -1
index df558f6..62c70c2 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci.c +25 -35

60 lines not on this page · raw message

drivers/usb/serial/ch341.c +10 -0
index 63f7cc4..7b8815d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/cp210x.c +3 -13
index 8d7731d..735ea03 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/digi_acceleport.c +0 -10
index b92070c..666e5a6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio.c +38 -1
index 2dec500..48ce01e 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio_ids.h +28 -4
index bf08672..117e8e6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/generic.c +20 -0
index e6833e2..e4db5ad 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/io_edgeport.c +2 -2
index cd769ef..3b246d9 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/io_tables.h +1 -0
index 6ab2a3f..178b22e 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/iuu_phoenix.c +1 -0
index 12ed594..99b97c0 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/keyspan.h +4 -0
index 2d8baf6..ce134dc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/keyspan_pda.c +0 -17
index a10dd56..554a869 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/moto_modem.c +1 -0
index cf17183..653465f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/option.c +21 -2
index ef2977d..356c870 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/oti6858.c +1 -0
index e199b0f..1c46a86 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/pl2303.c +12 -0
index 8ae4c6c..08c9181 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/pl2303.h +1 -0
index 43eb9bd..1b025f7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/qcaux.c +3 -0
index 214a3e5..30b73e6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/siemens_mpi.c +1 -0
index cb8195c..74cd4cc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/spcp8x5.c +6 -1
index 765aa98..cbfb70b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ti_usb_3410_5052.c +1 -1
index b2902f3..a910004 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/usb-serial.c +6 -2
index 6954de5..546a521 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/usb_debug.c +1 -0
index f2ed6a3..95a8214 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/unusual_cypress.h +5 -0
index c854fde..2c85530 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/unusual_devs.h +32 -0
index fcc1e32..c1602b8 100644

Lines of this file are not shown. View the raw message.

drivers/video/aty/atyfb_base.c +5 -22
index 5bf9123..5a3ce3a 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight/88pm860x_bl.c +2 -2
index 38ffc3f..c06c667 100644

Lines of this file are not shown. View the raw message.

drivers/virtio/virtio_pci.c +2 -18
index ef8d9d5..4fb5b2b 100644

Lines of this file are not shown. View the raw message.

drivers/xen/platform-pci.c +7 -14
index c01b5dd..afbe041 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifsproto.h +1 -1
index e6d1481..95d5dbb 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifssmb.c +3 -1
index 67acfb3..0fa5c1f 100644

Lines of this file are not shown. View the raw message.

fs/cifs/connect.c +2 -2
index cc1a860..ac75883 100644

Lines of this file are not shown. View the raw message.

fs/cifs/file.c +11 -10
index 5a28660..904edbe 100644

Lines of this file are not shown. View the raw message.

fs/cifs/misc.c +1 -1
index 43f1028..09bfcf0 100644

Lines of this file are not shown. View the raw message.

fs/direct-io.c +7 -3
index 85882f6..b044705 100644

Lines of this file are not shown. View the raw message.

fs/eventpoll.c +13 -3
index 8cf0724..7daf1e6 100644

Lines of this file are not shown. View the raw message.

fs/exofs/inode.c +0 -2
index 4268542..a755523 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inode.c +1 -0
index e659597..97a28e9 100644

Lines of this file are not shown. View the raw message.

fs/ext4/mballoc.c +61 -41

102 lines not on this page · raw message

fs/ext4/page-io.c +6 -5
index beacce1..736f4ee 100644

Lines of this file are not shown. View the raw message.

fs/ext4/super.c +25 -16

41 lines not on this page · raw message

fs/fs-writeback.c +79 -19

98 lines not on this page · raw message

fs/nfs/delegation.c +4 -2
index 1fd62fc..78df330 100644

Lines of this file are not shown. View the raw message.

fs/nfs/dir.c +26 -24

50 lines not on this page · raw message

fs/nfs/direct.c +20 -14
index e6ace0d..9943a75 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs2xdr.c +0 -6
index 5914a19..b382a1b 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs3xdr.c +0 -6
index f6cc60f..ba91236 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4xdr.c +0 -6
index 9f1826b..0662a98 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4idmap.c +2 -2
index f0695e8..844960f 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfsd.h +1 -0
index 6b641cf..7ecfa24 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfsproc.c +1 -1
index 08e1726..f0c2f23 100644

Lines of this file are not shown. View the raw message.

fs/nilfs2/super.c +2 -1
index f804d41..2940a58 100644

Lines of this file are not shown. View the raw message.

fs/partitions/check.c +9 -1
index 0a8b0ad..0123717 100644

Lines of this file are not shown. View the raw message.

fs/proc/kcore.c +1 -1
index 6f37c39..d245cb2 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_pciids.h +0 -1
index 883c1d4..40b1f0e 100644

Lines of this file are not shown. View the raw message.

include/linux/blkdev.h +1 -0
index 36ab42c..7572b19 100644

Lines of this file are not shown. View the raw message.

include/linux/completion.h +4 -4
index 36d57f7..51494e6 100644

Lines of this file are not shown. View the raw message.

include/linux/dynamic_debug.h +4 -14
index a90b389..1c70028 100644

Lines of this file are not shown. View the raw message.

include/linux/genhd.h +2 -0
index 7a7b9c1..2ba2792 100644

Lines of this file are not shown. View the raw message.

include/linux/ieee80211.h +1 -1
index ed5a03c..1c2138d 100644

Lines of this file are not shown. View the raw message.

include/linux/klist.h +1 -1
index e91a4e5..a370ce5 100644

Lines of this file are not shown. View the raw message.

include/linux/kref.h +1 -0
index 6cc38fc..90b9e44 100644

Lines of this file are not shown. View the raw message.

include/linux/lockdep.h +3 -0
index 71c09b2..9f19430 100644

Lines of this file are not shown. View the raw message.

include/linux/memory_hotplug.h +6 -0
index 31c237a..12b9eb5 100644

Lines of this file are not shown. View the raw message.

include/linux/mmzone.h +3 -7
index 39c24eb..4890662 100644

Lines of this file are not shown. View the raw message.

include/linux/nl80211.h +5 -1
index 0edb256..fb877b5 100644

Lines of this file are not shown. View the raw message.

include/linux/oprofile.h +11 -2
index 32fb812..1ca6411 100644

Lines of this file are not shown. View the raw message.

include/linux/radix-tree.h +16 -0
index ab2baa5..23241c2 100644

Lines of this file are not shown. View the raw message.

include/linux/security.h +7 -8
index fd4d55f..d47a4c2 100644

Lines of this file are not shown. View the raw message.

include/linux/sunrpc/xdr.h +3 -1
index 498ab93..7783c68 100644

Lines of this file are not shown. View the raw message.

include/linux/sysrq.h +3 -0
index 387fa7d..7faf933 100644

Lines of this file are not shown. View the raw message.

include/linux/usb/hcd.h +1 -0
index 0b6e751..6c37d78 100644

Lines of this file are not shown. View the raw message.

include/linux/usb/serial.h +3 -0
index 16d682f..c904913 100644

Lines of this file are not shown. View the raw message.

include/linux/vmstat.h +5 -0
index eaaea37..e4cc21c 100644

Lines of this file are not shown. View the raw message.

include/net/cfg80211.h +8 -7
index 97b8b7c..772dea2 100644

Lines of this file are not shown. View the raw message.

include/scsi/scsi.h +1 -0
index 216af85..1933e3c 100644

Lines of this file are not shown. View the raw message.

init/calibrate.c +3 -3
index 6eb48e5..24fe022 100644

Lines of this file are not shown. View the raw message.

kernel/irq/migration.c +11 -3
index 1d25419..441fd62 100644

Lines of this file are not shown. View the raw message.

kernel/perf_event.c +8 -7
index 2870fee..64668bd 100644

Lines of this file are not shown. View the raw message.

kernel/ptrace.c +1 -1
index 99bbaa3..1708b1e 100644

Lines of this file are not shown. View the raw message.

kernel/sched.c +20 -2
index 297d1a0..2f912b7 100644

Lines of this file are not shown. View the raw message.

kernel/sched_rt.c +1 -1
index bea7d79..c5f1d23 100644

Lines of this file are not shown. View the raw message.

kernel/smp.c +30 -0
index 12ed8b0..8448f8f 100644

Lines of this file are not shown. View the raw message.

kernel/sys.c +2 -1
index 7f5a0cd..66136ca 100644

Lines of this file are not shown. View the raw message.

kernel/sysctl.c +2 -1
index 5abfa15..4e17828 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +2 -4
index f8cf959..dc53ecb 100644

Lines of this file are not shown. View the raw message.

kernel/watchdog.c +18 -23

41 lines not on this page · raw message

kernel/workqueue.c +12 -2
index e785b0f..4be7fa5 100644

Lines of this file are not shown. View the raw message.

lib/dynamic_debug.c +4 -5
index 3094318..b335acb 100644

Lines of this file are not shown. View the raw message.

lib/kref.c +12 -0
index d3d227a..e7a6e10 100644

Lines of this file are not shown. View the raw message.

mm/memcontrol.c +4 -3
index 00bb8a6..d7a1e3d 100644

Lines of this file are not shown. View the raw message.

mm/memory_hotplug.c +4 -0
index 2c6523a..83163c0 100644

Lines of this file are not shown. View the raw message.

mm/migrate.c +27 -48

75 lines not on this page · raw message

mm/mmzone.c +0 -21
index e35bfb8..f5b7d17 100644

Lines of this file are not shown. View the raw message.

mm/page_alloc.c +27 -8
index ff7e158..91b6d8c 100644

Lines of this file are not shown. View the raw message.

mm/slub.c +2 -2
index bec0e35..96e6907 100644

Lines of this file are not shown. View the raw message.

mm/vmscan.c +13 -10
index 9ca587c..5da4295 100644

Lines of this file are not shown. View the raw message.

mm/vmstat.c +67 -1

68 lines not on this page · raw message

net/ax25/af_ax25.c +1 -1
index bb86d29..6da5dae 100644

Lines of this file are not shown. View the raw message.

net/core/ethtool.c +1 -1
index 956a9f4..1c6c3ac 100644

Lines of this file are not shown. View the raw message.

net/core/rtnetlink.c +3 -0
index 841c287..b078d90 100644

Lines of this file are not shown. View the raw message.

net/core/sock.c +1 -1
index e5af8d5..7fd3541 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_fragment.c +34 -0
index 1684408..fb9b94a 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_output.c +3 -0
index 94b5bf1..5f8d242 100644

Lines of this file are not shown. View the raw message.

net/mac80211/agg-rx.c +2 -9
index 720b7a8..c080a5d 100644

Lines of this file are not shown. View the raw message.

net/mac80211/key.c +6 -0
index ccd676b..aa1b734 100644

Lines of this file are not shown. View the raw message.

net/mac80211/rx.c +2 -2
index b01e467..e98668f 100644

Lines of this file are not shown. View the raw message.

net/mac80211/tx.c +5 -1
index 7a637b8..2f09db5 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_fifo.c +0 -2
index 4dfecb0..aa4d633 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xdr.c +124 -31

155 lines not on this page · raw message

net/unix/af_unix.c +1 -1
index 2268e67..759bbcb 100644

Lines of this file are not shown. View the raw message.

net/wireless/reg.c +28 -5
index 4b9f891..8ab65f2 100644

Lines of this file are not shown. View the raw message.

security/capability.c +1 -1
index c773635..2a5df2b 100644

Lines of this file are not shown. View the raw message.

security/security.c +1 -2
index 1b798d3..e5fb07a 100644

Lines of this file are not shown. View the raw message.

security/selinux/hooks.c +9 -6
index 65fa8bf..11d5c47 100644

Lines of this file are not shown. View the raw message.

security/selinux/nlmsgtab.c +2 -0
index 75ec0c6..8b02b21 100644

Lines of this file are not shown. View the raw message.

security/smack/smack_lsm.c +7 -7
index 489a85a..ccb71a0 100644

Lines of this file are not shown. View the raw message.

sound/atmel/ac97c.c +4 -1
index 10c3a87..b310702 100644

Lines of this file are not shown. View the raw message.

sound/core/hrtimer.c +3 -2
index 7730575..07efa29 100644

Lines of this file are not shown. View the raw message.

sound/pci/au88x0/au88x0_pcm.c +20 -4
index b9d2f20..5439d66 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/hda_codec.c +3 -0
index 98b6d02..05e5ec8 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/hda_eld.c +1 -1
index 4a66347..74b0560 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_conexant.c +8 -1
index 76bd58a..5667fb9 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_hdmi.c +50 -1

51 lines not on this page · raw message

sound/pci/hda/patch_realtek.c +2 -0
index 552a09e..0bc6e4e 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_sigmatel.c +1 -1
index f03b2ff..fc16beb 100644

Lines of this file are not shown. View the raw message.

sound/soc/blackfin/bf5xx-ac97.c +2 -2
index c5f856e..ffbac26 100644

Lines of this file are not shown. View the raw message.

sound/soc/blackfin/bf5xx-tdm.c +1 -1
index 1251239..b2cf239 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm8990.c +5 -5
index 264828e..f007d77 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm8994.c +12 -5
index 4d3e6f1..f451a2c 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm_hubs.c +7 -8
index 0e24092..feacf18 100644

Lines of this file are not shown. View the raw message.

sound/soc/davinci/davinci-evm.c +1 -1
index bc9e6b0..07db881 100644

Lines of this file are not shown. View the raw message.

sound/soc/pxa/corgi.c +2 -2
index f451acd..135d903 100644

Lines of this file are not shown. View the raw message.

sound/soc/pxa/poodle.c +1 -1
index 84edd03..0eebe11 100644

Lines of this file are not shown. View the raw message.

sound/soc/pxa/spitz.c +2 -2
index 0b30d7d..7604471 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-core.c +1 -1
index 85b7d54..757ba59 100644

Lines of this file are not shown. View the raw message.

sound/usb/midi.c +9 -2
index 25bce7e..b1f9ec9 100644

Lines of this file are not shown. View the raw message.

sound/usb/usx2y/us122l.c +20 -21

41 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.