Skip to contentSkip to conversation

Linux 2.6.34.2

DISCUSSION Greg KH 1 participant 2 messages Aug 2, 2010

Subsystems (93)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

I'm announcing the release of the 2.6.34.2 kernel.

All users of the 2.6.34 kernel series should upgrade.

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

        git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.34.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.34.y.git;a=summary

thanks,

greg k-h

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

 Documentation/kernel-parameters.txt             |    4 
 Makefile                                        |    2 
 arch/arm/include/asm/atomic.h                   |  132 +++----
 arch/arm/kernel/kprobes-decode.c                |    5 
 arch/arm/kernel/perf_event.c                    |    2 
 arch/arm/mach-omap2/board-rx51-peripherals.c    |   17 
 arch/arm/mach-realview/Kconfig                  |    2 
 arch/arm/mach-realview/include/mach/barriers.h  |    8 
 arch/ia64/mm/tlb.c                              |    2 
 arch/mips/alchemy/mtx-1/board_setup.c           |    8 
 arch/powerpc/include/asm/cpm.h                  |   24 +
 arch/powerpc/kernel/irq.c                       |    5 
 arch/powerpc/sysdev/micropatch.c                |   12 
 arch/um/os-Linux/mem.c                          |    1 
 arch/x86/include/asm/msr-index.h                |    1 
 arch/x86/include/asm/suspend_32.h               |    2 
 arch/x86/include/asm/suspend_64.h               |    2 
 arch/x86/include/asm/system.h                   |    2 
 arch/x86/kernel/acpi/cstate.c                   |    9 
 arch/x86/kernel/acpi/sleep.c                    |    2 
 arch/x86/kernel/apic/apic.c                     |    2 
 arch/x86/kernel/cpu/perf_event_amd.c            |    4 
 arch/x86/kernel/cpu/perf_event_intel.c          |    1 
 arch/x86/kernel/hpet.c                          |    2 
 arch/x86/kernel/i8259.c                         |   25 -
 arch/x86/kernel/kprobes.c                       |    2 
 arch/x86/kernel/pci-calgary_64.c                |   17 
 arch/x86/kernel/traps.c                         |   11 
 arch/x86/kvm/mmu.c                              |    5 
 arch/x86/kvm/svm.c                              |   96 +++++
 arch/x86/pci/mrst.c                             |    7 
 arch/x86/power/cpu.c                            |    4 
 block/blk-core.c                                |    2 
 block/cfq-iosched.c                             |   13 
 drivers/acpi/acpica/acevents.h                  |    4 
 drivers/acpi/acpica/achware.h                   |    6 
 drivers/acpi/acpica/evgpe.c                     |   85 ----
 drivers/acpi/acpica/evgpeblk.c                  |   14 
 drivers/acpi/acpica/evxfevnt.c                  |   66 +++
 drivers/acpi/acpica/hwgpe.c                     |   94 +++--
 drivers/acpi/button.c                           |    4 
 drivers/acpi/processor_core.c                   |    2 
 drivers/acpi/processor_idle.c                   |    2 
 drivers/acpi/sleep.c                            |  157 --------
 drivers/acpi/system.c                           |    6 
 drivers/acpi/wakeup.c                           |   20 -
 drivers/ata/ahci.c                              |   10 
 drivers/ata/ata_generic.c                       |   30 +
 drivers/base/firmware_class.c                   |   26 +
 drivers/char/agp/amd64-agp.c                    |   27 -
 drivers/char/ipmi/ipmi_si_intf.c                |    2 
 drivers/char/tpm/tpm.h                          |    1 
 drivers/char/tpm/tpm_tis.c                      |    9 
 drivers/cpufreq/cpufreq.c                       |   11 
 drivers/edac/Kconfig                            |    2 
 drivers/edac/amd64_edac.c                       |   24 -
 drivers/gpu/drm/i915/i915_debugfs.c             |    2 
 drivers/gpu/drm/i915/i915_dma.c                 |    4 
 drivers/gpu/drm/i915/i915_drv.c                 |    1 
 drivers/gpu/drm/i915/i915_drv.h                 |    1 
 drivers/gpu/drm/i915/i915_gem.c                 |   13 
 drivers/gpu/drm/i915/i915_irq.c                 |   16 
 drivers/gpu/drm/i915/i915_reg.h                 |   69 +++
 drivers/gpu/drm/i915/intel_display.c            |   88 +++-
 drivers/gpu/drm/i915/intel_dp.c                 |   53 ++
 drivers/gpu/drm/i915/intel_drv.h                |    1 
 drivers/gpu/drm/radeon/r100.c                   |   61 +--
 drivers/gpu/drm/radeon/r200.c                   |    5 
 drivers/gpu/drm/radeon/r300.c                   |    5 
 drivers/gpu/drm/radeon/radeon_atombios.c        |   20 -
 drivers/gpu/drm/radeon/radeon_connectors.c      |   27 -
 drivers/gpu/drm/radeon/radeon_encoders.c        |    4 
 drivers/gpu/drm/radeon/radeon_legacy_encoders.c |    1 
 drivers/gpu/drm/radeon/radeon_legacy_tv.c       |    4 
 drivers/hid/usbhid/hid-core.c                   |    7 
 drivers/hid/usbhid/usbkbd.c                     |    1 
 drivers/hwmon/coretemp.c                        |   32 +
 drivers/hwmon/i5k_amb.c                         |    6 
 drivers/hwmon/it87.c                            |   22 +
 drivers/hwmon/k10temp.c                         |   14 
 drivers/hwmon/k8temp.c                          |   12 
 drivers/ide/cmd640.c                            |    6 
 drivers/infiniband/ulp/ipoib/ipoib_main.c       |    4 
 drivers/input/joystick/gamecon.c                |    5 
 drivers/input/keyboard/twl4030_keypad.c         |   17 
 drivers/input/serio/i8042-x86ia64io.h           |    7 
 drivers/isdn/capi/kcapi.c                       |    6 
 drivers/isdn/gigaset/asyncdata.c                |   44 --
 drivers/isdn/gigaset/capi.c                     |  433 +++++++++++++++---------
 drivers/isdn/gigaset/common.c                   |   36 -
 drivers/isdn/gigaset/ev-layer.c                 |    4 
 drivers/isdn/gigaset/gigaset.h                  |   38 +-
 drivers/isdn/gigaset/i4l.c                      |   21 +
 drivers/isdn/gigaset/isocdata.c                 |   72 +--
 drivers/md/raid10.c                             |   12 
 drivers/media/dvb/dvb-core/dvb_net.c            |   12 
 drivers/media/dvb/ttpci/Kconfig                 |    5 
 drivers/media/video/cx23885/cx23885-i2c.c       |   12 
 drivers/media/video/cx88/cx88-i2c.c             |   16 
 drivers/media/video/uvc/uvc_driver.c            |   25 +
 drivers/media/video/uvc/uvcvideo.h              |    4 
 drivers/mfd/88pm860x-i2c.c                      |    1 
 drivers/mfd/max8925-i2c.c                       |    2 
 drivers/mmc/host/sdhci-s3c.c                    |   20 +
 drivers/net/3c503.c                             |   42 +-
 drivers/net/bnx2.c                              |   14 
 drivers/net/cpmac.c                             |    3 
 drivers/net/dm9000.c                            |   38 +-
 drivers/net/r8169.c                             |   11 
 drivers/net/sky2.c                              |   20 -
 drivers/net/usb/pegasus.h                       |    2 
 drivers/net/usb/usbnet.c                        |    5 
 drivers/net/virtio_net.c                        |   28 -
 drivers/net/wireless/ath/ath5k/attach.c         |    1 
 drivers/net/wireless/ath/ath9k/initvals.h       |    8 
 drivers/net/wireless/hostap/hostap_cs.c         |   15 
 drivers/net/wireless/hostap/hostap_hw.c         |   13 
 drivers/net/wireless/hostap/hostap_wlan.h       |    2 
 drivers/net/wireless/iwlwifi/iwl-1000.c         |    3 
 drivers/net/wireless/iwlwifi/iwl-3945.c         |    3 
 drivers/net/wireless/iwlwifi/iwl-4965.c         |    1 
 drivers/net/wireless/iwlwifi/iwl-5000.c         |    9 
 drivers/net/wireless/iwlwifi/iwl-6000.c         |    8 
 drivers/net/wireless/iwlwifi/iwl-agn.c          |   16 
 drivers/net/wireless/iwlwifi/iwl-core.c         |   93 +++++
 drivers/net/wireless/iwlwifi/iwl-core.h         |    7 
 drivers/net/wireless/iwlwifi/iwl-dev.h          |   10 
 drivers/net/wireless/iwlwifi/iwl-scan.c         |    1 
 drivers/net/wireless/iwlwifi/iwl-tx.c           |    7 
 drivers/net/wireless/iwlwifi/iwl3945-base.c     |   16 
 drivers/net/wireless/libertas/if_sdio.c         |   22 +
 drivers/net/wireless/p54/p54pci.c               |    2 
 drivers/pci/pci.c                               |    1 
 drivers/pci/pcie/pme/pcie_pme.c                 |   19 -
 drivers/pcmcia/ds.c                             |    3 
 drivers/rtc/rtc-ds1307.c                        |    4 
 drivers/scsi/aacraid/commctrl.c                 |    4 
 drivers/serial/cpm_uart/cpm_uart_core.c         |  143 ++++---
 drivers/spi/spi_mpc8xxx.c                       |   22 -
 drivers/ssb/driver_chipcommon.c                 |    3 
 drivers/ssb/driver_chipcommon_pmu.c             |   17 
 drivers/ssb/pci.c                               |   46 ++
 drivers/ssb/sprom.c                             |   15 
 drivers/usb/core/driver.c                       |   13 
 drivers/usb/core/hub.c                          |    3 
 drivers/usb/core/quirks.c                       |    7 
 drivers/usb/gadget/u_serial.c                   |   16 
 drivers/usb/host/ehci-mxc.c                     |   13 
 drivers/usb/host/xhci-mem.c                     |    5 
 drivers/usb/misc/sisusbvga/sisusb.c             |    5 
 drivers/usb/musb/musb_core.c                    |    9 
 drivers/usb/musb/musb_core.h                    |    6 
 drivers/usb/musb/tusb6010.c                     |   13 
 drivers/usb/serial/ftdi_sio.c                   |    9 
 drivers/usb/serial/ftdi_sio_ids.h               |   15 
 drivers/usb/serial/option.c                     |    4 
 drivers/usb/serial/sierra.c                     |    1 
 drivers/virtio/virtio_pci.c                     |    3 
 drivers/virtio/virtio_ring.c                    |    7 
 fs/btrfs/ioctl.c                                |    4 
 fs/cifs/cifsfs.c                                |    6 
 fs/cifs/dns_resolve.c                           |   69 +++
 fs/cifs/dns_resolve.h                           |    4 
 fs/cifs/inode.c                                 |    4 
 fs/cifs/sess.c                                  |   10 
 fs/ecryptfs/messaging.c                         |   17 
 fs/nfs/nfs4xdr.c                                |    4 
 fs/nfs/super.c                                  |   22 -
 fs/ocfs2/aops.c                                 |   52 --
 fs/ocfs2/file.c                                 |  118 ++++--
 fs/ocfs2/xattr.c                                |   82 ++--
 fs/splice.c                                     |    9 
 fs/sysv/ialloc.c                                |    6 
 fs/xfs/xfs_dfrag.c                              |    5 
 include/acpi/acexcep.h                          |    2 
 include/acpi/actypes.h                          |    1 
 include/acpi/processor.h                        |    3 
 include/linux/acpi.h                            |    1 
 include/linux/compiler-gcc.h                    |   10 
 include/linux/compiler-gcc4.h                   |    4 
 include/linux/ethtool.h                         |    2 
 include/linux/fb.h                              |    4 
 include/linux/firmware.h                        |    1 
 include/linux/mmc/sdio.h                        |    2 
 include/linux/pci_ids.h                         |    1 
 include/linux/ssb/ssb.h                         |    1 
 include/linux/ssb/ssb_driver_chipcommon.h       |    2 
 include/linux/ssb/ssb_regs.h                    |    3 
 include/math-emu/op-common.h                    |    2 
 include/net/sock.h                              |    7 
 kernel/early_res.c                              |    6 
 kernel/futex.c                                  |   17 
 kernel/irq/manage.c                             |    3 
 kernel/module.c                                 |    4 
 kernel/perf_event.c                             |   18 
 kernel/sched.c                                  |    9 
 mm/bootmem.c                                    |   24 +
 mm/page_alloc.c                                 |    8 
 net/bridge/br_fdb.c                             |    6 
 net/core/dev.c                                  |    7 
 net/core/ethtool.c                              |   43 +-
 net/core/neighbour.c                            |    5 
 net/core/skbuff.c                               |    1 
 net/dccp/input.c                                |    6 
 net/ipv4/syncookies.c                           |    2 
 net/ipv4/tcp_output.c                           |   12 
 net/ipv6/addrconf.c                             |    7 
 net/ipv6/ndisc.c                                |    2 
 net/ipv6/netfilter/ip6t_REJECT.c                |    6 
 net/ipv6/route.c                                |    2 
 net/mac80211/scan.c                             |   21 -
 net/mac80211/work.c                             |   28 +
 net/netfilter/ipvs/ip_vs_conn.c                 |    4 
 net/sunrpc/xprtsock.c                           |   38 +-
 scripts/mod/modpost.c                           |    2 
 sound/pci/hda/hda_codec.c                       |   27 +
 sound/pci/hda/hda_codec.h                       |    5 
 sound/pci/hda/patch_hdmi.c                      |   13 
 sound/pci/hda/patch_nvhdmi.c                    |    3 
 sound/pci/hda/patch_realtek.c                   |   23 -
 sound/soc/codecs/wm8776.c                       |    1 
 sound/soc/fsl/mpc5200_dma.h                     |    2 
 tools/perf/util/callchain.h                     |    3 
 virt/kvm/ioapic.c                               |    3 
 224 files changed, 2594 insertions(+), 1337 deletions(-)

Adam Jackson (1):
drm/i915: Make G4X-style PLL search more permissive

Adam Lackorzynski (1):
x86, i8259: Only register sysdev if we have a real 8259 PIC

Alan Stern (3):
USB: don't enable remote wakeup by default
USB: obey the sysfs power/wakeup setting
HID: usbhid: enable remote wakeup for keyboards

Alex Chiang (1):
ACPI: processor: fix processor_physically_present on UP

Alex Deucher (7):
drm/radeon/kms: fix DP after DPMS cycle
drm/radeon/kms: fix shared ddc handling
drm/radeon/kms: fix shared ddc harder
drm/radeon/kms: add quirk for ASUS HD 3600 board drm/radeon/kms: fix possible mis-detection of sideport on rs690/rs740 drm/radeon/kms: fix legacy LVDS dpms sequence drm/radeon/kms: fix legacy tv-out pal mode

Alex,Shi (1):
sched: Fix over-scheduling bug

Andi Kleen (1):
x86: Fix vsyscall on gcc 4.5 with -Os

Andre Osterhues (1):
ecryptfs: Bugfix for error related to ecryptfs_hash_buckets

Andreas Herrmann (1):
hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions

Andrej Gelenberg (1):
revert "[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site)"

Ang Way Chuang (1):
V4L/DVB: dvb-core: Fix ULE decapsulation bug

Anton Vorontsov (3):
powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue) powerpc/cpm1: Fix build with various CONFIG_*_UCODE_PATCH combinations
edac: mpc85xx: fix MPC85xx dependency

Avi Kivity (1):
KVM: MMU: Remove user access when allowing kernel access to gpte.w=0 page

Baruch Siach (1):
dm9000: fix "BUG: spinlock recursion"

Ben Hutchings (6):
usbnet: Set parent device early for netdev_printk()
amd64-agp: Probe unknown AGP devices the right way
ethtool: Fix potential kernel buffer overflow in ETHTOOL_GRXCLSRLALL
ethtool: Fix potential user buffer overflow for ETHTOOL_{G, S}RXFH V4L/DVB: budget: Select correct frontends
3c503: Fix IRQ probing

Bob Copeland (1):

      ath5k: initialize ah->ah_current_channel

Borislav Petkov (1):
amd64_edac: Fix syndrome calculation on K8

Brandon Philips (1):
sky2: enable rx/tx in sky2_phy_reinit()

Brian Haley (1):
IPv6: fix Mobile IPv6 regression

Bruno Randolf (1):
MIPS: MTX-1: Fix PCI on the MeshCube and related boards

Catalin Marinas (2):
kmemleak: Add support for NO_BOOTMEM configurations
ARM: 6201/1: RealView: Do not use outer_sync() on ARM11MPCore boards with L220

Changli Gao (2):
splice: direct_splice_actor() should not use pos in sd
splice: check f_mode for seekable file

Chris Wilson (1):
drm/i915: Hold the spinlock whilst resetting unpin_work along error path

Christoph Fritz (1):
ssb: Handle Netbook devices where the SPROM address is changed

Colin Leitner (1):
USB: ftdi_sio: support for Signalyzer tools based on FTDI chips

Corey Minyard (1):
USB: FTDI: Add support for the RT System VX-7 radio programming cable

Dan Rosenberg (2):
Btrfs: fix checks in BTRFS_IOC_CLONE_RANGE
xfs: prevent swapext from operating on write-only files

Daniel J Blueman (1):
i915: fix lock imbalance on error path...

Daniel Mack (1):
libertas/sdio: 8686: set ECSI bit for 1-bit transfers

Darrick J. Wong (2):
x86, Calgary: Increase max PHB number x86, Calgary: Limit the max PHB number to 256

Dave Airlie (2):
fb: fix colliding defines for fb flags. drm/i915: enable low power render writes on GEN3 hardware.

David Howells (1):
CIFS: Fix a malicious redirect problem in the DNS lookup code

David Woodhouse (1):
firmware_class: fix memory leak - free allocated pages

Dennis Jansen (1):
USB: option: Add support for AMOI Skypephone S2

Dmitry Torokhov (4):
Input: gamecon - reference correct input device in NES mode
Input: gamecon - reference correct pad in gc_psx_command()
Input: twl40300-keypad - fix handling of "all ground" rows
Input: RX51 keymap - fix recent compile breakage

Dominik Brodowski (1):
pcmcia: do not initialize the present flag too late.

Dongdong Deng (1):
serial: cpm_uart: implement the cpm_uart_early_write() function for console poll

Doug Kehn (1):
net/core: neighbour update Oops

Eric Dumazet (3):
tcp: tcp_synack_options() fix
tcp: use correct net ns in cookie_v4_check()
netfilter: ip6t_REJECT: fix a dst leak in ipv6 REJECT

Felipe Balbi (1):
USB: musb: tusb6010: fix compile error with n8x0_defconfig

Florian Fainelli (1):
cpmac: do not leak struct net_device on phy_connect errors

Frederic Weisbecker (2):
perf: Resurrect flat callchains
x86: Send a SIGTRAP for user icebp traps

Grant Likely (1):
powerpc/5200: Fix build error in sound code.

Greg Kroah-Hartman (1):

      Linux 2.6.34.2

Herbert Xu (1):
gro: Fix bogus gso_size on the first fraglist entry

Ilpo Järvinen (1):
tcp: fix crash in tcp_xmit_retransmit_queue

Jacob Pan (1):
x86, pci, mrst: Add extra sanity check in walking the PCI extended cap chain

Jan Beulich (1):

      fix mis-applied upstream commit ac9721f3f54b27a16c7e1afb2481e7ee95a70318

Jason Baron (1):
dynamic debug: move ddebug_remove_module() down into free_module()

Jean Delvare (6):
hwmon: (k8temp) Bypass core swapping on single-core processors
hwmon: (k10temp) Do not blacklist known working CPU models
hwmon: (coretemp) Properly label the sensors
hwmon: (coretemp) Skip duplicate CPU entries
hwmon: (it87) Fix in7 on IT8720F
V4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing

Jeff Layton (2):
cifs: remove bogus first_time check in NTLMv2 session setup code
cifs: don't attempt busy-file rename unless it's in same directory

Jeff Moyer (1):
cfq: Don't allow queue merges for queues that have no process references

Jesse Barnes (7):
drm/i915: don't access FW_BLC_SELF on 965G drm/i915: gen3 page flipping fixes
drm/i915: don't queue flips during a flip pending event drm/i915: handle shared framebuffers when flipping drm/i915: add PANEL_UNLOCK_REGS definition drm/i915: make sure eDP panel is turned on drm/i915: make sure we shut off the panel in eDP configs

Joakim Tjernlund (1):
rtc: fix ds1388 time corruption

Joel Becker (2):
ocfs2: No need to zero pages past i_size.
ocfs2: When zero extending, do it by page.

Joerg Albert (1):
p54pci: add Symbol AP-300 minipci adapters pciid

Joerg Roedel (2):
KVM: SVM: Handle MCEs early in the vmexit process
KVM: SVM: Implement workaround for Erratum 383

Johannes Berg (1):
powerpc: Fix logic error in fixup_irqs

John W. Linville (1):
iwlwifi: cancel scan watchdog in iwl_bg_abort_scan

Jon Povey (2):
USB: g_serial: don't set low_latency flag
USB: g_serial: fix tty cleanup on unload

Julia Lawall (1):
SCSI: aacraid: Eliminate use after free

KAMEZAWA Hiroyuki (1):
hwmon: (i5k_amb) Fix sysfs attribute for lockdep

Kamal Mostafa (1):
Input: i8042 - add Gigabyte Spring Peak to dmi_noloop_table

Keith Packard (1):
drm/i915: Define MI_ARB_STATE bits

Krzysztof Halasa (1):
kbuild: Fix modpost segfault

Laurent Pinchart (3):
V4L/DVB: uvcvideo: Add support for unbranded Arkmicro 18ec:3290 webcams V4L/DVB: uvcvideo: Add support for Packard Bell EasyNote MX52 integrated webcam V4L/DVB: uvcvideo: Add support for V4L2_PIX_FMT_Y16

Len Brown (1):
ACPI: skip checking BM_STS if the BIOS doesn't ask for it

Linus Torvalds (2):
drm/i915: fix hibernation since i915 self-reclaim fixes drm/i915: add 'reclaimable' to i915 self-reclaimable page allocations

Liu Aleaxander (1):
um: os-linux/mem.c needs sys/stat.h

Lubomir Rintel (1):
sysvfs: fix NULL deref. when allocating new inode

Luke Yelavich (1):
ALSA: hda - Add Macbook 5,2 quirk

Marcelo Tosatti (2):

      KVM: MMU: invalidate and flush on spte small->large page size change
      KVM: read apic->irr with ioapic lock held

Marek Szyprowski (1):
sdhci-s3c: add missing remove function

Mark Brown (1):
ASoC: Remove duplicate AUX definition from WM8776

Martin Wilck (1):
ipmi: set schedule_timeout_wait() value back to one

Matthew Garrett (1):
ACPI: Unconditionally set SCI_EN on resume

Maulik Mankad (1):
usb: musb: Fix a bug by making suspend interrupt available in device mode

Michael Chan (1):
bnx2: Fix hang during rmmod bnx2.

Michael S. Tsirkin (4):
virtio-pci: disable msi at startup
virtio: return ENOMEM on out of memory
virtio_net: do not reschedule rx refill forever
virtio: fix oops on OOM

Michal Hocko (1):
futex: futex_find_get_task remove credentails check

Mikael Pettersson (2):
math-emu: correct test for downshifting fraction in _FP_FROM_INT() compiler-gcc.h: gcc-4.5 needs noclone and noinline on __naked functions

Mike McCormack (1):
sky2: Restore multicast after restart

Nicolas Pitre (1):
ARM: 6226/1: fix kprobe bug in ldr instruction emulation

Oliver Neukum (2):
USB: sisusbvga: Fix for USB 3.0
USB: add quirk for Broadcom BT dongle

Ondrej Zary (1):
PM / x86: Save/restore MISC_ENABLE register

Or Gerlitz (1):
IPoIB: Fix world-writable child interface control sysfs attributes

Paul Mortier (1):
USB: adds Artisman USB dongle to list of quirky devices

Prasanna S. Panchamukhi (1):
md: raid10: Fix null pointer dereference in fix_read_error()

Rafael J. Wysocki (7):
PCI/PM: Do not use native PCIe PME by default
ACPI / PM: Do not enable GPEs for system wakeup in advance ACPI / ACPICA: Use helper function for computing GPE masks ACPI / ACPICA: Fix low-level GPE manipulation code ACPI / ACPICA: Avoid writing full enable masks to GPE registers ACPI / ACPICA: Fix GPE initialization
ACPI / ACPICA: Fix sysfs GPE interface

Rajiv Andrade (2):
TPM: ReadPubEK output struct fix
tpm_tis: fix subsequent suspend failures

Reinette Chatre (1):
iwl3945: enable stuck queue detection on 3945

Roland McGrath (1):
x86: kprobes: fix swapped segment registers in kretprobe

Roland Scheidegger (3):
drm/radeon/r200: handle more hw tex coord types drm/radeon/r100/r200: fix calculation of compressed cube maps drm/radeon/kms: CS checker texture fixes for r1xx/r2xx/r3xx

Rusty Russell (1):
virtio_net: fix oom handling on tx

Sarah Sharp (2):
USB: Fix USB3.0 Port Speed Downgrade after port reset
USB: xhci: Set Mult field in endpoint context correctly.

Sergei Shtylyov (3):
cmd640: fix kernel oops in test_irq() method
USB: musb_core: make disconnect and suspend interrupts work again
USB: MUSB: make non-OMAP platforms build with CONFIG_PM=y

Shanyu Zhao (1):
iwlagn: verify flow id in compressed BA packet

Stanislaw Gruszka (2):
mac80211: do not wip out old supported rates
mac80211: fix supported rates IE if AP doesn't give us it's rates

Stefano Stabellini (1):
x86: Do not try to disable hpet if it hasn't been initialized before

Stephane Eranian (1):
perf_events: Fix Intel Westmere event constraints

Stephen Hemminger (2):
IPv6: keep route for tentative address
IPv6: only notify protocols if address is completely gone

Sven Wegener (1):
ipvs: Add missing locking during connection table hashing and unhashing

Tadashi Abe (1):
pegasus: fix USB device ID for ETX-US2

Takashi Iwai (3):
ALSA: hda - Don't check capture source mixer if no ADC is available
ALSA: hda - Restore cleared pin controls on resume
ALSA: hda - Fix pin-detection of Nvidia HDMI

Tao Ma (2):
block: Don't count_vm_events for discard bio in submit_bio.
ocfs2: make xattr extension work with new local alloc reservation.

Tejun Heo (2):
ahci,ata_generic: let ata_generic handle new MBP w/ MCP89
ata_generic: implement ATA_GEN_* flags and force enable DMA on MBP 7,1

Thomas Gleixner (1):

      genirq: Deal with desc->set_type() changing desc->chip

Tilman Schmidt (7):
isdn/capi: make reset_ctr op truly optional isdn/gigaset: remove dummy CAPI method implementations isdn/gigaset: honor CAPI application's buffer size request isdn/gigaset: correct CAPI voice connection encoding isdn/gigaset: correct CAPI DATA_B3 Delivery Confirmation isdn/gigaset: encode HLC and BC together isdn/gigaset: correct CAPI connection state storage

Tim Gardner (1):
hostap: Protect against initialization interrupt

Timo Teräs (2):
r8169: fix random mdio_write failures
r8169: fix mdio_read and update mdio_write according to hw specs

Tom Herbert (1):
net: fix problem in reading sock TX queue

Tony Luck (1):
Fix spinaphore down_spin()

Trond Myklebust (3):
NFSv4: Fix an embarassing typo in encode_attrs()
NFSv4: Ensure that /proc/self/mountinfo displays the minor version number
SUNRPC: Fix a re-entrancy bug in xs_tcp_read_calldir()

Vince Weaver (1):
perf, x86: Fix incorrect branches event on AMD CPUs

Vivek Natarajan (1):
ath9k: Avoid corrupt frames being forwarded to mac80211.

Wey-Yi Guy (1):
iwlwifi: Recover TX flow stall due to stuck queue

Will Deacon (4):
ARM: 6205/1: perf: ensure counter delta is treated as unsigned
sched: Prevent compiler from optimising the sched_avg_update() loop
ARM: 6211/1: atomic ops: fix register constraints for atomic64_add_unless
ARM: 6212/1: atomic ops: add memory constraints to inline asm

Wolfram Sang (2):
USB: ehci-mxc: bail out on transceiver problems
mfd: Remove unneeded and dangerous clearing of clientdata

Yinghai Lu (2):
x86,nobootmem: make alloc_bootmem_node fall back to other node when 32bit numa is used
x86: Fix x2apic preenabled system with kexec

Yoichi Yuasa (1):
net/dccp: expansion of error code size

august huber (1):
USB: Add PID for Sierra 250U to drivers/usb/serial/sierra.c

stephen hemminger (2):
bridge: fdb cleanup runs too often
ipv6: fix NULL reference in proxy neighbor discovery

Ömer Sezgin Ugurlu (1):
USB: option: add support for 1da5:4518

author
#1 lore raw
Documentation/kernel-parameters.txt +3 -1
index 839b21b..c3d1cea 100644
@@ -2013,7 +2013,9 @@ and is between 256 and 4096 characters. It is defined in the file
 			WARNING: Forcing ASPM on may cause system lockups.
 
 	pcie_pme=	[PCIE,PM] Native PCIe PME signaling options:
-		off	Do not use native PCIe PME signaling.
+			Format: {auto|force}[,nomsi]
+		auto	Use native PCIe PME signaling if the BIOS allows the
+			kernel to control PCIe config registers of root ports.
 		force	Use native PCIe PME signaling even if the BIOS refuses
 			to allow the kernel to control the relevant PCIe config
 			registers.
Makefile +1 -1
index 4f2223f..3db48a6 100644
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 34
-EXTRAVERSION = .1
+EXTRAVERSION = .2
 NAME = Sheep on Meth
 
 # *DOCUMENTATION*
arch/arm/include/asm/atomic.h +66 -66

264 lines not on this page · raw message

arch/arm/kernel/kprobes-decode.c +3 -2
index da1f949..8bccbfa 100644
@@ -583,13 +583,14 @@ static void __kprobes emulate_ldr(struct kprobe *p, struct pt_regs *regs)
 {
 	insn_llret_3arg_fn_t *i_fn = (insn_llret_3arg_fn_t *)&p->ainsn.insn[0];
 	kprobe_opcode_t insn = p->opcode;
+	long ppc = (long)p->addr + 8;
 	union reg_pair fnr;
 	int rd = (insn >> 12) & 0xf;
 	int rn = (insn >> 16) & 0xf;
 	int rm = insn & 0xf;
 	long rdv;
-	long rnv  = regs->uregs[rn];
-	long rmv  = regs->uregs[rm]; /* rm/rmv may be invalid, don't care. */
+	long rnv = (rn == 15) ? ppc : regs->uregs[rn];
+	long rmv = (rm == 15) ? ppc : regs->uregs[rm];
 	long cpsr = regs->ARM_cpsr;
 
 	fnr.dr = insnslot_llret_3arg_rflags(rnv, 0, rmv, cpsr, i_fn);
arch/arm/kernel/perf_event.c +1 -1
index 9e70f20..6e46f02 100644
@@ -165,7 +165,7 @@ armpmu_event_update(struct perf_event *event,
 {
 	int shift = 64 - 32;
 	s64 prev_raw_count, new_raw_count;
-	s64 delta;
+	u64 delta;
 
 again:
 	prev_raw_count = atomic64_read(&hwc->prev_count);
arch/arm/mach-omap2/board-rx51-peripherals.c +14 -3
index 4377a4c..fecc24c 100644
@@ -147,6 +147,10 @@ static void __init rx51_add_gpio_keys(void)
 #endif /* CONFIG_KEYBOARD_GPIO || CONFIG_KEYBOARD_GPIO_MODULE */
 
 static int board_keymap[] = {
+	/*
+	 * Note that KEY(x, 8, KEY_XXX) entries represent "entrire row
+	 * connected to the ground" matrix state.
+	 */
 	KEY(0, 0, KEY_Q),
 	KEY(0, 1, KEY_O),
 	KEY(0, 2, KEY_P),
@@ -154,6 +158,7 @@ static int board_keymap[] = {
 	KEY(0, 4, KEY_BACKSPACE),
 	KEY(0, 6, KEY_A),
 	KEY(0, 7, KEY_S),
+
 	KEY(1, 0, KEY_W),
 	KEY(1, 1, KEY_D),
 	KEY(1, 2, KEY_F),
@@ -162,6 +167,7 @@ static int board_keymap[] = {
 	KEY(1, 5, KEY_J),
 	KEY(1, 6, KEY_K),
 	KEY(1, 7, KEY_L),
+
 	KEY(2, 0, KEY_E),
 	KEY(2, 1, KEY_DOT),
 	KEY(2, 2, KEY_UP),
@@ -169,6 +175,8 @@ static int board_keymap[] = {
 	KEY(2, 5, KEY_Z),
 	KEY(2, 6, KEY_X),
 	KEY(2, 7, KEY_C),
+	KEY(2, 8, KEY_F9),
+
 	KEY(3, 0, KEY_R),
 	KEY(3, 1, KEY_V),
 	KEY(3, 2, KEY_B),
@@ -177,20 +185,23 @@ static int board_keymap[] = {
 	KEY(3, 5, KEY_SPACE),
 	KEY(3, 6, KEY_SPACE),
 	KEY(3, 7, KEY_LEFT),
+
 	KEY(4, 0, KEY_T),
 	KEY(4, 1, KEY_DOWN),
 	KEY(4, 2, KEY_RIGHT),
 	KEY(4, 4, KEY_LEFTCTRL),
 	KEY(4, 5, KEY_RIGHTALT),
 	KEY(4, 6, KEY_LEFTSHIFT),
+	KEY(4, 8, KEY_F10),
+
 	KEY(5, 0, KEY_Y),
+	KEY(5, 8, KEY_F11),
+
 	KEY(6, 0, KEY_U),
+
 	KEY(7, 0, KEY_I),
 	KEY(7, 1, KEY_F7),
 	KEY(7, 2, KEY_F8),
-	KEY(0xff, 2, KEY_F9),
-	KEY(0xff, 4, KEY_F10),
-	KEY(0xff, 5, KEY_F11),
 };
 
 static struct matrix_keymap_data board_map_data = {
arch/arm/mach-realview/Kconfig +2 -0
index ee5e392..b4575ae 100644
@@ -18,6 +18,7 @@ config REALVIEW_EB_ARM11MP
 	bool "Support ARM11MPCore tile"
 	depends on MACH_REALVIEW_EB
 	select CPU_V6
+	select ARCH_HAS_BARRIERS if SMP
 	help
 	  Enable support for the ARM11MPCore tile on the Realview platform.
 
@@ -35,6 +36,7 @@ config MACH_REALVIEW_PB11MP
 	select CPU_V6
 	select ARM_GIC
 	select HAVE_PATA_PLATFORM
+	select ARCH_HAS_BARRIERS if SMP
 	help
 	  Include support for the ARM(R) RealView MPCore Platform Baseboard.
 	  PB11MPCore is a platform with an on-board ARM11MPCore and has
arch/arm/mach-realview/include/mach/barriers.h new file +8 -0
new file mode 100644
index 0000000..0c5d749
@@ -0,0 +1,8 @@
+/*
+ * Barriers redefined for RealView ARM11MPCore platforms with L220 cache
+ * controller to work around hardware errata causing the outer_sync()
+ * operation to deadlock the system.
+ */
+#define mb()		dsb()
+#define rmb()		dmb()
+#define wmb()		mb()
arch/ia64/mm/tlb.c +1 -1
index 5dfd916..7b3cdc6 100644
@@ -121,7 +121,7 @@ static inline void down_spin(struct spinaphore *ss)
 	ia64_invala();
 
 	for (;;) {
-		asm volatile ("ld4.c.nc %0=[%1]" : "=r"(serve) : "r"(&ss->serve) : "memory");
+		asm volatile ("ld8.c.nc %0=[%1]" : "=r"(serve) : "r"(&ss->serve) : "memory");
 		if (time_before(t, serve))
 			return;
 		cpu_relax();
arch/mips/alchemy/mtx-1/board_setup.c +3 -5
index a9f0336..52d883d 100644
@@ -67,8 +67,6 @@ static void mtx1_power_off(void)
 
 void __init board_setup(void)
 {
-	alchemy_gpio2_enable();
-
 #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
 	/* Enable USB power switch */
 	alchemy_gpio_direction_output(204, 0);
@@ -117,11 +115,11 @@ mtx1_pci_idsel(unsigned int devsel, int assert)
 
 	if (assert && devsel != 0)
 		/* Suppress signal to Cardbus */
-		gpio_set_value(1, 0);	/* set EXT_IO3 OFF */
+		alchemy_gpio_set_value(1, 0);	/* set EXT_IO3 OFF */
 	else
-		gpio_set_value(1, 1);	/* set EXT_IO3 ON */
+		alchemy_gpio_set_value(1, 1);	/* set EXT_IO3 ON */
 
-	au_sync_udelay(1);
+	udelay(1);
 	return 1;
 }
 
arch/powerpc/include/asm/cpm.h +24 -0
index 0835eb9..e50323f 100644
@@ -7,6 +7,30 @@
 #include <linux/of.h>
 
 /*
+ * SPI Parameter RAM common to QE and CPM.
+ */
+struct spi_pram {
+	__be16	rbase;	/* Rx Buffer descriptor base address */
+	__be16	tbase;	/* Tx Buffer descriptor base address */
+	u8	rfcr;	/* Rx function code */
+	u8	tfcr;	/* Tx function code */
+	__be16	mrblr;	/* Max receive buffer length */
+	__be32	rstate;	/* Internal */
+	__be32	rdp;	/* Internal */
+	__be16	rbptr;	/* Internal */
+	__be16	rbc;	/* Internal */
+	__be32	rxtmp;	/* Internal */
+	__be32	tstate;	/* Internal */
+	__be32	tdp;	/* Internal */
+	__be16	tbptr;	/* Internal */
+	__be16	tbc;	/* Internal */
+	__be32	txtmp;	/* Internal */
+	__be32	res;	/* Tx temp. */
+	__be16  rpbase;	/* Relocation pointer (CPM1 only) */
+	__be16	res1;	/* Reserved */
+};
+
+/*
  * USB Controller pram common to QE and CPM.
  */
 struct usb_ctlr {
arch/powerpc/kernel/irq.c +4 -1
index 066bd31..127e443 100644
@@ -294,7 +294,10 @@ void fixup_irqs(cpumask_t map)
 		cpumask_t mask;
 
 		desc = irq_to_desc(irq);
-		if (desc && desc->status & IRQ_PER_CPU)
+		if (!desc)
+			continue;
+
+		if (desc->status & IRQ_PER_CPU)
 			continue;
 
 		cpumask_and(&mask, desc->affinity, &map);
arch/powerpc/sysdev/micropatch.c +9 -3
index d8d6028..6c56ae9 100644
@@ -16,6 +16,7 @@
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/8xx_immap.h>
+#include <asm/cpm.h>
 #include <asm/cpm1.h>
 
 /*
@@ -625,9 +626,14 @@ cpm_load_patch(cpm8xx_t	*cp)
 {
 	volatile uint		*dp;		/* Dual-ported RAM. */
 	volatile cpm8xx_t	*commproc;
+#if defined(CONFIG_I2C_SPI_UCODE_PATCH) || \
+    defined(CONFIG_I2C_SPI_SMC1_UCODE_PATCH)
 	volatile iic_t		*iip;
-	volatile spi_t		*spp;
+	volatile struct spi_pram *spp;
+#ifdef CONFIG_I2C_SPI_SMC1_UCODE_PATCH
 	volatile smc_uart_t	*smp;
+#endif
+#endif
 	int	i;
 
 	commproc = cp;
@@ -668,8 +674,8 @@ cpm_load_patch(cpm8xx_t	*cp)
 	/* Put SPI above the IIC, also 32-byte aligned.
 	*/
 	i = (RPBASE + sizeof(iic_t) + 31) & ~31;
-	spp = (spi_t *)&commproc->cp_dparam[PROFF_SPI];
-	spp->spi_rpbase = i;
+	spp = (struct spi_pram *)&commproc->cp_dparam[PROFF_SPI];
+	spp->rpbase = i;
 
 # if defined(CONFIG_I2C_SPI_UCODE_PATCH)
 	commproc->cp_cpmcr1 = 0x802a;
arch/um/os-Linux/mem.c +1 -0
index 93a11d7..e696144 100644
@@ -10,6 +10,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <string.h>
+#include <sys/stat.h>
 #include <sys/mman.h>
 #include <sys/param.h>
 #include "init.h"
arch/x86/include/asm/msr-index.h +1 -0
index d86da72..5928fc0 100644
@@ -107,6 +107,7 @@
 #define MSR_AMD64_PATCH_LOADER		0xc0010020
 #define MSR_AMD64_OSVW_ID_LENGTH	0xc0010140
 #define MSR_AMD64_OSVW_STATUS		0xc0010141
+#define MSR_AMD64_DC_CFG		0xc0011022
 #define MSR_AMD64_IBSFETCHCTL		0xc0011030
 #define MSR_AMD64_IBSFETCHLINAD		0xc0011031
 #define MSR_AMD64_IBSFETCHPHYSAD	0xc0011032
arch/x86/include/asm/suspend_32.h +2 -0
index 48dcfa6..fd921c3 100644
@@ -15,6 +15,8 @@ static inline int arch_prepare_suspend(void) { return 0; }
 struct saved_context {
 	u16 es, fs, gs, ss;
 	unsigned long cr0, cr2, cr3, cr4;
+	u64 misc_enable;
+	bool misc_enable_saved;
 	struct desc_ptr gdt;
 	struct desc_ptr idt;
 	u16 ldt;
arch/x86/include/asm/suspend_64.h +2 -0
index 06284f4..8d942af 100644
@@ -27,6 +27,8 @@ struct saved_context {
 	u16 ds, es, fs, gs, ss;
 	unsigned long gs_base, gs_kernel_base, fs_base;
 	unsigned long cr0, cr2, cr3, cr4, cr8;
+	u64 misc_enable;
+	bool misc_enable_saved;
 	unsigned long efer;
 	u16 gdt_pad;
 	u16 gdt_limit;
arch/x86/include/asm/system.h +1 -1
index b8fe48e..e7f4d33 100644
@@ -451,7 +451,7 @@ void stop_this_cpu(void *dummy);
  *
  * (Could use an alternative three way for this if there was one.)
  */
-static inline void rdtsc_barrier(void)
+static __always_inline void rdtsc_barrier(void)
 {
 	alternative(ASM_NOP3, "mfence", X86_FEATURE_MFENCE_RDTSC);
 	alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC);
arch/x86/kernel/acpi/cstate.c +9 -0
index 2e837f5..fb7a5f0 100644
@@ -145,6 +145,15 @@ int acpi_processor_ffh_cstate_probe(unsigned int cpu,
 		percpu_entry->states[cx->index].eax = cx->address;
 		percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK;
 	}
+
+	/*
+	 * For _CST FFH on Intel, if GAS.access_size bit 1 is cleared,
+	 * then we should skip checking BM_STS for this C-state.
+	 * ref: "Intel Processor Vendor-Specific ACPI Interface Specification"
+	 */
+	if ((c->x86_vendor == X86_VENDOR_INTEL) && !(reg->access_size & 0x2))
+		cx->bm_sts_skip = 1;
+
 	return retval;
 }
 EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_probe);
arch/x86/kernel/acpi/sleep.c +0 -2
index f996103..82e5086 100644
@@ -162,8 +162,6 @@ static int __init acpi_sleep_setup(char *str)
 #endif
 		if (strncmp(str, "old_ordering", 12) == 0)
 			acpi_old_suspend_ordering();
-		if (strncmp(str, "sci_force_enable", 16) == 0)
-			acpi_set_sci_en_on_resume();
 		str = strchr(str, ',');
 		if (str != NULL)
 			str += strspn(str, ", \t");
arch/x86/kernel/apic/apic.c +1 -1
index e5a4a1e..93e2a13 100644
@@ -920,7 +920,7 @@ void disable_local_APIC(void)
 	unsigned int value;
 
 	/* APIC hasn't been mapped yet */
-	if (!apic_phys)
+	if (!x2apic_mode && !apic_phys)
 		return;
 
 	clear_local_APIC();
arch/x86/kernel/cpu/perf_event_amd.c +2 -2
index db6f7d4..44addd3 100644
@@ -102,8 +102,8 @@ static const u64 amd_perfmon_event_map[] =
   [PERF_COUNT_HW_INSTRUCTIONS]		= 0x00c0,
   [PERF_COUNT_HW_CACHE_REFERENCES]	= 0x0080,
   [PERF_COUNT_HW_CACHE_MISSES]		= 0x0081,
-  [PERF_COUNT_HW_BRANCH_INSTRUCTIONS]	= 0x00c4,
-  [PERF_COUNT_HW_BRANCH_MISSES]		= 0x00c5,
+  [PERF_COUNT_HW_BRANCH_INSTRUCTIONS]	= 0x00c2,
+  [PERF_COUNT_HW_BRANCH_MISSES]		= 0x00c3,
 };
 
 static u64 amd_pmu_event_map(int hw_event)
arch/x86/kernel/cpu/perf_event_intel.c +1 -0
index 9c794ac..b1ab4a0 100644
@@ -72,6 +72,7 @@ static struct event_constraint intel_westmere_event_constraints[] =
 	INTEL_EVENT_CONSTRAINT(0x51, 0x3), /* L1D */
 	INTEL_EVENT_CONSTRAINT(0x60, 0x1), /* OFFCORE_REQUESTS_OUTSTANDING */
 	INTEL_EVENT_CONSTRAINT(0x63, 0x3), /* CACHE_LOCK_CYCLES */
+	INTEL_EVENT_CONSTRAINT(0xb3, 0x1), /* SNOOPQ_REQUEST_OUTSTANDING */
 	EVENT_CONSTRAINT_END
 };
 
arch/x86/kernel/hpet.c +1 -1
index 23b4ecd..5294b58 100644
@@ -959,7 +959,7 @@ fs_initcall(hpet_late_init);
 
 void hpet_disable(void)
 {
-	if (is_hpet_capable()) {
+	if (is_hpet_capable() && hpet_virt_address) {
 		unsigned int cfg = hpet_readl(HPET_CFG);
 
 		if (hpet_legacy_int_enabled) {
arch/x86/kernel/i8259.c +15 -10
index 7c9f02c..cafa7c8 100644
@@ -276,16 +276,6 @@ static struct sys_device device_i8259A = {
 	.cls	= &i8259_sysdev_class,
 };
 
-static int __init i8259A_init_sysfs(void)
-{
-	int error = sysdev_class_register(&i8259_sysdev_class);
-	if (!error)
-		error = sysdev_register(&device_i8259A);
-	return error;
-}
-
-device_initcall(i8259A_init_sysfs);
-
 static void mask_8259A(void)
 {
 	unsigned long flags;
@@ -407,3 +397,18 @@ struct legacy_pic default_legacy_pic = {
 };
 
 struct legacy_pic *legacy_pic = &default_legacy_pic;
+
+static int __init i8259A_init_sysfs(void)
+{
+	int error;
+
+	if (legacy_pic != &default_legacy_pic)
+		return 0;
+
+	error = sysdev_class_register(&i8259_sysdev_class);
+	if (!error)
+		error = sysdev_register(&device_i8259A);
+	return error;
+}
+
+device_initcall(i8259A_init_sysfs);
arch/x86/kernel/kprobes.c +1 -1
index 1658efd..ac4ed92 100644
@@ -632,8 +632,8 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
 	/* Skip cs, ip, orig_ax and gs. */	\
 	"	subl $16, %esp\n"	\
 	"	pushl %fs\n"		\
-	"	pushl %ds\n"		\
 	"	pushl %es\n"		\
+	"	pushl %ds\n"		\
 	"	pushl %eax\n"		\
 	"	pushl %ebp\n"		\
 	"	pushl %edi\n"		\
arch/x86/kernel/pci-calgary_64.c +10 -7
index fb99f7e..078d4ec 100644
@@ -103,11 +103,16 @@ int use_calgary __read_mostly = 0;
 #define PMR_SOFTSTOPFAULT	0x40000000
 #define PMR_HARDSTOP		0x20000000
 
-#define MAX_NUM_OF_PHBS		8 /* how many PHBs in total? */
-#define MAX_NUM_CHASSIS		8 /* max number of chassis */
-/* MAX_PHB_BUS_NUM is the maximal possible dev->bus->number */
-#define MAX_PHB_BUS_NUM		(MAX_NUM_OF_PHBS * MAX_NUM_CHASSIS * 2)
-#define PHBS_PER_CALGARY	4
+/*
+ * The maximum PHB bus number.
+ * x3950M2 (rare): 8 chassis, 48 PHBs per chassis = 384
+ * x3950M2: 4 chassis, 48 PHBs per chassis        = 192
+ * x3950 (PCIE): 8 chassis, 32 PHBs per chassis   = 256
+ * x3950 (PCIX): 8 chassis, 16 PHBs per chassis   = 128
+ */
+#define MAX_PHB_BUS_NUM		256
+
+#define PHBS_PER_CALGARY	  4
 
 /* register offsets in Calgary's internal register space */
 static const unsigned long tar_offsets[] = {
@@ -1051,8 +1056,6 @@ static int __init calgary_init_one(struct pci_dev *dev)
 	struct iommu_table *tbl;
 	int ret;
 
-	BUG_ON(dev->bus->number >= MAX_PHB_BUS_NUM);
-
 	bbar = busno_to_bbar(dev->bus->number);
 	ret = calgary_setup_tar(dev, bbar);
 	if (ret)
arch/x86/kernel/traps.c +10 -1
index 1168e44..4cfa8fd 100644
@@ -529,6 +529,7 @@ asmlinkage __kprobes struct pt_regs *sync_regs(struct pt_regs *eregs)
 dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code)
 {
 	struct task_struct *tsk = current;
+	int user_icebp = 0;
 	unsigned long dr6;
 	int si_code;
 
@@ -537,6 +538,14 @@ dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code)
 	/* Filter out all the reserved bits which are preset to 1 */
 	dr6 &= ~DR6_RESERVED;
 
+	/*
+	 * If dr6 has no reason to give us about the origin of this trap,
+	 * then it's very likely the result of an icebp/int01 trap.
+	 * User wants a sigtrap for that.
+	 */
+	if (!dr6 && user_mode(regs))
+		user_icebp = 1;
+
 	/* Catch kmemcheck conditions first of all! */
 	if ((dr6 & DR_STEP) && kmemcheck_trap(regs))
 		return;
@@ -578,7 +587,7 @@ dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code)
 		regs->flags &= ~X86_EFLAGS_TF;
 	}
 	si_code = get_si_code(tsk->thread.debugreg6);
-	if (tsk->thread.debugreg6 & (DR_STEP | DR_TRAP_BITS))
+	if (tsk->thread.debugreg6 & (DR_STEP | DR_TRAP_BITS) || user_icebp)
 		send_sigtrap(tsk, regs, error_code, si_code);
 	preempt_conditional_cli(regs);
 
arch/x86/kvm/mmu.c +5 -0
index 62fd8e6..dd3df44 100644
@@ -1837,6 +1837,9 @@ static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
 
 		spte |= PT_WRITABLE_MASK;
 
+		if (!tdp_enabled && !(pte_access & ACC_WRITE_MASK))
+			spte &= ~PT_USER_MASK;
+
 		/*
 		 * Optimization: for pte sync, if spte was writable the hash
 		 * lookup is unnecessary (and expensive). Write protection
@@ -1892,6 +1895,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
 
 			child = page_header(pte & PT64_BASE_ADDR_MASK);
 			mmu_page_remove_parent_pte(child, sptep);
+			__set_spte(sptep, shadow_trap_nonpresent_pte);
+			kvm_flush_remote_tlbs(vcpu->kvm);
 		} else if (pfn != spte_to_pfn(*sptep)) {
 			pgprintk("hfn old %lx new %lx\n",
 				 spte_to_pfn(*sptep), pfn);
arch/x86/kvm/svm.c +95 -1

139 lines not on this page · raw message

arch/x86/pci/mrst.c +4 -3
index 1cdc02c..1699ea8 100644
@@ -66,8 +66,9 @@ static int fixed_bar_cap(struct pci_bus *bus, unsigned int devfn)
 					  devfn, pos, 4, &pcie_cap))
 			return 0;
 
-		if (pcie_cap == 0xffffffff)
-			return 0;
+		if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 ||
+			PCI_EXT_CAP_ID(pcie_cap) == 0xffff)
+			break;
 
 		if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) {
 			raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number,
@@ -76,7 +77,7 @@ static int fixed_bar_cap(struct pci_bus *bus, unsigned int devfn)
 				return pos;
 		}
 
-		pos = pcie_cap >> 20;
+		pos = PCI_EXT_CAP_NEXT(pcie_cap);
 	}
 
 	return 0;
arch/x86/power/cpu.c +4 -0
index 0a979f3..1290ba5 100644
@@ -105,6 +105,8 @@ static void __save_processor_state(struct saved_context *ctxt)
 	ctxt->cr4 = read_cr4();
 	ctxt->cr8 = read_cr8();
 #endif
+	ctxt->misc_enable_saved = !rdmsrl_safe(MSR_IA32_MISC_ENABLE,
+					       &ctxt->misc_enable);
 }
 
 /* Needed by apm.c */
@@ -152,6 +154,8 @@ static void fix_processor_context(void)
  */
 static void __restore_processor_state(struct saved_context *ctxt)
 {
+	if (ctxt->misc_enable_saved)
+		wrmsrl(MSR_IA32_MISC_ENABLE, ctxt->misc_enable);
 	/*
 	 * control registers
 	 */
block/blk-core.c +1 -1
index 9fe174d..dd9795d 100644
@@ -1556,7 +1556,7 @@ void submit_bio(int rw, struct bio *bio)
 	 * If it's a regular read/write or a barrier with data attached,
 	 * go through the normal accounting stuff before submission.
 	 */
-	if (bio_has_data(bio)) {
+	if (bio_has_data(bio) && !(rw & (1 << BIO_RW_DISCARD))) {
 		if (rw & WRITE) {
 			count_vm_events(PGPGOUT, count);
 		} else {
block/cfq-iosched.c +11 -2
index 002c0ce..4fab7c9 100644
@@ -1930,6 +1930,15 @@ static void cfq_setup_merge(struct cfq_queue *cfqq, struct cfq_queue *new_cfqq)
 	int process_refs, new_process_refs;
 	struct cfq_queue *__cfqq;
 
+	/*
+	 * If there are no process references on the new_cfqq, then it is
+	 * unsafe to follow the ->new_cfqq chain as other cfqq's in the
+	 * chain may have dropped their last reference (not just their
+	 * last process reference).
+	 */
+	if (!cfqq_process_refs(new_cfqq))
+		return;
+
 	/* Avoid a circular list and skip interim queue merges */
 	while ((__cfqq = new_cfqq->new_cfqq)) {
 		if (__cfqq == cfqq)
@@ -1938,17 +1947,17 @@ static void cfq_setup_merge(struct cfq_queue *cfqq, struct cfq_queue *new_cfqq)
 	}
 
 	process_refs = cfqq_process_refs(cfqq);
+	new_process_refs = cfqq_process_refs(new_cfqq);
 	/*
 	 * If the process for the cfqq has gone away, there is no
 	 * sense in merging the queues.
 	 */
-	if (process_refs == 0)
+	if (process_refs == 0 || new_process_refs == 0)
 		return;
 
 	/*
 	 * Merge in the direction of the lesser amount of work.
 	 */
-	new_process_refs = cfqq_process_refs(new_cfqq);
 	if (new_process_refs >= process_refs) {
 		cfqq->new_cfqq = new_cfqq;
 		atomic_add(process_refs, &new_cfqq->ref);
drivers/acpi/acpica/acevents.h +0 -4
index 3e6ba99..af38dfb 100644
@@ -78,10 +78,6 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node *node,
 acpi_status
 acpi_ev_update_gpe_enable_masks(struct acpi_gpe_event_info *gpe_event_info);
 
-acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info);
-
-acpi_status acpi_ev_disable_gpe(struct acpi_gpe_event_info *gpe_event_info);
-
 struct acpi_gpe_event_info *acpi_ev_get_gpe_event_info(acpi_handle gpe_device,
 						       u32 gpe_number);
 
drivers/acpi/acpica/achware.h +5 -1
index 5900f13..3239158 100644
@@ -90,7 +90,11 @@ acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width);
 /*
  * hwgpe - GPE support
  */
-acpi_status acpi_hw_low_disable_gpe(struct acpi_gpe_event_info *gpe_event_info);
+u32 acpi_hw_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info,
+			     struct acpi_gpe_register_info *gpe_register_info);
+
+acpi_status
+acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u8 action);
 
 acpi_status
 acpi_hw_write_gpe_enable_reg(struct acpi_gpe_event_info *gpe_event_info);
drivers/acpi/acpica/evgpe.c +5 -80

121 lines not on this page · raw message

drivers/acpi/acpica/evgpeblk.c +13 -1
index fef7219..a439850 100644
@@ -1023,6 +1023,19 @@ acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device,
 			/* Get the info block for this particular GPE */
 			gpe_index = (acpi_size)i * ACPI_GPE_REGISTER_WIDTH + j;
 			gpe_event_info = &gpe_block->event_info[gpe_index];
+			gpe_number = gpe_index + gpe_block->block_base_number;
+
+			/*
+			 * If the GPE has already been enabled for runtime
+			 * signaling, make sure it remains enabled, but do not
+			 * increment its reference counter.
+			 */
+			if (gpe_event_info->runtime_count) {
+				acpi_set_gpe(gpe_device, gpe_number,
+						ACPI_GPE_ENABLE);
+				gpe_enabled_count++;
+				continue;
+			}
 
 			if (gpe_event_info->flags & ACPI_GPE_CAN_WAKE) {
 				wake_gpe_count++;
@@ -1033,7 +1046,6 @@ acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device,
 			if (!(gpe_event_info->flags & ACPI_GPE_DISPATCH_METHOD))
 				continue;
 
-			gpe_number = gpe_index + gpe_block->block_base_number;
 			status = acpi_enable_gpe(gpe_device, gpe_number,
 						ACPI_GPE_TYPE_RUNTIME);
 			if (ACPI_FAILURE(status))
drivers/acpi/acpica/evxfevnt.c +58 -8

106 lines not on this page · raw message

drivers/acpi/acpica/hwgpe.c +65 -29

157 lines not on this page · raw message

drivers/acpi/button.c +2 -2
index fd51c4a..7d857da 100644
@@ -425,7 +425,7 @@ static int acpi_button_add(struct acpi_device *device)
 		/* Button's GPE is run-wake GPE */
 		acpi_enable_gpe(device->wakeup.gpe_device,
 				device->wakeup.gpe_number,
-				ACPI_GPE_TYPE_WAKE_RUN);
+				ACPI_GPE_TYPE_RUNTIME);
 		device->wakeup.run_wake_count++;
 		device->wakeup.state.enabled = 1;
 	}
@@ -449,7 +449,7 @@ static int acpi_button_remove(struct acpi_device *device, int type)
 	if (device->wakeup.flags.valid) {
 		acpi_disable_gpe(device->wakeup.gpe_device,
 				device->wakeup.gpe_number,
-				ACPI_GPE_TYPE_WAKE_RUN);
+				ACPI_GPE_TYPE_RUNTIME);
 		device->wakeup.run_wake_count--;
 		device->wakeup.state.enabled = 0;
 	}
drivers/acpi/processor_core.c +1 -1
index 5128435..e9699aa 100644
@@ -223,7 +223,7 @@ static bool processor_physically_present(acpi_handle handle)
 	type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0;
 	cpuid = acpi_get_cpuid(handle, type, acpi_id);
 
-	if (cpuid == -1)
+	if ((cpuid == -1) && (num_possible_cpus() > 1))
 		return false;
 
 	return true;
drivers/acpi/processor_idle.c +1 -1
index 5939e7f..346b758 100644
@@ -955,7 +955,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev,
 	if (acpi_idle_suspend)
 		return(acpi_idle_enter_c1(dev, state));
 
-	if (acpi_idle_bm_check()) {
+	if (!cx->bm_sts_skip && acpi_idle_bm_check()) {
 		if (dev->safe_state) {
 			dev->last_state = dev->safe_state;
 			return dev->safe_state->enter(dev, dev->safe_state);
drivers/acpi/sleep.c +2 -155

193 lines not on this page · raw message

drivers/acpi/system.c +4 -2
index 4aaf249..4a89ae4 100644
@@ -389,10 +389,12 @@ static ssize_t counter_set(struct kobject *kobj,
 	if (index < num_gpes) {
 		if (!strcmp(buf, "disable\n") &&
 				(status & ACPI_EVENT_FLAG_ENABLED))
-			result = acpi_set_gpe(handle, index, ACPI_GPE_DISABLE);
+			result = acpi_disable_gpe(handle, index,
+						ACPI_GPE_TYPE_RUNTIME);
 		else if (!strcmp(buf, "enable\n") &&
 				!(status & ACPI_EVENT_FLAG_ENABLED))
-			result = acpi_set_gpe(handle, index, ACPI_GPE_ENABLE);
+			result = acpi_enable_gpe(handle, index,
+						ACPI_GPE_TYPE_RUNTIME);
 		else if (!strcmp(buf, "clear\n") &&
 				(status & ACPI_EVENT_FLAG_SET))
 			result = acpi_clear_gpe(handle, index, ACPI_NOT_ISR);
drivers/acpi/wakeup.c +7 -13
index 4b9d339..388747a 100644
@@ -64,16 +64,13 @@ void acpi_enable_wakeup_device(u8 sleep_state)
 		struct acpi_device *dev =
 			container_of(node, struct acpi_device, wakeup_list);
 
-		if (!dev->wakeup.flags.valid)
-			continue;
-
-		if ((!dev->wakeup.state.enabled && !dev->wakeup.prepare_count)
+		if (!dev->wakeup.flags.valid || !dev->wakeup.state.enabled
 		    || sleep_state > (u32) dev->wakeup.sleep_state)
 			continue;
 
 		/* The wake-up power should have been enabled already. */
-		acpi_set_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
-				ACPI_GPE_ENABLE);
+		acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
+				ACPI_GPE_TYPE_WAKE);
 	}
 }
 
@@ -96,6 +93,8 @@ void acpi_disable_wakeup_device(u8 sleep_state)
 		    || (sleep_state > (u32) dev->wakeup.sleep_state))
 			continue;
 
+		acpi_disable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
+				ACPI_GPE_TYPE_WAKE);
 		acpi_disable_wakeup_device_power(dev);
 	}
 }
@@ -109,13 +108,8 @@ int __init acpi_wakeup_device_init(void)
 		struct acpi_device *dev = container_of(node,
 						       struct acpi_device,
 						       wakeup_list);
-		/* In case user doesn't load button driver */
-		if (!dev->wakeup.flags.always_enabled ||
-		    dev->wakeup.state.enabled)
-			continue;
- 		acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
- 				ACPI_GPE_TYPE_WAKE);
-		dev->wakeup.state.enabled = 1;
+		if (dev->wakeup.flags.always_enabled)
+			dev->wakeup.state.enabled = 1;
 	}
 	mutex_unlock(&acpi_device_lock);
 	return 0;
drivers/ata/ahci.c +10 -0
index 5326af2..c12aa05 100644
@@ -3249,6 +3249,16 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	if (pdev->vendor == PCI_VENDOR_ID_MARVELL && !marvell_enable)
 		return -ENODEV;
 
+	/*
+	 * For some reason, MCP89 on MacBook 7,1 doesn't work with
+	 * ahci, use ata_generic instead.
+	 */
+	if (pdev->vendor == PCI_VENDOR_ID_NVIDIA &&
+	    pdev->device == PCI_DEVICE_ID_NVIDIA_NFORCE_MCP89_SATA &&
+	    pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE &&
+	    pdev->subsystem_device == 0xcb89)
+		return -ENODEV;
+
 	/* Promise's PDC42819 is a SAS/SATA controller that has an AHCI mode.
 	 * At the moment, we can only use the AHCI mode. Let the users know
 	 * that for SAS drives they're out of luck.
drivers/ata/ata_generic.c +24 -6
index 33fb614..ae65cf8 100644
@@ -32,6 +32,11 @@
  *	A generic parallel ATA driver using libata
  */
 
+enum {
+	ATA_GEN_CLASS_MATCH		= (1 << 0),
+	ATA_GEN_FORCE_DMA		= (1 << 1),
+};
+
 /**
  *	generic_set_mode	-	mode setting
  *	@link: link to set up
@@ -46,13 +51,17 @@
 static int generic_set_mode(struct ata_link *link, struct ata_device **unused)
 {
 	struct ata_port *ap = link->ap;
+	const struct pci_device_id *id = ap->host->private_data;
 	int dma_enabled = 0;
 	struct ata_device *dev;
 	struct pci_dev *pdev = to_pci_dev(ap->host->dev);
 
-	/* Bits 5 and 6 indicate if DMA is active on master/slave */
-	if (ap->ioaddr.bmdma_addr)
+	if (id->driver_data & ATA_GEN_FORCE_DMA) {
+		dma_enabled = 0xff;
+	} else if (ap->ioaddr.bmdma_addr) {
+		/* Bits 5 and 6 indicate if DMA is active on master/slave */
 		dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS);
+	}
 
 	if (pdev->vendor == PCI_VENDOR_ID_CENATEK)
 		dma_enabled = 0xFF;
@@ -126,7 +135,7 @@ static int ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id
 	const struct ata_port_info *ppi[] = { &info, NULL };
 
 	/* Don't use the generic entry unless instructed to do so */
-	if (id->driver_data == 1 && all_generic_ide == 0)
+	if ((id->driver_data & ATA_GEN_CLASS_MATCH) && all_generic_ide == 0)
 		return -ENODEV;
 
 	/* Devices that need care */
@@ -155,7 +164,7 @@ static int ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id
 			return rc;
 		pcim_pin_device(dev);
 	}
-	return ata_pci_sff_init_one(dev, ppi, &generic_sht, NULL, 0);
+	return ata_pci_sff_init_one(dev, ppi, &generic_sht, (void *)id, 0);
 }
 
 static struct pci_device_id ata_generic[] = {
@@ -167,7 +176,15 @@ static struct pci_device_id ata_generic[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_HINT,   PCI_DEVICE_ID_HINT_VXPROII_IDE), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_VIA,    PCI_DEVICE_ID_VIA_82C561), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_OPTI,   PCI_DEVICE_ID_OPTI_82C558), },
-	{ PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), },
+	{ PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE),
+	  .driver_data = ATA_GEN_FORCE_DMA },
+	/*
+	 * For some reason, MCP89 on MacBook 7,1 doesn't work with
+	 * ahci, use ata_generic instead.
+	 */
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP89_SATA,
+	  PCI_VENDOR_ID_APPLE, 0xcb89,
+	  .driver_data = ATA_GEN_FORCE_DMA },
 #if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE)
 	{ PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2),  },
@@ -175,7 +192,8 @@ static struct pci_device_id ata_generic[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_5),  },
 #endif	
 	/* Must come last. If you add entries adjust this table appropriately */
-	{ PCI_ANY_ID,		PCI_ANY_ID,			   PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 1},
+	{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL),
+	  .driver_data = ATA_GEN_CLASS_MATCH },
 	{ 0, },
 };
 
drivers/base/firmware_class.c +20 -6
index 985da11..4c70b91 100644
@@ -130,6 +130,17 @@ static ssize_t firmware_loading_show(struct device *dev,
 	return sprintf(buf, "%d\n", loading);
 }
 
+static void firmware_free_data(const struct firmware *fw)
+{
+	int i;
+	vunmap(fw->data);
+	if (fw->pages) {
+		for (i = 0; i < PFN_UP(fw->size); i++)
+			__free_page(fw->pages[i]);
+		kfree(fw->pages);
+	}
+}
+
 /* Some architectures don't have PAGE_KERNEL_RO */
 #ifndef PAGE_KERNEL_RO
 #define PAGE_KERNEL_RO PAGE_KERNEL
@@ -162,21 +173,21 @@ static ssize_t firmware_loading_store(struct device *dev,
 			mutex_unlock(&fw_lock);
 			break;
 		}
-		vfree(fw_priv->fw->data);
-		fw_priv->fw->data = NULL;
+		firmware_free_data(fw_priv->fw);
+		memset(fw_priv->fw, 0, sizeof(struct firmware));
+		/* If the pages are not owned by 'struct firmware' */
 		for (i = 0; i < fw_priv->nr_pages; i++)
 			__free_page(fw_priv->pages[i]);
 		kfree(fw_priv->pages);
 		fw_priv->pages = NULL;
 		fw_priv->page_array_size = 0;
 		fw_priv->nr_pages = 0;
-		fw_priv->fw->size = 0;
 		set_bit(FW_STATUS_LOADING, &fw_priv->status);
 		mutex_unlock(&fw_lock);
 		break;
 	case 0:
 		if (test_bit(FW_STATUS_LOADING, &fw_priv->status)) {
-			vfree(fw_priv->fw->data);
+			vunmap(fw_priv->fw->data);
 			fw_priv->fw->data = vmap(fw_priv->pages,
 						 fw_priv->nr_pages,
 						 0, PAGE_KERNEL_RO);
@@ -184,7 +195,10 @@ static ssize_t firmware_loading_store(struct device *dev,
 				dev_err(dev, "%s: vmap() failed\n", __func__);
 				goto err;
 			}
-			/* Pages will be freed by vfree() */
+			/* Pages are now owned by 'struct firmware' */
+			fw_priv->fw->pages = fw_priv->pages;
+			fw_priv->pages = NULL;
+
 			fw_priv->page_array_size = 0;
 			fw_priv->nr_pages = 0;
 			complete(&fw_priv->completion);
@@ -578,7 +592,7 @@ release_firmware(const struct firmware *fw)
 			if (fw->data == builtin->data)
 				goto free_fw;
 		}
-		vfree(fw->data);
+		firmware_free_data(fw);
 	free_fw:
 		kfree(fw);
 	}
drivers/char/agp/amd64-agp.c +15 -12
index fd50ead..93f56d6 100644
@@ -499,6 +499,10 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
 	u8 cap_ptr;
 	int err;
 
+	/* The Highlander principle */
+	if (agp_bridges_found)
+		return -ENODEV;
+
 	cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP);
 	if (!cap_ptr)
 		return -ENODEV;
@@ -562,6 +566,8 @@ static void __devexit agp_amd64_remove(struct pci_dev *pdev)
 			   amd64_aperture_sizes[bridge->aperture_size_idx].size);
 	agp_remove_bridge(bridge);
 	agp_put_bridge(bridge);
+
+	agp_bridges_found--;
 }
 
 #ifdef CONFIG_PM
@@ -709,6 +715,11 @@ static struct pci_device_id agp_amd64_pci_table[] = {
 
 MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table);
 
+static DEFINE_PCI_DEVICE_TABLE(agp_amd64_pci_promisc_table) = {
+	{ PCI_DEVICE_CLASS(0, 0) },
+	{ }
+};
+
 static struct pci_driver agp_amd64_pci_driver = {
 	.name		= "agpgart-amd64",
 	.id_table	= agp_amd64_pci_table,
@@ -734,7 +745,6 @@ int __init agp_amd64_init(void)
 		return err;
 
 	if (agp_bridges_found == 0) {
-		struct pci_dev *dev;
 		if (!agp_try_unsupported && !agp_try_unsupported_boot) {
 			printk(KERN_INFO PFX "No supported AGP bridge found.\n");
 #ifdef MODULE
@@ -750,17 +760,10 @@ int __init agp_amd64_init(void)
 			return -ENODEV;
 
 		/* Look for any AGP bridge */
-		dev = NULL;
-		err = -ENODEV;
-		for_each_pci_dev(dev) {
-			if (!pci_find_capability(dev, PCI_CAP_ID_AGP))
-				continue;
-			/* Only one bridge supported right now */
-			if (agp_amd64_probe(dev, NULL) == 0) {
-				err = 0;
-				break;
-			}
-		}
+		agp_amd64_pci_driver.id_table = agp_amd64_pci_promisc_table;
+		err = driver_attach(&agp_amd64_pci_driver.driver);
+		if (err == 0 && agp_bridges_found == 0)
+			err = -ENODEV;
 	}
 	return err;
 }
drivers/char/ipmi/ipmi_si_intf.c +1 -1
index 9ead05d..7198491 100644
@@ -1003,7 +1003,7 @@ static int ipmi_thread(void *data)
 		else if (smi_result == SI_SM_CALL_WITH_DELAY && busy_wait)
 			schedule();
 		else
-			schedule_timeout_interruptible(0);
+			schedule_timeout_interruptible(1);
 	}
 	return 0;
 }
drivers/char/tpm/tpm.h +1 -0
index 8e00b4d..792868d 100644
@@ -224,6 +224,7 @@ struct	tpm_readpubek_params_out {
 	u8	algorithm[4];
 	u8	encscheme[2];
 	u8	sigscheme[2];
+	__be32	paramsize;
 	u8	parameters[12]; /*assuming RSA*/
 	__be32	keysize;
 	u8	modulus[256];
drivers/char/tpm/tpm_tis.c +8 -1
index 9434599..2c53754 100644
@@ -623,7 +623,14 @@ static int tpm_tis_pnp_suspend(struct pnp_dev *dev, pm_message_t msg)
 
 static int tpm_tis_pnp_resume(struct pnp_dev *dev)
 {
-	return tpm_pm_resume(&dev->dev);
+	struct tpm_chip *chip = pnp_get_drvdata(dev);
+	int ret;
+
+	ret = tpm_pm_resume(&dev->dev);
+	if (!ret)
+		tpm_continue_selftest(chip);
+
+	return ret;
 }
 
 static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = {
drivers/cpufreq/cpufreq.c +1 -10
index 75d293e..634757f 100644
@@ -1774,17 +1774,8 @@ static int __cpufreq_set_policy(struct cpufreq_policy *data,
 			dprintk("governor switch\n");
 
 			/* end old governor */
-			if (data->governor) {
-				/*
-				 * Need to release the rwsem around governor
-				 * stop due to lock dependency between
-				 * cancel_delayed_work_sync and the read lock
-				 * taken in the delayed work handler.
-				 */
-				unlock_policy_rwsem_write(data->cpu);
+			if (data->governor)
 				__cpufreq_governor(data, CPUFREQ_GOV_STOP);
-				lock_policy_rwsem_write(data->cpu);
-			}
 
 			/* start new governor */
 			data->governor = policy->governor;
drivers/edac/Kconfig +1 -1
index 55c9c59..d3b21a5 100644
@@ -196,7 +196,7 @@ config EDAC_I5100
 
 config EDAC_MPC85XX
 	tristate "Freescale MPC83xx / MPC85xx"
-	depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || MPC85xx)
+	depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx)
 	help
 	  Support for error detection and correction on the Freescale
 	  MPC8349, MPC8560, MPC8540, MPC8548
drivers/edac/amd64_edac.c +12 -12
index cf17dbb..ac9f798 100644
@@ -1958,20 +1958,20 @@ static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome)
 	u32 value = 0;
 	int err_sym = 0;
 
-	amd64_read_pci_cfg(pvt->misc_f3_ctl, 0x180, &value);
+	if (boot_cpu_data.x86 == 0x10) {
 
-	/* F3x180[EccSymbolSize]=1, x8 symbols */
-	if (boot_cpu_data.x86 == 0x10 &&
-	    boot_cpu_data.x86_model > 7 &&
-	    value & BIT(25)) {
-		err_sym = decode_syndrome(syndrome, x8_vectors,
-					  ARRAY_SIZE(x8_vectors), 8);
-		return map_err_sym_to_channel(err_sym, 8);
-	} else {
-		err_sym = decode_syndrome(syndrome, x4_vectors,
-					  ARRAY_SIZE(x4_vectors), 4);
-		return map_err_sym_to_channel(err_sym, 4);
+		amd64_read_pci_cfg(pvt->misc_f3_ctl, 0x180, &value);
+
+		/* F3x180[EccSymbolSize]=1 => x8 symbols */
+		if (boot_cpu_data.x86_model > 7 &&
+		    value & BIT(25)) {
+			err_sym = decode_syndrome(syndrome, x8_vectors,
+						  ARRAY_SIZE(x8_vectors), 8);
+			return map_err_sym_to_channel(err_sym, 8);
+		}
 	}
+	err_sym = decode_syndrome(syndrome, x4_vectors, ARRAY_SIZE(x4_vectors), 4);
+	return map_err_sym_to_channel(err_sym, 4);
 }
 
 /*
drivers/gpu/drm/i915/i915_debugfs.c +1 -1
index a0b8447..6e7e47d 100644
@@ -618,7 +618,7 @@ static int i915_sr_status(struct seq_file *m, void *unused)
 	drm_i915_private_t *dev_priv = dev->dev_private;
 	bool sr_enabled = false;
 
-	if (IS_I965G(dev) || IS_I945G(dev) || IS_I945GM(dev))
+	if (IS_I965GM(dev) || IS_I945G(dev) || IS_I945GM(dev))
 		sr_enabled = I915_READ(FW_BLC_SELF) & FW_BLC_SELF_EN;
 	else if (IS_I915GM(dev))
 		sr_enabled = I915_READ(INSTPM) & INSTPM_SELF_EN;
drivers/gpu/drm/i915/i915_dma.c +4 -0
index c3cfafc..9550230 100644
@@ -1488,6 +1488,10 @@ static int i915_load_modeset_init(struct drm_device *dev,
 	if (ret)
 		goto destroy_ringbuffer;
 
+	/* IIR "flip pending" bit means done if this bit is set */
+	if (IS_GEN3(dev) && (I915_READ(ECOSKPD) & ECO_FLIP_DONE))
+		dev_priv->flip_pending_is_done = true;
+
 	intel_modeset_init(dev);
 
 	ret = drm_irq_install(dev);
drivers/gpu/drm/i915/i915_drv.c +1 -0
index cc03537..f5fee1b 100644
@@ -341,6 +341,7 @@ int i965_reset(struct drm_device *dev, u8 flags)
 		}
 	} else {
 		DRM_ERROR("Error occurred. Don't know how to reset this chip.\n");
+		mutex_unlock(&dev->struct_mutex);
 		return -ENODEV;
 	}
 
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 6e47900..aa7a5a8 100644
@@ -611,6 +611,7 @@ typedef struct drm_i915_private {
 	struct drm_crtc *plane_to_crtc_mapping[2];
 	struct drm_crtc *pipe_to_crtc_mapping[2];
 	wait_queue_head_t pending_flip_queue;
+	bool flip_pending_is_done;
 
 	/* Reclocking support */
 	bool render_reclock_avail;
drivers/gpu/drm/i915/i915_gem.c +12 -1
index 691701a..37a9ea3 100644
@@ -2312,8 +2312,9 @@ i915_gem_object_get_pages(struct drm_gem_object *obj,
 	mapping = inode->i_mapping;
 	for (i = 0; i < page_count; i++) {
 		page = read_cache_page_gfp(mapping, i,
-					   mapping_gfp_mask (mapping) |
+					   GFP_HIGHUSER |
 					   __GFP_COLD |
+					   __GFP_RECLAIMABLE |
 					   gfpmask);
 		if (IS_ERR(page))
 			goto err_pages;
@@ -4984,6 +4985,16 @@ i915_gem_load(struct drm_device *dev)
 	list_add(&dev_priv->mm.shrink_list, &shrink_list);
 	spin_unlock(&shrink_list_lock);
 
+	/* On GEN3 we really need to make sure the ARB C3 LP bit is set */
+	if (IS_GEN3(dev)) {
+		u32 tmp = I915_READ(MI_ARB_STATE);
+		if (!(tmp & MI_ARB_C3_LP_WRITE_ENABLE)) {
+			/* arb state is a masked write, so set bit + bit in mask */
+			tmp = MI_ARB_C3_LP_WRITE_ENABLE | (MI_ARB_C3_LP_WRITE_ENABLE << MI_ARB_MASK_SHIFT);
+			I915_WRITE(MI_ARB_STATE, tmp);
+		}
+	}
+
 	/* Old X drivers will take 0-2 for front, back, depth buffers */
 	if (!drm_core_check_feature(dev, DRIVER_MODESET))
 		dev_priv->fence_reg_start = 3;
drivers/gpu/drm/i915/i915_irq.c +12 -4
index df6a9cd..2976ce9 100644
@@ -932,22 +932,30 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
 			mod_timer(&dev_priv->hangcheck_timer, jiffies + DRM_I915_HANGCHECK_PERIOD);
 		}
 
-		if (iir & I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT)
+		if (iir & I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT) {
 			intel_prepare_page_flip(dev, 0);
+			if (dev_priv->flip_pending_is_done)
+				intel_finish_page_flip_plane(dev, 0);
+		}
 
-		if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT)
+		if (iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) {
+			if (dev_priv->flip_pending_is_done)
+				intel_finish_page_flip_plane(dev, 1);
 			intel_prepare_page_flip(dev, 1);
+		}
 
 		if (pipea_stats & vblank_status) {
 			vblank++;
 			drm_handle_vblank(dev, 0);
-			intel_finish_page_flip(dev, 0);
+			if (!dev_priv->flip_pending_is_done)
+				intel_finish_page_flip(dev, 0);
 		}
 
 		if (pipeb_stats & vblank_status) {
 			vblank++;
 			drm_handle_vblank(dev, 1);
-			intel_finish_page_flip(dev, 1);
+			if (!dev_priv->flip_pending_is_done)
+				intel_finish_page_flip(dev, 1);
 		}
 
 		if ((pipeb_stats & I915_LEGACY_BLC_EVENT_STATUS) ||
drivers/gpu/drm/i915/i915_reg.h +69 -0

93 lines not on this page · raw message

drivers/gpu/drm/i915/intel_display.c +65 -23

170 lines not on this page · raw message

drivers/gpu/drm/i915/intel_dp.c +51 -2

71 lines not on this page · raw message

drivers/gpu/drm/i915/intel_drv.h +1 -0
index e302537..7a1ad65 100644
@@ -219,6 +219,7 @@ extern int intel_framebuffer_create(struct drm_device *dev,
 
 extern void intel_prepare_page_flip(struct drm_device *dev, int plane);
 extern void intel_finish_page_flip(struct drm_device *dev, int pipe);
+extern void intel_finish_page_flip_plane(struct drm_device *dev, int plane);
 
 extern void intel_setup_overlay(struct drm_device *dev);
 extern void intel_cleanup_overlay(struct drm_device *dev);
drivers/gpu/drm/radeon/r100.c +34 -27

91 lines not on this page · raw message

drivers/gpu/drm/radeon/r200.c +5 -0
index 85617c3..0266d72 100644
@@ -415,6 +415,8 @@ int r200_packet0_check(struct radeon_cs_parser *p,
 		/* 2D, 3D, CUBE */
 		switch (tmp) {
 		case 0:
+		case 3:
+		case 4:
 		case 5:
 		case 6:
 		case 7:
@@ -450,6 +452,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,
 		case R200_TXFORMAT_RGB332:
 		case R200_TXFORMAT_Y8:
 			track->textures[i].cpp = 1;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R200_TXFORMAT_AI88:
 		case R200_TXFORMAT_ARGB1555:
@@ -461,6 +464,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,
 		case R200_TXFORMAT_DVDU88:
 		case R200_TXFORMAT_AVYU4444:
 			track->textures[i].cpp = 2;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R200_TXFORMAT_ARGB8888:
 		case R200_TXFORMAT_RGBA8888:
@@ -468,6 +472,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,
 		case R200_TXFORMAT_BGR111110:
 		case R200_TXFORMAT_LDVDU8888:
 			track->textures[i].cpp = 4;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R200_TXFORMAT_DXT1:
 			track->textures[i].cpp = 1;
drivers/gpu/drm/radeon/r300.c +5 -0
index a5ff807..48c537c1 100644
@@ -881,6 +881,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
 		case R300_TX_FORMAT_Y4X4:
 		case R300_TX_FORMAT_Z3Y3X2:
 			track->textures[i].cpp = 1;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R300_TX_FORMAT_X16:
 		case R300_TX_FORMAT_Y8X8:
@@ -892,6 +893,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
 		case R300_TX_FORMAT_B8G8_B8G8:
 		case R300_TX_FORMAT_G8R8_G8B8:
 			track->textures[i].cpp = 2;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R300_TX_FORMAT_Y16X16:
 		case R300_TX_FORMAT_Z11Y11X10:
@@ -902,14 +904,17 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
 		case R300_TX_FORMAT_FL_I32:
 		case 0x1e:
 			track->textures[i].cpp = 4;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R300_TX_FORMAT_W16Z16Y16X16:
 		case R300_TX_FORMAT_FL_R16G16B16A16:
 		case R300_TX_FORMAT_FL_I32A32:
 			track->textures[i].cpp = 8;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R300_TX_FORMAT_FL_R32G32B32A32:
 			track->textures[i].cpp = 16;
+			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
 			break;
 		case R300_TX_FORMAT_DXT1:
 			track->textures[i].cpp = 1;
drivers/gpu/drm/radeon/radeon_atombios.c +18 -2
index 1a4fa9b..1bac9ee 100644
@@ -280,6 +280,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
 		}
 	}
 
+	/* ASUS HD 3600 board lists the DVI port as HDMI */
+	if ((dev->pdev->device == 0x9598) &&
+	    (dev->pdev->subsystem_vendor == 0x1043) &&
+	    (dev->pdev->subsystem_device == 0x01e4)) {
+		if (*connector_type == DRM_MODE_CONNECTOR_HDMIA) {
+			*connector_type = DRM_MODE_CONNECTOR_DVII;
+		}
+	}
+
 	/* ASUS HD 3450 board lists the DVI port as HDMI */
 	if ((dev->pdev->device == 0x95C5) &&
 	    (dev->pdev->subsystem_vendor == 0x1043) &&
@@ -1021,8 +1030,15 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev)
 				      data_offset);
 		switch (crev) {
 		case 1:
-			if (igp_info->info.ucMemoryType & 0xf0)
-				return true;
+			/* AMD IGPS */
+			if ((rdev->family == CHIP_RS690) ||
+			    (rdev->family == CHIP_RS740)) {
+				if (igp_info->info.ulBootUpMemoryClock)
+					return true;
+			} else {
+				if (igp_info->info.ucMemoryType & 0xf0)
+					return true;
+			}
 			break;
 		case 2:
 			if (igp_info->info_2.ucMemoryType & 0x0f)
drivers/gpu/drm/radeon/radeon_connectors.c +12 -15
index 4559a53..5d9b4e1 100644
@@ -771,30 +771,27 @@ static enum drm_connector_status radeon_dvi_detect(struct drm_connector *connect
 			} else
 				ret = connector_status_connected;
 
-			/* multiple connectors on the same encoder with the same ddc line
-			 * This tends to be HDMI and DVI on the same encoder with the
-			 * same ddc line.  If the edid says HDMI, consider the HDMI port
-			 * connected and the DVI port disconnected.  If the edid doesn't
-			 * say HDMI, vice versa.
+			/* This gets complicated.  We have boards with VGA + HDMI with a
+			 * shared DDC line and we have boards with DVI-D + HDMI with a shared
+			 * DDC line.  The latter is more complex because with DVI<->HDMI adapters
+			 * you don't really know what's connected to which port as both are digital.
 			 */
 			if (radeon_connector->shared_ddc && (ret == connector_status_connected)) {
 				struct drm_device *dev = connector->dev;
+				struct radeon_device *rdev = dev->dev_private;
 				struct drm_connector *list_connector;
 				struct radeon_connector *list_radeon_connector;
 				list_for_each_entry(list_connector, &dev->mode_config.connector_list, head) {
 					if (connector == list_connector)
 						continue;
 					list_radeon_connector = to_radeon_connector(list_connector);
-					if (radeon_connector->devices == list_radeon_connector->devices) {
-						if (drm_detect_hdmi_monitor(radeon_connector->edid)) {
-							if (connector->connector_type == DRM_MODE_CONNECTOR_DVID) {
-								kfree(radeon_connector->edid);
-								radeon_connector->edid = NULL;
-								ret = connector_status_disconnected;
-							}
-						} else {
-							if ((connector->connector_type == DRM_MODE_CONNECTOR_HDMIA) ||
-							    (connector->connector_type == DRM_MODE_CONNECTOR_HDMIB)) {
+					if (list_radeon_connector->shared_ddc &&
+					    (list_radeon_connector->ddc_bus->rec.i2c_id ==
+					     radeon_connector->ddc_bus->rec.i2c_id)) {
+						/* cases where both connectors are digital */
+						if (list_connector->connector_type != DRM_MODE_CONNECTOR_VGA) {
+							/* hpd is our only option in this case */
+							if (!radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) {
 								kfree(radeon_connector->edid);
 								radeon_connector->edid = NULL;
 								ret = connector_status_disconnected;
drivers/gpu/drm/radeon/radeon_encoders.c +2 -2
index c5ddaf5..de052de 100644
@@ -1075,6 +1075,8 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode)
 	if (is_dig) {
 		switch (mode) {
 		case DRM_MODE_DPMS_ON:
+			if (!ASIC_IS_DCE4(rdev))
+				atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT, 0, 0);
 			if (atombios_get_encoder_mode(encoder) == ATOM_ENCODER_MODE_DP) {
 				struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
 
@@ -1082,8 +1084,6 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode)
 				if (ASIC_IS_DCE4(rdev))
 					atombios_dig_encoder_setup(encoder, ATOM_ENCODER_CMD_DP_VIDEO_ON);
 			}
-			if (!ASIC_IS_DCE4(rdev))
-				atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT, 0, 0);
 			break;
 		case DRM_MODE_DPMS_STANDBY:
 		case DRM_MODE_DPMS_SUSPEND:
drivers/gpu/drm/radeon/radeon_legacy_encoders.c +1 -0
index 0274abe..d844392 100644
@@ -108,6 +108,7 @@ static void radeon_legacy_lvds_dpms(struct drm_encoder *encoder, int mode)
 		udelay(panel_pwr_delay * 1000);
 		WREG32(RADEON_LVDS_GEN_CNTL, lvds_gen_cntl);
 		WREG32_PLL(RADEON_PIXCLKS_CNTL, pixclks_cntl);
+		udelay(panel_pwr_delay * 1000);
 		break;
 	}
 
drivers/gpu/drm/radeon/radeon_legacy_tv.c +2 -2
index f2ed27c..0320403 100644
@@ -642,8 +642,8 @@ void radeon_legacy_tv_mode_set(struct drm_encoder *encoder,
 	}
 	flicker_removal = (tmp + 500) / 1000;
 
-	if (flicker_removal < 2)
-		flicker_removal = 2;
+	if (flicker_removal < 3)
+		flicker_removal = 3;
 	for (i = 0; i < ARRAY_SIZE(SLOPE_limit); ++i) {
 		if (flicker_removal == SLOPE_limit[i])
 			break;
drivers/hid/usbhid/hid-core.c +5 -2
index 7b85b69..5242684 100644
@@ -1019,12 +1019,15 @@ static int usbhid_start(struct hid_device *hid)
 	/* Some keyboards don't work until their LEDs have been set.
 	 * Since BIOSes do set the LEDs, it must be safe for any device
 	 * that supports the keyboard boot protocol.
+	 * In addition, enable remote wakeup by default for all keyboard
+	 * devices supporting the boot protocol.
 	 */
 	if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT &&
 			interface->desc.bInterfaceProtocol ==
-				USB_INTERFACE_PROTOCOL_KEYBOARD)
+				USB_INTERFACE_PROTOCOL_KEYBOARD) {
 		usbhid_set_leds(hid);
-
+		device_set_wakeup_enable(&dev->dev, 1);
+	}
 	return 0;
 
 fail:
drivers/hid/usbhid/usbkbd.c +1 -0
index f843443..b2fd0b0 100644
@@ -313,6 +313,7 @@ static int usb_kbd_probe(struct usb_interface *iface,
 		goto fail2;
 
 	usb_set_intfdata(iface, kbd);
+	device_set_wakeup_enable(&dev->dev, 1);
 	return 0;
 
 fail2:	
drivers/hwmon/coretemp.c +30 -2
index e9b7fbc..48f4b7f 100644
@@ -53,6 +53,7 @@ struct coretemp_data {
 	struct mutex update_lock;
 	const char *name;
 	u32 id;
+	u16 core_id;
 	char valid;		/* zero until following fields are valid */
 	unsigned long last_updated;	/* in jiffies */
 	int temp;
@@ -75,7 +76,7 @@ static ssize_t show_name(struct device *dev, struct device_attribute
 	if (attr->index == SHOW_NAME)
 		ret = sprintf(buf, "%s\n", data->name);
 	else	/* show label */
-		ret = sprintf(buf, "Core %d\n", data->id);
+		ret = sprintf(buf, "Core %d\n", data->core_id);
 	return ret;
 }
 
@@ -255,6 +256,9 @@ static int __devinit coretemp_probe(struct platform_device *pdev)
 	}
 
 	data->id = pdev->id;
+#ifdef CONFIG_SMP
+	data->core_id = c->cpu_core_id;
+#endif
 	data->name = "coretemp";
 	mutex_init(&data->update_lock);
 
@@ -352,6 +356,10 @@ struct pdev_entry {
 	struct list_head list;
 	struct platform_device *pdev;
 	unsigned int cpu;
+#ifdef CONFIG_SMP
+	u16 phys_proc_id;
+	u16 cpu_core_id;
+#endif
 };
 
 static LIST_HEAD(pdev_list);
@@ -362,6 +370,22 @@ static int __cpuinit coretemp_device_add(unsigned int cpu)
 	int err;
 	struct platform_device *pdev;
 	struct pdev_entry *pdev_entry;
+#ifdef CONFIG_SMP
+	struct cpuinfo_x86 *c = &cpu_data(cpu);
+#endif
+
+	mutex_lock(&pdev_list_mutex);
+
+#ifdef CONFIG_SMP
+	/* Skip second HT entry of each core */
+	list_for_each_entry(pdev_entry, &pdev_list, list) {
+		if (c->phys_proc_id == pdev_entry->phys_proc_id &&
+		    c->cpu_core_id == pdev_entry->cpu_core_id) {
+			err = 0;	/* Not an error */
+			goto exit;
+		}
+	}
+#endif
 
 	pdev = platform_device_alloc(DRVNAME, cpu);
 	if (!pdev) {
@@ -385,7 +409,10 @@ static int __cpuinit coretemp_device_add(unsigned int cpu)
 
 	pdev_entry->pdev = pdev;
 	pdev_entry->cpu = cpu;
-	mutex_lock(&pdev_list_mutex);
+#ifdef CONFIG_SMP
+	pdev_entry->phys_proc_id = c->phys_proc_id;
+	pdev_entry->cpu_core_id = c->cpu_core_id;
+#endif
 	list_add_tail(&pdev_entry->list, &pdev_list);
 	mutex_unlock(&pdev_list_mutex);
 
@@ -396,6 +423,7 @@ exit_device_free:
 exit_device_put:
 	platform_device_put(pdev);
 exit:
+	mutex_unlock(&pdev_list_mutex);
 	return err;
 }
 
drivers/hwmon/i5k_amb.c +6 -0
index e880e2c..9379834 100644
@@ -289,6 +289,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.attr.mode = S_IRUGO;
 			iattr->s_attr.dev_attr.show = show_label;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
@@ -303,6 +304,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.attr.mode = S_IRUGO;
 			iattr->s_attr.dev_attr.show = show_amb_temp;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
@@ -318,6 +320,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.show = show_amb_min;
 			iattr->s_attr.dev_attr.store = store_amb_min;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
@@ -333,6 +336,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.show = show_amb_mid;
 			iattr->s_attr.dev_attr.store = store_amb_mid;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
@@ -348,6 +352,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.show = show_amb_max;
 			iattr->s_attr.dev_attr.store = store_amb_max;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
@@ -362,6 +367,7 @@ static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
 			iattr->s_attr.dev_attr.attr.mode = S_IRUGO;
 			iattr->s_attr.dev_attr.show = show_amb_alarm;
 			iattr->s_attr.index = k;
+			sysfs_attr_init(&iattr->s_attr.dev_attr.attr);
 			res = device_create_file(&pdev->dev,
 						 &iattr->s_attr.dev_attr);
 			if (res)
drivers/hwmon/it87.c +22 -0
index 5be09c0..25763d2 100644
@@ -80,6 +80,13 @@ superio_inb(int reg)
 	return inb(VAL);
 }
 
+static inline void
+superio_outb(int reg, int val)
+{
+	outb(reg, REG);
+	outb(val, VAL);
+}
+
 static int superio_inw(int reg)
 {
 	int val;
@@ -1517,6 +1524,21 @@ static int __init it87_find(unsigned short *address,
 			sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);
 
 		reg = superio_inb(IT87_SIO_PINX2_REG);
+		/*
+		 * The IT8720F has no VIN7 pin, so VCCH should always be
+		 * routed internally to VIN7 with an internal divider.
+		 * Curiously, there still is a configuration bit to control
+		 * this, which means it can be set incorrectly. And even
+		 * more curiously, many boards out there are improperly
+		 * configured, even though the IT8720F datasheet claims
+		 * that the internal routing of VCCH to VIN7 is the default
+		 * setting. So we force the internal routing in this case.
+		 */
+		if (sio_data->type == it8720 && !(reg & (1 << 1))) {
+			reg |= (1 << 1);
+			superio_outb(IT87_SIO_PINX2_REG, reg);
+			pr_notice("it87: Routing internal VCCH to in7\n");
+		}
 		if (reg & (1 << 0))
 			pr_info("it87: in3 is VCC (+5V)\n");
 		if (reg & (1 << 1))
drivers/hwmon/k10temp.c +12 -2
index 099a213..da5a240 100644
@@ -112,11 +112,21 @@ static bool __devinit has_erratum_319(struct pci_dev *pdev)
 	if (pkg_type != CPUID_PKGTYPE_AM2R2_AM3)
 		return false;
 
-	/* Differentiate between AM2+ (bad) and AM3 (good) */
+	/* DDR3 memory implies socket AM3, which is good */
 	pci_bus_read_config_dword(pdev->bus,
 				  PCI_DEVFN(PCI_SLOT(pdev->devfn), 2),
 				  REG_DCT0_CONFIG_HIGH, &reg_dram_cfg);
-	return !(reg_dram_cfg & DDR3_MODE);
+	if (reg_dram_cfg & DDR3_MODE)
+		return false;
+
+	/*
+	 * Unfortunately it is possible to run a socket AM3 CPU with DDR2
+	 * memory. We blacklist all the cores which do exist in socket AM2+
+	 * format. It still isn't perfect, as RB-C2 cores exist in both AM2+
+	 * and AM3 formats, but that's the best we can do.
+	 */
+	return boot_cpu_data.x86_model < 4 ||
+	       (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2);
 }
 
 static int __devinit k10temp_probe(struct pci_dev *pdev,
drivers/hwmon/k8temp.c +7 -5
index 0ceb6d6..8bdf80d 100644
@@ -120,7 +120,7 @@ static ssize_t show_temp(struct device *dev,
 	int temp;
 	struct k8temp_data *data = k8temp_update_device(dev);
 
-	if (data->swap_core_select)
+	if (data->swap_core_select && (data->sensorsp & SEL_CORE))
 		core = core ? 0 : 1;
 
 	temp = TEMP_FROM_REG(data->temp[core][place]) + data->temp_offset;
@@ -180,11 +180,13 @@ static int __devinit k8temp_probe(struct pci_dev *pdev,
 		}
 
 		if ((model >= 0x69) &&
-		    !(model == 0xc1 || model == 0x6c || model == 0x7c)) {
+		    !(model == 0xc1 || model == 0x6c || model == 0x7c ||
+		      model == 0x6b || model == 0x6f || model == 0x7f)) {
 			/*
-			 * RevG desktop CPUs (i.e. no socket S1G1 parts)
-			 * need additional offset, otherwise reported
-			 * temperature is below ambient temperature
+			 * RevG desktop CPUs (i.e. no socket S1G1 or
+			 * ASB1 parts) need additional offset,
+			 * otherwise reported temperature is below
+			 * ambient temperature
 			 */
 			data->temp_offset = 21000;
 		}
drivers/ide/cmd640.c +2 -4
index d2b8b27..cb10201 100644
@@ -633,12 +633,10 @@ static void __init cmd640_init_dev(ide_drive_t *drive)
 
 static int cmd640_test_irq(ide_hwif_t *hwif)
 {
-	struct pci_dev *dev	= to_pci_dev(hwif->dev);
 	int irq_reg		= hwif->channel ? ARTTIM23 : CFR;
-	u8  irq_stat, irq_mask	= hwif->channel ? ARTTIM23_IDE23INTR :
+	u8  irq_mask		= hwif->channel ? ARTTIM23_IDE23INTR :
 						  CFR_IDE01INTR;
-
-	pci_read_config_byte(dev, irq_reg, &irq_stat);
+	u8  irq_stat		= get_cmd640_reg(irq_reg);
 
 	return (irq_stat & irq_mask) ? 1 : 0;
 }
drivers/infiniband/ulp/ipoib/ipoib_main.c +2 -2
index df3eb8c..b4b2257 100644
@@ -1163,7 +1163,7 @@ static ssize_t create_child(struct device *dev,
 
 	return ret ? ret : count;
 }
-static DEVICE_ATTR(create_child, S_IWUGO, NULL, create_child);
+static DEVICE_ATTR(create_child, S_IWUSR, NULL, create_child);
 
 static ssize_t delete_child(struct device *dev,
 			    struct device_attribute *attr,
@@ -1183,7 +1183,7 @@ static ssize_t delete_child(struct device *dev,
 	return ret ? ret : count;
 
 }
-static DEVICE_ATTR(delete_child, S_IWUGO, NULL, delete_child);
+static DEVICE_ATTR(delete_child, S_IWUSR, NULL, delete_child);
 
 int ipoib_add_pkey_attr(struct net_device *dev)
 {
drivers/input/joystick/gamecon.c +2 -3
index fbd62ab..0ffaf2c 100644
@@ -89,7 +89,6 @@ struct gc_pad {
 struct gc {
 	struct pardevice *pd;
 	struct gc_pad pads[GC_MAX_DEVICES];
-	struct input_dev *dev[GC_MAX_DEVICES];
 	struct timer_list timer;
 	int pad_count[GC_MAX];
 	int used;
@@ -387,7 +386,7 @@ static void gc_nes_process_packet(struct gc *gc)
 	for (i = 0; i < GC_MAX_DEVICES; i++) {
 
 		pad = &gc->pads[i];
-		dev = gc->dev[i];
+		dev = pad->dev;
 		s = gc_status_bit[i];
 
 		switch (pad->type) {
@@ -579,7 +578,7 @@ static void gc_psx_command(struct gc *gc, int b, unsigned char *data)
 		read = parport_read_status(port) ^ 0x80;
 
 		for (j = 0; j < GC_MAX_DEVICES; j++) {
-			struct gc_pad *pad = &gc->pads[i];
+			struct gc_pad *pad = &gc->pads[j];
 
 			if (pad->type == GC_PSX || pad->type == GC_DDR)
 				data[j] |= (read & gc_status_bit[j]) ? (1 << i) : 0;
drivers/input/keyboard/twl4030_keypad.c +11 -6
index 7aa59e0..fb16b5e 100644
@@ -51,8 +51,12 @@
  */
 #define TWL4030_MAX_ROWS	8	/* TWL4030 hard limit */
 #define TWL4030_MAX_COLS	8
-#define TWL4030_ROW_SHIFT	3
-#define TWL4030_KEYMAP_SIZE	(TWL4030_MAX_ROWS * TWL4030_MAX_COLS)
+/*
+ * Note that we add space for an extra column so that we can handle
+ * row lines connected to the gnd (see twl4030_col_xlate()).
+ */
+#define TWL4030_ROW_SHIFT	4
+#define TWL4030_KEYMAP_SIZE	(TWL4030_MAX_ROWS << TWL4030_ROW_SHIFT)
 
 struct twl4030_keypad {
 	unsigned short	keymap[TWL4030_KEYMAP_SIZE];
@@ -182,7 +186,7 @@ static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state)
 	return ret;
 }
 
-static int twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state)
+static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state)
 {
 	int i;
 	u16 check = 0;
@@ -191,12 +195,12 @@ static int twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state)
 		u16 col = key_state[i];
 
 		if ((col & check) && hweight16(col) > 1)
-			return 1;
+			return true;
 
 		check |= col;
 	}
 
-	return 0;
+	return false;
 }
 
 static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all)
@@ -225,7 +229,8 @@ static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all)
 		if (!changed)
 			continue;
 
-		for (col = 0; col < kp->n_cols; col++) {
+		/* Extra column handles "all gnd" rows */
+		for (col = 0; col < kp->n_cols + 1; col++) {
 			int code;
 
 			if (!(changed & (1 << col)))
drivers/input/serio/i8042-x86ia64io.h +7 -0
index ead0494..c452504 100644
@@ -166,6 +166,13 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = {
 		},
 	},
 	{
+		/* Gigabyte Spring Peak - defines wrong chassis type */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Spring Peak"),
+		},
+	},
+	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv9700"),
drivers/isdn/capi/kcapi.c +6 -0
index bd00dce..bde3c88 100644
@@ -1147,6 +1147,12 @@ load_unlock_out:
 		if (ctr->state == CAPI_CTR_DETECTED)
 			goto reset_unlock_out;
 
+		if (ctr->reset_ctr == NULL) {
+			printk(KERN_DEBUG "kcapi: reset: no reset function\n");
+			retval = -ESRCH;
+			goto reset_unlock_out;
+		}
+
 		ctr->reset_ctr(ctr);
 
 		retval = wait_on_ctr_state(ctr, CAPI_CTR_DETECTED);
drivers/isdn/gigaset/asyncdata.c +11 -33

41 lines not on this page · raw message

drivers/isdn/gigaset/capi.c +287 -146

433 lines not on this page · raw message

drivers/isdn/gigaset/common.c +12 -24
index f6f45f2..5d4befb 100644

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

drivers/isdn/gigaset/ev-layer.c +1 -3
index 206c380..ceaef9a 100644

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

drivers/isdn/gigaset/gigaset.h +26 -12
index 05947f9..8738b08 100644

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

drivers/isdn/gigaset/i4l.c +21 -0
index c22e5ac..f01c3c2 100644

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

drivers/isdn/gigaset/isocdata.c +25 -47

72 lines not on this page · raw message

drivers/md/raid10.c +6 -6
index ad945cc..c819165 100644

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

drivers/media/dvb/dvb-core/dvb_net.c +11 -1
index 441c064..1e93097 100644

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

drivers/media/dvb/ttpci/Kconfig +3 -2
index d8d4214..32a7ec6 100644

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

drivers/media/video/cx23885/cx23885-i2c.c +11 -1
index 4172cb3..d4746e0 100644

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

drivers/media/video/cx88/cx88-i2c.c +15 -1
index ee1ca39..fb39f11 100644

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

drivers/media/video/uvc/uvc_driver.c +24 -1
index 86ff8c1..838b56f 100644

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

drivers/media/video/uvc/uvcvideo.h +3 -1
index 2bba059..d1f8840 100644

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

drivers/mfd/88pm860x-i2c.c +0 -1
index 4a6e718..e55f3d2 100644

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

drivers/mfd/max8925-i2c.c +0 -2
index d9fd878..e73f3f5 100644

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

drivers/mmc/host/sdhci-s3c.c +20 -0
index 2136794..9bf1ddf 100644

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

drivers/net/3c503.c +30 -12

42 lines not on this page · raw message

drivers/net/bnx2.c +13 -1
index ac90a38..4872a80 100644

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

drivers/net/cpmac.c +2 -1
index 60777fd..e456886 100644

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

drivers/net/dm9000.c +27 -11
index 7f9960f..3556b2c 100644

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

drivers/net/r8169.c +11 -0
index dd8106f..17382c3 100644

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

drivers/net/sky2.c +15 -5
index 088c797..e89875b 100644

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

drivers/net/usb/pegasus.h +1 -1
index b90d876..29f5211 100644

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

drivers/net/usb/usbnet.c +3 -2
index 7177abc..e491064 100644

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

drivers/net/virtio_net.c +16 -12
index b0577dd..f5b5d74 100644

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

drivers/net/wireless/ath/ath5k/attach.c +1 -0
index dc0786c..6a6f37e 100644

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

drivers/net/wireless/ath/ath9k/initvals.h +4 -4
index 8a3bf3a..7203f00 100644

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

drivers/net/wireless/hostap/hostap_cs.c +13 -2
index a36501d..f33e18e 100644

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

drivers/net/wireless/hostap/hostap_hw.c +13 -0
index d707328..9cad06a 100644

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

drivers/net/wireless/hostap/hostap_wlan.h +1 -1
index 3d23891..1ba33be 100644

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

drivers/net/wireless/iwlwifi/iwl-1000.c +3 -0
index 3bf2e6e..89dc401 100644

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

drivers/net/wireless/iwlwifi/iwl-3945.c +3 -0
index 0728054..c92fbe4 100644

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

drivers/net/wireless/iwlwifi/iwl-4965.c +1 -0
index 8972166..aa49a6e 100644

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

drivers/net/wireless/iwlwifi/iwl-5000.c +9 -0
index e476acb..d05fad4 100644

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

drivers/net/wireless/iwlwifi/iwl-6000.c +8 -0
index 92b3e64..0c965cd 100644

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

drivers/net/wireless/iwlwifi/iwl-agn.c +16 -0
index bdff565..07a9a02 100644

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

drivers/net/wireless/iwlwifi/iwl-core.c +93 -0

93 lines not on this page · raw message

drivers/net/wireless/iwlwifi/iwl-core.h +7 -0
index 36940a9..9076576 100644

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

drivers/net/wireless/iwlwifi/iwl-dev.h +10 -0
index ef1720a..447e14b 100644

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

drivers/net/wireless/iwlwifi/iwl-scan.c +1 -0
index 661e36b..a8299a3 100644

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

drivers/net/wireless/iwlwifi/iwl-tx.c +7 -0
index c243df7..e950153 100644

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

drivers/net/wireless/iwlwifi/iwl3945-base.c +16 -0
index b74a56c..84c040e 100644

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

drivers/net/wireless/libertas/if_sdio.c +22 -0
index 7d1a3c6..cd464a2 100644

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

drivers/net/wireless/p54/p54pci.c +2 -0
index c24067f..e1e3972 100644

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

drivers/pci/pci.c +1 -0
index 3749912..8abe983 100644

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

drivers/pci/pcie/pme/pcie_pme.c +13 -6
index aac285a..d672a0a 100644

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

drivers/pcmcia/ds.c +1 -2
index 6df5dff..ff78e26 100644

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

drivers/rtc/rtc-ds1307.c +2 -2
index c4ec5c1..a01bbe2 100644

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

drivers/scsi/aacraid/commctrl.c +2 -2
index 9c0c911..1a5bf57 100644

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

drivers/serial/cpm_uart/cpm_uart_core.c +79 -64

143 lines not on this page · raw message

drivers/spi/spi_mpc8xxx.c +0 -22
index 14d0523..2503d59 100644

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

drivers/ssb/driver_chipcommon.c +3 -0
index 9681536..bbf1cb2 100644

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

drivers/ssb/driver_chipcommon_pmu.c +7 -10
index 3d55124..5732bb2 100644

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

drivers/ssb/pci.c +40 -6

46 lines not on this page · raw message

drivers/ssb/sprom.c +15 -0
index f2f920f..4f7cc8d 100644

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

drivers/usb/core/driver.c +3 -10
index 9d02dc6..212b5e8 100644

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

drivers/usb/core/hub.c +2 -1
index 0940ccd..3e28f92 100644

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

drivers/usb/core/quirks.c +7 -0
index f073c5c..df5dda7 100644

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

drivers/usb/gadget/u_serial.c +3 -13
index 16bdf77..3e8dcb5 100644

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

drivers/usb/host/ehci-mxc.c +10 -3
index ead59f4..9ea5229 100644

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

drivers/usb/host/xhci-mem.c +3 -2
index d64f572..e560dd4 100644

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

drivers/usb/misc/sisusbvga/sisusb.c +3 -2
index aae95a0..cf13923 100644

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

drivers/usb/musb/musb_core.c +3 -6
index 705cc4a..8891241 100644

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

drivers/usb/musb/musb_core.h +4 -2
index ac17b00..e1a0685 100644

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

drivers/usb/musb/tusb6010.c +0 -13
index 60d3938..ab776a8 100644

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

drivers/usb/serial/ftdi_sio.c +9 -0
index 3f5676e..239d327 100644

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

drivers/usb/serial/ftdi_sio_ids.h +15 -0
index 75482cb..9a9355c 100644

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

drivers/usb/serial/option.c +4 -0
index 8b2e612..ee6ecf3 100644

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

drivers/usb/serial/sierra.c +1 -0
index ef0bdb0..d47b56e 100644

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

drivers/virtio/virtio_pci.c +3 -0
index 24747ae..1e42da2 100644

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

drivers/virtio/virtio_ring.c +4 -3
index 0f90634..dd4370b 100644

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

fs/btrfs/ioctl.c +2 -2
index 97a9783..e9d0535 100644

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

fs/cifs/cifsfs.c +3 -3
index ad235d6..4cf4787 100644

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

fs/cifs/dns_resolve.c +69 -0

69 lines not on this page · raw message

fs/cifs/dns_resolve.h +2 -2
index 966e928..26b9eaa 100644

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

fs/cifs/inode.c +4 -0
index 29b9ea2..49b47c3 100644

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

fs/cifs/sess.c +1 -9
index 7c3fd74..c7d78c0 100644

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

fs/ecryptfs/messaging.c +9 -8
index 2d8dbce..46c4dd8 100644

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

fs/nfs/nfs4xdr.c +2 -2
index 38f3b58..63ec2b7 100644

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

fs/nfs/super.c +18 -4
index b4148fc..f35316c 100644

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

fs/ocfs2/aops.c +18 -34

52 lines not on this page · raw message

fs/ocfs2/file.c +84 -34

118 lines not on this page · raw message

fs/ocfs2/xattr.c +49 -33

82 lines not on this page · raw message

fs/splice.c +4 -5
index 9313b61..eb602cb 100644

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

fs/sysv/ialloc.c +5 -1
index 241e976..f2764e2 100644

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

fs/xfs/xfs_dfrag.c +4 -1
index 5bba29a..7f159d2 100644

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

include/acpi/acexcep.h +1 -1
index 5b2e5e8..5958d78 100644

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

include/acpi/actypes.h +1 -0
index 3f08e64..8ac6ab9 100644

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

include/acpi/processor.h +2 -1
index 86825dd..41e3f74 100644

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

include/linux/acpi.h +0 -1
index b926afe..87ca491 100644

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

include/linux/compiler-gcc.h +9 -1
index 73dcf80..0da5b18 100644

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

include/linux/compiler-gcc4.h +4 -0
index 94dea3f..fcfa5b9 100644

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

include/linux/ethtool.h +2 -0
index b33f316..d335ce3 100644

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

include/linux/fb.h +2 -2
index c10163b..94af940 100644

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

include/linux/firmware.h +1 -0
index 043811f..53d1e6c 100644

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

include/linux/mmc/sdio.h +2 -0
index 0ebaef5..329a8fa 100644

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

include/linux/pci_ids.h +1 -0
index c516a33..42b28cb 100644

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

include/linux/ssb/ssb.h +1 -0
index 24f9885..732ba9a 100644

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

include/linux/ssb/ssb_driver_chipcommon.h +2 -0
index 4e27acf..7600f38 100644

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

include/linux/ssb/ssb_regs.h +2 -1
index 9ae9082..b8be23c 100644

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

include/math-emu/op-common.h +1 -1
index fd88226..9696a5e 100644

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

include/net/sock.h +1 -6
index 1ad6435..d910528 100644

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

kernel/early_res.c +6 -0
index 31aa933..7bfae88 100644

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

kernel/futex.c +4 -13
index e7a35f1..6a3a5fa 100644

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

kernel/irq/manage.c +3 -0
index 704e488..38dc536 100644

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

kernel/module.c +3 -1
index 1016b75..d31a8be 100644

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

kernel/perf_event.c +9 -9
index a244651..2357b19 100644

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

kernel/sched.c +6 -3
index 3c2a54f..a4a3801 100644

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

mm/bootmem.c +20 -4
index 58c66cc..142c84a 100644

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

mm/page_alloc.c +8 -0
index d03c946..35268ac 100644

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

net/bridge/br_fdb.c +2 -4
index 9101a4e..26c0cbe 100644

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

net/core/dev.c +3 -4
index 264137f..ece33fd 100644

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

net/core/ethtool.c +32 -11

43 lines not on this page · raw message

net/core/neighbour.c +4 -1
index bff3790..7d53105 100644

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

net/core/skbuff.c +1 -0
index 93c4e06..cad8e97 100644

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

net/dccp/input.c +3 -3
index 9ec7174..def29ca 100644

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

net/ipv4/syncookies.c +1 -1
index 5c24db4..9f6b222 100644

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

net/ipv4/tcp_output.c +7 -5
index 0dda86e..a5cf575 100644

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

net/ipv6/addrconf.c +5 -2
index 413054f..844ffc5 100644

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

net/ipv6/ndisc.c +1 -1
index da0a4d2..a0c8dfa 100644

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

net/ipv6/netfilter/ip6t_REJECT.c +4 -2
index 39b50c3..67e7110 100644

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

net/ipv6/route.c +1 -1
index 05ebd78..40f6f13 100644

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

net/mac80211/scan.c +11 -10
index 85507bd..151d933 100644

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

net/mac80211/work.c +19 -9
index 15e1ba9..949c2d1 100644

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

net/netfilter/ipvs/ip_vs_conn.c +4 -0
index d8f7e8e..ff04e9e 100644

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

net/sunrpc/xprtsock.c +22 -16
index 9847c30..054d735 100644

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

scripts/mod/modpost.c +1 -1
index 2092361..17c95a3 100644

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

sound/pci/hda/hda_codec.c +27 -0
index 0e76ac2..b2ec16a 100644

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

sound/pci/hda/hda_codec.h +4 -1
index b75da47..7e5a214 100644

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

sound/pci/hda/patch_hdmi.c +13 -0
index 2c2bafb..51387be 100644

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

sound/pci/hda/patch_nvhdmi.c +3 -0
index 3c10c0b..b0652ac 100644

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

sound/pci/hda/patch_realtek.c +13 -10
index 3273765..c260b1b 100644

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

sound/soc/codecs/wm8776.c +0 -1
index 60b1b3e..e02ef53 100644

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

sound/soc/fsl/mpc5200_dma.h +1 -1
index 22208b3..e1ec6d9 100644

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

tools/perf/util/callchain.h +3 -0
index ad4626d..1b7a389 100644

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

virt/kvm/ioapic.c +2 -1
index 7c79c1d..3500dee 100644

Lines of this file are not shown. View the 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.