Skip to contentSkip to conversation

Linux 2.6.34.1

DISCUSSION Greg KH 1 participant 2 messages Jul 5, 2010

Subsystems (75)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

I'm announcing the release of the 2.6.34.1 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/hwmon/ltc4245                     |    4 
 Makefile                                        |    2 
 arch/arm/common/sa1111.c                        |    9 
 arch/arm/mach-mx2/devices.c                     |    4 
 arch/arm/mm/cache-v7.S                          |    4 
 arch/arm/mm/copypage-feroceon.c                 |    4 
 arch/arm/mm/copypage-v4wb.c                     |    4 
 arch/arm/mm/copypage-v4wt.c                     |    4 
 arch/arm/mm/copypage-xsc3.c                     |    4 
 arch/arm/mm/fault.c                             |    3 
 arch/arm/mm/init.c                              |    6 
 arch/arm/vfp/vfphw.S                            |    2 
 arch/blackfin/include/asm/cache.h               |    2 
 arch/frv/include/asm/cache.h                    |    2 
 arch/m68k/include/asm/cache.h                   |    2 
 arch/mn10300/include/asm/cache.h                |    2 
 arch/parisc/math-emu/decode_exc.c               |    1 
 arch/powerpc/kernel/asm-offsets.c               |    8 
 arch/powerpc/kernel/head_fsl_booke.S            |   13 -
 arch/powerpc/kvm/book3s.c                       |   10 
 arch/powerpc/kvm/booke.c                        |   15 +
 arch/powerpc/kvm/powerpc.c                      |    3 
 arch/powerpc/lib/string.S                       |    4 
 arch/powerpc/mm/fsl_booke_mmu.c                 |   25 --
 arch/powerpc/mm/mmu_decl.h                      |   10 
 arch/powerpc/mm/pgtable_32.c                    |    8 
 arch/powerpc/mm/pgtable_64.c                    |    8 
 arch/powerpc/mm/tlb_nohash_low.S                |   28 ++
 arch/powerpc/oprofile/op_model_cell.c           |    2 
 arch/powerpc/platforms/pseries/hotplug-cpu.c    |   30 --
 arch/powerpc/platforms/pseries/plpar_wrappers.h |    8 
 arch/powerpc/platforms/pseries/smp.c            |   28 ++
 arch/s390/kvm/kvm-s390.c                        |    4 
 arch/x86/include/asm/kvm_host.h                 |    3 
 arch/x86/include/asm/msr-index.h                |    5 
 arch/x86/kernel/amd_iommu.c                     |   16 -
 arch/x86/kernel/amd_iommu_init.c                |   20 +
 arch/x86/kernel/cpu/perf_event.c                |    5 
 arch/x86/kernel/pvclock.c                       |   24 +
 arch/x86/kernel/setup.c                         |   11 
 arch/x86/kernel/tboot.c                         |    1 
 arch/x86/kvm/mmu.c                              |   10 
 arch/x86/kvm/svm.c                              |  163 ++++++++-----
 arch/x86/kvm/vmx.c                              |   38 ++-
 arch/x86/kvm/x86.c                              |   58 ++--
 arch/x86/oprofile/nmi_int.c                     |   10 
 arch/x86/xen/suspend.c                          |    4 
 arch/xtensa/include/asm/cache.h                 |    1 
 block/cfq-iosched.c                             |   20 +
 drivers/acpi/video_detect.c                     |    2 
 drivers/ata/libata-core.c                       |    7 
 drivers/ata/libata-sff.c                        |    2 
 drivers/ata/sata_nv.c                           |    5 
 drivers/ata/sata_via.c                          |   13 +
 drivers/base/cpu.c                              |    2 
 drivers/char/ipmi/ipmi_si_intf.c                |   11 
 drivers/clocksource/sh_cmt.c                    |   21 -
 drivers/clocksource/sh_tmu.c                    |   20 -
 drivers/firewire/core-card.c                    |   24 +
 drivers/gpu/drm/drm_edid.c                      |    2 
 drivers/gpu/drm/i915/i915_gem.c                 |   19 +
 drivers/gpu/drm/i915/intel_display.c            |    6 
 drivers/gpu/drm/i915/intel_dp.c                 |   10 
 drivers/gpu/drm/radeon/radeon.h                 |    1 
 drivers/gpu/drm/radeon/radeon_agp.c             |    5 
 drivers/gpu/drm/radeon/radeon_atombios.c        |    7 
 drivers/gpu/drm/radeon/radeon_device.c          |    2 
 drivers/gpu/drm/radeon/radeon_display.c         |    5 
 drivers/gpu/drm/radeon/radeon_state.c           |    5 
 drivers/hid/hid-core.c                          |    1 
 drivers/hid/hid-gyration.c                      |    1 
 drivers/hid/hid-ids.h                           |    1 
 drivers/hwmon/ltc4245.c                         |   18 -
 drivers/md/linear.c                             |    1 
 drivers/md/md.c                                 |   99 ++++++-
 drivers/md/md.h                                 |    1 
 drivers/md/raid1.c                              |    9 
 drivers/md/raid10.c                             |    2 
 drivers/md/raid5.c                              |    7 
 drivers/media/video/uvc/uvc_ctrl.c              |    2 
 drivers/misc/vmware_balloon.c                   |   18 +
 drivers/net/arcnet/com20020-pci.c               |    4 
 drivers/net/can/sja1000/sja1000.c               |   20 +
 drivers/net/can/sja1000/sja1000.h               |    1 
 drivers/net/mlx4/icm.c                          |    3 
 drivers/net/wireless/ath/ar9170/hw.h            |    1 
 drivers/net/wireless/ath/ar9170/main.c          |    2 
 drivers/net/wireless/ath/ar9170/usb.c           |   10 
 drivers/net/wireless/ath/ath5k/base.c           |   11 
 drivers/net/wireless/ath/ath9k/hw.c             |    4 
 drivers/net/wireless/ath/ath9k/init.c           |    3 
 drivers/net/wireless/iwlwifi/iwl-agn-rs.c       |   10 
 drivers/net/wireless/iwlwifi/iwl-scan.c         |   21 +
 drivers/net/wireless/iwlwifi/iwl-tx.c           |    2 
 drivers/net/wireless/p54/p54usb.c               |    1 
 drivers/net/wireless/rtl818x/rtl8180_dev.c      |    1 
 drivers/net/wireless/wl12xx/wl1251_sdio.c       |    1 
 drivers/oprofile/cpu_buffer.c                   |   63 +----
 drivers/pci/quirks.c                            |   13 -
 drivers/pcmcia/ds.c                             |    1 
 drivers/pcmcia/yenta_socket.c                   |    5 
 drivers/platform/x86/Kconfig                    |    1 
 drivers/rtc/rtc-cmos.c                          |    5 
 drivers/rtc/rtc-s3c.c                           |    5 
 drivers/scsi/libsas/sas_ata.c                   |    5 
 drivers/scsi/libsas/sas_scsi_host.c             |   16 -
 drivers/serial/68328serial.c                    |    2 
 drivers/staging/batman-adv/proc.c               |   51 ++--
 drivers/staging/batman-adv/vis.c                |  235 ++++++++++++------
 drivers/staging/batman-adv/vis.h                |    8 
 drivers/staging/comedi/drivers/ni_mio_cs.c      |    2 
 drivers/staging/rt2860/usb_main_dev.c           |    1 
 drivers/staging/vt6655/device_main.c            |    2 
 drivers/usb/class/cdc-acm.c                     |    6 
 drivers/usb/core/driver.c                       |    2 
 drivers/usb/core/hcd.c                          |  169 ++++++++-----
 drivers/usb/core/message.c                      |   45 ---
 drivers/usb/core/urb.c                          |    9 
 drivers/usb/core/usb.c                          |    4 
 drivers/usb/gadget/fsl_udc_core.c               |    2 
 drivers/usb/host/ehci-au1xxx.c                  |   16 -
 drivers/usb/host/ehci-fsl.c                     |    2 
 drivers/usb/host/ehci-hub.c                     |  158 ++++++++++--
 drivers/usb/host/ehci-pci.c                     |   15 -
 drivers/usb/host/ehci.h                         |   10 
 drivers/usb/host/fhci.h                         |    9 
 drivers/usb/host/whci/qset.c                    |    2 
 drivers/usb/host/xhci-pci.c                     |    2 
 drivers/usb/host/xhci-ring.c                    |   39 ++-
 drivers/usb/host/xhci.c                         |   54 +++-
 drivers/usb/mon/mon_bin.c                       |    2 
 drivers/usb/mon/mon_text.c                      |    4 
 drivers/usb/serial/cp210x.c                     |   11 
 drivers/usb/serial/cypress_m8.c                 |    2 
 drivers/usb/serial/digi_acceleport.c            |    4 
 drivers/usb/serial/ftdi_sio.c                   |    4 
 drivers/usb/serial/ir-usb.c                     |    2 
 drivers/usb/serial/kl5kusb105.c                 |    1 
 drivers/usb/serial/kobil_sct.c                  |    3 
 drivers/usb/serial/mos7840.c                    |    1 
 drivers/usb/serial/option.c                     |  180 ++++++++++++++
 drivers/usb/serial/qcaux.c                      |    5 
 drivers/usb/serial/spcp8x5.c                    |    4 
 drivers/usb/serial/visor.c                      |    1 
 drivers/usb/storage/unusual_devs.h              |   15 +
 drivers/vhost/net.c                             |    2 
 drivers/video/arcfb.c                           |    8 
 drivers/video/hgafb.c                           |   10 
 drivers/video/vfb.c                             |    4 
 drivers/video/vga16fb.c                         |   10 
 drivers/video/w100fb.c                          |   10 
 drivers/xen/xenbus/xenbus_xs.c                  |    2 
 fs/aio.c                                        |   65 +++--
 fs/btrfs/acl.c                                  |    3 
 fs/cifs/cifsproto.h                             |    6 
 fs/cifs/dir.c                                   |   20 -
 fs/cifs/file.c                                  |   11 
 fs/compat.c                                     |  132 ++++++----
 fs/dcache.c                                     |    1 
 fs/exofs/dir.c                                  |    2 
 fs/ext4/move_extent.c                           |    3 
 fs/ext4/resize.c                                |    3 
 fs/fs-writeback.c                               |   14 -
 fs/gfs2/file.c                                  |    7 
 fs/libfs.c                                      |    3 
 fs/namei.c                                      |    2 
 fs/nfs/write.c                                  |   20 +
 fs/nfsd/nfssvc.c                                |    2 
 fs/nfsd/vfs.c                                   |   11 
 fs/nfsd/vfs.h                                   |    1 
 include/linux/aio.h                             |    5 
 include/linux/compat.h                          |    4 
 include/linux/fs.h                              |    2 
 include/linux/miscdevice.h                      |    7 
 include/linux/pci_ids.h                         |    1 
 include/linux/perf_event.h                      |    5 
 include/linux/slub_def.h                        |   11 
 include/linux/swap.h                            |   10 
 include/linux/tboot.h                           |    1 
 include/linux/usb.h                             |    9 
 include/trace/events/signal.h                   |    3 
 kernel/cgroup.c                                 |    2 
 kernel/compat.c                                 |   25 --
 kernel/mutex.c                                  |    7 
 kernel/perf_event.c                             |  299 ++++++++++++++----------
 kernel/posix-timers.c                           |   11 
 kernel/signal.c                                 |    6 
 lib/idr.c                                       |    5 
 mm/filemap.c                                    |   10 
 mm/slub.c                                       |   33 --
 net/mac80211/Kconfig                            |    9 
 net/mac80211/cfg.c                              |    7 
 net/mac80211/mlme.c                             |   40 +++
 net/mac80211/rx.c                               |    3 
 net/mac80211/tx.c                               |    5 
 scripts/kconfig/Makefile                        |    2 
 sound/core/pcm_lib.c                            |   13 -
 sound/core/pcm_native.c                         |   39 ---
 sound/pci/hda/hda_intel.c                       |    9 
 sound/pci/hda/patch_realtek.c                   |    1 
 sound/pci/hda/patch_sigmatel.c                  |    2 
 sound/soc/codecs/wm8350.c                       |    4 
 sound/soc/codecs/wm8400.c                       |   18 -
 sound/soc/codecs/wm8990.c                       |   18 -
 sound/soc/imx/imx-pcm-dma-mx2.c                 |    7 
 tools/perf/bench/mem-memcpy.c                   |    2 
 tools/perf/bench/sched-messaging.c              |    4 
 tools/perf/builtin-annotate.c                   |    8 
 tools/perf/builtin-buildid-cache.c              |    2 
 tools/perf/builtin-buildid-list.c               |    4 
 tools/perf/builtin-diff.c                       |    4 
 tools/perf/builtin-help.c                       |    2 
 tools/perf/builtin-lock.c                       |    2 
 tools/perf/builtin-probe.c                      |    2 
 tools/perf/builtin-record.c                     |   24 -
 tools/perf/builtin-report.c                     |    6 
 tools/perf/builtin-sched.c                      |    6 
 tools/perf/builtin-stat.c                       |   10 
 tools/perf/builtin-timechart.c                  |    2 
 tools/perf/builtin-top.c                        |   47 ++-
 tools/perf/builtin-trace.c                      |    2 
 tools/perf/util/debug.c                         |    2 
 tools/perf/util/debug.h                         |    3 
 tools/perf/util/parse-options.c                 |    6 
 tools/perf/util/parse-options.h                 |    4 
 tools/perf/util/symbol.c                        |   25 --
 tools/perf/util/symbol.h                        |   15 +
 tools/perf/util/trace-event-parse.c             |    2 
 tools/perf/util/trace-event.h                   |    3 
 229 files changed, 2312 insertions(+), 1134 deletions(-)

Adam Jackson (1):

      drm/edid: Fix 1024x768@85Hz

Al Viro (2):
Fix racy use of anon_inode_getfd() in perf_event.c clean DCACHE_CANT_MOUNT in d_delete()

Alan Cox (1):
misc: Fix allocation 'borrowed' by vhost_net

Alan Stern (3):
USB: fix usbmon and DMA mapping for scatter-gather URBs
USB: EHCI: fix controller wakeup flag settings during suspend
USB: unbind all interfaces before rebinding them

Alek Du (1):
USB: EHCI: clear PHCD before resuming

Alex Deucher (4):
PCI quirks: disable msi on AMD rs4xx internal gfx bridges drm/radeon/kms: don't default display priority to high on rs4xx drm/radeon/kms: reset ddc_bus in object header parsing drm/radeon/kms/atom: fix typo in LVDS panel info parsing

Alexander Duyck (1):
slub: move kmem_cache_node into it's own cacheline

Andi Kleen (1):
oprofile: remove double ring buffering

Andiry Xu (1):
USB: xHCI: Fix wrong usage of macro TRB_TYPE

Andreas Bombe (1):
ARCNET: Limit com20020 PCI ID matches for SOHARD cards

Andres Salomon (1):
mac80211: give warning if building w/out rate ctrl algorithm

Andrew Lunn (1):
Staging: batman-adv: don't have interrupts disabled while sending.

Andrey Vagin (1):
posix_timer: Fix error path in timer_create

Anfei (1):
ARM: 6166/1: Proper prefetch abort handling on pre-ARMv6

Anton Vorontsov (1):
USB: FHCI: cq_get() should check kfifo_out()'s return value

Arnaldo Carvalho de Melo (1):
perf top: Properly notify the user that vmlinux is missing

Aurelien Jarno (1):
clocksource: sh_tmu: compute mult and shift before registration

Avi Kivity (6):
KVM: Don't allow lmsw to clear cr0.pe
KVM: MMU: Segregate shadow pages with different cr0.wp
KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots
KVM: Fix wallclock version writing race
KVM: PPC: Add missing vcpu_load()/vcpu_put() in vcpu ioctls
KVM: x86: Add missing locking to arch specific vcpu ioctls

Axel Lin (1):
USB: cdc-acm: fix resource reclaim in error path of acm_probe

Ben Hutchings (1):
PCI: Disable MSI for MCP55 on P5N32-E SLI

Benjamin Herrenschmidt (1):
powerpc: Fix ioremap_flags() with book3e pte definition

Bob Copeland (1):
ath5k: retain promiscuous setting

Bruno Randolf (1):
ath5k: consistently use rx_bufsize for RX DMA

Chris Wilson (3):
drm/i915: Reject bind_to_gtt() early if object > aperture drm/i915: Rebind bo if currently bound with incorrect alignment. drm/i915: Kill dangerous pending-flip debugging

Christian Lamparter (2):
ar9170usb: add a couple more USB IDs
ar9170usb: fix panic triggered by undersized rxstream buffer

Christoph Hellwig (1):
nfsd: nfsd_setattr needs to call commit_metadata

Christoph Lameter (1):
SLUB: Allow full duplication of kmalloc array for 390

Clemens Ladisch (2):
ALSA: pcm: fix delta calculation at boundary wraparound
ALSA: pcm: fix the fix of the runtime->boundary calculation

Cory Maccarrone (1):
HID: Add the GYR4101US USB ID to hid-gyration

Craig Shelley (1):

      USB: CP210x New Device IDs 11 New device IDs

Dan Carpenter (2):
exofs: confusion between kmap() and kmap_atomic() api
rtc-cmos: do dev_set_drvdata() earlier in the initialization

Dan Williams (2):
USB: qcaux: add Samsung U520 device ID
md: set mddev readonly flag on blkdev BLKROSET ioctl

Daniel Mack (1):
USB: ftdi_sio: fix DTR/RTS line modes

Daniel T Chen (9):
ALSA: hda: Fix model quirk for Dell M1730
ALSA: hda: Use LPIB for Toshiba A100-259
ALSA: hda: Use LPIB for Acer Aspire 5110
ALSA: hda: Use LPIB for Sony VPCS11V9E
ALSA: hda: Use LPIB for a Shuttle device
ALSA: hda: Use LPIB for an ASUS device
ALSA: hda: Use mb31 quirk for an iMac model
ALSA: hda: Use LPIB for another mainboard
ALSA: hda: Use LPIB for ASUS M2V

Dave Airlie (1):
drm/radeon: fix the r100/r200 ums block 0 page fix

Denis Kirjanov (1):
powerpc/oprofile: fix potential buffer overrun in op_model_cell.c

Dinh Nguyen (1):
USB: mxc: gadget: Fix bitfield for calculating maximum packet size

Dmitry Torokhov (1):
vmware balloon: clamp number of collected non-balloonable pages

Dominik Brodowski (2):
pcmcia: only keep saved I365_CSCINT flag if there is no PCI irq
pcmcia: avoid validate_cis failure on CIS override

Eric Sandeen (1):
ext4: check s_log_groups_per_flex in online resize code

FUJITA Tomonori (5):
mn10300: set ARCH_KMALLOC_MINALIGN
m68k: set ARCH_KMALLOC_MINALIGN
frv: set ARCH_KMALLOC_MINALIGN
xtensa: set ARCH_KMALLOC_MINALIGN
Blackfin: set ARCH_KMALLOC_MINALIGN

Felix Fietkau (1):
mac80211: fix handling of 4-address-mode in ieee80211_change_iface

Gabor Gombas (1):
x86, setup: Phoenix BIOS fixup is needed on Dell Inspiron Mini 1012

Glauber Costa (1):
x86, paravirt: Add a global synchronization point for pvclock

Grazvydas Ignotas (1):
wl1251: fix a memory leak in probe

Greg Kroah-Hartman (1):

      Linux 2.6.34.1

Greg Thelen (1):
cgroups: alloc_css_id() increments hierarchy depth

Greg Ungerer (1):
m68knommu: fix broken use of BUAD_TABLE_SIZE in 68328serial driver

Hans de Goede (1):
USB: unusual-dev: Add bad sense flag for Appotech ax203 based picture frames

Heiko Carstens (1):
fs/compat_rw_copy_check_uvector: add missing compat_ptr call

Helge Deller (1):
parisc: clear floating point exception flag on SIGFPE signal

Henrik Kretzschmar (5):
fbdev: section cleanup in hgafb
fbdev: section cleanup in vfb
fbdev: section cleanup in vga16fb
fbdev: section cleanup in arcfb
fbdev: section cleanup in w100fb

Ian Campbell (2):
xen: ensure timer tick is resumed even on CPU driving the resume
xen: avoid allocation causing potential swap activity on the resume path

Ian Munsie (1):
perf: Fix endianness argument compatibility with OPT_BOOLEAN() and introduce OPT_INCR()

Imre Deak (1):
idr: fix backtrack logic in idr_remove_all

Ira W. Snyder (1):
hwmon: (ltc4245) Read only one GPIO pin

James Bottomley (1):
libsas: fix deref before check in commit 70b25f890ce

Jan Beulich (1):
drivers/base/cpu.c: fix the output from /sys/devices/system/cpu/offline

Jason Dravet (1):
p54usb: Add device ID for Dell WLA3310 USB

Jeff Layton (1):
nfsd: don't break lease while servicing a COMMIT

Jeff Mahoney (1):
powerpc: Fix handling of strncmp with zero len

Jeff Moyer (3):
aio: fix the compat vectored operations
compat: factor out compat_rw_copy_check_uvector from compat_do_readv_writev
do_generic_file_read: clear page errors when issuing a fresh read of the page

Jens Axboe (1):
writeback: disable periodic old data writeback for !dirty_writeback_centisecs

Jerome Glisse (1):
drm/radeon/kms: release AGP bridge at suspend

Jiri Kosina (1):
ipmi: handle run_to_completion properly in deliver_recv_msg()

Joerg Roedel (12):
x86/amd-iommu: Fix crash when request_mem_region fails x86/amd-iommu: Fall back to GART if initialization fails
KVM: SVM: Don't use kmap_atomic in nested_svm_map
KVM: SVM: Fix schedule-while-atomic on nested exception handling
KVM: SVM: Sync all control registers on nested vmexit
KVM: SVM: Fix nested msr intercept handling
KVM: SVM: Don't sync nested cr8 to lapic and back
KVM: SVM: Fix wrong interrupt injection in enable_irq_windows
KVM: x86: Add callback to let modules decide over some supported cpuid bits
KVM: SVM: Report emulated SVM features to userspace
KVM: x86: Inject #GP with the right rip on efer writes
KVM: SVM: Don't allow nested guest to VMMCALL into host

Johan Hovold (6):
USB: visor: fix memory leak
USB: kobil: fix memory leak
USB: tty: fix incorrect use of tty_insert_flip_string_fixed_flag
USB: ir-usb: fix double free
USB: kl5usb105: fix memory leak
USB: mos7840: fix null-pointer dereference

Johannes Berg (2):
mac80211: fix deauth before assoc
iwlwifi: add missing rcu_read_lock

John W. Linville (1):
rtl8180: fix tx status reporting

Jouni Malinen (1):
mac80211: Fix robust management frame handling (MFP)

Julia Lawall (1):
arch/x86/kernel: Add missing spin_unlock

KOSAKI Motohiro (2):
cpumask: fix compat getaffinity
tmpfs: insert tmpfs cache pages to inactive list at first

Kamal Mostafa (1):
ACPI: video: fix acpi_backlight=video

Karsten Wiese (1):
drm/i915: Don't touch PORT_HOTPLUG_EN in intel_dp_detect()

Khem Raj (1):
ARM: 6164/1: Add kto and kfrom to input operands list.

Kumar Gala (1):
powerpc/fsl-booke: Move loadcam_entry back to asm code to fix SMP ftrace

Larry Finger (1):
staging: vt6655: Fix kernel BUG on driver wpa initialization

Laurent Pinchart (1):
V4L/DVB: uvcvideo: Prevent division by 0 when control step value is 0

Li Yang (1):
powerpc/fsl-booke: Fix InstructionTLBError execute permission check

Linus Lüssing (2):
Staging: batman-adv: Fix VIS output bug for secondary interfaces
Staging: batman-adv: Fixing wrap-around bug in vis

Linus Walleij (1):
ARM: 6144/1: TCM memory bug freeing bug

Marek Vašut (1):
ARM: 6146/1: sa1111: Prevent deadlock in resume path

Mark Brown (3):
ASoC: Fix dB scales for WM835x
ASoC: Fix dB scales for WM8400
ASoC: Fix dB scales for WM8990

Martin Homuth-Rosemann (1):
Staging: comedi - correct parameter gainlkup for DAQCard-6024E in driver ni_mio_cs.c

Maurus Cuelenaere (1):
rtc: s3c: initialize driver data before using it

Michael Neuling (2):
powerpc/pseries: Only call start-cpu when a CPU is stopped powerpc/pseries: Make query_cpu_stopped callable outside hotplug cpu

Neil Brown (1):
VFS: fix recent breakage of FS_REVAL_DOT

NeilBrown (5):
md/raid1: fix counting of write targets.
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB md/linear: avoid possible oops and array stop
md: remove unneeded sysfs files more promptly
md: manage redundancy group in sysfs when changing level.

Nils Radtke (1):
USB: option.c: OLIVETTI OLICARD100 support

Nobuhiro KUSUNO (1):
Staging: rt2870: add device ID of MelCo.,Inc. WLI-UC-G301N

Oleg Nesterov (2):
signals: check_kill_permission(): don't check creds if same_thread_group()
tracing: Fix null pointer deref with SEND_SIG_FORCED

Oliver Hartkopp (1):
can: Fix SJA1000 command register writes on SMP systems

Paul Mundt (1):
clocksource: sh_cmt: compute mult and shift before registration

Pavel Emelyanov (1):
NFSD: don't report compiled-out versions as present

Peter Zijlstra (4):
perf: Fix exit() vs PERF_FORMAT_GROUP
perf: Fix exit() vs event-groups
perf: Fix signed comparison in perf_adjust_period()
perf_events: Fix races and clean up perf_event and perf_mmap_data interaction

Randy Dunlap (1):
eeepc-wmi: depends on BACKLIGHT_CLASS_DEVICE

Reinette Chatre (2):
iwlwifi: fix internal scan race
iwlwifi: recalculate average tpt if not current

Richard Kennedy (1):
gconfig: fix build failure on fedora 13

Robert Richter (1):
oprofile/x86: fix uninitialized counter usage during cpu hotplug

Roberto Sassu (1):
wrong type for 'magic' argument in simple_fill_super()

Russell King (1):

      ARM: VFP: Fix vfp_put_double() for d16-d31

Santosh Shilimkar (1):
ARM: 6139/1: ARMv7: Use the Inner Shareable I-cache on MP

Sarah Sharp (5):
USB: xhci: Fix issue with set interface after stall.
USB: xhci: Limit bus sg_tablesize to 62 TRBs.
USB: xhci: Fix check for room on the ring.
USB: xhci: Wait for host to start running.
USB: xhci: Wait for controller to be ready after reset.

Sebastian Andrzej Siewior (1):
libata: don't flush dcache on slab pages

Sebastien Dugue (1):
mlx4_core: Fix possible chunk sg list overflow in mlx4_alloc_icm()

Shane Wang (1):
KVM: VMX: enable VMXON check with SMX enabled (Intel TXT)

Shanyu Zhao (1):
mac80211: fix rts threshold check

Shaohua Li (1):
cfq-iosched: fix an oops caused by slab leak

Sheng Yang (1):
KVM: x86: Check LMA bit before set_efer

Shi Weihua (1):
Btrfs: should add a permission check for setfacl

Stefan Richter (1):
firewire: core: check for 1394a compliant IRM, fix inaccessibility of Sony camcorder

Stephane Eranian (1):
perf_events: Fix resource leak in x86 __hw_perf_event_init()

Steve French (1):
CIFS: Allow null nd (as nfs server uses) on create

Steven Whitehouse (1):
GFS2: Fix permissions checking for setflags ioctl()

Stuart Longland (1):
ASoC: Update Freescale i.MX SSI driver DMA parameter handling

Sujith (1):
ath9k_hw: fix hardware deinit

Tejun Heo (5):
libata: disable ATAPI AN by default
sata_nv: use ata_pci_sff_activate_host() instead of ata_host_activate()
ahci: add pci quirk for JMB362
sata_nv: don't diddle with nIEN on mcp55
sata_via: magic vt6421 fix for transmission problems w/ WD drives

Theodore Ts'o (1):
ext4: Make sure the MOVE_EXT ioctl can't overwrite append-only files

Tony Breeds (1):
mutex: Fix optimistic spinning vs. BKL

Trond Myklebust (2):
NFS: Ensure that we mark the inode as dirty if we exit early from commit
NFS: Fix another nfs_wb_page() deadlock

Wei Yongjun (2):
KVM: s390: Fix possible memory leak of in kvm_arch_vcpu_create()
KVM: PPC: Do not create debugfs if fail to create vcpu

Wolfram Sang (1):

      ARM: 6135/1: mx21/devices: fix USBOTG resource

zhao1980ming (1):
USB: option: add PID for ZTE product

author
#1 lore raw
Documentation/hwmon/ltc4245 +1 -3
index 02838a4..86b5880 100644
@@ -72,9 +72,7 @@ in6_min_alarm		5v  output undervoltage alarm
 in7_min_alarm		3v  output undervoltage alarm
 in8_min_alarm		Vee (-12v) output undervoltage alarm
 
-in9_input		GPIO #1 voltage data
-in10_input		GPIO #2 voltage data
-in11_input		GPIO #3 voltage data
+in9_input		GPIO voltage data
 
 power1_input		12v power usage (mW)
 power2_input		5v  power usage (mW)
Makefile +1 -1
index ebc8225..4f2223f 100644
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 34
-EXTRAVERSION =
+EXTRAVERSION = .1
 NAME = Sheep on Meth
 
 # *DOCUMENTATION*
arch/arm/common/sa1111.c +7 -2
index a52a27c..6f80665 100644
@@ -951,8 +951,6 @@ static int sa1111_resume(struct platform_device *dev)
 	if (!save)
 		return 0;
 
-	spin_lock_irqsave(&sachip->lock, flags);
-
 	/*
 	 * Ensure that the SA1111 is still here.
 	 * FIXME: shouldn't do this here.
@@ -969,6 +967,13 @@ static int sa1111_resume(struct platform_device *dev)
 	 * First of all, wake up the chip.
 	 */
 	sa1111_wake(sachip);
+
+	/*
+	 * Only lock for write ops. Also, sa1111_wake must be called with
+	 * released spinlock!
+	 */
+	spin_lock_irqsave(&sachip->lock, flags);
+
 	sa1111_writel(0, sachip->base + SA1111_INTC + SA1111_INTEN0);
 	sa1111_writel(0, sachip->base + SA1111_INTC + SA1111_INTEN1);
 
arch/arm/mach-mx2/devices.c +2 -2
index b91e412..04f36d8 100644
@@ -483,8 +483,8 @@ int __init mxc_register_gpios(void)
 #ifdef CONFIG_MACH_MX21
 static struct resource mx21_usbhc_resources[] = {
 	{
-		.start	= MX21_BASE_ADDR,
-		.end	= MX21_BASE_ADDR + 0x1FFF,
+		.start	= MX21_USBOTG_BASE_ADDR,
+		.end	= MX21_USBOTG_BASE_ADDR + SZ_8K - 1,
 		.flags	= IORESOURCE_MEM,
 	},
 	{
arch/arm/mm/cache-v7.S +4 -0
index 06a90dc..37c8157 100644
@@ -91,7 +91,11 @@ ENTRY(v7_flush_kern_cache_all)
  THUMB(	stmfd	sp!, {r4-r7, r9-r11, lr}	)
 	bl	v7_flush_dcache_all
 	mov	r0, #0
+#ifdef CONFIG_SMP
+	mcr	p15, 0, r0, c7, c1, 0		@ invalidate I-cache inner shareable
+#else
 	mcr	p15, 0, r0, c7, c5, 0		@ I+BTB cache invalidate
+#endif
  ARM(	ldmfd	sp!, {r4-r5, r7, r9-r11, lr}	)
  THUMB(	ldmfd	sp!, {r4-r7, r9-r11, lr}	)
 	mov	pc, lr
arch/arm/mm/copypage-feroceon.c +2 -2
index 5eb4fd9..ac163de 100644
@@ -18,7 +18,7 @@ feroceon_copy_user_page(void *kto, const void *kfrom)
 {
 	asm("\
 	stmfd	sp!, {r4-r9, lr}		\n\
-	mov	ip, %0				\n\
+	mov	ip, %2				\n\
 1:	mov	lr, r1				\n\
 	ldmia	r1!, {r2 - r9}			\n\
 	pld	[lr, #32]			\n\
@@ -64,7 +64,7 @@ feroceon_copy_user_page(void *kto, const void *kfrom)
 	mcr	p15, 0, ip, c7, c10, 4		@ drain WB\n\
 	ldmfd	sp!, {r4-r9, pc}"
 	:
-	: "I" (PAGE_SIZE));
+	: "r" (kto), "r" (kfrom), "I" (PAGE_SIZE));
 }
 
 void feroceon_copy_user_highpage(struct page *to, struct page *from,
arch/arm/mm/copypage-v4wb.c +2 -2
index 7c2eb55..cb589cb 100644
@@ -27,7 +27,7 @@ v4wb_copy_user_page(void *kto, const void *kfrom)
 {
 	asm("\
 	stmfd	sp!, {r4, lr}			@ 2\n\
-	mov	r2, %0				@ 1\n\
+	mov	r2, %2				@ 1\n\
 	ldmia	r1!, {r3, r4, ip, lr}		@ 4\n\
 1:	mcr	p15, 0, r0, c7, c6, 1		@ 1   invalidate D line\n\
 	stmia	r0!, {r3, r4, ip, lr}		@ 4\n\
@@ -44,7 +44,7 @@ v4wb_copy_user_page(void *kto, const void *kfrom)
 	mcr	p15, 0, r1, c7, c10, 4		@ 1   drain WB\n\
 	ldmfd	 sp!, {r4, pc}			@ 3"
 	:
-	: "I" (PAGE_SIZE / 64));
+	: "r" (kto), "r" (kfrom), "I" (PAGE_SIZE / 64));
 }
 
 void v4wb_copy_user_highpage(struct page *to, struct page *from,
arch/arm/mm/copypage-v4wt.c +2 -2
index 172e6a5..30c7d04 100644
@@ -25,7 +25,7 @@ v4wt_copy_user_page(void *kto, const void *kfrom)
 {
 	asm("\
 	stmfd	sp!, {r4, lr}			@ 2\n\
-	mov	r2, %0				@ 1\n\
+	mov	r2, %2				@ 1\n\
 	ldmia	r1!, {r3, r4, ip, lr}		@ 4\n\
 1:	stmia	r0!, {r3, r4, ip, lr}		@ 4\n\
 	ldmia	r1!, {r3, r4, ip, lr}		@ 4+1\n\
@@ -40,7 +40,7 @@ v4wt_copy_user_page(void *kto, const void *kfrom)
 	mcr	p15, 0, r2, c7, c7, 0		@ flush ID cache\n\
 	ldmfd	sp!, {r4, pc}			@ 3"
 	:
-	: "I" (PAGE_SIZE / 64));
+	: "r" (kto), "r" (kfrom), "I" (PAGE_SIZE / 64));
 }
 
 void v4wt_copy_user_highpage(struct page *to, struct page *from,
arch/arm/mm/copypage-xsc3.c +2 -2
index 747ad41..f9cde07 100644
@@ -34,7 +34,7 @@ xsc3_mc_copy_user_page(void *kto, const void *kfrom)
 {
 	asm("\
 	stmfd	sp!, {r4, r5, lr}		\n\
-	mov	lr, %0				\n\
+	mov	lr, %2				\n\
 						\n\
 	pld	[r1, #0]			\n\
 	pld	[r1, #32]			\n\
@@ -67,7 +67,7 @@ xsc3_mc_copy_user_page(void *kto, const void *kfrom)
 						\n\
 	ldmfd	sp!, {r4, r5, pc}"
 	:
-	: "I" (PAGE_SIZE / 64 - 1));
+	: "r" (kto), "r" (kfrom), "I" (PAGE_SIZE / 64 - 1));
 }
 
 void xsc3_mc_copy_user_highpage(struct page *to, struct page *from,
arch/arm/mm/fault.c +3 -0
index 9d40c34..8ad75e9 100644
@@ -393,6 +393,9 @@ do_translation_fault(unsigned long addr, unsigned int fsr,
 	if (addr < TASK_SIZE)
 		return do_page_fault(addr, fsr, regs);
 
+	if (user_mode(regs))
+		goto bad_area;
+
 	index = pgd_index(addr);
 
 	/*
arch/arm/mm/init.c +3 -3
index 0ed29bf..55d07c8 100644
@@ -712,10 +712,10 @@ void __init mem_init(void)
 void free_initmem(void)
 {
 #ifdef CONFIG_HAVE_TCM
-	extern char *__tcm_start, *__tcm_end;
+	extern char __tcm_start, __tcm_end;
 
-	totalram_pages += free_area(__phys_to_pfn(__pa(__tcm_start)),
-				    __phys_to_pfn(__pa(__tcm_end)),
+	totalram_pages += free_area(__phys_to_pfn(__pa(&__tcm_start)),
+				    __phys_to_pfn(__pa(&__tcm_end)),
 				    "TCM link");
 #endif
 
arch/arm/vfp/vfphw.S +1 -1
index 66dc2d0..d66cead 100644
@@ -277,7 +277,7 @@ ENTRY(vfp_put_double)
 #ifdef CONFIG_VFPv3
 	@ d16 - d31 registers
 	.irp	dr,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
-1:	mcrr	p11, 3, r1, r2, c\dr	@ fmdrr	r1, r2, d\dr
+1:	mcrr	p11, 3, r0, r1, c\dr	@ fmdrr	r0, r1, d\dr
 	mov	pc, lr
 	.org	1b + 8
 	.endr
arch/blackfin/include/asm/cache.h +2 -0
index 8542bc3..93f6c63 100644
@@ -15,6 +15,8 @@
 #define L1_CACHE_BYTES	(1 << L1_CACHE_SHIFT)
 #define SMP_CACHE_BYTES	L1_CACHE_BYTES
 
+#define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
+
 #ifdef CONFIG_SMP
 #define __cacheline_aligned
 #else
arch/frv/include/asm/cache.h +2 -0
index 2797163..7dc0f0f 100644
@@ -17,6 +17,8 @@
 #define L1_CACHE_SHIFT		(CONFIG_FRV_L1_CACHE_SHIFT)
 #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
 
+#define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
+
 #define __cacheline_aligned	__attribute__((aligned(L1_CACHE_BYTES)))
 #define ____cacheline_aligned	__attribute__((aligned(L1_CACHE_BYTES)))
 
arch/m68k/include/asm/cache.h +2 -0
index fed3fd3..ecafbe1 100644
@@ -8,4 +8,6 @@
 #define        L1_CACHE_SHIFT  4
 #define        L1_CACHE_BYTES  (1<< L1_CACHE_SHIFT)
 
+#define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
+
 #endif
arch/mn10300/include/asm/cache.h +2 -0
index e03cfa2..6e2fe28 100644
@@ -21,6 +21,8 @@
 #define L1_CACHE_DISPARITY	L1_CACHE_NENTRIES * L1_CACHE_BYTES
 #endif
 
+#define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
+
 /* data cache purge registers
  * - read from the register to unconditionally purge that cache line
  * - write address & 0xffffff00 to conditionally purge that cache line
arch/parisc/math-emu/decode_exc.c +1 -0
index 3ca1c61..27a7492 100644
@@ -342,6 +342,7 @@ decode_fpu(unsigned int Fpu_register[], unsigned int trap_counts[])
 		return SIGNALCODE(SIGFPE, FPE_FLTINV);
 	  case DIVISIONBYZEROEXCEPTION:
 		update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
+		Clear_excp_register(exception_index);
 	  	return SIGNALCODE(SIGFPE, FPE_FLTDIV);
 	  case INEXACTEXCEPTION:
 		update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
arch/powerpc/kernel/asm-offsets.c +8 -0
index c09138d..b894721 100644
@@ -447,6 +447,14 @@ int main(void)
 	DEFINE(PGD_T_LOG2, PGD_T_LOG2);
 	DEFINE(PTE_T_LOG2, PTE_T_LOG2);
 #endif
+#ifdef CONFIG_FSL_BOOKE
+	DEFINE(TLBCAM_SIZE, sizeof(struct tlbcam));
+	DEFINE(TLBCAM_MAS0, offsetof(struct tlbcam, MAS0));
+	DEFINE(TLBCAM_MAS1, offsetof(struct tlbcam, MAS1));
+	DEFINE(TLBCAM_MAS2, offsetof(struct tlbcam, MAS2));
+	DEFINE(TLBCAM_MAS3, offsetof(struct tlbcam, MAS3));
+	DEFINE(TLBCAM_MAS7, offsetof(struct tlbcam, MAS7));
+#endif
 
 #ifdef CONFIG_KVM_EXIT_TIMING
 	DEFINE(VCPU_TIMING_EXIT_TBU, offsetof(struct kvm_vcpu,
arch/powerpc/kernel/head_fsl_booke.S +10 -3
index 7255265..edd4a57 100644
@@ -639,6 +639,13 @@ interrupt_base:
 	rlwinm	r12,r12,0,16,1
 	mtspr	SPRN_MAS1,r12
 
+	/* Make up the required permissions for kernel code */
+#ifdef CONFIG_PTE_64BIT
+	li	r13,_PAGE_PRESENT | _PAGE_BAP_SX
+	oris	r13,r13,_PAGE_ACCESSED@h
+#else
+	li	r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
+#endif
 	b	4f
 
 	/* Get the PGD for the current thread */
@@ -646,15 +653,15 @@ interrupt_base:
 	mfspr	r11,SPRN_SPRG_THREAD
 	lwz	r11,PGDIR(r11)
 
-4:
-	/* Make up the required permissions */
+	/* Make up the required permissions for user code */
 #ifdef CONFIG_PTE_64BIT
-	li	r13,_PAGE_PRESENT | _PAGE_EXEC
+	li	r13,_PAGE_PRESENT | _PAGE_BAP_UX
 	oris	r13,r13,_PAGE_ACCESSED@h
 #else
 	li	r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
 #endif
 
+4:
 	FIND_PTE
 	andc.	r13,r13,r11		/* Check permission */
 
arch/powerpc/kvm/book3s.c +10 -0
index 604af29..ecb532b 100644
@@ -922,6 +922,8 @@ int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu,
 	struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu);
 	int i;
 
+	vcpu_load(vcpu);
+
 	sregs->pvr = vcpu->arch.pvr;
 
 	sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1;
@@ -940,6 +942,9 @@ int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu,
 			sregs->u.s.ppc32.dbat[i] = vcpu3s->dbat[i].raw;
 		}
 	}
+
+	vcpu_put(vcpu);
+
 	return 0;
 }
 
@@ -949,6 +954,8 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
 	struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu);
 	int i;
 
+	vcpu_load(vcpu);
+
 	kvmppc_set_pvr(vcpu, sregs->pvr);
 
 	vcpu3s->sdr1 = sregs->u.s.sdr1;
@@ -975,6 +982,9 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
 
 	/* Flush the MMU after messing with the segments */
 	kvmppc_mmu_pte_flush(vcpu, 0, 0);
+
+	vcpu_put(vcpu);
+
 	return 0;
 }
 
arch/powerpc/kvm/booke.c +14 -1
index 2a3a195..df0182a 100644
@@ -479,6 +479,8 @@ int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
 {
 	int i;
 
+	vcpu_load(vcpu);
+
 	regs->pc = vcpu->arch.pc;
 	regs->cr = kvmppc_get_cr(vcpu);
 	regs->ctr = vcpu->arch.ctr;
@@ -499,6 +501,8 @@ int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
 		regs->gpr[i] = kvmppc_get_gpr(vcpu, i);
 
+	vcpu_put(vcpu);
+
 	return 0;
 }
 
@@ -506,6 +510,8 @@ int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
 {
 	int i;
 
+	vcpu_load(vcpu);
+
 	vcpu->arch.pc = regs->pc;
 	kvmppc_set_cr(vcpu, regs->cr);
 	vcpu->arch.ctr = regs->ctr;
@@ -525,6 +531,8 @@ int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
 		kvmppc_set_gpr(vcpu, i, regs->gpr[i]);
 
+	vcpu_put(vcpu);
+
 	return 0;
 }
 
@@ -553,7 +561,12 @@ int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
 int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu,
                                   struct kvm_translation *tr)
 {
-	return kvmppc_core_vcpu_translate(vcpu, tr);
+	int r;
+
+	vcpu_load(vcpu);
+	r = kvmppc_core_vcpu_translate(vcpu, tr);
+	vcpu_put(vcpu);
+	return r;
 }
 
 int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log)
arch/powerpc/kvm/powerpc.c +2 -1
index 297fcd2..bf36a9d 100644
@@ -193,7 +193,8 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id)
 {
 	struct kvm_vcpu *vcpu;
 	vcpu = kvmppc_core_vcpu_create(kvm, id);
-	kvmppc_create_vcpu_debugfs(vcpu, id);
+	if (!IS_ERR(vcpu))
+		kvmppc_create_vcpu_debugfs(vcpu, id);
 	return vcpu;
 }
 
arch/powerpc/lib/string.S +3 -1
index 64e2e49..3ac0cd3 100644
@@ -71,7 +71,7 @@ _GLOBAL(strcmp)
 
 _GLOBAL(strncmp)
 	PPC_LCMPI r5,0
-	beqlr
+	ble-	2f
 	mtctr	r5
 	addi	r5,r3,-1
 	addi	r4,r4,-1
@@ -82,6 +82,8 @@ _GLOBAL(strncmp)
 	beqlr	1
 	bdnzt	eq,1b
 	blr
+2:	li	r3,0
+	blr
 
 _GLOBAL(strlen)
 	addi	r4,r3,-1
arch/powerpc/mm/fsl_booke_mmu.c +3 -22
index 1ed6b52..cdc7526 100644
@@ -2,7 +2,7 @@
  * Modifications by Kumar Gala ([email protected]) to support
  * E500 Book E processors.
  *
- * Copyright 2004 Freescale Semiconductor, Inc
+ * Copyright 2004,2010 Freescale Semiconductor, Inc.
  *
  * This file contains the routines for initializing the MMU
  * on the 4xx series of chips.
@@ -56,19 +56,13 @@
 
 unsigned int tlbcam_index;
 
-#define NUM_TLBCAMS	(64)
 
 #if defined(CONFIG_LOWMEM_CAM_NUM_BOOL) && (CONFIG_LOWMEM_CAM_NUM >= NUM_TLBCAMS)
 #error "LOWMEM_CAM_NUM must be less than NUM_TLBCAMS"
 #endif
 
-struct tlbcam {
-	u32	MAS0;
-	u32	MAS1;
-	unsigned long	MAS2;
-	u32	MAS3;
-	u32	MAS7;
-} TLBCAM[NUM_TLBCAMS];
+#define NUM_TLBCAMS	(64)
+struct tlbcam TLBCAM[NUM_TLBCAMS];
 
 struct tlbcamrange {
 	unsigned long start;
@@ -109,19 +103,6 @@ unsigned long p_mapped_by_tlbcam(phys_addr_t pa)
 	return 0;
 }
 
-void loadcam_entry(int idx)
-{
-	mtspr(SPRN_MAS0, TLBCAM[idx].MAS0);
-	mtspr(SPRN_MAS1, TLBCAM[idx].MAS1);
-	mtspr(SPRN_MAS2, TLBCAM[idx].MAS2);
-	mtspr(SPRN_MAS3, TLBCAM[idx].MAS3);
-
-	if (mmu_has_feature(MMU_FTR_BIG_PHYS))
-		mtspr(SPRN_MAS7, TLBCAM[idx].MAS7);
-
-	asm volatile("isync;tlbwe;isync" : : : "memory");
-}
-
 /*
  * Set up one of the I/D BAT (block address translation) register pairs.
  * The parameters are not checked; in particular size must be a power
arch/powerpc/mm/mmu_decl.h +9 -1
index d49a775..0591f25 100644
@@ -149,7 +149,15 @@ extern unsigned long mmu_mapin_ram(unsigned long top);
 extern void MMU_init_hw(void);
 extern unsigned long mmu_mapin_ram(unsigned long top);
 extern void adjust_total_lowmem(void);
-
+extern void loadcam_entry(unsigned int index);
+
+struct tlbcam {
+	u32	MAS0;
+	u32	MAS1;
+	unsigned long	MAS2;
+	u32	MAS3;
+	u32	MAS7;
+};
 #elif defined(CONFIG_PPC32)
 /* anything 32-bit except 4xx or 8xx */
 extern void MMU_init_hw(void);
arch/powerpc/mm/pgtable_32.c +8 -0
index b9243e7..767b0cf 100644
@@ -146,6 +146,14 @@ ioremap_flags(phys_addr_t addr, unsigned long size, unsigned long flags)
 	/* we don't want to let _PAGE_USER and _PAGE_EXEC leak out */
 	flags &= ~(_PAGE_USER | _PAGE_EXEC);
 
+#ifdef _PAGE_BAP_SR
+	/* _PAGE_USER contains _PAGE_BAP_SR on BookE using the new PTE format
+	 * which means that we just cleared supervisor access... oops ;-) This
+	 * restores it
+	 */
+	flags |= _PAGE_BAP_SR;
+#endif
+
 	return __ioremap_caller(addr, size, flags, __builtin_return_address(0));
 }
 EXPORT_SYMBOL(ioremap_flags);
arch/powerpc/mm/pgtable_64.c +8 -0
index d95679a..d050fc8 100644
@@ -265,6 +265,14 @@ void __iomem * ioremap_flags(phys_addr_t addr, unsigned long size,
 	/* we don't want to let _PAGE_USER and _PAGE_EXEC leak out */
 	flags &= ~(_PAGE_USER | _PAGE_EXEC);
 
+#ifdef _PAGE_BAP_SR
+	/* _PAGE_USER contains _PAGE_BAP_SR on BookE using the new PTE format
+	 * which means that we just cleared supervisor access... oops ;-) This
+	 * restores it
+	 */
+	flags |= _PAGE_BAP_SR;
+#endif
+
 	if (ppc_md.ioremap)
 		return ppc_md.ioremap(addr, size, flags, caller);
 	return __ioremap_caller(addr, size, flags, caller);
arch/powerpc/mm/tlb_nohash_low.S +28 -0
index bbdc5b5..8656ecf 100644
@@ -271,3 +271,31 @@ _GLOBAL(set_context)
 #else
 #error Unsupported processor type !
 #endif
+
+#if defined(CONFIG_FSL_BOOKE)
+/*
+ * extern void loadcam_entry(unsigned int index)
+ *
+ * Load TLBCAM[index] entry in to the L2 CAM MMU
+ */
+_GLOBAL(loadcam_entry)
+	LOAD_REG_ADDR(r4, TLBCAM)
+	mulli	r5,r3,TLBCAM_SIZE
+	add	r3,r5,r4
+	lwz	r4,TLBCAM_MAS0(r3)
+	mtspr	SPRN_MAS0,r4
+	lwz	r4,TLBCAM_MAS1(r3)
+	mtspr	SPRN_MAS1,r4
+	PPC_LL	r4,TLBCAM_MAS2(r3)
+	mtspr	SPRN_MAS2,r4
+	lwz	r4,TLBCAM_MAS3(r3)
+	mtspr	SPRN_MAS3,r4
+BEGIN_MMU_FTR_SECTION
+	lwz	r4,TLBCAM_MAS7(r3)
+	mtspr	SPRN_MAS7,r4
+END_MMU_FTR_SECTION_IFSET(MMU_FTR_BIG_PHYS)
+	isync
+	tlbwe
+	isync
+	blr
+#endif
arch/powerpc/oprofile/op_model_cell.c +1 -1
index 2c9e522..7fd90d0 100644
@@ -1077,7 +1077,7 @@ static int calculate_lfsr(int n)
 		index = ENTRIES-1;
 
 	/* make sure index is valid */
-	if ((index > ENTRIES) || (index < 0))
+	if ((index >= ENTRIES) || (index < 0))
 		index = ENTRIES-1;
 
 	return initial_lfsr[index];
arch/powerpc/platforms/pseries/hotplug-cpu.c +4 -26
index a8e1d5d..b0760d7 100644
@@ -154,30 +154,6 @@ static void pseries_mach_cpu_die(void)
 	for(;;);
 }
 
-static int qcss_tok;	/* query-cpu-stopped-state token */
-
-/* Get state of physical CPU.
- * Return codes:
- *	0	- The processor is in the RTAS stopped state
- *	1	- stop-self is in progress
- *	2	- The processor is not in the RTAS stopped state
- *	-1	- Hardware Error
- *	-2	- Hardware Busy, Try again later.
- */
-static int query_cpu_stopped(unsigned int pcpu)
-{
-	int cpu_status, status;
-
-	status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu);
-	if (status != 0) {
-		printk(KERN_ERR
-		       "RTAS query-cpu-stopped-state failed: %i\n", status);
-		return status;
-	}
-
-	return cpu_status;
-}
-
 static int pseries_cpu_disable(void)
 {
 	int cpu = smp_processor_id();
@@ -224,8 +200,9 @@ static void pseries_cpu_die(unsigned int cpu)
 	} else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {
 
 		for (tries = 0; tries < 25; tries++) {
-			cpu_status = query_cpu_stopped(pcpu);
-			if (cpu_status == 0 || cpu_status == -1)
+			cpu_status = smp_query_cpu_stopped(pcpu);
+			if (cpu_status == QCSS_STOPPED ||
+			    cpu_status == QCSS_HARDWARE_ERROR)
 				break;
 			cpu_relax();
 		}
@@ -388,6 +365,7 @@ static int __init pseries_cpu_hotplug_init(void)
 	struct device_node *np;
 	const char *typep;
 	int cpu;
+	int qcss_tok;
 
 	for_each_node_by_name(np, "interrupt-controller") {
 		typep = of_get_property(np, "compatible", NULL);
arch/powerpc/platforms/pseries/plpar_wrappers.h +8 -0
index a05f8d4..6c4fd2c 100644
@@ -4,6 +4,14 @@
 #include <asm/hvcall.h>
 #include <asm/page.h>
 
+/* Get state of physical CPU from query_cpu_stopped */
+int smp_query_cpu_stopped(unsigned int pcpu);
+#define QCSS_STOPPED 0
+#define QCSS_STOPPING 1
+#define QCSS_NOT_STOPPED 2
+#define QCSS_HARDWARE_ERROR -1
+#define QCSS_HARDWARE_BUSY -2
+
 static inline long poll_pending(void)
 {
 	return plpar_hcall_norets(H_POLL_PENDING);
arch/powerpc/platforms/pseries/smp.c +28 -0
index 4e7f89a..8979982 100644
@@ -57,6 +57,28 @@
  */
 static cpumask_t of_spin_map;
 
+/* Query where a cpu is now.  Return codes #defined in plpar_wrappers.h */
+int smp_query_cpu_stopped(unsigned int pcpu)
+{
+	int cpu_status, status;
+	int qcss_tok = rtas_token("query-cpu-stopped-state");
+
+	if (qcss_tok == RTAS_UNKNOWN_SERVICE) {
+		printk(KERN_INFO "Firmware doesn't support "
+				"query-cpu-stopped-state\n");
+		return QCSS_HARDWARE_ERROR;
+	}
+
+	status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu);
+	if (status != 0) {
+		printk(KERN_ERR
+		       "RTAS query-cpu-stopped-state failed: %i\n", status);
+		return status;
+	}
+
+	return cpu_status;
+}
+
 /**
  * smp_startup_cpu() - start the given cpu
  *
@@ -82,6 +104,12 @@ static inline int __devinit smp_startup_cpu(unsigned int lcpu)
 
 	pcpu = get_hard_smp_processor_id(lcpu);
 
+	/* Check to see if the CPU out of FW already for kexec */
+	if (smp_query_cpu_stopped(pcpu) == QCSS_NOT_STOPPED){
+		cpu_set(lcpu, of_spin_map);
+		return 1;
+	}
+
 	/* Fixup atomic count: it exited inside IRQ handler. */
 	task_thread_info(paca[lcpu].__current)->preempt_count	= 0;
 
arch/s390/kvm/kvm-s390.c +3 -1
index 4929286..ee7c713 100644
@@ -341,11 +341,13 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
 
 	rc = kvm_vcpu_init(vcpu, kvm, id);
 	if (rc)
-		goto out_free_cpu;
+		goto out_free_sie_block;
 	VM_EVENT(kvm, 3, "create cpu %d at %p, sie block at %p", id, vcpu,
 		 vcpu->arch.sie_block);
 
 	return vcpu;
+out_free_sie_block:
+	free_page((unsigned long)(vcpu->arch.sie_block));
 out_free_cpu:
 	kfree(vcpu);
 out_nomem:
arch/x86/include/asm/kvm_host.h +3 -0
index 06d9e79..63400e6 100644
@@ -180,6 +180,7 @@ union kvm_mmu_page_role {
 		unsigned invalid:1;
 		unsigned cr4_pge:1;
 		unsigned nxe:1;
+		unsigned cr0_wp:1;
 	};
 };
 
@@ -541,6 +542,8 @@ struct kvm_x86_ops {
 	int (*get_lpage_level)(void);
 	bool (*rdtscp_supported)(void);
 
+	void (*set_supported_cpuid)(u32 func, struct kvm_cpuid_entry2 *entry);
+
 	const struct trace_print_flags *exit_reasons_str;
 };
 
arch/x86/include/asm/msr-index.h +3 -2
index 4604e6a..d86da72 100644
@@ -199,8 +199,9 @@
 #define MSR_IA32_EBL_CR_POWERON		0x0000002a
 #define MSR_IA32_FEATURE_CONTROL        0x0000003a
 
-#define FEATURE_CONTROL_LOCKED		(1<<0)
-#define FEATURE_CONTROL_VMXON_ENABLED	(1<<2)
+#define FEATURE_CONTROL_LOCKED				(1<<0)
+#define FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX	(1<<1)
+#define FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX	(1<<2)
 
 #define MSR_IA32_APICBASE		0x0000001b
 #define MSR_IA32_APICBASE_BSP		(1<<8)
arch/x86/kernel/amd_iommu.c +9 -7
index f854d89..29e5e6e 100644
@@ -1420,6 +1420,7 @@ static int __attach_device(struct device *dev,
 			   struct protection_domain *domain)
 {
 	struct iommu_dev_data *dev_data, *alias_data;
+	int ret;
 
 	dev_data   = get_dev_data(dev);
 	alias_data = get_dev_data(dev_data->alias);
@@ -1431,13 +1432,14 @@ static int __attach_device(struct device *dev,
 	spin_lock(&domain->lock);
 
 	/* Some sanity checks */
+	ret = -EBUSY;
 	if (alias_data->domain != NULL &&
 	    alias_data->domain != domain)
-		return -EBUSY;
+		goto out_unlock;
 
 	if (dev_data->domain != NULL &&
 	    dev_data->domain != domain)
-		return -EBUSY;
+		goto out_unlock;
 
 	/* Do real assignment */
 	if (dev_data->alias != dev) {
@@ -1453,10 +1455,14 @@ static int __attach_device(struct device *dev,
 
 	atomic_inc(&dev_data->bind);
 
+	ret = 0;
+
+out_unlock:
+
 	/* ready */
 	spin_unlock(&domain->lock);
 
-	return 0;
+	return ret;
 }
 
 /*
@@ -2257,10 +2263,6 @@ int __init amd_iommu_init_dma_ops(void)
 
 	iommu_detected = 1;
 	swiotlb = 0;
-#ifdef CONFIG_GART_IOMMU
-	gart_iommu_aperture_disabled = 1;
-	gart_iommu_aperture = 0;
-#endif
 
 	/* Make the driver finally visible to the drivers */
 	dma_ops = &amd_iommu_dma_ops;
arch/x86/kernel/amd_iommu_init.c +17 -3
index 6360abf..6f8ce75 100644
@@ -286,8 +286,12 @@ static u8 * __init iommu_map_mmio_space(u64 address)
 {
 	u8 *ret;
 
-	if (!request_mem_region(address, MMIO_REGION_LENGTH, "amd_iommu"))
+	if (!request_mem_region(address, MMIO_REGION_LENGTH, "amd_iommu")) {
+		pr_err("AMD-Vi: Can not reserve memory region %llx for mmio\n",
+			address);
+		pr_err("AMD-Vi: This is a BIOS bug. Please contact your hardware vendor\n");
 		return NULL;
+	}
 
 	ret = ioremap_nocache(address, MMIO_REGION_LENGTH);
 	if (ret != NULL)
@@ -1313,7 +1317,7 @@ static int __init amd_iommu_init(void)
 		ret = amd_iommu_init_dma_ops();
 
 	if (ret)
-		goto free;
+		goto free_disable;
 
 	amd_iommu_init_api();
 
@@ -1331,9 +1335,10 @@ static int __init amd_iommu_init(void)
 out:
 	return ret;
 
-free:
+free_disable:
 	disable_iommus();
 
+free:
 	amd_iommu_uninit_devices();
 
 	free_pages((unsigned long)amd_iommu_pd_alloc_bitmap,
@@ -1352,6 +1357,15 @@ free:
 
 	free_unity_maps();
 
+#ifdef CONFIG_GART_IOMMU
+	/*
+	 * We failed to initialize the AMD IOMMU - try fallback to GART
+	 * if possible.
+	 */
+	gart_iommu_init();
+
+#endif
+
 	goto out;
 }
 
arch/x86/kernel/cpu/perf_event.c +4 -1
index db5bdc8..c5e8b53 100644
@@ -460,8 +460,11 @@ static int __hw_perf_event_init(struct perf_event *event)
 		if (atomic_read(&active_events) == 0) {
 			if (!reserve_pmc_hardware())
 				err = -EBUSY;
-			else
+			else {
 				err = reserve_bts_hardware();
+				if (err)
+					release_pmc_hardware();
+			}
 		}
 		if (!err)
 			atomic_inc(&active_events);
arch/x86/kernel/pvclock.c +24 -0
index 03801f2..dfdfe46 100644
@@ -109,11 +109,14 @@ unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src)
 	return pv_tsc_khz;
 }
 
+static atomic64_t last_value = ATOMIC64_INIT(0);
+
 cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src)
 {
 	struct pvclock_shadow_time shadow;
 	unsigned version;
 	cycle_t ret, offset;
+	u64 last;
 
 	do {
 		version = pvclock_get_time_values(&shadow, src);
@@ -123,6 +126,27 @@ cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src)
 		barrier();
 	} while (version != src->version);
 
+	/*
+	 * Assumption here is that last_value, a global accumulator, always goes
+	 * forward. If we are less than that, we should not be much smaller.
+	 * We assume there is an error marging we're inside, and then the correction
+	 * does not sacrifice accuracy.
+	 *
+	 * For reads: global may have changed between test and return,
+	 * but this means someone else updated poked the clock at a later time.
+	 * We just need to make sure we are not seeing a backwards event.
+	 *
+	 * For updates: last_value = ret is not enough, since two vcpus could be
+	 * updating at the same time, and one of them could be slightly behind,
+	 * making the assumption that last_value always go forward fail to hold.
+	 */
+	last = atomic64_read(&last_value);
+	do {
+		if (ret < last)
+			return last;
+		last = atomic64_cmpxchg(&last_value, last, ret);
+	} while (unlikely(last != ret));
+
 	return ret;
 }
 
arch/x86/kernel/setup.c +11 -0
index c4851ef..47ae912 100644
@@ -676,6 +676,17 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "DG45FC"),
 		},
 	},
+	/*
+	 * The Dell Inspiron Mini 1012 has DMI_BIOS_VENDOR = "Dell Inc.", so
+	 * match on the product name.
+	 */
+	{
+		.callback = dmi_low_memory_corruption,
+		.ident = "Phoenix BIOS",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1012"),
+		},
+	},
 #endif
 	{}
 };
arch/x86/kernel/tboot.c +1 -0
index 86c9f91..46b8277 100644
@@ -46,6 +46,7 @@
 
 /* Global pointer to shared data; NULL means no measured launch. */
 struct tboot *tboot __read_mostly;
+EXPORT_SYMBOL(tboot);
 
 /* timeout for APs (in secs) to enter wait-for-SIPI state during shutdown */
 #define AP_WAIT_TIMEOUT		1
arch/x86/kvm/mmu.c +9 -1
index 19a8906..62fd8e6 100644
@@ -223,7 +223,7 @@ void kvm_mmu_set_mask_ptes(u64 user_mask, u64 accessed_mask,
 }
 EXPORT_SYMBOL_GPL(kvm_mmu_set_mask_ptes);
 
-static int is_write_protection(struct kvm_vcpu *vcpu)
+static bool is_write_protection(struct kvm_vcpu *vcpu)
 {
 	return kvm_read_cr0_bits(vcpu, X86_CR0_WP);
 }
@@ -2085,11 +2085,13 @@ static int mmu_alloc_roots(struct kvm_vcpu *vcpu)
 			direct = 1;
 		if (mmu_check_root(vcpu, root_gfn))
 			return 1;
+		spin_lock(&vcpu->kvm->mmu_lock);
 		sp = kvm_mmu_get_page(vcpu, root_gfn, 0,
 				      PT64_ROOT_LEVEL, direct,
 				      ACC_ALL, NULL);
 		root = __pa(sp->spt);
 		++sp->root_count;
+		spin_unlock(&vcpu->kvm->mmu_lock);
 		vcpu->arch.mmu.root_hpa = root;
 		return 0;
 	}
@@ -2111,11 +2113,14 @@ static int mmu_alloc_roots(struct kvm_vcpu *vcpu)
 			root_gfn = 0;
 		if (mmu_check_root(vcpu, root_gfn))
 			return 1;
+		spin_lock(&vcpu->kvm->mmu_lock);
 		sp = kvm_mmu_get_page(vcpu, root_gfn, i << 30,
 				      PT32_ROOT_LEVEL, direct,
 				      ACC_ALL, NULL);
 		root = __pa(sp->spt);
 		++sp->root_count;
+		spin_unlock(&vcpu->kvm->mmu_lock);
+
 		vcpu->arch.mmu.pae_root[i] = root | PT_PRESENT_MASK;
 	}
 	vcpu->arch.mmu.root_hpa = __pa(vcpu->arch.mmu.pae_root);
@@ -2439,6 +2444,7 @@ static int init_kvm_softmmu(struct kvm_vcpu *vcpu)
 		r = paging32_init_context(vcpu);
 
 	vcpu->arch.mmu.base_role.glevels = vcpu->arch.mmu.root_level;
+	vcpu->arch.mmu.base_role.cr0_wp = is_write_protection(vcpu);
 
 	return r;
 }
@@ -2478,7 +2484,9 @@ int kvm_mmu_load(struct kvm_vcpu *vcpu)
 		goto out;
 	spin_lock(&vcpu->kvm->mmu_lock);
 	kvm_mmu_free_some_pages(vcpu);
+	spin_unlock(&vcpu->kvm->mmu_lock);
 	r = mmu_alloc_roots(vcpu);
+	spin_lock(&vcpu->kvm->mmu_lock);
 	mmu_sync_roots(vcpu);
 	spin_unlock(&vcpu->kvm->mmu_lock);
 	if (r)
arch/x86/kvm/svm.c +105 -58

381 lines not on this page · raw message

arch/x86/kvm/vmx.c +27 -11
index 2f8db0e..3c86c42 100644
@@ -27,6 +27,7 @@
 #include <linux/moduleparam.h>
 #include <linux/ftrace_event.h>
 #include <linux/slab.h>
+#include <linux/tboot.h>
 #include "kvm_cache_regs.h"
 #include "x86.h"
 
@@ -1176,9 +1177,16 @@ static __init int vmx_disabled_by_bios(void)
 	u64 msr;
 
 	rdmsrl(MSR_IA32_FEATURE_CONTROL, msr);
-	return (msr & (FEATURE_CONTROL_LOCKED |
-		       FEATURE_CONTROL_VMXON_ENABLED))
-	    == FEATURE_CONTROL_LOCKED;
+	if (msr & FEATURE_CONTROL_LOCKED) {
+		if (!(msr & FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX)
+			&& tboot_enabled())
+			return 1;
+		if (!(msr & FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX)
+			&& !tboot_enabled())
+			return 1;
+	}
+
+	return 0;
 	/* locked but not enabled */
 }
 
@@ -1186,21 +1194,23 @@ static int hardware_enable(void *garbage)
 {
 	int cpu = raw_smp_processor_id();
 	u64 phys_addr = __pa(per_cpu(vmxarea, cpu));
-	u64 old;
+	u64 old, test_bits;
 
 	if (read_cr4() & X86_CR4_VMXE)
 		return -EBUSY;
 
 	INIT_LIST_HEAD(&per_cpu(vcpus_on_cpu, cpu));
 	rdmsrl(MSR_IA32_FEATURE_CONTROL, old);
-	if ((old & (FEATURE_CONTROL_LOCKED |
-		    FEATURE_CONTROL_VMXON_ENABLED))
-	    != (FEATURE_CONTROL_LOCKED |
-		FEATURE_CONTROL_VMXON_ENABLED))
+
+	test_bits = FEATURE_CONTROL_LOCKED;
+	test_bits |= FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX;
+	if (tboot_enabled())
+		test_bits |= FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX;
+
+	if ((old & test_bits) != test_bits) {
 		/* enable and lock */
-		wrmsrl(MSR_IA32_FEATURE_CONTROL, old |
-		       FEATURE_CONTROL_LOCKED |
-		       FEATURE_CONTROL_VMXON_ENABLED);
+		wrmsrl(MSR_IA32_FEATURE_CONTROL, old | test_bits);
+	}
 	write_cr4(read_cr4() | X86_CR4_VMXE); /* FIXME: not cpu hotplug safe */
 	asm volatile (ASM_VMX_VMXON_RAX
 		      : : "a"(&phys_addr), "m"(phys_addr)
@@ -4115,6 +4125,10 @@ static void vmx_cpuid_update(struct kvm_vcpu *vcpu)
 	}
 }
 
+static void vmx_set_supported_cpuid(u32 func, struct kvm_cpuid_entry2 *entry)
+{
+}
+
 static struct kvm_x86_ops vmx_x86_ops = {
 	.cpu_has_kvm_support = cpu_has_kvm_support,
 	.disabled_by_bios = vmx_disabled_by_bios,
@@ -4186,6 +4200,8 @@ static struct kvm_x86_ops vmx_x86_ops = {
 	.cpuid_update = vmx_cpuid_update,
 
 	.rdtscp_supported = vmx_rdtscp_supported,
+
+	.set_supported_cpuid = vmx_set_supported_cpuid,
 };
 
 static int __init vmx_init(void)
arch/x86/kvm/x86.c +34 -24

148 lines not on this page · raw message

arch/x86/oprofile/nmi_int.c +8 -2
index 2c505ee..f1fb411 100644
@@ -95,7 +95,10 @@ static void nmi_cpu_save_registers(struct op_msrs *msrs)
 static void nmi_cpu_start(void *dummy)
 {
 	struct op_msrs const *msrs = &__get_cpu_var(cpu_msrs);
-	model->start(msrs);
+	if (!msrs->controls)
+		WARN_ON_ONCE(1);
+	else
+		model->start(msrs);
 }
 
 static int nmi_start(void)
@@ -107,7 +110,10 @@ static int nmi_start(void)
 static void nmi_cpu_stop(void *dummy)
 {
 	struct op_msrs const *msrs = &__get_cpu_var(cpu_msrs);
-	model->stop(msrs);
+	if (!msrs->controls)
+		WARN_ON_ONCE(1);
+	else
+		model->stop(msrs);
 }
 
 static void nmi_stop(void)
arch/x86/xen/suspend.c +2 -2
index 987267f..a9c6611 100644
@@ -60,6 +60,6 @@ static void xen_vcpu_notify_restore(void *data)
 
 void xen_arch_resume(void)
 {
-	smp_call_function(xen_vcpu_notify_restore,
-			       (void *)CLOCK_EVT_NOTIFY_RESUME, 1);
+	on_each_cpu(xen_vcpu_notify_restore,
+		    (void *)CLOCK_EVT_NOTIFY_RESUME, 1);
 }
arch/xtensa/include/asm/cache.h +1 -0
index f04c989..ed8cd3c 100644
@@ -29,5 +29,6 @@
 # define CACHE_WAY_SIZE ICACHE_WAY_SIZE
 #endif
 
+#define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
 
 #endif	/* _XTENSA_CACHE_H */
block/cfq-iosched.c +14 -6
index 5f127cf..002c0ce 100644
@@ -2503,15 +2503,10 @@ static void cfq_free_io_context(struct io_context *ioc)
 	__call_for_each_cic(ioc, cic_free_func);
 }
 
-static void cfq_exit_cfqq(struct cfq_data *cfqd, struct cfq_queue *cfqq)
+static void cfq_put_cooperator(struct cfq_queue *cfqq)
 {
 	struct cfq_queue *__cfqq, *next;
 
-	if (unlikely(cfqq == cfqd->active_queue)) {
-		__cfq_slice_expired(cfqd, cfqq, 0);
-		cfq_schedule_dispatch(cfqd);
-	}
-
 	/*
 	 * If this queue was scheduled to merge with another queue, be
 	 * sure to drop the reference taken on that queue (and others in
@@ -2527,6 +2522,16 @@ static void cfq_exit_cfqq(struct cfq_data *cfqd, struct cfq_queue *cfqq)
 		cfq_put_queue(__cfqq);
 		__cfqq = next;
 	}
+}
+
+static void cfq_exit_cfqq(struct cfq_data *cfqd, struct cfq_queue *cfqq)
+{
+	if (unlikely(cfqq == cfqd->active_queue)) {
+		__cfq_slice_expired(cfqd, cfqq, 0);
+		cfq_schedule_dispatch(cfqd);
+	}
+
+	cfq_put_cooperator(cfqq);
 
 	cfq_put_queue(cfqq);
 }
@@ -3470,6 +3475,9 @@ split_cfqq(struct cfq_io_context *cic, struct cfq_queue *cfqq)
 	}
 
 	cic_set_cfqq(cic, NULL, 1);
+
+	cfq_put_cooperator(cfqq);
+
 	cfq_put_queue(cfqq);
 	return NULL;
 }
drivers/acpi/video_detect.c +1 -1
index fc2f26b..c5fef01 100644
@@ -250,7 +250,7 @@ static int __init acpi_backlight(char *str)
 				ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR;
 		if (!strcmp("video", str))
 			acpi_video_support |=
-				ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO;
+				ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO;
 	}
 	return 1;
 }
drivers/ata/libata-core.c +6 -1
index 49cffb6..5abab5d 100644
@@ -160,6 +160,10 @@ int libata_allow_tpm = 0;
 module_param_named(allow_tpm, libata_allow_tpm, int, 0444);
 MODULE_PARM_DESC(allow_tpm, "Permit the use of TPM commands (0=off [default], 1=on)");
 
+static int atapi_an;
+module_param(atapi_an, int, 0444);
+MODULE_PARM_DESC(atapi_an, "Enable ATAPI AN media presence notification (0=0ff [default], 1=on)");
+
 MODULE_AUTHOR("Jeff Garzik");
 MODULE_DESCRIPTION("Library module for ATA devices");
 MODULE_LICENSE("GPL");
@@ -2572,7 +2576,8 @@ int ata_dev_configure(struct ata_device *dev)
 		 * to enable ATAPI AN to discern between PHY status
 		 * changed notifications and ATAPI ANs.
 		 */
-		if ((ap->flags & ATA_FLAG_AN) && ata_id_has_atapi_AN(id) &&
+		if (atapi_an &&
+		    (ap->flags & ATA_FLAG_AN) && ata_id_has_atapi_AN(id) &&
 		    (!sata_pmp_attached(ap) ||
 		     sata_scr_read(&ap->link, SCR_NOTIFICATION, &sntf) == 0)) {
 			unsigned int err_mask;
drivers/ata/libata-sff.c +1 -1
index e3877b6..4723648 100644
@@ -894,7 +894,7 @@ static void ata_pio_sector(struct ata_queued_cmd *qc)
 				       do_write);
 	}
 
-	if (!do_write)
+	if (!do_write && !PageSlab(page))
 		flush_dcache_page(page);
 
 	qc->curbytes += qc->sect_size;
drivers/ata/sata_nv.c +1 -4
index 2a98b09..7f3d179 100644
@@ -1674,7 +1674,6 @@ static void nv_mcp55_freeze(struct ata_port *ap)
 	mask = readl(mmio_base + NV_INT_ENABLE_MCP55);
 	mask &= ~(NV_INT_ALL_MCP55 << shift);
 	writel(mask, mmio_base + NV_INT_ENABLE_MCP55);
-	ata_sff_freeze(ap);
 }
 
 static void nv_mcp55_thaw(struct ata_port *ap)
@@ -1688,7 +1687,6 @@ static void nv_mcp55_thaw(struct ata_port *ap)
 	mask = readl(mmio_base + NV_INT_ENABLE_MCP55);
 	mask |= (NV_INT_MASK_MCP55 << shift);
 	writel(mask, mmio_base + NV_INT_ENABLE_MCP55);
-	ata_sff_thaw(ap);
 }
 
 static void nv_adma_error_handler(struct ata_port *ap)
@@ -2479,8 +2477,7 @@ static int nv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	}
 
 	pci_set_master(pdev);
-	return ata_host_activate(host, pdev->irq, ipriv->irq_handler,
-				 IRQF_SHARED, ipriv->sht);
+	return ata_pci_sff_activate_host(host, ipriv->irq_handler, ipriv->sht);
 }
 
 #ifdef CONFIG_PM
drivers/ata/sata_via.c +13 -0
index 08f6549..0553455 100644
@@ -575,6 +575,19 @@ static void svia_configure(struct pci_dev *pdev)
 		tmp8 |= NATIVE_MODE_ALL;
 		pci_write_config_byte(pdev, SATA_NATIVE_MODE, tmp8);
 	}
+
+	/*
+	 * vt6421 has problems talking to some drives.  The following
+	 * is the magic fix from Joseph Chan <[email protected]>.
+	 * Please add proper documentation if possible.
+	 *
+	 * https://bugzilla.kernel.org/show_bug.cgi?id=15173
+	 */
+	if (pdev->device == 0x3249) {
+		pci_read_config_byte(pdev, 0x52, &tmp8);
+		tmp8 |= 1 << 2;
+		pci_write_config_byte(pdev, 0x52, tmp8);
+	}
 }
 
 static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
drivers/base/cpu.c +1 -1
index f35719a..251acea 100644
@@ -186,7 +186,7 @@ static ssize_t print_cpus_offline(struct sysdev_class *class,
 	/* display offline cpus < nr_cpu_ids */
 	if (!alloc_cpumask_var(&offline, GFP_KERNEL))
 		return -ENOMEM;
-	cpumask_complement(offline, cpu_online_mask);
+	cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask);
 	n = cpulist_scnprintf(buf, len, offline);
 	free_cpumask_var(offline);
 
drivers/char/ipmi/ipmi_si_intf.c +8 -3
index 4462b11..9ead05d 100644
@@ -314,9 +314,14 @@ static void deliver_recv_msg(struct smi_info *smi_info,
 {
 	/* Deliver the message to the upper layer with the lock
 	   released. */
-	spin_unlock(&(smi_info->si_lock));
-	ipmi_smi_msg_received(smi_info->intf, msg);
-	spin_lock(&(smi_info->si_lock));
+
+	if (smi_info->run_to_completion) {
+		ipmi_smi_msg_received(smi_info->intf, msg);
+	} else {
+		spin_unlock(&(smi_info->si_lock));
+		ipmi_smi_msg_received(smi_info->intf, msg);
+		spin_lock(&(smi_info->si_lock));
+	}
 }
 
 static void return_hosed_msg(struct smi_info *smi_info, int cCode)
drivers/clocksource/sh_cmt.c +12 -9
index 744f748..a860ec0 100644
@@ -413,18 +413,10 @@ static cycle_t sh_cmt_clocksource_read(struct clocksource *cs)
 static int sh_cmt_clocksource_enable(struct clocksource *cs)
 {
 	struct sh_cmt_priv *p = cs_to_sh_cmt(cs);
-	int ret;
 
 	p->total_cycles = 0;
 
-	ret = sh_cmt_start(p, FLAG_CLOCKSOURCE);
-	if (ret)
-		return ret;
-
-	/* TODO: calculate good shift from rate and counter bit width */
-	cs->shift = 0;
-	cs->mult = clocksource_hz2mult(p->rate, cs->shift);
-	return 0;
+	return sh_cmt_start(p, FLAG_CLOCKSOURCE);
 }
 
 static void sh_cmt_clocksource_disable(struct clocksource *cs)
@@ -451,7 +443,18 @@ static int sh_cmt_register_clocksource(struct sh_cmt_priv *p,
 	cs->resume = sh_cmt_clocksource_resume;
 	cs->mask = CLOCKSOURCE_MASK(sizeof(unsigned long) * 8);
 	cs->flags = CLOCK_SOURCE_IS_CONTINUOUS;
+
+	/* clk_get_rate() needs an enabled clock */
+	clk_enable(p->clk);
+	p->rate = clk_get_rate(p->clk) / (p->width == 16) ? 512 : 8;
+	clk_disable(p->clk);
+
+	/* TODO: calculate good shift from rate and counter bit width */
+	cs->shift = 10;
+	cs->mult = clocksource_hz2mult(p->rate, cs->shift);
+
 	pr_info("sh_cmt: %s used as clock source\n", cs->name);
+
 	clocksource_register(cs);
 	return 0;
 }
drivers/clocksource/sh_tmu.c +11 -9
index fc9ff1e..7a24160 100644
@@ -200,16 +200,8 @@ static cycle_t sh_tmu_clocksource_read(struct clocksource *cs)
 static int sh_tmu_clocksource_enable(struct clocksource *cs)
 {
 	struct sh_tmu_priv *p = cs_to_sh_tmu(cs);
-	int ret;
-
-	ret = sh_tmu_enable(p);
-	if (ret)
-		return ret;
 
-	/* TODO: calculate good shift from rate and counter bit width */
-	cs->shift = 10;
-	cs->mult = clocksource_hz2mult(p->rate, cs->shift);
-	return 0;
+	return sh_tmu_enable(p);
 }
 
 static void sh_tmu_clocksource_disable(struct clocksource *cs)
@@ -229,6 +221,16 @@ static int sh_tmu_register_clocksource(struct sh_tmu_priv *p,
 	cs->disable = sh_tmu_clocksource_disable;
 	cs->mask = CLOCKSOURCE_MASK(32);
 	cs->flags = CLOCK_SOURCE_IS_CONTINUOUS;
+
+	/* clk_get_rate() needs an enabled clock */
+	clk_enable(p->clk);
+	/* channel will be configured at parent clock / 4 */
+	p->rate = clk_get_rate(p->clk) / 4;
+	clk_disable(p->clk);
+	/* TODO: calculate good shift from rate and counter bit width */
+	cs->shift = 10;
+	cs->mult = clocksource_hz2mult(p->rate, cs->shift);
+
 	pr_info("sh_tmu: %s used as clock source\n", cs->name);
 	clocksource_register(cs);
 	return 0;
drivers/firewire/core-card.c +19 -5
index 5045156..991447b 100644
@@ -231,7 +231,7 @@ void fw_schedule_bm_work(struct fw_card *card, unsigned long delay)
 static void fw_card_bm_work(struct work_struct *work)
 {
 	struct fw_card *card = container_of(work, struct fw_card, work.work);
-	struct fw_device *root_device;
+	struct fw_device *root_device, *irm_device;
 	struct fw_node *root_node;
 	unsigned long flags;
 	int root_id, new_root_id, irm_id, local_id;
@@ -239,6 +239,7 @@ static void fw_card_bm_work(struct work_struct *work)
 	bool do_reset = false;
 	bool root_device_is_running;
 	bool root_device_is_cmc;
+	bool irm_is_1394_1995_only;
 
 	spin_lock_irqsave(&card->lock, flags);
 
@@ -248,12 +249,18 @@ static void fw_card_bm_work(struct work_struct *work)
 	}
 
 	generation = card->generation;
+
 	root_node = card->root_node;
 	fw_node_get(root_node);
 	root_device = root_node->data;
 	root_device_is_running = root_device &&
 			atomic_read(&root_device->state) == FW_DEVICE_RUNNING;
 	root_device_is_cmc = root_device && root_device->cmc;
+
+	irm_device = card->irm_node->data;
+	irm_is_1394_1995_only = irm_device && irm_device->config_rom &&
+			(irm_device->config_rom[2] & 0x000000f0) == 0;
+
 	root_id  = root_node->node_id;
 	irm_id   = card->irm_node->node_id;
 	local_id = card->local_node->node_id;
@@ -276,8 +283,15 @@ static void fw_card_bm_work(struct work_struct *work)
 
 		if (!card->irm_node->link_on) {
 			new_root_id = local_id;
-			fw_notify("IRM has link off, making local node (%02x) root.\n",
-				  new_root_id);
+			fw_notify("%s, making local node (%02x) root.\n",
+				  "IRM has link off", new_root_id);
+			goto pick_me;
+		}
+
+		if (irm_is_1394_1995_only) {
+			new_root_id = local_id;
+			fw_notify("%s, making local node (%02x) root.\n",
+				  "IRM is not 1394a compliant", new_root_id);
 			goto pick_me;
 		}
 
@@ -316,8 +330,8 @@ static void fw_card_bm_work(struct work_struct *work)
 			 * root, and thus, IRM.
 			 */
 			new_root_id = local_id;
-			fw_notify("BM lock failed, making local node (%02x) root.\n",
-				  new_root_id);
+			fw_notify("%s, making local node (%02x) root.\n",
+				  "BM lock failed", new_root_id);
 			goto pick_me;
 		}
 	} else if (card->bm_generation != generation) {
drivers/gpu/drm/drm_edid.c +1 -1
index 18f41d7..10348d3 100644
@@ -335,7 +335,7 @@ static struct drm_display_mode drm_dmt_modes[] = {
 		   DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) },
 	/* 1024x768@85Hz */
 	{ DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 94500, 1024, 1072,
-		   1072, 1376, 0, 768, 769, 772, 808, 0,
+		   1168, 1376, 0, 768, 769, 772, 808, 0,
 		   DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) },
 	/* 1152x864@75Hz */
 	{ DRM_MODE("1152x864", DRM_MODE_TYPE_DRIVER, 108000, 1152, 1216,
drivers/gpu/drm/i915/i915_gem.c +19 -0
index ef3d91d..691701a 100644
@@ -2688,6 +2688,14 @@ i915_gem_object_bind_to_gtt(struct drm_gem_object *obj, unsigned alignment)
 		return -EINVAL;
 	}
 
+	/* If the object is bigger than the entire aperture, reject it early
+	 * before evicting everything in a vain attempt to find space.
+	 */
+	if (obj->size > dev->gtt_total) {
+		DRM_ERROR("Attempting to bind an object larger than the aperture\n");
+		return -E2BIG;
+	}
+
  search_free:
 	free_space = drm_mm_search_free(&dev_priv->mm.gtt_space,
 					obj->size, alignment, 0);
@@ -4231,6 +4239,17 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment)
 	int ret;
 
 	i915_verify_inactive(dev, __FILE__, __LINE__);
+
+	if (obj_priv->gtt_space != NULL) {
+		if (alignment == 0)
+			alignment = i915_gem_get_gtt_alignment(obj);
+		if (obj_priv->gtt_offset & (alignment - 1)) {
+			ret = i915_gem_object_unbind(obj);
+			if (ret)
+				return ret;
+		}
+	}
+
 	if (obj_priv->gtt_space == NULL) {
 		ret = i915_gem_object_bind_to_gtt(obj, alignment);
 		if (ret)
drivers/gpu/drm/i915/intel_display.c +0 -6
index c7502b6..70765cf 100644
@@ -4155,12 +4155,6 @@ void intel_finish_page_flip(struct drm_device *dev, int pipe)
 	spin_lock_irqsave(&dev->event_lock, flags);
 	work = intel_crtc->unpin_work;
 	if (work == NULL || !work->pending) {
-		if (work && !work->pending) {
-			obj_priv = to_intel_bo(work->pending_flip_obj);
-			DRM_DEBUG_DRIVER("flip finish: %p (%d) not pending?\n",
-					 obj_priv,
-					 atomic_read(&obj_priv->pending_flip));
-		}
 		spin_unlock_irqrestore(&dev->event_lock, flags);
 		return;
 	}
drivers/gpu/drm/i915/intel_dp.c +0 -10
index 77e40cf..7c28ff1 100644
@@ -1180,16 +1180,6 @@ intel_dp_detect(struct drm_connector *connector)
 	if (HAS_PCH_SPLIT(dev))
 		return ironlake_dp_detect(connector);
 
-	temp = I915_READ(PORT_HOTPLUG_EN);
-
-	I915_WRITE(PORT_HOTPLUG_EN,
-	       temp |
-	       DPB_HOTPLUG_INT_EN |
-	       DPC_HOTPLUG_INT_EN |
-	       DPD_HOTPLUG_INT_EN);
-
-	POSTING_READ(PORT_HOTPLUG_EN);
-
 	switch (dp_priv->output_reg) {
 	case DP_B:
 		bit = DPB_HOTPLUG_INT_STATUS;
drivers/gpu/drm/radeon/radeon.h +1 -0
index 034218c..4c7204a 100644
@@ -566,6 +566,7 @@ typedef int (*radeon_packet3_check_t)(struct radeon_cs_parser *p,
  */
 int radeon_agp_init(struct radeon_device *rdev);
 void radeon_agp_resume(struct radeon_device *rdev);
+void radeon_agp_suspend(struct radeon_device *rdev);
 void radeon_agp_fini(struct radeon_device *rdev);
 
 
drivers/gpu/drm/radeon/radeon_agp.c +5 -0
index 28e473f..f40dfb7 100644
@@ -270,3 +270,8 @@ void radeon_agp_fini(struct radeon_device *rdev)
 	}
 #endif
 }
+
+void radeon_agp_suspend(struct radeon_device *rdev)
+{
+	radeon_agp_fini(rdev);
+}
drivers/gpu/drm/radeon/radeon_atombios.c +3 -4
index 9916d82..1a4fa9b 100644
@@ -530,6 +530,8 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev)
 			}
 
 			/* look up gpio for ddc, hpd */
+			ddc_bus.valid = false;
+			hpd.hpd = RADEON_HPD_NONE;
 			if ((le16_to_cpu(path->usDeviceTag) &
 			     (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT)) == 0) {
 				for (j = 0; j < con_obj->ucNumberOfObjects; j++) {
@@ -585,9 +587,6 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev)
 						break;
 					}
 				}
-			} else {
-				hpd.hpd = RADEON_HPD_NONE;
-				ddc_bus.valid = false;
 			}
 
 			/* needed for aux chan transactions */
@@ -1174,7 +1173,7 @@ struct radeon_encoder_atom_dig *radeon_atombios_get_lvds_info(struct
 		lvds->native_mode.vtotal = lvds->native_mode.vdisplay +
 			le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time);
 		lvds->native_mode.vsync_start = lvds->native_mode.vdisplay +
-			le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth);
+			le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset);
 		lvds->native_mode.vsync_end = lvds->native_mode.vsync_start +
 			le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth);
 		lvds->panel_pwr_delay =
drivers/gpu/drm/radeon/radeon_device.c +2 -0
index 7b629e3..ed6a724 100644
@@ -748,6 +748,8 @@ int radeon_suspend_kms(struct drm_device *dev, pm_message_t state)
 	/* evict remaining vram memory */
 	radeon_bo_evict_vram(rdev);
 
+	radeon_agp_suspend(rdev);
+
 	pci_save_state(dev->pdev);
 	if (state.event == PM_EVENT_SUSPEND) {
 		/* Shut down the device */
drivers/gpu/drm/radeon/radeon_display.c +4 -1
index bb1c122..c2848e0 100644
@@ -978,8 +978,11 @@ void radeon_update_display_priority(struct radeon_device *rdev)
 		/* set display priority to high for r3xx, rv515 chips
 		 * this avoids flickering due to underflow to the
 		 * display controllers during heavy acceleration.
+		 * Don't force high on rs4xx igp chips as it seems to
+		 * affect the sound card.  See kernel bug 15982.
 		 */
-		if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515))
+		if ((ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515)) &&
+		    !(rdev->flags & RADEON_IS_IGP))
 			rdev->disp_priority = 2;
 		else
 			rdev->disp_priority = 0;
drivers/gpu/drm/radeon/radeon_state.c +3 -2
index cc5316d..b3ba44c 100644
@@ -900,9 +900,10 @@ static void radeon_cp_dispatch_clear(struct drm_device * dev,
 			flags |= RADEON_FRONT;
 	}
 	if (flags & (RADEON_DEPTH|RADEON_STENCIL)) {
-		if (!dev_priv->have_z_offset)
+		if (!dev_priv->have_z_offset) {
 			printk_once(KERN_ERR "radeon: illegal depth clear request. Buggy mesa detected - please update.\n");
-		flags &= ~(RADEON_DEPTH | RADEON_STENCIL);
+			flags &= ~(RADEON_DEPTH | RADEON_STENCIL);
+		}
 	}
 
 	if (flags & (RADEON_FRONT | RADEON_BACK)) {
drivers/hid/hid-core.c +1 -0
index 143e788..0010efa 100644
@@ -1305,6 +1305,7 @@ static const struct hid_device_id hid_blacklist[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0012) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
drivers/hid/hid-gyration.c +1 -0
index 62416e6..3975e03 100644
@@ -73,6 +73,7 @@ static int gyration_event(struct hid_device *hdev, struct hid_field *field,
 static const struct hid_device_id gyration_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, gyration_devices);
drivers/hid/hid-ids.h +1 -0
index 09d2764..b681cbf 100644
@@ -267,6 +267,7 @@
 #define USB_VENDOR_ID_GYRATION		0x0c16
 #define USB_DEVICE_ID_GYRATION_REMOTE	0x0002
 #define USB_DEVICE_ID_GYRATION_REMOTE_2 0x0003
+#define USB_DEVICE_ID_GYRATION_REMOTE_3 0x0008
 
 #define USB_VENDOR_ID_HAPP		0x078b
 #define USB_DEVICE_ID_UGCI_DRIVING	0x0010
drivers/hwmon/ltc4245.c +5 -13
index 65c232a..21d201b 100644
@@ -45,9 +45,7 @@ enum ltc4245_cmd {
 	LTC4245_VEEIN			= 0x19,
 	LTC4245_VEESENSE		= 0x1a,
 	LTC4245_VEEOUT			= 0x1b,
-	LTC4245_GPIOADC1		= 0x1c,
-	LTC4245_GPIOADC2		= 0x1d,
-	LTC4245_GPIOADC3		= 0x1e,
+	LTC4245_GPIOADC			= 0x1c,
 };
 
 struct ltc4245_data {
@@ -61,7 +59,7 @@ struct ltc4245_data {
 	u8 cregs[0x08];
 
 	/* Voltage registers */
-	u8 vregs[0x0f];
+	u8 vregs[0x0d];
 };
 
 static struct ltc4245_data *ltc4245_update_device(struct device *dev)
@@ -86,7 +84,7 @@ static struct ltc4245_data *ltc4245_update_device(struct device *dev)
 				data->cregs[i] = val;
 		}
 
-		/* Read voltage registers -- 0x10 to 0x1f */
+		/* Read voltage registers -- 0x10 to 0x1c */
 		for (i = 0; i < ARRAY_SIZE(data->vregs); i++) {
 			val = i2c_smbus_read_byte_data(client, i+0x10);
 			if (unlikely(val < 0))
@@ -128,9 +126,7 @@ static int ltc4245_get_voltage(struct device *dev, u8 reg)
 	case LTC4245_VEEOUT:
 		voltage = regval * -55;
 		break;
-	case LTC4245_GPIOADC1:
-	case LTC4245_GPIOADC2:
-	case LTC4245_GPIOADC3:
+	case LTC4245_GPIOADC:
 		voltage = regval * 10;
 		break;
 	default:
@@ -297,9 +293,7 @@ LTC4245_ALARM(in7_min_alarm,	(1 << 2),	LTC4245_FAULT2);
 LTC4245_ALARM(in8_min_alarm,	(1 << 3),	LTC4245_FAULT2);
 
 /* GPIO voltages */
-LTC4245_VOLTAGE(in9_input,			LTC4245_GPIOADC1);
-LTC4245_VOLTAGE(in10_input,			LTC4245_GPIOADC2);
-LTC4245_VOLTAGE(in11_input,			LTC4245_GPIOADC3);
+LTC4245_VOLTAGE(in9_input,			LTC4245_GPIOADC);
 
 /* Power Consumption (virtual) */
 LTC4245_POWER(power1_input,			LTC4245_12VSENSE);
@@ -342,8 +336,6 @@ static struct attribute *ltc4245_attributes[] = {
 	&sensor_dev_attr_in8_min_alarm.dev_attr.attr,
 
 	&sensor_dev_attr_in9_input.dev_attr.attr,
-	&sensor_dev_attr_in10_input.dev_attr.attr,
-	&sensor_dev_attr_in11_input.dev_attr.attr,
 
 	&sensor_dev_attr_power1_input.dev_attr.attr,
 	&sensor_dev_attr_power2_input.dev_attr.attr,
drivers/md/linear.c +1 -0
index 09437e9..0a1042b 100644
@@ -282,6 +282,7 @@ static int linear_stop (mddev_t *mddev)
 	rcu_barrier();
 	blk_sync_queue(mddev->queue); /* the unplug fn references 'conf'*/
 	kfree(conf);
+	mddev->private = NULL;
 
 	return 0;
 }
drivers/md/md.c +85 -14

141 lines not on this page · raw message

drivers/md/md.h +1 -0
index 8e4c75c..722f5df 100644
@@ -305,6 +305,7 @@ struct mddev_s
 	atomic_t 			max_corr_read_errors; /* max read retries */
 	struct list_head		all_mddevs;
 
+	struct attribute_group		*to_remove;
 	/* Generic barrier handling.
 	 * If there is a pending barrier request, all other
 	 * writes are blocked while the devices are flushed.
drivers/md/raid1.c +5 -4
index e59b10e..84d3bf0 100644
@@ -418,7 +418,7 @@ static void raid1_end_write_request(struct bio *bio, int error)
  */
 static int read_balance(conf_t *conf, r1bio_t *r1_bio)
 {
-	const unsigned long this_sector = r1_bio->sector;
+	const sector_t this_sector = r1_bio->sector;
 	int new_disk = conf->last_used, disk = new_disk;
 	int wonly_disk = -1;
 	const int sectors = r1_bio->sectors;
@@ -434,7 +434,7 @@ static int read_balance(conf_t *conf, r1bio_t *r1_bio)
  retry:
 	if (conf->mddev->recovery_cp < MaxSector &&
 	    (this_sector + sectors >= conf->next_resync)) {
-		/* Choose the first operation device, for consistancy */
+		/* Choose the first operational device, for consistancy */
 		new_disk = 0;
 
 		for (rdev = rcu_dereference(conf->mirrors[new_disk].rdev);
@@ -912,9 +912,10 @@ static int make_request(struct request_queue *q, struct bio * bio)
 			if (test_bit(Faulty, &rdev->flags)) {
 				rdev_dec_pending(rdev, mddev);
 				r1_bio->bios[i] = NULL;
-			} else
+			} else {
 				r1_bio->bios[i] = bio;
-			targets++;
+				targets++;
+			}
 		} else
 			r1_bio->bios[i] = NULL;
 	}
drivers/md/raid10.c +1 -1
index e2766d8..ad945cc 100644
@@ -494,7 +494,7 @@ static int raid10_mergeable_bvec(struct request_queue *q,
  */
 static int read_balance(conf_t *conf, r10bio_t *r10_bio)
 {
-	const unsigned long this_sector = r10_bio->sector;
+	const sector_t this_sector = r10_bio->sector;
 	int disk, slot, nslot;
 	const int sectors = r10_bio->sectors;
 	sector_t new_distance, current_distance;
drivers/md/raid5.c +5 -2
index 15348c3..6af0a6d 100644
@@ -5087,7 +5087,9 @@ static int run(mddev_t *mddev)
 	}
 
 	/* Ok, everything is just fine now */
-	if (sysfs_create_group(&mddev->kobj, &raid5_attrs_group))
+	if (mddev->to_remove == &raid5_attrs_group)
+		mddev->to_remove = NULL;
+	else if (sysfs_create_group(&mddev->kobj, &raid5_attrs_group))
 		printk(KERN_WARNING
 		       "raid5: failed to create sysfs attributes for %s\n",
 		       mdname(mddev));
@@ -5134,7 +5136,8 @@ static int stop(mddev_t *mddev)
 	mddev->queue->backing_dev_info.congested_fn = NULL;
 	blk_sync_queue(mddev->queue); /* the unplug fn references 'conf'*/
 	free_conf(conf);
-	mddev->private = &raid5_attrs_group;
+	mddev->private = NULL;
+	mddev->to_remove = &raid5_attrs_group;
 	return 0;
 }
 
drivers/media/video/uvc/uvc_ctrl.c +2 -0
index 6d3850b..2194da5 100644
@@ -1047,6 +1047,8 @@ int uvc_ctrl_set(struct uvc_video_chain *chain,
 				   uvc_ctrl_data(ctrl, UVC_CTRL_DATA_MAX));
 		step = mapping->get(mapping, UVC_GET_RES,
 				    uvc_ctrl_data(ctrl, UVC_CTRL_DATA_RES));
+		if (step == 0)
+			step = 1;
 
 		xctrl->value = min + (xctrl->value - min + step/2) / step * step;
 		xctrl->value = clamp(xctrl->value, min, max);
drivers/misc/vmware_balloon.c +15 -3
index e7161c4..ad8fb09 100644
@@ -45,7 +45,7 @@
 
 MODULE_AUTHOR("VMware, Inc.");
 MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.2.1.0-K");
+MODULE_VERSION("1.2.1.1-k");
 MODULE_ALIAS("dmi:*:svnVMware*:*");
 MODULE_ALIAS("vmware_vmmemctl");
 MODULE_LICENSE("GPL");
@@ -101,6 +101,8 @@ MODULE_LICENSE("GPL");
 /* Maximum number of page allocations without yielding processor */
 #define VMW_BALLOON_YIELD_THRESHOLD	1024
 
+/* Maximum number of refused pages we accumulate during inflation cycle */
+#define VMW_BALLOON_MAX_REFUSED		16
 
 /*
  * Hypervisor communication port definitions.
@@ -183,6 +185,7 @@ struct vmballoon {
 
 	/* transient list of non-balloonable pages */
 	struct list_head refused_pages;
+	unsigned int n_refused_pages;
 
 	/* balloon size in pages */
 	unsigned int size;
@@ -428,14 +431,21 @@ static int vmballoon_reserve_page(struct vmballoon *b, bool can_sleep)
 		/* inform monitor */
 		locked = vmballoon_send_lock_page(b, page_to_pfn(page));
 		if (!locked) {
+			STATS_INC(b->stats.refused_alloc);
+
 			if (b->reset_required) {
 				__free_page(page);
 				return -EIO;
 			}
 
-			/* place on list of non-balloonable pages, retry allocation */
+			/*
+			 * Place page on the list of non-balloonable pages
+			 * and retry allocation, unless we already accumulated
+			 * too many of them, in which case take a breather.
+			 */
 			list_add(&page->lru, &b->refused_pages);
-			STATS_INC(b->stats.refused_alloc);
+			if (++b->n_refused_pages >= VMW_BALLOON_MAX_REFUSED)
+				return -EIO;
 		}
 	} while (!locked);
 
@@ -483,6 +493,8 @@ static void vmballoon_release_refused_pages(struct vmballoon *b)
 		__free_page(page);
 		STATS_INC(b->stats.refused_free);
 	}
+
+	b->n_refused_pages = 0;
 }
 
 /*
drivers/net/arcnet/com20020-pci.c +2 -2
index 2c712af..48a1dbf 100644
@@ -164,8 +164,8 @@ static DEFINE_PCI_DEVICE_TABLE(com20020pci_id_table) = {
 	{ 0x1571, 0xa204, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
 	{ 0x1571, 0xa205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
 	{ 0x1571, 0xa206, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
-	{ 0x10B5, 0x9030, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
-	{ 0x10B5, 0x9050, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
+	{ 0x10B5, 0x9030, 0x10B5,     0x2978,     0, 0, ARC_CAN_10MBIT },
+	{ 0x10B5, 0x9050, 0x10B5,     0x2273,     0, 0, ARC_CAN_10MBIT },
 	{ 0x14BA, 0x6000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
 	{ 0x10B5, 0x2200, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ARC_CAN_10MBIT },
 	{0,}
drivers/net/can/sja1000/sja1000.c +17 -3
index 145b1a7..dd70d0c 100644
@@ -84,6 +84,20 @@ static struct can_bittiming_const sja1000_bittiming_const = {
 	.brp_inc = 1,
 };
 
+static void sja1000_write_cmdreg(struct sja1000_priv *priv, u8 val)
+{
+	unsigned long flags;
+
+	/*
+	 * The command register needs some locking and time to settle
+	 * the write_reg() operation - especially on SMP systems.
+	 */
+	spin_lock_irqsave(&priv->cmdreg_lock, flags);
+	priv->write_reg(priv, REG_CMR, val);
+	priv->read_reg(priv, REG_SR);
+	spin_unlock_irqrestore(&priv->cmdreg_lock, flags);
+}
+
 static int sja1000_probe_chip(struct net_device *dev)
 {
 	struct sja1000_priv *priv = netdev_priv(dev);
@@ -297,7 +311,7 @@ static netdev_tx_t sja1000_start_xmit(struct sk_buff *skb,
 
 	can_put_echo_skb(skb, dev, 0);
 
-	priv->write_reg(priv, REG_CMR, CMD_TR);
+	sja1000_write_cmdreg(priv, CMD_TR);
 
 	return NETDEV_TX_OK;
 }
@@ -346,7 +360,7 @@ static void sja1000_rx(struct net_device *dev)
 	cf->can_id = id;
 
 	/* release receive buffer */
-	priv->write_reg(priv, REG_CMR, CMD_RRB);
+	sja1000_write_cmdreg(priv, CMD_RRB);
 
 	netif_rx(skb);
 
@@ -374,7 +388,7 @@ static int sja1000_err(struct net_device *dev, uint8_t isrc, uint8_t status)
 		cf->data[1] = CAN_ERR_CRTL_RX_OVERFLOW;
 		stats->rx_over_errors++;
 		stats->rx_errors++;
-		priv->write_reg(priv, REG_CMR, CMD_CDO);	/* clear bit */
+		sja1000_write_cmdreg(priv, CMD_CDO);	/* clear bit */
 	}
 
 	if (isrc & IRQ_EI) {
drivers/net/can/sja1000/sja1000.h +1 -0
index 97a622b..de8e778 100644
@@ -167,6 +167,7 @@ struct sja1000_priv {
 
 	void __iomem *reg_base;	 /* ioremap'ed address to registers */
 	unsigned long irq_flags; /* for request_irq() */
+	spinlock_t cmdreg_lock;  /* lock for concurrent cmd register writes */
 
 	u16 flags;		/* custom mode flags */
 	u8 ocr;			/* output control register */
drivers/net/mlx4/icm.c +2 -1
index 57288ca..ef62f17 100644
@@ -175,9 +175,10 @@ struct mlx4_icm *mlx4_alloc_icm(struct mlx4_dev *dev, int npages,
 
 				if (chunk->nsg <= 0)
 					goto fail;
+			}
 
+			if (chunk->npages == MLX4_ICM_CHUNK_LEN)
 				chunk = NULL;
-			}
 
 			npages -= 1 << cur_order;
 		} else {
drivers/net/wireless/ath/ar9170/hw.h +1 -0
index 0a1d4c2..06f1f3c 100644
@@ -425,5 +425,6 @@ enum ar9170_txq {
 
 #define AR9170_TXQ_DEPTH	32
 #define AR9170_TX_MAX_PENDING	128
+#define AR9170_RX_STREAM_MAX_SIZE 65535
 
 #endif /* __AR9170_HW_H */
drivers/net/wireless/ath/ar9170/main.c +1 -1
index c536929..144db02 100644
@@ -2516,7 +2516,7 @@ void *ar9170_alloc(size_t priv_size)
 	 * tends to split the streams into separate rx descriptors.
 	 */
 
-	skb = __dev_alloc_skb(AR9170_MAX_RX_BUFFER_SIZE, GFP_KERNEL);
+	skb = __dev_alloc_skb(AR9170_RX_STREAM_MAX_SIZE, GFP_KERNEL);
 	if (!skb)
 		goto err_nomem;
 
drivers/net/wireless/ath/ar9170/usb.c +10 -0
index e1c2fca..7bae7fd 100644
@@ -67,18 +67,28 @@ static struct usb_device_id ar9170_usb_ids[] = {
 	{ USB_DEVICE(0x0cf3, 0x1001) },
 	/* TP-Link TL-WN821N v2 */
 	{ USB_DEVICE(0x0cf3, 0x1002) },
+	/* 3Com Dual Band 802.11n USB Adapter */
+	{ USB_DEVICE(0x0cf3, 0x1010) },
+	/* H3C Dual Band 802.11n USB Adapter */
+	{ USB_DEVICE(0x0cf3, 0x1011) },
 	/* Cace Airpcap NX */
 	{ USB_DEVICE(0xcace, 0x0300) },
 	/* D-Link DWA 160 A1 */
 	{ USB_DEVICE(0x07d1, 0x3c10) },
 	/* D-Link DWA 160 A2 */
 	{ USB_DEVICE(0x07d1, 0x3a09) },
+	/* Netgear WNA1000 */
+	{ USB_DEVICE(0x0846, 0x9040) },
 	/* Netgear WNDA3100 */
 	{ USB_DEVICE(0x0846, 0x9010) },
 	/* Netgear WN111 v2 */
 	{ USB_DEVICE(0x0846, 0x9001) },
 	/* Zydas ZD1221 */
 	{ USB_DEVICE(0x0ace, 0x1221) },
+	/* Proxim ORiNOCO 802.11n USB */
+	{ USB_DEVICE(0x1435, 0x0804) },
+	/* WNC Generic 11n USB Dongle */
+	{ USB_DEVICE(0x1435, 0x0326) },
 	/* ZyXEL NWD271N */
 	{ USB_DEVICE(0x0586, 0x3417) },
 	/* Z-Com UB81 BG */
drivers/net/wireless/ath/ath5k/base.c +7 -4
index 3abbe75..ea90997 100644
@@ -1211,6 +1211,7 @@ ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf)
 	struct ath5k_hw *ah = sc->ah;
 	struct sk_buff *skb = bf->skb;
 	struct ath5k_desc *ds;
+	int ret;
 
 	if (!skb) {
 		skb = ath5k_rx_skb_alloc(sc, &bf->skbaddr);
@@ -1237,9 +1238,9 @@ ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf)
 	ds = bf->desc;
 	ds->ds_link = bf->daddr;	/* link to self */
 	ds->ds_data = bf->skbaddr;
-	ah->ah_setup_rx_desc(ah, ds,
-		skb_tailroom(skb),	/* buffer size */
-		0);
+	ret = ah->ah_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0);
+	if (ret)
+		return ret;
 
 	if (sc->rxlink != NULL)
 		*sc->rxlink = bf->daddr;
@@ -2993,13 +2994,15 @@ static void ath5k_configure_filter(struct ieee80211_hw *hw,
 
 	if (changed_flags & (FIF_PROMISC_IN_BSS | FIF_OTHER_BSS)) {
 		if (*new_flags & FIF_PROMISC_IN_BSS) {
-			rfilt |= AR5K_RX_FILTER_PROM;
 			__set_bit(ATH_STAT_PROMISC, sc->status);
 		} else {
 			__clear_bit(ATH_STAT_PROMISC, sc->status);
 		}
 	}
 
+	if (test_bit(ATH_STAT_PROMISC, sc->status))
+		rfilt |= AR5K_RX_FILTER_PROM;
+
 	/* Note, AR5K_RX_FILTER_MCAST is already enabled */
 	if (*new_flags & FIF_ALLMULTI) {
 		mfilt[0] =  ~0;
drivers/net/wireless/ath/ath9k/hw.c +1 -3
index 78b5711..20d5414 100644
@@ -1241,7 +1241,7 @@ void ath9k_hw_deinit(struct ath_hw *ah)
 {
 	struct ath_common *common = ath9k_hw_common(ah);
 
-	if (common->state <= ATH_HW_INITIALIZED)
+	if (common->state < ATH_HW_INITIALIZED)
 		goto free_hw;
 
 	if (!AR_SREV_9100(ah))
@@ -1252,8 +1252,6 @@ void ath9k_hw_deinit(struct ath_hw *ah)
 free_hw:
 	if (!AR_SREV_9280_10_OR_LATER(ah))
 		ath9k_hw_rf_free_ext_banks(ah);
-	kfree(ah);
-	ah = NULL;
 }
 EXPORT_SYMBOL(ath9k_hw_deinit);
 
drivers/net/wireless/ath/ath9k/init.c +3 -0
index 3d4d897..b78308c 100644
@@ -760,6 +760,9 @@ static void ath9k_deinit_softc(struct ath_softc *sc)
 
 	tasklet_kill(&sc->intr_tq);
 	tasklet_kill(&sc->bcon_tasklet);
+
+	kfree(sc->sc_ah);
+	sc->sc_ah = NULL;
 }
 
 void ath9k_deinit_device(struct ath_softc *sc)
drivers/net/wireless/iwlwifi/iwl-agn-rs.c +6 -4
index 1460116..d3ef2a9 100644
@@ -2077,10 +2077,12 @@ static void rs_rate_scale_perform(struct iwl_priv *priv,
 	}
 	/* Else we have enough samples; calculate estimate of
 	 * actual average throughput */
-
-	/* Sanity-check TPT calculations */
-	BUG_ON(window->average_tpt != ((window->success_ratio *
-			tbl->expected_tpt[index] + 64) / 128));
+	if (window->average_tpt != ((window->success_ratio *
+			tbl->expected_tpt[index] + 64) / 128)) {
+		IWL_ERR(priv, "expected_tpt should have been calculated by now\n");
+		window->average_tpt = ((window->success_ratio *
+					tbl->expected_tpt[index] + 64) / 128);
+	}
 
 	/* If we are searching for better modulation mode, check success. */
 	if (lq_sta->search_better_tbl &&
drivers/net/wireless/iwlwifi/iwl-scan.c +18 -3
index 741e65e..661e36b 100644
@@ -561,6 +561,11 @@ static void iwl_bg_start_internal_scan(struct work_struct *work)
 
 	mutex_lock(&priv->mutex);
 
+	if (priv->is_internal_short_scan == true) {
+		IWL_DEBUG_SCAN(priv, "Internal scan already in progress\n");
+		goto unlock;
+	}
+
 	if (!iwl_is_ready_rf(priv)) {
 		IWL_DEBUG_SCAN(priv, "not ready or exit pending\n");
 		goto unlock;
@@ -958,17 +963,27 @@ void iwl_bg_scan_completed(struct work_struct *work)
 {
 	struct iwl_priv *priv =
 	    container_of(work, struct iwl_priv, scan_completed);
+	bool internal = false;
 
 	IWL_DEBUG_SCAN(priv, "SCAN complete scan\n");
 
 	cancel_delayed_work(&priv->scan_check);
 
-	if (!priv->is_internal_short_scan)
-		ieee80211_scan_completed(priv->hw, false);
-	else {
+	mutex_lock(&priv->mutex);
+	if (priv->is_internal_short_scan) {
 		priv->is_internal_short_scan = false;
 		IWL_DEBUG_SCAN(priv, "internal short scan completed\n");
+		internal = true;
 	}
+	mutex_unlock(&priv->mutex);
+
+	/*
+	 * Do not hold mutex here since this will cause mac80211 to call
+	 * into driver again into functions that will attempt to take
+	 * mutex.
+	 */
+	if (!internal)
+		ieee80211_scan_completed(priv->hw, false);
 
 	if (test_bit(STATUS_EXIT_PENDING, &priv->status))
 		return;
drivers/net/wireless/iwlwifi/iwl-tx.c +2 -0
index 8dd0c03..c243df7 100644
@@ -1198,6 +1198,7 @@ static void iwl_tx_status(struct iwl_priv *priv, struct sk_buff *skb)
 	struct ieee80211_sta *sta;
 	struct iwl_station_priv *sta_priv;
 
+	rcu_read_lock();
 	sta = ieee80211_find_sta(priv->vif, hdr->addr1);
 	if (sta) {
 		sta_priv = (void *)sta->drv_priv;
@@ -1206,6 +1207,7 @@ static void iwl_tx_status(struct iwl_priv *priv, struct sk_buff *skb)
 		    atomic_dec_return(&sta_priv->pending_frames) == 0)
 			ieee80211_sta_block_awake(priv->hw, sta, false);
 	}
+	rcu_read_unlock();
 
 	ieee80211_tx_status_irqsafe(priv->hw, skb);
 }
drivers/net/wireless/p54/p54usb.c +1 -0
index 743a6c6..186dc71 100644
@@ -80,6 +80,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
 	{USB_DEVICE(0x1413, 0x5400)},   /* Telsey 802.11g USB2.0 Adapter */
 	{USB_DEVICE(0x1435, 0x0427)},	/* Inventel UR054G */
 	{USB_DEVICE(0x2001, 0x3704)},	/* DLink DWL-G122 rev A2 */
+	{USB_DEVICE(0x413c, 0x5513)},	/* Dell WLA3310 USB Wireless Adapter */
 	{USB_DEVICE(0x413c, 0x8102)},	/* Spinnaker DUT */
 	{USB_DEVICE(0x413c, 0x8104)},	/* Cohiba Proto board */
 	{}
drivers/net/wireless/rtl818x/rtl8180_dev.c +1 -0
index 2131a44..de632ec 100644
@@ -188,6 +188,7 @@ static void rtl8180_handle_tx(struct ieee80211_hw *dev, unsigned int prio)
 			info->flags |= IEEE80211_TX_STAT_ACK;
 
 		info->status.rates[0].count = (flags & 0xFF) + 1;
+		info->status.rates[1].idx = -1;
 
 		ieee80211_tx_status_irqsafe(dev, skb);
 		if (ring->entries - skb_queue_len(&ring->queue) == 2)
drivers/net/wireless/wl12xx/wl1251_sdio.c +1 -0
index 9423f22..d74b89b 100644
@@ -160,6 +160,7 @@ disable:
 	sdio_disable_func(func);
 release:
 	sdio_release_host(func);
+	wl1251_free_hw(wl);
 	return ret;
 }
 
drivers/oprofile/cpu_buffer.c +13 -50

108 lines not on this page · raw message

drivers/pci/quirks.c +9 -4
index 27c0e6e..2f2d0ec 100644
@@ -1457,7 +1457,8 @@ static void quirk_jmicron_ata(struct pci_dev *pdev)
 	conf5 &= ~(1 << 24);  /* Clear bit 24 */
 
 	switch (pdev->device) {
-	case PCI_DEVICE_ID_JMICRON_JMB360:
+	case PCI_DEVICE_ID_JMICRON_JMB360: /* SATA single port */
+	case PCI_DEVICE_ID_JMICRON_JMB362: /* SATA dual ports */
 		/* The controller should be in single function ahci mode */
 		conf1 |= 0x0002A100; /* Set 8, 13, 15, 17 */
 		break;
@@ -1493,12 +1494,14 @@ static void quirk_jmicron_ata(struct pci_dev *pdev)
 }
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB360, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB361, quirk_jmicron_ata);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB362, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB363, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB365, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB366, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB368, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB360, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB361, quirk_jmicron_ata);
+DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB362, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB363, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB365, quirk_jmicron_ata);
 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB366, quirk_jmicron_ata);
@@ -2127,6 +2130,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, 0x9602, quirk_disable_msi);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ASUSTEK, 0x9602, quirk_disable_msi);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AI, 0x9602, quirk_disable_msi);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, 0xa238, quirk_disable_msi);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x5a3f, quirk_disable_msi);
 
 /* Go through the list of Hypertransport capabilities and
  * return 1 if a HT MSI capability is found and enabled */
@@ -2218,15 +2222,16 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SERVERWORKS,
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8132_BRIDGE,
 			 ht_enable_msi_mapping);
 
-/* The P5N32-SLI Premium motherboard from Asus has a problem with msi
+/* The P5N32-SLI motherboards from Asus have a problem with msi
  * for the MCP55 NIC. It is not yet determined whether the msi problem
  * also affects other devices. As for now, turn off msi for this device.
  */
 static void __devinit nvenet_msi_disable(struct pci_dev *dev)
 {
-	if (dmi_name_in_vendors("P5N32-SLI PREMIUM")) {
+	if (dmi_name_in_vendors("P5N32-SLI PREMIUM") ||
+	    dmi_name_in_vendors("P5N32-E SLI")) {
 		dev_info(&dev->dev,
-			 "Disabling msi for MCP55 NIC on P5N32-SLI Premium\n");
+			 "Disabling msi for MCP55 NIC on P5N32-SLI\n");
 		dev->no_msi = 1;
 	}
 }
drivers/pcmcia/ds.c +1 -0
index 041eee4..6df5dff 100644
@@ -682,6 +682,7 @@ static void pcmcia_requery(struct pcmcia_socket *s)
 		if (old_funcs != new_funcs) {
 			/* we need to re-start */
 			pcmcia_card_remove(s, NULL);
+			s->functions = 0;
 			pcmcia_card_add(s);
 		}
 	}
drivers/pcmcia/yenta_socket.c +3 -2
index 83ace27..6bb6cb9 100644
@@ -975,7 +975,7 @@ static irqreturn_t yenta_probe_handler(int irq, void *dev_id)
 /* probes the PCI interrupt, use only on override functions */
 static int yenta_probe_cb_irq(struct yenta_socket *socket)
 {
-	u8 reg;
+	u8 reg = 0;
 
 	if (!socket->cb_irq)
 		return -1;
@@ -989,7 +989,8 @@ static int yenta_probe_cb_irq(struct yenta_socket *socket)
 	}
 
 	/* generate interrupt, wait */
-	reg = exca_readb(socket, I365_CSCINT);
+	if (!socket->dev->irq)
+		reg = exca_readb(socket, I365_CSCINT);
 	exca_writeb(socket, I365_CSCINT, reg | I365_CSC_STSCHG);
 	cb_writel(socket, CB_SOCKET_EVENT, -1);
 	cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK);
drivers/platform/x86/Kconfig +1 -0
index 6c3320d..50601d9 100644
@@ -390,6 +390,7 @@ config EEEPC_WMI
 	depends on ACPI_WMI
 	depends on INPUT
 	depends on EXPERIMENTAL
+	depends on BACKLIGHT_CLASS_DEVICE
 	select INPUT_SPARSEKMAP
 	---help---
 	  Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
drivers/rtc/rtc-cmos.c +3 -2
index e9aa814..aa13875 100644
@@ -719,6 +719,9 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq)
 		}
 	}
 
+	cmos_rtc.dev = dev;
+	dev_set_drvdata(dev, &cmos_rtc);
+
 	cmos_rtc.rtc = rtc_device_register(driver_name, dev,
 				&cmos_rtc_ops, THIS_MODULE);
 	if (IS_ERR(cmos_rtc.rtc)) {
@@ -726,8 +729,6 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq)
 		goto cleanup0;
 	}
 
-	cmos_rtc.dev = dev;
-	dev_set_drvdata(dev, &cmos_rtc);
 	rename_region(ports, dev_name(&cmos_rtc.rtc->dev));
 
 	spin_lock_irq(&rtc_lock);
drivers/rtc/rtc-s3c.c +3 -2
index 4969b60..3793ea6 100644
@@ -457,8 +457,6 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
  	pr_debug("s3c2410_rtc: RTCCON=%02x\n",
 		 readb(s3c_rtc_base + S3C2410_RTCCON));
 
-	s3c_rtc_setfreq(&pdev->dev, 1);
-
 	device_init_wakeup(&pdev->dev, 1);
 
 	/* register RTC and exit */
@@ -475,6 +473,9 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
 	rtc->max_user_freq = 128;
 
 	platform_set_drvdata(pdev, rtc);
+
+	s3c_rtc_setfreq(&pdev->dev, 1);
+
 	return 0;
 
  err_nortc:
drivers/scsi/libsas/sas_ata.c +3 -2
index 88f7446..8c496b5 100644
@@ -395,12 +395,13 @@ int sas_ata_init_host_and_port(struct domain_device *found_dev,
 void sas_ata_task_abort(struct sas_task *task)
 {
 	struct ata_queued_cmd *qc = task->uldd_task;
-	struct request_queue *q = qc->scsicmd->device->request_queue;
 	struct completion *waiting;
-	unsigned long flags;
 
 	/* Bounce SCSI-initiated commands to the SCSI EH */
 	if (qc->scsicmd) {
+		struct request_queue *q = qc->scsicmd->device->request_queue;
+		unsigned long flags;
+
 		spin_lock_irqsave(q->queue_lock, flags);
 		blk_abort_request(qc->scsicmd->request);
 		spin_unlock_irqrestore(q->queue_lock, flags);
drivers/scsi/libsas/sas_scsi_host.c +8 -8
index 8228350..53849f2 100644
@@ -1030,8 +1030,6 @@ int __sas_task_abort(struct sas_task *task)
 void sas_task_abort(struct sas_task *task)
 {
 	struct scsi_cmnd *sc = task->uldd_task;
-	struct request_queue *q = sc->device->request_queue;
-	unsigned long flags;
 
 	/* Escape for libsas internal commands */
 	if (!sc) {
@@ -1043,13 +1041,15 @@ void sas_task_abort(struct sas_task *task)
 
 	if (dev_is_sata(task->dev)) {
 		sas_ata_task_abort(task);
-		return;
-	}
+	} else {
+		struct request_queue *q = sc->device->request_queue;
+		unsigned long flags;
 
-	spin_lock_irqsave(q->queue_lock, flags);
-	blk_abort_request(sc->request);
-	spin_unlock_irqrestore(q->queue_lock, flags);
-	scsi_schedule_eh(sc->device->host);
+		spin_lock_irqsave(q->queue_lock, flags);
+		blk_abort_request(sc->request);
+		spin_unlock_irqrestore(q->queue_lock, flags);
+		scsi_schedule_eh(sc->device->host);
+	}
 }
 
 int sas_slave_alloc(struct scsi_device *scsi_dev)
drivers/serial/68328serial.c +1 -1
index 78ed24b..3046386 100644
@@ -1437,7 +1437,7 @@ int m68328_console_setup(struct console *cp, char *arg)
 	for (i = 0; i < ARRAY_SIZE(baud_table); i++)
 		if (baud_table[i] == n)
 			break;
-	if (i < BAUD_TABLE_SIZE) {
+	if (i < ARRAY_SIZE(baud_table)) {
 		m68328_console_baud = n;
 		m68328_console_cbaud = 0;
 		if (i > 15) {
drivers/staging/batman-adv/proc.c +35 -16

113 lines not on this page · raw message

drivers/staging/batman-adv/vis.c +161 -74

112 lines not on this page · raw message

drivers/staging/batman-adv/vis.h +6 -2
index 0cdafde..a1f92a4 100644

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

drivers/staging/comedi/drivers/ni_mio_cs.c +1 -1
index dc4849a..9855608 100644

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

drivers/staging/rt2860/usb_main_dev.c +1 -0
index 740db0c..2ffd0fe 100644

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

drivers/staging/vt6655/device_main.c +2 -0
index e40a2e9..fea0e99 100644

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

drivers/usb/class/cdc-acm.c +4 -2
index 5e1a253..3c73add 100644

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

drivers/usb/core/driver.c +2 -0
index 2f3dc4c..9d02dc6 100644

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

drivers/usb/core/hcd.c +105 -64

169 lines not on this page · raw message

drivers/usb/core/message.c +10 -35

45 lines not on this page · raw message

drivers/usb/core/urb.c +6 -3
index 45a32da..fec46d0 100644

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

drivers/usb/core/usb.c +4 -0
index 0561430..956108e 100644

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

drivers/usb/gadget/fsl_udc_core.c +1 -1
index fa3d142..08a9a62 100644

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

drivers/usb/host/ehci-au1xxx.c +4 -12
index e3a74e7..a422a1b 100644

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

drivers/usb/host/ehci-fsl.c +2 -0
index 0e26aa1..5cd967d 100644

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

drivers/usb/host/ehci-hub.c +126 -32

158 lines not on this page · raw message

drivers/usb/host/ehci-pci.c +4 -11
index ead5f4f..c5f662d 100644

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

drivers/usb/host/ehci.h +10 -0
index 556c0b4..ddf61c3 100644

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

drivers/usb/host/fhci.h +7 -2
index 72dae1c..3b6e864 100644

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

drivers/usb/host/whci/qset.c +1 -1
index 141d049..b388dd1 100644

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

drivers/usb/host/xhci-pci.c +1 -1
index 417d37a..98a73cd 100644

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

drivers/usb/host/xhci-ring.c +33 -6
index 85d7e8f..40cba25 100644

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

drivers/usb/host/xhci.c +46 -8

54 lines not on this page · raw message

drivers/usb/mon/mon_bin.c +1 -1
index ddf7f9a..8a7968d 100644

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

drivers/usb/mon/mon_text.c +1 -3
index 4d0be13..d562602 100644

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

drivers/usb/serial/cp210x.c +11 -0
index ec9b044..009e26c 100644

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

drivers/usb/serial/cypress_m8.c +1 -1
index e23c779..582e832 100644

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

drivers/usb/serial/digi_acceleport.c +2 -2
index 68b0aa5..3edda3e 100644

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

drivers/usb/serial/ftdi_sio.c +4 -0
index 1d7c4fa..3f5676e 100644

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

drivers/usb/serial/ir-usb.c +2 -0
index 4a0f519..71bdbe0 100644

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

drivers/usb/serial/kl5kusb105.c +1 -0
index 8eef91b..cc0ba38 100644

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

drivers/usb/serial/kobil_sct.c +2 -1
index c113a2a..bd5bd85 100644

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

drivers/usb/serial/mos7840.c +0 -1
index 2fda1c0..68f6a1d 100644

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

drivers/usb/serial/option.c +180 -0

180 lines not on this page · raw message

drivers/usb/serial/qcaux.c +5 -0
index 7e3bea2..214a3e5 100644

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

drivers/usb/serial/spcp8x5.c +2 -2
index 5d39191..2ea32c5 100644

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

drivers/usb/serial/visor.c +1 -0
index 0949427..fb7fc40 100644

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

drivers/usb/storage/unusual_devs.h +15 -0
index ccf1dbb..55b3cd1 100644

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

drivers/vhost/net.c +1 -1
index 9777583..c9d0c79 100644

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

drivers/video/arcfb.c +4 -4
index 8d406fb..f3d7440 100644

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

drivers/video/hgafb.c +5 -5
index 8bbf251..af8f0f2 100644

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

drivers/video/vfb.c +2 -2
index 9b5532b..bc67251 100644

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

drivers/video/vga16fb.c +5 -5
index bf638a4..2ab3cc7 100644

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

drivers/video/w100fb.c +5 -5
index 31b0e17..e66b8b1 100644

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

drivers/xen/xenbus/xenbus_xs.c +1 -1
index eab33f1..7b547f5 100644

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

fs/aio.c +41 -24

65 lines not on this page · raw message

fs/btrfs/acl.c +3 -0
index 6ef7b26..6b4d0cc 100644

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

fs/cifs/cifsproto.h +4 -2
index 39e47f4..a6db615 100644

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

fs/cifs/dir.c +12 -8
index e9f7ecc..ff3d891 100644

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

fs/cifs/file.c +7 -4
index 9b11a8f..4cbdb20 100644

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

fs/compat.c +78 -54

132 lines not on this page · raw message

fs/dcache.c +1 -0
index f1358e5..2b6f09a 100644

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

fs/exofs/dir.c +1 -1
index 4cfab1c..d91e9d8 100644

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

fs/ext4/move_extent.c +3 -0
index d1fc662..d3d6a64 100644

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

fs/ext4/resize.c +2 -1
index 5692c48..6df797e 100644

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

fs/fs-writeback.c +12 -2
index 4b37f7c..760dc8d 100644

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

fs/gfs2/file.c +7 -0
index e6dd2ae..b20bfcc 100644

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

fs/libfs.c +2 -1
index ea9a6cc..b016af9 100644

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

fs/namei.c +1 -1
index b86b96f..f6c7fcf 100644

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

fs/nfs/write.c +16 -4
index 3aea3ca..91679e2 100644

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

fs/nfsd/nfssvc.c +1 -1
index 171699e..06b2a26 100644

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

fs/nfsd/vfs.c +6 -5
index 6dd5f19..4eb9baa 100644

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

fs/nfsd/vfs.h +1 -0
index 4b1de0a..217a62c 100644

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

include/linux/aio.h +5 -0
index 811dbb3..7a8db41 100644

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

include/linux/compat.h +4 -0
index 717c691..168f7da 100644

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

include/linux/fs.h +1 -1
index 44f35ae..801b398 100644

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

include/linux/miscdevice.h +6 -1
index 8b5f7cc..ce9cd11 100644

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

include/linux/pci_ids.h +1 -0
index 9f688d2..c516a33 100644

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

include/linux/perf_event.h +3 -2
index c8e3754..eea9188 100644

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

include/linux/slub_def.h +4 -7
index 0249d41..c3dc7e1 100644

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

include/linux/swap.h +0 -10
index 1f59d93..d70f424 100644

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

include/linux/tboot.h +1 -0
index bf2a0c7..1dba6ee 100644

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

include/linux/usb.h +9 -0
index 739f1fd..9983302 100644

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

include/trace/events/signal.h +2 -1
index a510b75..32c0697 100644

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

kernel/cgroup.c +1 -1
index 6d870f2..bf4f78f 100644

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

kernel/compat.c +11 -14
index 7f40e92..5adab05 100644

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

kernel/mutex.c +7 -0
index 632f04c..4c0b7b3 100644

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

kernel/perf_event.c +177 -122

299 lines not on this page · raw message

kernel/posix-timers.c +4 -7
index 00d1fda..ad72342 100644

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

kernel/signal.c +4 -2
index dbd7fe0..48f2130 100644

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

lib/idr.c +4 -1
index 2eb1dca..0d74f6b 100644

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

mm/filemap.c +8 -2
index 140ebda..3760bdc 100644

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

mm/slub.c +11 -22
index d2a54fe..6cf6be7 100644

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

net/mac80211/Kconfig +9 -0
index a952b7f..334c359 100644

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

net/mac80211/cfg.c +3 -4
index edc872e..0d1811b 100644

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

net/mac80211/mlme.c +38 -2
index 875c8de..1349a09 100644

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

net/mac80211/rx.c +2 -1
index 04ea07f..1946f6b 100644

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

net/mac80211/tx.c +3 -2
index cfc473e..d0716b9 100644

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

scripts/kconfig/Makefile +1 -1
index 186c466..9842611 100644

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

sound/core/pcm_lib.c +10 -3
index a2ff861..e9d98be 100644

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

sound/core/pcm_native.c +3 -36
index 20b5982..d124e95 100644

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

sound/pci/hda/hda_intel.c +8 -1
index cec6815..0bc24bd 100644

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

sound/pci/hda/patch_realtek.c +1 -0
index 886d8e4..3273765 100644

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

sound/pci/hda/patch_sigmatel.c +1 -1
index a0e06d8..f1e7bab 100644

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

sound/soc/codecs/wm8350.c +2 -2
index 2e0772f..1e22141 100644

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

sound/soc/codecs/wm8400.c +9 -9
index 6acc885..a9fa46c 100644

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

sound/soc/codecs/wm8990.c +9 -9
index 831f473..7c6b00e 100644

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

sound/soc/imx/imx-pcm-dma-mx2.c +4 -3
index 2b31ac6..803aeef 100644

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

tools/perf/bench/mem-memcpy.c +1 -1
index 8977317..5fd55cd 100644

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

tools/perf/bench/sched-messaging.c +2 -2
index 81cee78..da1b2e9 100644

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

tools/perf/builtin-annotate.c +4 -4
index 6ad7148..94a814c 100644

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

tools/perf/builtin-buildid-cache.c +1 -1
index 30a05f5..f8e3d18 100644

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

tools/perf/builtin-buildid-list.c +2 -2
index d0675c0..af2ad8b 100644

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

tools/perf/builtin-diff.c +2 -2
index 1ea15d8..3a1d94d 100644

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

tools/perf/builtin-help.c +1 -1
index 215b584..81e3ecc 100644

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

tools/perf/builtin-lock.c +1 -1
index e12c844..6c38e4f 100644

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

tools/perf/builtin-probe.c +1 -1
index 152d6c9..0562c50 100644

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

tools/perf/builtin-record.c +12 -12
index f1411e9..d2d1b02 100644

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

tools/perf/builtin-report.c +3 -3
index f815de2..63fc64e 100644

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

tools/perf/builtin-sched.c +3 -3
index 4f5a03e..682783c 100644

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

tools/perf/builtin-stat.c +5 -5
index 95db31c..f7f4a88 100644

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

tools/perf/builtin-timechart.c +1 -1
index 0d4d8ff..1d7416d 100644

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

tools/perf/builtin-top.c +32 -15

47 lines not on this page · raw message

tools/perf/builtin-trace.c +1 -1
index 407041d..8fc50d8 100644

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

tools/perf/util/debug.c +1 -1
index 0905600..666b1c2 100644

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

tools/perf/util/debug.h +2 -1
index c6c24c5..0f7af87 100644

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

tools/perf/util/parse-options.c +6 -0
index efebd5b..bbe646b 100644

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

tools/perf/util/parse-options.h +3 -1
index 948805a..b2da725 100644

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

tools/perf/util/symbol.c +12 -13
index c458c4a..4acb5d7 100644

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

tools/perf/util/symbol.h +15 -0
index f30a374..044a4bc 100644

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

tools/perf/util/trace-event-parse.c +1 -1
index 613c9cc..dc78bae 100644

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

tools/perf/util/trace-event.h +2 -1
index c3269b9..81f2fd2 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.