Skip to contentSkip to conversation

Linux 3.18.4

DISCUSSION Greg KH 1 participant 2 messages Jan 27, 2015 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 3.18.4 kernel.

All users of the 3.18 kernel series must upgrade.

The updated 3.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.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/kernel-parameters.txt              |    1 
 Makefile                                         |    2 
 arch/arc/boot/dts/nsimosci.dts                   |   18 
 arch/arm/boot/dts/berlin2q-marvell-dmp.dts       |    2 
 arch/arm/boot/dts/berlin2q.dtsi                  |   63 +-
 arch/arm/boot/dts/dra7-evm.dts                   |   10 
 arch/arm/boot/dts/imx25.dtsi                     |    2 
 arch/arm/boot/dts/imx51-babbage.dts              |   22 
 arch/arm/configs/omap2plus_defconfig             |    2 
 arch/arm/mach-imx/clk-imx6q.c                    |    4 
 arch/arm/mach-imx/clk-imx6sx.c                   |    3 
 arch/arm/mach-omap2/common.h                     |    1 
 arch/arm/mach-omap2/omap-headsmp.S               |   21 
 arch/arm/mach-omap2/omap-smp.c                   |   13 
 arch/arm/mach-omap2/timer.c                      |    8 
 arch/arm/mach-shmobile/setup-sh73a0.c            |    3 
 arch/arm64/mm/init.c                             |    8 
 arch/parisc/include/asm/ldcw.h                   |   13 
 arch/powerpc/platforms/powernv/opal-wrappers.S   |    1 
 arch/um/Kconfig.common                           |    1 
 arch/x86/boot/Makefile                           |    1 
 arch/x86/kernel/cpu/Makefile                     |    1 
 arch/x86/kernel/kprobes/core.c                   |   20 
 arch/x86/kvm/vmx.c                               |    4 
 arch/x86/um/sys_call_table_32.c                  |    2 
 arch/x86/um/sys_call_table_64.c                  |    2 
 drivers/bus/omap_l3_noc.c                        |   63 ++
 drivers/clk/at91/clk-slow.c                      |   27 
 drivers/clk/berlin/bg2q.c                        |    1 
 drivers/clk/clk-ppc-corenet.c                    |    2 
 drivers/clk/clk.c                                |   10 
 drivers/clk/rockchip/clk-rk3188.c                |   15 
 drivers/clk/rockchip/clk-rk3288.c                |   28 -
 drivers/clk/samsung/clk-exynos-audss.c           |    4 
 drivers/gpio/gpio-crystalcove.c                  |    2 
 drivers/gpio/gpiolib-of.c                        |   10 
 drivers/gpio/gpiolib-sysfs.c                     |   47 -
 drivers/gpio/gpiolib.c                           |   18 
 drivers/gpu/drm/drm_dp_helper.c                  |    7 
 drivers/gpu/drm/drm_dp_mst_topology.c            |    5 
 drivers/gpu/drm/drm_fb_helper.c                  |   13 
 drivers/gpu/drm/drm_irq.c                        |    3 
 drivers/gpu/drm/i915/i915_drv.c                  |    3 
 drivers/gpu/drm/i915/i915_drv.h                  |    3 
 drivers/gpu/drm/i915/i915_gem.c                  |    5 
 drivers/gpu/drm/i915/i915_gem_context.c          |   48 +
 drivers/gpu/drm/i915/i915_gem_stolen.c           |    6 
 drivers/gpu/drm/i915/i915_irq.c                  |    6 
 drivers/gpu/drm/i915/i915_reg.h                  |    4 
 drivers/gpu/drm/i915/i915_suspend.c              |    8 
 drivers/gpu/drm/i915/intel_display.c             |    8 
 drivers/gpu/drm/i915/intel_pm.c                  |   27 
 drivers/gpu/drm/i915/intel_ringbuffer.c          |    3 
 drivers/gpu/drm/i915/intel_uncore.c              |    4 
 drivers/gpu/drm/nouveau/core/subdev/mc/nv4c.c    |    8 
 drivers/gpu/drm/radeon/atombios_crtc.c           |    8 
 drivers/gpu/drm/radeon/atombios_dp.c             |    4 
 drivers/gpu/drm/radeon/ci_dpm.c                  |    2 
 drivers/gpu/drm/radeon/cik.c                     |    3 
 drivers/gpu/drm/radeon/dce3_1_afmt.c             |    2 
 drivers/gpu/drm/radeon/kv_dpm.c                  |   10 
 drivers/gpu/drm/radeon/radeon_ttm.c              |    2 
 drivers/gpu/drm/ttm/ttm_page_alloc.c             |   26 
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c         |   25 
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c              |    8 
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c            |   39 -
 drivers/iio/adc/ad799x.c                         |   15 
 drivers/infiniband/ulp/iser/iscsi_iser.h         |    2 
 drivers/infiniband/ulp/iser/iser_initiator.c     |    6 
 drivers/infiniband/ulp/isert/ib_isert.c          |  640 ++++++++++++++---------
 drivers/infiniband/ulp/isert/ib_isert.h          |   15 
 drivers/input/mouse/elantech.c                   |    2 
 drivers/input/serio/i8042-x86ia64io.h            |   39 +
 drivers/input/serio/i8042.c                      |   14 
 drivers/leds/leds-netxbig.c                      |   12 
 drivers/md/dm.c                                  |    2 
 drivers/media/i2c/smiapp-pll.c                   |    4 
 drivers/media/i2c/smiapp/smiapp-core.c           |    2 
 drivers/media/platform/vivid/vivid-vid-out.c     |    2 
 drivers/media/rc/img-ir/img-ir-hw.c              |   28 -
 drivers/media/rc/img-ir/img-ir-hw.h              |    3 
 drivers/media/usb/au0828/au0828-cards.c          |    5 
 drivers/media/usb/dvb-usb/af9005.c               |    3 
 drivers/media/usb/uvc/uvc_driver.c               |    6 
 drivers/misc/cxl/context.c                       |   26 
 drivers/misc/cxl/cxl.h                           |    9 
 drivers/misc/cxl/file.c                          |    6 
 drivers/misc/cxl/native.c                        |   12 
 drivers/misc/cxl/pci.c                           |    2 
 drivers/misc/cxl/sysfs.c                         |   10 
 drivers/misc/mei/hw-me.c                         |   12 
 drivers/mmc/host/sdhci.c                         |    6 
 drivers/net/can/usb/kvaser_usb.c                 |   20 
 drivers/net/ethernet/atheros/alx/main.c          |   24 
 drivers/net/ethernet/broadcom/tg3.c              |   34 -
 drivers/net/ethernet/cisco/enic/enic_main.c      |   12 
 drivers/net/ethernet/emulex/benet/be_main.c      |    8 
 drivers/net/ethernet/intel/Kconfig               |   11 
 drivers/net/ethernet/intel/i40e/Makefile         |    2 
 drivers/net/ethernet/intel/i40e/i40e_osdep.h     |    4 
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c   |   21 
 drivers/net/ethernet/mellanox/mlx4/en_tx.c       |   12 
 drivers/net/ethernet/mellanox/mlx4/fw.c          |    4 
 drivers/net/ethernet/mellanox/mlx4/mr.c          |    9 
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |    8 
 drivers/net/ethernet/ti/cpsw.c                   |   30 -
 drivers/net/ethernet/ti/cpsw_ale.c               |   10 
 drivers/net/ethernet/ti/cpsw_ale.h               |    2 
 drivers/net/team/team.c                          |   16 
 drivers/net/wireless/iwlwifi/mvm/utils.c         |    2 
 drivers/net/wireless/rtlwifi/pci.c               |   32 -
 drivers/net/wireless/rtlwifi/rtl8192ce/hw.c      |    2 
 drivers/net/xen-netback/common.h                 |    4 
 drivers/net/xen-netback/interface.c              |    4 
 drivers/net/xen-netback/netback.c                |   27 
 drivers/net/xen-netback/xenbus.c                 |   13 
 drivers/pinctrl/pinctrl-xway.c                   |    2 
 drivers/platform/x86/asus-nb-wmi.c               |    9 
 drivers/platform/x86/hp_accel.c                  |    1 
 drivers/reset/reset-sunxi.c                      |    4 
 drivers/scsi/mpt2sas/mpt2sas_transport.c         |    5 
 drivers/scsi/mpt3sas/mpt3sas_transport.c         |    5 
 drivers/scsi/scsi_devinfo.c                      |    1 
 drivers/scsi/scsi_error.c                        |    4 
 drivers/scsi/scsi_lib.c                          |    4 
 drivers/scsi/storvsc_drv.c                       |    7 
 drivers/target/iscsi/iscsi_target_login.c        |   10 
 drivers/target/iscsi/iscsi_target_util.c         |   26 
 drivers/target/loopback/tcm_loop.c               |   66 --
 drivers/target/loopback/tcm_loop.h               |    7 
 drivers/target/target_core_device.c              |    8 
 drivers/target/target_core_file.c                |   11 
 drivers/target/target_core_iblock.c              |    2 
 drivers/target/target_core_sbc.c                 |   15 
 drivers/target/target_core_spc.c                 |    5 
 drivers/thermal/intel_powerclamp.c               |    2 
 drivers/tty/serial/serial_core.c                 |    4 
 drivers/usb/dwc3/gadget.c                        |    6 
 drivers/usb/gadget/legacy/inode.c                |    1 
 drivers/usb/gadget/udc/atmel_usba_udc.c          |   19 
 drivers/usb/host/ehci-sched.c                    |    8 
 drivers/usb/host/pci-quirks.c                    |   18 
 drivers/usb/host/xhci-pci.c                      |    2 
 drivers/usb/host/xhci.c                          |    9 
 drivers/usb/musb/musb_host.c                     |    1 
 drivers/usb/serial/console.c                     |   16 
 drivers/usb/serial/cp210x.c                      |    4 
 drivers/usb/serial/keyspan.c                     |   20 
 drivers/usb/serial/option.c                      |   11 
 drivers/usb/serial/qcserial.c                    |    1 
 drivers/usb/storage/unusual_uas.h                |   28 +
 drivers/vfio/pci/vfio_pci.c                      |    4 
 drivers/vhost/scsi.c                             |   24 
 drivers/video/fbdev/core/fb_defio.c              |    5 
 drivers/video/logo/logo.c                        |   17 
 fs/lockd/svc.c                                   |    8 
 fs/locks.c                                       |    2 
 fs/nfs/nfs4client.c                              |   17 
 fs/proc/stat.c                                   |    2 
 include/linux/kernel_stat.h                      |    1 
 include/linux/netdevice.h                        |   20 
 include/net/vxlan.h                              |   28 -
 include/uapi/linux/in6.h                         |    3 
 include/uapi/linux/libc-compat.h                 |    3 
 include/uapi/linux/target_core_user.h            |    4 
 kernel/irq/internals.h                           |    4 
 kernel/irq/irqdesc.c                             |   52 +
 kernel/irq/proc.c                                |   22 
 kernel/time/tick-sched.c                         |    2 
 kernel/trace/ftrace.c                            |   53 +
 lib/decompress_bunzip2.c                         |    2 
 net/batman-adv/fragmentation.c                   |    4 
 net/batman-adv/gateway_client.c                  |    2 
 net/core/dev.c                                   |   37 -
 net/core/skbuff.c                                |    1 
 net/ipv4/geneve.c                                |   30 -
 net/ipv4/ip_gre.c                                |    9 
 net/ipv4/tcp_output.c                            |    4 
 net/ipv6/tcp_ipv6.c                              |   45 +
 net/netlink/af_netlink.c                         |   54 -
 net/wireless/chan.c                              |    9 
 net/wireless/nl80211.c                           |    2 
 net/wireless/reg.c                               |   12 
 scripts/Makefile.clean                           |   16 
 scripts/coccinelle/misc/bugon.cocci              |    2 
 sound/usb/quirks-table.h                         |  166 +----
 186 files changed, 1853 insertions(+), 1094 deletions(-)

Aaron Lu (1):
gpio: crystalcove: use handle_nested_irq

Ahmed S. Darwish (3):
can: kvaser_usb: Don't free packets when tight on URBs
can: kvaser_usb: Reset all URB tx contexts upon channel close
can: kvaser_usb: Don't send a RESET_CHIP for non-existing channels

Alan Stern (2):
SCSI: fix regression in scsi_send_eh_cmnd()
USB: EHCI: fix initialization bug in iso_stream_schedule()

Alex Deucher (7):
drm/radeon: fix typo in CI dpm disable drm/radeon: work around a hw bug in MGCG on CIK drm/radeon: check the right ring in radeon_evict_flags() drm/radeon: KV has three PPLLs (v2)
drm/radeon: fix sad_count check for dce3 drm/radeon: adjust default bapm settings for KV drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw

Alexander Usyskin (1):
mei: clean reset bit before reset

Amir Vadai (1):
net/mlx4_en: Doorbell is byteswapped in Little Endian archs

Amit Virdi (2):
usb: dwc3: gadget: Fix TRB preparation during SG
usb: dwc3: gadget: Stop TRB preparation after limit is reached

Anton Blanchard (1):
powernv: Fix OPAL tracepoint code

Antonio Quartulli (1):
batman-adv: avoid NULL dereferences and fix if check

Arik Nemtsov (1):
cfg80211: avoid mem leak on driver hint set

Arseny Solokha (1):
OHCI: add a quirk for ULi M5237 blocking on reset

Bandan Das (1):
KVM: nVMX: Disable unrestricted mode if ept=0

Bjørn Mork (1):
x86/build: Clean auto-generated processor feature files

Bo Shen (2):
usb: gadget: udc: atmel: change setting for DMA
usb: gadget: udc: atmel: fix possible IN hang issue

Boris Brezillon (1):
clk: at91: keep slow clk enabled to prevent system hang

Catalin Marinas (1):
arm64: partially revert "ARM: 8167/1: extend the reserved memory for initrd to be page aligned"

Chris Wilson (4):
drm/i915: Only warn the first time we attempt to mmio whilst suspended drm/i915: Invalidate media caches on gen7
drm/i915: Force the CS stall for invalidate flushes
drm/i915: Disable PSMI sleep messages on all rings around context switches

Dan Carpenter (1):
decompress_bunzip2: off by one in get_next_block()

Daniel Borkmann (1):
x86, um: actually mark system call tables readonly

Daniel Vetter (3):
drm/dp-mst: Remove branches before dropping the reference drm/i915: Don't complain about stolen conflicts on gen3 drm/i915: Disallow pin ioctl completely for kms drivers

Dave Airlie (3):
drm/fb_helper: move deferred fb checking into restore mode (v2) drm/dp: retry AUX transactions 32 times (v1.1) drm/i915: resume MST after reading back hw state

David Miller (1):
netlink: Always copy on mmap TX.

David Peterson (1):

      USB: cp210x: add IDs for CEL USB sticks and MeshWorks devices

David Vrabel (1):
xen-netback: support frontends without feature-rx-notify again

Dmitry Torokhov (1):
Input: I8042 - add Acer Aspire 7738 to the nomux list

Dmitry Voytik (1):
ARM: imx6q: drop unnecessary semicolon

Dominique Leuenberger (1):
hp_accel: Add support for HP ZBook 15

Dylan Rajaratnam (1):
img-ir/hw: Always read data to clear buffer

Emmanuel Grumbach (1):
cfg80211: don't WARN about two consecutive Country IE hint

Eric Dumazet (1):
alx: fix alx_poll()

Eyal Shapira (1):
iwlwifi: mvm: fix Rx with both chains

Fabio Estevam (3):
ARM: imx6sx: Set PLL2 as parent of QSPI clocks
ARM: dts: imx25: Fix the SPI1 clocks
ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling

Felipe Balbi (1):
net: ethernet: cpsw: fix hangs with interrupts

Frank Schaefer (1):
af9005: fix kernel panic on init if compiled without IR

Gary Bisson (1):
ARM: clk-imx6q: fix video divider for rev T0 1.0

Geert Uytterhoeven (1):
ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances

Govindarajulu Varadarajan (1):
enic: fix rx skb checksum

Greg Kroah-Hartman (1):

      Linux 3.18.4

Hannes Reinecke (1):
tcm_loop: Fix wrong I_T nexus association

Hans Holmberg (1):
gpiolib: of: Correct error handling in of_get_named_gpiod_flags

Hans Verkuil (1):
vivid: fix CROP_BOUNDS typo for video output

Hans de Goede (5):
xhci: Add broken-streams quirk for Fresco Logic FL1000G xhci controllers
asus-nb-wmi: Add another wapf=4 quirk
uas: Add US_FL_NO_ATA_1X for Seagate devices with usb-id 0bc2:a013
uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS566 with usb-id 0bc2:a013
uas: Add US_FL_NO_ATA_1X for 2 more Seagate disk enclosures

Heiko Stuebner (2):
clk: rockchip: fix rk3288 cpuclk core dividers
clk: rockchip: fix rk3066 pll lock bit location

Herbert Xu (1):
tcp: Do not apply TSO segment limit to non-TSO packets

Ian Munsie (3):
cxl: Change contexts_lock to a mutex to fix sleep while atomic bug
cxl: Add timeout to process element commands
cxl: Unmap MMIO regions when detaching a context

Ido Shamay (1):
net/mlx4: Cache line CQE/EQE stride fixes

Ilia Mirkin (1):
drm/nv4c/mc: disable msi

James Bottomley (1):
serial: fix parisc boot hang

James Hogan (1):
img-ir/hw: Fix potential deadlock stopping timer

Jason Wang (1):
net: drop the packet when fails to do software segmentation or header check

Jay Vosburgh (1):
net/core: Handle csum for CHECKSUM_COMPLETE VXLAN forwarding

Jesse Barnes (1):
drm/i915: save/restore GMBUS freq across suspend/resume on gen4

Jesse Gross (3):
geneve: Remove socket and offload handlers at destruction.
geneve: Fix races between socket add and release.
net: Generalize ndo_gso_check to ndo_features_check

Jiri Pirko (1):
team: avoid possible underflow of count_pending value for notify_peers and mcast_rejoin

Jisheng Zhang (4):
clk: berlin: bg2q: remove non-exist "smemc" gate clock
ARM: dts: berlin: fix io clk and add missing core clk for BG2Q sdhci2 host
ARM: dts: berlin: correct BG2Q's SM GPIO location.
ARM: dts: berlin: add broken-cd and set bus width for eMMC in Marvell DMP DT

Johan Hovold (9):
pinctrl: lantiq: remove bogus of_gpio_chip_add
gpio: fix memory and reference leaks in gpiochip_add error path
gpio: fix memory leak and sleep-while-atomic
gpio: fix sleep-while-atomic in gpiochip_remove
gpio: sysfs: fix gpio-chip device-attribute leak
gpio: sysfs: fix gpio device-attribute leak
USB: keyspan: fix null-deref at probe
USB: console: fix uninitialised ldisc semaphore
USB: console: fix potential use after free

John David Anglin (1):
parisc: fix out-of-register compiler error in ldcw inline assembler function

Jouni Malinen (1):

      cfg80211: Fix 160 MHz channels with 80+80 and 160 MHz drivers

Keerthy (2):
bus: omap_l3_noc: Add resume hook to restore context
bus: omap_l3_noc: Correct returning IRQ_HANDLED unconditionally in the irq handler

Kevin Hao (1):
Revert "clk: ppc-corenet: Fix Section mismatch warning"

Krzysztof Kozlowski (1):
clk: samsung: Fix double add of syscore ops after driver rebind

Kyle McMartin (1):
uapi/linux/target_core_user.h: fix headers_install.sh badness

Larry Finger (2):
rtlwifi: rtl8192ce: Set fw_ready flag
rtlwifi: Fix error when accessing unmapped memory in skb

Lars-Peter Clausen (1):

      iio: ad799x: Fix ad7991/ad7995/ad7999 config setup

Lennart Sorensen (2):
ARM: omap5/dra7xx: Fix frequency typos
ARM: omap5/dra7xx: Enable booting secondary CPU in HYP mode

Long Li (1):
storvsc: ring buffer failures may result in I/O freeze

Luciano Coelho (1):
nl80211: check matches array length before acessing it

Maor Gottlieb (1):
net/mlx4_core: Correcly update the mtt's offset in the MR re-reg flow

Mario Schuknecht (1):
usb: gadget: gadgetfs: Free memory allocated by memdup_user()

Martin K. Petersen (1):
scsi: blacklist RSOC for Microsoft iSCSI target devices

Mathias Nyman (1):
xhci: Check if slot is already in default state before moving it there

Mauro Carvalho Chehab (3):
bugon.cocci: fix Options at the macro
sound: simplify au0828 quirk table
sound: Update au0828 quirks table

Max Gurtovoy (1):
IB/iser: Fix possible SQ overflow

Michal Marek (1):
kbuild: Fix removal of the debian/ directory

Mugunthan V N (2):
drivers: net: cpsw: fix multicast flush in dual emac mode
ARM: dts: dra7-evm: fix qspi device tree partition size

NeilBrown (1):
locks: fix NULL-deref in generic_delete_lease

Nicholas Bellinger (3):
iscsi-target: Fail connection on short sendmsg writes
target: Drop arbitrary maximum I/O size limit
vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion

Nicolas Dichtel (1):
tcp6: don't move IP6CB before xfrm6_policy_check()

Nishanth Menon (1):
ARM: omap2plus_defconfig: use CONFIG_CPUFREQ_DT

Palik, Imre (1):
xen-netback: fixing the propagation of the transmit shaper timeout

Prashant Sreedharan (1):
tg3: tg3_disable_ints using uninitialized mailbox value to disable interrupts

Preston Fick (1):

      USB: cp210x: fix ID for production CEL MeshConnect USB Stick

Reinhard Speyerer (1):
USB: qcserial/option: make AT URCs work for Sierra Wireless MC73xx

Richard Weinberger (1):
um: Skip futex_atomic_cmpxchg_inatomic() test

Rob Clark (1):

      drm/irq: BUG_ON() -> WARN_ON()

Sagi Grimberg (9):
iscsi,iser-target: Initiate termination only once
iser-target: Fix flush + disconnect completion handling
iser-target: Parallelize CM connection establishment
iser-target: Fix connected_handler + teardown flow race
iser-target: Handle ADDR_CHANGE event for listener cm_id
iser-target: Fix implicit termination of connections
iser-target: Allocate PI contexts dynamically
iser-target: Fix NULL dereference in SW mode DIF iscsi,iser-target: Expose supported protection ops according to t10_pi

Sakari Ailus (2):
smiapp-pll: Correct clock debug prints
smiapp: Take mutex during PLL update in sensor initialisation

Sam hung (1):
Input: elantech - support new ICs types for version 4

Sebastian Andrzej Siewior (1):
usb: musb: stuff leak of struct usb_hcd

Simon Guinot (1):
leds: netxbig: fix oops at probe time

Songjun Wu (1):
usb: gadget: udc: atmel: fix possible oops when unloading module

Sreekanth Reddy (2):
Revert "[SCSI] mpt2sas: Remove phys on topology change." Revert "[SCSI] mpt3sas: Remove phys on topology change"

Srihari Vijayaraghavan (1):
Input: i8042 - reset keyboard to fix Elantech touchpad detection

Stephen Boyd (1):
clk: Really fix deadlock with mmap_sem

Steven Rostedt (Red Hat) (3):
ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing
ftrace: Fix updating of filters for shared global_ops filters
ftrace: Check both notrace and filter for old hash

Sven Eckelmann (2):
batman-adv: Calculate extra tail size based on queued fragments
batman-adv: Unify fragment size calculation

Takashi Iwai (1):
uvcvideo: Fix destruction order in uvc_delete()

Tetsuo Handa (1):
drm/ttm: Avoid memory allocation from shrinker functions.

Thomas Gleixner (2):
tick/powerclamp: Remove tick_nohz_idle abuse
genirq: Prevent proc race against freeing of irq descriptors

Thomas Graf (2):
netlink: Don't reorder loads/stores before marking mmap netlink frame as available
net: Reset secmark when scrubbing packet

Thomas Hellstrom (3):
drm/vmwgfx: Don't use memory accounting for kernel-side fence objects drm/vmwgfx: Fix error printout on signals pending drm/vmwgfx: Fix fence event code

Tim Kryger (1):
mmc: sdhci: Set SDHCI_POWER_ON with external vmmc

Timo Teräs (1):
gre: fix the inner mac header in nbma tunnel xmit path

Tomeu Vizoso (1):
clk: Don't try to use a struct clk* after it could have been freed

Tomi Valkeinen (2):
video/logo: prevent use of logos after they have been freed video/fbdev: fix defio's fsync

Tony Battersby (1):
scsi: fix random memory corruption with scsi-mq + T10 PI

Toshiaki Makita (1):
net: Fix stacked vlan offload features computation

Trond Myklebust (2):
NFSv4.1: Fix client id trunking on Linux
LOCKD: Fix a race when initialising nlmsvc_timeout

Tyler Baker (1):
reset: sunxi: fix spinlock initialization

Vasu Dev (1):
i40e: adds FCoE configure option

Ville Syrjälä (3):
drm/i915: Don't call intel_prepare_page_flip() multiple times on gen2-4 Revert "drm/i915: Preserve VGACNTR bits from the BIOS" drm/i915: Kill check_power_well() calls

Vineet Gupta (1):
ARC: [nsimosci] move peripherals to match model to FPGA

Wei Yang (1):
vfio-pci: Fix the check on pci device type in vfio_pci_probe()

stephen hemminger (1):
in6: fix conflict with glibc

zhendong chen (1):
dm: fix missed error code if .end_io isn't implemented by target_type

author maintainer
#1 lore raw
Documentation/kernel-parameters.txt +1 -0
index 479f33204a37..f4c71d4a9ba3 100644
@@ -1270,6 +1270,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 	i8042.notimeout	[HW] Ignore timeout condition signalled by controller
 	i8042.reset	[HW] Reset the controller during init and cleanup
 	i8042.unlock	[HW] Unlock (ignore) the keylock
+	i8042.kbdreset  [HW] Reset device connected to KBD port
 
 	i810=		[HW,DRM]
 
Makefile +1 -1
index 91cfe8d5ee06..4e9328491c1e 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 18
-SUBLEVEL = 3
+SUBLEVEL = 4
 EXTRAVERSION =
 NAME = Diseased Newt
 
arch/arc/boot/dts/nsimosci.dts +9 -9
index cfaedd9c61c9..1c169dc74ad1 100644
@@ -20,7 +20,7 @@
 		/* this is for console on PGU */
 		/* bootargs = "console=tty0 consoleblank=0"; */
 		/* this is for console on serial */
-		bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
+		bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
 	};
 
 	aliases {
@@ -41,9 +41,9 @@
 			#interrupt-cells = <1>;
 		};
 
-		uart0: serial@c0000000 {
+		uart0: serial@f0000000 {
 			compatible = "ns8250";
-			reg = <0xc0000000 0x2000>;
+			reg = <0xf0000000 0x2000>;
 			interrupts = <11>;
 			clock-frequency = <3686400>;
 			baud = <115200>;
@@ -52,21 +52,21 @@
 			no-loopback-test = <1>;
 		};
 
-		pgu0: pgu@c9000000 {
+		pgu0: pgu@f9000000 {
 			compatible = "snps,arcpgufb";
-			reg = <0xc9000000 0x400>;
+			reg = <0xf9000000 0x400>;
 		};
 
-		ps2: ps2@c9001000 {
+		ps2: ps2@f9001000 {
 			compatible = "snps,arc_ps2";
-			reg = <0xc9000400 0x14>;
+			reg = <0xf9000400 0x14>;
 			interrupts = <13>;
 			interrupt-names = "arc_ps2_irq";
 		};
 
-		eth0: ethernet@c0003000 {
+		eth0: ethernet@f0003000 {
 			compatible = "snps,oscilan";
-			reg = <0xc0003000 0x44>;
+			reg = <0xf0003000 0x44>;
 			interrupts = <7>, <8>;
 			interrupt-names = "rx", "tx";
 		};
arch/arm/boot/dts/berlin2q-marvell-dmp.dts +2 -0
index ea1f99b8eed6..45ac1d04cf42 100644
@@ -30,6 +30,8 @@
 };
 
 &sdhci2 {
+	broken-cd;
+	bus-width = <8>;
 	non-removable;
 	status = "okay";
 };
arch/arm/boot/dts/berlin2q.dtsi +32 -31

87 lines not on this page · raw message

arch/arm/boot/dts/dra7-evm.dts +5 -5
index c6ce6258434f..1bd6c79f445e 100644
@@ -399,23 +399,23 @@
 		};
 		partition@5 {
 			label = "QSPI.u-boot-spl-os";
-			reg = <0x00140000 0x00010000>;
+			reg = <0x00140000 0x00080000>;
 		};
 		partition@6 {
 			label = "QSPI.u-boot-env";
-			reg = <0x00150000 0x00010000>;
+			reg = <0x001c0000 0x00010000>;
 		};
 		partition@7 {
 			label = "QSPI.u-boot-env.backup1";
-			reg = <0x00160000 0x0010000>;
+			reg = <0x001d0000 0x0010000>;
 		};
 		partition@8 {
 			label = "QSPI.kernel";
-			reg = <0x00170000 0x0800000>;
+			reg = <0x001e0000 0x0800000>;
 		};
 		partition@9 {
 			label = "QSPI.file-system";
-			reg = <0x00970000 0x01690000>;
+			reg = <0x009e0000 0x01620000>;
 		};
 	};
 };
arch/arm/boot/dts/imx25.dtsi +1 -1
index 58d3c3cf2923..d238676a9107 100644
@@ -162,7 +162,7 @@
 				#size-cells = <0>;
 				compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
 				reg = <0x43fa4000 0x4000>;
-				clocks = <&clks 62>, <&clks 62>;
+				clocks = <&clks 78>, <&clks 78>;
 				clock-names = "ipg", "per";
 				interrupts = <14>;
 				status = "disabled";
arch/arm/boot/dts/imx51-babbage.dts +5 -17
index 56569cecaa78..649befeb2cf9 100644
@@ -127,24 +127,12 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		reg_usbh1_vbus: regulator@0 {
-			compatible = "regulator-fixed";
-			pinctrl-names = "default";
-			pinctrl-0 = <&pinctrl_usbh1reg>;
-			reg = <0>;
-			regulator-name = "usbh1_vbus";
-			regulator-min-microvolt = <5000000>;
-			regulator-max-microvolt = <5000000>;
-			gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
-			enable-active-high;
-		};
-
-		reg_usbotg_vbus: regulator@1 {
+		reg_hub_reset: regulator@0 {
 			compatible = "regulator-fixed";
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_usbotgreg>;
-			reg = <1>;
-			regulator-name = "usbotg_vbus";
+			reg = <0>;
+			regulator-name = "hub_reset";
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
 			gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
@@ -176,6 +164,7 @@
 			reg = <0>;
 			clocks = <&clks IMX5_CLK_DUMMY>;
 			clock-names = "main_clk";
+			reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
 		};
 	};
 };
@@ -419,7 +408,7 @@
 &usbh1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usbh1>;
-	vbus-supply = <&reg_usbh1_vbus>;
+	vbus-supply = <&reg_hub_reset>;
 	fsl,usbphy = <&usbh1phy>;
 	phy_type = "ulpi";
 	status = "okay";
@@ -429,7 +418,6 @@
 	dr_mode = "otg";
 	disable-over-current;
 	phy_type = "utmi_wide";
-	vbus-supply = <&reg_usbotg_vbus>;
 	status = "okay";
 };
 
arch/arm/configs/omap2plus_defconfig +1 -1
index b3f86670d2eb..a0e51bb68b2d 100644
@@ -68,7 +68,7 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-CONFIG_GENERIC_CPUFREQ_CPU0=y
+CONFIG_CPUFREQ_DT=y
 # CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
 CONFIG_CPU_IDLE=y
 CONFIG_BINFMT_MISC=y
arch/arm/mach-imx/clk-imx6q.c +2 -2
index 4e79da7c5e30..2daef619d053 100644
@@ -144,8 +144,8 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
 		post_div_table[1].div = 1;
 		post_div_table[2].div = 1;
 		video_div_table[1].div = 1;
-		video_div_table[2].div = 1;
-	};
+		video_div_table[3].div = 1;
+	}
 
 	clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
 	clk[IMX6QDL_PLL2_BYPASS_SRC] = imx_clk_mux("pll2_bypass_src", base + 0x30, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
arch/arm/mach-imx/clk-imx6sx.c +3 -0
index 17354a11356f..5a3e5a159e70 100644
@@ -558,6 +558,9 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
 	clk_set_parent(clks[IMX6SX_CLK_GPU_CORE_SEL], clks[IMX6SX_CLK_PLL3_PFD0]);
 	clk_set_parent(clks[IMX6SX_CLK_GPU_AXI_SEL], clks[IMX6SX_CLK_PLL3_PFD0]);
 
+	clk_set_parent(clks[IMX6SX_CLK_QSPI1_SEL], clks[IMX6SX_CLK_PLL2_BUS]);
+	clk_set_parent(clks[IMX6SX_CLK_QSPI2_SEL], clks[IMX6SX_CLK_PLL2_BUS]);
+
 	/* Set initial power mode */
 	imx6q_set_lpm(WAIT_CLOCKED);
 }
arch/arm/mach-omap2/common.h +1 -0
index 377eea849e7b..db57741c9c8a 100644
@@ -249,6 +249,7 @@ extern void omap4_cpu_die(unsigned int cpu);
 extern struct smp_operations omap4_smp_ops;
 
 extern void omap5_secondary_startup(void);
+extern void omap5_secondary_hyp_startup(void);
 #endif
 
 #if defined(CONFIG_SMP) && defined(CONFIG_PM)
arch/arm/mach-omap2/omap-headsmp.S +21 -0
index 4993d4bfe9b2..6d1dffca6c7b 100644
@@ -22,6 +22,7 @@
 
 /* Physical address needed since MMU not enabled yet on secondary core */
 #define AUX_CORE_BOOT0_PA			0x48281800
+#define API_HYP_ENTRY				0x102
 
 /*
  * OMAP5 specific entry point for secondary CPU to jump from ROM
@@ -41,6 +42,26 @@ wait:	ldr	r2, =AUX_CORE_BOOT0_PA	@ read from AuxCoreBoot0
 	b	secondary_startup
 ENDPROC(omap5_secondary_startup)
 /*
+ * Same as omap5_secondary_startup except we call into the ROM to
+ * enable HYP mode first.  This is called instead of
+ * omap5_secondary_startup if the primary CPU was put into HYP mode by
+ * the boot loader.
+ */
+ENTRY(omap5_secondary_hyp_startup)
+wait_2:	ldr	r2, =AUX_CORE_BOOT0_PA	@ read from AuxCoreBoot0
+	ldr	r0, [r2]
+	mov	r0, r0, lsr #5
+	mrc	p15, 0, r4, c0, c0, 5
+	and	r4, r4, #0x0f
+	cmp	r0, r4
+	bne	wait_2
+	ldr	r12, =API_HYP_ENTRY
+	adr	r0, hyp_boot
+	smc	#0
+hyp_boot:
+	b	secondary_startup
+ENDPROC(omap5_secondary_hyp_startup)
+/*
  * OMAP4 specific entry point for secondary CPU to jump from ROM
  * code.  This routine also provides a holding flag into which
  * secondary core is held until we're ready for it to initialise.
arch/arm/mach-omap2/omap-smp.c +11 -2
index 256e84ef0f67..5305ec7341ec 100644
@@ -22,6 +22,7 @@
 #include <linux/irqchip/arm-gic.h>
 
 #include <asm/smp_scu.h>
+#include <asm/virt.h>
 
 #include "omap-secure.h"
 #include "omap-wakeupgen.h"
@@ -227,8 +228,16 @@ static void __init omap4_smp_prepare_cpus(unsigned int max_cpus)
 	if (omap_secure_apis_support())
 		omap_auxcoreboot_addr(virt_to_phys(startup_addr));
 	else
-		writel_relaxed(virt_to_phys(omap5_secondary_startup),
-			       base + OMAP_AUX_CORE_BOOT_1);
+		/*
+		 * If the boot CPU is in HYP mode then start secondary
+		 * CPU in HYP mode as well.
+		 */
+		if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE)
+			writel_relaxed(virt_to_phys(omap5_secondary_hyp_startup),
+				       base + OMAP_AUX_CORE_BOOT_1);
+		else
+			writel_relaxed(virt_to_phys(omap5_secondary_startup),
+				       base + OMAP_AUX_CORE_BOOT_1);
 
 }
 
arch/arm/mach-omap2/timer.c +4 -4
index 4f61148ec168..fb0cb2b817a9 100644
@@ -513,11 +513,11 @@ static void __init realtime_counter_init(void)
 	rate = clk_get_rate(sys_clk);
 	/* Numerator/denumerator values refer TRM Realtime Counter section */
 	switch (rate) {
-	case 1200000:
+	case 12000000:
 		num = 64;
 		den = 125;
 		break;
-	case 1300000:
+	case 13000000:
 		num = 768;
 		den = 1625;
 		break;
@@ -529,11 +529,11 @@ static void __init realtime_counter_init(void)
 		num = 192;
 		den = 625;
 		break;
-	case 2600000:
+	case 26000000:
 		num = 384;
 		den = 1625;
 		break;
-	case 2700000:
+	case 27000000:
 		num = 256;
 		den = 1125;
 		break;
arch/arm/mach-shmobile/setup-sh73a0.c +3 -0
index 328657d011d5..1ba4f6357843 100644
@@ -598,6 +598,7 @@ static struct platform_device ipmmu_device = {
 
 static struct renesas_intc_irqpin_config irqpin0_platform_data = {
 	.irq_base = irq_pin(0), /* IRQ0 -> IRQ7 */
+	.control_parent = true,
 };
 
 static struct resource irqpin0_resources[] = {
@@ -659,6 +660,7 @@ static struct platform_device irqpin1_device = {
 
 static struct renesas_intc_irqpin_config irqpin2_platform_data = {
 	.irq_base = irq_pin(16), /* IRQ16 -> IRQ23 */
+	.control_parent = true,
 };
 
 static struct resource irqpin2_resources[] = {
@@ -689,6 +691,7 @@ static struct platform_device irqpin2_device = {
 
 static struct renesas_intc_irqpin_config irqpin3_platform_data = {
 	.irq_base = irq_pin(24), /* IRQ24 -> IRQ31 */
+	.control_parent = true,
 };
 
 static struct resource irqpin3_resources[] = {
arch/arm64/mm/init.c +1 -7
index 494297c698ca..fff81f02251c 100644
@@ -333,14 +333,8 @@ static int keep_initrd;
 
 void free_initrd_mem(unsigned long start, unsigned long end)
 {
-	if (!keep_initrd) {
-		if (start == initrd_start)
-			start = round_down(start, PAGE_SIZE);
-		if (end == initrd_end)
-			end = round_up(end, PAGE_SIZE);
-
+	if (!keep_initrd)
 		free_reserved_area((void *)start, (void *)end, 0, "initrd");
-	}
 }
 
 static int __init keepinitrd_setup(char *__unused)
arch/parisc/include/asm/ldcw.h +10 -3
index d2d11b7055ba..8121aa6db2ff 100644
@@ -33,11 +33,18 @@
 
 #endif /*!CONFIG_PA20*/
 
-/* LDCW, the only atomic read-write operation PA-RISC has. *sigh*.  */
+/* LDCW, the only atomic read-write operation PA-RISC has. *sigh*.
+   We don't explicitly expose that "*a" may be written as reload
+   fails to find a register in class R1_REGS when "a" needs to be
+   reloaded when generating 64-bit PIC code.  Instead, we clobber
+   memory to indicate to the compiler that the assembly code reads
+   or writes to items other than those listed in the input and output
+   operands.  This may pessimize the code somewhat but __ldcw is
+   usually used within code blocks surrounded by memory barriors.  */
 #define __ldcw(a) ({						\
 	unsigned __ret;						\
-	__asm__ __volatile__(__LDCW " 0(%2),%0"			\
-		: "=r" (__ret), "+m" (*(a)) : "r" (a));		\
+	__asm__ __volatile__(__LDCW " 0(%1),%0"			\
+		: "=r" (__ret) : "r" (a) : "memory");		\
 	__ret;							\
 })
 
arch/powerpc/platforms/powernv/opal-wrappers.S +0 -1
index feb549aa3eea..b67ea67eb71b 100644
@@ -40,7 +40,6 @@ BEGIN_FTR_SECTION;						\
 	b	1f;						\
 END_FTR_SECTION(0, 1);						\
 	ld	r12,opal_tracepoint_refcount@toc(r2);		\
-	std	r12,32(r1);					\
 	cmpdi	r12,0;						\
 	bne-	LABEL;						\
 1:
arch/um/Kconfig.common +1 -0
index 87bc86821bc9..d195a87ca542 100644
@@ -3,6 +3,7 @@ config UML
 	default y
 	select HAVE_ARCH_AUDITSYSCALL
 	select HAVE_UID16
+	select HAVE_FUTEX_CMPXCHG if FUTEX
 	select GENERIC_IRQ_SHOW
 	select GENERIC_CPU_DEVICES
 	select GENERIC_IO
arch/x86/boot/Makefile +1 -0
index 5b016e2498f3..3db07f30636f 100644
@@ -51,6 +51,7 @@ targets += cpustr.h
 $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
 	$(call if_changed,cpustr)
 endif
+clean-files += cpustr.h
 
 # ---------------------------------------------------------------------------
 
arch/x86/kernel/cpu/Makefile +1 -0
index e27b49d7c922..80091ae54c2b 100644
@@ -66,3 +66,4 @@ targets += capflags.c
 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
 	$(call if_changed,mkcapflags)
 endif
+clean-files += capflags.c
arch/x86/kernel/kprobes/core.c +15 -5
index 67e6d19ef1be..93d2c04c6f8f 100644
@@ -1018,6 +1018,15 @@ int setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs)
 	regs->flags &= ~X86_EFLAGS_IF;
 	trace_hardirqs_off();
 	regs->ip = (unsigned long)(jp->entry);
+
+	/*
+	 * jprobes use jprobe_return() which skips the normal return
+	 * path of the function, and this messes up the accounting of the
+	 * function graph tracer to get messed up.
+	 *
+	 * Pause function graph tracing while performing the jprobe function.
+	 */
+	pause_graph_tracing();
 	return 1;
 }
 NOKPROBE_SYMBOL(setjmp_pre_handler);
@@ -1046,24 +1055,25 @@ int longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
 	struct kprobe_ctlblk *kcb = get_kprobe_ctlblk();
 	u8 *addr = (u8 *) (regs->ip - 1);
 	struct jprobe *jp = container_of(p, struct jprobe, kp);
+	void *saved_sp = kcb->jprobe_saved_sp;
 
 	if ((addr > (u8 *) jprobe_return) &&
 	    (addr < (u8 *) jprobe_return_end)) {
-		if (stack_addr(regs) != kcb->jprobe_saved_sp) {
+		if (stack_addr(regs) != saved_sp) {
 			struct pt_regs *saved_regs = &kcb->jprobe_saved_regs;
 			printk(KERN_ERR
 			       "current sp %p does not match saved sp %p\n",
-			       stack_addr(regs), kcb->jprobe_saved_sp);
+			       stack_addr(regs), saved_sp);
 			printk(KERN_ERR "Saved registers for jprobe %p\n", jp);
 			show_regs(saved_regs);
 			printk(KERN_ERR "Current registers\n");
 			show_regs(regs);
 			BUG();
 		}
+		/* It's OK to start function graph tracing again */
+		unpause_graph_tracing();
 		*regs = kcb->jprobe_saved_regs;
-		memcpy((kprobe_opcode_t *)(kcb->jprobe_saved_sp),
-		       kcb->jprobes_stack,
-		       MIN_STACK_SIZE(kcb->jprobe_saved_sp));
+		memcpy(saved_sp, kcb->jprobes_stack, MIN_STACK_SIZE(saved_sp));
 		preempt_enable_no_resched();
 		return 1;
 	}
arch/x86/kvm/vmx.c +2 -2
index 3e556c68351b..ed7039465f16 100644
@@ -2377,12 +2377,12 @@ static __init void nested_vmx_setup_ctls_msrs(void)
 	nested_vmx_secondary_ctls_low = 0;
 	nested_vmx_secondary_ctls_high &=
 		SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES |
-		SECONDARY_EXEC_UNRESTRICTED_GUEST |
 		SECONDARY_EXEC_WBINVD_EXITING;
 
 	if (enable_ept) {
 		/* nested EPT: emulate EPT also to L1 */
-		nested_vmx_secondary_ctls_high |= SECONDARY_EXEC_ENABLE_EPT;
+		nested_vmx_secondary_ctls_high |= SECONDARY_EXEC_ENABLE_EPT |
+			SECONDARY_EXEC_UNRESTRICTED_GUEST;
 		nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT |
 			 VMX_EPTP_WB_BIT | VMX_EPT_2MB_PAGE_BIT |
 			 VMX_EPT_INVEPT_BIT;
arch/x86/um/sys_call_table_32.c +1 -1
index 531d4269e2e3..bd16d6c370ec 100644
@@ -34,7 +34,7 @@ typedef asmlinkage void (*sys_call_ptr_t)(void);
 
 extern asmlinkage void sys_ni_syscall(void);
 
-const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
+const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
 	/*
 	 * Smells like a compiler bug -- it doesn't work
 	 * when the & below is removed.
arch/x86/um/sys_call_table_64.c +1 -1
index f2f0723070ca..95783087f0d3 100644
@@ -46,7 +46,7 @@ typedef void (*sys_call_ptr_t)(void);
 
 extern void sys_ni_syscall(void);
 
-const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
+const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
 	/*
 	 * Smells like a compiler bug -- it doesn't work
 	 * when the & below is removed.
drivers/bus/omap_l3_noc.c +61 -2

82 lines not on this page · raw message

drivers/clk/at91/clk-slow.c +27 -0
index 32f7c1b36204..2f13bd5246b5 100644
@@ -70,6 +70,7 @@ struct clk_sam9x5_slow {
 
 #define to_clk_sam9x5_slow(hw) container_of(hw, struct clk_sam9x5_slow, hw)
 
+static struct clk *slow_clk;
 
 static int clk_slow_osc_prepare(struct clk_hw *hw)
 {
@@ -357,6 +358,8 @@ at91_clk_register_sam9x5_slow(void __iomem *sckcr,
 	clk = clk_register(NULL, &slowck->hw);
 	if (IS_ERR(clk))
 		kfree(slowck);
+	else
+		slow_clk = clk;
 
 	return clk;
 }
@@ -433,6 +436,8 @@ at91_clk_register_sam9260_slow(struct at91_pmc *pmc,
 	clk = clk_register(NULL, &slowck->hw);
 	if (IS_ERR(clk))
 		kfree(slowck);
+	else
+		slow_clk = clk;
 
 	return clk;
 }
@@ -465,3 +470,25 @@ void __init of_at91sam9260_clk_slow_setup(struct device_node *np,
 
 	of_clk_add_provider(np, of_clk_src_simple_get, clk);
 }
+
+/*
+ * FIXME: All slow clk users are not properly claiming it (get + prepare +
+ * enable) before using it.
+ * If all users properly claiming this clock decide that they don't need it
+ * anymore (or are removed), it is disabled while faulty users are still
+ * requiring it, and the system hangs.
+ * Prevent this clock from being disabled until all users are properly
+ * requesting it.
+ * Once this is done we should remove this function and the slow_clk variable.
+ */
+static int __init of_at91_clk_slow_retain(void)
+{
+	if (!slow_clk)
+		return 0;
+
+	__clk_get(slow_clk);
+	clk_prepare_enable(slow_clk);
+
+	return 0;
+}
+arch_initcall(of_at91_clk_slow_retain);
drivers/clk/berlin/bg2q.c +0 -1
index 21784e4eb3f0..440ef81ab15c 100644
@@ -285,7 +285,6 @@ static const struct berlin2_gate_data bg2q_gates[] __initconst = {
 	{ "pbridge",	"perif",	15, CLK_IGNORE_UNUSED },
 	{ "sdio",	"perif",	16, CLK_IGNORE_UNUSED },
 	{ "nfc",	"perif",	18 },
-	{ "smemc",	"perif",	19 },
 	{ "pcie",	"perif",	22 },
 };
 
drivers/clk/clk-ppc-corenet.c +1 -1
index 8e58edfeeb37..8b284be4efa4 100644
@@ -291,7 +291,7 @@ static const struct of_device_id ppc_clk_ids[] __initconst = {
 	{}
 };
 
-static struct platform_driver ppc_corenet_clk_driver __initdata = {
+static struct platform_driver ppc_corenet_clk_driver = {
 	.driver = {
 		.name = "ppc_corenet_clock",
 		.owner = THIS_MODULE,
drivers/clk/clk.c +7 -3
index 4896ae9e23da..26bed0889e97 100644
@@ -240,7 +240,6 @@ static const struct file_operations clk_dump_fops = {
 	.release	= single_release,
 };
 
-/* caller must hold prepare_lock */
 static int clk_debug_create_one(struct clk *clk, struct dentry *pdentry)
 {
 	struct dentry *d;
@@ -1944,7 +1943,6 @@ int __clk_init(struct device *dev, struct clk *clk)
 	else
 		clk->rate = 0;
 
-	clk_debug_register(clk);
 	/*
 	 * walk the list of orphan clocks and reparent any that are children of
 	 * this clock
@@ -1979,6 +1977,9 @@ int __clk_init(struct device *dev, struct clk *clk)
 out:
 	clk_prepare_unlock();
 
+	if (!ret)
+		clk_debug_register(clk);
+
 	return ret;
 }
 
@@ -2273,14 +2274,17 @@ int __clk_get(struct clk *clk)
 
 void __clk_put(struct clk *clk)
 {
+	struct module *owner;
+
 	if (!clk || WARN_ON_ONCE(IS_ERR(clk)))
 		return;
 
 	clk_prepare_lock();
+	owner = clk->owner;
 	kref_put(&clk->ref, __clk_release);
 	clk_prepare_unlock();
 
-	module_put(clk->owner);
+	module_put(owner);
 }
 
 /***        clk rate change notifiers        ***/
drivers/clk/rockchip/clk-rk3188.c +13 -2
index beed49c79126..8088b384ce6e 100644
@@ -210,6 +210,17 @@ PNAME(mux_sclk_hsadc_p)		= { "hsadc_src", "hsadc_frac", "ext_hsadc" };
 PNAME(mux_mac_p)		= { "gpll", "dpll" };
 PNAME(mux_sclk_macref_p)	= { "mac_src", "ext_rmii" };
 
+static struct rockchip_pll_clock rk3066_pll_clks[] __initdata = {
+	[apll] = PLL(pll_rk3066, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
+		     RK2928_MODE_CON, 0, 5, rk3188_pll_rates),
+	[dpll] = PLL(pll_rk3066, PLL_DPLL, "dpll", mux_pll_p, 0, RK2928_PLL_CON(4),
+		     RK2928_MODE_CON, 4, 4, NULL),
+	[cpll] = PLL(pll_rk3066, PLL_CPLL, "cpll", mux_pll_p, 0, RK2928_PLL_CON(8),
+		     RK2928_MODE_CON, 8, 6, rk3188_pll_rates),
+	[gpll] = PLL(pll_rk3066, PLL_GPLL, "gpll", mux_pll_p, 0, RK2928_PLL_CON(12),
+		     RK2928_MODE_CON, 12, 7, rk3188_pll_rates),
+};
+
 static struct rockchip_pll_clock rk3188_pll_clks[] __initdata = {
 	[apll] = PLL(pll_rk3066, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
 		     RK2928_MODE_CON, 0, 6, rk3188_pll_rates),
@@ -742,8 +753,8 @@ static void __init rk3188_common_clk_init(struct device_node *np)
 static void __init rk3066a_clk_init(struct device_node *np)
 {
 	rk3188_common_clk_init(np);
-	rockchip_clk_register_plls(rk3188_pll_clks,
-				   ARRAY_SIZE(rk3188_pll_clks),
+	rockchip_clk_register_plls(rk3066_pll_clks,
+				   ARRAY_SIZE(rk3066_pll_clks),
 				   RK3066_GRF_SOC_STATUS);
 	rockchip_clk_register_branches(rk3066a_clk_branches,
 				  ARRAY_SIZE(rk3066a_clk_branches));
drivers/clk/rockchip/clk-rk3288.c +14 -14
index 23278291da44..6dbc64759a58 100644
@@ -142,20 +142,20 @@ struct rockchip_pll_rate_table rk3288_pll_rates[] = {
 	}
 
 static struct rockchip_cpuclk_rate_table rk3288_cpuclk_rates[] __initdata = {
-	RK3288_CPUCLK_RATE(1800000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1704000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1608000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1512000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1416000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1200000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE(1008000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 816000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 696000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 600000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 408000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 312000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 216000000, 2, 4, 2, 4, 4),
-	RK3288_CPUCLK_RATE( 126000000, 2, 4, 2, 4, 4),
+	RK3288_CPUCLK_RATE(1800000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1704000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1608000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1512000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1416000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1200000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE(1008000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 816000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 696000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 600000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 408000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 312000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 216000000, 1, 3, 1, 3, 3),
+	RK3288_CPUCLK_RATE( 126000000, 1, 3, 1, 3, 3),
 };
 
 static const struct rockchip_cpuclk_reg_data rk3288_cpuclk_data = {
drivers/clk/samsung/clk-exynos-audss.c +4 -0
index 13eae14c2cc2..b50469faf70c 100644
@@ -210,6 +210,10 @@ static int exynos_audss_clk_remove(struct platform_device *pdev)
 {
 	int i;
 
+#ifdef CONFIG_PM_SLEEP
+	unregister_syscore_ops(&exynos_audss_clk_syscore_ops);
+#endif
+
 	of_clk_del_provider(pdev->dev.of_node);
 
 	for (i = 0; i < clk_data.clk_num; i++) {
drivers/gpio/gpio-crystalcove.c +1 -1
index bbfe7f508502..a7cf0c193ba8 100644
@@ -272,7 +272,7 @@ static irqreturn_t crystalcove_gpio_irq_handler(int irq, void *data)
 	for (gpio = 0; gpio < CRYSTALCOVE_GPIO_NUM; gpio++) {
 		if (pending & BIT(gpio)) {
 			virq = irq_find_mapping(cg->chip.irqdomain, gpio);
-			generic_handle_irq(virq);
+			handle_nested_irq(virq);
 		}
 	}
 
drivers/gpio/gpiolib-of.c +8 -2
index 604dbe60bdee..08261f2b3a82 100644
@@ -45,8 +45,14 @@ static int of_gpiochip_find_and_xlate(struct gpio_chip *gc, void *data)
 		return false;
 
 	ret = gc->of_xlate(gc, &gg_data->gpiospec, gg_data->flags);
-	if (ret < 0)
-		return false;
+	if (ret < 0) {
+		/* We've found the gpio chip, but the translation failed.
+		 * Return true to stop looking and return the translation
+		 * error via out_gpio
+		 */
+		gg_data->out_gpio = ERR_PTR(ret);
+		return true;
+	 }
 
 	gg_data->out_gpio = gpiochip_get_desc(gc, ret);
 	return true;
drivers/gpio/gpiolib-sysfs.c +21 -26

112 lines not on this page · raw message

drivers/gpio/gpiolib.c +10 -8
index e8e98ca25ec7..c81bda0ec2cf 100644
@@ -268,6 +268,9 @@ int gpiochip_add(struct gpio_chip *chip)
 
 	spin_unlock_irqrestore(&gpio_lock, flags);
 
+	if (status)
+		goto fail;
+
 #ifdef CONFIG_PINCTRL
 	INIT_LIST_HEAD(&chip->pin_ranges);
 #endif
@@ -275,12 +278,12 @@ int gpiochip_add(struct gpio_chip *chip)
 	of_gpiochip_add(chip);
 	acpi_gpiochip_add(chip);
 
-	if (status)
-		goto fail;
-
 	status = gpiochip_export(chip);
-	if (status)
+	if (status) {
+		acpi_gpiochip_remove(chip);
+		of_gpiochip_remove(chip);
 		goto fail;
+	}
 
 	pr_debug("%s: registered GPIOs %d to %d on device: %s\n", __func__,
 		chip->base, chip->base + chip->ngpio - 1,
@@ -313,14 +316,13 @@ void gpiochip_remove(struct gpio_chip *chip)
 	unsigned long	flags;
 	unsigned	id;
 
-	acpi_gpiochip_remove(chip);
-
-	spin_lock_irqsave(&gpio_lock, flags);
-
 	gpiochip_irqchip_remove(chip);
+
+	acpi_gpiochip_remove(chip);
 	gpiochip_remove_pin_ranges(chip);
 	of_gpiochip_remove(chip);
 
+	spin_lock_irqsave(&gpio_lock, flags);
 	for (id = 0; id < chip->ngpio; id++) {
 		if (test_bit(FLAG_REQUESTED, &chip->desc[id].flags))
 			dev_crit(chip->dev, "REMOVING GPIOCHIP WITH GPIOS STILL REQUESTED\n");
drivers/gpu/drm/drm_dp_helper.c +4 -3
index 08e33b8b13a4..9f59c9027ebe 100644
@@ -378,10 +378,11 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request,
 
 	/*
 	 * The specification doesn't give any recommendation on how often to
-	 * retry native transactions, so retry 7 times like for I2C-over-AUX
-	 * transactions.
+	 * retry native transactions. We used to retry 7 times like for
+	 * aux i2c transactions but real world devices this wasn't
+	 * sufficient, bump to 32 which makes Dell 4k monitors happier.
 	 */
-	for (retry = 0; retry < 7; retry++) {
+	for (retry = 0; retry < 32; retry++) {
 
 		mutex_lock(&aux->hw_mutex);
 		err = aux->transfer(aux, &msg);
drivers/gpu/drm/drm_dp_mst_topology.c +4 -1
index 070f913d2dba..f50d884b81cf 100644
@@ -839,6 +839,8 @@ static void drm_dp_put_mst_branch_device(struct drm_dp_mst_branch *mstb)
 
 static void drm_dp_port_teardown_pdt(struct drm_dp_mst_port *port, int old_pdt)
 {
+	struct drm_dp_mst_branch *mstb;
+
 	switch (old_pdt) {
 	case DP_PEER_DEVICE_DP_LEGACY_CONV:
 	case DP_PEER_DEVICE_SST_SINK:
@@ -846,8 +848,9 @@ static void drm_dp_port_teardown_pdt(struct drm_dp_mst_port *port, int old_pdt)
 		drm_dp_mst_unregister_i2c_bus(&port->aux);
 		break;
 	case DP_PEER_DEVICE_MST_BRANCHING:
-		drm_dp_put_mst_branch_device(port->mstb);
+		mstb = port->mstb;
 		port->mstb = NULL;
+		drm_dp_put_mst_branch_device(mstb);
 		break;
 	}
 }
drivers/gpu/drm/drm_fb_helper.c +9 -4
index 0c0c39bac23d..ef757f712a3d 100644
@@ -347,9 +347,18 @@ bool drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper)
 {
 	struct drm_device *dev = fb_helper->dev;
 	bool ret;
+	bool do_delayed = false;
+
 	drm_modeset_lock_all(dev);
 	ret = restore_fbdev_mode(fb_helper);
+
+	do_delayed = fb_helper->delayed_hotplug;
+	if (do_delayed)
+		fb_helper->delayed_hotplug = false;
 	drm_modeset_unlock_all(dev);
+
+	if (do_delayed)
+		drm_fb_helper_hotplug_event(fb_helper);
 	return ret;
 }
 EXPORT_SYMBOL(drm_fb_helper_restore_fbdev_mode_unlocked);
@@ -888,10 +897,6 @@ int drm_fb_helper_set_par(struct fb_info *info)
 
 	drm_fb_helper_restore_fbdev_mode_unlocked(fb_helper);
 
-	if (fb_helper->delayed_hotplug) {
-		fb_helper->delayed_hotplug = false;
-		drm_fb_helper_hotplug_event(fb_helper);
-	}
 	return 0;
 }
 EXPORT_SYMBOL(drm_fb_helper_set_par);
drivers/gpu/drm/drm_irq.c +2 -1
index 5ef03c216a27..c4edea907f8f 100644
@@ -1029,7 +1029,8 @@ void drm_vblank_put(struct drm_device *dev, int crtc)
 {
 	struct drm_vblank_crtc *vblank = &dev->vblank[crtc];
 
-	BUG_ON(atomic_read(&vblank->refcount) == 0);
+	if (WARN_ON(atomic_read(&vblank->refcount) == 0))
+		return;
 
 	if (WARN_ON(crtc >= dev->num_crtcs))
 		return;
drivers/gpu/drm/i915/i915_drv.c +2 -1
index 2318b4c7a8f8..925697320949 100644
@@ -692,11 +692,12 @@ static int __i915_drm_thaw(struct drm_device *dev, bool restore_gtt_mappings)
 			spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
 		}
 
-		intel_dp_mst_resume(dev);
 		drm_modeset_lock_all(dev);
 		intel_modeset_setup_hw_state(dev, true);
 		drm_modeset_unlock_all(dev);
 
+		intel_dp_mst_resume(dev);
+
 		/*
 		 * ... but also need to make sure that hotplug processing
 		 * doesn't cause havoc. Like in the driver load code we don't
drivers/gpu/drm/i915/i915_drv.h +1 -2
index 16a6f6d187a1..346aee828dc3 100644
@@ -877,6 +877,7 @@ struct i915_suspend_saved_registers {
 	u32 savePIPEB_LINK_N1;
 	u32 saveMCHBAR_RENDER_STANDBY;
 	u32 savePCH_PORT_HOTPLUG;
+	u16 saveGCDGMBUS;
 };
 
 struct vlv_s0ix_state {
@@ -1665,8 +1666,6 @@ struct drm_i915_private {
 	 */
 	struct workqueue_struct *dp_wq;
 
-	uint32_t bios_vgacntr;
-
 	/* Old dri1 support infrastructure, beware the dragons ya fools entering
 	 * here! */
 	struct i915_dri1_state dri1;
drivers/gpu/drm/i915/i915_gem.c +4 -1
index 28f91df2604d..2de5f5f4ba45 100644
@@ -4193,7 +4193,7 @@ i915_gem_pin_ioctl(struct drm_device *dev, void *data,
 	struct drm_i915_gem_object *obj;
 	int ret;
 
-	if (INTEL_INFO(dev)->gen >= 6)
+	if (drm_core_check_feature(dev, DRIVER_MODESET))
 		return -ENODEV;
 
 	ret = i915_mutex_lock_interruptible(dev);
@@ -4249,6 +4249,9 @@ i915_gem_unpin_ioctl(struct drm_device *dev, void *data,
 	struct drm_i915_gem_object *obj;
 	int ret;
 
+	if (drm_core_check_feature(dev, DRIVER_MODESET))
+		return -ENODEV;
+
 	ret = i915_mutex_lock_interruptible(dev);
 	if (ret)
 		return ret;
drivers/gpu/drm/i915/i915_gem_context.c +40 -8

72 lines not on this page · raw message

drivers/gpu/drm/i915/i915_gem_stolen.c +5 -1
index 85fda6b803e4..0ee76b25204c 100644
@@ -137,7 +137,11 @@ static unsigned long i915_stolen_to_physical(struct drm_device *dev)
 		r = devm_request_mem_region(dev->dev, base + 1,
 					    dev_priv->gtt.stolen_size - 1,
 					    "Graphics Stolen Memory");
-		if (r == NULL) {
+		/*
+		 * GEN3 firmware likes to smash pci bridges into the stolen
+		 * range. Apparently this works.
+		 */
+		if (r == NULL && !IS_GEN3(dev)) {
 			DRM_ERROR("conflict detected with stolen region: [0x%08x - 0x%08x]\n",
 				  base, base + (uint32_t)dev_priv->gtt.stolen_size);
 			base = 0;
drivers/gpu/drm/i915/i915_irq.c +2 -4
index f66392b6e287..9ba1177200b2 100644
@@ -4022,8 +4022,6 @@ static bool i8xx_handle_vblank(struct drm_device *dev,
 	if ((iir & flip_pending) == 0)
 		goto check_page_flip;
 
-	intel_prepare_page_flip(dev, plane);
-
 	/* We detect FlipDone by looking for the change in PendingFlip from '1'
 	 * to '0' on the following vblank, i.e. IIR has the Pendingflip
 	 * asserted following the MI_DISPLAY_FLIP, but ISR is deasserted, hence
@@ -4033,6 +4031,7 @@ static bool i8xx_handle_vblank(struct drm_device *dev,
 	if (I915_READ16(ISR) & flip_pending)
 		goto check_page_flip;
 
+	intel_prepare_page_flip(dev, plane);
 	intel_finish_page_flip(dev, pipe);
 	return true;
 
@@ -4210,8 +4209,6 @@ static bool i915_handle_vblank(struct drm_device *dev,
 	if ((iir & flip_pending) == 0)
 		goto check_page_flip;
 
-	intel_prepare_page_flip(dev, plane);
-
 	/* We detect FlipDone by looking for the change in PendingFlip from '1'
 	 * to '0' on the following vblank, i.e. IIR has the Pendingflip
 	 * asserted following the MI_DISPLAY_FLIP, but ISR is deasserted, hence
@@ -4221,6 +4218,7 @@ static bool i915_handle_vblank(struct drm_device *dev,
 	if (I915_READ(ISR) & flip_pending)
 		goto check_page_flip;
 
+	intel_prepare_page_flip(dev, plane);
 	intel_finish_page_flip(dev, pipe);
 	return true;
 
drivers/gpu/drm/i915/i915_reg.h +4 -0
index c01e5f31430e..3f1e54bfcddb 100644
@@ -74,6 +74,7 @@
 #define   I915_GC_RENDER_CLOCK_166_MHZ	(0 << 0)
 #define   I915_GC_RENDER_CLOCK_200_MHZ	(1 << 0)
 #define   I915_GC_RENDER_CLOCK_333_MHZ	(4 << 0)
+#define GCDGMBUS 0xcc
 #define PCI_LBPC 0xf4 /* legacy/combination backlight modes, also called LBB */
 
 
@@ -370,6 +371,7 @@
 #define   PIPE_CONTROL_STORE_DATA_INDEX			(1<<21)
 #define   PIPE_CONTROL_CS_STALL				(1<<20)
 #define   PIPE_CONTROL_TLB_INVALIDATE			(1<<18)
+#define   PIPE_CONTROL_MEDIA_STATE_CLEAR		(1<<16)
 #define   PIPE_CONTROL_QW_WRITE				(1<<14)
 #define   PIPE_CONTROL_POST_SYNC_OP_MASK                (3<<14)
 #define   PIPE_CONTROL_DEPTH_STALL			(1<<13)
@@ -1071,6 +1073,7 @@ enum punit_power_well {
 #define GEN6_VERSYNC	(RING_SYNC_1(VEBOX_RING_BASE))
 #define GEN6_VEVSYNC	(RING_SYNC_2(VEBOX_RING_BASE))
 #define GEN6_NOSYNC 0
+#define RING_PSMI_CTL(base)	((base)+0x50)
 #define RING_MAX_IDLE(base)	((base)+0x54)
 #define RING_HWS_PGA(base)	((base)+0x80)
 #define RING_HWS_PGA_GEN6(base)	((base)+0x2080)
@@ -1401,6 +1404,7 @@ enum punit_power_well {
 #define   GEN6_BLITTER_FBC_NOTIFY			(1<<3)
 
 #define GEN6_RC_SLEEP_PSMI_CONTROL	0x2050
+#define   GEN6_PSMI_SLEEP_MSG_DISABLE	(1 << 0)
 #define   GEN8_RC_SEMA_IDLE_MSG_DISABLE	(1 << 12)
 #define   GEN8_FF_DOP_CLOCK_GATE_DISABLE	(1<<10)
 
drivers/gpu/drm/i915/i915_suspend.c +8 -0
index 043123c77a1f..e22b0e825de2 100644
@@ -328,6 +328,10 @@ int i915_save_state(struct drm_device *dev)
 		}
 	}
 
+	if (IS_GEN4(dev))
+		pci_read_config_word(dev->pdev, GCDGMBUS,
+				     &dev_priv->regfile.saveGCDGMBUS);
+
 	/* Cache mode state */
 	if (INTEL_INFO(dev)->gen < 7)
 		dev_priv->regfile.saveCACHE_MODE_0 = I915_READ(CACHE_MODE_0);
@@ -356,6 +360,10 @@ int i915_restore_state(struct drm_device *dev)
 	mutex_lock(&dev->struct_mutex);
 
 	i915_gem_restore_fences(dev);
+
+	if (IS_GEN4(dev))
+		pci_write_config_word(dev->pdev, GCDGMBUS,
+				      dev_priv->regfile.saveGCDGMBUS);
 	i915_restore_display(dev);
 
 	if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
drivers/gpu/drm/i915/intel_display.c +1 -7
index 9cb5c95d5898..cadc3bcf1de2 100644
@@ -12933,11 +12933,7 @@ static void i915_disable_vga(struct drm_device *dev)
 	vga_put(dev->pdev, VGA_RSRC_LEGACY_IO);
 	udelay(300);
 
-	/*
-	 * Fujitsu-Siemens Lifebook S6010 (830) has problems resuming
-	 * from S3 without preserving (some of?) the other bits.
-	 */
-	I915_WRITE(vga_reg, dev_priv->bios_vgacntr | VGA_DISP_DISABLE);
+	I915_WRITE(vga_reg, VGA_DISP_DISABLE);
 	POSTING_READ(vga_reg);
 }
 
@@ -13026,8 +13022,6 @@ void intel_modeset_init(struct drm_device *dev)
 
 	intel_shared_dpll_init(dev);
 
-	/* save the BIOS value before clobbering it */
-	dev_priv->bios_vgacntr = I915_READ(i915_vgacntrl_reg(dev));
 	/* Just disable it once at startup */
 	i915_disable_vga(dev);
 	intel_setup_outputs(dev);
drivers/gpu/drm/i915/intel_pm.c +0 -27
index ad2fd605f76b..83c7ecf2608a 100644
@@ -6520,29 +6520,6 @@ static void chv_pipe_power_well_disable(struct drm_i915_private *dev_priv,
 	chv_set_pipe_power_well(dev_priv, power_well, false);
 }
 
-static void check_power_well_state(struct drm_i915_private *dev_priv,
-				   struct i915_power_well *power_well)
-{
-	bool enabled = power_well->ops->is_enabled(dev_priv, power_well);
-
-	if (power_well->always_on || !i915.disable_power_well) {
-		if (!enabled)
-			goto mismatch;
-
-		return;
-	}
-
-	if (enabled != (power_well->count > 0))
-		goto mismatch;
-
-	return;
-
-mismatch:
-	WARN(1, "state mismatch for '%s' (always_on %d hw state %d use-count %d disable_power_well %d\n",
-		  power_well->name, power_well->always_on, enabled,
-		  power_well->count, i915.disable_power_well);
-}
-
 void intel_display_power_get(struct drm_i915_private *dev_priv,
 			     enum intel_display_power_domain domain)
 {
@@ -6562,8 +6539,6 @@ void intel_display_power_get(struct drm_i915_private *dev_priv,
 			power_well->ops->enable(dev_priv, power_well);
 			power_well->hw_enabled = true;
 		}
-
-		check_power_well_state(dev_priv, power_well);
 	}
 
 	power_domains->domain_use_count[domain]++;
@@ -6593,8 +6568,6 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,
 			power_well->hw_enabled = false;
 			power_well->ops->disable(dev_priv, power_well);
 		}
-
-		check_power_well_state(dev_priv, power_well);
 	}
 
 	mutex_unlock(&power_domains->lock);
drivers/gpu/drm/i915/intel_ringbuffer.c +3 -0
index 0a80e419b589..ae17e77dc08d 100644
@@ -362,12 +362,15 @@ gen7_render_ring_flush(struct intel_engine_cs *ring,
 		flags |= PIPE_CONTROL_VF_CACHE_INVALIDATE;
 		flags |= PIPE_CONTROL_CONST_CACHE_INVALIDATE;
 		flags |= PIPE_CONTROL_STATE_CACHE_INVALIDATE;
+		flags |= PIPE_CONTROL_MEDIA_STATE_CLEAR;
 		/*
 		 * TLB invalidate requires a post-sync write.
 		 */
 		flags |= PIPE_CONTROL_QW_WRITE;
 		flags |= PIPE_CONTROL_GLOBAL_GTT_IVB;
 
+		flags |= PIPE_CONTROL_STALL_AT_SCOREBOARD;
+
 		/* Workaround: we must issue a pipe_control with CS-stall bit
 		 * set before a pipe_control command that has the state cache
 		 * invalidate bit set. */
drivers/gpu/drm/i915/intel_uncore.c +2 -2
index 918b76163965..b29091b21a76 100644
@@ -43,8 +43,8 @@
 static void
 assert_device_not_suspended(struct drm_i915_private *dev_priv)
 {
-	WARN(HAS_RUNTIME_PM(dev_priv->dev) && dev_priv->pm.suspended,
-	     "Device suspended\n");
+	WARN_ONCE(HAS_RUNTIME_PM(dev_priv->dev) && dev_priv->pm.suspended,
+		  "Device suspended\n");
 }
 
 static void __gen6_gt_wait_for_thread_c0(struct drm_i915_private *dev_priv)
drivers/gpu/drm/nouveau/core/subdev/mc/nv4c.c +0 -8
index a75c35ccf25c..165401c4045c 100644
@@ -24,13 +24,6 @@
 
 #include "nv04.h"
 
-static void
-nv4c_mc_msi_rearm(struct nouveau_mc *pmc)
-{
-	struct nv04_mc_priv *priv = (void *)pmc;
-	nv_wr08(priv, 0x088050, 0xff);
-}
-
 struct nouveau_oclass *
 nv4c_mc_oclass = &(struct nouveau_mc_oclass) {
 	.base.handle = NV_SUBDEV(MC, 0x4c),
@@ -41,5 +34,4 @@ nv4c_mc_oclass = &(struct nouveau_mc_oclass) {
 		.fini = _nouveau_mc_fini,
 	},
 	.intr = nv04_mc_intr,
-	.msi_rearm = nv4c_mc_msi_rearm,
 }.base;
drivers/gpu/drm/radeon/atombios_crtc.c +4 -4
index 30d242b25078..dce0d3918fa7 100644
@@ -1851,10 +1851,9 @@ static int radeon_atom_pick_pll(struct drm_crtc *crtc)
 				return pll;
 		}
 		/* otherwise, pick one of the plls */
-		if ((rdev->family == CHIP_KAVERI) ||
-		    (rdev->family == CHIP_KABINI) ||
+		if ((rdev->family == CHIP_KABINI) ||
 		    (rdev->family == CHIP_MULLINS)) {
-			/* KB/KV/ML has PPLL1 and PPLL2 */
+			/* KB/ML has PPLL1 and PPLL2 */
 			pll_in_use = radeon_get_pll_use_mask(crtc);
 			if (!(pll_in_use & (1 << ATOM_PPLL2)))
 				return ATOM_PPLL2;
@@ -1863,7 +1862,7 @@ static int radeon_atom_pick_pll(struct drm_crtc *crtc)
 			DRM_ERROR("unable to allocate a PPLL\n");
 			return ATOM_PPLL_INVALID;
 		} else {
-			/* CI has PPLL0, PPLL1, and PPLL2 */
+			/* CI/KV has PPLL0, PPLL1, and PPLL2 */
 			pll_in_use = radeon_get_pll_use_mask(crtc);
 			if (!(pll_in_use & (1 << ATOM_PPLL2)))
 				return ATOM_PPLL2;
@@ -2154,6 +2153,7 @@ static void atombios_crtc_disable(struct drm_crtc *crtc)
 	case ATOM_PPLL0:
 		/* disable the ppll */
 		if ((rdev->family == CHIP_ARUBA) ||
+		    (rdev->family == CHIP_KAVERI) ||
 		    (rdev->family == CHIP_BONAIRE) ||
 		    (rdev->family == CHIP_HAWAII))
 			atombios_crtc_program_pll(crtc, radeon_crtc->crtc_id, radeon_crtc->pll_id,
drivers/gpu/drm/radeon/atombios_dp.c +4 -0
index 11ba9d21b89b..db42a670f995 100644
@@ -492,6 +492,10 @@ int radeon_dp_mode_valid_helper(struct drm_connector *connector,
 	struct radeon_connector_atom_dig *dig_connector;
 	int dp_clock;
 
+	if ((mode->clock > 340000) &&
+	    (!radeon_connector_is_dp12_capable(connector)))
+		return MODE_CLOCK_HIGH;
+
 	if (!radeon_connector->con_priv)
 		return MODE_CLOCK_HIGH;
 	dig_connector = radeon_connector->con_priv;
drivers/gpu/drm/radeon/ci_dpm.c +1 -1
index 11a55e9dad7f..c5699b593665 100644
@@ -4729,7 +4729,7 @@ void ci_dpm_disable(struct radeon_device *rdev)
 	ci_enable_spread_spectrum(rdev, false);
 	ci_enable_auto_throttle_source(rdev, RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL, false);
 	ci_stop_dpm(rdev);
-	ci_enable_ds_master_switch(rdev, true);
+	ci_enable_ds_master_switch(rdev, false);
 	ci_enable_ulv(rdev, false);
 	ci_clear_vc(rdev);
 	ci_reset_to_default(rdev);
drivers/gpu/drm/radeon/cik.c +2 -1
index 89c01fa6dd8e..9328fb3dcfce 100644
@@ -6314,6 +6314,7 @@ static void cik_enable_mgcg(struct radeon_device *rdev, bool enable)
 		}
 
 		orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE);
+		data |= 0x00000001;
 		data &= 0xfffffffd;
 		if (orig != data)
 			WREG32(RLC_CGTT_MGCG_OVERRIDE, data);
@@ -6345,7 +6346,7 @@ static void cik_enable_mgcg(struct radeon_device *rdev, bool enable)
 		}
 	} else {
 		orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE);
-		data |= 0x00000002;
+		data |= 0x00000003;
 		if (orig != data)
 			WREG32(RLC_CGTT_MGCG_OVERRIDE, data);
 
drivers/gpu/drm/radeon/dce3_1_afmt.c +1 -1
index 2fe8cfc966d9..bafdf92a5732 100644
@@ -103,7 +103,7 @@ static void dce3_2_afmt_write_sad_regs(struct drm_encoder *encoder)
 	}
 
 	sad_count = drm_edid_to_sad(radeon_connector->edid, &sads);
-	if (sad_count < 0) {
+	if (sad_count <= 0) {
 		DRM_ERROR("Couldn't read SADs: %d\n", sad_count);
 		return;
 	}
drivers/gpu/drm/radeon/kv_dpm.c +4 -6
index 9b42001295ba..e3e9c10cfba9 100644
@@ -2745,13 +2745,11 @@ int kv_dpm_init(struct radeon_device *rdev)
 	pi->enable_auto_thermal_throttling = true;
 	pi->disable_nb_ps3_in_battery = false;
 	if (radeon_bapm == -1) {
-		/* There are stability issues reported on with
-		 * bapm enabled on an asrock system.
-		 */
-		if (rdev->pdev->subsystem_vendor == 0x1849)
-			pi->bapm_enable = false;
-		else
+		/* only enable bapm on KB, ML by default */
+		if (rdev->family == CHIP_KABINI || rdev->family == CHIP_MULLINS)
 			pi->bapm_enable = true;
+		else
+			pi->bapm_enable = false;
 	} else if (radeon_bapm == 0) {
 		pi->bapm_enable = false;
 	} else {
drivers/gpu/drm/radeon/radeon_ttm.c +1 -1
index 8624979afb65..d2510cfd3fea 100644
@@ -196,7 +196,7 @@ static void radeon_evict_flags(struct ttm_buffer_object *bo,
 	rbo = container_of(bo, struct radeon_bo, tbo);
 	switch (bo->mem.mem_type) {
 	case TTM_PL_VRAM:
-		if (rbo->rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ready == false)
+		if (rbo->rdev->ring[radeon_copy_ring_index(rbo->rdev)].ready == false)
 			radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_CPU);
 		else
 			radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_GTT);
drivers/gpu/drm/ttm/ttm_page_alloc.c +15 -11
index 09874d695188..025c429050c0 100644
@@ -297,11 +297,12 @@ static void ttm_pool_update_free_locked(struct ttm_page_pool *pool,
  *
  * @pool: to free the pages from
  * @free_all: If set to true will free all pages in pool
- * @gfp: GFP flags.
+ * @use_static: Safe to use static buffer
  **/
 static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free,
-			      gfp_t gfp)
+			      bool use_static)
 {
+	static struct page *static_buf[NUM_PAGES_TO_ALLOC];
 	unsigned long irq_flags;
 	struct page *p;
 	struct page **pages_to_free;
@@ -311,7 +312,11 @@ static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free,
 	if (NUM_PAGES_TO_ALLOC < nr_free)
 		npages_to_free = NUM_PAGES_TO_ALLOC;
 
-	pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), gfp);
+	if (use_static)
+		pages_to_free = static_buf;
+	else
+		pages_to_free = kmalloc(npages_to_free * sizeof(struct page *),
+					GFP_KERNEL);
 	if (!pages_to_free) {
 		pr_err("Failed to allocate memory for pool free operation\n");
 		return 0;
@@ -374,7 +379,8 @@ restart:
 	if (freed_pages)
 		ttm_pages_put(pages_to_free, freed_pages);
 out:
-	kfree(pages_to_free);
+	if (pages_to_free != static_buf)
+		kfree(pages_to_free);
 	return nr_free;
 }
 
@@ -383,8 +389,6 @@ out:
  *
  * XXX: (dchinner) Deadlock warning!
  *
- * We need to pass sc->gfp_mask to ttm_page_pool_free().
- *
  * This code is crying out for a shrinker per pool....
  */
 static unsigned long
@@ -407,8 +411,8 @@ ttm_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
 		if (shrink_pages == 0)
 			break;
 		pool = &_manager->pools[(i + pool_offset)%NUM_POOLS];
-		shrink_pages = ttm_page_pool_free(pool, nr_free,
-						  sc->gfp_mask);
+		/* OK to use static buffer since global mutex is held. */
+		shrink_pages = ttm_page_pool_free(pool, nr_free, true);
 		freed += nr_free - shrink_pages;
 	}
 	mutex_unlock(&lock);
@@ -710,7 +714,7 @@ static void ttm_put_pages(struct page **pages, unsigned npages, int flags,
 	}
 	spin_unlock_irqrestore(&pool->lock, irq_flags);
 	if (npages)
-		ttm_page_pool_free(pool, npages, GFP_KERNEL);
+		ttm_page_pool_free(pool, npages, false);
 }
 
 /*
@@ -849,9 +853,9 @@ void ttm_page_alloc_fini(void)
 	pr_info("Finalizing pool allocator\n");
 	ttm_pool_mm_shrink_fini(_manager);
 
+	/* OK to use static buffer since global mutex is no longer used. */
 	for (i = 0; i < NUM_POOLS; ++i)
-		ttm_page_pool_free(&_manager->pools[i], FREE_ALL_PAGES,
-				   GFP_KERNEL);
+		ttm_page_pool_free(&_manager->pools[i], FREE_ALL_PAGES, true);
 
 	kobject_put(&_manager->kobj);
 	_manager = NULL;
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +15 -10
index c96db433f8af..01e1d27eb078 100644
@@ -411,11 +411,12 @@ static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page)
  *
  * @pool: to free the pages from
  * @nr_free: If set to true will free all pages in pool
- * @gfp: GFP flags.
+ * @use_static: Safe to use static buffer
  **/
 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free,
-				       gfp_t gfp)
+				       bool use_static)
 {
+	static struct page *static_buf[NUM_PAGES_TO_ALLOC];
 	unsigned long irq_flags;
 	struct dma_page *dma_p, *tmp;
 	struct page **pages_to_free;
@@ -432,7 +433,11 @@ static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free,
 			 npages_to_free, nr_free);
 	}
 #endif
-	pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), gfp);
+	if (use_static)
+		pages_to_free = static_buf;
+	else
+		pages_to_free = kmalloc(npages_to_free * sizeof(struct page *),
+					GFP_KERNEL);
 
 	if (!pages_to_free) {
 		pr_err("%s: Failed to allocate memory for pool free operation\n",
@@ -502,7 +507,8 @@ restart:
 	if (freed_pages)
 		ttm_dma_pages_put(pool, &d_pages, pages_to_free, freed_pages);
 out:
-	kfree(pages_to_free);
+	if (pages_to_free != static_buf)
+		kfree(pages_to_free);
 	return nr_free;
 }
 
@@ -531,7 +537,8 @@ static void ttm_dma_free_pool(struct device *dev, enum pool_type type)
 		if (pool->type != type)
 			continue;
 		/* Takes a spinlock.. */
-		ttm_dma_page_pool_free(pool, FREE_ALL_PAGES, GFP_KERNEL);
+		/* OK to use static buffer since global mutex is held. */
+		ttm_dma_page_pool_free(pool, FREE_ALL_PAGES, true);
 		WARN_ON(((pool->npages_in_use + pool->npages_free) != 0));
 		/* This code path is called after _all_ references to the
 		 * struct device has been dropped - so nobody should be
@@ -986,7 +993,7 @@ void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev)
 
 	/* shrink pool if necessary (only on !is_cached pools)*/
 	if (npages)
-		ttm_dma_page_pool_free(pool, npages, GFP_KERNEL);
+		ttm_dma_page_pool_free(pool, npages, false);
 	ttm->state = tt_unpopulated;
 }
 EXPORT_SYMBOL_GPL(ttm_dma_unpopulate);
@@ -996,8 +1003,6 @@ EXPORT_SYMBOL_GPL(ttm_dma_unpopulate);
  *
  * XXX: (dchinner) Deadlock warning!
  *
- * We need to pass sc->gfp_mask to ttm_dma_page_pool_free().
- *
  * I'm getting sadder as I hear more pathetical whimpers about needing per-pool
  * shrinkers
  */
@@ -1030,8 +1035,8 @@ ttm_dma_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
 		if (++idx < pool_offset)
 			continue;
 		nr_free = shrink_pages;
-		shrink_pages = ttm_dma_page_pool_free(p->pool, nr_free,
-						      sc->gfp_mask);
+		/* OK to use static buffer since global mutex is held. */
+		shrink_pages = ttm_dma_page_pool_free(p->pool, nr_free, true);
 		freed += nr_free - shrink_pages;
 
 		pr_debug("%s: (%s:%d) Asked to shrink %d, have %d more to go\n",
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +6 -2
index 25f3c250fd98..daeca571b42f 100644
@@ -1063,8 +1063,12 @@ static long vmw_generic_ioctl(struct file *filp, unsigned int cmd,
 
 	vmaster = vmw_master_check(dev, file_priv, flags);
 	if (unlikely(IS_ERR(vmaster))) {
-		DRM_INFO("IOCTL ERROR %d\n", nr);
-		return PTR_ERR(vmaster);
+		ret = PTR_ERR(vmaster);
+
+		if (ret != -ERESTARTSYS)
+			DRM_INFO("IOCTL ERROR Command %d, Error %ld.\n",
+				 nr, ret);
+		return ret;
 	}
 
 	ret = ioctl_func(filp, cmd, arg);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +8 -31
index 197164fd7803..b7594cb758af 100644
@@ -545,35 +545,19 @@ void vmw_fence_obj_flush(struct vmw_fence_obj *fence)
 
 static void vmw_fence_destroy(struct vmw_fence_obj *fence)
 {
-	struct vmw_fence_manager *fman = fman_from_fence(fence);
-
 	fence_free(&fence->base);
-
-	/*
-	 * Free kernel space accounting.
-	 */
-	ttm_mem_global_free(vmw_mem_glob(fman->dev_priv),
-			    fman->fence_size);
 }
 
 int vmw_fence_create(struct vmw_fence_manager *fman,
 		     uint32_t seqno,
 		     struct vmw_fence_obj **p_fence)
 {
-	struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv);
 	struct vmw_fence_obj *fence;
 	int ret;
 
-	ret = ttm_mem_global_alloc(mem_glob, fman->fence_size,
-				   false, false);
-	if (unlikely(ret != 0))
-		return ret;
-
 	fence = kzalloc(sizeof(*fence), GFP_KERNEL);
-	if (unlikely(fence == NULL)) {
-		ret = -ENOMEM;
-		goto out_no_object;
-	}
+	if (unlikely(fence == NULL))
+		return -ENOMEM;
 
 	ret = vmw_fence_obj_init(fman, fence, seqno,
 				 vmw_fence_destroy);
@@ -585,8 +569,6 @@ int vmw_fence_create(struct vmw_fence_manager *fman,
 
 out_err_init:
 	kfree(fence);
-out_no_object:
-	ttm_mem_global_free(mem_glob, fman->fence_size);
 	return ret;
 }
 
@@ -1105,6 +1087,8 @@ static int vmw_event_fence_action_create(struct drm_file *file_priv,
 	if (ret != 0)
 		goto out_no_queue;
 
+	return 0;
+
 out_no_queue:
 	event->base.destroy(&event->base);
 out_no_event:
@@ -1180,17 +1164,10 @@ int vmw_fence_event_ioctl(struct drm_device *dev, void *data,
 
 	BUG_ON(fence == NULL);
 
-	if (arg->flags & DRM_VMW_FE_FLAG_REQ_TIME)
-		ret = vmw_event_fence_action_create(file_priv, fence,
-						    arg->flags,
-						    arg->user_data,
-						    true);
-	else
-		ret = vmw_event_fence_action_create(file_priv, fence,
-						    arg->flags,
-						    arg->user_data,
-						    true);
-
+	ret = vmw_event_fence_action_create(file_priv, fence,
+					    arg->flags,
+					    arg->user_data,
+					    true);
 	if (unlikely(ret != 0)) {
 		if (ret != -ERESTARTSYS)
 			DRM_ERROR("Failed to attach event to fence.\n");
drivers/iio/adc/ad799x.c +13 -2
index e37412da15f5..b99de00e57b8 100644
@@ -143,9 +143,15 @@ static int ad799x_write_config(struct ad799x_state *st, u16 val)
 	case ad7998:
 		return i2c_smbus_write_word_swapped(st->client, AD7998_CONF_REG,
 			val);
-	default:
+	case ad7992:
+	case ad7993:
+	case ad7994:
 		return i2c_smbus_write_byte_data(st->client, AD7998_CONF_REG,
 			val);
+	default:
+		/* Will be written when doing a conversion */
+		st->config = val;
+		return 0;
 	}
 }
 
@@ -155,8 +161,13 @@ static int ad799x_read_config(struct ad799x_state *st)
 	case ad7997:
 	case ad7998:
 		return i2c_smbus_read_word_swapped(st->client, AD7998_CONF_REG);
-	default:
+	case ad7992:
+	case ad7993:
+	case ad7994:
 		return i2c_smbus_read_byte_data(st->client, AD7998_CONF_REG);
+	default:
+		/* No readback support */
+		return st->config;
 	}
 }
 
drivers/infiniband/ulp/iser/iscsi_iser.h +2 -0
index cd4174ca9a76..f14c3849e568 100644
@@ -432,6 +432,7 @@ struct fast_reg_descriptor {
  * @cma_id:              rdma_cm connection maneger handle
  * @qp:                  Connection Queue-pair
  * @post_recv_buf_count: post receive counter
+ * @sig_count:           send work request signal count
  * @rx_wr:               receive work request for batch posts
  * @device:              reference to iser device
  * @comp:                iser completion context
@@ -452,6 +453,7 @@ struct ib_conn {
 	struct rdma_cm_id           *cma_id;
 	struct ib_qp	            *qp;
 	int                          post_recv_buf_count;
+	u8                           sig_count;
 	struct ib_recv_wr	     rx_wr[ISER_MIN_POSTED_RX];
 	struct iser_device          *device;
 	struct iser_comp	    *comp;
drivers/infiniband/ulp/iser/iser_initiator.c +3 -3
index 5a489ea63732..3821633f1065 100644
@@ -369,7 +369,7 @@ static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req)
 	return 0;
 }
 
-static inline bool iser_signal_comp(int sig_count)
+static inline bool iser_signal_comp(u8 sig_count)
 {
 	return ((sig_count % ISER_SIGNAL_CMD_COUNT) == 0);
 }
@@ -388,7 +388,7 @@ int iser_send_command(struct iscsi_conn *conn,
 	struct iscsi_scsi_req *hdr = (struct iscsi_scsi_req *)task->hdr;
 	struct scsi_cmnd *sc  =  task->sc;
 	struct iser_tx_desc *tx_desc = &iser_task->desc;
-	static unsigned sig_count;
+	u8 sig_count = ++iser_conn->ib_conn.sig_count;
 
 	edtl = ntohl(hdr->data_length);
 
@@ -435,7 +435,7 @@ int iser_send_command(struct iscsi_conn *conn,
 	iser_task->status = ISER_TASK_STATUS_STARTED;
 
 	err = iser_post_send(&iser_conn->ib_conn, tx_desc,
-			     iser_signal_comp(++sig_count));
+			     iser_signal_comp(sig_count));
 	if (!err)
 		return 0;
 
drivers/infiniband/ulp/isert/ib_isert.c +415 -225

1,031 lines not on this page · raw message

drivers/infiniband/ulp/isert/ib_isert.h +13 -2
index 04f51f7bf614..141905f446dd 100644
@@ -23,6 +23,7 @@ enum iser_ib_op_code {
 enum iser_conn_state {
 	ISER_CONN_INIT,
 	ISER_CONN_UP,
+	ISER_CONN_FULL_FEATURE,
 	ISER_CONN_TERMINATING,
 	ISER_CONN_DOWN,
 };
@@ -81,6 +82,12 @@ struct isert_data_buf {
 	enum dma_data_direction dma_dir;
 };
 
+enum {
+	DATA = 0,
+	PROT = 1,
+	SIG = 2,
+};
+
 struct isert_rdma_wr {
 	struct list_head	wr_list;
 	struct isert_cmd	*isert_cmd;
@@ -90,6 +97,7 @@ struct isert_rdma_wr {
 	int			send_wr_num;
 	struct ib_send_wr	*send_wr;
 	struct ib_send_wr	s_send_wr;
+	struct ib_sge		ib_sg[3];
 	struct isert_data_buf	data;
 	struct isert_data_buf	prot;
 	struct fast_reg_descriptor *fr_desc;
@@ -120,11 +128,13 @@ struct isert_conn {
 	atomic_t		post_send_buf_count;
 	u32			responder_resources;
 	u32			initiator_depth;
+	bool			pi_support;
 	u32			max_sge;
 	char			*login_buf;
 	char			*login_req_buf;
 	char			*login_rsp_buf;
 	u64			login_req_dma;
+	int			login_req_len;
 	u64			login_rsp_dma;
 	unsigned int		conn_rx_desc_head;
 	struct iser_rx_desc	*conn_rx_descs;
@@ -132,13 +142,13 @@ struct isert_conn {
 	struct iscsi_conn	*conn;
 	struct list_head	conn_accept_node;
 	struct completion	conn_login_comp;
+	struct completion	login_req_comp;
 	struct iser_tx_desc	conn_login_tx_desc;
 	struct rdma_cm_id	*conn_cm_id;
 	struct ib_pd		*conn_pd;
 	struct ib_mr		*conn_mr;
 	struct ib_qp		*conn_qp;
 	struct isert_device	*conn_device;
-	struct work_struct	conn_logout_work;
 	struct mutex		conn_mutex;
 	struct completion	conn_wait;
 	struct completion	conn_wait_comp_err;
@@ -147,10 +157,10 @@ struct isert_conn {
 	int			conn_fr_pool_size;
 	/* lock to protect fastreg pool */
 	spinlock_t		conn_lock;
+	struct work_struct	release_work;
 #define ISERT_COMP_BATCH_COUNT	8
 	int			conn_comp_batch;
 	struct llist_head	conn_comp_llist;
-	bool                    disconnect;
 };
 
 #define ISERT_MAX_CQ 64
@@ -182,6 +192,7 @@ struct isert_device {
 };
 
 struct isert_np {
+	struct iscsi_np         *np;
 	struct semaphore	np_sem;
 	struct rdma_cm_id	*np_cm_id;
 	struct mutex		np_accept_mutex;
drivers/input/mouse/elantech.c +2 -0
index f2b978026407..77ecf6d32237 100644
@@ -1520,6 +1520,8 @@ static int elantech_set_properties(struct elantech_data *etd)
 		case 7:
 		case 8:
 		case 9:
+		case 10:
+		case 13:
 			etd->hw_version = 4;
 			break;
 		default:
drivers/input/serio/i8042-x86ia64io.h +39 -0
index faeeb1372462..1a858c86a72b 100644
@@ -415,6 +415,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
 		},
 	},
 	{
+		/* Acer Aspire 7738 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7738"),
+		},
+	},
+	{
 		/* Gericom Bellagio */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Gericom"),
@@ -735,6 +742,35 @@ static const struct dmi_system_id __initconst i8042_dmi_dritek_table[] = {
 	{ }
 };
 
+/*
+ * Some laptops need keyboard reset before probing for the trackpad to get
+ * it detected, initialised & finally work.
+ */
+static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
+	{
+		/* Gigabyte P35 v2 - Elantech touchpad */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P35V2"),
+		},
+	},
+		{
+		/* Aorus branded Gigabyte X3 Plus - Elantech touchpad */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X3"),
+		},
+	},
+	{
+		/* Gigabyte P34 - Elantech touchpad */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
+		},
+	},
+	{ }
+};
+
 #endif /* CONFIG_X86 */
 
 #ifdef CONFIG_PNP
@@ -1030,6 +1066,9 @@ static int __init i8042_platform_init(void)
 	if (dmi_check_system(i8042_dmi_dritek_table))
 		i8042_dritek = true;
 
+	if (dmi_check_system(i8042_dmi_kbdreset_table))
+		i8042_kbdreset = true;
+
 	/*
 	 * A20 was already enabled during early kernel init. But some buggy
 	 * BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to
drivers/input/serio/i8042.c +14 -0
index f5a98af3b325..804d2e02010a 100644
@@ -67,6 +67,10 @@ static bool i8042_notimeout;
 module_param_named(notimeout, i8042_notimeout, bool, 0);
 MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042");
 
+static bool i8042_kbdreset;
+module_param_named(kbdreset, i8042_kbdreset, bool, 0);
+MODULE_PARM_DESC(kbdreset, "Reset device connected to KBD port");
+
 #ifdef CONFIG_X86
 static bool i8042_dritek;
 module_param_named(dritek, i8042_dritek, bool, 0);
@@ -790,6 +794,16 @@ static int __init i8042_check_aux(void)
 		return -1;
 
 /*
+ * Reset keyboard (needed on some laptops to successfully detect
+ * touchpad, e.g., some Gigabyte laptop models with Elantech
+ * touchpads).
+ */
+	if (i8042_kbdreset) {
+		pr_warn("Attempting to reset device connected to KBD port\n");
+		i8042_kbd_write(NULL, (unsigned char) 0xff);
+	}
+
+/*
  * Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and
  * used it for a PCI card or somethig else.
  */
drivers/leds/leds-netxbig.c +6 -6
index 64fde485dcaa..4c794f15a57f 100644
@@ -330,18 +330,18 @@ create_netxbig_led(struct platform_device *pdev,
 	led_dat->sata = 0;
 	led_dat->cdev.brightness = LED_OFF;
 	led_dat->cdev.flags |= LED_CORE_SUSPENDRESUME;
-	/*
-	 * If available, expose the SATA activity blink capability through
-	 * a "sata" sysfs attribute.
-	 */
-	if (led_dat->mode_val[NETXBIG_LED_SATA] != NETXBIG_LED_INVALID_MODE)
-		led_dat->cdev.groups = netxbig_led_groups;
 	led_dat->mode_addr = template->mode_addr;
 	led_dat->mode_val = template->mode_val;
 	led_dat->bright_addr = template->bright_addr;
 	led_dat->bright_max = (1 << pdata->gpio_ext->num_data) - 1;
 	led_dat->timer = pdata->timer;
 	led_dat->num_timer = pdata->num_timer;
+	/*
+	 * If available, expose the SATA activity blink capability through
+	 * a "sata" sysfs attribute.
+	 */
+	if (led_dat->mode_val[NETXBIG_LED_SATA] != NETXBIG_LED_INVALID_MODE)
+		led_dat->cdev.groups = netxbig_led_groups;
 
 	return led_classdev_register(&pdev->dev, &led_dat->cdev);
 }
drivers/md/dm.c +1 -1
index 58f3927fd7cc..62c51364cf9e 100644
@@ -899,7 +899,7 @@ static void disable_write_same(struct mapped_device *md)
 
 static void clone_endio(struct bio *bio, int error)
 {
-	int r = 0;
+	int r = error;
 	struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone);
 	struct dm_io *io = tio->io;
 	struct mapped_device *md = tio->io->md;
drivers/media/i2c/smiapp-pll.c +2 -2
index 2335529b195c..ab5d9a3adebf 100644
@@ -67,7 +67,7 @@ static void print_pll(struct device *dev, struct smiapp_pll *pll)
 {
 	dev_dbg(dev, "pre_pll_clk_div\t%d\n",  pll->pre_pll_clk_div);
 	dev_dbg(dev, "pll_multiplier \t%d\n",  pll->pll_multiplier);
-	if (pll->flags != SMIAPP_PLL_FLAG_NO_OP_CLOCKS) {
+	if (!(pll->flags & SMIAPP_PLL_FLAG_NO_OP_CLOCKS)) {
 		dev_dbg(dev, "op_sys_clk_div \t%d\n", pll->op_sys_clk_div);
 		dev_dbg(dev, "op_pix_clk_div \t%d\n", pll->op_pix_clk_div);
 	}
@@ -77,7 +77,7 @@ static void print_pll(struct device *dev, struct smiapp_pll *pll)
 	dev_dbg(dev, "ext_clk_freq_hz \t%d\n", pll->ext_clk_freq_hz);
 	dev_dbg(dev, "pll_ip_clk_freq_hz \t%d\n", pll->pll_ip_clk_freq_hz);
 	dev_dbg(dev, "pll_op_clk_freq_hz \t%d\n", pll->pll_op_clk_freq_hz);
-	if (pll->flags & SMIAPP_PLL_FLAG_NO_OP_CLOCKS) {
+	if (!(pll->flags & SMIAPP_PLL_FLAG_NO_OP_CLOCKS)) {
 		dev_dbg(dev, "op_sys_clk_freq_hz \t%d\n",
 			pll->op_sys_clk_freq_hz);
 		dev_dbg(dev, "op_pix_clk_freq_hz \t%d\n",
drivers/media/i2c/smiapp/smiapp-core.c +2 -0
index b10aaeda2bb4..b49254e4ea0a 100644
@@ -2677,7 +2677,9 @@ static int smiapp_registered(struct v4l2_subdev *subdev)
 		pll->flags |= SMIAPP_PLL_FLAG_NO_OP_CLOCKS;
 	pll->scale_n = sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN];
 
+	mutex_lock(&sensor->mutex);
 	rval = smiapp_update_mode(sensor);
+	mutex_unlock(&sensor->mutex);
 	if (rval) {
 		dev_err(&client->dev, "update mode failed\n");
 		goto out_nvm_release;
drivers/media/platform/vivid/vivid-vid-out.c +1 -1
index 69c2dbd2d165..501d5ef682e5 100644
@@ -612,7 +612,7 @@ int vivid_vid_out_g_selection(struct file *file, void *priv,
 		sel->r = dev->fmt_out_rect;
 		break;
 	case V4L2_SEL_TGT_CROP_BOUNDS:
-		if (!dev->has_compose_out)
+		if (!dev->has_crop_out)
 			return -EINVAL;
 		sel->r = vivid_max_rect;
 		break;
drivers/media/rc/img-ir/img-ir-hw.c +23 -5
index ec49f94425fc..2fd47c9bf5d8 100644
@@ -530,6 +530,22 @@ static void img_ir_set_decoder(struct img_ir_priv *priv,
 	u32 ir_status, irq_en;
 	spin_lock_irq(&priv->lock);
 
+	/*
+	 * First record that the protocol is being stopped so that the end timer
+	 * isn't restarted while we're trying to stop it.
+	 */
+	hw->stopping = true;
+
+	/*
+	 * Release the lock to stop the end timer, since the end timer handler
+	 * acquires the lock and we don't want to deadlock waiting for it.
+	 */
+	spin_unlock_irq(&priv->lock);
+	del_timer_sync(&hw->end_timer);
+	spin_lock_irq(&priv->lock);
+
[… more lines in the raw message]

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

drivers/media/rc/img-ir/img-ir-hw.h +3 -0
index 8fcc16c32c5b..307ddcd1a99e 100644

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

drivers/media/usb/au0828/au0828-cards.c +5 -0
index 9eb77ac2153b..da87f1cc31a9 100644

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

drivers/media/usb/dvb-usb/af9005.c +3 -0
index 3f4361e48a32..efa782ed6e2d 100644

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

drivers/media/usb/uvc/uvc_driver.c +3 -3
index 7c8322d4fc63..3c07af96b30f 100644

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

drivers/misc/cxl/context.c +18 -8
index cca472109135..51fd6b524371 100644

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

drivers/misc/cxl/cxl.h +7 -2
index 3d2b8677ec8a..6ee785da574e 100644

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

drivers/misc/cxl/file.c +5 -1
index 378b099e7c0b..e9f2f10dbb37 100644

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

drivers/misc/cxl/native.c +5 -7
index d47532e8f4f1..1d9717b4d67a 100644

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

drivers/misc/cxl/pci.c +1 -1
index 10c98ab7f46e..0f2cc9f8b4db 100644

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

drivers/misc/cxl/sysfs.c +5 -5
index ce7ec06d87d1..461bdbd5d483 100644

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

drivers/misc/mei/hw-me.c +12 -0
index 4f2fd6fc1e23..432aec8dd3ce 100644

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

drivers/mmc/host/sdhci.c +6 -0
index 7625bd791fca..023c2010cd75 100644

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

drivers/net/can/usb/kvaser_usb.c +11 -9
index 541fb7a05625..cc7bfc0c0a71 100644

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

drivers/net/ethernet/atheros/alx/main.c +13 -11
index e398eda07298..c8af3ce3ea38 100644

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

drivers/net/ethernet/broadcom/tg3.c +17 -17
index 77f8f836cbbe..5748542f6717 100644

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

drivers/net/ethernet/cisco/enic/enic_main.c +8 -4
index 73cf1653a4a3..167cd8ede397 100644

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

drivers/net/ethernet/emulex/benet/be_main.c +5 -3
index 597c463e384d..d2975fa7e549 100644

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

drivers/net/ethernet/intel/Kconfig +11 -0
index 5b8300a32bf5..4d61ef50b465 100644

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

drivers/net/ethernet/intel/i40e/Makefile +1 -1
index 4b94ddb29c24..c40581999121 100644

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

drivers/net/ethernet/intel/i40e/i40e_osdep.h +2 -2
index 045b5c4b98b3..ad802dd0f67a 100644

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

drivers/net/ethernet/mellanox/mlx4/en_netdev.c +15 -6
index 4d69e382b4e5..6bdaa313e7ea 100644

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

drivers/net/ethernet/mellanox/mlx4/en_tx.c +11 -1
index 454d9fea640e..11ff28b5fca3 100644

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

drivers/net/ethernet/mellanox/mlx4/fw.c +2 -2
index 2e88a235e26b..5f1228794328 100644

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

drivers/net/ethernet/mellanox/mlx4/mr.c +5 -4
index 193a6adb5d04..b7cdef0aebd6 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +5 -3
index a913b3ad2f89..477a5d33d79c 100644

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

drivers/net/ethernet/ti/cpsw.c +17 -13
index c560f9aeb55d..64d1cef4cda1 100644

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

drivers/net/ethernet/ti/cpsw_ale.c +9 -1
index 097ebe7077ac..5246b3a18ff8 100644

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

drivers/net/ethernet/ti/cpsw_ale.h +1 -1
index c0d4127aa549..af1e7ecd87c6 100644

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

drivers/net/team/team.c +14 -2
index 2368395d8ae5..9c505c4dbe04 100644

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

drivers/net/wireless/iwlwifi/mvm/utils.c +1 -1
index 8021f6eec27f..41ae16435300 100644

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

drivers/net/wireless/rtlwifi/pci.c +24 -8
index 846a2e6e34d8..c70efb9a6e78 100644

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

drivers/net/wireless/rtlwifi/rtl8192ce/hw.c +2 -0
index d2ec5160bbf0..5c646d5f7bb8 100644

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

drivers/net/xen-netback/common.h +3 -1
index 083ecc93fe5e..5f1fda44882b 100644

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

drivers/net/xen-netback/interface.c +3 -1
index 895fe84011e7..d752d1c5c8bd 100644

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

drivers/net/xen-netback/netback.c +14 -13
index 6563f0713fc0..c39aace4f642 100644

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

drivers/net/xen-netback/xenbus.c +10 -3
index fab0d4b42f58..c047282c4ee0 100644

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

drivers/pinctrl/pinctrl-xway.c +0 -2
index 37040ab42890..fdff39ff5021 100644

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

drivers/platform/x86/asus-nb-wmi.c +9 -0
index c1a6cd66af42..abdaed34c728 100644

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

drivers/platform/x86/hp_accel.c +1 -0
index 6bec745b6b92..10ce6cba4455 100644

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

drivers/reset/reset-sunxi.c +4 -0
index a94e7a7820b4..51272b5d7552 100644

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

drivers/scsi/mpt2sas/mpt2sas_transport.c +1 -4
index 0d1d06488a28..e689bf20a3ea 100644

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

drivers/scsi/mpt3sas/mpt3sas_transport.c +1 -4
index d4bafaaebea9..3637ae6c0171 100644

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

drivers/scsi/scsi_devinfo.c +1 -0
index c1d04d4d3c6c..262ab837a704 100644

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

drivers/scsi/scsi_error.c +2 -2
index bc5ff6ff9c79..01a79473350a 100644

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

drivers/scsi/scsi_lib.c +3 -1
index 50a6e1ac8d9c..17fb0518c9c1 100644

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

drivers/scsi/storvsc_drv.c +3 -4
index 733e5f759518..90af465359d6 100644

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

drivers/target/iscsi/iscsi_target_login.c +7 -3
index 480f2e0ecc11..18e2601527df 100644

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

drivers/target/iscsi/iscsi_target_util.c +11 -15
index ce87ce9bdb9c..0b68c2ebce95 100644

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

drivers/target/loopback/tcm_loop.c +23 -43

66 lines not on this page · raw message

drivers/target/loopback/tcm_loop.h +1 -6
index 54c59d0b6608..6ae49f272ba6 100644

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

drivers/target/target_core_device.c +4 -4
index c45f9e907e44..24fa5d1999af 100644

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

drivers/target/target_core_file.c +10 -1
index 72c83d98662b..f018b6a3ffbf 100644

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

drivers/target/target_core_iblock.c +1 -1
index 7e6b857c6b3f..be27773ab829 100644

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

drivers/target/target_core_sbc.c +0 -15
index ebe62afb957d..7a88af0e32d6 100644

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

drivers/target/target_core_spc.c +1 -4
index bc286a67af7c..614005b6b08b 100644

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

drivers/thermal/intel_powerclamp.c +0 -2
index 95cb7fc20e17..6cb78497076a 100644

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

drivers/tty/serial/serial_core.c +3 -1
index eaeb9a02c7fe..a28dee9d5017 100644

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

drivers/usb/dwc3/gadget.c +4 -2
index 546ea5431b8c..272e0928736e 100644

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

drivers/usb/gadget/legacy/inode.c +1 -0
index c744e4975d74..08048613eed6 100644

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

drivers/usb/gadget/udc/atmel_usba_udc.c +14 -5
index 1529926e20a0..840856ca3e66 100644

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

drivers/usb/host/ehci-sched.c +4 -4
index e113fd73aeae..c399606f154e 100644

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

drivers/usb/host/pci-quirks.c +15 -3
index 2f3acebb577a..f4e6b945136c 100644

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

drivers/usb/host/xhci-pci.c +2 -0
index 142b601f9563..7f76c8a12f89 100644

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

drivers/usb/host/xhci.c +9 -0
index 033b46c470bd..3bceabe109f7 100644

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

drivers/usb/musb/musb_host.c +0 -1
index 855793d701bb..4500610356f2 100644

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

drivers/usb/serial/console.c +11 -5
index 8d7fc48b1f30..29fa1c3d0089 100644

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

drivers/usb/serial/cp210x.c +3 -1
index 6c4eb3cf5efd..f4c56fc1a9f6 100644

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

drivers/usb/serial/keyspan.c +15 -5
index 077c714f1285..e07b15ed5814 100644

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

drivers/usb/serial/option.c +10 -1
index 7a4c21b4f676..efdcee15b520 100644

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

drivers/usb/serial/qcserial.c +0 -1
index cb3e14780a7e..9c63897b3a56 100644

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

drivers/usb/storage/unusual_uas.h +28 -0
index 18a283d6de1c..1f430bb02ca1 100644

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

drivers/vfio/pci/vfio_pci.c +1 -3
index 9558da3f06a0..2f8a0552d020 100644

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

drivers/vhost/scsi.c +21 -3
index a17f11850669..cb84f69f76ad 100644

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

drivers/video/fbdev/core/fb_defio.c +3 -2
index 900aa4ecd617..d6cab1fd9a47 100644

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

drivers/video/logo/logo.c +16 -1
index 940cd196eef5..10fbfd8ab963 100644

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

fs/lockd/svc.c +4 -4
index d1bb7ecfd201..61024987f97b 100644

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

fs/locks.c +1 -1
index 735b8d3fa78c..59e2f905e4ff 100644

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

fs/nfs/nfs4client.c +8 -9
index ffdb28d86cf8..9588873d4c46 100644

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

fs/proc/stat.c +1 -1
index bf2d03f8fd3e..510413eb25b8 100644

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

include/linux/kernel_stat.h +1 -0
index b9376cd5a187..25a822f6f000 100644

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

include/linux/netdevice.h +11 -9
index 74fd5d37f15a..22339b4b1c8c 100644

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

include/net/vxlan.h +24 -4
index 57cccd0052e5..903461aa5644 100644

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

include/uapi/linux/in6.h +2 -1
index 74a2a1773494..79b12b004ade 100644

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

include/uapi/linux/libc-compat.h +3 -0
index c140620dad92..e28807ad17fa 100644

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

include/uapi/linux/target_core_user.h +0 -4
index 7dcfbe6771b1..b483d1909d3e 100644

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

kernel/irq/internals.h +4 -0
index 4332d766619d..df553b0af936 100644

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

kernel/irq/irqdesc.c +52 -0

52 lines not on this page · raw message

kernel/irq/proc.c +21 -1
index ac1ba2f11032..9dc9bfd8a678 100644

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

kernel/time/tick-sched.c +0 -2
index 7b5741fc4110..8c30ef7a2b70 100644

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

kernel/trace/ftrace.c +45 -8

53 lines not on this page · raw message

lib/decompress_bunzip2.c +1 -1
index 8290e0bef7ea..6dd0335ea61b 100644

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

net/batman-adv/fragmentation.c +2 -2
index fc1835c6bb40..00f9e144cc97 100644

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

net/batman-adv/gateway_client.c +1 -1
index 90cff585b37d..e0bcf9e84273 100644

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

net/core/dev.c +23 -14
index 945bbd001359..84409688ff39 100644

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

net/core/skbuff.c +1 -0
index 32e31c299631..d7543d0fd744 100644

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

net/ipv4/geneve.c +24 -6
index dedb21e99914..2caa6ad965a6 100644

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

net/ipv4/ip_gre.c +5 -4
index 12055fdbe716..69aaf0a2c424 100644

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

net/ipv4/tcp_output.c +2 -2
index a3d453b94747..c2df40ba553f 100644

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

net/ipv6/tcp_ipv6.c +29 -16

45 lines not on this page · raw message

net/netlink/af_netlink.c +17 -37

54 lines not on this page · raw message

net/wireless/chan.c +6 -3
index 72d81e2154d5..92ae263ebbf3 100644

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

net/wireless/nl80211.c +1 -1
index 5839c85075f1..ea558e07981f 100644

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

net/wireless/reg.c +6 -6
index b725a31a4751..6fd53ea30193 100644

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

scripts/Makefile.clean +8 -8
index b1c668dc6815..a609552a86dc 100644

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

scripts/coccinelle/misc/bugon.cocci +1 -1
index 556456ca761c..3b7eec24fb5a 100644

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

sound/usb/quirks-table.h +39 -127

166 lines not on this page · raw message

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

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