Skip to contentSkip to conversation

Linux 3.16.4

DISCUSSION Greg KH 1 participant 2 messages Oct 5, 2014 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 3.16.4 kernel.

All users of the 3.16 kernel series must upgrade.

The updated 3.16.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.16.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/devicetree/bindings/interrupt-controller/interrupts.txt |   12 
 Documentation/devicetree/bindings/staging/imx-drm/ldb.txt             |   15 
 Documentation/kernel-parameters.txt                                   |    1 
 Makefile                                                              |    2 
 arch/arm/boot/dts/dra7-evm.dts                                        |   41 -
 arch/arm/boot/dts/dra7.dtsi                                           |   16 
 arch/arm/boot/dts/imx53-qsrb.dts                                      |    8 
 arch/arm/boot/dts/imx53.dtsi                                          |   14 
 arch/arm/boot/dts/vf610-twr.dts                                       |    2 
 arch/arm/common/edma.c                                                |    9 
 arch/arm/include/asm/cacheflush.h                                     |    1 
 arch/arm/include/asm/tls.h                                            |   64 ++
 arch/arm/kernel/entry-header.S                                        |   29 -
 arch/arm/kernel/irq.c                                                 |    2 
 arch/arm/kernel/perf_event_cpu.c                                      |   14 
 arch/arm/kernel/perf_event_v7.c                                       |    5 
 arch/arm/kernel/process.c                                             |    2 
 arch/arm/kernel/thumbee.c                                             |    2 
 arch/arm/kernel/traps.c                                               |   17 
 arch/arm/kvm/handle_exit.c                                            |    2 
 arch/arm/kvm/init.S                                                   |    4 
 arch/arm/mach-exynos/mcpm-exynos.c                                    |    1 
 arch/arm/mach-imx/clk-gate2.c                                         |    6 
 arch/arm/mach-imx/suspend-imx6.S                                      |    2 
 arch/arm/mach-omap2/omap_hwmod.c                                      |    3 
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c                             |   22 
 arch/arm/mach-omap2/soc.h                                             |    6 
 arch/arm/mm/abort-ev6.S                                               |    6 
 arch/arm/mm/abort-ev7.S                                               |    6 
 arch/arm/mm/alignment.c                                               |    3 
 arch/arm64/include/asm/hw_breakpoint.h                                |    1 
 arch/arm64/include/asm/ptrace.h                                       |    2 
 arch/arm64/kernel/irq.c                                               |   12 
 arch/arm64/kernel/process.c                                           |   18 
 arch/arm64/kernel/ptrace.c                                            |    3 
 arch/arm64/kernel/sys_compat.c                                        |    6 
 arch/arm64/kvm/handle_exit.c                                          |    2 
 arch/arm64/kvm/hyp-init.S                                             |    4 
 arch/mips/boot/compressed/decompress.c                                |    1 
 arch/mips/kernel/mcount.S                                             |   12 
 arch/mips/math-emu/cp1emu.c                                           |    6 
 arch/parisc/Makefile                                                  |    7 
 arch/parisc/kernel/syscall.S                                          |  233 ++++++++
 arch/powerpc/include/asm/ptrace.h                                     |    7 
 arch/powerpc/include/asm/spinlock.h                                   |    1 
 arch/powerpc/lib/locks.c                                              |    4 
 arch/powerpc/perf/callchain.c                                         |    2 
 arch/s390/include/asm/pgtable.h                                       |    6 
 arch/s390/kvm/kvm-s390.c                                              |   13 
 arch/s390/mm/pgtable.c                                                |   10 
 arch/x86/boot/compressed/aslr.c                                       |   15 
 arch/x86/include/asm/fixmap.h                                         |    6 
 arch/x86/include/asm/pgtable_64.h                                     |    1 
 arch/x86/kernel/smpboot.c                                             |    3 
 arch/x86/xen/mmu.c                                                    |   27 
 arch/xtensa/include/asm/pgtable.h                                     |    7 
 arch/xtensa/include/asm/uaccess.h                                     |    5 
 arch/xtensa/include/uapi/asm/ioctls.h                                 |   19 
 arch/xtensa/kernel/entry.S                                            |   26 
 arch/xtensa/kernel/pci-dma.c                                          |   12 
 block/blk-mq.c                                                        |    4 
 block/cfq-iosched.c                                                   |   11 
 block/genhd.c                                                         |   26 
 block/partition-generic.c                                             |    2 
 block/partitions/aix.c                                                |    2 
 drivers/acpi/acpi_cmos_rtc.c                                          |    2 
 drivers/acpi/acpi_lpss.c                                              |   11 
 drivers/acpi/acpica/aclocal.h                                         |    1 
 drivers/acpi/acpica/acobject.h                                        |    1 
 drivers/acpi/acpica/dsfield.c                                         |    2 
 drivers/acpi/acpica/evregion.c                                        |   47 +
 drivers/acpi/acpica/exfield.c                                         |   67 ++
 drivers/acpi/acpica/exprep.c                                          |    2 
 drivers/acpi/battery.c                                                |   14 
 drivers/acpi/container.c                                              |    8 
 drivers/acpi/scan.c                                                   |    5 
 drivers/acpi/video.c                                                  |    8 
 drivers/ata/ahci.c                                                    |   10 
 drivers/ata/ahci_xgene.c                                              |    4 
 drivers/ata/ata_piix.c                                                |    8 
 drivers/ata/libata-core.c                                             |    2 
 drivers/ata/pata_scc.c                                                |   15 
 drivers/base/regmap/internal.h                                        |    3 
 drivers/base/regmap/regcache-rbtree.c                                 |    9 
 drivers/base/regmap/regcache.c                                        |    2 
 drivers/base/regmap/regmap-debugfs.c                                  |    3 
 drivers/base/regmap/regmap.c                                          |    2 
 drivers/char/hw_random/core.c                                         |    6 
 drivers/char/hw_random/virtio-rng.c                                   |   34 -
 drivers/clk/clk.c                                                     |    7 
 drivers/clk/qcom/common.c                                             |   39 -
 drivers/clk/qcom/common.h                                             |    6 
 drivers/clk/qcom/mmcc-msm8960.c                                       |   84 +-
 drivers/clk/qcom/mmcc-msm8974.c                                       |   10 
 drivers/clk/ti/clk-dra7-atl.c                                         |    6 
 drivers/clk/ti/divider.c                                              |    7 
 drivers/cpufreq/cpufreq.c                                             |    9 
 drivers/cpufreq/cpufreq_opp.c                                         |    2 
 drivers/crypto/ccp/ccp-crypto-main.c                                  |    4 
 drivers/crypto/ccp/ccp-dev.c                                          |   14 
 drivers/dma/TODO                                                      |    1 
 drivers/dma/dw/core.c                                                 |   38 -
 drivers/gpio/gpiolib-acpi.c                                           |    5 
 drivers/gpio/gpiolib.c                                                |    2 
 drivers/gpu/drm/ast/ast_main.c                                        |    3 
 drivers/gpu/drm/i915/i915_cmd_parser.c                                |   12 
 drivers/gpu/drm/i915/i915_gem.c                                       |   11 
 drivers/gpu/drm/i915/intel_bios.c                                     |    4 
 drivers/gpu/drm/i915/intel_crt.c                                      |    9 
 drivers/gpu/drm/i915/intel_display.c                                  |   62 +-
 drivers/gpu/drm/i915/intel_dp.c                                       |    3 
 drivers/gpu/drm/i915/intel_drv.h                                      |    3 
 drivers/gpu/drm/i915/intel_hdmi.c                                     |    2 
 drivers/gpu/drm/i915/intel_lvds.c                                     |    2 
 drivers/gpu/drm/i915/intel_ringbuffer.c                               |    3 
 drivers/gpu/drm/i915/intel_tv.c                                       |   21 
 drivers/gpu/drm/nouveau/nouveau_drm.c                                 |    1 
 drivers/gpu/drm/nouveau/nouveau_ttm.c                                 |    3 
 drivers/gpu/drm/nouveau/nouveau_vga.c                                 |    9 
 drivers/gpu/drm/radeon/ci_dpm.c                                       |   16 
 drivers/gpu/drm/radeon/cik.c                                          |   18 
 drivers/gpu/drm/radeon/cik_sdma.c                                     |    7 
 drivers/gpu/drm/radeon/kv_dpm.c                                       |   34 -
 drivers/gpu/drm/radeon/ni_dma.c                                       |    6 
 drivers/gpu/drm/radeon/r600.c                                         |   26 
 drivers/gpu/drm/radeon/r600_dma.c                                     |    9 
 drivers/gpu/drm/radeon/radeon.h                                       |    3 
 drivers/gpu/drm/radeon/radeon_atombios.c                              |   72 ++
 drivers/gpu/drm/radeon/radeon_cs.c                                    |    3 
 drivers/gpu/drm/radeon/radeon_device.c                                |   29 -
 drivers/gpu/drm/radeon/radeon_drv.c                                   |    1 
 drivers/gpu/drm/radeon/radeon_kms.c                                   |    9 
 drivers/gpu/drm/radeon/radeon_pm.c                                    |   24 
 drivers/gpu/drm/radeon/radeon_semaphore.c                             |    2 
 drivers/gpu/drm/radeon/rv770.c                                        |   23 
 drivers/gpu/drm/radeon/si.c                                           |   11 
 drivers/gpu/drm/tegra/dc.c                                            |    1 
 drivers/gpu/drm/tegra/dpaux.c                                         |    1 
 drivers/gpu/drm/tegra/dsi.c                                           |    1 
 drivers/gpu/drm/tegra/gr2d.c                                          |    1 
 drivers/gpu/drm/tegra/gr3d.c                                          |    1 
 drivers/gpu/drm/tegra/hdmi.c                                          |    1 
 drivers/gpu/drm/tegra/sor.c                                           |    1 
 drivers/gpu/drm/tilcdc/tilcdc_drv.c                                   |    7 
 drivers/gpu/drm/tilcdc/tilcdc_panel.c                                 |    5 
 drivers/gpu/drm/tilcdc/tilcdc_slave.c                                 |    1 
 drivers/gpu/drm/tilcdc/tilcdc_tfp410.c                                |    1 
 drivers/gpu/drm/ttm/ttm_bo.c                                          |    6 
 drivers/gpu/drm/ttm/ttm_bo_manager.c                                  |    3 
 drivers/gpu/drm/ttm/ttm_page_alloc.c                                  |   29 -
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c                              |   34 -
 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c                                  |    3 
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c                         |    1 
 drivers/gpu/vga/vga_switcheroo.c                                      |    6 
 drivers/hid/hid-logitech-dj.c                                         |   43 -
 drivers/hid/hid-logitech-dj.h                                         |    1 
 drivers/hid/hid-magicmouse.c                                          |   10 
 drivers/hid/hid-picolcd_core.c                                        |    6 
 drivers/hwmon/ds1621.c                                                |    1 
 drivers/i2c/busses/i2c-at91.c                                         |   32 -
 drivers/i2c/busses/i2c-ismt.c                                         |    4 
 drivers/i2c/busses/i2c-mv64xxx.c                                      |    3 
 drivers/i2c/busses/i2c-rcar.c                                         |   41 +
 drivers/i2c/busses/i2c-rk3x.c                                         |   15 
 drivers/iio/accel/bma180.c                                            |    2 
 drivers/iio/adc/ad_sigma_delta.c                                      |    2 
 drivers/iio/adc/at91_adc.c                                            |   12 
 drivers/iio/adc/xilinx-xadc-core.c                                    |    2 
 drivers/iio/common/hid-sensors/hid-sensor-trigger.c                   |    3 
 drivers/iio/common/st_sensors/st_sensors_trigger.c                    |    2 
 drivers/iio/gyro/itg3200_buffer.c                                     |    2 
 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c                         |    2 
 drivers/iio/inkern.c                                                  |    2 
 drivers/iio/magnetometer/st_magn_core.c                               |   52 +
 drivers/infiniband/core/uverbs_marshall.c                             |    4 
 drivers/infiniband/hw/mlx4/main.c                                     |   53 +
 drivers/infiniband/hw/qib/qib_debugfs.c                               |    3 
 drivers/infiniband/hw/qib/qib_qp.c                                    |    8 
 drivers/infiniband/ulp/isert/ib_isert.c                               |    7 
 drivers/input/keyboard/atkbd.c                                        |    8 
 drivers/input/mouse/elantech.c                                        |    7 
 drivers/input/mouse/synaptics.c                                       |   68 +-
 drivers/input/mouse/synaptics.h                                       |   11 
 drivers/input/serio/i8042-x86ia64io.h                                 |   15 
 drivers/input/serio/serport.c                                         |   45 +
 drivers/iommu/arm-smmu.c                                              |    7 
 drivers/iommu/dmar.c                                                  |    3 
 drivers/iommu/fsl_pamu_domain.c                                       |   10 
 drivers/md/dm-cache-target.c                                          |    4 
 drivers/md/dm-crypt.c                                                 |   20 
 drivers/md/raid1.c                                                    |   40 -
 drivers/media/dvb-core/dvb-usb-ids.h                                  |    2 
 drivers/media/dvb-frontends/af9033.c                                  |   13 
 drivers/media/dvb-frontends/af9033_priv.h                             |   20 
 drivers/media/i2c/adv7604.c                                           |    2 
 drivers/media/pci/cx18/cx18-driver.c                                  |    1 
 drivers/media/tuners/tuner_it913x.c                                   |    6 
 drivers/media/usb/dvb-usb-v2/af9035.c                                 |    4 
 drivers/media/usb/em28xx/em28xx-video.c                               |    2 
 drivers/media/v4l2-core/videobuf2-core.c                              |   19 
 drivers/media/v4l2-core/videobuf2-dma-sg.c                            |    2 
 drivers/mmc/host/mmci.c                                               |   12 
 drivers/net/ethernet/ibm/ibmveth.c                                    |   18 
 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c                         |    2 
 drivers/net/wireless/ath/carl9170/carl9170.h                          |    1 
 drivers/net/wireless/ath/carl9170/usb.c                               |   31 -
 drivers/net/wireless/brcm80211/brcmfmac/fweh.c                        |   12 
 drivers/net/wireless/brcm80211/brcmfmac/fweh.h                        |    2 
 drivers/net/wireless/iwlwifi/dvm/rxon.c                               |   12 
 drivers/net/wireless/iwlwifi/iwl-config.h                             |    2 
 drivers/net/wireless/iwlwifi/iwl-nvm-parse.c                          |    4 
 drivers/net/wireless/iwlwifi/mvm/fw-api.h                             |    4 
 drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c                           |   10 
 drivers/net/wireless/iwlwifi/mvm/sf.c                                 |    2 
 drivers/net/wireless/iwlwifi/mvm/tx.c                                 |    8 
 drivers/net/wireless/rtlwifi/rtl8192cu/sw.c                           |    1 
 drivers/nfc/microread/microread.c                                     |   16 
 drivers/of/fdt.c                                                      |    2 
 drivers/of/irq.c                                                      |   17 
 drivers/pci/hotplug/acpiphp_glue.c                                    |   16 
 drivers/pci/hotplug/pciehp_hpc.c                                      |   12 
 drivers/pci/probe.c                                                   |   20 
 drivers/phy/phy-twl4030-usb.c                                         |  121 ++--
 drivers/pwm/core.c                                                    |    8 
 drivers/scsi/libiscsi.c                                               |   10 
 drivers/spi/spi-dw-pci.c                                              |    2 
 drivers/spi/spi-dw.c                                                  |   14 
 drivers/spi/spi-fsl-espi.c                                            |   15 
 drivers/spi/spi-fsl-spi.c                                             |   10 
 drivers/spi/spi-omap2-mcspi.c                                         |    3 
 drivers/spi/spi-sirf.c                                                |    3 
 drivers/staging/iio/meter/ade7758_trigger.c                           |    2 
 drivers/staging/imx-drm/imx-ldb.c                                     |    3 
 drivers/staging/imx-drm/ipuv3-plane.c                                 |    3 
 drivers/staging/lustre/lustre/Kconfig                                 |    1 
 drivers/target/iscsi/iscsi_target.c                                   |    4 
 drivers/target/iscsi/iscsi_target_parameters.c                        |    2 
 drivers/target/target_core_configfs.c                                 |    2 
 drivers/tty/serial/atmel_serial.c                                     |   43 +
 drivers/usb/chipidea/ci_hdrc_msm.c                                    |    7 
 drivers/usb/core/hub.c                                                |    4 
 drivers/usb/dwc2/gadget.c                                             |   52 -
 drivers/usb/dwc3/core.c                                               |   13 
 drivers/usb/dwc3/dwc3-omap.c                                          |    2 
 drivers/usb/dwc3/gadget.c                                             |    8 
 drivers/usb/gadget/f_rndis.c                                          |    4 
 drivers/usb/host/ehci-hcd.c                                           |    2 
 drivers/usb/host/xhci-hub.c                                           |    8 
 drivers/usb/host/xhci-mem.c                                           |    3 
 drivers/usb/host/xhci.c                                               |   12 
 drivers/usb/misc/sisusbvga/sisusb.c                                   |    1 
 drivers/usb/phy/phy-tegra-usb.c                                       |    4 
 drivers/usb/serial/ftdi_sio.c                                         |    3 
 drivers/usb/serial/ftdi_sio_ids.h                                     |   12 
 drivers/usb/serial/option.c                                           |   31 -
 drivers/usb/serial/pl2303.c                                           |    1 
 drivers/usb/serial/pl2303.h                                           |    1 
 drivers/usb/serial/sierra.c                                           |    9 
 drivers/usb/serial/usb-serial.c                                       |   37 -
 drivers/usb/serial/zte_ev.c                                           |   24 
 drivers/usb/storage/unusual_devs.h                                    |   38 +
 drivers/uwb/lc-dev.c                                                  |   13 
 drivers/xen/manage.c                                                  |    7 
 fs/aio.c                                                              |   91 +++
 fs/buffer.c                                                           |    6 
 fs/cachefiles/bind.c                                                  |    8 
 fs/cachefiles/daemon.c                                                |   30 -
 fs/cachefiles/internal.h                                              |    2 
 fs/cachefiles/main.c                                                  |    2 
 fs/cachefiles/namei.c                                                 |   14 
 fs/cachefiles/xattr.c                                                 |   10 
 fs/cifs/link.c                                                        |    8 
 fs/eventpoll.c                                                        |    3 
 fs/ext4/ext4.h                                                        |    2 
 fs/ext4/namei.c                                                       |   37 +
 fs/ext4/resize.c                                                      |    2 
 fs/gfs2/inode.c                                                       |    5 
 fs/lockd/svc.c                                                        |    4 
 fs/locks.c                                                            |    2 
 fs/namei.c                                                            |   33 -
 fs/nfs/blocklayout/blocklayout.c                                      |   99 +--
 fs/nfs/direct.c                                                       |    8 
 fs/nfs/filelayout/filelayout.c                                        |  175 ++----
 fs/nfs/internal.h                                                     |   10 
 fs/nfs/nfs3proc.c                                                     |   21 
 fs/nfs/nfs4_fs.h                                                      |    6 
 fs/nfs/nfs4client.c                                                   |   38 -
 fs/nfs/nfs4proc.c                                                     |  135 ++--
 fs/nfs/nfs4trace.h                                                    |   28 
 fs/nfs/objlayout/objio_osd.c                                          |   24 
 fs/nfs/objlayout/objlayout.c                                          |   81 +-
 fs/nfs/objlayout/objlayout.h                                          |    8 
 fs/nfs/pagelist.c                                                     |  284 ++++------
 fs/nfs/pnfs.c                                                         |  119 +---
 fs/nfs/pnfs.h                                                         |   17 
 fs/nfs/proc.c                                                         |   27 
 fs/nfs/read.c                                                         |   48 -
 fs/nfs/write.c                                                        |   99 +--
 fs/nfsd/nfs4xdr.c                                                     |   17 
 fs/nilfs2/inode.c                                                     |    7 
 fs/notify/fdinfo.c                                                    |    4 
 fs/ocfs2/dlm/dlmmaster.c                                              |   18 
 fs/ufs/inode.c                                                        |    7 
 fs/ufs/namei.c                                                        |   14 
 include/acpi/acpi_bus.h                                               |    1 
 include/drm/ttm/ttm_bo_driver.h                                       |    2 
 include/linux/ccp.h                                                   |   12 
 include/linux/ftrace.h                                                |   13 
 include/linux/iio/trigger.h                                           |    4 
 include/linux/nfs_page.h                                              |   16 
 include/linux/nfs_xdr.h                                               |   32 -
 include/linux/pci.h                                                   |    6 
 include/linux/seqlock.h                                               |    2 
 include/linux/vga_switcheroo.h                                        |    2 
 include/linux/workqueue.h                                             |    2 
 include/net/regulatory.h                                              |    2 
 include/uapi/drm/radeon_drm.h                                         |    1 
 include/uapi/linux/xattr.h                                            |    2 
 kernel/cgroup.c                                                       |   35 -
 kernel/events/core.c                                                  |   10 
 kernel/futex.c                                                        |    1 
 kernel/kcmp.c                                                         |    7 
 kernel/module.c                                                       |    5 
 kernel/printk/printk.c                                                |    6 
 kernel/time/alarmtimer.c                                              |   34 -
 kernel/trace/ftrace.c                                                 |  190 ++++--
 kernel/trace/ring_buffer.c                                            |   16 
 mm/dmapool.c                                                          |    2 
 mm/memblock.c                                                         |    3 
 mm/memory.c                                                           |    2 
 mm/percpu-vm.c                                                        |   22 
 mm/percpu.c                                                           |    2 
 mm/shmem.c                                                            |    4 
 mm/slab.c                                                             |   11 
 net/mac80211/mlme.c                                                   |    3 
 net/netfilter/ipvs/ip_vs_core.c                                       |    2 
 net/netfilter/ipvs/ip_vs_xmit.c                                       |    2 
 net/netfilter/nf_tables_api.c                                         |    3 
 net/netfilter/xt_cgroup.c                                             |    2 
 net/netfilter/xt_hashlimit.c                                          |   31 -
 net/wireless/nl80211.c                                                |    6 
 sound/core/info.c                                                     |    4 
 sound/core/pcm_lib.c                                                  |    8 
 sound/firewire/amdtp.c                                                |   11 
 sound/firewire/amdtp.h                                                |    1 
 sound/firewire/dice.c                                                 |   29 -
 sound/pci/hda/patch_conexant.c                                        |   10 
 sound/pci/hda/patch_realtek.c                                         |    2 
 sound/pci/hda/patch_sigmatel.c                                        |   17 
 sound/soc/davinci/davinci-mcasp.c                                     |   11 
 350 files changed, 3491 insertions(+), 1895 deletions(-)

Aaron Lu (1):
ACPI / video: disable native backlight for ThinkPad X201s

Al Cooper (2):
of: Allow mem_reserve of memory with a base address of zero
usb: xhci: Fix OOPS in xhci error handling code

Al Viro (2):
don't bugger nd->seq on set_root_rcu() from follow_dotdot_rcu()
GFS2: fix d_splice_alias() misuses

Alan Douglas (1):
xtensa: fix address checks in dma_{alloc,free}_coherent

Alan Stern (2):
USB: document the 'u' flag for usb-storage quirks parameter
USB: EHCI: unlink QHs even after the controller has stopped

Alban Crequy (1):
cgroup: reject cgroup names with '\n'

Alex Deucher (21):
drm/radeon/dpm: handle voltage info fetching on hawaii drm/radeon: re-enable dpm by default on cayman drm/radeon: re-enable dpm by default on BTC
drm/radeon: load the lm63 driver for an lm64 thermal chip. drm/radeon/atom: add new voltage fetch function for hawaii drm/radeon: tweak ACCEL_WORKING2 query for hawaii drm/radeon/dpm: select the appropriate vce power state for KV/KB/ML drm/radeon: fix pm handling in radeon_gpu_reset drm/radeon: fix active cu count for SI and CIK drm/radeon: fix active_cu mask on SI and CIK after re-init (v3) drm/radeon: handle broken disabled rb mask gracefully (6xx/7xx) (v2) drm/radeon/dpm: set the thermal type properly for special configs drm/radeon: add connector quirk for fujitsu board drm/radeon: don't reset dma on NI/SI init
drm/radeon: don't reset sdma on CIK init
drm/radeon: don't reset dma on r6xx-evergreen init drm/radeon/dpm: fix resume on mullins
drm/radeon/cik: use a separate counter for CP init timeout
vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops drm/nouveau/runpm: fix module unload
drm/radeon/px: fix module unload

Alex Gartrell (1):
ipvs: Maintain all DSCP and ECN bits for ipv6 tun forwarding

Alexey Khoroshilov (1):
ufs: fix deadlocks introduced by sb mutex merge

Amit Shah (2):
virtio: rng: delay hwrng_register() till driver is ready Revert "hwrng: virtio - ensure reads happen after successful probe"

Andreas Rohner (1):
nilfs2: fix data loss with mmap()

Andrey Vagin (2):
fsnotify/fdinfo: use named constants instead of hardcoded values fs/notify: don't show f_handle if exportfs_encode_inode_fh failed

Andrzej Pietrasiewicz (1):
usb: gadget: f_rndis: fix interface id for OS descriptors

Andy Lutomirski (1):
module: Clean up ro/nx after early module load failures

Andy Shevchenko (4):
spi: dw: fix kernel crash due to NULL pointer dereference
spi: dw-pci: fix bug when regs left uninitialized
dmaengine: dw: introduce dwc_dostart_first_queued() helper
dmaengine: dw: don't perform DMA when dmaengine_submit is called

Anssi Hannula (1):
dm cache: fix race causing dirty blocks to be marked as clean

Anton Altaparmakov (1):
Fix nasty 32-bit overflow bug in buffer i/o code.

Anton Blanchard (2):
ibmveth: Fix endian issues with rx_no_buffer statistic powerpc/perf: Fix ABIv2 kernel backtraces

Antti Palosaari (1):
media: af9033: feed clock to RF tuner

Arend van Spriel (1):
brcmfmac: handle IF event for P2P_DEVICE interface

Arjun Sreedharan (1):
pata_scc: propagate return value of scc_wait_after_reset

Arnd Bergmann (1):
staging/lustre: disable virtual block device for 64K pages

Aurelien Jarno (1):
MIPS: ZBOOT: add missing <linux/string.h> include

Axel Lin (2):

      spi: fsl: Don't use devm_kzalloc in master->setup callback
      spi: dw: Don't use devm_kzalloc in master->setup callback

Benjamin LaHaise (1):
aio: fix reqs_available handling

Benjamin Tissoires (1):
HID: logitech-dj: prevent false errors to be shown

Bill Pringlemeir (1):
ARM: dts: vf610-twr: Fix pinctrl_esdhc1 pin definitions.

Bimow Chen (2):
media: it913x: init tuner on attach
media: af9033: update IT9135 tuner inittabs

Bjorn Helgaas (3):
PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device Revert "PCI: Don't scan random busses in pci_scan_bridge()" Revert "PCI: Make sure bus number resources stay within their parents bounds"

Bjørn Mork (3):
USB: sierra: avoid CDC class functions on "68A3" devices
USB: sierra: add 1199:68AA device ID
Revert "ACPI / battery: fix wrong value of capacity_now reported when fully charged"

Bob Moore (1):
ACPICA: Update to GPIO region handler interface.

Brad Volkin (1):
drm/i915: Don't leak command parser tables on suspend/resume

Brennan Ashton (1):
USB: option: add VIA Telecom CDS7 chipset device id

Catalin Marinas (1):
arm64: Add brackets around user_stack_pointer()

Chen-Yu Tsai (1):
i2c: mv64xxx: continue probe when clock-frequency is missing

Chris Wilson (1):
drm/i915: Disable RCS flips on Ivybridge

Christian Borntraeger (4):
KVM: s390: Fix user triggerable bug in dead code
KVM: s390/mm: try a cow on read only pages for key ops
KVM: s390/mm: Fix storage key corruption during swapping
KVM: s390/mm: Fix guest storage key corruption in ptep_set_access_flags

Christian König (4):
drm/ttm: fix handling of TTM_PL_FLAG_TOPDOWN v2 drm/radeon: set VM base addr using the PFP v2 drm/radeon: properly document reloc priority mask drm/radeon: fix semaphore value init

Christoffer Dall (1):
arm/arm64: KVM: Complete WFI/WFE instructions

Clemens Ladisch (2):
ALSA: core: fix buffer overflow in snd_info_get_line()
ALSA: pcm: fix fifo_size frame calculation

Cong Wang (1):
perf: Fix a race condition in perf_remove_from_context()

Dan Carpenter (2):
NFC: microread: Potential overflows in microread_target_discovered()
partitions: aix.c: off by one bug

Daniel Borkmann (1):
netfilter: x_tables: allow to use default cgroup match

Daniel Vetter (1):
drm/i915: Fix EIO/wedged handling in gem fault handler

Dave Young (1):
x86 early_ioremap: Increase FIX_BTMAPS_SLOTS to 8

David Hildenbrand (1):
blk-mq: Avoid race condition with uninitialized requests

David Rientjes (1):
mm, slab: initialize object alignment on cache creation

Denis CIOCCA (1):
iio:magnetometer: bugfix magnetometers gain values

Dmitry Torokhov (2):
Input: synaptics - add support for ForcePads
Input: atkbd - do not try 'deactivate' keyboard on any LG laptops

Eliad Peller (2):
iwlwifi: increase DEFAULT_MAX_TX_POWER
regulatory: add NUL to alpha2

Emmanuel Grumbach (2):
Revert "iwlwifi: dvm: don't enable CTS to self"
iwlwifi: mvm: fix endianity issues with Smart Fifo commands

Eric Dumazet (1):
netfilter: xt_hashlimit: perform garbage collection from process context

Eyal Shapira (1):
iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate

Fabian Frederick (1):
fs/cachefiles: add missing \n to kerror conversions

Fabio Estevam (1):
ARM: dts: imx53-qsrb: Fix suspend/resume

Fan Du (1):
i2c: ismt: use correct length when copy buffer

Felipe Balbi (5):
usb: host: xhci: fix compliance mode workaround
usb: dwc3: core: fix order of PM runtime calls
usb: dwc3: core: fix ordering for PHY suspend
usb: dwc3: omap: fix ordering for runtime pm calls
usb: dwc3: fix TRB completion when multiple TRBs are started

Filipe Brandenburger (1):
xattr: fix check for simultaneous glibc header inclusion

Florian Fainelli (1):
of/irq: Fix lookup to use 'interrupts-extended' property first

Fu Zhonghui (2):
ACPI / LPSS: complete PM entries for LPSS power domain ACPI / platform / LPSS: disable async suspend/resume of LPSS devices

Geert Uytterhoeven (1):
pwm: Fix period and polarity in pwm_get() for non-perfect matches

Greg KH (1):
USB: serial: pl2303: add device id for ztek device

Greg Kroah-Hartman (1):

      Linux 3.16.4

Gu Zheng (1):
aio: block exit_aio() until all context requests are completed

Guido Martínez (6):
drm/tilcdc: panel: fix dangling sysfs connector node drm/tilcdc: slave: fix dangling sysfs connector node drm/tilcdc: tfp410: fix dangling sysfs connector node drm/tilcdc: panel: fix leak when unloading the module drm/tilcdc: fix release order on exit drm/tilcdc: fix double kfree

Guy Martin (1):
parisc: Implement new LWS CAS supporting 64 bit operations.

Hans Verkuil (4):
media: cx18: fix kernel oops with tda8290 tuner
media: adv7604: fix inverted condition
media: videobuf2-dma-sg: fix for wrong GFP mask to sg_alloc_table_from_pages
media: vb2: fix vb2 state check when start_streaming fails

Hans de Goede (3):
Input: elantech - fix detection of touchpad on ASUS s301l
Input: i8042 - add Fujitsu U574 to no_timeout dmi table
Input: i8042 - add nomux quirk for Avatar AVIU-145A6

Honggang Li (1):
percpu: free percpu allocation info for uniprocessor system

Huacai Chen (1):
ALSA: hda - Add fixup model name lookup for Lemote A1205

Imre Deak (1):
drm/i915: don't try to retrain a DP link on an inactive CRTC

Ivan T. Ivanov (2):
usb: chipidea: msm: Use USB PHY API to control PHY state
usb: chipidea: msm: Initialize PHY on reset event

J. Bruce Fields (3):
nfsd4: fix rd_dircount enforcement
nfsd4: fix corruption of NFSv4 read data
lockd: fix rpcbind crash on lockd startup failure

James Ralston (2):
ahci: Add Device IDs for Intel 9 Series PCH
ata_piix: Add Device IDs for Intel 9 Series PCH

Jani Nikula (1):
drm/i915/hdmi: fix hdmi audio state readout

Jarkko Nikula (1):
gpio: Fix potential NULL handler data in chained irqchip handler

Jeff Layton (1):
locks: pass correct "before" pointer to locks_unlink_lock in generic_add_lease

Jeff Moyer (1):
aio: add missing smp_rmb() in read_events_ring

Jens Axboe (1):
genhd: fix leftover might_sleep() in blk_free_devt()

Jiri Kosina (3):
drm/i915: read HEAD register back in init_ring_common() to enforce ordering
HID: picolcd: sanity check report size in raw_event() callback
HID: magicmouse: sanity check report size in raw_event() callback

Joe Lawrence (1):

      usb: hub: take hub->hdev reference when processing from eventlist

Joerg Roedel (1):
iommu/vt-d: Check return value of acpi_bus_get_device()

Joern Engel (1):
iscsi-target: avoid NULL pointer in iscsi_copy_param_list failure

Johan Hovold (8):
USB: serial: fix potential stack buffer overflow
USB: serial: fix potential heap buffer overflow
USB: option: reduce interrupt-urb logging verbosity Revert "USB: option,zte_ev: move most ZTE CDMA devices to zte_ev"
USB: zte_ev: remove duplicate Gobi PID
USB: zte_ev: remove duplicate Qualcom PID
USB: ftdi_sio: add support for NOVITUS Bono E thermal printer
USB: zte_ev: fix removed PIDs

Johannes Berg (2):
Revert "mac80211: disable uAPSD if all ACs are under ACM"
nl80211: clear skb cb before passing to netlink

Johannes Pointner (1):
iio:inkern: fix overwritten -EPROBE_DEFER in of_iio_channel_get_by_name

Johannes Stezenbach (1):
ath9k_htc: fix random decryption failure

John David Anglin (1):
parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds

John Sung (1):
Input: serport - add compat handling for SPIOCSTYPE ioctl

Jorge A. Ventura (1):
spi/omap-mcspi: Fix the spi task hangs waiting dma_rx

Josef Bacik (1):
trace: Fix epoll hang when we race with new entries

Joseph Qi (1):
ocfs2/dlm: do not get resource spinlock if lockres is new

Julian Anastasov (1):
ipvs: fix ipv6 hook registration for local replies

Kamil Debski (2):
usb: dwc2/gadget: fix phy disable sequence
usb: dwc2/gadget: fix phy initialization sequence

Kees Cook (1):
x86/kaslr: Avoid the setup_data area when picking location

Keith Busch (1):
block: Fix dev_t minor allocation lifetime

Krzysztof Hałasa (1):
Fix unbalanced mutex in dma_pool_create().

Lan Tianyu (1):
cpufreq: fix cpufreq suspend/resume for intel_pstate

Larry Finger (1):
rtlwifi: rtl8192cu: Add new ID

Lars-Peter Clausen (1):
regmap: Fix regcache debugfs initialization

Lee, Chun-Yi (1):
ACPI / RTC: Fix CMOS RTC opregion handler accesses to wrong addresses

Li Zefan (2):
cgroup: check cgroup liveliness before unbreaking kernfs
cgroup: delay the clearing of cgrp->kn->priv

Lothar Waßmann (1):
ARM: dts: i.MX53: fix apparent bug in VPU clks

Luciano Coelho (1):
iwlwifi: mvm: set MAC_FILTER_IN_BEACON correctly for STA/P2P client

Ludovic Desroches (1):
iio: adc: at91: don't use the last converted data register

Malcolm Priestley (1):
media: af9035: new IDs: add support for PCTV 78e and PCTV 79e

Marek Roszko (1):
i2c: at91: add bound checking on SMBus block length bytes

Marek Szyprowski (3):
usb: dwc2/gadget: break infinite loop in endpoint disable code
usb: dwc2/gadget: do not call disconnect method in pullup
usb: dwc2/gadget: delay enabling irq once hardware is configured properly

Mark (4):
storage: Add single-LUN quirk for Jaz USB Adapter
USB: storage: Add quirk for Adaptec USBConnect 2000 USB-to-SCSI Adapter
USB: storage: Add quirk for Ariston Technologies iConnect USB to SCSI adapter
USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters

Mark Brown (2):
regmap: Fix handling of volatile registers for format_write() chips
regmap: Don't attempt block writes when syncing cache on single_rw devices

Mark Rutland (2):
ARM: 8128/1: abort: don't clear the exclusive monitors
ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex

Markos Chandras (1):
MIPS: mcount: Adjust stack pointer for static trace in MIPS32

Markus Niebel (1):
ARM: DT: imx53: fix lvds channel 1 port

Matan Barak (1):
IB/core: When marshaling uverbs path, clear unused fields

Mathias Krause (1):
drm/i915: Remove bogus __init annotation from DMI callbacks

Mathias Nyman (2):
xhci: Fix null pointer dereference if xhci initialization fails
xhci: fix oops when xhci resumes from hibernate with hw lpm capable devices

Mauro Carvalho Chehab (1):
media: em28xx: fix VBI handling logic

Max Filippov (4):
xtensa: replace IOCTL code definitions with constants
xtensa: fix access to THREAD_RA/THREAD_SP/THREAD_DS
xtensa: fix TLBTEMP_BASE_2 region handling in fast_second_level_miss
xtensa: fix a6 and a7 handling in fast_syscall_xtensa

Michael Ellerman (2):
powerpc: Add smp_mb() to arch_spin_is_locked()
powerpc: Add smp_mb()s to arch_spin_unlock_wait()

Mika Westerberg (1):
ACPI / scan: Correct error return value of create_modalias()

Mike Christie (1):
SCSI: libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu

Mike Marciniszyn (1):
IB/qib: Correct reference counting in debugfs qp_stats

Miklos Szeredi (1):
shmem: fix nlink for rename overwrite directory

Mikulas Patocka (1):
dm crypt: fix access beyond the end of allocated space

Moni Shoua (2):
IB/mlx4: Avoid null pointer dereference in mlx4_ib_scan_netdevs() IB/mlx4: Don't duplicate the default RoCE GID

Murali Karicheri (1):

      ahci: add pcid for Marvel 0x9182 controller

Nathan Lynch (2):
ARM: 8148/1: flush TLS and thumbee register state during exec
ARM: 8178/1: fix set_tls for !CONFIG_KUSER_HELPERS

NeilBrown (8):
md/raid1: clean up request counts properly in close_sync() md/raid1: be more cautious where we read-balance during resync. md/raid1: make sure resync waits for conflicting writes to complete. md/raid1: Don't use next_resync to determine how far resync has progressed md/raid1: update next_resync under resync_lock.
md/raid1: count resync requests in nr_pending.
md/raid1: fix_read_error should act on all non-faulty devices. md/raid1: intialise start_next_window for READ case to avoid hang

Nicholas Bellinger (1):
iscsi-target: Fix memory corruption in iscsit_logout_post_handler_diffcid

Nicolas Iooss (1):
eventpoll: fix uninitialized variable in epoll_ctl

Nishanth Menon (4):
ARM: dts: DRA7: fix interrupt-cells for GPIO
ARM: dts: dra7-evm: Fix spi1 mux documentation
clk: ti: dra7-atl: Provide error check for incoming parameters in set_rate
clk: ti: divider: Provide error check for incoming parameters in set_rate

Olav Haugan (1):
iommu/arm-smmu: fix programming of SMMU_CBn_TCR for stage 1

Oleg Chernovskiy (1):
drm/radeon: Add missing lines to ci_set_thermal_temperature_range

Pablo Neira Ayuso (1):
netfilter: nf_tables: don't update chain with unset counters

Pali Rohár (1):
drm/radeon: Add ability to get and change dpm state when radeon PX card is turned off

Patrick Palka (1):
kernel/printk/printk.c: fix faulty logic in the case of recursive printk

Paul Burton (1):
MIPS: Fix MFC1 & MFHC1 emulation for 64-bit MIPS systems

Paulo Zanoni (1):
drm/i915: fix plane/cursor handling when runtime suspended

Peter Feiner (1):
mm: softdirty: keep bit when zapping file pte

Peter Ujfalusi (2):
ARM: edma: Fix configuration parsing for SoCs with multiple eDMA3 CC
ASoC: davinci-mcasp: Correct rx format unit configuration

Pranavkumar Sawargaonkar (1):
ARM/ARM64: KVM: Nuke Hyp-mode tlbs before enabling MMU

Prarit Bhargava (1):

      cpufreq: release policy->rwsem on error

Qipan Li (1):
spi: sirf: enable RX_IO_DMA_INT interrupt

Rafael Barbalho (1):
drm/i915: Fix crash when failing to parse MIPI VBT

Rafael J. Wysocki (1):
ACPI / hotplug: Generate online uevents for ACPI containers

Rajendra Nayak (2):
ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists
ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() variants

Rasmus Villemoes (1):
kcmp: fix standard comparison bug

Richard Genoud (1):
tty/serial: at91: BUG: disable interrupts when !UART_ENABLE_MS()

Richard Larocque (3):
alarmtimer: Return relative times in timer_gettime
alarmtimer: Do not signal SIGEV_NONE timers
alarmtimer: Lock k_itimer during timer callback

Robert Baldyga (1):
usb: dwc2/gadget: avoid disabling ep0

Robert Coulson (1):
hwmon: (ds1621) Update zbits after conversion rate change

Robin Murphy (1):
ARM: 8165/1: alignment: don't break misaligned NEON load/store

Roger Quadros (1):
ARM: dts: dra7-evm: Fix NAND GPMC timings

Ronald Wahl (1):
carl9170: fix sending URBs with wrong type when using full-speed

Ross Lagerwall (1):
xen/manage: Always freeze/thaw processes when suspend/resuming

Russell King (2):
imx-drm: ipuv3-plane: fix ipu_plane_dpms()
imx-drm: imx-ldb: fix NULL pointer in imx_ldb_unbind()

Sagi Grimberg (2):
Target/iser: Get isert_conn reference once got to connected_handler Target/iser: Don't put isert_conn inside disconnected handler

Scot Doyle (1):
drm/i915: Ignore VBT backlight presence check on Acer C720 (4005U)

Sebastian Herbszt (1):
target: Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE

Sergei Shtylyov (3):
Revert "i2c: rcar: remove spinlock"
i2c: rcar: fix MNR interrupt handling
i2c: rcar: fix RCAR_IRQ_ACK_{RECV|SEND}

Shawn Guo (2):
ARM: imx: fix TLB missing of IOMUXC base address during suspend
ARM: imx: fix .is_enabled() of shared gate clock

Simon Lindgren (1):
i2c: at91: Fix a race condition during signal handling in at91_do_twi_xfer.

Srinivas Pandruvada (9):

      gpio / ACPI: Use pin index and bit length
      iio:trigger: modify return value for iio_trigger_get
      iio: accel: bma180: Fix indio_dev->trig assignment
      iio: hid_sensor_hub: Fix indio_dev->trig assignment
      iio: gyro: itg3200: Fix indio_dev->trig assignment
      iio: inv_mpu6050: Fix indio_dev->trig assignment
      iio: meter: ade7758: Fix indio_dev->trig assignment
      iio: st_sensors: Fix indio_dev->trig assignment
      iio: adc: ad_sigma_delta: Fix indio_dev->trig assignment

Stefan Bader (1):
x86/xen: don't copy bogus duplicate entries into kernel page tables

Stephen Boyd (5):
cpufreq: OPP: Avoid sleeping while atomic
ARM: 8149/1: perf: Don't sleep while atomic when enabling per-cpu interrupts
clk: qcom: Fix MN frequency tables, parent map, and jpegd
clk: qcom: mdp_lut_clk is a child of mdp_src
clk: qcom: Fix PLL rate configurations

Stephen Hemminger (1):
USB: sisusb: add device id for Magic Control USB video

Stephen Warren (1):
drm/tegra: add MODULE_DEVICE_TABLEs

Steve Dickson (1):
NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists()

Steve French (1):
SMB3: Fix oops when creating symlinks on smb3

Steven Rostedt (Red Hat) (4):
ftrace: Use current addr when converting to nop in __ftrace_replace_code()
ftrace: Allow ftrace_ops to use the hashes from other ops
ftrace: Fix function_profiler and function tracer together
ftrace: Update all ftrace_ops for a ftrace_hash_ops update

Subbaraya Sundeep Bhatta (1):
iio: adc: xilinx-xadc: assign auxiliary channels address correctly

Sudeep Holla (2):
arm64: use irq_set_affinity with force=false when migrating irqs
ARM: 8133/1: use irq_set_affinity with force=false when migrating irqs

Suman Tripathi (1):
ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver.

Takashi Iwai (3):
ALSA: hda - Fix digital mic on Acer Aspire 3830TG
ALSA: hda - Fix COEF setups for ALC1150 codec
ALSA: hda - Fix invalid pin powermap without jack detection

Takashi Sakamoto (2):
ALSA: dice: fix wrong channel mappping at higher sampling rate
ALSA: firewire-lib/dice: add arrangements of PCM pointer and interrupts for Dice quirk

Tang Chen (1):
memblock, memhotplug: fix wrong type in memblock_find_in_range_node().

Taylor Braun-Jones (1):
USB: ftdi_sio: Add support for GE Healthcare Nemo Tracker device

Tejun Heo (4):
libata: widen Crucial M550 blacklist matching
workqueue: apply __WQ_ORDERED to create_singlethread_workqueue()
percpu: fix pcpu_alloc_pages() failure path
percpu: perform tlb flush after pcpu_map_pages() failure

Tero Kristo (1):
clk: prevent erronous parsing of children during rate change

Tetsuo Handa (5):
drm/ttm: Fix possible division by 0 in ttm_dma_pool_shrink_scan(). drm/ttm: Choose a pool to shrink correctly in ttm_dma_pool_shrink_scan(). drm/ttm: Use mutex_trylock() to avoid deadlock inside shrinker functions. drm/ttm: Fix possible stack overflow by recursive shrinker calls. drm/ttm: Pass GFP flags in order to avoid deadlock.

Theodore Ts'o (2):
ext4: propagate errors up to ext4_find_entry()'s callers
ext4: avoid trying to kfree an ERR_PTR pointer

Thierry Reding (1):
usb: phy: tegra: Avoid use of sizeof(void)

Thomas Gleixner (1):

      futex: Unlock hb->lock in futex_wait_requeue_pi() error path

Thomas Hellstrom (1):
drm/vmwgfx: Fix a potential infinite spin waiting for fifo idle

Thomas Pugliese (1):
uwb: init beacon cache entry before registering uwb device

Tom Lendacky (1):
crypto: ccp - Check for CCP before registering crypto algs

Tony Lindgren (2):
usb: phy: twl4030-usb: Fix lost interrupts after ID pin goes down
usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps

Toshiaki Makita (1):
cfq-iosched: Fix wrong children_weight calculation

Trond Myklebust (2):
NFSv4: Fix another bug in the close/open_downgrade code
lockdep: Revert lockdep check in raw_seqcount_begin()

Ulf Hansson (1):
mmc: mmci: Reverse IRQ handling for the arm_variant

Varun Sethi (1):
iommu/fsl: Fix warning resulting from adding PCI device twice

Ville Syrjälä (4):
drm/i915: Skip load detect when intel_crtc->new_enable==true drm/i915: Fix locking for intel_enable_pipe_a() drm/i915: Fix lock dropping in intel_tv_detect() drm/i915: Wait for vblank before enabling the TV encoder

Viresh Kumar (1):
cpufreq: update 'cpufreq_suspended' after stopping governors

Wanpeng Li (1):
sched: Fix unreleased llc_shared_mask bit during CPU hotplug

Weston Andros Adamson (14):
nfs: move nfs_pgio_data and remove nfs_rw_header
nfs: rename members of nfs_pgio_data
nfs: merge nfs_pgio_data into _header
nfs: remove pgio_header refcount, related cleanup
nfs: check wait_on_bit_lock err in page_group_lock
pnfs: add pnfs_put_lseg_async
nfs: clear_request_commit while holding i_lock
nfs: change nfs_page_group_lock argument
nfs: fix nonblocking calls to nfs_page_group_lock
nfs: use blocking page_group_lock in add_request
nfs: fix error handling in lock_and_join_requests
nfs: don't sleep with inode lock in lock_and_join_requests
nfs: disallow duplicate pages in pgio page vectors
nfs: can_coalesce_requests must enforce contiguity

Will Deacon (2):
arm64: flush TLS registers during exec
arm64: ptrace: fix compat hardware watchpoint reporting

Y.C. Chen (2):
drm/ast: open key before detect chips drm/ast: AST2000 cannot be detected correctly

Zefan Li (1):
cgroup: fix unbalanced locking

Zhaowei Yuan (1):
media: vb2: fix plane index sanity check in vb2_plane_cookie()

Zhiqiang Zhang (1):
arm: armv7: perf: fix armv7 ref-cycles error

addy ke (2):
i2c: rk3x: fix bug that cause transfer fails in master receive mode
i2c: rk3x: fix divisor calculation for SCL frequency

author maintainer
#1 lore raw
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt +7 -5
index 1486497a24c1..ce6a1a072028 100644
@@ -4,11 +4,13 @@ Specifying interrupt information for devices
 1) Interrupt client nodes
 -------------------------
 
-Nodes that describe devices which generate interrupts must contain an either an
-"interrupts" property or an "interrupts-extended" property. These properties
-contain a list of interrupt specifiers, one per output interrupt. The format of
-the interrupt specifier is determined by the interrupt controller to which the
-interrupts are routed; see section 2 below for details.
+Nodes that describe devices which generate interrupts must contain an
+"interrupts" property, an "interrupts-extended" property, or both. If both are
+present, the latter should take precedence; the former may be provided simply
+for compatibility with software that does not recognize the latter. These
+properties contain a list of interrupt specifiers, one per output interrupt. The
+format of the interrupt specifier is determined by the interrupt controller to
+which the interrupts are routed; see section 2 below for details.
 
   Example:
 	interrupt-parent = <&intc1>;
Documentation/devicetree/bindings/staging/imx-drm/ldb.txt +13 -2
index 578a1fca366e..443bcb6134d5 100644
@@ -56,6 +56,9 @@ Required properties:
  - fsl,data-width : should be <18> or <24>
  - port: A port node with endpoint definitions as defined in
    Documentation/devicetree/bindings/media/video-interfaces.txt.
+   On i.MX5, the internal two-input-multiplexer is used.
+   Due to hardware limitations, only one port (port@[0,1])
+   can be used for each channel (lvds-channel@[0,1], respectively)
    On i.MX6, there should be four ports (port@[0-3]) that correspond
    to the four LVDS multiplexer inputs.
 
@@ -78,6 +81,8 @@ ldb: ldb@53fa8008 {
 		      "di0", "di1";
 
 	lvds-channel@0 {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <0>;
 		fsl,data-mapping = "spwg";
 		fsl,data-width = <24>;
@@ -86,7 +91,9 @@ ldb: ldb@53fa8008 {
 			/* ... */
 		};
 
-		port {
+		port@0 {
+			reg = <0>;
+
 			lvds0_in: endpoint {
 				remote-endpoint = <&ipu_di0_lvds0>;
 			};
@@ -94,6 +101,8 @@ ldb: ldb@53fa8008 {
 	};
 
 	lvds-channel@1 {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		reg = <1>;
 		fsl,data-mapping = "spwg";
 		fsl,data-width = <24>;
@@ -102,7 +111,9 @@ ldb: ldb@53fa8008 {
 			/* ... */
 		};
 
-		port {
+		port@1 {
+			reg = <1>;
+
 			lvds1_in: endpoint {
 				remote-endpoint = <&ipu_di1_lvds1>;
 			};
Documentation/kernel-parameters.txt +1 -0
index b7fa2f599459..f896f68a3ba3 100644
@@ -3478,6 +3478,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 					bogus residue values);
 				s = SINGLE_LUN (the device has only one
 					Logical Unit);
+				u = IGNORE_UAS (don't bind to the uas driver);
 				w = NO_WP_DETECT (don't test whether the
 					medium is write-protected).
 			Example: quirks=0419:aaf5:rl,0421:0433:rc
Makefile +1 -1
index 9b25a830a9d7..e75c75f0ec35 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 16
-SUBLEVEL = 3
+SUBLEVEL = 4
 EXTRAVERSION =
 NAME = Museum of Fishiegoodies
 
arch/arm/boot/dts/dra7-evm.dts +19 -22

54 lines not on this page · raw message

arch/arm/boot/dts/dra7.dtsi +8 -8
index 80127638b379..f21ef396902f 100644
@@ -172,7 +172,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio2: gpio@48055000 {
@@ -183,7 +183,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio3: gpio@48057000 {
@@ -194,7 +194,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio4: gpio@48059000 {
@@ -205,7 +205,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio5: gpio@4805b000 {
@@ -216,7 +216,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio6: gpio@4805d000 {
@@ -227,7 +227,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio7: gpio@48051000 {
@@ -238,7 +238,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		gpio8: gpio@48053000 {
@@ -249,7 +249,7 @@
 			gpio-controller;
 			#gpio-cells = <2>;
 			interrupt-controller;
-			#interrupt-cells = <1>;
+			#interrupt-cells = <2>;
 		};
 
 		uart1: serial@4806a000 {
arch/arm/boot/dts/imx53-qsrb.dts +8 -0
index f1bbf9a32991..82d623d05915 100644
@@ -28,6 +28,12 @@
 				MX53_PAD_CSI0_DAT9__I2C1_SCL      0x400001ec
 			>;
 		};
+
+		pinctrl_pmic: pmicgrp {
+			fsl,pins = <
+				MX53_PAD_CSI0_DAT5__GPIO5_23	0x1e4 /* IRQ */
+			>;
+		};
 	};
 };
 
@@ -38,6 +44,8 @@
 
 	pmic: mc34708@8 {
 		compatible = "fsl,mc34708";
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_pmic>;
 		reg = <0x08>;
 		interrupt-parent = <&gpio5>;
 		interrupts = <23 0x8>;
arch/arm/boot/dts/imx53.dtsi +11 -3
index 6456a0084388..7d42db36d6bb 100644
@@ -419,10 +419,14 @@
 				status = "disabled";
 
 				lvds-channel@0 {
+					#address-cells = <1>;
+					#size-cells = <0>;
 					reg = <0>;
 					status = "disabled";
 
-					port {
+					port@0 {
+						reg = <0>;
+
 						lvds0_in: endpoint {
 							remote-endpoint = <&ipu_di0_lvds0>;
 						};
@@ -430,10 +434,14 @@
 				};
 
 				lvds-channel@1 {
+					#address-cells = <1>;
+					#size-cells = <0>;
 					reg = <1>;
 					status = "disabled";
 
-					port {
+					port@1 {
+						reg = <1>;
+
 						lvds1_in: endpoint {
 							remote-endpoint = <&ipu_di1_lvds1>;
 						};
@@ -724,7 +732,7 @@
 				compatible = "fsl,imx53-vpu";
 				reg = <0x63ff4000 0x1000>;
 				interrupts = <9>;
-				clocks = <&clks IMX5_CLK_VPU_GATE>,
+				clocks = <&clks IMX5_CLK_VPU_REFERENCE_GATE>,
 				         <&clks IMX5_CLK_VPU_GATE>;
 				clock-names = "per", "ahb";
 				resets = <&src 1>;
arch/arm/boot/dts/vf610-twr.dts +1 -1
index 11d733406c7e..b8a5e8c68f06 100644
@@ -168,7 +168,7 @@
 		};
 
 		pinctrl_esdhc1: esdhc1grp {
-			fsl,fsl,pins = <
+			fsl,pins = <
 				VF610_PAD_PTA24__ESDHC1_CLK	0x31ef
 				VF610_PAD_PTA25__ESDHC1_CMD	0x31ef
 				VF610_PAD_PTA26__ESDHC1_DAT0	0x31ef
arch/arm/common/edma.c +5 -4
index 485be42519b9..ea97e14e1f0b 100644
@@ -1415,14 +1415,14 @@ void edma_clear_event(unsigned channel)
 EXPORT_SYMBOL(edma_clear_event);
 
 static int edma_setup_from_hw(struct device *dev, struct edma_soc_info *pdata,
-			      struct edma *edma_cc)
+			      struct edma *edma_cc, int cc_id)
 {
 	int i;
 	u32 value, cccfg;
 	s8 (*queue_priority_map)[2];
 
 	/* Decode the eDMA3 configuration from CCCFG register */
-	cccfg = edma_read(0, EDMA_CCCFG);
+	cccfg = edma_read(cc_id, EDMA_CCCFG);
 
 	value = GET_NUM_REGN(cccfg);
 	edma_cc->num_region = BIT(value);
@@ -1436,7 +1436,8 @@ static int edma_setup_from_hw(struct device *dev, struct edma_soc_info *pdata,
 	value = GET_NUM_EVQUE(cccfg);
 	edma_cc->num_tc = value + 1;
 
-	dev_dbg(dev, "eDMA3 HW configuration (cccfg: 0x%08x):\n", cccfg);
+	dev_dbg(dev, "eDMA3 CC%d HW configuration (cccfg: 0x%08x):\n", cc_id,
+		cccfg);
 	dev_dbg(dev, "num_region: %u\n", edma_cc->num_region);
 	dev_dbg(dev, "num_channel: %u\n", edma_cc->num_channels);
 	dev_dbg(dev, "num_slot: %u\n", edma_cc->num_slots);
@@ -1655,7 +1656,7 @@ static int edma_probe(struct platform_device *pdev)
 			return -ENOMEM;
 
 		/* Get eDMA3 configuration from IP */
-		ret = edma_setup_from_hw(dev, info[j], edma_cc[j]);
+		ret = edma_setup_from_hw(dev, info[j], edma_cc[j], j);
 		if (ret)
 			return ret;
 
arch/arm/include/asm/cacheflush.h +0 -1
index fd43f7f55b70..79ecb4f34ffb 100644
@@ -472,7 +472,6 @@ static inline void __sync_cache_range_r(volatile void *p, size_t size)
 	"mcr	p15, 0, r0, c1, c0, 0	@ set SCTLR \n\t" \
 	"isb	\n\t" \
 	"bl	v7_flush_dcache_"__stringify(level)" \n\t" \
-	"clrex	\n\t" \
 	"mrc	p15, 0, r0, c1, c0, 1	@ get ACTLR \n\t" \
 	"bic	r0, r0, #(1 << 6)	@ disable local coherency \n\t" \
 	"mcr	p15, 0, r0, c1, c0, 1	@ set ACTLR \n\t" \
arch/arm/include/asm/tls.h +64 -0

81 lines not on this page · raw message

arch/arm/kernel/entry-header.S +15 -14
index 5d702f8900b1..0325dbf6e762 100644
@@ -208,26 +208,21 @@
 #endif
 	.endif
 	msr	spsr_cxsf, \rpsr
-#if defined(CONFIG_CPU_V6)
-	ldr	r0, [sp]
-	strex	r1, r2, [sp]			@ clear the exclusive monitor
-	ldmib	sp, {r1 - pc}^			@ load r1 - pc, cpsr
-#elif defined(CONFIG_CPU_32v6K)
-	clrex					@ clear the exclusive monitor
-	ldmia	sp, {r0 - pc}^			@ load r0 - pc, cpsr
-#else
-	ldmia	sp, {r0 - pc}^			@ load r0 - pc, cpsr
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
+	@ We must avoid clrex due to Cortex-A15 erratum #830321
+	sub	r0, sp, #4			@ uninhabited address
+	strex	r1, r2, [r0]			@ clear the exclusive monitor
 #endif
+	ldmia	sp, {r0 - pc}^			@ load r0 - pc, cpsr
 	.endm
 
 	.macro	restore_user_regs, fast = 0, offset = 0
 	ldr	r1, [sp, #\offset + S_PSR]	@ get calling cpsr
 	ldr	lr, [sp, #\offset + S_PC]!	@ get pc
 	msr	spsr_cxsf, r1			@ save in spsr_svc
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
+	@ We must avoid clrex due to Cortex-A15 erratum #830321
 	strex	r1, r2, [sp]			@ clear the exclusive monitor
-#elif defined(CONFIG_CPU_32v6K)
-	clrex					@ clear the exclusive monitor
 #endif
 	.if	\fast
 	ldmdb	sp, {r1 - lr}^			@ get calling r1 - lr
@@ -267,7 +262,10 @@
 	.endif
 	ldr	lr, [sp, #S_SP]			@ top of the stack
 	ldrd	r0, r1, [sp, #S_LR]		@ calling lr and pc
-	clrex					@ clear the exclusive monitor
+
+	@ We must avoid clrex due to Cortex-A15 erratum #830321
+	strex	r2, r1, [sp, #S_LR]		@ clear the exclusive monitor
+
 	stmdb	lr!, {r0, r1, \rpsr}		@ calling lr and rfe context
 	ldmia	sp, {r0 - r12}
 	mov	sp, lr
@@ -288,13 +286,16 @@
 	.endm
 #else	/* ifdef CONFIG_CPU_V7M */
 	.macro	restore_user_regs, fast = 0, offset = 0
-	clrex					@ clear the exclusive monitor
 	mov	r2, sp
 	load_user_sp_lr r2, r3, \offset + S_SP	@ calling sp, lr
 	ldr	r1, [sp, #\offset + S_PSR]	@ get calling cpsr
 	ldr	lr, [sp, #\offset + S_PC]	@ get pc
 	add	sp, sp, #\offset + S_SP
 	msr	spsr_cxsf, r1			@ save in spsr_svc
+
+	@ We must avoid clrex due to Cortex-A15 erratum #830321
+	strex	r1, r2, [sp]			@ clear the exclusive monitor
+
 	.if	\fast
 	ldmdb	sp, {r1 - r12}			@ get calling r1 - r12
 	.else
arch/arm/kernel/irq.c +1 -1
index 2c4257604513..5c4d38e32a51 100644
@@ -175,7 +175,7 @@ static bool migrate_one_irq(struct irq_desc *desc)
 	c = irq_data_get_irq_chip(d);
 	if (!c->irq_set_affinity)
 		pr_debug("IRQ%u: unable to set affinity\n", d->irq);
-	else if (c->irq_set_affinity(d, affinity, true) == IRQ_SET_MASK_OK && ret)
+	else if (c->irq_set_affinity(d, affinity, false) == IRQ_SET_MASK_OK && ret)
 		cpumask_copy(d->affinity, affinity);
 
 	return ret;
arch/arm/kernel/perf_event_cpu.c +4 -10
index af9e35e8836f..290ad8170d7a 100644
@@ -76,21 +76,15 @@ static struct pmu_hw_events *cpu_pmu_get_cpu_events(void)
 
 static void cpu_pmu_enable_percpu_irq(void *data)
 {
-	struct arm_pmu *cpu_pmu = data;
-	struct platform_device *pmu_device = cpu_pmu->plat_device;
-	int irq = platform_get_irq(pmu_device, 0);
+	int irq = *(int *)data;
 
 	enable_percpu_irq(irq, IRQ_TYPE_NONE);
-	cpumask_set_cpu(smp_processor_id(), &cpu_pmu->active_irqs);
 }
 
 static void cpu_pmu_disable_percpu_irq(void *data)
 {
-	struct arm_pmu *cpu_pmu = data;
-	struct platform_device *pmu_device = cpu_pmu->plat_device;
-	int irq = platform_get_irq(pmu_device, 0);
+	int irq = *(int *)data;
 
-	cpumask_clear_cpu(smp_processor_id(), &cpu_pmu->active_irqs);
 	disable_percpu_irq(irq);
 }
 
@@ -103,7 +97,7 @@ static void cpu_pmu_free_irq(struct arm_pmu *cpu_pmu)
 
 	irq = platform_get_irq(pmu_device, 0);
 	if (irq >= 0 && irq_is_percpu(irq)) {
-		on_each_cpu(cpu_pmu_disable_percpu_irq, cpu_pmu, 1);
+		on_each_cpu(cpu_pmu_disable_percpu_irq, &irq, 1);
 		free_percpu_irq(irq, &percpu_pmu);
 	} else {
 		for (i = 0; i < irqs; ++i) {
@@ -138,7 +132,7 @@ static int cpu_pmu_request_irq(struct arm_pmu *cpu_pmu, irq_handler_t handler)
 				irq);
 			return err;
 		}
-		on_each_cpu(cpu_pmu_enable_percpu_irq, cpu_pmu, 1);
+		on_each_cpu(cpu_pmu_enable_percpu_irq, &irq, 1);
 	} else {
 		for (i = 0; i < irqs; ++i) {
 			err = 0;
arch/arm/kernel/perf_event_v7.c +5 -0
index 1d37568c547a..ac8dc747264c 100644
@@ -157,6 +157,7 @@ static const unsigned armv7_a8_perf_map[PERF_COUNT_HW_MAX] = {
 	[PERF_COUNT_HW_BUS_CYCLES]		= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND]	= ARMV7_A8_PERFCTR_STALL_ISIDE,
 	[PERF_COUNT_HW_STALLED_CYCLES_BACKEND]	= HW_OP_UNSUPPORTED,
+	[PERF_COUNT_HW_REF_CPU_CYCLES]	= HW_OP_UNSUPPORTED,
 };
 
 static const unsigned armv7_a8_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
@@ -281,6 +282,7 @@ static const unsigned armv7_a9_perf_map[PERF_COUNT_HW_MAX] = {
 	[PERF_COUNT_HW_BUS_CYCLES]		= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND]	= ARMV7_A9_PERFCTR_STALL_ICACHE,
 	[PERF_COUNT_HW_STALLED_CYCLES_BACKEND]	= ARMV7_A9_PERFCTR_STALL_DISPATCH,
+	[PERF_COUNT_HW_REF_CPU_CYCLES]	= HW_OP_UNSUPPORTED,
 };
 
 static const unsigned armv7_a9_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
@@ -405,6 +407,7 @@ static const unsigned armv7_a5_perf_map[PERF_COUNT_HW_MAX] = {
 	[PERF_COUNT_HW_BUS_CYCLES]		= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND]	= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_BACKEND]	= HW_OP_UNSUPPORTED,
+	[PERF_COUNT_HW_REF_CPU_CYCLES] = HW_OP_UNSUPPORTED,
 };
 
 static const unsigned armv7_a5_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
@@ -527,6 +530,7 @@ static const unsigned armv7_a15_perf_map[PERF_COUNT_HW_MAX] = {
 	[PERF_COUNT_HW_BUS_CYCLES]		= ARMV7_PERFCTR_BUS_CYCLES,
 	[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND]	= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_BACKEND]	= HW_OP_UNSUPPORTED,
+	[PERF_COUNT_HW_REF_CPU_CYCLES] = HW_OP_UNSUPPORTED,
 };
 
 static const unsigned armv7_a15_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
@@ -651,6 +655,7 @@ static const unsigned armv7_a7_perf_map[PERF_COUNT_HW_MAX] = {
 	[PERF_COUNT_HW_BUS_CYCLES]		= ARMV7_PERFCTR_BUS_CYCLES,
 	[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND]	= HW_OP_UNSUPPORTED,
 	[PERF_COUNT_HW_STALLED_CYCLES_BACKEND]	= HW_OP_UNSUPPORTED,
+	[PERF_COUNT_HW_REF_CPU_CYCLES] = HW_OP_UNSUPPORTED,
 };
 
 static const unsigned armv7_a7_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
arch/arm/kernel/process.c +2 -0
index 81ef686a91ca..a35f6ebbd2c2 100644
@@ -334,6 +334,8 @@ void flush_thread(void)
 	memset(&tsk->thread.debug, 0, sizeof(struct debug_info));
 	memset(&thread->fpstate, 0, sizeof(union fp_state));
 
+	flush_tls();
+
 	thread_notify(THREAD_NOTIFY_FLUSH, thread);
 }
 
arch/arm/kernel/thumbee.c +1 -1
index 7b8403b76666..80f0d69205e7 100644
@@ -45,7 +45,7 @@ static int thumbee_notifier(struct notifier_block *self, unsigned long cmd, void
 
 	switch (cmd) {
 	case THREAD_NOTIFY_FLUSH:
-		thread->thumbee_state = 0;
+		teehbr_write(0);
 		break;
 	case THREAD_NOTIFY_SWITCH:
 		current_thread_info()->thumbee_state = teehbr_read();
arch/arm/kernel/traps.c +1 -16
index abd2fc067736..da11b28a72da 100644
@@ -579,7 +579,6 @@ do_cache_op(unsigned long start, unsigned long end, int flags)
 #define NR(x) ((__ARM_NR_##x) - __ARM_NR_BASE)
 asmlinkage int arm_syscall(int no, struct pt_regs *regs)
 {
-	struct thread_info *thread = current_thread_info();
 	siginfo_t info;
 
 	if ((no >> 16) != (__ARM_NR_BASE>> 16))
@@ -630,21 +629,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs)
 		return regs->ARM_r0;
 
 	case NR(set_tls):
-		thread->tp_value[0] = regs->ARM_r0;
-		if (tls_emu)
-			return 0;
-		if (has_tls_reg) {
-			asm ("mcr p15, 0, %0, c13, c0, 3"
-				: : "r" (regs->ARM_r0));
-		} else {
-			/*
-			 * User space must never try to access this directly.
-			 * Expect your app to break eventually if you do so.
-			 * The user helper at 0xffff0fe0 must be used instead.
-			 * (see entry-armv.S for details)
-			 */
-			*((unsigned int *)0xffff0ff0) = regs->ARM_r0;
-		}
+		set_tls(regs->ARM_r0);
 		return 0;
 
 #ifdef CONFIG_NEEDS_SYSCALL_FOR_CMPXCHG
arch/arm/kvm/handle_exit.c +2 -0
index 4c979d466cc1..a96a8043277c 100644
@@ -93,6 +93,8 @@ static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run)
 	else
 		kvm_vcpu_block(vcpu);
 
+	kvm_skip_instr(vcpu, kvm_vcpu_trap_il_is32bit(vcpu));
+
 	return 1;
 }
 
arch/arm/kvm/init.S +4 -0
index 1b9844d369cc..ee4f7447a1d3 100644
@@ -98,6 +98,10 @@ __do_hyp_init:
 	mrc	p15, 0, r0, c10, c2, 1
 	mcr	p15, 4, r0, c10, c2, 1
 
+	@ Invalidate the stale TLBs from Bootloader
+	mcr	p15, 4, r0, c8, c7, 0	@ TLBIALLH
+	dsb	ish
+
 	@ Set the HSCTLR to:
 	@  - ARM/THUMB exceptions: Kernel config (Thumb-2 kernel)
 	@  - Endianness: Kernel config
arch/arm/mach-exynos/mcpm-exynos.c +0 -1
index ace0ed617476..25ef73278a26 100644
@@ -39,7 +39,6 @@
 	"mcr	p15, 0, r0, c1, c0, 0	@ set SCTLR\n\t" \
 	"isb\n\t"\
 	"bl	v7_flush_dcache_"__stringify(level)"\n\t" \
-	"clrex\n\t"\
 	"mrc	p15, 0, r0, c1, c0, 1	@ get ACTLR\n\t" \
 	"bic	r0, r0, #(1 << 6)	@ disable local coherency\n\t" \
 	/* Dummy Load of a device register to avoid Erratum 799270 */ \
arch/arm/mach-imx/clk-gate2.c +1 -5
index 84acdfd1d715..5a75cdc81891 100644
@@ -97,7 +97,7 @@ static int clk_gate2_is_enabled(struct clk_hw *hw)
 	struct clk_gate2 *gate = to_clk_gate2(hw);
 
 	if (gate->share_count)
-		return !!(*gate->share_count);
+		return !!__clk_get_enable_count(hw->clk);
 	else
 		return clk_gate2_reg_is_enabled(gate->reg, gate->bit_idx);
 }
@@ -127,10 +127,6 @@ struct clk *clk_register_gate2(struct device *dev, const char *name,
 	gate->bit_idx = bit_idx;
 	gate->flags = clk_gate2_flags;
 	gate->lock = lock;
-
-	/* Initialize share_count per hardware state */
-	if (share_count)
-		*share_count = clk_gate2_reg_is_enabled(reg, bit_idx) ? 1 : 0;
 	gate->share_count = share_count;
 
 	init.name = name;
arch/arm/mach-imx/suspend-imx6.S +2 -0
index fe123b079c05..87bdf7a629a5 100644
@@ -172,6 +172,8 @@ ENTRY(imx6_suspend)
 	ldr	r6, [r11, #0x0]
 	ldr	r11, [r0, #PM_INFO_MX6Q_GPC_V_OFFSET]
 	ldr	r6, [r11, #0x0]
+	ldr	r11, [r0, #PM_INFO_MX6Q_IOMUXC_V_OFFSET]
+	ldr	r6, [r11, #0x0]
 
 	/* use r11 to store the IO address */
 	ldr	r11, [r0, #PM_INFO_MX6Q_SRC_V_OFFSET]
arch/arm/mach-omap2/omap_hwmod.c +3 -0
index da1b256caccc..8fd87a3055bf 100644
@@ -3349,6 +3349,9 @@ int __init omap_hwmod_register_links(struct omap_hwmod_ocp_if **ois)
 	if (!ois)
 		return 0;
 
+	if (ois[0] == NULL) /* Empty list */
+		return 0;
+
 	if (!linkspace) {
 		if (_alloc_linkspace(ois)) {
 			pr_err("omap_hwmod: could not allocate link space\n");
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +20 -2
index 284324f2b98a..c95033c1029b 100644
@@ -35,6 +35,7 @@
 #include "i2c.h"
 #include "mmc.h"
 #include "wd_timer.h"
+#include "soc.h"
 
 /* Base offset for all DRA7XX interrupts external to MPUSS */
 #define DRA7XX_IRQ_GIC_START	32
@@ -2705,7 +2706,6 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
 	&dra7xx_l4_per3__usb_otg_ss1,
 	&dra7xx_l4_per3__usb_otg_ss2,
 	&dra7xx_l4_per3__usb_otg_ss3,
-	&dra7xx_l4_per3__usb_otg_ss4,
 	&dra7xx_l3_main_1__vcp1,
 	&dra7xx_l4_per2__vcp1,
 	&dra7xx_l3_main_1__vcp2,
@@ -2714,8 +2714,26 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
 	NULL,
 };
 
+static struct omap_hwmod_ocp_if *dra74x_hwmod_ocp_ifs[] __initdata = {
+	&dra7xx_l4_per3__usb_otg_ss4,
+	NULL,
+};
+
+static struct omap_hwmod_ocp_if *dra72x_hwmod_ocp_ifs[] __initdata = {
+	NULL,
+};
+
 int __init dra7xx_hwmod_init(void)
 {
+	int ret;
+
 	omap_hwmod_init();
-	return omap_hwmod_register_links(dra7xx_hwmod_ocp_ifs);
+	ret = omap_hwmod_register_links(dra7xx_hwmod_ocp_ifs);
+
+	if (!ret && soc_is_dra74x())
+		return omap_hwmod_register_links(dra74x_hwmod_ocp_ifs);
+	else if (!ret && soc_is_dra72x())
+		return omap_hwmod_register_links(dra72x_hwmod_ocp_ifs);
+
+	return ret;
 }
arch/arm/mach-omap2/soc.h +6 -0
index 01ca8086fb6c..4376f59626d1 100644
@@ -245,6 +245,8 @@ IS_AM_SUBCLASS(437x, 0x437)
 #define soc_is_omap54xx()		0
 #define soc_is_omap543x()		0
 #define soc_is_dra7xx()			0
+#define soc_is_dra74x()			0
+#define soc_is_dra72x()			0
 
 #if defined(MULTI_OMAP2)
 # if defined(CONFIG_ARCH_OMAP2)
@@ -393,7 +395,11 @@ IS_OMAP_TYPE(3430, 0x3430)
 
 #if defined(CONFIG_SOC_DRA7XX)
 #undef soc_is_dra7xx
+#undef soc_is_dra74x
+#undef soc_is_dra72x
 #define soc_is_dra7xx()	(of_machine_is_compatible("ti,dra7"))
+#define soc_is_dra74x()	(of_machine_is_compatible("ti,dra74"))
+#define soc_is_dra72x()	(of_machine_is_compatible("ti,dra72"))
 #endif
 
 /* Various silicon revisions for omap2 */
arch/arm/mm/abort-ev6.S +0 -6
index 3815a8262af0..8c48c5c22a33 100644
@@ -17,12 +17,6 @@
  */
 	.align	5
 ENTRY(v6_early_abort)
-#ifdef CONFIG_CPU_V6
-	sub	r1, sp, #4			@ Get unused stack location
-	strex	r0, r1, [r1]			@ Clear the exclusive monitor
-#elif defined(CONFIG_CPU_32v6K)
-	clrex
-#endif
 	mrc	p15, 0, r1, c5, c0, 0		@ get FSR
 	mrc	p15, 0, r0, c6, c0, 0		@ get FAR
 /*
arch/arm/mm/abort-ev7.S +0 -6
index 703375277ba6..4812ad054214 100644
@@ -13,12 +13,6 @@
  */
 	.align	5
 ENTRY(v7_early_abort)
-	/*
-	 * The effect of data aborts on on the exclusive access monitor are
-	 * UNPREDICTABLE. Do a CLREX to clear the state
-	 */
-	clrex
-
 	mrc	p15, 0, r1, c5, c0, 0		@ get FSR
 	mrc	p15, 0, r0, c6, c0, 0		@ get FAR
 
arch/arm/mm/alignment.c +3 -0
index b8cb1a2688a0..33ca98085cd5 100644
@@ -41,6 +41,7 @@
  * This code is not portable to processors with late data abort handling.
  */
 #define CODING_BITS(i)	(i & 0x0e000000)
+#define COND_BITS(i)	(i & 0xf0000000)
 
 #define LDST_I_BIT(i)	(i & (1 << 26))		/* Immediate constant	*/
 #define LDST_P_BIT(i)	(i & (1 << 24))		/* Preindex		*/
@@ -819,6 +820,8 @@ do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
 		break;
 
 	case 0x04000000:	/* ldr or str immediate */
+		if (COND_BITS(instr) == 0xf0000000) /* NEON VLDn, VSTn */
+			goto bad;
 		offset.un = OFFSET_BITS(instr);
 		handler = do_alignment_ldrstr;
 		break;
arch/arm64/include/asm/hw_breakpoint.h +0 -1
index d064047612b1..52b484b6aa1a 100644
@@ -79,7 +79,6 @@ static inline void decode_ctrl_reg(u32 reg,
  */
 #define ARM_MAX_BRP		16
 #define ARM_MAX_WRP		16
-#define ARM_MAX_HBP_SLOTS	(ARM_MAX_BRP + ARM_MAX_WRP)
 
 /* Virtual debug register bases. */
 #define AARCH64_DBG_REG_BVR	0
arch/arm64/include/asm/ptrace.h +1 -1
index 501000fadb6f..41ed9e13795e 100644
@@ -137,7 +137,7 @@ struct pt_regs {
 	(!((regs)->pstate & PSR_F_BIT))
 
 #define user_stack_pointer(regs) \
-	(!compat_user_mode(regs)) ? ((regs)->sp) : ((regs)->compat_sp)
+	(!compat_user_mode(regs) ? (regs)->sp : (regs)->compat_sp)
 
 static inline unsigned long regs_return_value(struct pt_regs *regs)
 {
arch/arm64/kernel/irq.c +4 -8
index 0f08dfd69ebc..dfa6e3e74fdd 100644
@@ -97,19 +97,15 @@ static bool migrate_one_irq(struct irq_desc *desc)
 	if (irqd_is_per_cpu(d) || !cpumask_test_cpu(smp_processor_id(), affinity))
 		return false;
 
-	if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids)
+	if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) {
+		affinity = cpu_online_mask;
 		ret = true;
+	}
 
-	/*
-	 * when using forced irq_set_affinity we must ensure that the cpu
-	 * being offlined is not present in the affinity mask, it may be
-	 * selected as the target CPU otherwise
-	 */
-	affinity = cpu_online_mask;
 	c = irq_data_get_irq_chip(d);
 	if (!c->irq_set_affinity)
 		pr_debug("IRQ%u: unable to set affinity\n", d->irq);
-	else if (c->irq_set_affinity(d, affinity, true) == IRQ_SET_MASK_OK && ret)
+	else if (c->irq_set_affinity(d, affinity, false) == IRQ_SET_MASK_OK && ret)
 		cpumask_copy(d->affinity, affinity);
 
 	return ret;
arch/arm64/kernel/process.c +18 -0
index 43b7c34f92cb..7b0827ae402d 100644
@@ -224,9 +224,27 @@ void exit_thread(void)
 {
 }
 
+static void tls_thread_flush(void)
+{
+	asm ("msr tpidr_el0, xzr");
+
+	if (is_compat_task()) {
+		current->thread.tp_value = 0;
+
+		/*
+		 * We need to ensure ordering between the shadow state and the
+		 * hardware state, so that we don't corrupt the hardware state
+		 * with a stale shadow state during context switch.
+		 */
+		barrier();
+		asm ("msr tpidrro_el0, xzr");
+	}
+}
+
 void flush_thread(void)
 {
 	fpsimd_flush_thread();
+	tls_thread_flush();
 	flush_ptrace_hw_breakpoint(current);
 }
 
arch/arm64/kernel/ptrace.c +2 -1
index 9fde010c945f..167c5edecad4 100644
@@ -85,7 +85,8 @@ static void ptrace_hbptriggered(struct perf_event *bp,
 			break;
 		}
 	}
-	for (i = ARM_MAX_BRP; i < ARM_MAX_HBP_SLOTS && !bp; ++i) {
+
+	for (i = 0; i < ARM_MAX_WRP; ++i) {
 		if (current->thread.debug.hbp_watch[i] == bp) {
 			info.si_errno = -((i << 1) + 1);
 			break;
arch/arm64/kernel/sys_compat.c +6 -0
index 26e9c4eeaba8..78039927c807 100644
@@ -79,6 +79,12 @@ long compat_arm_syscall(struct pt_regs *regs)
 
 	case __ARM_NR_compat_set_tls:
 		current->thread.tp_value = regs->regs[0];
+
+		/*
+		 * Protect against register corruption from context switch.
+		 * See comment in tls_thread_flush.
+		 */
+		barrier();
 		asm ("msr tpidrro_el0, %0" : : "r" (regs->regs[0]));
 		return 0;
 
arch/arm64/kvm/handle_exit.c +2 -0
index 182415e1a952..2ca885c3eb0f 100644
@@ -66,6 +66,8 @@ static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run)
 	else
 		kvm_vcpu_block(vcpu);
 
+	kvm_skip_instr(vcpu, kvm_vcpu_trap_il_is32bit(vcpu));
+
 	return 1;
 }
 
arch/arm64/kvm/hyp-init.S +4 -0
index d968796f4b2d..c3191168a994 100644
@@ -80,6 +80,10 @@ __do_hyp_init:
 	msr	mair_el2, x4
 	isb
 
+	/* Invalidate the stale TLBs from Bootloader */
+	tlbi	alle2
+	dsb	sy
+
 	mrs	x4, sctlr_el2
 	and	x4, x4, #SCTLR_EL2_EE	// preserve endianness of EL2
 	ldr	x5, =SCTLR_EL2_FLAGS
arch/mips/boot/compressed/decompress.c +1 -0
index c00c4ddf4514..5244cecf1e45 100644
@@ -13,6 +13,7 @@
 
 #include <linux/types.h>
 #include <linux/kernel.h>
+#include <linux/string.h>
 
 #include <asm/addrspace.h>
 
arch/mips/kernel/mcount.S +12 -0
index 539b6294b613..8f89ff4ed524 100644
@@ -123,7 +123,11 @@ NESTED(_mcount, PT_SIZE, ra)
 	 nop
 #endif
 	b	ftrace_stub
+#ifdef CONFIG_32BIT
+	 addiu sp, sp, 8
+#else
 	 nop
+#endif
 
 static_trace:
 	MCOUNT_SAVE_REGS
@@ -133,6 +137,9 @@ static_trace:
 	 move	a1, AT		/* arg2: parent's return address */
 
 	MCOUNT_RESTORE_REGS
+#ifdef CONFIG_32BIT
+	addiu sp, sp, 8
+#endif
 	.globl ftrace_stub
 ftrace_stub:
 	RETURN_BACK
@@ -177,6 +184,11 @@ NESTED(ftrace_graph_caller, PT_SIZE, ra)
 	jal	prepare_ftrace_return
 	 nop
 	MCOUNT_RESTORE_REGS
+#ifndef CONFIG_DYNAMIC_FTRACE
+#ifdef CONFIG_32BIT
+	addiu sp, sp, 8
+#endif
+#endif
 	RETURN_BACK
 	END(ftrace_graph_caller)
 
arch/mips/math-emu/cp1emu.c +3 -3
index bf0fc6b16ad9..7a4727795a70 100644
@@ -650,9 +650,9 @@ static inline int cop1_64bit(struct pt_regs *xcp)
 #define SIFROMREG(si, x)						\
 do {									\
 	if (cop1_64bit(xcp))						\
-		(si) = get_fpr32(&ctx->fpr[x], 0);			\
+		(si) = (int)get_fpr32(&ctx->fpr[x], 0);			\
 	else								\
-		(si) = get_fpr32(&ctx->fpr[(x) & ~1], (x) & 1);		\
+		(si) = (int)get_fpr32(&ctx->fpr[(x) & ~1], (x) & 1);	\
 } while (0)
 
 #define SITOREG(si, x)							\
@@ -667,7 +667,7 @@ do {									\
 	}								\
 } while (0)
 
-#define SIFROMHREG(si, x)	((si) = get_fpr32(&ctx->fpr[x], 1))
+#define SIFROMHREG(si, x)	((si) = (int)get_fpr32(&ctx->fpr[x], 1))
 
 #define SITOHREG(si, x)							\
 do {									\
arch/parisc/Makefile +6 -1
index 7187664034c3..5db8882f732c 100644
@@ -48,7 +48,12 @@ cflags-y	:= -pipe
 
 # These flags should be implied by an hppa-linux configuration, but they
 # are not in gcc 3.2.
-cflags-y	+= -mno-space-regs -mfast-indirect-calls
+cflags-y	+= -mno-space-regs
+
+# -mfast-indirect-calls is only relevant for 32-bit kernels.
+ifndef CONFIG_64BIT
+cflags-y	+= -mfast-indirect-calls
+endif
 
 # Currently we save and restore fpregs on all kernel entry/interruption paths.
 # If that gets optimized, we might need to disable the use of fpregs in the
arch/parisc/kernel/syscall.S +229 -4

257 lines not on this page · raw message

arch/powerpc/include/asm/ptrace.h +7 -0
index 279b80f3bb29..c0c61fa9cd9e 100644
@@ -47,6 +47,12 @@
 				 STACK_FRAME_OVERHEAD + KERNEL_REDZONE_SIZE)
 #define STACK_FRAME_MARKER	12
 
+#if defined(_CALL_ELF) && _CALL_ELF == 2
+#define STACK_FRAME_MIN_SIZE	32
+#else
+#define STACK_FRAME_MIN_SIZE	STACK_FRAME_OVERHEAD
+#endif
+
 /* Size of dummy stack frame allocated when calling signal handler. */
 #define __SIGNAL_FRAMESIZE	128
 #define __SIGNAL_FRAMESIZE32	64
@@ -60,6 +66,7 @@
 #define STACK_FRAME_REGS_MARKER	ASM_CONST(0x72656773)
 #define STACK_INT_FRAME_SIZE	(sizeof(struct pt_regs) + STACK_FRAME_OVERHEAD)
 #define STACK_FRAME_MARKER	2
+#define STACK_FRAME_MIN_SIZE	STACK_FRAME_OVERHEAD
 
 /* Size of stack frame allocated when calling signal handler. */
 #define __SIGNAL_FRAMESIZE	64
arch/powerpc/include/asm/spinlock.h +1 -0
index 35aa339410bd..4dbe072eecbe 100644
@@ -61,6 +61,7 @@ static __always_inline int arch_spin_value_unlocked(arch_spinlock_t lock)
 
 static inline int arch_spin_is_locked(arch_spinlock_t *lock)
 {
+	smp_mb();
 	return !arch_spin_value_unlocked(*lock);
 }
 
arch/powerpc/lib/locks.c +4 -0
index 0c9c8d7d0734..170a0346f756 100644
@@ -70,12 +70,16 @@ void __rw_yield(arch_rwlock_t *rw)
 
 void arch_spin_unlock_wait(arch_spinlock_t *lock)
 {
+	smp_mb();
+
 	while (lock->slock) {
 		HMT_low();
 		if (SHARED_PROCESSOR)
 			__spin_yield(lock);
 	}
 	HMT_medium();
+
+	smp_mb();
 }
 
 EXPORT_SYMBOL(arch_spin_unlock_wait);
arch/powerpc/perf/callchain.c +1 -1
index 74d1e780748b..2396dda282cd 100644
@@ -35,7 +35,7 @@ static int valid_next_sp(unsigned long sp, unsigned long prev_sp)
 		return 0;		/* must be 16-byte aligned */
 	if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD))
 		return 0;
-	if (sp >= prev_sp + STACK_FRAME_OVERHEAD)
+	if (sp >= prev_sp + STACK_FRAME_MIN_SIZE)
 		return 1;
 	/*
 	 * sp could decrease when we jump off an interrupt stack
arch/s390/include/asm/pgtable.h +4 -2
index fcba5e03839f..8904e1282562 100644
@@ -1115,7 +1115,7 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
 					    unsigned long addr, pte_t *ptep)
 {
 	pgste_t pgste;
-	pte_t pte;
+	pte_t pte, oldpte;
 	int young;
 
 	if (mm_has_pgste(vma->vm_mm)) {
@@ -1123,12 +1123,13 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
 		pgste = pgste_ipte_notify(vma->vm_mm, ptep, pgste);
 	}
 
-	pte = *ptep;
+	oldpte = pte = *ptep;
 	ptep_flush_direct(vma->vm_mm, addr, ptep);
 	young = pte_young(pte);
 	pte = pte_mkold(pte);
 
 	if (mm_has_pgste(vma->vm_mm)) {
+		pgste = pgste_update_all(&oldpte, pgste, vma->vm_mm);
 		pgste = pgste_set_pte(ptep, pgste, pte);
 		pgste_set_unlock(ptep, pgste);
 	} else
@@ -1318,6 +1319,7 @@ static inline int ptep_set_access_flags(struct vm_area_struct *vma,
 	ptep_flush_direct(vma->vm_mm, address, ptep);
 
 	if (mm_has_pgste(vma->vm_mm)) {
+		pgste_set_key(ptep, pgste, entry, vma->vm_mm);
 		pgste = pgste_set_pte(ptep, pgste, entry);
 		pgste_set_unlock(ptep, pgste);
 	} else
arch/s390/kvm/kvm-s390.c +0 -13
index 2f3e14fe91a4..0eaf87281f45 100644
@@ -1286,19 +1286,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
 
 	kvm_s390_vcpu_start(vcpu);
 
-	switch (kvm_run->exit_reason) {
-	case KVM_EXIT_S390_SIEIC:
-	case KVM_EXIT_UNKNOWN:
-	case KVM_EXIT_INTR:
-	case KVM_EXIT_S390_RESET:
-	case KVM_EXIT_S390_UCONTROL:
-	case KVM_EXIT_S390_TSCH:
-	case KVM_EXIT_DEBUG:
-		break;
-	default:
-		BUG();
-	}
-
 	vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask;
 	vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr;
 	if (kvm_run->kvm_dirty_regs & KVM_SYNC_PREFIX) {
arch/s390/mm/pgtable.c +10 -0
index f90ad8592b36..98eeb823342c 100644
@@ -986,11 +986,21 @@ int set_guest_storage_key(struct mm_struct *mm, unsigned long addr,
 	pte_t *ptep;
 
 	down_read(&mm->mmap_sem);
+retry:
 	ptep = get_locked_pte(current->mm, addr, &ptl);
 	if (unlikely(!ptep)) {
 		up_read(&mm->mmap_sem);
 		return -EFAULT;
 	}
+	if (!(pte_val(*ptep) & _PAGE_INVALID) &&
+	     (pte_val(*ptep) & _PAGE_PROTECT)) {
+			pte_unmap_unlock(*ptep, ptl);
+			if (fixup_user_fault(current, mm, addr, FAULT_FLAG_WRITE)) {
+				up_read(&mm->mmap_sem);
+				return -EFAULT;
+			}
+			goto retry;
+		}
 
 	new = old = pgste_get_lock(ptep);
 	pgste_val(new) &= ~(PGSTE_GR_BIT | PGSTE_GC_BIT |
arch/x86/boot/compressed/aslr.c +15 -0
index fc6091abedb7..d39189ba7f8e 100644
@@ -183,12 +183,27 @@ static void mem_avoid_init(unsigned long input, unsigned long input_size,
 static bool mem_avoid_overlap(struct mem_vector *img)
 {
 	int i;
+	struct setup_data *ptr;
 
 	for (i = 0; i < MEM_AVOID_MAX; i++) {
 		if (mem_overlaps(img, &mem_avoid[i]))
 			return true;
 	}
 
+	/* Avoid all entries in the setup_data linked list. */
+	ptr = (struct setup_data *)(unsigned long)real_mode->hdr.setup_data;
+	while (ptr) {
+		struct mem_vector avoid;
+
+		avoid.start = (u64)ptr;
+		avoid.size = sizeof(*ptr) + ptr->len;
+
+		if (mem_overlaps(img, &avoid))
+			return true;
+
+		ptr = (struct setup_data *)(unsigned long)ptr->next;
+	}
+
 	return false;
 }
 
arch/x86/include/asm/fixmap.h +3 -3
index b0910f97a3ea..ffb1733ac91f 100644
@@ -106,14 +106,14 @@ enum fixed_addresses {
 	__end_of_permanent_fixed_addresses,
 
 	/*
-	 * 256 temporary boot-time mappings, used by early_ioremap(),
+	 * 512 temporary boot-time mappings, used by early_ioremap(),
 	 * before ioremap() is functional.
 	 *
-	 * If necessary we round it up to the next 256 pages boundary so
+	 * If necessary we round it up to the next 512 pages boundary so
 	 * that we can have a single pgd entry and a single pte table:
 	 */
 #define NR_FIX_BTMAPS		64
-#define FIX_BTMAPS_SLOTS	4
+#define FIX_BTMAPS_SLOTS	8
 #define TOTAL_FIX_BTMAPS	(NR_FIX_BTMAPS * FIX_BTMAPS_SLOTS)
 	FIX_BTMAP_END =
 	 (__end_of_permanent_fixed_addresses ^
arch/x86/include/asm/pgtable_64.h +1 -0
index 5be9063545d2..3874693c0e53 100644
@@ -19,6 +19,7 @@ extern pud_t level3_ident_pgt[512];
 extern pmd_t level2_kernel_pgt[512];
 extern pmd_t level2_fixmap_pgt[512];
 extern pmd_t level2_ident_pgt[512];
+extern pte_t level1_fixmap_pgt[512];
 extern pgd_t init_level4_pgt[];
 
 #define swapper_pg_dir init_level4_pgt
arch/x86/kernel/smpboot.c +3 -0
index 5492798930ef..215815b6407c 100644
@@ -1292,6 +1292,9 @@ static void remove_siblinginfo(int cpu)
 
 	for_each_cpu(sibling, cpu_sibling_mask(cpu))
 		cpumask_clear_cpu(cpu, cpu_sibling_mask(sibling));
+	for_each_cpu(sibling, cpu_llc_shared_mask(cpu))
+		cpumask_clear_cpu(cpu, cpu_llc_shared_mask(sibling));
+	cpumask_clear(cpu_llc_shared_mask(cpu));
 	cpumask_clear(cpu_sibling_mask(cpu));
 	cpumask_clear(cpu_core_mask(cpu));
 	c->phys_proc_id = 0;
arch/x86/xen/mmu.c +12 -15
index e8a1201c3293..16fb0099b7f2 100644
@@ -1866,12 +1866,11 @@ static void __init check_pt_base(unsigned long *pt_base, unsigned long *pt_end,
  *
  * We can construct this by grafting the Xen provided pagetable into
  * head_64.S's preconstructed pagetables.  We copy the Xen L2's into
- * level2_ident_pgt, level2_kernel_pgt and level2_fixmap_pgt.  This
- * means that only the kernel has a physical mapping to start with -
- * but that's enough to get __va working.  We need to fill in the rest
- * of the physical mapping once some sort of allocator has been set
- * up.
- * NOTE: for PVH, the page tables are native.
+ * level2_ident_pgt, and level2_kernel_pgt.  This means that only the
+ * kernel has a physical mapping to start with - but that's enough to
+ * get __va working.  We need to fill in the rest of the physical
+ * mapping once some sort of allocator has been set up.  NOTE: for
+ * PVH, the page tables are native.
  */
 void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn)
 {
@@ -1902,8 +1901,11 @@ void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn)
 		/* L3_i[0] -> level2_ident_pgt */
 		convert_pfn_mfn(level3_ident_pgt);
 		/* L3_k[510] -> level2_kernel_pgt
-		 * L3_i[511] -> level2_fixmap_pgt */
+		 * L3_k[511] -> level2_fixmap_pgt */
 		convert_pfn_mfn(level3_kernel_pgt);
+
+		/* L3_k[511][506] -> level1_fixmap_pgt */
+		convert_pfn_mfn(level2_fixmap_pgt);
 	}
 	/* We get [511][511] and have Xen's version of level2_kernel_pgt */
 	l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd);
@@ -1913,21 +1915,15 @@ void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn)
 	addr[1] = (unsigned long)l3;
 	addr[2] = (unsigned long)l2;
 	/* Graft it onto L4[272][0]. Note that we creating an aliasing problem:
-	 * Both L4[272][0] and L4[511][511] have entries that point to the same
+	 * Both L4[272][0] and L4[511][510] have entries that point to the same
 	 * L2 (PMD) tables. Meaning that if you modify it in __va space
 	 * it will be also modified in the __ka space! (But if you just
 	 * modify the PMD table to point to other PTE's or none, then you
 	 * are OK - which is what cleanup_highmap does) */
 	copy_page(level2_ident_pgt, l2);
-	/* Graft it onto L4[511][511] */
+	/* Graft it onto L4[511][510] */
 	copy_page(level2_kernel_pgt, l2);
 
-	/* Get [511][510] and graft that in level2_fixmap_pgt */
-	l3 = m2v(pgd[pgd_index(__START_KERNEL_map + PMD_SIZE)].pgd);
-	l2 = m2v(l3[pud_index(__START_KERNEL_map + PMD_SIZE)].pud);
-	copy_page(level2_fixmap_pgt, l2);
-	/* Note that we don't do anything with level1_fixmap_pgt which
-	 * we don't need. */
 	if (!xen_feature(XENFEAT_auto_translated_physmap)) {
 		/* Make pagetable pieces RO */
 		set_page_prot(init_level4_pgt, PAGE_KERNEL_RO);
@@ -1937,6 +1933,7 @@ void __init xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn)
 		set_page_prot(level2_ident_pgt, PAGE_KERNEL_RO);
 		set_page_prot(level2_kernel_pgt, PAGE_KERNEL_RO);
 		set_page_prot(level2_fixmap_pgt, PAGE_KERNEL_RO);
+		set_page_prot(level1_fixmap_pgt, PAGE_KERNEL_RO);
 
 		/* Pin down new L4 */
 		pin_pagetable_pfn(MMUEXT_PIN_L4_TABLE,
arch/xtensa/include/asm/pgtable.h +6 -1
index 4b0ca35a93b1..b2173e5da601 100644
@@ -67,7 +67,12 @@
 #define VMALLOC_START		0xC0000000
 #define VMALLOC_END		0xC7FEFFFF
 #define TLBTEMP_BASE_1		0xC7FF0000
-#define TLBTEMP_BASE_2		0xC7FF8000
+#define TLBTEMP_BASE_2		(TLBTEMP_BASE_1 + DCACHE_WAY_SIZE)
+#if 2 * DCACHE_WAY_SIZE > ICACHE_WAY_SIZE
+#define TLBTEMP_SIZE		(2 * DCACHE_WAY_SIZE)
+#else
+#define TLBTEMP_SIZE		ICACHE_WAY_SIZE
+#endif
 
 /*
  * For the Xtensa architecture, the PTE layout is as follows:
arch/xtensa/include/asm/uaccess.h +5 -0
index fd686dc45d1a..c7211e7e182d 100644
@@ -52,7 +52,12 @@
  */
 	.macro	get_fs	ad, sp
 	GET_CURRENT(\ad,\sp)
+#if THREAD_CURRENT_DS > 1020
+	addi	\ad, \ad, TASK_THREAD
+	l32i	\ad, \ad, THREAD_CURRENT_DS - TASK_THREAD
+#else
 	l32i	\ad, \ad, THREAD_CURRENT_DS
+#endif
 	.endm
 
 /*
arch/xtensa/include/uapi/asm/ioctls.h +10 -9
index b4cb1100c0fb..a47909f0c34b 100644
@@ -28,17 +28,17 @@
 #define TCSETSW		0x5403
 #define TCSETSF		0x5404
 
-#define TCGETA		_IOR('t', 23, struct termio)
-#define TCSETA		_IOW('t', 24, struct termio)
-#define TCSETAW		_IOW('t', 25, struct termio)
-#define TCSETAF		_IOW('t', 28, struct termio)
+#define TCGETA		0x80127417	/* _IOR('t', 23, struct termio) */
+#define TCSETA		0x40127418	/* _IOW('t', 24, struct termio) */
+#define TCSETAW		0x40127419	/* _IOW('t', 25, struct termio) */
+#define TCSETAF		0x4012741C	/* _IOW('t', 28, struct termio) */
 
 #define TCSBRK		_IO('t', 29)
 #define TCXONC		_IO('t', 30)
 #define TCFLSH		_IO('t', 31)
 
-#define TIOCSWINSZ	_IOW('t', 103, struct winsize)
-#define TIOCGWINSZ	_IOR('t', 104, struct winsize)
+#define TIOCSWINSZ	0x40087467	/* _IOW('t', 103, struct winsize) */
+#define TIOCGWINSZ	0x80087468	/* _IOR('t', 104, struct winsize) */
 #define	TIOCSTART	_IO('t', 110)		/* start output, like ^Q */
 #define	TIOCSTOP	_IO('t', 111)		/* stop output, like ^S */
 #define TIOCOUTQ        _IOR('t', 115, int)     /* output queue size */
@@ -88,7 +88,6 @@
 #define TIOCSETD	_IOW('T', 35, int)
 #define TIOCGETD	_IOR('T', 36, int)
 #define TCSBRKP		_IOW('T', 37, int)   /* Needed for POSIX tcsendbreak()*/
-#define TIOCTTYGSTRUCT	_IOR('T', 38, struct tty_struct) /* For debugging only*/
 #define TIOCSBRK	_IO('T', 39) 	     /* BSD compatibility */
 #define TIOCCBRK	_IO('T', 40)	     /* BSD compatibility */
 #define TIOCGSID	_IOR('T', 41, pid_t) /* Return the session ID of FD*/
@@ -114,8 +113,10 @@
 #define TIOCSERGETLSR   _IOR('T', 89, unsigned int) /* Get line status reg. */
   /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
 # define TIOCSER_TEMT    0x01		     /* Transmitter physically empty */
-#define TIOCSERGETMULTI _IOR('T', 90, struct serial_multiport_struct) /* Get multiport config  */
-#define TIOCSERSETMULTI _IOW('T', 91, struct serial_multiport_struct) /* Set multiport config */
+#define TIOCSERGETMULTI 0x80a8545a /* Get multiport config  */
+			/* _IOR('T', 90, struct serial_multiport_struct) */
+#define TIOCSERSETMULTI 0x40a8545b /* Set multiport config */
+			/* _IOW('T', 91, struct serial_multiport_struct) */
 
 #define TIOCMIWAIT	_IO('T', 92) /* wait for a change on serial input line(s) */
 #define TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
arch/xtensa/kernel/entry.S +14 -12
index ef7f4990722b..a06b7efaae82 100644
@@ -1001,9 +1001,8 @@ ENTRY(fast_syscall_xtensa)
 	movi	a7, 4			# sizeof(unsigned int)
 	access_ok a3, a7, a0, a2, .Leac	# a0: scratch reg, a2: sp
 
-	addi	a6, a6, -1		# assuming SYS_XTENSA_ATOMIC_SET = 1
-	_bgeui	a6, SYS_XTENSA_COUNT - 1, .Lill
-	_bnei	a6, SYS_XTENSA_ATOMIC_CMP_SWP - 1, .Lnswp
+	_bgeui	a6, SYS_XTENSA_COUNT, .Lill
+	_bnei	a6, SYS_XTENSA_ATOMIC_CMP_SWP, .Lnswp
 
 	/* Fall through for ATOMIC_CMP_SWP. */
 
@@ -1015,27 +1014,26 @@ TRY	s32i	a5, a3, 0		# different, modify value
 	l32i	a7, a2, PT_AREG7	# restore a7
 	l32i	a0, a2, PT_AREG0	# restore a0
 	movi	a2, 1			# and return 1
-	addi	a6, a6, 1		# restore a6 (really necessary?)
 	rfe
 
 1:	l32i	a7, a2, PT_AREG7	# restore a7
 	l32i	a0, a2, PT_AREG0	# restore a0
 	movi	a2, 0			# return 0 (note that we cannot set
-	addi	a6, a6, 1		# restore a6 (really necessary?)
 	rfe
 
 .Lnswp:	/* Atomic set, add, and exg_add. */
 
 TRY	l32i	a7, a3, 0		# orig
+	addi	a6, a6, -SYS_XTENSA_ATOMIC_SET
 	add	a0, a4, a7		# + arg
 	moveqz	a0, a4, a6		# set
+	addi	a6, a6, SYS_XTENSA_ATOMIC_SET
 TRY	s32i	a0, a3, 0		# write new value
 
 	mov	a0, a2
 	mov	a2, a7
 	l32i	a7, a0, PT_AREG7	# restore a7
 	l32i	a0, a0, PT_AREG0	# restore a0
-	addi	a6, a6, 1		# restore a6 (really necessary?)
 	rfe
 
 CATCH
@@ -1044,7 +1042,7 @@ CATCH
 	movi	a2, -EFAULT
 	rfe
 
-.Lill:	l32i	a7, a2, PT_AREG0	# restore a7
+.Lill:	l32i	a7, a2, PT_AREG7	# restore a7
 	l32i	a0, a2, PT_AREG0	# restore a0
 	movi	a2, -EINVAL
 	rfe
@@ -1565,7 +1563,7 @@ ENTRY(fast_second_level_miss)
 	rsr	a0, excvaddr
 	bltu	a0, a3, 2f
 
-	addi	a1, a0, -(2 << (DCACHE_ALIAS_ORDER + PAGE_SHIFT))
+	addi	a1, a0, -TLBTEMP_SIZE
 	bgeu	a1, a3, 2f
 
 	/* Check if we have to restore an ITLB mapping. */
@@ -1820,7 +1818,6 @@ ENTRY(_switch_to)
 
 	entry	a1, 16
 
-	mov	a10, a2			# preserve 'prev' (a2)
 	mov	a11, a3			# and 'next' (a3)
 
 	l32i	a4, a2, TASK_THREAD_INFO
@@ -1828,8 +1825,14 @@ ENTRY(_switch_to)
 
 	save_xtregs_user a4 a6 a8 a9 a12 a13 THREAD_XTREGS_USER
 
-	s32i	a0, a10, THREAD_RA	# save return address
-	s32i	a1, a10, THREAD_SP	# save stack pointer
+#if THREAD_RA > 1020 || THREAD_SP > 1020
+	addi	a10, a2, TASK_THREAD
+	s32i	a0, a10, THREAD_RA - TASK_THREAD	# save return address
+	s32i	a1, a10, THREAD_SP - TASK_THREAD	# save stack pointer
+#else
+	s32i	a0, a2, THREAD_RA	# save return address
+	s32i	a1, a2, THREAD_SP	# save stack pointer
+#endif
 
 	/* Disable ints while we manipulate the stack pointer. */
 
@@ -1870,7 +1873,6 @@ ENTRY(_switch_to)
 	load_xtregs_user a5 a6 a8 a9 a12 a13 THREAD_XTREGS_USER
 
 	wsr	a14, ps
-	mov	a2, a10			# return 'prev'
 	rsync
 
 	retw
arch/xtensa/kernel/pci-dma.c +6 -6
index 2d9cc6dbfd78..e8b76b8e4b29 100644
@@ -49,9 +49,8 @@ dma_alloc_coherent(struct device *dev,size_t size,dma_addr_t *handle,gfp_t flag)
 
 	/* We currently don't support coherent memory outside KSEG */
 
-	if (ret < XCHAL_KSEG_CACHED_VADDR
-	    || ret >= XCHAL_KSEG_CACHED_VADDR + XCHAL_KSEG_SIZE)
-		BUG();
+	BUG_ON(ret < XCHAL_KSEG_CACHED_VADDR ||
+	       ret > XCHAL_KSEG_CACHED_VADDR + XCHAL_KSEG_SIZE - 1);
 
 
 	if (ret != 0) {
@@ -68,10 +67,11 @@ EXPORT_SYMBOL(dma_alloc_coherent);
 void dma_free_coherent(struct device *hwdev, size_t size,
 			 void *vaddr, dma_addr_t dma_handle)
 {
-	long addr=(long)vaddr+XCHAL_KSEG_CACHED_VADDR-XCHAL_KSEG_BYPASS_VADDR;
+	unsigned long addr = (unsigned long)vaddr +
+		XCHAL_KSEG_CACHED_VADDR - XCHAL_KSEG_BYPASS_VADDR;
 
-	if (addr < 0 || addr >= XCHAL_KSEG_SIZE)
-		BUG();
+	BUG_ON(addr < XCHAL_KSEG_CACHED_VADDR ||
+	       addr > XCHAL_KSEG_CACHED_VADDR + XCHAL_KSEG_SIZE - 1);
 
 	free_pages(addr, get_order(size));
 }
block/blk-mq.c +3 -1
index ad69ef657e85..06ac59f5bb5a 100644
@@ -219,7 +219,6 @@ __blk_mq_alloc_request(struct blk_mq_alloc_data *data, int rw)
 	if (tag != BLK_MQ_TAG_FAIL) {
 		rq = data->hctx->tags->rqs[tag];
 
-		rq->cmd_flags = 0;
 		if (blk_mq_tag_busy(data->hctx)) {
 			rq->cmd_flags = REQ_MQ_INFLIGHT;
 			atomic_inc(&data->hctx->nr_active);
@@ -274,6 +273,7 @@ static void __blk_mq_free_request(struct blk_mq_hw_ctx *hctx,
 
 	if (rq->cmd_flags & REQ_MQ_INFLIGHT)
 		atomic_dec(&hctx->nr_active);
+	rq->cmd_flags = 0;
 
 	clear_bit(REQ_ATOM_STARTED, &rq->atomic_flags);
 	blk_mq_put_tag(hctx, tag, &ctx->last_tag);
@@ -1411,6 +1411,8 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set,
 		left -= to_do * rq_size;
 		for (j = 0; j < to_do; j++) {
 			tags->rqs[i] = p;
+			tags->rqs[i]->atomic_flags = 0;
+			tags->rqs[i]->cmd_flags = 0;
 			if (set->ops->init_request) {
 				if (set->ops->init_request(set->driver_data,
 						tags->rqs[i], hctx_idx, i,
block/cfq-iosched.c +8 -3
index cadc37841744..d7494637c5db 100644
@@ -1275,12 +1275,16 @@ __cfq_group_service_tree_add(struct cfq_rb_root *st, struct cfq_group *cfqg)
 static void
 cfq_update_group_weight(struct cfq_group *cfqg)
 {
-	BUG_ON(!RB_EMPTY_NODE(&cfqg->rb_node));
-
 	if (cfqg->new_weight) {
 		cfqg->weight = cfqg->new_weight;
 		cfqg->new_weight = 0;
 	}
+}
+
+static void
+cfq_update_group_leaf_weight(struct cfq_group *cfqg)
+{
+	BUG_ON(!RB_EMPTY_NODE(&cfqg->rb_node));
 
 	if (cfqg->new_leaf_weight) {
 		cfqg->leaf_weight = cfqg->new_leaf_weight;
@@ -1299,7 +1303,7 @@ cfq_group_service_tree_add(struct cfq_rb_root *st, struct cfq_group *cfqg)
 	/* add to the service tree */
 	BUG_ON(!RB_EMPTY_NODE(&cfqg->rb_node));
 
-	cfq_update_group_weight(cfqg);
+	cfq_update_group_leaf_weight(cfqg);
 	__cfq_group_service_tree_add(st, cfqg);
 
 	/*
@@ -1323,6 +1327,7 @@ cfq_group_service_tree_add(struct cfq_rb_root *st, struct cfq_group *cfqg)
 	 */
 	while ((parent = cfqg_parent(pos))) {
 		if (propagate) {
+			cfq_update_group_weight(pos);
 			propagate = !parent->nr_active++;
 			parent->children_weight += pos->weight;
 		}
block/genhd.c +14 -12
index 791f41943132..e6723bd4d7a1 100644
@@ -28,10 +28,10 @@ struct kobject *block_depr;
 /* for extended dynamic devt allocation, currently only one major is used */
 #define NR_EXT_DEVT		(1 << MINORBITS)
 
-/* For extended devt allocation.  ext_devt_mutex prevents look up
+/* For extended devt allocation.  ext_devt_lock prevents look up
  * results from going away underneath its user.
  */
-static DEFINE_MUTEX(ext_devt_mutex);
+static DEFINE_SPINLOCK(ext_devt_lock);
 static DEFINE_IDR(ext_devt_idr);
 
 static struct device_type disk_type;
@@ -420,9 +420,13 @@ int blk_alloc_devt(struct hd_struct *part, dev_t *devt)
 	}
 
 	/* allocate ext devt */
-	mutex_lock(&ext_devt_mutex);
-	idx = idr_alloc(&ext_devt_idr, part, 0, NR_EXT_DEVT, GFP_KERNEL);
-	mutex_unlock(&ext_devt_mutex);
+	idr_preload(GFP_KERNEL);
+
+	spin_lock(&ext_devt_lock);
+	idx = idr_alloc(&ext_devt_idr, part, 0, NR_EXT_DEVT, GFP_NOWAIT);
+	spin_unlock(&ext_devt_lock);
+
+	idr_preload_end();
 	if (idx < 0)
 		return idx == -ENOSPC ? -EBUSY : idx;
 
@@ -441,15 +445,13 @@ int blk_alloc_devt(struct hd_struct *part, dev_t *devt)
  */
 void blk_free_devt(dev_t devt)
 {
-	might_sleep();
-
 	if (devt == MKDEV(0, 0))
 		return;
 
 	if (MAJOR(devt) == BLOCK_EXT_MAJOR) {
-		mutex_lock(&ext_devt_mutex);
+		spin_lock(&ext_devt_lock);
 		idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt)));
-		mutex_unlock(&ext_devt_mutex);
+		spin_unlock(&ext_devt_lock);
 	}
 }
 
@@ -665,7 +667,6 @@ void del_gendisk(struct gendisk *disk)
 		sysfs_remove_link(block_depr, dev_name(disk_to_dev(disk)));
 	pm_runtime_set_memalloc_noio(disk_to_dev(disk), false);
 	device_del(disk_to_dev(disk));
-	blk_free_devt(disk_to_dev(disk)->devt);
 }
 EXPORT_SYMBOL(del_gendisk);
 
@@ -690,13 +691,13 @@ struct gendisk *get_gendisk(dev_t devt, int *partno)
 	} else {
 		struct hd_struct *part;
 
-		mutex_lock(&ext_devt_mutex);
+		spin_lock(&ext_devt_lock);
 		part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt)));
 		if (part && get_disk(part_to_disk(part))) {
 			*partno = part->partno;
 			disk = part_to_disk(part);
 		}
-		mutex_unlock(&ext_devt_mutex);
+		spin_unlock(&ext_devt_lock);
 	}
 
 	return disk;
@@ -1098,6 +1099,7 @@ static void disk_release(struct device *dev)
 {
 	struct gendisk *disk = dev_to_disk(dev);
 
+	blk_free_devt(dev->devt);
 	disk_release_events(disk);
 	kfree(disk->random);
 	disk_replace_part_tbl(disk, NULL);
block/partition-generic.c +1 -1
index 789cdea05893..0d9e5f97f0a8 100644
@@ -211,6 +211,7 @@ static const struct attribute_group *part_attr_groups[] = {
 static void part_release(struct device *dev)
 {
 	struct hd_struct *p = dev_to_part(dev);
+	blk_free_devt(dev->devt);
 	free_part_stats(p);
 	free_part_info(p);
 	kfree(p);
@@ -253,7 +254,6 @@ void delete_partition(struct gendisk *disk, int partno)
 	rcu_assign_pointer(ptbl->last_lookup, NULL);
 	kobject_put(part->holder_dir);
 	device_del(part_to_dev(part));
-	blk_free_devt(part_devt(part));
 
 	hd_struct_put(part);
 }
block/partitions/aix.c +1 -1
index 43be471d9b1d..0931f5136ab2 100644
@@ -253,7 +253,7 @@ int aix_partition(struct parsed_partitions *state)
 				continue;
 			}
 			lv_ix = be16_to_cpu(p->lv_ix) - 1;
-			if (lv_ix > state->limit) {
+			if (lv_ix >= state->limit) {
 				cur_lv_ix = -1;
 				continue;
 			}
drivers/acpi/acpi_cmos_rtc.c +1 -1
index 2da8660262e5..81dc75033f15 100644
@@ -33,7 +33,7 @@ acpi_cmos_rtc_space_handler(u32 function, acpi_physical_address address,
 		      void *handler_context, void *region_context)
 {
 	int i;
-	u8 *value = (u8 *)&value64;
+	u8 *value = (u8 *)value64;
 
 	if (address > 0xff || !value64)
 		return AE_BAD_PARAMETER;
drivers/acpi/acpi_lpss.c +5 -6
index 9cb65b0e7597..2f65b0969edb 100644
@@ -392,7 +392,6 @@ static int acpi_lpss_create_device(struct acpi_device *adev,
 	adev->driver_data = pdata;
 	pdev = acpi_create_platform_device(adev);
 	if (!IS_ERR_OR_NULL(pdev)) {
-		device_enable_async_suspend(&pdev->dev);
 		return 1;
 	}
 
@@ -583,7 +582,7 @@ static int acpi_lpss_suspend_late(struct device *dev)
 	return acpi_dev_suspend_late(dev);
 }
 
-static int acpi_lpss_restore_early(struct device *dev)
+static int acpi_lpss_resume_early(struct device *dev)
 {
 	int ret = acpi_dev_resume_early(dev);
 
@@ -623,15 +622,15 @@ static int acpi_lpss_runtime_resume(struct device *dev)
 static struct dev_pm_domain acpi_lpss_pm_domain = {
 	.ops = {
 #ifdef CONFIG_PM_SLEEP
-		.suspend_late = acpi_lpss_suspend_late,
-		.restore_early = acpi_lpss_restore_early,
 		.prepare = acpi_subsys_prepare,
 		.complete = acpi_subsys_complete,
 		.suspend = acpi_subsys_suspend,
-		.resume_early = acpi_subsys_resume_early,
+		.suspend_late = acpi_lpss_suspend_late,
+		.resume_early = acpi_lpss_resume_early,
 		.freeze = acpi_subsys_freeze,
 		.poweroff = acpi_subsys_suspend,
-		.poweroff_late = acpi_subsys_suspend_late,
+		.poweroff_late = acpi_lpss_suspend_late,
+		.restore_early = acpi_lpss_resume_early,
 #endif
 #ifdef CONFIG_PM_RUNTIME
 		.runtime_suspend = acpi_lpss_runtime_suspend,
drivers/acpi/acpica/aclocal.h +1 -0
index 91f801a2e689..494775a67ffa 100644
@@ -254,6 +254,7 @@ struct acpi_create_field_info {
 	u32 field_bit_position;
 	u32 field_bit_length;
 	u16 resource_length;
+	u16 pin_number_index;
 	u8 field_flags;
 	u8 attribute;
 	u8 field_type;
drivers/acpi/acpica/acobject.h +1 -0
index 22fb6449d3d6..8abb393dafab 100644
@@ -264,6 +264,7 @@ struct acpi_object_region_field {
 	ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO u16 resource_length;
 	union acpi_operand_object *region_obj;	/* Containing op_region object */
 	u8 *resource_buffer;	/* resource_template for serial regions/fields */
+	u16 pin_number_index;	/* Index relative to previous Connection/Template */
 };
 
 struct acpi_object_bank_field {
drivers/acpi/acpica/dsfield.c +2 -0
index 3661c8e90540..c57666196672 100644
@@ -360,6 +360,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
 			 */
 			info->resource_buffer = NULL;
 			info->connection_node = NULL;
+			info->pin_number_index = 0;
 
 			/*
 			 * A Connection() is either an actual resource descriptor (buffer)
@@ -437,6 +438,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
 			}
 
 			info->field_bit_position += info->field_bit_length;
+			info->pin_number_index++;	/* Index relative to previous Connection() */
 			break;
 
 		default:
drivers/acpi/acpica/evregion.c +31 -16

77 lines not on this page · raw message

drivers/acpi/acpica/exfield.c +67 -0

79 lines not on this page · raw message

drivers/acpi/acpica/exprep.c +2 -0
index ee3f872870bc..118e942005e5 100644
@@ -484,6 +484,8 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
 			obj_desc->field.resource_length = info->resource_length;
 		}
 
+		obj_desc->field.pin_number_index = info->pin_number_index;
+
 		/* Allow full data read from EC address space */
 
 		if ((obj_desc->field.region_obj->region.space_id ==
drivers/acpi/battery.c +0 -14
index 130f513e08c9..bc0b286ff2ba 100644
@@ -535,20 +535,6 @@ static int acpi_battery_get_state(struct acpi_battery *battery)
 			" invalid.\n");
 	}
 
-	/*
-	 * When fully charged, some batteries wrongly report
-	 * capacity_now = design_capacity instead of = full_charge_capacity
-	 */
-	if (battery->capacity_now > battery->full_charge_capacity
-	    && battery->full_charge_capacity != ACPI_BATTERY_VALUE_UNKNOWN) {
-		battery->capacity_now = battery->full_charge_capacity;
-		if (battery->capacity_now != battery->design_capacity)
-			printk_once(KERN_WARNING FW_BUG
-				"battery: reported current charge level (%d) "
-				"is higher than reported maximum charge level (%d).\n",
-				battery->capacity_now, battery->full_charge_capacity);
-	}
-
 	if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)
 	    && battery->capacity_now >= 0 && battery->capacity_now <= 100)
 		battery->capacity_now = (battery->capacity_now *
drivers/acpi/container.c +8 -0
index 76f7cff64594..c8ead9f97375 100644
@@ -99,6 +99,13 @@ static void container_device_detach(struct acpi_device *adev)
 		device_unregister(dev);
 }
 
+static void container_device_online(struct acpi_device *adev)
+{
+	struct device *dev = acpi_driver_data(adev);
+
+	kobject_uevent(&dev->kobj, KOBJ_ONLINE);
+}
+
 static struct acpi_scan_handler container_handler = {
 	.ids = container_device_ids,
 	.attach = container_device_attach,
@@ -106,6 +113,7 @@ static struct acpi_scan_handler container_handler = {
 	.hotplug = {
 		.enabled = true,
 		.demand_offline = true,
+		.notify_online = container_device_online,
 	},
 };
 
drivers/acpi/scan.c +4 -1
index 551f29127369..2e9ed9a4f13f 100644
@@ -128,7 +128,7 @@ static int create_modalias(struct acpi_device *acpi_dev, char *modalias,
 	list_for_each_entry(id, &acpi_dev->pnp.ids, list) {
 		count = snprintf(&modalias[len], size, "%s:", id->id);
 		if (count < 0)
-			return EINVAL;
+			return -EINVAL;
 		if (count >= size)
 			return -ENOMEM;
 		len += count;
@@ -2184,6 +2184,9 @@ static void acpi_bus_attach(struct acpi_device *device)
  ok:
 	list_for_each_entry(child, &device->children, node)
 		acpi_bus_attach(child);
+
+	if (device->handler && device->handler->hotplug.notify_online)
+		device->handler->hotplug.notify_online(device);
 }
 
 /**
drivers/acpi/video.c +8 -0
index 4834b4cae540..f1e3496c00c7 100644
@@ -675,6 +675,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T520"),
 		},
 	},
+	{
+	 .callback = video_disable_native_backlight,
+	 .ident = "ThinkPad X201s",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201s"),
+		},
+	},
 
 	/* The native backlight controls do not work on some older machines */
 	{
drivers/ata/ahci.c +10 -0
index 4cd52a4541a9..f0f8ae1197e2 100644
@@ -305,6 +305,14 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x9c85), board_ahci }, /* Wildcat Point-LP RAID */
 	{ PCI_VDEVICE(INTEL, 0x9c87), board_ahci }, /* Wildcat Point-LP RAID */
 	{ PCI_VDEVICE(INTEL, 0x9c8f), board_ahci }, /* Wildcat Point-LP RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c82), board_ahci }, /* 9 Series AHCI */
+	{ PCI_VDEVICE(INTEL, 0x8c83), board_ahci }, /* 9 Series AHCI */
+	{ PCI_VDEVICE(INTEL, 0x8c84), board_ahci }, /* 9 Series RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c85), board_ahci }, /* 9 Series RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c86), board_ahci }, /* 9 Series RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c87), board_ahci }, /* 9 Series RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c8e), board_ahci }, /* 9 Series RAID */
+	{ PCI_VDEVICE(INTEL, 0x8c8f), board_ahci }, /* 9 Series RAID */
 
 	/* JMicron 360/1/3/5/6, match class to avoid IDE function */
 	{ PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
@@ -442,6 +450,8 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, 0x917a),
 	  .driver_data = board_ahci_yes_fbs },			/* 88se9172 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, 0x9172),
+	  .driver_data = board_ahci_yes_fbs },			/* 88se9182 */
+	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, 0x9182),
 	  .driver_data = board_ahci_yes_fbs },			/* 88se9172 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, 0x9192),
 	  .driver_data = board_ahci_yes_fbs },			/* 88se9172 on some Gigabyte */
drivers/ata/ahci_xgene.c +2 -2
index ee3a3659bd9e..10d524699676 100644
@@ -337,7 +337,7 @@ static struct ata_port_operations xgene_ahci_ops = {
 };
 
 static const struct ata_port_info xgene_ahci_port_info = {
-	.flags = AHCI_FLAG_COMMON | ATA_FLAG_NCQ,
+	.flags = AHCI_FLAG_COMMON,
 	.pio_mask = ATA_PIO4,
 	.udma_mask = ATA_UDMA6,
 	.port_ops = &xgene_ahci_ops,
@@ -484,7 +484,7 @@ static int xgene_ahci_probe(struct platform_device *pdev)
 		goto disable_resources;
 	}
 
-	hflags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ;
+	hflags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_NO_NCQ;
 
 	rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info,
 				     hflags, 0, 0);
drivers/ata/ata_piix.c +8 -0
index 893e30e9a9ef..ffbe625e6fd2 100644
@@ -340,6 +340,14 @@ static const struct pci_device_id piix_pci_tbl[] = {
 	{ 0x8086, 0x0F21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_byt },
 	/* SATA Controller IDE (Coleto Creek) */
 	{ 0x8086, 0x23a6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
+	/* SATA Controller IDE (9 Series) */
+	{ 0x8086, 0x8c88, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_snb },
+	/* SATA Controller IDE (9 Series) */
+	{ 0x8086, 0x8c89, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_snb },
+	/* SATA Controller IDE (9 Series) */
+	{ 0x8086, 0x8c80, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
+	/* SATA Controller IDE (9 Series) */
+	{ 0x8086, 0x8c81, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
 
 	{ }	/* terminate list */
 };
drivers/ata/libata-core.c +1 -1
index 677c0c1b03bd..e7f30b59bc8b 100644
@@ -4227,7 +4227,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "Micron_M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 	{ "Crucial_CT???M500SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 	{ "Micron_M550*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
-	{ "Crucial_CT???M550SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Crucial_CT*M550SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 
 	/*
 	 * Some WD SATA-I drives spin up and down erratically when the link
drivers/ata/pata_scc.c +7 -8
index 4e006d74bef8..7f4cb76ed9fa 100644
@@ -585,7 +585,7 @@ static int scc_wait_after_reset(struct ata_link *link, unsigned int devmask,
  *	Note: Original code is ata_bus_softreset().
  */
 
-static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
+static int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
                                       unsigned long deadline)
 {
 	struct ata_ioports *ioaddr = &ap->ioaddr;
@@ -599,9 +599,7 @@ static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask,
 	udelay(20);
 	out_be32(ioaddr->ctl_addr, ap->ctl);
 
-	scc_wait_after_reset(&ap->link, devmask, deadline);
-
-	return 0;
+	return scc_wait_after_reset(&ap->link, devmask, deadline);
 }
 
 /**
@@ -618,7 +616,8 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,
 {
 	struct ata_port *ap = link->ap;
 	unsigned int slave_possible = ap->flags & ATA_FLAG_SLAVE_POSS;
-	unsigned int devmask = 0, err_mask;
+	unsigned int devmask = 0;
+	int rc;
 	u8 err;
 
 	DPRINTK("ENTER\n");
@@ -634,9 +633,9 @@ static int scc_softreset(struct ata_link *link, unsigned int *classes,
 
 	/* issue bus reset */
 	DPRINTK("about to softreset, devmask=%x\n", devmask);
-	err_mask = scc_bus_softreset(ap, devmask, deadline);
-	if (err_mask) {
-		ata_port_err(ap, "SRST failed (err_mask=0x%x)\n", err_mask);
+	rc = scc_bus_softreset(ap, devmask, deadline);
+	if (rc) {
+		ata_port_err(ap, "SRST failed (err_mask=0x%x)\n", rc);
 		return -EIO;
 	}
 
drivers/base/regmap/internal.h +3 -0
index 7d1326985bee..bfc90b8547f2 100644
@@ -146,6 +146,9 @@ struct regcache_ops {
 	enum regcache_type type;
 	int (*init)(struct regmap *map);
 	int (*exit)(struct regmap *map);
+#ifdef CONFIG_DEBUG_FS
+	void (*debugfs_init)(struct regmap *map);
+#endif
 	int (*read)(struct regmap *map, unsigned int reg, unsigned int *value);
 	int (*write)(struct regmap *map, unsigned int reg, unsigned int value);
 	int (*sync)(struct regmap *map, unsigned int min, unsigned int max);
drivers/base/regmap/regcache-rbtree.c +3 -6
index 6a7e4fa12854..f3e8fe0cc650 100644
@@ -194,10 +194,6 @@ static void rbtree_debugfs_init(struct regmap *map)
 {
 	debugfs_create_file("rbtree", 0400, map->debugfs, map, &rbtree_fops);
 }
-#else
-static void rbtree_debugfs_init(struct regmap *map)
-{
-}
 #endif
 
 static int regcache_rbtree_init(struct regmap *map)
@@ -222,8 +218,6 @@ static int regcache_rbtree_init(struct regmap *map)
 			goto err;
 	}
 
-	rbtree_debugfs_init(map);
-
 	return 0;
 
 err:
@@ -532,6 +526,9 @@ struct regcache_ops regcache_rbtree_ops = {
 	.name = "rbtree",
 	.init = regcache_rbtree_init,
 	.exit = regcache_rbtree_exit,
+#ifdef CONFIG_DEBUG_FS
+	.debugfs_init = rbtree_debugfs_init,
+#endif
 	.read = regcache_rbtree_read,
 	.write = regcache_rbtree_write,
 	.sync = regcache_rbtree_sync,
drivers/base/regmap/regcache.c +1 -1
index 29b4128da0b0..5617da6dc898 100644
@@ -698,7 +698,7 @@ int regcache_sync_block(struct regmap *map, void *block,
 			unsigned int block_base, unsigned int start,
 			unsigned int end)
 {
-	if (regmap_can_raw_write(map))
+	if (regmap_can_raw_write(map) && !map->use_single_rw)
 		return regcache_sync_block_raw(map, block, cache_present,
 					       block_base, start, end);
 	else
drivers/base/regmap/regmap-debugfs.c +3 -0
index 45d812c0ea77..65ea7b256b3e 100644
@@ -538,6 +538,9 @@ void regmap_debugfs_init(struct regmap *map, const char *name)
 
 		next = rb_next(&range_node->node);
 	}
+
+	if (map->cache_ops && map->cache_ops->debugfs_init)
+		map->cache_ops->debugfs_init(map);
 }
 
 void regmap_debugfs_exit(struct regmap *map)
drivers/base/regmap/regmap.c +1 -1
index 74d8c0672cf6..283644e5d31f 100644
@@ -109,7 +109,7 @@ bool regmap_readable(struct regmap *map, unsigned int reg)
 
 bool regmap_volatile(struct regmap *map, unsigned int reg)
 {
-	if (!regmap_readable(map, reg))
+	if (!map->format.format_write && !regmap_readable(map, reg))
 		return false;
 
 	if (map->volatile_reg)
drivers/char/hw_random/core.c +0 -6
index c4419ea1ab07..2a451b14b3cc 100644
@@ -68,12 +68,6 @@ static void add_early_randomness(struct hwrng *rng)
 	unsigned char bytes[16];
 	int bytes_read;
 
-	/*
-	 * Currently only virtio-rng cannot return data during device
-	 * probe, and that's handled in virtio-rng.c itself.  If there
-	 * are more such devices, this call to rng_get_data can be
-	 * made conditional here instead of doing it per-device.
-	 */
 	bytes_read = rng_get_data(rng, bytes, sizeof(bytes), 1);
 	if (bytes_read > 0)
 		add_device_randomness(bytes, bytes_read);
drivers/char/hw_random/virtio-rng.c +15 -19
index e9b15bc18b4d..f1aa13b21f74 100644
@@ -36,9 +36,9 @@ struct virtrng_info {
 	bool busy;
 	char name[25];
 	int index;
+	bool hwrng_register_done;
 };
 
-static bool probe_done;
 
 static void random_recv_done(struct virtqueue *vq)
 {
@@ -69,13 +69,6 @@ static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait)
 	int ret;
 	struct virtrng_info *vi = (struct virtrng_info *)rng->priv;
 
-	/*
-	 * Don't ask host for data till we're setup.  This call can
-	 * happen during hwrng_register(), after commit d9e7972619.
-	 */
-	if (unlikely(!probe_done))
-		return 0;
-
 	if (!vi->busy) {
 		vi->busy = true;
 		init_completion(&vi->have_data);
@@ -137,25 +130,17 @@ static int probe_common(struct virtio_device *vdev)
 		return err;
 	}
 
-	err = hwrng_register(&vi->hwrng);
-	if (err) {
-		vdev->config->del_vqs(vdev);
-		vi->vq = NULL;
-		kfree(vi);
-		ida_simple_remove(&rng_index_ida, index);
-		return err;
-	}
-
-	probe_done = true;
 	return 0;
 }
 
 static void remove_common(struct virtio_device *vdev)
 {
 	struct virtrng_info *vi = vdev->priv;
+
 	vdev->config->reset(vdev);
 	vi->busy = false;
-	hwrng_unregister(&vi->hwrng);
+	if (vi->hwrng_register_done)
+		hwrng_unregister(&vi->hwrng);
 	vdev->config->del_vqs(vdev);
 	ida_simple_remove(&rng_index_ida, vi->index);
 	kfree(vi);
@@ -171,6 +156,16 @@ static void virtrng_remove(struct virtio_device *vdev)
 	remove_common(vdev);
 }
 
+static void virtrng_scan(struct virtio_device *vdev)
+{
+	struct virtrng_info *vi = vdev->priv;
+	int err;
+
+	err = hwrng_register(&vi->hwrng);
+	if (!err)
+		vi->hwrng_register_done = true;
+}
+
 #ifdef CONFIG_PM_SLEEP
 static int virtrng_freeze(struct virtio_device *vdev)
 {
@@ -195,6 +190,7 @@ static struct virtio_driver virtio_rng_driver = {
 	.id_table =	id_table,
 	.probe =	virtrng_probe,
 	.remove =	virtrng_remove,
+	.scan =		virtrng_scan,
 #ifdef CONFIG_PM_SLEEP
 	.freeze =	virtrng_freeze,
 	.restore =	virtrng_restore,
drivers/clk/clk.c +6 -1
index 8b73edef151d..4cc83ef7ef61 100644
@@ -1495,6 +1495,7 @@ static struct clk *clk_propagate_rate_change(struct clk *clk, unsigned long even
 static void clk_change_rate(struct clk *clk)
 {
 	struct clk *child;
+	struct hlist_node *tmp;
 	unsigned long old_rate;
 	unsigned long best_parent_rate = 0;
 	bool skip_set_rate = false;
@@ -1530,7 +1531,11 @@ static void clk_change_rate(struct clk *clk)
 	if (clk->notifier_count && old_rate != clk->rate)
 		__clk_notify(clk, POST_RATE_CHANGE, old_rate, clk->rate);
 
-	hlist_for_each_entry(child, &clk->children, child_node) {
+	/*
+	 * Use safe iteration, as change_rate can actually swap parents
+	 * for certain clock types.
+	 */
+	hlist_for_each_entry_safe(child, tmp, &clk->children, child_node) {
 		/* Skip children who will be reparented to another clock */
 		if (child->new_parent && child->new_parent != clk)
 			continue;
drivers/clk/qcom/common.c +28 -11
index 9b5a1cfc6b91..eeb3eea01f4c 100644
@@ -27,30 +27,35 @@ struct qcom_cc {
 	struct clk *clks[];
 };
 
-int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
+struct regmap *
+qcom_cc_map(struct platform_device *pdev, const struct qcom_cc_desc *desc)
 {
 	void __iomem *base;
 	struct resource *res;
+	struct device *dev = &pdev->dev;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	base = devm_ioremap_resource(dev, res);
+	if (IS_ERR(base))
+		return ERR_CAST(base);
+
+	return devm_regmap_init_mmio(dev, base, desc->config);
+}
+EXPORT_SYMBOL_GPL(qcom_cc_map);
+
+int qcom_cc_really_probe(struct platform_device *pdev,
+			 const struct qcom_cc_desc *desc, struct regmap *regmap)
+{
 	int i, ret;
 	struct device *dev = &pdev->dev;
 	struct clk *clk;
 	struct clk_onecell_data *data;
 	struct clk **clks;
-	struct regmap *regmap;
 	struct qcom_reset_controller *reset;
 	struct qcom_cc *cc;
 	size_t num_clks = desc->num_clks;
 	struct clk_regmap **rclks = desc->clks;
 
-	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	base = devm_ioremap_resource(dev, res);
-	if (IS_ERR(base))
-		return PTR_ERR(base);
-
-	regmap = devm_regmap_init_mmio(dev, base, desc->config);
-	if (IS_ERR(regmap))
-		return PTR_ERR(regmap);
-
 	cc = devm_kzalloc(dev, sizeof(*cc) + sizeof(*clks) * num_clks,
 			  GFP_KERNEL);
 	if (!cc)
@@ -91,6 +96,18 @@ int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(qcom_cc_really_probe);
+
+int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
+{
+	struct regmap *regmap;
+
+	regmap = qcom_cc_map(pdev, desc);
+	if (IS_ERR(regmap))
+		return PTR_ERR(regmap);
+
+	return qcom_cc_really_probe(pdev, desc, regmap);
+}
 EXPORT_SYMBOL_GPL(qcom_cc_probe);
 
 void qcom_cc_remove(struct platform_device *pdev)
drivers/clk/qcom/common.h +6 -0
index 2c3cfc860348..2765e9d3da97 100644
@@ -17,6 +17,7 @@ struct platform_device;
 struct regmap_config;
 struct clk_regmap;
 struct qcom_reset_map;
+struct regmap;
 
 struct qcom_cc_desc {
 	const struct regmap_config *config;
@@ -26,6 +27,11 @@ struct qcom_cc_desc {
 	size_t num_resets;
 };
 
+extern struct regmap *qcom_cc_map(struct platform_device *pdev,
+				  const struct qcom_cc_desc *desc);
+extern int qcom_cc_really_probe(struct platform_device *pdev,
+				const struct qcom_cc_desc *desc,
+				struct regmap *regmap);
 extern int qcom_cc_probe(struct platform_device *pdev,
 			 const struct qcom_cc_desc *desc);
 
drivers/clk/qcom/mmcc-msm8960.c +43 -41

133 lines not on this page · raw message

drivers/clk/qcom/mmcc-msm8974.c +4 -6
index c65b90515872..bc8f519c47aa 100644
@@ -2547,18 +2547,16 @@ MODULE_DEVICE_TABLE(of, mmcc_msm8974_match_table);
 
 static int mmcc_msm8974_probe(struct platform_device *pdev)
 {
-	int ret;
 	struct regmap *regmap;
 
-	ret = qcom_cc_probe(pdev, &mmcc_msm8974_desc);
-	if (ret)
-		return ret;
+	regmap = qcom_cc_map(pdev, &mmcc_msm8974_desc);
+	if (IS_ERR(regmap))
+		return PTR_ERR(regmap);
 
-	regmap = dev_get_regmap(&pdev->dev, NULL);
 	clk_pll_configure_sr_hpm_lp(&mmpll1, regmap, &mmpll1_config, true);
 	clk_pll_configure_sr_hpm_lp(&mmpll3, regmap, &mmpll3_config, false);
 
-	return 0;
+	return qcom_cc_really_probe(pdev, &mmcc_msm8974_desc, regmap);
 }
 
 static int mmcc_msm8974_remove(struct platform_device *pdev)
drivers/clk/ti/clk-dra7-atl.c +5 -1
index 4a65b410e4d5..af29359677da 100644
@@ -139,9 +139,13 @@ static long atl_clk_round_rate(struct clk_hw *hw, unsigned long rate,
 static int atl_clk_set_rate(struct clk_hw *hw, unsigned long rate,
 			    unsigned long parent_rate)
 {
-	struct dra7_atl_desc *cdesc = to_atl_desc(hw);
+	struct dra7_atl_desc *cdesc;
 	u32 divider;
 
+	if (!hw || !rate)
+		return -EINVAL;
+
+	cdesc = to_atl_desc(hw);
 	divider = ((parent_rate + rate / 2) / rate) - 1;
 	if (divider > DRA7_ATL_DIVIDER_MASK)
 		divider = DRA7_ATL_DIVIDER_MASK;
drivers/clk/ti/divider.c +6 -1
index e6aa10db7bba..a837f703be65 100644
@@ -211,11 +211,16 @@ static long ti_clk_divider_round_rate(struct clk_hw *hw, unsigned long rate,
 static int ti_clk_divider_set_rate(struct clk_hw *hw, unsigned long rate,
 				   unsigned long parent_rate)
 {
-	struct clk_divider *divider = to_clk_divider(hw);
+	struct clk_divider *divider;
 	unsigned int div, value;
 	unsigned long flags = 0;
 	u32 val;
 
+	if (!hw || !rate)
+		return -EINVAL;
+
+	divider = to_clk_divider(hw);
+
 	div = DIV_ROUND_UP(parent_rate, rate);
 	value = _get_val(divider, div);
 
drivers/cpufreq/cpufreq.c +6 -3
index 6f024852c6fb..21ab8bcd4d20 100644
@@ -1279,6 +1279,8 @@ err_get_freq:
 		per_cpu(cpufreq_cpu_data, j) = NULL;
 	write_unlock_irqrestore(&cpufreq_driver_lock, flags);
 
+	up_write(&policy->rwsem);
+
 	if (cpufreq_driver->exit)
 		cpufreq_driver->exit(policy);
 err_set_policy_cpu:
@@ -1665,7 +1667,7 @@ void cpufreq_suspend(void)
 		return;
 
 	if (!has_target())
-		return;
+		goto suspend;
 
 	pr_debug("%s: Suspending Governors\n", __func__);
 
@@ -1679,6 +1681,7 @@ void cpufreq_suspend(void)
 				policy);
 	}
 
+suspend:
 	cpufreq_suspended = true;
 }
 
@@ -1695,13 +1698,13 @@ void cpufreq_resume(void)
 	if (!cpufreq_driver)
 		return;
 
+	cpufreq_suspended = false;
+
 	if (!has_target())
 		return;
 
 	pr_debug("%s: Resuming Governors\n", __func__);
 
-	cpufreq_suspended = false;
-
 	list_for_each_entry(policy, &cpufreq_policy_list, policy_list) {
 		if (cpufreq_driver->resume && cpufreq_driver->resume(policy))
 			pr_err("%s: Failed to resume driver: %p\n", __func__,
drivers/cpufreq/cpufreq_opp.c +1 -1
index c0c6f4a4eccf..f7a32d2326c6 100644
@@ -60,7 +60,7 @@ int dev_pm_opp_init_cpufreq_table(struct device *dev,
 		goto out;
 	}
 
-	freq_table = kzalloc(sizeof(*freq_table) * (max_opps + 1), GFP_KERNEL);
+	freq_table = kcalloc(sizeof(*freq_table), (max_opps + 1), GFP_ATOMIC);
 	if (!freq_table) {
 		ret = -ENOMEM;
 		goto out;
drivers/crypto/ccp/ccp-crypto-main.c +4 -0
index 20dc848481e7..4d4e016d755b 100644
@@ -367,6 +367,10 @@ static int ccp_crypto_init(void)
 {
 	int ret;
 
+	ret = ccp_present();
+	if (ret)
+		return ret;
+
 	spin_lock_init(&req_queue_lock);
 	INIT_LIST_HEAD(&req_queue.cmds);
 	req_queue.backlog = &req_queue.cmds;
drivers/crypto/ccp/ccp-dev.c +14 -0
index 2c7816149b01..c08151eb54c1 100644
@@ -53,6 +53,20 @@ static inline void ccp_del_device(struct ccp_device *ccp)
 }
 
 /**
+ * ccp_present - check if a CCP device is present
+ *
+ * Returns zero if a CCP device is present, -ENODEV otherwise.
+ */
+int ccp_present(void)
+{
+	if (ccp_get_device())
+		return 0;
+
+	return -ENODEV;
+}
+EXPORT_SYMBOL_GPL(ccp_present);
+
+/**
  * ccp_enqueue_cmd - queue an operation for processing by the CCP
  *
  * @cmd: ccp_cmd struct to be processed
drivers/dma/TODO +0 -1
index 734ed0206cd5..b8045cd42ee1 100644
@@ -7,7 +7,6 @@ TODO for slave dma
 	- imx-dma
 	- imx-sdma
 	- mxs-dma.c
-	- dw_dmac
 	- intel_mid_dma
 4. Check other subsystems for dma drivers and merge/move to dmaengine
 5. Remove dma_slave_config's dma direction.
drivers/dma/dw/core.c +18 -20
index a27ded53ab4f..525b4654bd90 100644
@@ -279,6 +279,15 @@ static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first)
 	channel_set_bit(dw, CH_EN, dwc->mask);
 }
 
+static void dwc_dostart_first_queued(struct dw_dma_chan *dwc)
+{
+	if (list_empty(&dwc->queue))
+		return;
+
+	list_move(dwc->queue.next, &dwc->active_list);
+	dwc_dostart(dwc, dwc_first_active(dwc));
+}
+
 /*----------------------------------------------------------------------*/
 
 static void
@@ -335,10 +344,7 @@ static void dwc_complete_all(struct dw_dma *dw, struct dw_dma_chan *dwc)
 	 * the completed ones.
 	 */
 	list_splice_init(&dwc->active_list, &list);
-	if (!list_empty(&dwc->queue)) {
-		list_move(dwc->queue.next, &dwc->active_list);
-		dwc_dostart(dwc, dwc_first_active(dwc));
-	}
+	dwc_dostart_first_queued(dwc);
 
 	spin_unlock_irqrestore(&dwc->lock, flags);
 
@@ -467,10 +473,7 @@ static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc)
 	/* Try to continue after resetting the channel... */
 	dwc_chan_disable(dw, dwc);
 
-	if (!list_empty(&dwc->queue)) {
-		list_move(dwc->queue.next, &dwc->active_list);
-		dwc_dostart(dwc, dwc_first_active(dwc));
-	}
+	dwc_dostart_first_queued(dwc);
 	spin_unlock_irqrestore(&dwc->lock, flags);
 }
 
@@ -677,17 +680,9 @@ static dma_cookie_t dwc_tx_submit(struct dma_async_tx_descriptor *tx)
 	 * possible, perhaps even appending to those already submitted
 	 * for DMA. But this is hard to do in a race-free manner.
 	 */
-	if (list_empty(&dwc->active_list)) {
-		dev_vdbg(chan2dev(tx->chan), "%s: started %u\n", __func__,
-				desc->txd.cookie);
-		list_add_tail(&desc->desc_node, &dwc->active_list);
-		dwc_dostart(dwc, dwc_first_active(dwc));
-	} else {
-		dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", __func__,
-				desc->txd.cookie);
 
-		list_add_tail(&desc->desc_node, &dwc->queue);
-	}
+	dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", __func__, desc->txd.cookie);
+	list_add_tail(&desc->desc_node, &dwc->queue);
 
 	spin_unlock_irqrestore(&dwc->lock, flags);
 
@@ -1092,9 +1087,12 @@ dwc_tx_status(struct dma_chan *chan,
 static void dwc_issue_pending(struct dma_chan *chan)
 {
 	struct dw_dma_chan	*dwc = to_dw_dma_chan(chan);
+	unsigned long		flags;
 
-	if (!list_empty(&dwc->queue))
-		dwc_scan_descriptors(to_dw_dma(chan->device), dwc);
+	spin_lock_irqsave(&dwc->lock, flags);
+	if (list_empty(&dwc->active_list))
+		dwc_dostart_first_queued(dwc);
+	spin_unlock_irqrestore(&dwc->lock, flags);
 }
 
 static int dwc_alloc_chan_resources(struct dma_chan *chan)
drivers/gpio/gpiolib-acpi.c +4 -1
index 4a987917c186..86608585ec00 100644
@@ -357,8 +357,10 @@ acpi_gpio_adr_space_handler(u32 function, acpi_physical_address address,
 	struct gpio_chip *chip = achip->chip;
 	struct acpi_resource_gpio *agpio;
 	struct acpi_resource *ares;
+	int pin_index = (int)address;
 	acpi_status status;
 	bool pull_up;
+	int length;
 	int i;
 
 	status = acpi_buffer_to_resource(achip->conn_info.connection,
@@ -380,7 +382,8 @@ acpi_gpio_adr_space_handler(u32 function, acpi_physical_address address,
 		return AE_BAD_PARAMETER;
 	}
 
-	for (i = 0; i < agpio->pin_table_length; i++) {
+	length = min(agpio->pin_table_length, (u16)(pin_index + bits));
+	for (i = pin_index; i < length; ++i) {
 		unsigned pin = agpio->pin_table[i];
 		struct acpi_gpio_connection *conn;
 		struct gpio_desc *desc;
drivers/gpio/gpiolib.c +1 -1
index 2ebc9071e354..810c84fd00c4 100644
@@ -1368,12 +1368,12 @@ void gpiochip_set_chained_irqchip(struct gpio_chip *gpiochip,
 		return;
 	}
 
-	irq_set_chained_handler(parent_irq, parent_handler);
 	/*
 	 * The parent irqchip is already using the chip_data for this
 	 * irqchip, so our callbacks simply use the handler_data.
 	 */
 	irq_set_handler_data(parent_irq, gpiochip);
+	irq_set_chained_handler(parent_irq, parent_handler);
 }
 EXPORT_SYMBOL_GPL(gpiochip_set_chained_irqchip);
 
drivers/gpu/drm/ast/ast_main.c +2 -1
index a2cc6be97983..b792194e0d9c 100644
@@ -67,6 +67,7 @@ static int ast_detect_chip(struct drm_device *dev)
 {
 	struct ast_private *ast = dev->dev_private;
 	uint32_t data, jreg;
+	ast_open_key(ast);
 
 	if (dev->pdev->device == PCI_CHIP_AST1180) {
 		ast->chip = AST1100;
@@ -104,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev)
 			}
 			ast->vga2_clone = false;
 		} else {
-			ast->chip = 2000;
+			ast->chip = AST2000;
 			DRM_INFO("AST 2000 detected\n");
 		}
 	}
drivers/gpu/drm/i915/i915_cmd_parser.c +7 -5
index 9d7954366bd2..fa9764a2e080 100644
@@ -706,11 +706,13 @@ int i915_cmd_parser_init_ring(struct intel_engine_cs *ring)
 	BUG_ON(!validate_cmds_sorted(ring, cmd_tables, cmd_table_count));
 	BUG_ON(!validate_regs_sorted(ring));
 
-	ret = init_hash_table(ring, cmd_tables, cmd_table_count);
-	if (ret) {
-		DRM_ERROR("CMD: cmd_parser_init failed!\n");
-		fini_hash_table(ring);
-		return ret;
+	if (hash_empty(ring->cmd_hash)) {
+		ret = init_hash_table(ring, cmd_tables, cmd_table_count);
+		if (ret) {
+			DRM_ERROR("CMD: cmd_parser_init failed!\n");
+			fini_hash_table(ring);
+			return ret;
+		}
 	}
 
 	ring->needs_cmd_parser = true;
drivers/gpu/drm/i915/i915_gem.c +7 -4
index d893e4da5dce..ef3b4798da02 100644
@@ -1576,10 +1576,13 @@ unlock:
 out:
 	switch (ret) {
 	case -EIO:
-		/* If this -EIO is due to a gpu hang, give the reset code a
-		 * chance to clean up the mess. Otherwise return the proper
-		 * SIGBUS. */
-		if (i915_terminally_wedged(&dev_priv->gpu_error)) {
+		/*
+		 * We eat errors when the gpu is terminally wedged to avoid
+		 * userspace unduly crashing (gl has no provisions for mmaps to
+		 * fail). But any other -EIO isn't ours (e.g. swap in failure)
+		 * and so needs to be reported.
+		 */
+		if (!i915_terminally_wedged(&dev_priv->gpu_error)) {
 			ret = VM_FAULT_SIGBUS;
 			break;
 		}
drivers/gpu/drm/i915/intel_bios.c +2 -2
index 827498e081df..2e0a2feb4cda 100644
@@ -877,7 +877,7 @@ err:
 
 	/* error during parsing so set all pointers to null
 	 * because of partial parsing */
-	memset(dev_priv->vbt.dsi.sequence, 0, MIPI_SEQ_MAX);
+	memset(dev_priv->vbt.dsi.sequence, 0, sizeof(dev_priv->vbt.dsi.sequence));
 }
 
 static void parse_ddi_port(struct drm_i915_private *dev_priv, enum port port,
@@ -1122,7 +1122,7 @@ init_vbt_defaults(struct drm_i915_private *dev_priv)
 	}
 }
 
-static int __init intel_no_opregion_vbt_callback(const struct dmi_system_id *id)
+static int intel_no_opregion_vbt_callback(const struct dmi_system_id *id)
 {
 	DRM_DEBUG_KMS("Falling back to manually reading VBT from "
 		      "VBIOS ROM for %s\n",
drivers/gpu/drm/i915/intel_crt.c +7 -2
index 5a045d3bd77e..3e1edbfa8e07 100644
@@ -673,16 +673,21 @@ intel_crt_detect(struct drm_connector *connector, bool force)
 		goto out;
 	}
 
+	drm_modeset_acquire_init(&ctx, 0);
+
 	/* for pre-945g platforms use load detect */
 	if (intel_get_load_detect_pipe(connector, NULL, &tmp, &ctx)) {
 		if (intel_crt_detect_ddc(connector))
 			status = connector_status_connected;
 		else
 			status = intel_crt_load_detect(crt);
-		intel_release_load_detect_pipe(connector, &tmp, &ctx);
+		intel_release_load_detect_pipe(connector, &tmp);
 	} else
 		status = connector_status_unknown;
 
+	drm_modeset_drop_locks(&ctx);
+	drm_modeset_acquire_fini(&ctx);
+
 out:
 	intel_display_power_put(dev_priv, power_domain);
 	intel_runtime_pm_put(dev_priv);
@@ -775,7 +780,7 @@ static const struct drm_encoder_funcs intel_crt_enc_funcs = {
 	.destroy = intel_encoder_destroy,
 };
 
-static int __init intel_no_crt_dmi_callback(const struct dmi_system_id *id)
+static int intel_no_crt_dmi_callback(const struct dmi_system_id *id)
 {
 	DRM_INFO("Skipping CRT initialization for %s\n", id->ident);
 	return 1;
drivers/gpu/drm/i915/intel_display.c +41 -21

154 lines not on this page · raw message

drivers/gpu/drm/i915/intel_dp.c +3 -0
index 8a1a4fbc06ac..fbffcbb9a0f8 100644

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

drivers/gpu/drm/i915/intel_drv.h +1 -2
index f67340ed2c12..e0f88a0669c1 100644

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

drivers/gpu/drm/i915/intel_hdmi.c +1 -1
index eee2bbec2958..057366453d27 100644

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

drivers/gpu/drm/i915/intel_lvds.c +1 -1
index 5e5a72fca5fb..0fb230949f81 100644

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

drivers/gpu/drm/i915/intel_ringbuffer.c +3 -0
index 279488addf3f..7add7eead21d 100644

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

drivers/gpu/drm/i915/intel_tv.c +17 -4
index 67c6c9a2eb1c..5c6f7e2417e4 100644

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

drivers/gpu/drm/nouveau/nouveau_drm.c +1 -0
index 5425ffe3931d..594c3f54102e 100644

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

drivers/gpu/drm/nouveau/nouveau_ttm.c +3 -0
index ab0228f640a5..7e185c122750 100644

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

drivers/gpu/drm/nouveau/nouveau_vga.c +9 -0
index 4f4c3fec6916..c110b2cfc3eb 100644

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

drivers/gpu/drm/radeon/ci_dpm.c +15 -1
index 584090ac3eb9..d416bb2ff48d 100644

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

drivers/gpu/drm/radeon/cik.c +9 -9
index 65a8cca603a4..5ea01de617ab 100644

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

drivers/gpu/drm/radeon/cik_sdma.c +0 -7
index 8e9d0f1d858e..72bff72c036d 100644

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

drivers/gpu/drm/radeon/kv_dpm.c +24 -10
index 9ef8c38f2d66..f00e6a6c254a 100644

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

drivers/gpu/drm/radeon/ni_dma.c +0 -6
index 6378e0276691..6927db4d8db7 100644

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

drivers/gpu/drm/radeon/r600.c +8 -18
index 3c69f58e46ef..44b046b4056f 100644

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

drivers/gpu/drm/radeon/r600_dma.c +0 -9
index 4969cef44a19..b766e052d91f 100644

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

drivers/gpu/drm/radeon/radeon.h +3 -0
index 60c47f829122..2d6b55d8461e 100644

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

drivers/gpu/drm/radeon/radeon_atombios.c +63 -9

72 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_cs.c +2 -1
index ae763f60c8a0..8f7d56f342f1 100644

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

drivers/gpu/drm/radeon/radeon_device.c +25 -4
index 697add2cd4e3..52a0cfd0276a 100644

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

drivers/gpu/drm/radeon/radeon_drv.c +1 -0
index e9e361084249..a089abb76363 100644

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

drivers/gpu/drm/radeon/radeon_kms.c +8 -1
index d25ae6acfd5a..c1a206dd859d 100644

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

drivers/gpu/drm/radeon/radeon_pm.c +10 -14
index e447e390d09a..50d6ff9d7656 100644

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

drivers/gpu/drm/radeon/radeon_semaphore.c +1 -1
index dbd6bcde92de..e6101c18c457 100644

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

drivers/gpu/drm/radeon/rv770.c +8 -15
index da8703d8d455..11cd3d887428 100644

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

drivers/gpu/drm/radeon/si.c +5 -6
index 9e854fd016da..6c17d3b0be8b 100644

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

drivers/gpu/drm/tegra/dc.c +1 -0
index ef40381f3909..48c3bc460eef 100644

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

drivers/gpu/drm/tegra/dpaux.c +1 -0
index 3f132e356e9c..708f783ead47 100644

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

drivers/gpu/drm/tegra/dsi.c +1 -0
index bd56f2affa78..97c409f10456 100644

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

drivers/gpu/drm/tegra/gr2d.c +1 -0
index 7c53941f2a9e..02cd3e37a6ec 100644

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

drivers/gpu/drm/tegra/gr3d.c +1 -0
index 30f5ba9bd6d0..2bea2b2d204e 100644

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

drivers/gpu/drm/tegra/hdmi.c +1 -0
index ba067bb767e3..ffe26547328d 100644

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

drivers/gpu/drm/tegra/sor.c +1 -0
index 27c979b50111..061a5c501124 100644

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

drivers/gpu/drm/tilcdc/tilcdc_drv.c +4 -3
index b20b69488dc9..006a30e90390 100644

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

drivers/gpu/drm/tilcdc/tilcdc_panel.c +2 -3
index 86c67329b605..b085dcc54fb5 100644

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

drivers/gpu/drm/tilcdc/tilcdc_slave.c +1 -0
index 595068ba2d5e..2f83ffb7f37e 100644

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

drivers/gpu/drm/tilcdc/tilcdc_tfp410.c +1 -0
index c38b56b268ac..ce75ac8de4f8 100644

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

drivers/gpu/drm/ttm/ttm_bo.c +3 -3
index 4ab9f7171c4f..a13a10025ec7 100644

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

drivers/gpu/drm/ttm/ttm_bo_manager.c +2 -1
index bd850c9f4bca..9e103a4875c8 100644

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

drivers/gpu/drm/ttm/ttm_page_alloc.c +17 -12
index 863bef9f9234..cf4bad2c1d59 100644

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

drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +19 -15
index fb8259f69839..ca65df144765 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c +2 -1
index 6ccd993e26bf..6eae14d2a3f7 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c +1 -0
index b1273e8e9a69..26f8bdde3529 100644

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

drivers/gpu/vga/vga_switcheroo.c +6 -0
index 6866448083b2..37ac7b5dbd06 100644

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

drivers/hid/hid-logitech-dj.c +25 -18

43 lines not on this page · raw message

drivers/hid/hid-logitech-dj.h +1 -0
index 4a4000340ce1..daeb0aa4bee9 100644

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

drivers/hid/hid-magicmouse.c +10 -0
index ecc2cbf300cc..29a74c1efcb8 100644

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

drivers/hid/hid-picolcd_core.c +6 -0
index acbb021065ec..020df3c2e8b4 100644

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

drivers/hwmon/ds1621.c +1 -0
index fc6f5d54e7f7..8890870309e4 100644

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

drivers/i2c/busses/i2c-at91.c +26 -6
index 83c989382be9..e96edab2e30b 100644

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

drivers/i2c/busses/i2c-ismt.c +2 -2
index 984492553e95..d9ee43c80cde 100644

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

drivers/i2c/busses/i2c-mv64xxx.c +1 -2
index 9f4b775e2e39..e21e206d94e7 100644

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

drivers/i2c/busses/i2c-rcar.c +33 -8

41 lines not on this page · raw message

drivers/i2c/busses/i2c-rk3x.c +9 -6
index 69e11853e8bf..93cfc837200b 100644

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

drivers/iio/accel/bma180.c +1 -1
index a077cc86421b..19100fddd2ed 100644

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

drivers/iio/adc/ad_sigma_delta.c +1 -1
index 9a4e0e32a771..eb799a43aef0 100644

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

drivers/iio/adc/at91_adc.c +7 -5
index 2b6a9ce9927c..f508bd6b46e3 100644

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

drivers/iio/adc/xilinx-xadc-core.c +1 -1
index ab52be29141b..41d3a5efd62c 100644

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

drivers/iio/common/hid-sensors/hid-sensor-trigger.c +2 -1
index a3109a6f4d86..92068cdbf8c7 100644

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

drivers/iio/common/st_sensors/st_sensors_trigger.c +1 -1
index 8fc3a97eb266..8d8ca6f1e16a 100644

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

drivers/iio/gyro/itg3200_buffer.c +1 -1
index e3b3c5084070..eef50e91f17c 100644

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

drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c +1 -1
index 03b9372c1212..926fccea8de0 100644

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

drivers/iio/inkern.c +1 -1
index c7497009d60a..f0846108d006 100644

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

drivers/iio/magnetometer/st_magn_core.c +30 -22

52 lines not on this page · raw message

drivers/infiniband/core/uverbs_marshall.c +4 -0
index e7bee46868d1..abd97247443e 100644

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

drivers/infiniband/hw/mlx4/main.c +30 -23

53 lines not on this page · raw message

drivers/infiniband/hw/qib/qib_debugfs.c +2 -1
index 799a0c3bffc4..6abd3ed3cd51 100644

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

drivers/infiniband/hw/qib/qib_qp.c +0 -8
index 7fcc150d603c..6ddc0264aad2 100644

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

drivers/infiniband/ulp/isert/ib_isert.c +4 -3
index d4c7928a0f36..9959cd1faad9 100644

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

drivers/input/keyboard/atkbd.c +0 -8
index 2dd1d0dd4f7d..6f5d79569136 100644

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

drivers/input/mouse/elantech.c +7 -0
index ee2a04d90d20..0ec186d256fb 100644

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

drivers/input/mouse/synaptics.c +52 -16

68 lines not on this page · raw message

drivers/input/mouse/synaptics.h +11 -0
index e594af0b264b..fb2e076738ae 100644

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

drivers/input/serio/i8042-x86ia64io.h +15 -0
index 136b7b204f56..713e3ddb43bd 100644

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

drivers/input/serio/serport.c +38 -7

45 lines not on this page · raw message

drivers/iommu/arm-smmu.c +5 -2
index 1599354e974d..9a35baf1caed 100644

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

drivers/iommu/dmar.c +1 -2
index 9a4f05e5b23f..55f1515d54c9 100644

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

drivers/iommu/fsl_pamu_domain.c +8 -2
index af47648301a9..87f94d597e6e 100644

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

drivers/md/dm-cache-target.c +2 -2
index 2c63326638b6..c892e48655c2 100644

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

drivers/md/dm-crypt.c +16 -4
index 4cba2d808afb..3e6ef4b1fb46 100644

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

drivers/md/raid1.c +22 -18
index d7690f86fdb9..55de4f6f7eaf 100644

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

drivers/media/dvb-core/dvb-usb-ids.h +2 -0
index 11d2bea23b02..26674e12133b 100644

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

drivers/media/dvb-frontends/af9033.c +13 -0
index be4bec2a9640..5c90ea683a7e 100644

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

drivers/media/dvb-frontends/af9033_priv.h +9 -11
index fc2ad581e302..ded7b67d7526 100644

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

drivers/media/i2c/adv7604.c +1 -1
index 1778d320272e..67403b94f0a2 100644

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

drivers/media/pci/cx18/cx18-driver.c +1 -0
index 716bdc57fac6..83f5074706f9 100644

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

drivers/media/tuners/tuner_it913x.c +6 -0
index 6f30d7e535b8..3d83c425bccf 100644

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

drivers/media/usb/dvb-usb-v2/af9035.c +4 -0
index 7b9b75f60774..04d8e951de0d 100644

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

drivers/media/usb/em28xx/em28xx-video.c +1 -1
index f6b49c98e2c9..408c072ce228 100644

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

drivers/media/v4l2-core/videobuf2-core.c +11 -8
index 1d67e95311d6..dcdceae30ab0 100644

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

drivers/media/v4l2-core/videobuf2-dma-sg.c +1 -1
index adefc31bb853..9b163a440f89 100644

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

drivers/mmc/host/mmci.c +10 -2
index 249ab80cbb45..d3f05ad33f09 100644

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

drivers/net/ethernet/ibm/ibmveth.c +14 -4
index c9127562bd22..21978cc019e7 100644

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

drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +1 -1
index bb86eb2ffc95..f0484b1b617e 100644

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

drivers/net/wireless/ath/carl9170/carl9170.h +1 -0
index 8596aba34f96..237d0cda1bcb 100644

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

drivers/net/wireless/ath/carl9170/usb.c +27 -4
index f35c7f30f9a6..c9f93310c0d6 100644

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

drivers/net/wireless/brcm80211/brcmfmac/fweh.c +9 -3
index fad77dd2a3a5..3f9cb894d001 100644

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

drivers/net/wireless/brcm80211/brcmfmac/fweh.h +2 -0
index 51b53a73d074..d26b47698f68 100644

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

drivers/net/wireless/iwlwifi/dvm/rxon.c +12 -0
index 6dc5dd3ced44..ed50de6362ed 100644

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

drivers/net/wireless/iwlwifi/iwl-config.h +2 -0
index b7047905f41a..6ac1bedd2876 100644

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

drivers/net/wireless/iwlwifi/iwl-nvm-parse.c +1 -3
index 85eee79c495c..0c75fc140bf6 100644

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

drivers/net/wireless/iwlwifi/mvm/fw-api.h +2 -2
index 309a9b9a94fe..67363080f83d 100644

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

drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c +5 -5
index 8b79081d4885..db84533eff5d 100644

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

drivers/net/wireless/iwlwifi/mvm/sf.c +1 -1
index 7edfd15efc9d..e843b67f2201 100644

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

drivers/net/wireless/iwlwifi/mvm/tx.c +6 -2
index 3846a6c41eb1..f2465f60122e 100644

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

drivers/net/wireless/rtlwifi/rtl8192cu/sw.c +1 -0
index 361435f8608a..1ac6383e7947 100644

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

drivers/nfc/microread/microread.c +12 -4
index f868333271aa..963a4a5dc88e 100644

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

drivers/of/fdt.c +1 -1
index 9aa012e6ea0a..379ad4fa9665 100644

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

drivers/of/irq.c +9 -8
index 3e06a699352d..1471e0a223a5 100644

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

drivers/pci/hotplug/acpiphp_glue.c +6 -10
index 602d153c7055..c074b262a492 100644

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

drivers/pci/hotplug/pciehp_hpc.c +12 -0
index 056841651a80..fa6a320b4d58 100644

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

drivers/pci/probe.c +5 -15
index e3cf8a2e6292..4170113cde61 100644

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

drivers/phy/phy-twl4030-usb.c +73 -48

121 lines not on this page · raw message

drivers/pwm/core.c +6 -2
index 4b66bf09ee55..d2c35920ff08 100644

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

drivers/scsi/libiscsi.c +10 -0
index 3d1bc67bac9d..874bc950b9f6 100644

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

drivers/spi/spi-dw-pci.c +2 -0
index 3f3dc1226edf..e14960470d8d 100644

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

drivers/spi/spi-dw.c +11 -3
index 29f33143b795..0dd0623319b0 100644

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

drivers/spi/spi-fsl-espi.c +12 -3
index 8ebd724e4c59..429e11190265 100644

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

drivers/spi/spi-fsl-spi.c +7 -3
index 98ccd231bf00..bea26b719361 100644

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

drivers/spi/spi-omap2-mcspi.c +2 -1
index 68441fa448de..352eed7463ac 100644

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

drivers/spi/spi-sirf.c +2 -1
index 95ac276eaafe..1a5161336730 100644

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

drivers/staging/iio/meter/ade7758_trigger.c +1 -1
index 7a94ddd42f59..8c4f2896cd0d 100644

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

drivers/staging/imx-drm/imx-ldb.c +3 -0
index 7e3f019d7e72..4662e00b456a 100644

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

drivers/staging/imx-drm/ipuv3-plane.c +2 -1
index 6f393a11f44d..50de10a550e9 100644

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

drivers/staging/lustre/lustre/Kconfig +1 -0
index 209e4c7e6f8a..4f65ba1158bf 100644

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

drivers/target/iscsi/iscsi_target.c +3 -1
index 1f4c794f5fcc..260c3e1e312c 100644

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

drivers/target/iscsi/iscsi_target_parameters.c +1 -1
index 02f9de26f38a..18c29260b4a2 100644

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

drivers/target/target_core_configfs.c +1 -1
index bf55c5a04cfa..756def38c77a 100644

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

drivers/tty/serial/atmel_serial.c +42 -1

43 lines not on this page · raw message

drivers/usb/chipidea/ci_hdrc_msm.c +2 -5
index d72b9d2de2c5..4935ac38fd00 100644

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

drivers/usb/core/hub.c +3 -1
index 27f217107ef1..50e854509f55 100644

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

drivers/usb/dwc2/gadget.c +25 -27

52 lines not on this page · raw message

drivers/usb/dwc3/core.c +7 -6
index eb69eb9f06c8..52b30c5b000e 100644

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

drivers/usb/dwc3/dwc3-omap.c +1 -1
index 07a736acd0f2..3536ad7f1346 100644

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

drivers/usb/dwc3/gadget.c +1 -7
index dab7927d1009..f5b352a19eb0 100644

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

drivers/usb/gadget/f_rndis.c +4 -0
index 9c41e9515b8e..ddb09dc6d1f2 100644

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

drivers/usb/host/ehci-hcd.c +0 -2
index 81cda09b47e3..488a30836c36 100644

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

drivers/usb/host/xhci-hub.c +5 -3
index aa79e8749040..69aece31143a 100644

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

drivers/usb/host/xhci-mem.c +2 -1
index 8056d90690ee..8936211b161d 100644

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

drivers/usb/host/xhci.c +10 -2
index e32cc6cf86dc..2d1284adc987 100644

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

drivers/usb/misc/sisusbvga/sisusb.c +1 -0
index 06b5d77cd9ad..633caf643122 100644

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

drivers/usb/phy/phy-tegra-usb.c +2 -2
index bbe4f8e6e8d7..8834b70c868c 100644

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

drivers/usb/serial/ftdi_sio.c +3 -0
index 8b0f517abb6b..3614620e09e1 100644

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

drivers/usb/serial/ftdi_sio_ids.h +12 -0
index 70b0b1d88ae9..5937b2d242f2 100644

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

drivers/usb/serial/option.c +28 -3
index a9688940543d..54a8120897a6 100644

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

drivers/usb/serial/pl2303.c +1 -0
index b3d5a35c0d4b..e9bad928039f 100644

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

drivers/usb/serial/pl2303.h +1 -0
index 42bc082896ac..71fd9da1d6e7 100644

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

drivers/usb/serial/sierra.c +7 -2
index 6f7f01eb556a..46179a0828eb 100644

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

drivers/usb/serial/usb-serial.c +27 -10
index 02de3110fe94..475723c006f9 100644

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

drivers/usb/serial/zte_ev.c +6 -18
index e40ab739c4a6..c9bb107d5e5c 100644

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

drivers/usb/storage/unusual_devs.h +38 -0
index 80a5b366255f..14137ee543a1 100644

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

drivers/uwb/lc-dev.c +9 -4
index 80079b8fed15..d0303f0dbe15 100644

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

drivers/xen/manage.c +0 -7
index 5f1e1f3cd186..f8bb36f9d9ce 100644

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

fs/aio.c +86 -5

91 lines not on this page · raw message

fs/buffer.c +4 -2
index eba6e4f621ce..36fdceb82635 100644

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

fs/cachefiles/bind.c +4 -4
index d749731dc0ee..fbb08e97438d 100644

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

fs/cachefiles/daemon.c +15 -15
index b078d3081d6c..ce1b115dcc28 100644

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

fs/cachefiles/internal.h +1 -1
index 3d50998abf57..8c52472d2efa 100644

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

fs/cachefiles/main.c +1 -1
index 180edfb45f66..711f13d8c2de 100644

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

fs/cachefiles/namei.c +7 -7
index 5bf2b41e66d3..55c0acb516d4 100644

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

fs/cachefiles/xattr.c +5 -5
index 1ad51ffbb275..acbc1f094fb1 100644

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

fs/cifs/link.c +6 -2
index 68559fd557fb..a5c2812ead68 100644

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

fs/eventpoll.c +2 -1
index b10b48c2a7af..7bcfff900f05 100644

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

fs/ext4/ext4.h +1 -1
index 1bbe7c315138..b6874405f0dc 100644

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

fs/ext4/namei.c +35 -2
index 9e6eced1605b..5e127be91bb6 100644

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

fs/ext4/resize.c +2 -0
index bb0e80f03e2e..1e43b905ff98 100644

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

fs/gfs2/inode.c +3 -2
index e62e59477884..9c1a680ee468 100644

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

fs/lockd/svc.c +1 -3
index 8f27c93f8d2e..ec9e082f9ecd 100644

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

fs/locks.c +1 -1
index 717fbc404e6b..be530f9b13ce 100644

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

fs/namei.c +17 -16
index 17ca8b85c308..d4ca42085e1d 100644

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

fs/nfs/blocklayout/blocklayout.c +49 -50

99 lines not on this page · raw message

fs/nfs/direct.c +4 -4
index f11b9eed0de1..1b34eeb0d8de 100644

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

fs/nfs/filelayout/filelayout.c +83 -92

175 lines not on this page · raw message

fs/nfs/internal.h +5 -5
index f415cbf9f6c3..4d0eecbc98bc 100644

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

fs/nfs/nfs3proc.c +12 -9
index f0afa291fd58..809670eba52a 100644

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

fs/nfs/nfs4_fs.h +3 -3
index ba2affa51941..b8ea4a26998c 100644

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

fs/nfs/nfs4client.c +20 -18
index aa9ef4876046..6e045d5ee950 100644

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

fs/nfs/nfs4proc.c +70 -65

135 lines not on this page · raw message

fs/nfs/nfs4trace.h +14 -14
index 0a744f3a86f6..1c32adbe728d 100644

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

fs/nfs/objlayout/objio_osd.c +11 -13
index 611320753db2..ae05278b3761 100644

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

fs/nfs/objlayout/objlayout.c +39 -42

81 lines not on this page · raw message

fs/nfs/objlayout/objlayout.h +4 -4
index 01e041029a6c..fd13f1d2f136 100644

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

fs/nfs/pagelist.c +140 -144

284 lines not on this page · raw message

fs/nfs/pnfs.c +55 -64

119 lines not on this page · raw message

fs/nfs/pnfs.h +12 -5
index 4fb309a2b4c4..ae22a9ccc1b9 100644

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

fs/nfs/proc.c +15 -12
index c171ce1a8a30..b09cc23d6f43 100644

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

fs/nfs/read.c +25 -23

48 lines not on this page · raw message

fs/nfs/write.c +55 -44

99 lines not on this page · raw message

fs/nfsd/nfs4xdr.c +15 -2
index 944275c8f56d..1d5103dfc203 100644

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

fs/nilfs2/inode.c +6 -1
index 6252b173a465..d071e7f23de2 100644

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

fs/notify/fdinfo.c +2 -2
index 238a5930cb3c..9d7e2b9659cb 100644

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

fs/ocfs2/dlm/dlmmaster.c +10 -8
index 82abf0cc9a12..9d405d6d2504 100644

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

fs/ufs/inode.c +2 -5
index 61e8a9b021dd..42234a871b22 100644

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

fs/ufs/namei.c +6 -8
index 90d74b8f8eba..2df62a73f20c 100644

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

include/acpi/acpi_bus.h +1 -0
index 0826a4407e8e..d07aa9b7fb99 100644

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

include/drm/ttm/ttm_bo_driver.h +2 -0
index a5183da3ef92..f2fcd3ed5676 100644

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

include/linux/ccp.h +12 -0
index ebcc9d146219..7f437036baa4 100644

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

include/linux/ftrace.h +11 -2
index 404a686a3644..721de254ba7a 100644

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

include/linux/iio/trigger.h +3 -1
index 369cf2cd5144..68f46cd5d514 100644

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

include/linux/nfs_page.h +9 -7
index 7d9096d95d4a..55a486421fdd 100644

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

include/linux/nfs_xdr.h +12 -20
index 9a1396e70310..2c35d524ffc6 100644

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

include/linux/pci.h +6 -0
index 466bcd111d85..97fe7ebf2e25 100644

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

include/linux/seqlock.h +0 -2
index 535f158977b9..8cf350325dc6 100644

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

include/linux/vga_switcheroo.h +2 -0
index 502073a53dd3..b483abd34493 100644

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

include/linux/workqueue.h +1 -1
index a0cc2e95ed1b..b996e6cde6bb 100644

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

include/net/regulatory.h +1 -1
index 259992444e80..dad7ab20a8cb 100644

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

include/uapi/drm/radeon_drm.h +1 -0
index 1cc0b610f162..79719f940ea4 100644

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

include/uapi/linux/xattr.h +1 -1
index c38355c1f3c9..1590c49cae57 100644

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

kernel/cgroup.c +22 -13
index 70776aec2562..0a46b2aa9dfb 100644

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

kernel/events/core.c +10 -0
index 6b17ac1b0c2a..f626c9f1f3c0 100644

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

kernel/futex.c +1 -0
index b632b5f3f094..c20fb395a672 100644

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

kernel/kcmp.c +4 -3
index e30ac0fe61c3..0aa69ea1d8fd 100644

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

kernel/module.c +5 -0
index 81e727cf6df9..673aeb0c25dc 100644

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

kernel/printk/printk.c +3 -3
index 13e839dbca07..971285d5b7a0 100644

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

kernel/time/alarmtimer.c +23 -11
index fe75444ae7ec..cd45a0727a16 100644

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

kernel/trace/ftrace.c +126 -64

190 lines not on this page · raw message

kernel/trace/ring_buffer.c +15 -1
index b95381ebdd5e..2ff0580d3dcd 100644

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

mm/dmapool.c +1 -1
index 306baa594f95..ba8019b063e1 100644

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

mm/memblock.c +1 -2
index 6d2f219a48b0..70fad0c0dafb 100644

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

mm/memory.c +1 -1
index 0a21f3d162ae..533023da2faa 100644

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

mm/percpu-vm.c +16 -6
index 3707c71ae4cd..51108165f829 100644

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

mm/percpu.c +2 -0
index 2ddf9a990dbd..492f601df473 100644

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

mm/shmem.c +3 -1
index af68b15a8fc1..e53ab3a8a8d3 100644

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

mm/slab.c +2 -9
index 3070b929a1bf..c9103e4cf2c2 100644

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

net/mac80211/mlme.c +1 -2
index 3345401be1b3..c8779f316d30 100644

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

net/netfilter/ipvs/ip_vs_core.c +1 -1
index e6836755c45d..5c34e8d42e01 100644

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

net/netfilter/ipvs/ip_vs_xmit.c +1 -1
index 73ba1cc7a88d..6f70bdd3a90a 100644

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

net/netfilter/nf_tables_api.c +3 -0
index 8746ff9a8357..62101ed0d2af 100644

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

net/netfilter/xt_cgroup.c +1 -1
index f4e833005320..7198d660b4de 100644

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

net/netfilter/xt_hashlimit.c +16 -15
index a3910fc2122b..47dc6836830a 100644

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

net/wireless/nl80211.c +6 -0
index 6668daf69326..d702af40ddea 100644

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

sound/core/info.c +2 -2
index 051d55b05521..9f404e965ea2 100644

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

sound/core/pcm_lib.c +5 -3
index 9acc77eae487..0032278567ad 100644

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

sound/firewire/amdtp.c +10 -1
index f96bf4c7c232..95fc2eaf11dc 100644

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

sound/firewire/amdtp.h +1 -0
index d8ee7b0e9386..4823c08196ac 100644

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

sound/firewire/dice.c +20 -9
index a9a30c0161f1..e3a04d69c853 100644

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

sound/pci/hda/patch_conexant.c +9 -1
index 1dc7e974f3b1..d5792653e77b 100644

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

sound/pci/hda/patch_realtek.c +2 -0
index 25728aaacc26..88e4623d4f97 100644

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

sound/pci/hda/patch_sigmatel.c +12 -5
index 4d3a3b932690..619aec71b1e2 100644

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

sound/soc/davinci/davinci-mcasp.c +10 -1
index 9afb14629a17..b7559bc49426 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.