Skip to contentSkip to conversation

Linux 3.7.3

DISCUSSION Greg KH 1 participant 2 messages Jan 17, 2013 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 3.7.3 kernel.

All users of the 3.7 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/power/runtime_pm.txt                     |    9 
 Makefile                                               |   10 
 arch/arm/mach-omap2/board-3430sdp.c                    |    1 
 arch/arm/mach-omap2/board-am3517evm.c                  |    1 
 arch/arm/mach-omap2/board-cm-t35.c                     |    1 
 arch/arm/mach-omap2/board-devkit8000.c                 |    1 
 arch/arm/mach-omap2/board-omap3evm.c                   |    1 
 arch/arm/mach-omap2/board-omap3stalker.c               |    1 
 arch/arm/mach-pxa/include/mach/mfp-pxa27x.h            |    3 
 arch/arm/mach-pxa/pxa27x.c                             |    4 
 arch/mips/kernel/process.c                             |    4 
 arch/mips/mm/tlbex.c                                   |   16 -
 arch/powerpc/kernel/head_64.S                          |    2 
 arch/powerpc/kernel/time.c                             |    5 
 arch/powerpc/kvm/44x_emulate.c                         |    2 
 arch/powerpc/kvm/e500_tlb.c                            |    2 
 arch/powerpc/platforms/40x/ppc40x_simple.c             |    3 
 arch/s390/kernel/entry64.S                             |   25 +-
 arch/s390/kvm/kvm-s390.c                               |    2 
 drivers/acpi/scan.c                                    |    7 
 drivers/ata/libata-core.c                              |    1 
 drivers/ata/libata-eh.c                                |    1 
 drivers/ata/libata-scsi.c                              |    6 
 drivers/ata/sata_promise.c                             |   15 +
 drivers/base/power/main.c                              |    9 
 drivers/base/regmap/regmap-debugfs.c                   |    2 
 drivers/bcma/driver_mips.c                             |    2 
 drivers/block/aoe/aoeblk.c                             |   17 -
 drivers/block/rbd.c                                    |   63 ++++--
 drivers/block/rbd_types.h                              |    2 
 drivers/cpuidle/coupled.c                              |    2 
 drivers/edac/edac_mc_sysfs.c                           |    2 
 drivers/firewire/net.c                                 |   13 -
 drivers/gpu/drm/drm_mm.c                               |   45 +---
 drivers/gpu/drm/exynos/exynos_drm_dmabuf.c             |    5 
 drivers/gpu/drm/i915/i915_debugfs.c                    |    4 
 drivers/gpu/drm/i915/i915_drv.c                        |    2 
 drivers/gpu/drm/i915/i915_drv.h                        |    3 
 drivers/gpu/drm/i915/i915_gem.c                        |   25 +-
 drivers/gpu/drm/i915/i915_gem_dmabuf.c                 |    7 
 drivers/gpu/drm/i915/i915_irq.c                        |    4 
 drivers/gpu/drm/i915/i915_reg.h                        |    2 
 drivers/gpu/drm/i915/intel_display.c                   |  136 ++++++++-----
 drivers/gpu/drm/i915/intel_drv.h                       |    9 
 drivers/gpu/drm/i915/intel_lvds.c                      |   10 
 drivers/gpu/drm/i915/intel_pm.c                        |   23 +-
 drivers/gpu/drm/nouveau/core/include/subdev/bios/pll.h |    2 
 drivers/gpu/drm/nouveau/core/subdev/clock/nvc0.c       |    2 
 drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c          |    6 
 drivers/gpu/drm/nouveau/core/subdev/instmem/base.c     |   35 ++-
 drivers/gpu/drm/nouveau/nouveau_bo.c                   |    2 
 drivers/gpu/drm/nouveau/nouveau_fence.h                |    1 
 drivers/gpu/drm/nouveau/nouveau_prime.c                |    1 
 drivers/gpu/drm/nouveau/nv04_dfp.c                     |    2 
 drivers/gpu/drm/nouveau/nv10_fence.c                   |    8 
 drivers/gpu/drm/nouveau/nv50_fence.c                   |    1 
 drivers/gpu/drm/radeon/atombios_crtc.c                 |    2 
 drivers/gpu/drm/radeon/atombios_encoders.c             |    2 
 drivers/gpu/drm/radeon/evergreen.c                     |   18 +
 drivers/gpu/drm/radeon/evergreen_cs.c                  |    1 
 drivers/gpu/drm/radeon/evergreend.h                    |    5 
 drivers/gpu/drm/radeon/ni.c                            |   16 +
 drivers/gpu/drm/radeon/nid.h                           |   11 +
 drivers/gpu/drm/radeon/radeon.h                        |    3 
 drivers/gpu/drm/radeon/radeon_combios.c                |   51 +++++
 drivers/gpu/drm/radeon/radeon_connectors.c             |   10 
 drivers/gpu/drm/radeon/radeon_device.c                 |   17 +
 drivers/gpu/drm/radeon/radeon_display.c                |   13 -
 drivers/gpu/drm/radeon/radeon_fence.c                  |   49 +++-
 drivers/gpu/drm/radeon/radeon_i2c.c                    |   10 
 drivers/gpu/drm/radeon/radeon_legacy_encoders.c        |    8 
 drivers/gpu/drm/radeon/radeon_mode.h                   |    5 
 drivers/gpu/drm/radeon/radeon_pm.c                     |   15 +
 drivers/gpu/drm/radeon/radeon_prime.c                  |    1 
 drivers/gpu/drm/radeon/si.c                            |   25 ++
 drivers/gpu/drm/radeon/sid.h                           |   14 +
 drivers/gpu/drm/udl/udl_connector.c                    |   17 +
 drivers/hid/hid-ids.h                                  |    3 
 drivers/hid/usbhid/hid-quirks.c                        |    1 
 drivers/hwmon/lm73.c                                   |   16 +
 drivers/infiniband/hw/mlx4/cm.c                        |    4 
 drivers/infiniband/hw/nes/nes.h                        |    1 
 drivers/infiniband/hw/nes/nes_hw.c                     |    9 
 drivers/infiniband/hw/nes/nes_verbs.c                  |    9 
 drivers/iommu/intel-iommu.c                            |   11 -
 drivers/md/dm-bio-prison.c                             |   25 --
 drivers/md/dm-bio-prison.h                             |    1 
 drivers/md/dm-ioctl.c                                  |    8 
 drivers/md/dm-table.c                                  |    2 
 drivers/md/dm-thin.c                                   |  101 ++++++---
 drivers/md/persistent-data/dm-btree-internal.h         |   16 -
 drivers/md/persistent-data/dm-btree-remove.c           |   50 ++--
 drivers/md/persistent-data/dm-btree-spine.c            |    6 
 drivers/md/persistent-data/dm-btree.c                  |   22 +-
 drivers/mfd/mfd-core.c                                 |   15 +
 drivers/mfd/wm8994-core.c                              |    1 
 drivers/mtd/nand/cs553x_nand.c                         |    3 
 drivers/mtd/nand/gpmi-nand/gpmi-lib.c                  |    9 
 drivers/net/ethernet/mellanox/mlx4/cmd.c               |    9 
 drivers/net/ethernet/mellanox/mlx4/eq.c                |   10 
 drivers/net/wimax/i2400m/i2400m-usb.h                  |    3 
 drivers/net/wimax/i2400m/usb.c                         |    6 
 drivers/net/wireless/ath/ath5k/base.c                  |    4 
 drivers/net/wireless/ath/ath5k/mac80211-ops.c          |    2 
 drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h   |  172 ++++++++---------
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.h         |    6 
 drivers/net/wireless/ath/ath9k/ar9003_hw.c             |    6 
 drivers/net/wireless/ath/ath9k/calib.c                 |    1 
 drivers/net/wireless/ath/ath9k/calib.h                 |    3 
 drivers/net/wireless/ath/carl9170/fw.c                 |    6 
 drivers/net/wireless/b43/b43.h                         |    5 
 drivers/net/wireless/b43/main.c                        |   54 ++++-
 drivers/net/wireless/b43/main.h                        |    5 
 drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c  |    5 
 drivers/net/wireless/iwlwifi/dvm/tx.c                  |   71 +++----
 drivers/net/wireless/iwlwifi/pcie/rx.c                 |   13 +
 drivers/net/wireless/mwifiex/sta_ioctl.c               |   21 --
 drivers/net/wireless/rt2x00/rt2800lib.c                |    3 
 drivers/net/wireless/rt2x00/rt2x00dev.c                |   10 
 drivers/net/xen-netfront.c                             |   27 --
 drivers/platform/x86/samsung-laptop.c                  |   10 
 drivers/platform/x86/sony-laptop.c                     |   15 -
 drivers/regulator/max8997.c                            |   36 +--
 drivers/regulator/max8998.c                            |   44 ++--
 drivers/regulator/s2mps11.c                            |   10 
 drivers/regulator/wm831x-dcdc.c                        |    2 
 drivers/s390/cio/device_pgid.c                         |   10 
 drivers/scsi/mvsas/mv_94xx.h                           |   14 -
 drivers/scsi/mvsas/mv_sas.h                            |    2 
 drivers/scsi/qla2xxx/qla_attr.c                        |    3 
 drivers/scsi/qla2xxx/qla_bsg.c                         |   72 ++-----
 drivers/scsi/qla2xxx/qla_os.c                          |    7 
 drivers/scsi/qla2xxx/qla_target.c                      |   21 +-
 drivers/scsi/scsi_sysfs.c                              |   11 -
 drivers/staging/comedi/Kconfig                         |    1 
 drivers/staging/comedi/comedi_fops.c                   |    3 
 drivers/staging/comedi/drivers/comedi_test.c           |    2 
 drivers/staging/comedi/drivers/ni_pcimio.c             |   16 -
 drivers/staging/omapdrm/omap_gem_dmabuf.c              |    5 
 drivers/staging/rtl8712/usb_intf.c                     |    2 
 drivers/staging/speakup/synth.c                        |    4 
 drivers/staging/vt6656/dpc.c                           |    4 
 drivers/staging/vt6656/key.c                           |   53 +++--
 drivers/staging/vt6656/key.h                           |    8 
 drivers/staging/vt6656/mac.c                           |    6 
 drivers/staging/vt6656/rf.c                            |    3 
 drivers/staging/vt6656/rxtx.c                          |   18 +
 drivers/staging/vt6656/ttype.h                         |   16 -
 drivers/staging/vt6656/wcmd.c                          |   20 +
 drivers/staging/vt6656/wpa2.h                          |    4 
 drivers/staging/zram/zram_drv.c                        |  152 +++++++--------
 drivers/target/iscsi/iscsi_target.c                    |    4 
 drivers/target/iscsi/iscsi_target_erl2.c               |    2 
 drivers/target/iscsi/iscsi_target_login.c              |    8 
 drivers/target/iscsi/iscsi_target_nego.c               |   10 
 drivers/target/iscsi/iscsi_target_tmr.c                |    4 
 drivers/target/sbp/sbp_target.c                        |   17 -
 drivers/target/target_core_file.c                      |    9 
 drivers/target/tcm_fc/tfc_sess.c                       |    2 
 drivers/usb/class/cdc-acm.c                            |    3 
 drivers/usb/core/hub.c                                 |  120 +++++++++--
 drivers/usb/core/quirks.c                              |    3 
 drivers/usb/gadget/dummy_hcd.c                         |    9 
 drivers/usb/host/ehci-pci.c                            |   39 +--
 drivers/usb/host/xhci-hub.c                            |   38 +++
 drivers/usb/host/xhci-mem.c                            |    2 
 drivers/usb/host/xhci-ring.c                           |    9 
 drivers/usb/host/xhci.c                                |   10 
 drivers/usb/musb/musb_core.c                           |    5 
 drivers/usb/serial/ftdi_sio.c                          |    2 
 drivers/usb/serial/ftdi_sio_ids.h                      |    6 
 drivers/usb/serial/option.c                            |   18 +
 drivers/video/mxsfb.c                                  |    3 
 fs/buffer.c                                            |    1 
 fs/ceph/addr.c                                         |    9 
 fs/ceph/caps.c                                         |   16 -
 fs/ceph/inode.c                                        |   15 -
 fs/ceph/mds_client.c                                   |    9 
 fs/ceph/super.c                                        |    2 
 fs/eventpoll.c                                         |   22 ++
 fs/ext4/acl.c                                          |    6 
 fs/ext4/extents.c                                      |   22 +-
 fs/ext4/ialloc.c                                       |    2 
 fs/ext4/namei.c                                        |    5 
 fs/ext4/super.c                                        |   26 +-
 fs/jbd2/transaction.c                                  |    3 
 fs/jffs2/nodemgmt.c                                    |    6 
 fs/pstore/ram.c                                        |   12 -
 fs/udf/inode.c                                         |   11 -
 include/drm/drm_mm.h                                   |    2 
 include/linux/audit.h                                  |    3 
 include/linux/ceph/libceph.h                           |    2 
 include/linux/compaction.h                             |    4 
 include/linux/mfd/da9055/core.h                        |    2 
 include/linux/mfd/da9055/pdata.h                       |    2 
 include/linux/mfd/da9055/reg.h                         |    2 
 include/linux/mm.h                                     |    1 
 include/linux/sunrpc/cache.h                           |    6 
 include/net/mac80211.h                                 |    5 
 include/uapi/linux/audit.h                             |    1 
 include/video/omap-panel-tfp410.h                      |    2 
 kernel/auditsc.c                                       |   14 +
 kernel/watchdog.c                                      |   11 -
 mm/bootmem.c                                           |   24 +-
 mm/compaction.c                                        |   98 +--------
 mm/internal.h                                          |    1 
 mm/page_alloc.c                                        |   37 ---
 net/ceph/ceph_common.c                                 |    3 
 net/ceph/messenger.c                                   |   72 +++----
 net/ceph/osd_client.c                                  |   93 +++------
 net/ceph/osdmap.c                                      |   31 +--
 net/mac80211/ibss.c                                    |    9 
 net/mac80211/ieee80211_i.h                             |   10 
 net/mac80211/iface.c                                   |   28 +-
 net/mac80211/scan.c                                    |   34 ++-
 net/mac80211/sta_info.c                                |   46 ++++
 net/mac80211/sta_info.h                                |    3 
 net/mac80211/status.c                                  |    6 
 net/sunrpc/clnt.c                                      |    2 
 net/sunrpc/rpc_pipe.c                                  |    7 
 net/sunrpc/sched.c                                     |   30 ++
 net/sunrpc/xprt.c                                      |   12 -
 sound/arm/pxa2xx-ac97-lib.c                            |   26 ++
 sound/pci/hda/hda_intel.c                              |   13 -
 sound/pci/hda/patch_conexant.c                         |   16 -
 sound/soc/codecs/arizona.c                             |    9 
 sound/soc/codecs/arizona.h                             |   18 -
 sound/soc/codecs/sigmadsp.c                            |    2 
 sound/soc/codecs/sta529.c                              |    9 
 sound/soc/codecs/wm2000.c                              |    4 
 sound/soc/codecs/wm2200.c                              |    8 
 sound/soc/codecs/wm5100.c                              |    6 
 sound/soc/codecs/wm8994.c                              |   16 -
 sound/soc/soc-pcm.c                                    |    1 
 virt/kvm/kvm_main.c                                    |   13 -
 235 files changed, 2062 insertions(+), 1364 deletions(-)

Aaro Koskinen (1):
drm/nouveau: fix init with agpgart-uninorth

Aaron Lu (1):

      libata: set dma_mode to 0xff in reset

Alasdair G Kergon (1):
dm ioctl: prevent unsafe change to dm_ioctl data_size

Aleksi Torhamo (2):
drm/nouveau/clock: fix support for more than 2 monitors on nve0 drm/nvc0/fb: fix crash when different mutex is used to protect same list

Alex Deucher (4):
drm/radeon/dce32+: use fractional fb dividers for high clocks drm/radeon: fix eDP clk and lane setup for scaled modes drm/radeon: add WAIT_UNTIL to evergreen VM safe reg list drm/radeon: add connector table for Mac G4 Silver

Alex Elder (19):
libceph: socket can close in any connection state
libceph: report connection fault with warning
libceph: init osd->o_node in create_osd()
libceph: init event->node in ceph_osdc_create_event()
libceph: don't use rb_init_node() in ceph_osdc_alloc_request()
libceph: register request before unregister linger
libceph: move linger requests sooner in kick_requests()
libceph: always reset osds when kicking
libceph: WARN, don't BUG on unexpected connection states
libceph: avoid using freed osd in __kick_osd_requests()
ceph: don't reference req after put
rbd: fix bug in rbd_dev_id_put()
rbd: zero return code in rbd_dev_image_id()
rbd: fix read-only option name
rbd: increase maximum snapshot name length
rbd: remove snapshots on error in rbd_add()
rbd: do not allow remove of mounted-on image
rbd: get rid of RBD_MAX_SEG_NAME_LEN
rbd: remove linger unconditionally

Alex Williamson (1):
KVM: Fix user memslot overlap check

Alexander Graf (1):
KVM: PPC: 44x: fix DCR read/write

Alexey Khoroshilov (1):
jffs2: hold erase_completion_lock on exit

Andreas Fleig (1):
USB: Add device quirk for Microsoft VX700 webcam

Anton Blanchard (1):
powerpc: Fix CONFIG_RELOCATABLE=y CONFIG_CRASH_DUMP=n build

Armen Baloyan (1):
SCSI: qla2xxx: Properly set result field of bsg_job reply structure for success and failure.

Axel Lin (6):
ASoC: arizona: Do proper shift for setting AIF rate
ASoC: wm2200: Fix setting dai format in wm2200_set_fmt
ASoC: sta529: Fix update register bits in sta529_set_dai_fmt
regulator: max8997: Use uV in voltage_map_desc
regulator: max8998: Use uV in voltage_map_desc
regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel

Bing Zhao (1):
mwifiex: check wait_event_interruptible return value

Bjørn Mork (3):
watchdog: Fix disable/enable regression
USB: option: blacklist network interface on ZTE MF880
USB: option: add Telekom Speedstick LTE II

Charles Keepax (1):
mfd: Only unregister platform devices allocated by the mfd core

Chris Boot (1):
sbp-target: fix error path in sbp_make_tpg()

Chris Verges (1):
hwmon: (lm73} Detect and report i2c bus errors

Chris Wilson (5):
drm/i915: Close race between processing unpin task and queueing the flip drm/i915: Flush outstanding unpin tasks before pageflipping
drm: Only evict the blocks required to create the requested hole drm/i915; Only increment the user-pin-count after successfully pinning the bo drm/i915: Treat crtc->mode.clock == 0 as disabled

Christian Borntraeger (2):
s390/kvm: dont announce RRBM support
s390/kvm: Fix address space mixup

Christian König (1):
drm/radeon: stop page faults from hanging the system (v2)

Christian Lamparter (1):
carl9170: fix -EINVAL bailout during init with !CONFIG_MAC80211_MESH

Dan Williams (1):

      i2400m: add Intel 6150 device IDs

Daniel Vetter (5):
drm/i915: don't disable disconnected outputs drm/i915: Revert shrinker changes from "Track unbound pages" drm/i915: disable cpt phase pointer fdi rx workaround Revert "drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13" drm/i915: force restore on lid open

Dave Airlie (1):
drm/i915: fix flags in dma buf exporting

David Henningsson (1):
Revert "ALSA: hda - Shut up pins at power-saving mode with Conexnat codecs"

David Jeffery (1):
SCSI: qla2xxx: Test and clear FCPORT_UPDATE_NEEDED atomically.

David Zafman (1):
libceph: Unlock unprocessed pages in start_read() error path

Denis N Ladin (1):
USB: cdc-acm: Add support for "PSC Scanning, Magellan 800i"

Dzianis Kahanovich (1):
USB: option: add Nexpring NP10T terminal id

Ed L. Cashin (1):
aoe: remove vestigial request queue allocation

Emmanuel Grumbach (3):
iwlwifi: don't handle masked interrupt
iwlwifi: silently ignore fw flaws in Tx path
iwlwifi: fix the reclaimed packet tracking upon flush queue

Eric Wong (1):
epoll: prevent missed events on EPOLL_CTL_MOD

Eugene Shatokhin (1):
ext4: fix memory leak in ext4_xattr_set_acl()'s error path

Felix Fietkau (3):
ath5k: fix tx path skb leaks
Revert "ath9k_hw: Update AR9003 high_power tx gain table"
ath9k_hw: Fix signal strength / channel noise reporting

Forrest Liu (1):
ext4: fix extent tree corruption caused by hole punch

Gabor Juhos (2):
powerpc: Add missing NULL terminator to avoid boot panic on PPC40x
ath9k: ar9003: fix OTP register offsets for AR9340

Geert Uytterhoeven (1):
mfd: Remove Unicode Byte Order Marks from da9055

Giridhar Malavali (1):
SCSI: qla2xxx: Change in setting UNLOADING flag and FC vports logout sequence while unloading qla2xxx driver.

Greg Kroah-Hartman (1):

      Linux 3.7.3

Guo Chao (1):
ext4: release buffer in failed path in dx_probe()

Hans de Goede (3):
udldrmfb: Fix EDID not working with monitors with EDID extension blocks
udldrmfb: udl_get_edid: usb_control_msg buffer must not be on the stack
udldrmfb: udl_get_edid: drop unneeded i--

Hante Meuleman (1):
brcmfmac: fix parsing rsn ie for ap mode.

Helmut Schaa (1):
rt2x00: Only specify interface combinations if more then one interface is possible

Huacai Chen (1):
MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

Ian Abbott (3):
staging: comedi: prevent auto-unconfig of manually configured devices
staging: comedi: Kconfig: COMEDI_NI_AT_A2150 should select COMEDI_FC
staging: comedi: comedi_test: fix race when cancelling command

Ian Campbell (1):
xen/netfront: improve truesize tracking

J. Bruce Fields (1):
svcrpc: Revert "sunrpc/cache.h: replace simple_strtoul"

Jack Morgenstein (2):
IB/mlx4: Fix spinlock order to avoid lockdep warnings
mlx4_core: Fix potential deadlock in mlx4_eq_int()

Jan Beulich (1):
USB: ehci: make debug port in-use detection functional again

Jan Kara (2):
ext4: check dioread_nolock on remount
jbd2: fix assertion failure in jbd2_journal_flush()

Jason Liu (1):
mm: compaction: fix echo 1 > compact_memory return error issue

Jerome Glisse (5):
drm/radeon: fix amd afusion gpu setup aka sumo v2 drm/radeon: restore modeset late in GPU reset path drm/radeon: don't leave fence blocked process on failed GPU reset drm/radeon: avoid deadlock in pm path when waiting for fence radeon/kms: force rn50 chip to always report connected on analog output

Joe Thornber (2):
dm thin: replace dm_cell_release_singleton with cell_defer_except dm thin: fix race between simultaneous io and discards to same block

Johannes Berg (3):
iwlwifi: fix PCIe interrupt handle return value
mac80211: fix station destruction in AP/mesh modes
mac80211: use del_timer_sync for final sta cleanup timer deletion

Kees Cook (1):
audit: create explicit AUDIT_SECCOMP event type

Konstantin Khlebnikov (1):
EDAC: Fix kernel panic on module unloading

Krzysztof Mazur (1):
i915: ensure that VGA plane is disabled

Larry Finger (2):
staging: r8712u: Add new device ID
b43: Fix firmware loading when driver is built into the kernel

Lars-Peter Clausen (1):
ASoC: sigmadsp: Fix endianness conversion issue

Laura Abbott (1):
mm: use aligned zone start for pfn_to_bitidx calculation

Linus Torvalds (1):
vfs: add missing virtual cache flush after editing partial pages

Lothar Waßmann (1):
video: mxsfb: fix crash when unblanking the display

Malcolm Priestley (6):
staging: vt6656: [BUG] out of bound array reference in RFbSetPower.
staging: vt6656: 64 bit fixes: use u32 for QWORD definition.
staging: vt6656: 64 bit fixes : correct all type sizes
staging: vt6656: 64 bit fixes: fix long warning messages.
staging: vt6656: 64bit fixes: key.c/h change unsigned long to u32
staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer.

Marcin Slusarz (3):
drm/nv17-50: restore fence buffer on resume drm/nouveau: fix blank LVDS screen regression on pre-nv50 cards drm/nouveau: add locking around instobj list operations

Marek Vasut (1):
HID: add quirk for Freescale i.MX23 ROM recovery

Mark Brown (9):
regulator: wm831x: Set the new rather than old value for DVS VSEL
ASoC: wm8994: Use the same DCS codes for all WM1811 variants
mfd: wm8994: Add support for WM1811 rev E
regmap: debugfs: Avoid overflows for very small reads
ASoC: arizona: Correct FLL source definitions
ASoC: arizona: Remove DSP B and left justified AIF modes
ASoC: wm2000: Fix sense of speech clarity enable
ASoC: wm2200: Remove DSP B and left justified AIF modes
ASoC: wm5100: Remove DSP B and left justified formats

Mattia Dongili (1):
sony-laptop: fix SNC buffer calls when SN06 returns Integers

Max Filippov (1):
mm: bootmem: fix free_all_bootmem_core() with odd bitmap alignment

Maxime Bizon (1):
pstore/ram: Fix undefined usage of rounddown_pow_of_two(0)

Mel Gorman (1):
mm: compaction: partially revert capture of suitable high-order page

Michael Tokarev (1):
ext4: do not try to write superblock on ro remount w/o journal

Mikael Pettersson (1):
sata_promise: fix hardreset lockdep error

Mike Dunn (2):
ALSA: pxa27x: fix ac97 cold reset
ALSA: pxa27x: fix ac97 warm reset

Mike Snitzer (1):
dm: disable WRITE SAME

Mikulas Patocka (1):
dm persistent data: rename node to btree_node

Namjae Jeon (2):
udf: fix memory leak while allocating blocks during write
udf: don't increment lenExtents while writing to a hole

Nathan Williams (1):
mtd cs553x_nand: Initialise ecc.strength before nand_scan()

Nickolai Zeldovich (1):
staging: speakup: avoid out-of-range access in synth_init()

Niels Ole Salscheider (1):
drm/radeon: Properly handle DDC probe for DP bridges

Nitin Gupta (1):
staging: zram: fix invalid memory references during disk write

Oliver Neukum (1):
USB: hub: handle claim of enabled remote wakeup after reset

Patrick Lai (1):
ASoC: pcm: allow backend hardware to be freed in pause state

Paulo Zanoni (1):
drm/i915: make the panel fitter work on pipes B and C on IVB

Pawel Moll (1):
kbuild: Do not remove vmlinux when cleaning external module

Quentin.Li (1):
USB: option: Add new MEDIATEK PID support

Rafael J. Wysocki (1):
PM: Move disabling/enabling runtime PM to late suspend/early resume

Rafał Miłecki (1):
bcma: mips: fix clearing device IRQ

Rajkumar Manoharan (1):
ath9k_hw: Enable hw PLL power save for AR9462

Ralf Baechle (1):
Revert "MIPS: Optimise TLB handlers for MIPS32/64 R2 cores."

Roland Dreier (2):
iscsi-target: Always send a response before terminating iSCSI connection
iscsi-target: Fix CmdSN comparison (use cmd->cmd_sn instead of cmd->stat_sn)

Sage Weil (3):
libceph: fix protocol feature mismatch failure path
libceph: fix osdmap decode error paths
libceph: remove 'osdtimeout' option

Samuel Thibault (1):
staging: speakup: avoid out-of-range access in synth_add()

Sangbeom Kim (1):
regulator: s2mps11: Fix ramp delay value shift operation

Sarah Sharp (8):
USB: Handle auto-transition from hot to warm reset.
USB: Ignore xHCI Reset Device status.
USB: Allow USB 3.0 ports to be disabled.
USB: Increase reset timeout.
USB: Ignore port state until reset completes.
USB: Handle warm reset failure on empty port.
xhci: Avoid "dead ports", add roothub port polling.
xhci: Handle HS bulk/ctrl endpoints that don't NAK.

Sasha Levin (1):
SCSI: prevent stack buffer overflow in host_reset

Scott Wood (1):
KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

Sebastian Andrzej Siewior (2):
target/file: Fix 32-bit highmem breakage for SGL -> iovec mapping
usb: gadget: dummy: fix enumeration with g_multi

Sebastian Ott (1):
s390/cio: fix pgid reserved check

Sergei Shtylyov (1):
usb: musb: core: print new line in the driver banner again

Sergey Senozhatsky (1):
staging: zram: factor-out zram_decompress_page() function

Seth Forshee (1):
samsung-laptop: Add quirk for broken acpi_video backlight on N250P

Seung-Woo Kim (1):
drm/prime: drop reference on imported dma-buf come from gem

Shan Hai (1):
powerpc/vdso: Remove redundant locking in update_vsyscall_tz()

Sivaram Nair (1):
cpuidle / coupled: fix ready counter decrement

Stanislav Kinsbursky (1):
SUNRPC: continue run over clients list on PipeFS event instead of break

Stanislaw Gruszka (3):
mac80211: introduce IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL
mac80211: fix ibss scanning
Revert: "rt2x00: Don't let mac80211 send a BAR when an AMPDU subframe fails"

Stephan Gatzka (1):
firewire: net: Fix handling of fragmented multicast/broadcast packets.

Steve Hodgson (3):
SCSI: qla2xxx: Free rsp_data even on error in qla2x00_process_loopback()
iscsi-target: Fix bug in handling of ExpStatSN ACK during u32 wrap-around
qla2xxx: Look up LUN for abort requests

Sujith Manoharan (1):
ath9k_hw: Fix RX gain initvals for AR9485

Takashi Iwai (1):
ALSA: hda - Disable runtime D3 for Intel CPT & co

Tatyana Nikolova (2):
RDMA/nes: Fix for crash when registering zero length MR for CQ RDMA/nes: Fix for terminate timer crash

Theodore Ts'o (3):
ext4: fix possible use after free with metadata csum
ext4: lock i_mutex when truncating orphan inodes
ext4: avoid hang when mounting non-journal filesystems with orphan list

Tomasz Mloduchowski (1):
usb: ftdi_sio: Crucible Technologies COMET Caller ID - pid added

Tomi Valkeinen (1):
OMAP: board-files: fix i2c_bus for tfp410

Trond Myklebust (3):
SUNRPC: Fix validity issues with rpc_pipefs sb->s_fs_info
SUNRPC: Ensure that we free the rpc_task after cleanups are done
SUNRPC: Ensure we release the socket write lock if the rpc_task exits early

Wei Yongjun (1):
iscsit: use GFP_ATOMIC under spin lock

Wolfram Sang (1):
mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems

Woodhouse, David (1):
intel-iommu: Free old page tables before creating superpage

Xi Wang (1):
SCSI: mvsas: fix undefined bit shift

Xiaotian Feng (1):
libata: fix Null pointer dereference on disk error

Yan, Zheng (5):
ceph: Don't update i_max_size when handling non-auth cap
ceph: Fix infinite loop in __wake_requests
ceph: Don't add dirty inode to dirty list if caps is in migration
ceph: Fix __ceph_do_pending_vmtruncate
ceph: call handle_cap_grant() for cap import message

Yi Zou (1):
target/tcm_fc: fix the lockdep warning due to inconsistent lock state

Zhang Rui (1):
ACPI : do not use Lid and Sleep button for S5 wakeup

Éric Piel (1):
staging: comedi: fix minimum AO period for NI 625x and NI 628x

author maintainer
#1 lore raw
Documentation/power/runtime_pm.txt +5 -4
index 4abe83e..03591a7 100644
@@ -642,12 +642,13 @@ out the following operations:
   * During system suspend it calls pm_runtime_get_noresume() and
     pm_runtime_barrier() for every device right before executing the
     subsystem-level .suspend() callback for it.  In addition to that it calls
-    pm_runtime_disable() for every device right after executing the
-    subsystem-level .suspend() callback for it.
+    __pm_runtime_disable() with 'false' as the second argument for every device
+    right before executing the subsystem-level .suspend_late() callback for it.
 
   * During system resume it calls pm_runtime_enable() and pm_runtime_put_sync()
-    for every device right before and right after executing the subsystem-level
-    .resume() callback for it, respectively.
+    for every device right after executing the subsystem-level .resume_early()
+    callback and right after executing the subsystem-level .resume() callback
+    for it, respectively.
 
 7. Generic subsystem callbacks
 
Makefile +6 -4
index 23807aa..51a9bda 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 7
-SUBLEVEL = 2
+SUBLEVEL = 3
 EXTRAVERSION =
 NAME = Terrified Chipmunk
 
@@ -1021,11 +1021,14 @@ clean: rm-dirs  := $(CLEAN_DIRS)
 clean: rm-files := $(CLEAN_FILES)
 clean-dirs      := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples)
 
-PHONY += $(clean-dirs) clean archclean
+PHONY += $(clean-dirs) clean archclean vmlinuxclean
 $(clean-dirs):
 	$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
 
-clean: archclean
+vmlinuxclean:
+	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
+
+clean: archclean vmlinuxclean
 
 # mrproper - Delete all generated files, including .config
 #
@@ -1252,7 +1255,6 @@ scripts: ;
 endif # KBUILD_EXTMOD
 
 clean: $(clean-dirs)
-	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
 	$(call cmd,rmdirs)
 	$(call cmd,rmfiles)
 	@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
arch/arm/mach-omap2/board-3430sdp.c +1 -0
index 96cd369..09e1790 100644
@@ -157,6 +157,7 @@ static struct omap_dss_device sdp3430_lcd_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= -1,
+	.i2c_bus_num		= -1,
 };
 
 static struct omap_dss_device sdp3430_dvi_device = {
arch/arm/mach-omap2/board-am3517evm.c +1 -0
index e162897..f2a920a 100644
@@ -208,6 +208,7 @@ static struct omap_dss_device am3517_evm_tv_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= -1,
+	.i2c_bus_num		= -1,
 };
 
 static struct omap_dss_device am3517_evm_dvi_device = {
arch/arm/mach-omap2/board-cm-t35.c +1 -0
index 376d26e..7ed0270 100644
@@ -243,6 +243,7 @@ static struct omap_dss_device cm_t35_lcd_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= CM_T35_DVI_EN_GPIO,
+	.i2c_bus_num		= -1,
 };
 
 static struct omap_dss_device cm_t35_dvi_device = {
arch/arm/mach-omap2/board-devkit8000.c +1 -0
index 1fd161e..6f04f0f 100644
@@ -139,6 +139,7 @@ static struct omap_dss_device devkit8000_lcd_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= -1,
+	.i2c_bus_num		= 1,
 };
 
 static struct omap_dss_device devkit8000_dvi_device = {
arch/arm/mach-omap2/board-omap3evm.c +1 -0
index b9b776b..5631eb9 100644
@@ -236,6 +236,7 @@ static struct omap_dss_device omap3_evm_tv_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= OMAP3EVM_DVI_PANEL_EN_GPIO,
+	.i2c_bus_num		= -1,
 };
 
 static struct omap_dss_device omap3_evm_dvi_device = {
arch/arm/mach-omap2/board-omap3stalker.c +1 -0
index 731235e..797be22 100644
@@ -119,6 +119,7 @@ static struct omap_dss_device omap3_stalker_tv_device = {
 
 static struct tfp410_platform_data dvi_panel = {
 	.power_down_gpio	= DSS_ENABLE_GPIO,
+	.i2c_bus_num		= -1,
 };
 
 static struct omap_dss_device omap3_stalker_dvi_device = {
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h +3 -0
index a611ad3..b6132aa 100644
@@ -463,6 +463,9 @@
 	GPIO76_LCD_PCLK,	\
 	GPIO77_LCD_BIAS
 
+/* these enable a work-around for a hw bug in pxa27x during ac97 warm reset */
+#define GPIO113_AC97_nRESET_GPIO_HIGH MFP_CFG_OUT(GPIO113, AF0, DEFAULT)
+#define GPIO95_AC97_nRESET_GPIO_HIGH MFP_CFG_OUT(GPIO95, AF0, DEFAULT)
 
 extern int keypad_set_wake(unsigned int on);
 #endif /* __ASM_ARCH_MFP_PXA27X_H */
arch/arm/mach-pxa/pxa27x.c +2 -2
index 8047ee0..616cb87 100644
@@ -47,9 +47,9 @@ void pxa27x_clear_otgph(void)
 EXPORT_SYMBOL(pxa27x_clear_otgph);
 
 static unsigned long ac97_reset_config[] = {
-	GPIO113_GPIO,
+	GPIO113_AC97_nRESET_GPIO_HIGH,
 	GPIO113_AC97_nRESET,
-	GPIO95_GPIO,
+	GPIO95_AC97_nRESET_GPIO_HIGH,
 	GPIO95_AC97_nRESET,
 };
 
arch/mips/kernel/process.c +1 -3
index e9a5fd7..69b17a9 100644
@@ -72,9 +72,7 @@ void __noreturn cpu_idle(void)
 			}
 		}
 #ifdef CONFIG_HOTPLUG_CPU
-		if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map) &&
-		    (system_state == SYSTEM_RUNNING ||
-		     system_state == SYSTEM_BOOTING))
+		if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map))
 			play_dead();
 #endif
 		rcu_idle_exit();
arch/mips/mm/tlbex.c +0 -16
index 2833dcb..e7c383b 100644
@@ -952,13 +952,6 @@ build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr)
 #endif
 	uasm_i_mfc0(p, tmp, C0_BADVADDR); /* get faulting address */
 	uasm_i_lw(p, ptr, uasm_rel_lo(pgdc), ptr);
-
-	if (cpu_has_mips_r2) {
-		uasm_i_ext(p, tmp, tmp, PGDIR_SHIFT, (32 - PGDIR_SHIFT));
-		uasm_i_ins(p, ptr, tmp, PGD_T_LOG2, (32 - PGDIR_SHIFT));
-		return;
-	}
-
 	uasm_i_srl(p, tmp, tmp, PGDIR_SHIFT); /* get pgd only bits */
 	uasm_i_sll(p, tmp, tmp, PGD_T_LOG2);
 	uasm_i_addu(p, ptr, ptr, tmp); /* add in pgd offset */
@@ -994,15 +987,6 @@ static void __cpuinit build_adjust_context(u32 **p, unsigned int ctx)
 
 static void __cpuinit build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr)
 {
-	if (cpu_has_mips_r2) {
-		/* PTE ptr offset is obtained from BadVAddr */
-		UASM_i_MFC0(p, tmp, C0_BADVADDR);
-		UASM_i_LW(p, ptr, 0, ptr);
-		uasm_i_ext(p, tmp, tmp, PAGE_SHIFT+1, PGDIR_SHIFT-PAGE_SHIFT-1);
-		uasm_i_ins(p, ptr, tmp, PTE_T_LOG2+1, PGDIR_SHIFT-PAGE_SHIFT-1);
-		return;
-	}
-
 	/*
 	 * Bug workaround for the Nevada. It seems as if under certain
 	 * circumstances the move from cp0_context might produce a
arch/powerpc/kernel/head_64.S +1 -1
index 58bddee..9e07bd0 100644
@@ -422,7 +422,7 @@ _STATIC(__after_prom_start)
 	tovirt(r6,r6)			/* on booke, we already run at PAGE_OFFSET */
 #endif
 
-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_RELOCATABLE
 /*
  * Check if the kernel has to be running as relocatable kernel based on the
  * variable __run_at_load, if it is set the kernel is treated as relocatable
arch/powerpc/kernel/time.c +0 -5
index ce4cb77..ba48a88 100644
@@ -774,13 +774,8 @@ void update_vsyscall_old(struct timespec *wall_time, struct timespec *wtm,
 
 void update_vsyscall_tz(void)
 {
-	/* Make userspace gettimeofday spin until we're done. */
-	++vdso_data->tb_update_count;
-	smp_mb();
 	vdso_data->tz_minuteswest = sys_tz.tz_minuteswest;
 	vdso_data->tz_dsttime = sys_tz.tz_dsttime;
-	smp_mb();
-	++vdso_data->tb_update_count;
 }
 
 static void __init clocksource_init(void)
arch/powerpc/kvm/44x_emulate.c +2 -0
index c8c6157..c39cd0b 100644
@@ -76,6 +76,7 @@ int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
 				run->dcr.dcrn = dcrn;
 				run->dcr.data =  0;
 				run->dcr.is_write = 0;
+				vcpu->arch.dcr_is_write = 0;
 				vcpu->arch.io_gpr = rt;
 				vcpu->arch.dcr_needed = 1;
 				kvmppc_account_exit(vcpu, DCR_EXITS);
@@ -94,6 +95,7 @@ int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
 				run->dcr.dcrn = dcrn;
 				run->dcr.data = kvmppc_get_gpr(vcpu, rs);
 				run->dcr.is_write = 1;
+				vcpu->arch.dcr_is_write = 1;
 				vcpu->arch.dcr_needed = 1;
 				kvmppc_account_exit(vcpu, DCR_EXITS);
 				emulated = EMULATE_DO_DCR;
arch/powerpc/kvm/e500_tlb.c +1 -1
index ff38b66..ea30a90 100644
@@ -1332,7 +1332,7 @@ int kvmppc_e500_tlb_init(struct kvmppc_vcpu_e500 *vcpu_e500)
 	if (!vcpu_e500->gtlb_priv[1])
 		goto err;
 
-	vcpu_e500->g2h_tlb1_map = kzalloc(sizeof(unsigned int) *
+	vcpu_e500->g2h_tlb1_map = kzalloc(sizeof(u64) *
 					  vcpu_e500->gtlb_params[1].entries,
 					  GFP_KERNEL);
 	if (!vcpu_e500->g2h_tlb1_map)
arch/powerpc/platforms/40x/ppc40x_simple.c +2 -1
index 969dddc..8f3920e 100644
@@ -57,7 +57,8 @@ static const char * const board[] __initconst = {
 	"amcc,makalu",
 	"apm,klondike",
 	"est,hotfoot",
-	"plathome,obs600"
+	"plathome,obs600",
+	NULL
 };
 
 static int __init ppc40x_probe(void)
arch/s390/kernel/entry64.S +20 -5
index 07d8de3..19b6080 100644
@@ -80,14 +80,21 @@ _TIF_EXIT_SIE = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_MCCK_PENDING)
 #endif
 	.endm
 
-	.macro	HANDLE_SIE_INTERCEPT scratch
+	.macro	HANDLE_SIE_INTERCEPT scratch,pgmcheck
 #if defined(CONFIG_KVM) || defined(CONFIG_KVM_MODULE)
 	tmhh	%r8,0x0001		# interrupting from user ?
 	jnz	.+42
 	lgr	\scratch,%r9
 	slg	\scratch,BASED(.Lsie_loop)
 	clg	\scratch,BASED(.Lsie_length)
+	.if	\pgmcheck
+	# Some program interrupts are suppressing (e.g. protection).
+	# We must also check the instruction after SIE in that case.
+	# do_protection_exception will rewind to rewind_pad
+	jh	.+22
+	.else
 	jhe	.+22
+	.endif
 	lg	%r9,BASED(.Lsie_loop)
 	SPP	BASED(.Lhost_id)	# set host id
 #endif
@@ -391,7 +398,7 @@ ENTRY(pgm_check_handler)
 	lg	%r12,__LC_THREAD_INFO
 	larl	%r13,system_call
 	lmg	%r8,%r9,__LC_PGM_OLD_PSW
-	HANDLE_SIE_INTERCEPT %r14
+	HANDLE_SIE_INTERCEPT %r14,1
 	tmhh	%r8,0x0001		# test problem state bit
 	jnz	1f			# -> fault in user space
 	tmhh	%r8,0x4000		# PER bit set in old PSW ?
@@ -467,7 +474,7 @@ ENTRY(io_int_handler)
 	lg	%r12,__LC_THREAD_INFO
 	larl	%r13,system_call
 	lmg	%r8,%r9,__LC_IO_OLD_PSW
-	HANDLE_SIE_INTERCEPT %r14
+	HANDLE_SIE_INTERCEPT %r14,0
 	SWITCH_ASYNC __LC_SAVE_AREA_ASYNC,__LC_ASYNC_STACK,STACK_SHIFT
 	tmhh	%r8,0x0001		# interrupting from user?
 	jz	io_skip
@@ -613,7 +620,7 @@ ENTRY(ext_int_handler)
 	lg	%r12,__LC_THREAD_INFO
 	larl	%r13,system_call
 	lmg	%r8,%r9,__LC_EXT_OLD_PSW
-	HANDLE_SIE_INTERCEPT %r14
+	HANDLE_SIE_INTERCEPT %r14,0
 	SWITCH_ASYNC __LC_SAVE_AREA_ASYNC,__LC_ASYNC_STACK,STACK_SHIFT
 	tmhh	%r8,0x0001		# interrupting from user ?
 	jz	ext_skip
@@ -661,7 +668,7 @@ ENTRY(mcck_int_handler)
 	lg	%r12,__LC_THREAD_INFO
 	larl	%r13,system_call
 	lmg	%r8,%r9,__LC_MCK_OLD_PSW
-	HANDLE_SIE_INTERCEPT %r14
+	HANDLE_SIE_INTERCEPT %r14,0
 	tm	__LC_MCCK_CODE,0x80	# system damage?
 	jo	mcck_panic		# yes -> rest of mcck code invalid
 	lghi	%r14,__LC_CPU_TIMER_SAVE_AREA
@@ -960,6 +967,13 @@ ENTRY(sie64a)
 	stg	%r3,__SF_EMPTY+8(%r15)		# save guest register save area
 	xc	__SF_EMPTY+16(8,%r15),__SF_EMPTY+16(%r15) # host id == 0
 	lmg	%r0,%r13,0(%r3)			# load guest gprs 0-13
+# some program checks are suppressing. C code (e.g. do_protection_exception)
+# will rewind the PSW by the ILC, which is 4 bytes in case of SIE. Other
+# instructions in the sie_loop should not cause program interrupts. So
+# lets use a nop (47 00 00 00) as a landing pad.
+# See also HANDLE_SIE_INTERCEPT
+rewind_pad:
+	nop	0
 sie_loop:
 	lg	%r14,__LC_THREAD_INFO		# pointer thread_info struct
 	tm	__TI_flags+7(%r14),_TIF_EXIT_SIE
@@ -999,6 +1013,7 @@ sie_fault:
 .Lhost_id:
 	.quad	0
 
+	EX_TABLE(rewind_pad,sie_fault)
 	EX_TABLE(sie_loop,sie_fault)
 #endif
 
arch/s390/kvm/kvm-s390.c +1 -1
index ecced9d..38883f0 100644
@@ -997,7 +997,7 @@ static int __init kvm_s390_init(void)
 	}
 	memcpy(facilities, S390_lowcore.stfle_fac_list, 16);
 	facilities[0] &= 0xff00fff3f47c0000ULL;
-	facilities[1] &= 0x201c000000000000ULL;
+	facilities[1] &= 0x001c000000000000ULL;
 	return 0;
 }
 
drivers/acpi/scan.c +6 -1
index c441834..1b888e8 100644
@@ -859,8 +859,8 @@ acpi_bus_extract_wakeup_device_power_package(acpi_handle handle,
 static void acpi_bus_set_run_wake_flags(struct acpi_device *device)
 {
 	struct acpi_device_id button_device_ids[] = {
-		{"PNP0C0D", 0},
 		{"PNP0C0C", 0},
+		{"PNP0C0D", 0},
 		{"PNP0C0E", 0},
 		{"", 0},
 	};
@@ -872,6 +872,11 @@ static void acpi_bus_set_run_wake_flags(struct acpi_device *device)
 	/* Power button, Lid switch always enable wakeup */
 	if (!acpi_match_device_ids(device, button_device_ids)) {
 		device->wakeup.flags.run_wake = 1;
+		if (!acpi_match_device_ids(device, &button_device_ids[1])) {
+			/* Do not use Lid/sleep button for S5 wakeup */
+			if (device->wakeup.sleep_state == ACPI_STATE_S5)
+				device->wakeup.sleep_state = ACPI_STATE_S4;
+		}
 		device_set_wakeup_capable(&device->dev, true);
 		return;
 	}
drivers/ata/libata-core.c +1 -0
index f46fbd3..586362e 100644
@@ -2560,6 +2560,7 @@ int ata_bus_probe(struct ata_port *ap)
 		 * bus as we may be talking too fast.
 		 */
 		dev->pio_mode = XFER_PIO_0;
+		dev->dma_mode = 0xff;
 
 		/* If the controller has a pio mode setup function
 		 * then use it to set the chipset to rights. Don't
drivers/ata/libata-eh.c +1 -0
index e60437c..bf039b0 100644
@@ -2657,6 +2657,7 @@ int ata_eh_reset(struct ata_link *link, int classify,
 		 * bus as we may be talking too fast.
 		 */
 		dev->pio_mode = XFER_PIO_0;
+		dev->dma_mode = 0xff;
 
 		/* If the controller has a pio mode setup function
 		 * then use it to set the chipset to rights. Don't
drivers/ata/libata-scsi.c +4 -2
index a6df6a3..7c337e7 100644
@@ -309,7 +309,8 @@ ata_scsi_activity_show(struct device *dev, struct device_attribute *attr,
 	struct ata_port *ap = ata_shost_to_port(sdev->host);
 	struct ata_device *atadev = ata_scsi_find_dev(ap, sdev);
 
-	if (ap->ops->sw_activity_show && (ap->flags & ATA_FLAG_SW_ACTIVITY))
+	if (atadev && ap->ops->sw_activity_show &&
+	    (ap->flags & ATA_FLAG_SW_ACTIVITY))
 		return ap->ops->sw_activity_show(atadev, buf);
 	return -EINVAL;
 }
@@ -324,7 +325,8 @@ ata_scsi_activity_store(struct device *dev, struct device_attribute *attr,
 	enum sw_activity val;
 	int rc;
 
-	if (ap->ops->sw_activity_store && (ap->flags & ATA_FLAG_SW_ACTIVITY)) {
+	if (atadev && ap->ops->sw_activity_store &&
+	    (ap->flags & ATA_FLAG_SW_ACTIVITY)) {
 		val = simple_strtoul(buf, NULL, 0);
 		switch (val) {
 		case OFF: case BLINK_ON: case BLINK_OFF:
drivers/ata/sata_promise.c +13 -2
index 489c817..fb0dd87 100644
@@ -147,6 +147,10 @@ struct pdc_port_priv {
 	dma_addr_t		pkt_dma;
 };
 
+struct pdc_host_priv {
+	spinlock_t hard_reset_lock;
+};
+
 static int pdc_sata_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val);
 static int pdc_sata_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val);
 static int pdc_ata_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
@@ -801,9 +805,10 @@ static void pdc_hard_reset_port(struct ata_port *ap)
 	void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR];
 	void __iomem *pcictl_b1_mmio = host_mmio + PDC_PCI_CTL + 1;
 	unsigned int ata_no = pdc_ata_port_to_ata_no(ap);
+	struct pdc_host_priv *hpriv = ap->host->private_data;
 	u8 tmp;
 
-	spin_lock(&ap->host->lock);
+	spin_lock(&hpriv->hard_reset_lock);
 
 	tmp = readb(pcictl_b1_mmio);
 	tmp &= ~(0x10 << ata_no);
@@ -814,7 +819,7 @@ static void pdc_hard_reset_port(struct ata_port *ap)
 	writeb(tmp, pcictl_b1_mmio);
 	readb(pcictl_b1_mmio); /* flush */
 
-	spin_unlock(&ap->host->lock);
+	spin_unlock(&hpriv->hard_reset_lock);
 }
 
 static int pdc_sata_hardreset(struct ata_link *link, unsigned int *class,
@@ -1182,6 +1187,7 @@ static int pdc_ata_init_one(struct pci_dev *pdev,
 	const struct ata_port_info *pi = &pdc_port_info[ent->driver_data];
 	const struct ata_port_info *ppi[PDC_MAX_PORTS];
 	struct ata_host *host;
+	struct pdc_host_priv *hpriv;
 	void __iomem *host_mmio;
 	int n_ports, i, rc;
 	int is_sataii_tx4;
@@ -1218,6 +1224,11 @@ static int pdc_ata_init_one(struct pci_dev *pdev,
 		dev_err(&pdev->dev, "failed to allocate host\n");
 		return -ENOMEM;
 	}
+	hpriv = devm_kzalloc(&pdev->dev, sizeof *hpriv, GFP_KERNEL);
+	if (!hpriv)
+		return -ENOMEM;
+	spin_lock_init(&hpriv->hard_reset_lock);
+	host->private_data = hpriv;
 	host->iomap = pcim_iomap_table(pdev);
 
 	is_sataii_tx4 = pdc_is_sataii_tx4(pi->flags);
drivers/base/power/main.c +4 -5
index a3c1404..2b7f77d 100644
@@ -513,6 +513,8 @@ static int device_resume_early(struct device *dev, pm_message_t state)
 
  Out:
 	TRACE_RESUME(error);
+
+	pm_runtime_enable(dev);
 	return error;
 }
 
@@ -589,8 +591,6 @@ static int device_resume(struct device *dev, pm_message_t state, bool async)
 	if (!dev->power.is_suspended)
 		goto Unlock;
 
-	pm_runtime_enable(dev);
-
 	if (dev->pm_domain) {
 		info = "power domain ";
 		callback = pm_op(&dev->pm_domain->ops, state);
@@ -930,6 +930,8 @@ static int device_suspend_late(struct device *dev, pm_message_t state)
 	pm_callback_t callback = NULL;
 	char *info = NULL;
 
+	__pm_runtime_disable(dev, false);
+
 	if (dev->power.syscore)
 		return 0;
 
@@ -1133,11 +1135,8 @@ static int __device_suspend(struct device *dev, pm_message_t state, bool async)
 
  Complete:
 	complete_all(&dev->power.completion);
-
 	if (error)
 		async_error = error;
-	else if (dev->power.is_suspended)
-		__pm_runtime_disable(dev, false);
 
 	return error;
 }
drivers/base/regmap/regmap-debugfs.c +1 -1
index bb1ff17..c394041 100644
@@ -90,7 +90,7 @@ static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf,
 		/* If we're in the region the user is trying to read */
 		if (p >= *ppos) {
 			/* ...but not beyond it */
-			if (buf_pos >= count - 1 - tot_len)
+			if (buf_pos + 1 + tot_len >= count)
 				break;
 
 			/* Format the register */
drivers/bcma/driver_mips.c +1 -1
index cc65b45..b4e83b8 100644
@@ -115,7 +115,7 @@ static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
 			    bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) &
 			    ~(1 << irqflag));
 	else
-		bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq), 0);
+		bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0);
 
 	/* assign the new one */
 	if (irq == 0) {
drivers/block/aoe/aoeblk.c +4 -13
index 00dfc50..047baf0 100644
@@ -231,18 +231,12 @@ aoeblk_gdalloc(void *vp)
 	if (q == NULL) {
 		pr_err("aoe: cannot allocate block queue for %ld.%d\n",
 			d->aoemajor, d->aoeminor);
-		mempool_destroy(mp);
-		goto err_disk;
+		goto err_mempool;
 	}
 
-	d->blkq = blk_alloc_queue(GFP_KERNEL);
-	if (!d->blkq)
-		goto err_mempool;
-	d->blkq->backing_dev_info.name = "aoe";
-	if (bdi_init(&d->blkq->backing_dev_info))
-		goto err_blkq;
 	spin_lock_irqsave(&d->lock, flags);
-	blk_queue_max_hw_sectors(d->blkq, BLK_DEF_MAX_SECTORS);
+	blk_queue_max_hw_sectors(q, BLK_DEF_MAX_SECTORS);
+	q->backing_dev_info.name = "aoe";
 	q->backing_dev_info.ra_pages = READ_AHEAD / PAGE_CACHE_SIZE;
 	d->bufpool = mp;
 	d->blkq = gd->queue = q;
@@ -265,11 +259,8 @@ aoeblk_gdalloc(void *vp)
 	aoedisk_add_sysfs(d);
 	return;
 
-err_blkq:
-	blk_cleanup_queue(d->blkq);
-	d->blkq = NULL;
 err_mempool:
-	mempool_destroy(d->bufpool);
+	mempool_destroy(mp);
 err_disk:
 	put_disk(gd);
 err:
drivers/block/rbd.c +43 -20

193 lines not on this page · raw message

drivers/block/rbd_types.h +0 -2
index cbe77fa..49d77cb 100644
@@ -46,8 +46,6 @@
 #define RBD_MIN_OBJ_ORDER       16
 #define RBD_MAX_OBJ_ORDER       30
 
-#define RBD_MAX_SEG_NAME_LEN	128
-
 #define RBD_COMP_NONE		0
 #define RBD_CRYPT_NONE		0
 
drivers/cpuidle/coupled.c +1 -1
index 3265844..2a297f8 100644
@@ -209,7 +209,7 @@ inline int cpuidle_coupled_set_not_ready(struct cpuidle_coupled *coupled)
 	int all;
 	int ret;
 
-	all = coupled->online_count || (coupled->online_count << WAITING_BITS);
+	all = coupled->online_count | (coupled->online_count << WAITING_BITS);
 	ret = atomic_add_unless(&coupled->ready_waiting_counts,
 		-MAX_WAITING_CPUS, all);
 
drivers/edac/edac_mc_sysfs.c +1 -1
index ed0bc07..fe4fa1c 100644
@@ -1145,7 +1145,7 @@ int __init edac_mc_sysfs_init(void)
 
 void __exit edac_mc_sysfs_exit(void)
 {
-	put_device(mci_pdev);
 	device_del(mci_pdev);
+	put_device(mci_pdev);
 	edac_put_sysfs_subsys();
 }
drivers/firewire/net.c +9 -4
index 08c6749..638e1f7 100644
@@ -861,8 +861,8 @@ static void fwnet_receive_broadcast(struct fw_iso_context *context,
 	if (specifier_id == IANA_SPECIFIER_ID && ver == RFC2734_SW_VERSION) {
 		buf_ptr += 2;
 		length -= IEEE1394_GASP_HDR_SIZE;
-		fwnet_incoming_packet(dev, buf_ptr, length,
-				      source_node_id, -1, true);
+		fwnet_incoming_packet(dev, buf_ptr, length, source_node_id,
+				      context->card->generation, true);
 	}
 
 	packet.payload_length = dev->rcv_buffer_size;
@@ -958,7 +958,12 @@ static void fwnet_transmit_packet_done(struct fwnet_packet_task *ptask)
 			break;
 		}
 
-		skb_pull(skb, ptask->max_payload);
+		if (ptask->dest_node == IEEE1394_ALL_NODES) {
+			skb_pull(skb,
+				 ptask->max_payload + IEEE1394_GASP_HDR_SIZE);
+		} else {
+			skb_pull(skb, ptask->max_payload);
+		}
 		if (ptask->outstanding_pkts > 1) {
 			fwnet_make_sf_hdr(&ptask->hdr, RFC2374_HDR_INTFRAG,
 					  dg_size, fg_off, datagram_label);
@@ -1062,7 +1067,7 @@ static int fwnet_send_packet(struct fwnet_packet_task *ptask)
 		smp_rmb();
 		node_id = dev->card->node_id;
 
-		p = skb_push(ptask->skb, 8);
+		p = skb_push(ptask->skb, IEEE1394_GASP_HDR_SIZE);
 		put_unaligned_be32(node_id << 16 | IANA_SPECIFIER_ID >> 8, p);
 		put_unaligned_be32((IANA_SPECIFIER_ID & 0xff) << 24
 						| RFC2734_SW_VERSION, &p[4]);
drivers/gpu/drm/drm_mm.c +17 -28

94 lines not on this page · raw message

drivers/gpu/drm/exynos/exynos_drm_dmabuf.c +5 -0
index fae1f2e..f2b2f01 100644
@@ -210,7 +210,12 @@ struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,
 
 		/* is it from our device? */
 		if (obj->dev == drm_dev) {
+			/*
+			 * Importing dmabuf exported from out own gem increases
+			 * refcount on gem itself instead of f_count of dmabuf.
+			 */
 			drm_gem_object_reference(obj);
+			dma_buf_put(dma_buf);
 			return obj;
 		}
 	}
drivers/gpu/drm/i915/i915_debugfs.c +2 -2
index dde8b50..da21b11 100644
@@ -317,7 +317,7 @@ static int i915_gem_pageflip_info(struct seq_file *m, void *data)
 			seq_printf(m, "No flip due on pipe %c (plane %c)\n",
 				   pipe, plane);
 		} else {
-			if (!work->pending) {
+			if (atomic_read(&work->pending) < INTEL_FLIP_COMPLETE) {
 				seq_printf(m, "Flip queued on pipe %c (plane %c)\n",
 					   pipe, plane);
 			} else {
@@ -328,7 +328,7 @@ static int i915_gem_pageflip_info(struct seq_file *m, void *data)
 				seq_printf(m, "Stall check enabled, ");
 			else
 				seq_printf(m, "Stall check waiting for page flip ioctl, ");
-			seq_printf(m, "%d prepares\n", work->pending);
+			seq_printf(m, "%d prepares\n", atomic_read(&work->pending));
 
 			if (work->old_fb_obj) {
 				struct drm_i915_gem_object *obj = work->old_fb_obj;
drivers/gpu/drm/i915/i915_drv.c +1 -1
index 6770ee6..1f20ead 100644
@@ -552,7 +552,7 @@ static int i915_drm_thaw(struct drm_device *dev)
 		mutex_unlock(&dev->struct_mutex);
 
 		intel_modeset_init_hw(dev);
-		intel_modeset_setup_hw_state(dev);
+		intel_modeset_setup_hw_state(dev, false);
 		drm_mode_config_reset(dev);
 		drm_irq_install(dev);
 	}
drivers/gpu/drm/i915/i915_drv.h +2 -1
index f511fa2..92f1750 100644
@@ -1595,7 +1595,8 @@ extern void intel_modeset_init(struct drm_device *dev);
 extern void intel_modeset_gem_init(struct drm_device *dev);
 extern void intel_modeset_cleanup(struct drm_device *dev);
 extern int intel_modeset_vga_set_state(struct drm_device *dev, bool state);
-extern void intel_modeset_setup_hw_state(struct drm_device *dev);
+extern void intel_modeset_setup_hw_state(struct drm_device *dev,
+					 bool force_restore);
 extern bool intel_fbc_enabled(struct drm_device *dev);
 extern void intel_disable_fbc(struct drm_device *dev);
 extern bool ironlake_set_drps(struct drm_device *dev, u8 val);
drivers/gpu/drm/i915/i915_gem.c +18 -7
index 9b285da..fe3a778 100644
@@ -1718,7 +1718,8 @@ i915_gem_object_put_pages(struct drm_i915_gem_object *obj)
 }
 
 static long
-i915_gem_purge(struct drm_i915_private *dev_priv, long target)
+__i915_gem_shrink(struct drm_i915_private *dev_priv, long target,
+		  bool purgeable_only)
 {
 	struct drm_i915_gem_object *obj, *next;
 	long count = 0;
@@ -1726,7 +1727,7 @@ i915_gem_purge(struct drm_i915_private *dev_priv, long target)
 	list_for_each_entry_safe(obj, next,
 				 &dev_priv->mm.unbound_list,
 				 gtt_list) {
-		if (i915_gem_object_is_purgeable(obj) &&
+		if ((i915_gem_object_is_purgeable(obj) || !purgeable_only) &&
 		    i915_gem_object_put_pages(obj) == 0) {
 			count += obj->base.size >> PAGE_SHIFT;
 			if (count >= target)
@@ -1737,7 +1738,7 @@ i915_gem_purge(struct drm_i915_private *dev_priv, long target)
 	list_for_each_entry_safe(obj, next,
 				 &dev_priv->mm.inactive_list,
 				 mm_list) {
-		if (i915_gem_object_is_purgeable(obj) &&
+		if ((i915_gem_object_is_purgeable(obj) || !purgeable_only) &&
 		    i915_gem_object_unbind(obj) == 0 &&
 		    i915_gem_object_put_pages(obj) == 0) {
 			count += obj->base.size >> PAGE_SHIFT;
@@ -1749,6 +1750,12 @@ i915_gem_purge(struct drm_i915_private *dev_priv, long target)
 	return count;
 }
 
+static long
+i915_gem_purge(struct drm_i915_private *dev_priv, long target)
+{
+	return __i915_gem_shrink(dev_priv, target, true);
+}
+
 static void
 i915_gem_shrink_all(struct drm_i915_private *dev_priv)
 {
@@ -3511,14 +3518,15 @@ i915_gem_pin_ioctl(struct drm_device *dev, void *data,
 		goto out;
 	}
 
-	obj->user_pin_count++;
-	obj->pin_filp = file;
-	if (obj->user_pin_count == 1) {
+	if (obj->user_pin_count == 0) {
 		ret = i915_gem_object_pin(obj, args->alignment, true, false);
 		if (ret)
 			goto out;
 	}
 
+	obj->user_pin_count++;
+	obj->pin_filp = file;
+
 	/* XXX - flush the CPU caches for pinned objects
 	 * as the X server doesn't manage domains yet
 	 */
@@ -4425,6 +4433,9 @@ i915_gem_inactive_shrink(struct shrinker *shrinker, struct shrink_control *sc)
 	if (nr_to_scan) {
 		nr_to_scan -= i915_gem_purge(dev_priv, nr_to_scan);
 		if (nr_to_scan > 0)
+			nr_to_scan -= __i915_gem_shrink(dev_priv, nr_to_scan,
+							false);
+		if (nr_to_scan > 0)
 			i915_gem_shrink_all(dev_priv);
 	}
 
@@ -4432,7 +4443,7 @@ i915_gem_inactive_shrink(struct shrinker *shrinker, struct shrink_control *sc)
 	list_for_each_entry(obj, &dev_priv->mm.unbound_list, gtt_list)
 		if (obj->pages_pin_count == 0)
 			cnt += obj->base.size >> PAGE_SHIFT;
-	list_for_each_entry(obj, &dev_priv->mm.bound_list, gtt_list)
+	list_for_each_entry(obj, &dev_priv->mm.inactive_list, gtt_list)
 		if (obj->pin_count == 0 && obj->pages_pin_count == 0)
 			cnt += obj->base.size >> PAGE_SHIFT;
 
drivers/gpu/drm/i915/i915_gem_dmabuf.c +6 -1
index 773ef77..abeaafe 100644
@@ -226,7 +226,7 @@ struct dma_buf *i915_gem_prime_export(struct drm_device *dev,
 {
 	struct drm_i915_gem_object *obj = to_intel_bo(gem_obj);
 
-	return dma_buf_export(obj, &i915_dmabuf_ops, obj->base.size, 0600);
+	return dma_buf_export(obj, &i915_dmabuf_ops, obj->base.size, flags);
 }
 
 static int i915_gem_object_get_pages_dmabuf(struct drm_i915_gem_object *obj)
@@ -266,7 +266,12 @@ struct drm_gem_object *i915_gem_prime_import(struct drm_device *dev,
 		obj = dma_buf->priv;
 		/* is it from our device? */
 		if (obj->base.dev == dev) {
+			/*
+			 * Importing dmabuf exported from out own gem increases
+			 * refcount on gem itself instead of f_count of dmabuf.
+			 */
 			drm_gem_object_reference(&obj->base);
+			dma_buf_put(dma_buf);
 			return &obj->base;
 		}
 	}
drivers/gpu/drm/i915/i915_irq.c +3 -1
index 32e1bda..dc29ace 100644
@@ -1464,7 +1464,9 @@ static void i915_pageflip_stall_check(struct drm_device *dev, int pipe)
 	spin_lock_irqsave(&dev->event_lock, flags);
 	work = intel_crtc->unpin_work;
 
-	if (work == NULL || work->pending || !work->enable_stall_check) {
+	if (work == NULL ||
+	    atomic_read(&work->pending) >= INTEL_FLIP_COMPLETE ||
+	    !work->enable_stall_check) {
 		/* Either the pending flip IRQ arrived, or we're too early. Don't check */
 		spin_unlock_irqrestore(&dev->event_lock, flags);
 		return;
drivers/gpu/drm/i915/i915_reg.h +2 -0
index a4162dd..09ae4b0 100644
@@ -3315,6 +3315,8 @@
 #define _PFA_CTL_1               0x68080
 #define _PFB_CTL_1               0x68880
 #define  PF_ENABLE              (1<<31)
+#define  PF_PIPE_SEL_MASK_IVB	(3<<29)
+#define  PF_PIPE_SEL_IVB(pipe)	((pipe)<<29)
 #define  PF_FILTER_MASK		(3<<23)
 #define  PF_FILTER_PROGRAMMED	(0<<23)
 #define  PF_FILTER_MED_3x3	(1<<23)
drivers/gpu/drm/i915/intel_display.c +84 -52

290 lines not on this page · raw message

drivers/gpu/drm/i915/intel_drv.h +7 -2
index fe71425..016e375 100644
@@ -198,6 +198,8 @@ struct intel_crtc {
 	struct intel_unpin_work *unpin_work;
 	int fdi_lanes;
 
+	atomic_t unpin_work_count;
+
 	/* Display surface base address adjustement for pageflips. Note that on
 	 * gen4+ this only adjusts up to a tile, offsets within a tile are
 	 * handled in the hw itself (with the TILEOFF register). */
@@ -380,11 +382,14 @@ intel_get_crtc_for_plane(struct drm_device *dev, int plane)
 
 struct intel_unpin_work {
 	struct work_struct work;
-	struct drm_device *dev;
+	struct drm_crtc *crtc;
 	struct drm_i915_gem_object *old_fb_obj;
 	struct drm_i915_gem_object *pending_flip_obj;
 	struct drm_pending_vblank_event *event;
-	int pending;
+	atomic_t pending;
+#define INTEL_FLIP_INACTIVE	0
+#define INTEL_FLIP_PENDING	1
+#define INTEL_FLIP_COMPLETE	2
 	bool enable_stall_check;
 };
 
drivers/gpu/drm/i915/intel_lvds.c +1 -9
index edba93b..d4d9a6f 100644
@@ -526,7 +526,7 @@ static int intel_lid_notify(struct notifier_block *nb, unsigned long val,
 	dev_priv->modeset_on_lid = 0;
 
 	mutex_lock(&dev->mode_config.mutex);
-	intel_modeset_check_state(dev);
+	intel_modeset_setup_hw_state(dev, true);
 	mutex_unlock(&dev->mode_config.mutex);
 
 	return NOTIFY_OK;
@@ -763,14 +763,6 @@ static const struct dmi_system_id intel_no_lvds[] = {
 	},
 	{
 		.callback = intel_no_lvds_dmi_callback,
-		.ident = "ZOTAC ZBOXSD-ID12/ID13",
-		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "ZOTAC"),
-			DMI_MATCH(DMI_BOARD_NAME, "ZBOXSD-ID12/ID13"),
-		},
-	},
-	{
-		.callback = intel_no_lvds_dmi_callback,
 		.ident = "Gigabyte GA-D525TUD",
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."),
drivers/gpu/drm/i915/intel_pm.c +15 -8
index 442968f..eaaff3c 100644
@@ -44,6 +44,14 @@
  * i915.i915_enable_fbc parameter
  */
 
+static bool intel_crtc_active(struct drm_crtc *crtc)
+{
+	/* Be paranoid as we can arrive here with only partial
+	 * state retrieved from the hardware during setup.
+	 */
+	return to_intel_crtc(crtc)->active && crtc->fb && crtc->mode.clock;
+}
+
 static void i8xx_disable_fbc(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
@@ -405,9 +413,8 @@ void intel_update_fbc(struct drm_device *dev)
 	 *   - going to an unsupported config (interlace, pixel multiply, etc.)
 	 */
 	list_for_each_entry(tmp_crtc, &dev->mode_config.crtc_list, head) {
-		if (tmp_crtc->enabled &&
-		    !to_intel_crtc(tmp_crtc)->primary_disabled &&
-		    tmp_crtc->fb) {
+		if (intel_crtc_active(tmp_crtc) &&
+		    !to_intel_crtc(tmp_crtc)->primary_disabled) {
 			if (crtc) {
 				DRM_DEBUG_KMS("more than one pipe active, disabling compression\n");
 				dev_priv->no_fbc_reason = FBC_MULTIPLE_PIPES;
@@ -992,7 +999,7 @@ static struct drm_crtc *single_enabled_crtc(struct drm_device *dev)
 	struct drm_crtc *crtc, *enabled = NULL;
 
 	list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
-		if (crtc->enabled && crtc->fb) {
+		if (intel_crtc_active(crtc)) {
 			if (enabled)
 				return NULL;
 			enabled = crtc;
@@ -1086,7 +1093,7 @@ static bool g4x_compute_wm0(struct drm_device *dev,
 	int entries, tlb_miss;
 
 	crtc = intel_get_crtc_for_plane(dev, plane);
-	if (crtc->fb == NULL || !crtc->enabled) {
+	if (!intel_crtc_active(crtc)) {
 		*cursor_wm = cursor->guard_size;
 		*plane_wm = display->guard_size;
 		return false;
@@ -1215,7 +1222,7 @@ static bool vlv_compute_drain_latency(struct drm_device *dev,
 	int entries;
 
 	crtc = intel_get_crtc_for_plane(dev, plane);
-	if (crtc->fb == NULL || !crtc->enabled)
+	if (!intel_crtc_active(crtc))
 		return false;
 
 	clock = crtc->mode.clock;	/* VESA DOT Clock */
@@ -1478,7 +1485,7 @@ static void i9xx_update_wm(struct drm_device *dev)
 
 	fifo_size = dev_priv->display.get_fifo_size(dev, 1);
 	crtc = intel_get_crtc_for_plane(dev, 1);
-	if (crtc->enabled && crtc->fb) {
+	if (intel_crtc_active(crtc)) {
 		planeb_wm = intel_calculate_wm(crtc->mode.clock,
 					       wm_info, fifo_size,
 					       crtc->fb->bits_per_pixel / 8,
@@ -1923,7 +1930,7 @@ sandybridge_compute_sprite_wm(struct drm_device *dev, int plane,
 	int entries, tlb_miss;
 
 	crtc = intel_get_crtc_for_plane(dev, plane);
-	if (crtc->fb == NULL || !crtc->enabled) {
+	if (!intel_crtc_active(crtc)) {
 		*sprite_wm = display->guard_size;
 		return false;
 	}
drivers/gpu/drm/nouveau/core/include/subdev/bios/pll.h +2 -0
index c345097..b2f3d4d 100644
@@ -38,6 +38,8 @@ enum nvbios_pll_type {
 	PLL_UNK42  = 0x42,
 	PLL_VPLL0  = 0x80,
 	PLL_VPLL1  = 0x81,
+	PLL_VPLL2  = 0x82,
+	PLL_VPLL3  = 0x83,
 	PLL_MAX    = 0xff
 };
 
drivers/gpu/drm/nouveau/core/subdev/clock/nvc0.c +2 -0
index f6962c9..7c96262 100644
@@ -52,6 +52,8 @@ nvc0_clock_pll_set(struct nouveau_clock *clk, u32 type, u32 freq)
 	switch (info.type) {
 	case PLL_VPLL0:
 	case PLL_VPLL1:
+	case PLL_VPLL2:
+	case PLL_VPLL3:
 		nv_mask(priv, info.reg + 0x0c, 0x00000000, 0x00000100);
 		nv_wr32(priv, info.reg + 0x04, (P << 16) | (N << 8) | M);
 		nv_wr32(priv, info.reg + 0x10, fN << 16);
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c +3 -3
index 9f59f2b..73bedff 100644
@@ -86,14 +86,14 @@ nvc0_fb_vram_new(struct nouveau_fb *pfb, u64 size, u32 align, u32 ncmin,
 	mem->memtype = type;
 	mem->size = size;
 
-	mutex_lock(&mm->mutex);
+	mutex_lock(&pfb->base.mutex);
 	do {
 		if (back)
 			ret = nouveau_mm_tail(mm, 1, size, ncmin, align, &r);
 		else
 			ret = nouveau_mm_head(mm, 1, size, ncmin, align, &r);
 		if (ret) {
-			mutex_unlock(&mm->mutex);
+			mutex_unlock(&pfb->base.mutex);
 			pfb->ram.put(pfb, &mem);
 			return ret;
 		}
@@ -101,7 +101,7 @@ nvc0_fb_vram_new(struct nouveau_fb *pfb, u64 size, u32 align, u32 ncmin,
 		list_add_tail(&r->rl_entry, &mem->regions);
 		size -= r->length;
 	} while (size);
-	mutex_unlock(&mm->mutex);
+	mutex_unlock(&pfb->base.mutex);
 
 	r = list_first_entry(&mem->regions, struct nouveau_mm_node, rl_entry);
 	mem->offset = (u64)r->offset << 12;
drivers/gpu/drm/nouveau/core/subdev/instmem/base.c +27 -8
index 1188227..6565f3d 100644
@@ -40,15 +40,21 @@ nouveau_instobj_create_(struct nouveau_object *parent,
 	if (ret)
 		return ret;
 
+	mutex_lock(&imem->base.mutex);
 	list_add(&iobj->head, &imem->list);
+	mutex_unlock(&imem->base.mutex);
 	return 0;
 }
 
 void
 nouveau_instobj_destroy(struct nouveau_instobj *iobj)
 {
-	if (iobj->head.prev)
-		list_del(&iobj->head);
+	struct nouveau_subdev *subdev = nv_subdev(iobj->base.engine);
+
+	mutex_lock(&subdev->mutex);
+	list_del(&iobj->head);
+	mutex_unlock(&subdev->mutex);
+
 	return nouveau_object_destroy(&iobj->base);
 }
 
@@ -88,6 +94,8 @@ nouveau_instmem_init(struct nouveau_instmem *imem)
 	if (ret)
 		return ret;
 
+	mutex_lock(&imem->base.mutex);
+
 	list_for_each_entry(iobj, &imem->list, head) {
 		if (iobj->suspend) {
 			for (i = 0; i < iobj->size; i += 4)
@@ -97,6 +105,8 @@ nouveau_instmem_init(struct nouveau_instmem *imem)
 		}
 	}
 
+	mutex_unlock(&imem->base.mutex);
+
 	return 0;
 }
 
@@ -104,17 +114,26 @@ int
 nouveau_instmem_fini(struct nouveau_instmem *imem, bool suspend)
 {
 	struct nouveau_instobj *iobj;
-	int i;
+	int i, ret = 0;
 
 	if (suspend) {
+		mutex_lock(&imem->base.mutex);
+
 		list_for_each_entry(iobj, &imem->list, head) {
 			iobj->suspend = vmalloc(iobj->size);
-			if (iobj->suspend) {
-				for (i = 0; i < iobj->size; i += 4)
-					iobj->suspend[i / 4] = nv_ro32(iobj, i);
-			} else
-				return -ENOMEM;
+			if (!iobj->suspend) {
+				ret = -ENOMEM;
+				break;
+			}
+
+			for (i = 0; i < iobj->size; i += 4)
+				iobj->suspend[i / 4] = nv_ro32(iobj, i);
 		}
+
+		mutex_unlock(&imem->base.mutex);
+
+		if (ret)
+			return ret;
 	}
 
 	return nouveau_subdev_fini(&imem->base, suspend);
drivers/gpu/drm/nouveau/nouveau_bo.c +1 -1
index 35ac57f..5f0e7ef 100644
@@ -1279,7 +1279,7 @@ nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
 		if (drm->agp.stat == ENABLED) {
 			mem->bus.offset = mem->start << PAGE_SHIFT;
 			mem->bus.base = drm->agp.base;
-			mem->bus.is_iomem = true;
+			mem->bus.is_iomem = !dev->agp->cant_use_aperture;
 		}
 #endif
 		break;
drivers/gpu/drm/nouveau/nouveau_fence.h +1 -0
index bedafd1..cdb83ac 100644
@@ -60,6 +60,7 @@ u32  nv10_fence_read(struct nouveau_channel *);
 void nv10_fence_context_del(struct nouveau_channel *);
 void nv10_fence_destroy(struct nouveau_drm *);
 int  nv10_fence_create(struct nouveau_drm *);
+void nv17_fence_resume(struct nouveau_drm *drm);
 
 int nv50_fence_create(struct nouveau_drm *);
 int nv84_fence_create(struct nouveau_drm *);
drivers/gpu/drm/nouveau/nouveau_prime.c +1 -0
index 366462c..4f604cd 100644
@@ -197,6 +197,7 @@ struct drm_gem_object *nouveau_gem_prime_import(struct drm_device *dev,
 		if (nvbo->gem) {
 			if (nvbo->gem->dev == dev) {
 				drm_gem_object_reference(nvbo->gem);
+				dma_buf_put(dma_buf);
 				return nvbo->gem;
 			}
 		}
drivers/gpu/drm/nouveau/nv04_dfp.c +1 -1
index 184cdf8..39ffc07 100644
@@ -505,7 +505,7 @@ static void nv04_dfp_update_backlight(struct drm_encoder *encoder, int mode)
 
 static inline bool is_powersaving_dpms(int mode)
 {
-	return (mode != DRM_MODE_DPMS_ON);
+	return mode != DRM_MODE_DPMS_ON && mode != NV_DPMS_CLEARED;
 }
 
 static void nv04_lvds_dpms(struct drm_encoder *encoder, int mode)
drivers/gpu/drm/nouveau/nv10_fence.c +8 -0
index ce752bf..0b34d23 100644
@@ -160,6 +160,13 @@ nv10_fence_destroy(struct nouveau_drm *drm)
 	kfree(priv);
 }
 
+void nv17_fence_resume(struct nouveau_drm *drm)
+{
+	struct nv10_fence_priv *priv = drm->fence;
+
+	nouveau_bo_wr32(priv->bo, 0, priv->sequence);
+}
+
 int
 nv10_fence_create(struct nouveau_drm *drm)
 {
@@ -192,6 +199,7 @@ nv10_fence_create(struct nouveau_drm *drm)
 		if (ret == 0) {
 			nouveau_bo_wr32(priv->bo, 0x000, 0x00000000);
 			priv->base.sync = nv17_fence_sync;
+			priv->base.resume = nv17_fence_resume;
 		}
 	}
 
drivers/gpu/drm/nouveau/nv50_fence.c +1 -0
index e0763ea..ecd22f5 100644
@@ -119,6 +119,7 @@ nv50_fence_create(struct nouveau_drm *drm)
 	if (ret == 0) {
 		nouveau_bo_wr32(priv->bo, 0x000, 0x00000000);
 		priv->base.sync = nv17_fence_sync;
+		priv->base.resume = nv17_fence_resume;
 	}
 
 	if (ret)
drivers/gpu/drm/radeon/atombios_crtc.c +2 -0
index 24d932f..9175615 100644
@@ -561,6 +561,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 		/* use frac fb div on APUs */
 		if (ASIC_IS_DCE41(rdev) || ASIC_IS_DCE61(rdev))
 			radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
+		if (ASIC_IS_DCE32(rdev) && mode->clock > 165000)
+			radeon_crtc->pll_flags |= RADEON_PLL_USE_FRAC_FB_DIV;
 	} else {
 		radeon_crtc->pll_flags |= RADEON_PLL_LEGACY;
 
drivers/gpu/drm/radeon/atombios_encoders.c +1 -1
index 010bae1..4552d4a 100644
@@ -340,7 +340,7 @@ static bool radeon_atom_mode_fixup(struct drm_encoder *encoder,
 	    ((radeon_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT)) ||
 	     (radeon_encoder_get_dp_bridge_encoder_id(encoder) != ENCODER_OBJECT_ID_NONE))) {
 		struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
-		radeon_dp_set_link_config(connector, mode);
+		radeon_dp_set_link_config(connector, adjusted_mode);
 	}
 
 	return true;
drivers/gpu/drm/radeon/evergreen.c +14 -4
index 219942c..18a5382 100644
@@ -1821,7 +1821,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 	case CHIP_SUMO:
 		rdev->config.evergreen.num_ses = 1;
 		rdev->config.evergreen.max_pipes = 4;
-		rdev->config.evergreen.max_tile_pipes = 2;
+		rdev->config.evergreen.max_tile_pipes = 4;
 		if (rdev->pdev->device == 0x9648)
 			rdev->config.evergreen.max_simds = 3;
 		else if ((rdev->pdev->device == 0x9647) ||
@@ -1844,7 +1844,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 		rdev->config.evergreen.sc_prim_fifo_size = 0x40;
 		rdev->config.evergreen.sc_hiz_tile_fifo_size = 0x30;
 		rdev->config.evergreen.sc_earlyz_tile_fifo_size = 0x130;
-		gb_addr_config = REDWOOD_GB_ADDR_CONFIG_GOLDEN;
+		gb_addr_config = SUMO_GB_ADDR_CONFIG_GOLDEN;
 		break;
 	case CHIP_SUMO2:
 		rdev->config.evergreen.num_ses = 1;
@@ -1866,7 +1866,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 		rdev->config.evergreen.sc_prim_fifo_size = 0x40;
 		rdev->config.evergreen.sc_hiz_tile_fifo_size = 0x30;
 		rdev->config.evergreen.sc_earlyz_tile_fifo_size = 0x130;
-		gb_addr_config = REDWOOD_GB_ADDR_CONFIG_GOLDEN;
+		gb_addr_config = SUMO2_GB_ADDR_CONFIG_GOLDEN;
 		break;
 	case CHIP_BARTS:
 		rdev->config.evergreen.num_ses = 2;
@@ -1914,7 +1914,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 		break;
 	case CHIP_CAICOS:
 		rdev->config.evergreen.num_ses = 1;
-		rdev->config.evergreen.max_pipes = 4;
+		rdev->config.evergreen.max_pipes = 2;
 		rdev->config.evergreen.max_tile_pipes = 2;
 		rdev->config.evergreen.max_simds = 2;
 		rdev->config.evergreen.max_backends = 1 * rdev->config.evergreen.num_ses;
@@ -3093,6 +3093,16 @@ restart_ih:
 				break;
 			}
 			break;
+		case 146:
+		case 147:
+			dev_err(rdev->dev, "GPU fault detected: %d 0x%08x\n", src_id, src_data);
+			dev_err(rdev->dev, "  VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x%08X\n",
+				RREG32(VM_CONTEXT1_PROTECTION_FAULT_ADDR));
+			dev_err(rdev->dev, "  VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n",
+				RREG32(VM_CONTEXT1_PROTECTION_FAULT_STATUS));
+			/* reset addr and status */
+			WREG32_P(VM_CONTEXT1_CNTL2, 1, ~1);
+			break;
 		case 176: /* CP_INT in ring buffer */
 		case 177: /* CP_INT in IB1 */
 		case 178: /* CP_INT in IB2 */
drivers/gpu/drm/radeon/evergreen_cs.c +1 -0
index c042e49..69ffae2 100644
@@ -2724,6 +2724,7 @@ static bool evergreen_vm_reg_valid(u32 reg)
 
 	/* check config regs */
 	switch (reg) {
+	case WAIT_UNTIL:
 	case GRBM_GFX_INDEX:
 	case CP_STRMOUT_CNTL:
 	case CP_COHER_CNTL:
drivers/gpu/drm/radeon/evergreend.h +5 -0
index 2bc0f6a..442732f 100644
@@ -45,6 +45,8 @@
 #define TURKS_GB_ADDR_CONFIG_GOLDEN          0x02010002
 #define CEDAR_GB_ADDR_CONFIG_GOLDEN          0x02010001
 #define CAICOS_GB_ADDR_CONFIG_GOLDEN         0x02010001
+#define SUMO_GB_ADDR_CONFIG_GOLDEN           0x02010002
+#define SUMO2_GB_ADDR_CONFIG_GOLDEN          0x02010002
 
 /* Registers */
 
@@ -651,6 +653,7 @@
 #define		PAGE_TABLE_DEPTH(x)				(((x) & 3) << 1)
 #define		RANGE_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 4)
 #define VM_CONTEXT1_CNTL				0x1414
+#define VM_CONTEXT1_CNTL2				0x1434
 #define	VM_CONTEXT0_PAGE_TABLE_BASE_ADDR		0x153C
 #define	VM_CONTEXT0_PAGE_TABLE_END_ADDR			0x157C
 #define	VM_CONTEXT0_PAGE_TABLE_START_ADDR		0x155C
@@ -672,6 +675,8 @@
 #define		CACHE_UPDATE_MODE(x)				((x) << 6)
 #define	VM_L2_STATUS					0x140C
 #define		L2_BUSY						(1 << 0)
+#define	VM_CONTEXT1_PROTECTION_FAULT_ADDR		0x14FC
+#define	VM_CONTEXT1_PROTECTION_FAULT_STATUS		0x14DC
 
 #define	WAIT_UNTIL					0x8040
 
drivers/gpu/drm/radeon/ni.c +13 -3
index 81e6a56..30c18a6 100644
@@ -784,10 +784,20 @@ static int cayman_pcie_gart_enable(struct radeon_device *rdev)
 	/* enable context1-7 */
 	WREG32(VM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR,
 	       (u32)(rdev->dummy_page.addr >> 12));
-	WREG32(VM_CONTEXT1_CNTL2, 0);
-	WREG32(VM_CONTEXT1_CNTL, 0);
+	WREG32(VM_CONTEXT1_CNTL2, 4);
 	WREG32(VM_CONTEXT1_CNTL, ENABLE_CONTEXT | PAGE_TABLE_DEPTH(1) |
-				RANGE_PROTECTION_FAULT_ENABLE_DEFAULT);
+				RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				RANGE_PROTECTION_FAULT_ENABLE_DEFAULT |
+				DUMMY_PAGE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT |
+				PDE0_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				PDE0_PROTECTION_FAULT_ENABLE_DEFAULT |
+				VALID_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				VALID_PROTECTION_FAULT_ENABLE_DEFAULT |
+				READ_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				READ_PROTECTION_FAULT_ENABLE_DEFAULT |
+				WRITE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				WRITE_PROTECTION_FAULT_ENABLE_DEFAULT);
 
 	cayman_pcie_gart_tlb_flush(rdev);
 	DRM_INFO("PCIE GART of %uM enabled (table at 0x%016llX).\n",
drivers/gpu/drm/radeon/nid.h +11 -0
index cbef681..f5e54a7 100644
@@ -80,7 +80,18 @@
 #define VM_CONTEXT0_CNTL				0x1410
 #define		ENABLE_CONTEXT					(1 << 0)
 #define		PAGE_TABLE_DEPTH(x)				(((x) & 3) << 1)
+#define		RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 3)
 #define		RANGE_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 4)
+#define		DUMMY_PAGE_PROTECTION_FAULT_ENABLE_INTERRUPT	(1 << 6)
+#define		DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT	(1 << 7)
+#define		PDE0_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 9)
+#define		PDE0_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 10)
+#define		VALID_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 12)
+#define		VALID_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 13)
+#define		READ_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 15)
+#define		READ_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 16)
+#define		WRITE_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 18)
+#define		WRITE_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 19)
 #define VM_CONTEXT1_CNTL				0x1414
 #define VM_CONTEXT0_CNTL2				0x1430
 #define VM_CONTEXT1_CNTL2				0x1434
drivers/gpu/drm/radeon/radeon.h +2 -1
index 8c42d54..b3f1459 100644
@@ -220,12 +220,13 @@ struct radeon_fence {
 int radeon_fence_driver_start_ring(struct radeon_device *rdev, int ring);
 int radeon_fence_driver_init(struct radeon_device *rdev);
 void radeon_fence_driver_fini(struct radeon_device *rdev);
+void radeon_fence_driver_force_completion(struct radeon_device *rdev);
 int radeon_fence_emit(struct radeon_device *rdev, struct radeon_fence **fence, int ring);
 void radeon_fence_process(struct radeon_device *rdev, int ring);
 bool radeon_fence_signaled(struct radeon_fence *fence);
 int radeon_fence_wait(struct radeon_fence *fence, bool interruptible);
 int radeon_fence_wait_next_locked(struct radeon_device *rdev, int ring);
-void radeon_fence_wait_empty_locked(struct radeon_device *rdev, int ring);
+int radeon_fence_wait_empty_locked(struct radeon_device *rdev, int ring);
 int radeon_fence_wait_any(struct radeon_device *rdev,
 			  struct radeon_fence **fences,
 			  bool intr);
drivers/gpu/drm/radeon/radeon_combios.c +51 -0

63 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_connectors.c +6 -4
index b884c36..810268b 100644
@@ -741,7 +741,7 @@ radeon_vga_detect(struct drm_connector *connector, bool force)
 		ret = connector_status_disconnected;
 
 	if (radeon_connector->ddc_bus)
-		dret = radeon_ddc_probe(radeon_connector);
+		dret = radeon_ddc_probe(radeon_connector, false);
 	if (dret) {
 		radeon_connector->detected_by_load = false;
 		if (radeon_connector->edid) {
@@ -947,7 +947,7 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
 		return connector->status;
 
 	if (radeon_connector->ddc_bus)
-		dret = radeon_ddc_probe(radeon_connector);
+		dret = radeon_ddc_probe(radeon_connector, false);
 	if (dret) {
 		radeon_connector->detected_by_load = false;
 		if (radeon_connector->edid) {
@@ -1401,7 +1401,8 @@ radeon_dp_detect(struct drm_connector *connector, bool force)
 		if (encoder) {
 			/* setup ddc on the bridge */
 			radeon_atom_ext_encoder_setup_ddc(encoder);
-			if (radeon_ddc_probe(radeon_connector)) /* try DDC */
+			/* bridge chips are always aux */
+			if (radeon_ddc_probe(radeon_connector, true)) /* try DDC */
 				ret = connector_status_connected;
 			else if (radeon_connector->dac_load_detect) { /* try load detection */
 				struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private;
@@ -1419,7 +1420,8 @@ radeon_dp_detect(struct drm_connector *connector, bool force)
 				if (radeon_dp_getdpcd(radeon_connector))
 					ret = connector_status_connected;
 			} else {
-				if (radeon_ddc_probe(radeon_connector))
+				/* try non-aux ddc (DP to DVI/HMDI/etc. adapter) */
+				if (radeon_ddc_probe(radeon_connector, false))
 					ret = connector_status_connected;
 			}
 		}
drivers/gpu/drm/radeon/radeon_device.c +14 -3
index e2f5f88..ad4c973 100644
@@ -1163,6 +1163,7 @@ int radeon_suspend_kms(struct drm_device *dev, pm_message_t state)
 	struct drm_crtc *crtc;
 	struct drm_connector *connector;
 	int i, r;
+	bool force_completion = false;
 
 	if (dev == NULL || dev->dev_private == NULL) {
 		return -ENODEV;
@@ -1205,8 +1206,16 @@ int radeon_suspend_kms(struct drm_device *dev, pm_message_t state)
 
 	mutex_lock(&rdev->ring_lock);
 	/* wait for gpu to finish processing current batch */
-	for (i = 0; i < RADEON_NUM_RINGS; i++)
-		radeon_fence_wait_empty_locked(rdev, i);
+	for (i = 0; i < RADEON_NUM_RINGS; i++) {
+		r = radeon_fence_wait_empty_locked(rdev, i);
+		if (r) {
+			/* delay GPU reset to resume */
+			force_completion = true;
+		}
+	}
+	if (force_completion) {
+		radeon_fence_driver_force_completion(rdev);
+	}
 	mutex_unlock(&rdev->ring_lock);
 
 	radeon_save_bios_scratch_regs(rdev);
@@ -1337,7 +1346,6 @@ retry:
 	}
 
 	radeon_restore_bios_scratch_regs(rdev);
-	drm_helper_resume_force_mode(rdev->ddev);
 
 	if (!r) {
 		for (i = 0; i < RADEON_NUM_RINGS; ++i) {
@@ -1357,11 +1365,14 @@ retry:
 			}
 		}
 	} else {
+		radeon_fence_driver_force_completion(rdev);
 		for (i = 0; i < RADEON_NUM_RINGS; ++i) {
 			kfree(ring_data[i]);
 		}
 	}
 
+	drm_helper_resume_force_mode(rdev->ddev);
+
 	ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched);
 	if (r) {
 		/* bad news, how to tell it to userspace ? */
drivers/gpu/drm/radeon/radeon_display.c +9 -4
index bfa2a60..2bddddd 100644
@@ -695,10 +695,15 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
 	if (radeon_connector->router.ddc_valid)
 		radeon_router_select_ddc_port(radeon_connector);
 
-	if ((radeon_connector->base.connector_type == DRM_MODE_CONNECTOR_DisplayPort) ||
-	    (radeon_connector->base.connector_type == DRM_MODE_CONNECTOR_eDP) ||
-	    (radeon_connector_encoder_get_dp_bridge_encoder_id(&radeon_connector->base) !=
-	     ENCODER_OBJECT_ID_NONE)) {
+	if (radeon_connector_encoder_get_dp_bridge_encoder_id(&radeon_connector->base) !=
+	    ENCODER_OBJECT_ID_NONE) {
+		struct radeon_connector_atom_dig *dig = radeon_connector->con_priv;
+
+		if (dig->dp_i2c_bus)
+			radeon_connector->edid = drm_get_edid(&radeon_connector->base,
+							      &dig->dp_i2c_bus->adapter);
+	} else if ((radeon_connector->base.connector_type == DRM_MODE_CONNECTOR_DisplayPort) ||
+		   (radeon_connector->base.connector_type == DRM_MODE_CONNECTOR_eDP)) {
 		struct radeon_connector_atom_dig *dig = radeon_connector->con_priv;
 
 		if ((dig->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT ||
drivers/gpu/drm/radeon/radeon_fence.c +33 -16

78 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_i2c.c +8 -2
index c5bddd6..fc60b74 100644
@@ -39,7 +39,7 @@ extern u32 radeon_atom_hw_i2c_func(struct i2c_adapter *adap);
  * radeon_ddc_probe
  *
  */
-bool radeon_ddc_probe(struct radeon_connector *radeon_connector)
+bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux)
 {
 	u8 out = 0x0;
 	u8 buf[8];
@@ -63,7 +63,13 @@ bool radeon_ddc_probe(struct radeon_connector *radeon_connector)
 	if (radeon_connector->router.ddc_valid)
 		radeon_router_select_ddc_port(radeon_connector);
 
-	ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2);
+	if (use_aux) {
+		struct radeon_connector_atom_dig *dig = radeon_connector->con_priv;
+		ret = i2c_transfer(&dig->dp_i2c_bus->adapter, msgs, 2);
+	} else {
+		ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2);
+	}
+
 	if (ret != 2)
 		/* Couldn't find an accessible DDC on this connector */
 		return false;
drivers/gpu/drm/radeon/radeon_legacy_encoders.c +8 -0
index f5ba224..62cd512 100644
@@ -640,6 +640,14 @@ static enum drm_connector_status radeon_legacy_primary_dac_detect(struct drm_enc
 	enum drm_connector_status found = connector_status_disconnected;
 	bool color = true;
 
+	/* just don't bother on RN50 those chip are often connected to remoting
+	 * console hw and often we get failure to load detect those. So to make
+	 * everyone happy report the encoder as always connected.
+	 */
+	if (ASIC_IS_RN50(rdev)) {
+		return connector_status_connected;
+	}
+
 	/* save the regs we need */
 	vclk_ecp_cntl = RREG32_PLL(RADEON_VCLK_ECP_CNTL);
 	crtc_ext_cntl = RREG32(RADEON_CRTC_EXT_CNTL);
drivers/gpu/drm/radeon/radeon_mode.h +3 -2
index 92c5f47..a9c3f06 100644
@@ -209,7 +209,8 @@ enum radeon_connector_table {
 	CT_RN50_POWER,
 	CT_MAC_X800,
 	CT_MAC_G5_9600,
-	CT_SAM440EP
+	CT_SAM440EP,
+	CT_MAC_G4_SILVER
 };
 
 enum radeon_dvo_chip {
@@ -558,7 +559,7 @@ extern void radeon_i2c_put_byte(struct radeon_i2c_chan *i2c,
 				u8 val);
 extern void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector);
 extern void radeon_router_select_cd_port(struct radeon_connector *radeon_connector);
-extern bool radeon_ddc_probe(struct radeon_connector *radeon_connector);
+extern bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux);
 extern int radeon_ddc_get_modes(struct radeon_connector *radeon_connector);
 
 extern struct drm_encoder *radeon_best_encoder(struct drm_connector *connector);
drivers/gpu/drm/radeon/radeon_pm.c +12 -3
index aa14dbb..0bfa656 100644
@@ -234,7 +234,7 @@ static void radeon_set_power_state(struct radeon_device *rdev)
 
 static void radeon_pm_set_clocks(struct radeon_device *rdev)
 {
-	int i;
+	int i, r;
 
 	/* no need to take locks, etc. if nothing's going to change */
 	if ((rdev->pm.requested_clock_mode_index == rdev->pm.current_clock_mode_index) &&
@@ -248,8 +248,17 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev)
 	/* wait for the rings to drain */
 	for (i = 0; i < RADEON_NUM_RINGS; i++) {
 		struct radeon_ring *ring = &rdev->ring[i];
-		if (ring->ready)
-			radeon_fence_wait_empty_locked(rdev, i);
+		if (!ring->ready) {
+			continue;
+		}
+		r = radeon_fence_wait_empty_locked(rdev, i);
+		if (r) {
+			/* needs a GPU reset dont reset here */
+			mutex_unlock(&rdev->ring_lock);
+			up_write(&rdev->pm.mclk_lock);
+			mutex_unlock(&rdev->ddev->struct_mutex);
+			return;
+		}
 	}
 
 	radeon_unmap_vram_bos(rdev);
drivers/gpu/drm/radeon/radeon_prime.c +1 -0
index e095218..26c23bb 100644
@@ -194,6 +194,7 @@ struct drm_gem_object *radeon_gem_prime_import(struct drm_device *dev,
 		bo = dma_buf->priv;
 		if (bo->gem_base.dev == dev) {
 			drm_gem_object_reference(&bo->gem_base);
+			dma_buf_put(dma_buf);
 			return &bo->gem_base;
 		}
 	}
drivers/gpu/drm/radeon/si.c +23 -2
index 4422d63..c4d9eb6 100644
@@ -2426,9 +2426,20 @@ static int si_pcie_gart_enable(struct radeon_device *rdev)
 	/* enable context1-15 */
 	WREG32(VM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR,
 	       (u32)(rdev->dummy_page.addr >> 12));
-	WREG32(VM_CONTEXT1_CNTL2, 0);
+	WREG32(VM_CONTEXT1_CNTL2, 4);
 	WREG32(VM_CONTEXT1_CNTL, ENABLE_CONTEXT | PAGE_TABLE_DEPTH(1) |
-				RANGE_PROTECTION_FAULT_ENABLE_DEFAULT);
+				RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				RANGE_PROTECTION_FAULT_ENABLE_DEFAULT |
+				DUMMY_PAGE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT |
+				PDE0_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				PDE0_PROTECTION_FAULT_ENABLE_DEFAULT |
+				VALID_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				VALID_PROTECTION_FAULT_ENABLE_DEFAULT |
+				READ_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				READ_PROTECTION_FAULT_ENABLE_DEFAULT |
+				WRITE_PROTECTION_FAULT_ENABLE_INTERRUPT |
+				WRITE_PROTECTION_FAULT_ENABLE_DEFAULT);
 
 	si_pcie_gart_tlb_flush(rdev);
 	DRM_INFO("PCIE GART of %uM enabled (table at 0x%016llX).\n",
@@ -3684,6 +3695,16 @@ restart_ih:
 				break;
 			}
 			break;
+		case 146:
+		case 147:
+			dev_err(rdev->dev, "GPU fault detected: %d 0x%08x\n", src_id, src_data);
+			dev_err(rdev->dev, "  VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x%08X\n",
+				RREG32(VM_CONTEXT1_PROTECTION_FAULT_ADDR));
+			dev_err(rdev->dev, "  VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n",
+				RREG32(VM_CONTEXT1_PROTECTION_FAULT_STATUS));
+			/* reset addr and status */
+			WREG32_P(VM_CONTEXT1_CNTL2, 1, ~1);
+			break;
 		case 176: /* RINGID0 CP_INT */
 			radeon_fence_process(rdev, RADEON_RING_TYPE_GFX_INDEX);
 			break;
drivers/gpu/drm/radeon/sid.h +14 -0
index a8871af..53b4d45 100644
@@ -91,7 +91,18 @@
 #define VM_CONTEXT0_CNTL				0x1410
 #define		ENABLE_CONTEXT					(1 << 0)
 #define		PAGE_TABLE_DEPTH(x)				(((x) & 3) << 1)
+#define		RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 3)
 #define		RANGE_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 4)
+#define		DUMMY_PAGE_PROTECTION_FAULT_ENABLE_INTERRUPT	(1 << 6)
+#define		DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT	(1 << 7)
+#define		PDE0_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 9)
+#define		PDE0_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 10)
+#define		VALID_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 12)
+#define		VALID_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 13)
+#define		READ_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 15)
+#define		READ_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 16)
+#define		WRITE_PROTECTION_FAULT_ENABLE_INTERRUPT		(1 << 18)
+#define		WRITE_PROTECTION_FAULT_ENABLE_DEFAULT		(1 << 19)
 #define VM_CONTEXT1_CNTL				0x1414
 #define VM_CONTEXT0_CNTL2				0x1430
 #define VM_CONTEXT1_CNTL2				0x1434
@@ -104,6 +115,9 @@
 #define	VM_CONTEXT14_PAGE_TABLE_BASE_ADDR		0x1450
 #define	VM_CONTEXT15_PAGE_TABLE_BASE_ADDR		0x1454
 
+#define	VM_CONTEXT1_PROTECTION_FAULT_ADDR		0x14FC
+#define	VM_CONTEXT1_PROTECTION_FAULT_STATUS		0x14DC
+
 #define VM_INVALIDATE_REQUEST				0x1478
 #define VM_INVALIDATE_RESPONSE				0x147c
 
drivers/gpu/drm/udl/udl_connector.c +15 -2
index b3b2ced..6d7acf4 100644
@@ -22,13 +22,17 @@
 static u8 *udl_get_edid(struct udl_device *udl)
 {
 	u8 *block;
-	char rbuf[3];
+	char *rbuf;
 	int ret, i;
 
 	block = kmalloc(EDID_LENGTH, GFP_KERNEL);
 	if (block == NULL)
 		return NULL;
 
+	rbuf = kmalloc(2, GFP_KERNEL);
+	if (rbuf == NULL)
+		goto error;
+
 	for (i = 0; i < EDID_LENGTH; i++) {
 		ret = usb_control_msg(udl->ddev->usbdev,
 				      usb_rcvctrlpipe(udl->ddev->usbdev, 0), (0x02),
@@ -36,16 +40,17 @@ static u8 *udl_get_edid(struct udl_device *udl)
 				      HZ);
 		if (ret < 1) {
 			DRM_ERROR("Read EDID byte %d failed err %x\n", i, ret);
-			i--;
 			goto error;
 		}
 		block[i] = rbuf[1];
 	}
 
+	kfree(rbuf);
 	return block;
 
 error:
 	kfree(block);
+	kfree(rbuf);
 	return NULL;
 }
 
@@ -57,6 +62,14 @@ static int udl_get_modes(struct drm_connector *connector)
 
 	edid = (struct edid *)udl_get_edid(udl);
 
+	/*
+	 * We only read the main block, but if the monitor reports extension
+	 * blocks then the drm edid code expects them to be present, so patch
+	 * the extension count to 0.
+	 */
+	edid->checksum += edid->extensions;
+	edid->extensions = 0;
+
 	drm_mode_connector_update_edid_property(connector, edid);
 	ret = drm_add_edid_modes(connector, edid);
 	kfree(edid);
drivers/hid/hid-ids.h +3 -0
index 9d7a428..1ef9a9e 100644
@@ -696,6 +696,9 @@
 #define USB_VENDOR_ID_SIGMA_MICRO	0x1c4f
 #define USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD	0x0002
 
+#define USB_VENDOR_ID_SIGMATEL		0x066F
+#define USB_DEVICE_ID_SIGMATEL_STMP3780	0x3780
+
 #define USB_VENDOR_ID_SKYCABLE			0x1223
 #define	USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER	0x3F07
 
drivers/hid/usbhid/hid-quirks.c +1 -0
index 11c7932..0a1429f 100644
@@ -79,6 +79,7 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET },
drivers/hwmon/lm73.c +11 -5
index 8fa2632..7272176 100644
@@ -49,6 +49,7 @@ static ssize_t set_temp(struct device *dev, struct device_attribute *da,
 	struct i2c_client *client = to_i2c_client(dev);
 	long temp;
 	short value;
+	s32 err;
 
 	int status = kstrtol(buf, 10, &temp);
 	if (status < 0)
@@ -57,8 +58,8 @@ static ssize_t set_temp(struct device *dev, struct device_attribute *da,
 	/* Write value */
 	value = (short) SENSORS_LIMIT(temp/250, (LM73_TEMP_MIN*4),
 		(LM73_TEMP_MAX*4)) << 5;
-	i2c_smbus_write_word_swapped(client, attr->index, value);
-	return count;
+	err = i2c_smbus_write_word_swapped(client, attr->index, value);
+	return (err < 0) ? err : count;
 }
 
 static ssize_t show_temp(struct device *dev, struct device_attribute *da,
@@ -66,11 +67,16 @@ static ssize_t show_temp(struct device *dev, struct device_attribute *da,
 {
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(da);
 	struct i2c_client *client = to_i2c_client(dev);
+	int temp;
+
+	s32 err = i2c_smbus_read_word_swapped(client, attr->index);
+	if (err < 0)
+		return err;
+
 	/* use integer division instead of equivalent right shift to
 	   guarantee arithmetic shift and preserve the sign */
-	int temp = ((s16) (i2c_smbus_read_word_swapped(client,
-		    attr->index))*250) / 32;
-	return sprintf(buf, "%d\n", temp);
+	temp = (((s16) err) * 250) / 32;
+	return scnprintf(buf, PAGE_SIZE, "%d\n", temp);
 }
 
 
drivers/infiniband/hw/mlx4/cm.c +2 -2
index 80079e5..dbc99d4 100644
@@ -268,15 +268,15 @@ static void schedule_delayed(struct ib_device *ibdev, struct id_map_entry *id)
 	struct mlx4_ib_sriov *sriov = &to_mdev(ibdev)->sriov;
 	unsigned long flags;
 
-	spin_lock_irqsave(&sriov->going_down_lock, flags);
 	spin_lock(&sriov->id_map_lock);
+	spin_lock_irqsave(&sriov->going_down_lock, flags);
 	/*make sure that there is no schedule inside the scheduled work.*/
 	if (!sriov->is_going_down) {
 		id->scheduled_delete = 1;
 		schedule_delayed_work(&id->timeout, CM_CLEANUP_CACHE_TIMEOUT);
 	}
-	spin_unlock(&sriov->id_map_lock);
 	spin_unlock_irqrestore(&sriov->going_down_lock, flags);
+	spin_unlock(&sriov->id_map_lock);
 }
 
 int mlx4_ib_multiplex_cm_handler(struct ib_device *ibdev, int port, int slave_id,
drivers/infiniband/hw/nes/nes.h +1 -0
index 5cac29e..33cc589 100644
@@ -532,6 +532,7 @@ void nes_iwarp_ce_handler(struct nes_device *, struct nes_hw_cq *);
 int nes_destroy_cqp(struct nes_device *);
 int nes_nic_cm_xmit(struct sk_buff *, struct net_device *);
 void nes_recheck_link_status(struct work_struct *work);
+void nes_terminate_timeout(unsigned long context);
 
 /* nes_nic.c */
 struct net_device *nes_netdev_init(struct nes_device *, void __iomem *);
drivers/infiniband/hw/nes/nes_hw.c +2 -7
index fe7965e..67647e2 100644
@@ -75,7 +75,6 @@ static void nes_process_iwarp_aeqe(struct nes_device *nesdev,
 static void process_critical_error(struct nes_device *nesdev);
 static void nes_process_mac_intr(struct nes_device *nesdev, u32 mac_number);
 static unsigned int nes_reset_adapter_ne020(struct nes_device *nesdev, u8 *OneG_Mode);
-static void nes_terminate_timeout(unsigned long context);
 static void nes_terminate_start_timer(struct nes_qp *nesqp);
 
 #ifdef CONFIG_INFINIBAND_NES_DEBUG
@@ -3520,7 +3519,7 @@ static void nes_terminate_received(struct nes_device *nesdev,
 }
 
 /* Timeout routine in case terminate fails to complete */
-static void nes_terminate_timeout(unsigned long context)
+void nes_terminate_timeout(unsigned long context)
 {
 	struct nes_qp *nesqp = (struct nes_qp *)(unsigned long)context;
 
@@ -3530,11 +3529,7 @@ static void nes_terminate_timeout(unsigned long context)
 /* Set a timer in case hw cannot complete the terminate sequence */
 static void nes_terminate_start_timer(struct nes_qp *nesqp)
 {
-	init_timer(&nesqp->terminate_timer);
-	nesqp->terminate_timer.function = nes_terminate_timeout;
-	nesqp->terminate_timer.expires = jiffies + HZ;
-	nesqp->terminate_timer.data = (unsigned long)nesqp;
-	add_timer(&nesqp->terminate_timer);
+	mod_timer(&nesqp->terminate_timer, (jiffies + HZ));
 }
 
 /**
drivers/infiniband/hw/nes/nes_verbs.c +8 -1
index cd0ecb2..07e4fba 100644
@@ -1404,6 +1404,9 @@ static struct ib_qp *nes_create_qp(struct ib_pd *ibpd,
 	}
 
 	nesqp->sig_all = (init_attr->sq_sig_type == IB_SIGNAL_ALL_WR);
+	init_timer(&nesqp->terminate_timer);
+	nesqp->terminate_timer.function = nes_terminate_timeout;
+	nesqp->terminate_timer.data = (unsigned long)nesqp;
 
 	/* update the QP table */
 	nesdev->nesadapter->qp_table[nesqp->hwqp.qp_id-NES_FIRST_QPN] = nesqp;
@@ -1413,7 +1416,6 @@ static struct ib_qp *nes_create_qp(struct ib_pd *ibpd,
 	return &nesqp->ibqp;
 }
 
-
 /**
  * nes_clean_cq
  */
@@ -2559,6 +2561,11 @@ static struct ib_mr *nes_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
 			return ibmr;
 		case IWNES_MEMREG_TYPE_QP:
 		case IWNES_MEMREG_TYPE_CQ:
+			if (!region->length) {
+				nes_debug(NES_DBG_MR, "Unable to register zero length region for CQ\n");
+				ib_umem_release(region);
+				return ERR_PTR(-EINVAL);
+			}
 			nespbl = kzalloc(sizeof(*nespbl), GFP_KERNEL);
 			if (!nespbl) {
 				nes_debug(NES_DBG_MR, "Unable to allocate PBL\n");
drivers/iommu/intel-iommu.c +9 -2
index 0badfa4..9476c1b 100644
@@ -1827,10 +1827,17 @@ static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn,
 			if (!pte)
 				return -ENOMEM;
 			/* It is large page*/
-			if (largepage_lvl > 1)
+			if (largepage_lvl > 1) {
 				pteval |= DMA_PTE_LARGE_PAGE;
-			else
+				/* Ensure that old small page tables are removed to make room
+				   for superpage, if they exist. */
+				dma_pte_clear_range(domain, iov_pfn,
+						    iov_pfn + lvl_to_nr_pages(largepage_lvl) - 1);
+				dma_pte_free_pagetable(domain, iov_pfn,
+						       iov_pfn + lvl_to_nr_pages(largepage_lvl) - 1);
+			} else {
 				pteval &= ~(uint64_t)DMA_PTE_LARGE_PAGE;
+			}
 
 		}
 		/* We don't need lock here, nobody else
drivers/md/dm-bio-prison.c +0 -25
index e4e8415..aefb78e 100644
@@ -208,31 +208,6 @@ void dm_cell_release(struct dm_bio_prison_cell *cell, struct bio_list *bios)
 EXPORT_SYMBOL_GPL(dm_cell_release);
 
 /*
- * There are a couple of places where we put a bio into a cell briefly
- * before taking it out again.  In these situations we know that no other
- * bio may be in the cell.  This function releases the cell, and also does
- * a sanity check.
- */
-static void __cell_release_singleton(struct dm_bio_prison_cell *cell, struct bio *bio)
-{
-	BUG_ON(cell->holder != bio);
-	BUG_ON(!bio_list_empty(&cell->bios));
-
-	__cell_release(cell, NULL);
-}
-
-void dm_cell_release_singleton(struct dm_bio_prison_cell *cell, struct bio *bio)
-{
-	unsigned long flags;
-	struct dm_bio_prison *prison = cell->prison;
-
-	spin_lock_irqsave(&prison->lock, flags);
-	__cell_release_singleton(cell, bio);
-	spin_unlock_irqrestore(&prison->lock, flags);
-}
-EXPORT_SYMBOL_GPL(dm_cell_release_singleton);
-
-/*
  * Sometimes we don't want the holder, just the additional bios.
  */
 static void __cell_release_no_holder(struct dm_bio_prison_cell *cell, struct bio_list *inmates)
drivers/md/dm-bio-prison.h +0 -1
index 4e0ac37..53d1a7a 100644
@@ -44,7 +44,6 @@ int dm_bio_detain(struct dm_bio_prison *prison, struct dm_cell_key *key,
 		  struct bio *inmate, struct dm_bio_prison_cell **ref);
 
 void dm_cell_release(struct dm_bio_prison_cell *cell, struct bio_list *bios);
-void dm_cell_release_singleton(struct dm_bio_prison_cell *cell, struct bio *bio); // FIXME: bio arg not needed
 void dm_cell_release_no_holder(struct dm_bio_prison_cell *cell, struct bio_list *inmates);
 void dm_cell_error(struct dm_bio_prison_cell *cell);
 
drivers/md/dm-ioctl.c +8 -0
index afd9598..a651d52 100644
@@ -1566,6 +1566,14 @@ static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl **param)
 	if (copy_from_user(dmi, user, tmp.data_size))
 		goto bad;
 
+	/*
+	 * Abort if something changed the ioctl data while it was being copied.
+	 */
+	if (dmi->data_size != tmp.data_size) {
+		DMERR("rejecting ioctl: data size modified while processing parameters");
+		goto bad;
+	}
+
 	/* Wipe the user buffer so we do not return it to userspace */
 	if (secure_data && clear_user(user, tmp.data_size))
 		goto bad;
drivers/md/dm-table.c +2 -0
index 100368e..fa29557 100644
@@ -1445,6 +1445,8 @@ void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
 	else
 		queue_flag_clear_unlocked(QUEUE_FLAG_NONROT, q);
 
+	q->limits.max_write_same_sectors = 0;
+
 	dm_table_set_integrity(t);
 
 	/*
drivers/md/dm-thin.c +67 -34

233 lines not on this page · raw message

drivers/md/persistent-data/dm-btree-internal.h +8 -8
index 5709bfe..accbb05 100644
@@ -36,13 +36,13 @@ struct node_header {
 	__le32 padding;
 } __packed;
 
-struct node {
+struct btree_node {
 	struct node_header header;
 	__le64 keys[0];
 } __packed;
 
 
-void inc_children(struct dm_transaction_manager *tm, struct node *n,
+void inc_children(struct dm_transaction_manager *tm, struct btree_node *n,
 		  struct dm_btree_value_type *vt);
 
 int new_block(struct dm_btree_info *info, struct dm_block **result);
@@ -64,7 +64,7 @@ struct ro_spine {
 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info);
 int exit_ro_spine(struct ro_spine *s);
 int ro_step(struct ro_spine *s, dm_block_t new_child);
-struct node *ro_node(struct ro_spine *s);
+struct btree_node *ro_node(struct ro_spine *s);
 
 struct shadow_spine {
 	struct dm_btree_info *info;
@@ -98,17 +98,17 @@ int shadow_root(struct shadow_spine *s);
 /*
  * Some inlines.
  */
-static inline __le64 *key_ptr(struct node *n, uint32_t index)
+static inline __le64 *key_ptr(struct btree_node *n, uint32_t index)
 {
 	return n->keys + index;
 }
 
-static inline void *value_base(struct node *n)
+static inline void *value_base(struct btree_node *n)
 {
 	return &n->keys[le32_to_cpu(n->header.max_entries)];
 }
 
-static inline void *value_ptr(struct node *n, uint32_t index)
+static inline void *value_ptr(struct btree_node *n, uint32_t index)
 {
 	uint32_t value_size = le32_to_cpu(n->header.value_size);
 	return value_base(n) + (value_size * index);
@@ -117,7 +117,7 @@ static inline void *value_ptr(struct node *n, uint32_t index)
 /*
  * Assumes the values are suitably-aligned and converts to core format.
  */
-static inline uint64_t value64(struct node *n, uint32_t index)
+static inline uint64_t value64(struct btree_node *n, uint32_t index)
 {
 	__le64 *values_le = value_base(n);
 
@@ -127,7 +127,7 @@ static inline uint64_t value64(struct node *n, uint32_t index)
 /*
  * Searching for a key within a single node.
  */
-int lower_bound(struct node *n, uint64_t key);
+int lower_bound(struct btree_node *n, uint64_t key);
 
 extern struct dm_block_validator btree_node_validator;
 
drivers/md/persistent-data/dm-btree-remove.c +25 -25

164 lines not on this page · raw message

drivers/md/persistent-data/dm-btree-spine.c +3 -3
index d9a7912..2f0805c 100644
@@ -23,7 +23,7 @@ static void node_prepare_for_write(struct dm_block_validator *v,
 				   struct dm_block *b,
 				   size_t block_size)
 {
-	struct node *n = dm_block_data(b);
+	struct btree_node *n = dm_block_data(b);
 	struct node_header *h = &n->header;
 
 	h->blocknr = cpu_to_le64(dm_block_location(b));
@@ -38,7 +38,7 @@ static int node_check(struct dm_block_validator *v,
 		      struct dm_block *b,
 		      size_t block_size)
 {
-	struct node *n = dm_block_data(b);
+	struct btree_node *n = dm_block_data(b);
 	struct node_header *h = &n->header;
 	size_t value_size;
 	__le32 csum_disk;
@@ -164,7 +164,7 @@ int ro_step(struct ro_spine *s, dm_block_t new_child)
 	return r;
 }
 
-struct node *ro_node(struct ro_spine *s)
+struct btree_node *ro_node(struct ro_spine *s)
 {
 	struct dm_block *block;
 
drivers/md/persistent-data/dm-btree.c +11 -11
index d12b2cc..371f3d4 100644
@@ -38,7 +38,7 @@ static void array_insert(void *base, size_t elt_size, unsigned nr_elts,
 /*----------------------------------------------------------------*/
 
 /* makes the assumption that no two keys are the same. */
-static int bsearch(struct node *n, uint64_t key, int want_hi)
+static int bsearch(struct btree_node *n, uint64_t key, int want_hi)
 {
 	int lo = -1, hi = le32_to_cpu(n->header.nr_entries);
 
@@ -58,12 +58,12 @@ static int bsearch(struct node *n, uint64_t key, int want_hi)
 	return want_hi ? hi : lo;
 }
 
-int lower_bound(struct node *n, uint64_t key)
+int lower_bound(struct btree_node *n, uint64_t key)
 {
 	return bsearch(n, key, 0);
 }
 
-void inc_children(struct dm_transaction_manager *tm, struct node *n,
+void inc_children(struct dm_transaction_manager *tm, struct btree_node *n,
 		  struct dm_btree_value_type *vt)
 {
 	unsigned i;
@@ -77,7 +77,7 @@ void inc_children(struct dm_transaction_manager *tm, struct node *n,
 			vt->inc(vt->context, value_ptr(n, i));
 }
 
-static int insert_at(size_t value_size, struct node *node, unsigned index,
+static int insert_at(size_t value_size, struct btree_node *node, unsigned index,
 		      uint64_t key, void *value)
 		      __dm_written_to_disk(value)
 {
@@ -122,7 +122,7 @@ int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root)
 {
 	int r;
 	struct dm_block *b;
-	struct node *n;
+	struct btree_node *n;
 	size_t block_size;
 	uint32_t max_entries;
 
@@ -154,7 +154,7 @@ EXPORT_SYMBOL_GPL(dm_btree_empty);
 #define MAX_SPINE_DEPTH 64
 struct frame {
 	struct dm_block *b;
-	struct node *n;
+	struct btree_node *n;
 	unsigned level;
 	unsigned nr_children;
 	unsigned current_child;
@@ -295,7 +295,7 @@ EXPORT_SYMBOL_GPL(dm_btree_del);
 /*----------------------------------------------------------------*/
 
 static int btree_lookup_raw(struct ro_spine *s, dm_block_t block, uint64_t key,
-			    int (*search_fn)(struct node *, uint64_t),
+			    int (*search_fn)(struct btree_node *, uint64_t),
 			    uint64_t *result_key, void *v, size_t value_size)
 {
 	int i, r;
@@ -406,7 +406,7 @@ static int btree_split_sibling(struct shadow_spine *s, dm_block_t root,
 	size_t size;
 	unsigned nr_left, nr_right;
 	struct dm_block *left, *right, *parent;
-	struct node *ln, *rn, *pn;
+	struct btree_node *ln, *rn, *pn;
 	__le64 location;
 
 	left = shadow_current(s);
@@ -491,7 +491,7 @@ static int btree_split_beneath(struct shadow_spine *s, uint64_t key)
 	size_t size;
 	unsigned nr_left, nr_right;
 	struct dm_block *left, *right, *new_parent;
-	struct node *pn, *ln, *rn;
+	struct btree_node *pn, *ln, *rn;
 	__le64 val;
 
 	new_parent = shadow_current(s);
@@ -576,7 +576,7 @@ static int btree_insert_raw(struct shadow_spine *s, dm_block_t root,
 			    uint64_t key, unsigned *index)
 {
 	int r, i = *index, top = 1;
-	struct node *node;
+	struct btree_node *node;
 
 	for (;;) {
 		r = shadow_step(s, root, vt);
@@ -643,7 +643,7 @@ static int insert(struct dm_btree_info *info, dm_block_t root,
 	unsigned level, index = -1, last_level = info->levels - 1;
 	dm_block_t block = root;
 	struct shadow_spine spine;
-	struct node *n;
+	struct btree_node *n;
 	struct dm_btree_value_type le64_type;
 
 	le64_type.context = NULL;
drivers/mfd/mfd-core.c +13 -2
index f8b7771..7604f4e 100644
@@ -21,6 +21,10 @@
 #include <linux/irqdomain.h>
 #include <linux/of.h>
 
+static struct device_type mfd_dev_type = {
+	.name	= "mfd_device",
+};
+
 int mfd_cell_enable(struct platform_device *pdev)
 {
 	const struct mfd_cell *cell = mfd_get_cell(pdev);
@@ -91,6 +95,7 @@ static int mfd_add_device(struct device *parent, int id,
 		goto fail_device;
 
 	pdev->dev.parent = parent;
+	pdev->dev.type = &mfd_dev_type;
 
 	if (parent->of_node && cell->of_compatible) {
 		for_each_child_of_node(parent->of_node, np) {
@@ -204,10 +209,16 @@ EXPORT_SYMBOL(mfd_add_devices);
 
 static int mfd_remove_devices_fn(struct device *dev, void *c)
 {
-	struct platform_device *pdev = to_platform_device(dev);
-	const struct mfd_cell *cell = mfd_get_cell(pdev);
+	struct platform_device *pdev;
+	const struct mfd_cell *cell;
 	atomic_t **usage_count = c;
 
+	if (dev->type != &mfd_dev_type)
+		return 0;
+
+	pdev = to_platform_device(dev);
+	cell = mfd_get_cell(pdev);
+
 	/* find the base address of usage_count pointers (for freeing) */
 	if (!*usage_count || (cell->usage_count < *usage_count))
 		*usage_count = cell->usage_count;
drivers/mfd/wm8994-core.c +1 -0
index 8fefc96..f1ac288 100644
@@ -557,6 +557,7 @@ static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
 		case 1:
 		case 2:
 		case 3:
+		case 4:
 			regmap_patch = wm1811_reva_patch;
 			patch_regs = ARRAY_SIZE(wm1811_reva_patch);
 			break;
drivers/mtd/nand/cs553x_nand.c +1 -2
index adb6c3e..2cdeab8 100644
@@ -237,6 +237,7 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
 	this->ecc.hwctl  = cs_enable_hwecc;
 	this->ecc.calculate = cs_calculate_ecc;
 	this->ecc.correct  = nand_correct_data;
+	this->ecc.strength = 1;
 
 	/* Enable the following for a flash based bad block table */
 	this->bbt_options = NAND_BBT_USE_FLASH;
@@ -247,8 +248,6 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
 		goto out_ior;
 	}
 
-	this->ecc.strength = 1;
-
 	new_mtd->name = kasprintf(GFP_KERNEL, "cs553x_nand_cs%d", cs);
 
 	cs553x_mtd[cs] = new_mtd;
drivers/mtd/nand/gpmi-nand/gpmi-lib.c +9 -0
index 3502acc..84f0526 100644
@@ -166,6 +166,15 @@ int gpmi_init(struct gpmi_nand_data *this)
 	if (ret)
 		goto err_out;
 
+	/*
+	 * Reset BCH here, too. We got failures otherwise :(
+	 * See later BCH reset for explanation of MX23 handling
+	 */
+	ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MX23(this));
+	if (ret)
+		goto err_out;
+
+
 	/* Choose NAND mode. */
 	writel(BM_GPMI_CTRL1_GPMI_MODE, r->gpmi_regs + HW_GPMI_CTRL1_CLR);
 
drivers/net/ethernet/mellanox/mlx4/cmd.c +5 -4
index 3d1899f..c4c80f6 100644
@@ -1498,6 +1498,7 @@ static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd,
 	u32 reply;
 	u8 is_going_down = 0;
 	int i;
+	unsigned long flags;
 
 	slave_state[slave].comm_toggle ^= 1;
 	reply = (u32) slave_state[slave].comm_toggle << 31;
@@ -1576,12 +1577,12 @@ static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd,
 		mlx4_warn(dev, "Bad comm cmd:%d from slave:%d\n", cmd, slave);
 		goto reset_slave;
 	}
-	spin_lock(&priv->mfunc.master.slave_state_lock);
+	spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
 	if (!slave_state[slave].is_slave_going_down)
 		slave_state[slave].last_cmd = cmd;
 	else
 		is_going_down = 1;
-	spin_unlock(&priv->mfunc.master.slave_state_lock);
+	spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
 	if (is_going_down) {
 		mlx4_warn(dev, "Slave is going down aborting command(%d)"
 			  " executing from slave:%d\n",
@@ -1597,10 +1598,10 @@ static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd,
 reset_slave:
 	/* cleanup any slave resources */
 	mlx4_delete_all_resources_for_slave(dev, slave);
-	spin_lock(&priv->mfunc.master.slave_state_lock);
+	spin_lock_irqsave(&priv->mfunc.master.slave_state_lock, flags);
 	if (!slave_state[slave].is_slave_going_down)
 		slave_state[slave].last_cmd = MLX4_COMM_CMD_RESET;
-	spin_unlock(&priv->mfunc.master.slave_state_lock);
+	spin_unlock_irqrestore(&priv->mfunc.master.slave_state_lock, flags);
 	/*with slave in the middle of flr, no need to clean resources again.*/
 inform_slave_state:
[… more lines in the raw message]

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

drivers/net/ethernet/mellanox/mlx4/eq.c +6 -4
index b84a88b..cda430b 100644

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

drivers/net/wimax/i2400m/i2400m-usb.h +3 -0
index 6650fde..9f1e947 100644

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

drivers/net/wimax/i2400m/usb.c +6 -0
index 713d033..080f363 100644

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

drivers/net/wireless/ath/ath5k/base.c +2 -2
index 9f31cfa..a4ee253 100644

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

drivers/net/wireless/ath/ath5k/mac80211-ops.c +1 -1
index 7a28538..c1369ff 100644

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

drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h +86 -86

172 lines not on this page · raw message

drivers/net/wireless/ath/ath9k/ar9003_eeprom.h +3 -3
index 41b1a75..54ba42f 100644

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

drivers/net/wireless/ath/ath9k/ar9003_hw.c +3 -3
index 1a36fa2..226dd13 100644

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

drivers/net/wireless/ath/ath9k/calib.c +1 -0
index e5cceb0..bbd249d 100644

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

drivers/net/wireless/ath/ath9k/calib.h +3 -0
index 1060c19..60dcb6c 100644

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

drivers/net/wireless/ath/carl9170/fw.c +5 -1
index 24ac287..98f4010 100644

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

drivers/net/wireless/b43/b43.h +5 -0
index b298e5d..10e288d 100644

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

drivers/net/wireless/b43/main.c +41 -13

54 lines not on this page · raw message

drivers/net/wireless/b43/main.h +2 -3
index 8c684cd..abac25e 100644

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

drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +3 -2
index 481345c..0caa4c3 100644

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

drivers/net/wireless/iwlwifi/dvm/tx.c +34 -37

71 lines not on this page · raw message

drivers/net/wireless/iwlwifi/pcie/rx.c +11 -2
index bb69f8f..3654de2 100644

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

drivers/net/wireless/mwifiex/sta_ioctl.c +10 -11
index 0c9f70b..786bc11 100644

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

drivers/net/wireless/rt2x00/rt2800lib.c +2 -1
index 59474ae..175a9b9 100644

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

drivers/net/wireless/rt2x00/rt2x00dev.c +6 -4
index 69097d1..ee38e4c 100644

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

drivers/net/xen-netfront.c +4 -23
index fc24eb9..472c5c1 100644

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

drivers/platform/x86/samsung-laptop.c +10 -0
index dd90d15..71623a2 100644

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

drivers/platform/x86/sony-laptop.c +8 -7
index daaddec..b8ad71f 100644

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

drivers/regulator/max8997.c +17 -19
index e39a0c7..70cd467 100644

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

drivers/regulator/max8998.c +22 -22

44 lines not on this page · raw message

drivers/regulator/s2mps11.c +5 -5
index 926f9c8..3fd1b88 100644

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

drivers/regulator/wm831x-dcdc.c +1 -1
index 782c228..416fe0a 100644

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

drivers/s390/cio/device_pgid.c +5 -5
index 368368f..908d287 100644

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

drivers/scsi/mvsas/mv_94xx.h +2 -12
index 8f7eb4f..487aa6f 100644

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

drivers/scsi/mvsas/mv_sas.h +1 -1
index c04a4f5..da24955 100644

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

drivers/scsi/qla2xxx/qla_attr.c +1 -2
index 1c28215..83d7984 100644

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

drivers/scsi/qla2xxx/qla_bsg.c +28 -44

72 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_os.c +3 -4
index d501bf5..f4b1fc8 100644

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

drivers/scsi/qla2xxx/qla_target.c +20 -1
index 62aa558..661d33e 100644

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

drivers/scsi/scsi_sysfs.c +4 -7
index ce5224c..931a7d9 100644

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

drivers/staging/comedi/Kconfig +1 -0
index 2093403..3464d14 100644

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

drivers/staging/comedi/comedi_fops.c +3 -0
index c2a32cf..1ab8037 100644

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

drivers/staging/comedi/drivers/comedi_test.c +1 -1
index 7817def..ec7cf62 100644

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

drivers/staging/comedi/drivers/ni_pcimio.c +8 -8
index f284a90..f3f5478 100644

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

drivers/staging/omapdrm/omap_gem_dmabuf.c +5 -0
index c6f3ef6..784fa4d 100644

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

drivers/staging/rtl8712/usb_intf.c +2 -0
index 6b73843..a96cd06 100644

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

drivers/staging/speakup/synth.c +2 -2
index df95337..7616f05 100644

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

drivers/staging/vt6656/dpc.c +2 -2
index 28edf9e..16a229d 100644

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

drivers/staging/vt6656/key.c +36 -17

53 lines not on this page · raw message

drivers/staging/vt6656/key.h +4 -4
index f749c7a..bd35d39 100644

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

drivers/staging/vt6656/mac.c +4 -2
index af4a29d..8fddc7b 100644

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

drivers/staging/vt6656/rf.c +3 -0
index 593cdc7..74c0598 100644

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

drivers/staging/vt6656/rxtx.c +12 -6
index 3390838..5c154e3 100644

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

drivers/staging/vt6656/ttype.h +9 -7
index 8e9450e..dfbf747 100644

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

drivers/staging/vt6656/wcmd.c +11 -9
index 586fbe1..b854d7e 100644

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

drivers/staging/vt6656/wpa2.h +2 -2
index 46c2959..c359252 100644

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

drivers/staging/zram/zram_drv.c +72 -80

152 lines not on this page · raw message

drivers/target/iscsi/iscsi_target.c +2 -2
index 035c2c7..bb34855 100644

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

drivers/target/iscsi/iscsi_target_erl2.c +1 -1
index 17d8c20..ba6091b 100644

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

drivers/target/iscsi/iscsi_target_login.c +4 -4
index f8dbec0..10b40bb 100644

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

drivers/target/iscsi/iscsi_target_nego.c +8 -2
index e9053a0..9d902ae 100644

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

drivers/target/iscsi/iscsi_target_tmr.c +2 -2
index 4a99820..9d4417a 100644

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

drivers/target/sbp/sbp_target.c +10 -7
index 0d6d7c1..f9e1e8a 100644

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

drivers/target/target_core_file.c +7 -2
index 0360383..c639b42 100644

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

drivers/target/tcm_fc/tfc_sess.c +1 -1
index 9585010..12d6fa2 100644

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

drivers/usb/class/cdc-acm.c +3 -0
index 8d809a8..2d92cce 100644

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

drivers/usb/core/hub.c +96 -24

120 lines not on this page · raw message

drivers/usb/core/quirks.c +3 -0
index fdefd9c..3113c1d 100644

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

drivers/usb/gadget/dummy_hcd.c +5 -4
index 0f7541b..559b06c 100644

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

drivers/usb/host/ehci-pci.c +20 -19
index f42b68e..d2ea004 100644

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

drivers/usb/host/xhci-hub.c +36 -2
index a686cf4..6891442 100644

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

drivers/usb/host/xhci-mem.c +2 -0
index fb51c70..35616ff 100644

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

drivers/usb/host/xhci-ring.c +9 -0
index 1189cf3..e80c49d 100644

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

drivers/usb/host/xhci.c +10 -0
index 389829e..c9b886e 100644

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

drivers/usb/musb/musb_core.c +1 -4
index bb56a0e..30e8551 100644

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

drivers/usb/serial/ftdi_sio.c +2 -0
index 2641d36..71e80ab 100644

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

drivers/usb/serial/ftdi_sio_ids.h +6 -0
index 049b6e7..fa5d560 100644

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

drivers/usb/serial/option.c +17 -1
index da36dc7..fd47369 100644

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

drivers/video/mxsfb.c +2 -1
index 49619b4..f2a49ef 100644

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

fs/buffer.c +1 -0
index ec0aca8..20c0aae 100644

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

fs/ceph/addr.c +9 -0
index 6690269..d7293d6 100644

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

fs/ceph/caps.c +10 -6
index 3251e9c..6be9bf7 100644

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

fs/ceph/inode.c +9 -6
index ba95eea..2971eaa 100644

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

fs/ceph/mds_client.c +7 -2
index 1bcf712..0d9864f 100644

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

fs/ceph/super.c +0 -2
index 2eb43f2..e079899 100644

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

fs/eventpoll.c +21 -1
index cd96649..39573ee 100644

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

fs/ext4/acl.c +4 -2
index d3c5b88..e6e0d98 100644

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

fs/ext4/extents.c +18 -4
index 7011ac9..19bb769 100644

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

fs/ext4/ialloc.c +1 -1
index 3a100e7..c7efa88 100644

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

fs/ext4/namei.c +3 -2
index 6d600a6..8fa23b4 100644

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

fs/ext4/super.c +14 -12
index 80928f7..d59b351 100644

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

fs/jbd2/transaction.c +2 -1
index a74ba46..6873d24 100644

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

fs/jffs2/nodemgmt.c +4 -2
index 0c96eb5..0331072 100644

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

fs/pstore/ram.c +8 -4
index 1a4f6da..bdd840d 100644

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

fs/udf/inode.c +9 -2
index df88b95..8266f2e 100644

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

include/drm/drm_mm.h +1 -1
index 06d7f79..a1b66b7 100644

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

include/linux/audit.h +2 -1
index bce729a..9d5104d 100644

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

include/linux/ceph/libceph.h +0 -2
index 6470792..084d3c6 100644

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

include/linux/compaction.h +2 -2
index 6ecb6dc..cc7bdde 100644

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

include/linux/mfd/da9055/core.h +1 -1
index c96ad68..956afa4 100644

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

include/linux/mfd/da9055/pdata.h +1 -1
index 147293b..b9b204e 100644

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

include/linux/mfd/da9055/reg.h +1 -1
index df237ee..2b592e0 100644

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

include/linux/mm.h +0 -1
index bcaab4e..280dae5 100644

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

include/linux/sunrpc/cache.h +5 -1
index f792794..5dc9ee4 100644

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

include/net/mac80211.h +5 -0
index 82558c8..d481cc6 100644

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

include/uapi/linux/audit.h +1 -0
index 76352ac..09a2d94 100644

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

include/video/omap-panel-tfp410.h +1 -1
index 68c31d7..aef35e4 100644

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

kernel/auditsc.c +11 -3
index 2f186ed..157e989 100644

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

kernel/watchdog.c +4 -7
index c8c21be..762081c 100644

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

mm/bootmem.c +18 -6
index f468185..af3d5af 100644

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

mm/compaction.c +15 -83

98 lines not on this page · raw message

mm/internal.h +0 -1
index a4fa284..3c5197d 100644

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

mm/page_alloc.c +9 -28
index 7e208f0..ceb4168 100644

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

net/ceph/ceph_common.c +1 -2
index a802029..ee71ea2 100644

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

net/ceph/messenger.c +39 -33

72 lines not on this page · raw message

net/ceph/osd_client.c +33 -60

93 lines not on this page · raw message

net/ceph/osdmap.c +20 -11
index 5433fb0..f552aa4 100644

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

net/mac80211/ibss.c +4 -5
index c21e33d..d9df6b8 100644

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

net/mac80211/ieee80211_i.h +7 -3
index 156e583..3da215c 100644

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

net/mac80211/iface.c +16 -12
index 7de7717..0f5af91 100644

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

net/mac80211/scan.c +24 -10
index 43e60b5..fab706f 100644

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

net/mac80211/sta_info.c +41 -5

46 lines not on this page · raw message

net/mac80211/sta_info.h +2 -1
index c88f161f..3c4c0f6 100644

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

net/mac80211/status.c +5 -1
index 101eb88..c511e9c 100644

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

net/sunrpc/clnt.c +1 -1
index cdc7564..10b18b2 100644

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

net/sunrpc/rpc_pipe.c +6 -1
index 80f5dd2..e659def 100644

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

net/sunrpc/sched.c +24 -6
index 6357fcb..7865b44 100644

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

net/sunrpc/xprt.c +10 -2
index bd462a5..33811db 100644

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

sound/arm/pxa2xx-ac97-lib.c +23 -3
index 48d7c0a..bd3ba88 100644

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

sound/pci/hda/hda_intel.c +8 -5
index a9652d6..f419f0a9 100644

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

sound/pci/hda/patch_conexant.c +0 -16
index a7b522a..8799cf1 100644

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

sound/soc/codecs/arizona.c +2 -7
index 054967d..08ae3cb 100644

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

sound/soc/codecs/arizona.h +9 -9
index 36ec649..cff8dfb 100644

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

sound/soc/codecs/sigmadsp.c +1 -1
index 5be42bf..4068f24 100644

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

sound/soc/codecs/sta529.c +5 -4
index 9e31448..18171ad 100644

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

sound/soc/codecs/wm2000.c +2 -2
index 683dc43..cdab549 100644

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

sound/soc/codecs/wm2200.c +1 -7
index eab64a1..7ef4e96 100644

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

sound/soc/codecs/wm5100.c +0 -6
index 7f56758..a351ca0 100644

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

sound/soc/codecs/wm8994.c +2 -14
index b2b2b37..1c2b337 100644

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

sound/soc/soc-pcm.c +1 -0
index ef22d0b..d340644 100644

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

virt/kvm/kvm_main.c +5 -8
index be70035..6e8fa7e 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.