Skip to contentSkip to conversation

Linux 4.0.2

DISCUSSION Greg KH 1 participant 2 messages May 7, 2015 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.0.2 kernel.

All users of the 4.0 kernel series must upgrade.

The updated 4.0.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.0.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/networking/scaling.txt                     |    2 
 Documentation/virtual/kvm/devices/s390_flic.txt          |    3 
 Makefile                                                 |    2 
 arch/arm/boot/dts/at91-sama5d3_xplained.dts              |    6 
 arch/arm/boot/dts/dove.dtsi                              |    4 
 arch/arm/boot/dts/exynos5250-spring.dts                  |   16 
 arch/arm/include/asm/elf.h                               |    2 
 arch/arm/include/uapi/asm/kvm.h                          |    8 
 arch/arm/kernel/hibernate.c                              |    5 
 arch/arm/kernel/process.c                                |   10 
 arch/arm/kernel/reboot.h                                 |    6 
 arch/arm/kvm/arm.c                                       |    3 
 arch/arm/mach-mvebu/pmsu.c                               |   16 
 arch/arm/mach-s3c64xx/crag6410.h                         |    1 
 arch/arm/mach-s3c64xx/mach-crag6410.c                    |    1 
 arch/arm64/Kconfig                                       |   25 +
 arch/arm64/Makefile                                      |    2 
 arch/arm64/include/asm/cpufeature.h                      |    3 
 arch/arm64/include/asm/smp_plat.h                        |    2 
 arch/arm64/include/uapi/asm/kvm.h                        |    8 
 arch/arm64/kernel/cpu_errata.c                           |   11 
 arch/arm64/kernel/entry.S                                |   20 
 arch/arm64/kernel/head.S                                 |    1 
 arch/arm64/kernel/setup.c                                |   12 
 arch/arm64/kernel/smp.c                                  |    2 
 arch/c6x/kernel/time.c                                   |    2 
 arch/mips/include/asm/asm-eva.h                          |  137 ++++--
 arch/mips/include/asm/fpu.h                              |    1 
 arch/mips/include/asm/kvm_host.h                         |    2 
 arch/mips/kernel/unaligned.c                             |  340 ++++++++++-----
 arch/mips/kvm/emulate.c                                  |    1 
 arch/mips/kvm/mips.c                                     |    4 
 arch/mips/kvm/trap_emul.c                                |   28 +
 arch/mips/loongson/loongson-3/irq.c                      |    1 
 arch/mips/mti-malta/malta-memory.c                       |    6 
 arch/mips/power/hibernate.S                              |    3 
 arch/powerpc/kernel/cacheinfo.c                          |   44 +
 arch/powerpc/mm/hugetlbpage.c                            |    1 
 arch/powerpc/perf/callchain.c                            |    2 
 arch/powerpc/platforms/cell/interrupt.c                  |    2 
 arch/powerpc/platforms/cell/iommu.c                      |    2 
 arch/powerpc/platforms/powernv/pci-ioda.c                |    3 
 arch/s390/kernel/suspend.c                               |    4 
 arch/s390/kvm/interrupt.c                                |   62 +-
 arch/s390/kvm/kvm-s390.h                                 |    4 
 arch/s390/kvm/priv.c                                     |   42 +
 arch/x86/include/asm/insn.h                              |    2 
 arch/x86/include/asm/mwait.h                             |    8 
 arch/x86/include/asm/pvclock.h                           |    1 
 arch/x86/kernel/cpu/perf_event_intel_ds.c                |    8 
 arch/x86/kernel/process.c                                |   51 ++
 arch/x86/kernel/pvclock.c                                |   44 +
 arch/x86/kvm/vmx.c                                       |   12 
 arch/x86/kvm/x86.c                                       |   10 
 arch/x86/lib/insn.c                                      |    7 
 arch/x86/lib/usercopy_64.c                               |    2 
 arch/x86/vdso/vclock_gettime.c                           |   34 -
 arch/xtensa/Kconfig                                      |   30 +
 arch/xtensa/include/uapi/asm/unistd.h                    |    2 
 arch/xtensa/platforms/iss/network.c                      |   29 -
 arch/xtensa/platforms/xtfpga/Makefile                    |    3 
 arch/xtensa/platforms/xtfpga/include/platform/hardware.h |    3 
 arch/xtensa/platforms/xtfpga/include/platform/lcd.h      |   15 
 arch/xtensa/platforms/xtfpga/lcd.c                       |   55 +-
 drivers/acpi/acpica/evgpe.c                              |    5 
 drivers/acpi/acpica/hwgpe.c                              |   11 
 drivers/acpi/acpica/tbinstal.c                           |    1 
 drivers/acpi/scan.c                                      |    6 
 drivers/base/bus.c                                       |    4 
 drivers/base/cacheinfo.c                                 |   13 
 drivers/base/platform.c                                  |    9 
 drivers/bluetooth/ath3k.c                                |    1 
 drivers/bluetooth/btusb.c                                |    1 
 drivers/char/tpm/tpm-chip.c                              |   66 +-
 drivers/clk/at91/clk-usb.c                               |   64 ++
 drivers/clk/qcom/clk-rcg.c                               |   62 ++
 drivers/clk/qcom/clk-rcg.h                               |    1 
 drivers/clk/qcom/clk-rcg2.c                              |    2 
 drivers/clk/qcom/gcc-ipq806x.c                           |    2 
 drivers/clk/qcom/lcc-ipq806x.c                           |   23 -
 drivers/clk/samsung/clk-exynos4.c                        |   11 
 drivers/clk/tegra/clk-tegra124.c                         |   14 
 drivers/clk/tegra/clk.c                                  |    2 
 drivers/crypto/omap-aes.c                                |   14 
 drivers/gpio/gpio-mvebu.c                                |   24 -
 drivers/gpu/drm/exynos/exynos_dp_core.c                  |   10 
 drivers/gpu/drm/exynos/exynos_drm_fimd.c                 |   19 
 drivers/gpu/drm/exynos/exynos_drm_fimd.h                 |   15 
 drivers/gpu/drm/i2c/adv7511.c                            |  102 ++--
 drivers/gpu/drm/i915/i915_drv.c                          |    4 
 drivers/gpu/drm/i915/i915_irq.c                          |    8 
 drivers/gpu/drm/i915/i915_reg.h                          |    1 
 drivers/gpu/drm/i915/intel_i2c.c                         |   66 ++
 drivers/gpu/drm/radeon/atombios_crtc.c                   |    8 
 drivers/hid/hid-ids.h                                    |    4 
 drivers/hid/usbhid/hid-quirks.c                          |    2 
 drivers/hv/channel.c                                     |    7 
 drivers/i2c/busses/i2c-rk3x.c                            |    2 
 drivers/i2c/i2c-core.c                                   |    5 
 drivers/i2c/i2c-mux.c                                    |    8 
 drivers/idle/intel_idle.c                                |   14 
 drivers/infiniband/core/umem.c                           |    7 
 drivers/infiniband/hw/mlx4/qp.c                          |    3 
 drivers/infiniband/ulp/iser/iser_initiator.c             |    4 
 drivers/infiniband/ulp/isert/ib_isert.c                  |   20 
 drivers/input/mouse/alps.c                               |    5 
 drivers/input/mouse/elantech.c                           |   22 
 drivers/input/mouse/elantech.h                           |    1 
 drivers/md/dm-crypt.c                                    |   12 
 drivers/md/md.c                                          |    6 
 drivers/md/raid0.c                                       |    3 
 drivers/media/rc/img-ir/img-ir-core.c                    |    2 
 drivers/media/usb/stk1160/stk1160-v4l.c                  |   17 
 drivers/memstick/core/mspro_block.c                      |    3 
 drivers/mfd/mfd-core.c                                   |    2 
 drivers/mmc/host/sunxi-mmc.c                             |    4 
 drivers/mmc/host/tmio_mmc_pio.c                          |    2 
 drivers/mtd/ubi/attach.c                                 |    2 
 drivers/mtd/ubi/cdev.c                                   |    2 
 drivers/mtd/ubi/eba.c                                    |    3 
 drivers/mtd/ubi/wl.c                                     |    2 
 drivers/net/ethernet/cadence/macb.c                      |    2 
 drivers/net/ethernet/intel/e1000/e1000_main.c            |   10 
 drivers/net/ethernet/marvell/pxa168_eth.c                |   16 
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c          |   29 -
 drivers/net/ppp/ppp_generic.c                            |    1 
 drivers/net/wireless/rtlwifi/rtl8192cu/sw.c              |    2 
 drivers/net/wireless/ti/wl18xx/debugfs.c                 |    2 
 drivers/net/wireless/ti/wlcore/debugfs.h                 |    4 
 drivers/nfc/st21nfcb/i2c.c                               |    4 
 drivers/platform/x86/compal-laptop.c                     |   10 
 drivers/power/ipaq_micro_battery.c                       |   22 
 drivers/power/lp8788-charger.c                           |    4 
 drivers/power/twl4030_madc_battery.c                     |    7 
 drivers/scsi/megaraid/megaraid_sas_fusion.c              |    9 
 drivers/scsi/mvsas/mv_sas.c                              |    5 
 drivers/scsi/sd.c                                        |    1 
 drivers/scsi/sd_dif.c                                    |    2 
 drivers/scsi/storvsc_drv.c                               |   15 
 drivers/spi/spi-imx.c                                    |    4 
 drivers/spi/spidev.c                                     |    5 
 drivers/staging/android/sync.c                           |    2 
 drivers/staging/panel/panel.c                            |   12 
 drivers/staging/vt6655/rxtx.c                            |   14 
 drivers/target/iscsi/iscsi_target.c                      |  104 +---
 drivers/target/iscsi/iscsi_target_erl0.c                 |   13 
 drivers/target/iscsi/iscsi_target_login.c                |   59 ++
 drivers/target/target_core_file.c                        |  122 +++--
 drivers/target/target_core_sbc.c                         |   15 
 drivers/target/target_core_transport.c                   |   37 +
 drivers/tty/serial/8250/8250_core.c                      |    3 
 drivers/tty/serial/8250/8250_dw.c                        |    1 
 drivers/tty/serial/imx.c                                 |    8 
 drivers/usb/class/cdc-wdm.c                              |   12 
 drivers/usb/core/hub.c                                   |    4 
 drivers/usb/dwc2/hcd.c                                   |    2 
 drivers/usb/gadget/legacy/printer.c                      |    9 
 drivers/usb/host/ehci-hcd.c                              |   10 
 drivers/usb/host/ehci-hub.c                              |    9 
 drivers/usb/host/fotg210-hcd.c                           |    2 
 drivers/usb/host/fusbh200-hcd.c                          |    3 
 drivers/usb/host/isp116x-hcd.c                           |    2 
 drivers/usb/host/oxu210hp-hcd.c                          |    7 
 drivers/usb/host/r8a66597-hcd.c                          |    2 
 drivers/usb/host/sl811-hcd.c                             |    2 
 drivers/usb/host/uhci-hub.c                              |    5 
 drivers/usb/host/xhci-ring.c                             |    2 
 drivers/usb/isp1760/isp1760-hcd.c                        |    2 
 drivers/usb/musb/musb_core.c                             |   51 +-
 drivers/usb/musb/musb_virthub.c                          |    2 
 drivers/usb/phy/phy.c                                    |    4 
 fs/binfmt_elf.c                                          |    9 
 fs/btrfs/extent-tree.c                                   |    5 
 fs/btrfs/ioctl.c                                         |    8 
 fs/btrfs/xattr.c                                         |   53 +-
 fs/ext4/namei.c                                          |   20 
 fs/lockd/svcsubs.c                                       |    2 
 fs/namei.c                                               |    6 
 fs/namespace.c                                           |  123 +++--
 fs/nfs/callback.c                                        |    6 
 fs/nfs/direct.c                                          |   31 -
 fs/nfs/nfs4xdr.c                                         |    6 
 fs/nfs/read.c                                            |    2 
 fs/nfs/write.c                                           |    2 
 fs/nfsd/nfs4proc.c                                       |    4 
 fs/nfsd/nfs4state.c                                      |    2 
 fs/nfsd/nfs4xdr.c                                        |   12 
 fs/nfsd/nfsctl.c                                         |   16 
 fs/nfsd/nfsd.h                                           |    2 
 fs/open.c                                                |    2 
 fs/pnode.c                                               |   60 ++
 fs/pnode.h                                               |    7 
 include/acpi/actypes.h                                   |   24 -
 include/acpi/platform/acenv.h                            |    1 
 include/dt-bindings/clock/tegra124-car-common.h          |    2 
 include/linux/bpf.h                                      |    4 
 include/linux/mount.h                                    |    1 
 include/linux/sched.h                                    |    8 
 include/linux/skbuff.h                                   |   13 
 include/linux/usb.h                                      |   26 +
 include/target/iscsi/iscsi_target_core.h                 |    7 
 include/target/target_core_base.h                        |    2 
 include/uapi/linux/nfsd/debug.h                          |    8 
 include/video/samsung_fimd.h                             |    6 
 kernel/bpf/verifier.c                                    |    5 
 kernel/ptrace.c                                          |   20 
 kernel/sched/core.c                                      |   15 
 kernel/sched/deadline.c                                  |    4 
 kernel/trace/ring_buffer.c                               |   11 
 kernel/trace/trace_events.c                              |    9 
 kernel/trace/trace_functions_graph.c                     |    8 
 lib/string.c                                             |    2 
 mm/huge_memory.c                                         |    9 
 mm/hugetlb.c                                             |    3 
 mm/mempolicy.c                                           |    3 
 net/bridge/br_netfilter.c                                |   17 
 net/core/dev.c                                           |   12 
 net/core/skbuff.c                                        |   30 +
 net/ipv4/ip_forward.c                                    |    3 
 net/ipv4/tcp_output.c                                    |   64 +-
 net/mac80211/mlme.c                                      |    2 
 net/netlink/af_netlink.c                                 |    6 
 sound/pci/emu10k1/emuproc.c                              |   12 
 sound/pci/hda/patch_realtek.c                            |   32 -
 sound/soc/codecs/cs4271.c                                |    4 
 sound/soc/codecs/pcm512x.c                               |    8 
 sound/soc/codecs/wm8741.c                                |    8 
 sound/soc/davinci/davinci-evm.c                          |   10 
 sound/usb/quirks.c                                       |    1 
 tools/lib/traceevent/kbuffer-parse.c                     |    1 
 tools/perf/config/Makefile                               |    4 
 tools/perf/tests/make                                    |    2 
 tools/perf/util/cloexec.c                                |    6 
 tools/perf/util/cloexec.h                                |    6 
 tools/perf/util/symbol-elf.c                             |    4 
 tools/power/x86/turbostat/Makefile                       |    6 
 virt/kvm/arm/vgic.c                                      |    3 
 virt/kvm/kvm_main.c                                      |    4 
 238 files changed, 2397 insertions(+), 1002 deletions(-)

Adam Honse (1):
ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate

Akinobu Mita (3):
target/file: Fix BUG() when CONFIG_DEBUG_SG=y and DIF protection enabled target/file: Fix UNMAP with DIF protection support target/file: Fix SG table for prot_buf initialization

Al Viro (1):
RCU pathwalk breakage when running into a symlink overmounting something

Alex Deucher (1):
drm/radeon: fix doublescan modes (v2)

Alexander Ploumistos (1):
Bluetooth: ath3k: Add support Atheros AR5B195 combo Mini PCIe card

Alexey Khoroshilov (1):
pxa168: fix double deallocation of managed resources

Alistair Strachan (1):
staging: android: sync: Fix memory corruption in sync_timeline_signal().

Amir Vadai (1):
net/mlx4_en: Prevent setting invalid RSS hash function

Andre Przywara (1):
KVM: arm/arm64: check IRQ number on userland injection

Andreas Faerber (1):
ARM: dts: fix mmc node updates for exynos5250-spring

Andrew Elble (1):
NFS: fix BUG() crash in notify_change() with patch to chown_common()

Andrey Ryabinin (1):
ARM: 8320/1: fix integer overflow in ELF_ET_DYN_BASE

Andrzej Pietrasiewicz (1):
usb: gadget: printer: enqueue printer's response for setup request

Andy Lutomirski (1):
x86/asm/decoder: Fix and enforce max instruction size in the insn decoder

Anna Schumaker (1):
NFS: Add a stub for GETDEVICELIST

Anton Blanchard (1):
powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH

Archit Taneja (1):
clk: qcom: fix RCG M/N counter configuration

Axel Lin (1):
usb: phy: Find the right match in devm_usb_phy_match

Bartlomiej Zolnierkiewicz (1):
clk: samsung: exynos4: Disable ARMCLK down feature on Exynos4210 SoC

Ben Collins (1):
dm crypt: fix deadlock when async crypto algorithm returns -EBUSY

Ben Serebrin (1):
KVM: VMX: Preserve host CR4.MCE value while in guest mode.

Bo Yan (1):
arm64: fix midr range for Cortex-A57 erratum 832075

Boris Brezillon (1):
clk: at91: usb: propagate rate modification to the parent clk

Brian Norris (4):
UBI: account for bitflips in both the VID header and data
UBI: fix out of bounds write
UBI: initialize LEB number variable
UBI: fix check for "too many bytes"

Charles Keepax (2):
ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore
i2c: Mark adapter devices with pm_runtime_no_callbacks

Chen-Yu Tsai (1):
mmc: sunxi: Use devm_reset_control_get_optional() for reset control

Christoph Hellwig (1):
megaraid_sas: use raw_smp_processor_id()

Christophe Ricard (1):
NFC: st21nfcb: Retry i2c_master_send if it returns a negative value

Dan Carpenter (1):
memstick: mspro_block: add missing curly braces

Daniel Borkmann (1):
ebpf: verifier: check that call reg with ARG_ANYTHING is initialized

Daniel Vetter (1):
drm/i915: Dont enable CS_PARSER_ERROR interrupts at all

Dave Olson (1):
powerpc: Fix missing L2 cache size in /sys/devices/system/cpu

David Henningsson (1):
ALSA: hda - fix "num_steps = 0" error on ALC256

David Hildenbrand (2):
KVM: s390: fix handling of write errors in the tpi handler
KVM: s390: reinjection of irqs can fail in the tpi handler

David Rientjes (1):
mm, thp: really limit transparent hugepage allocation to local node

David Sterba (1):
btrfs: don't accept bare namespace as a valid xattr

Dmitry Torokhov (2):
i2c: rk3x: report number of messages transmitted drm/i915: cope with large i2c transfers

Ekaterina Tumanova (1):
KVM: s390: Zero out current VMDB of STSI before including level3 data.

Erez Shitrit (1):
IB/mlx4: Fix WQE LSO segment calculation

Eric Dumazet (5):
tcp: fix possible deadlock in tcp_send_fin()
tcp: avoid looping in tcp_send_fin()
net: do not deplete pfmemalloc reserve
net: fix crash in build_skb()
net: rfs: fix crash in get_rps_cpus()

Eric W. Biederman (12):
mnt: Improve the umount_tree flags
mnt: Don't propagate umounts in __detach_mounts
mnt: In umount_tree reuse mnt_list instead of mnt_hash
mnt: Add MNT_UMOUNT flag
mnt: Delay removal from the mount hash.
mnt: On an unmount propagate clearing of MNT_LOCKED
mnt: Don't propagate unmounts to locked mounts
mnt: Factor out unhash_mnt from detach_mnt and umount_tree
mnt: Factor umount_mnt from umount_tree
mnt: Honor MNT_LOCKED when detaching mounts
mnt: Fix the error check in __detach_mounts
mnt: Update detach_mounts to leave mounts connected

Ezequiel Garcia (1):
stk1160: Make sure current buffer is released

Felipe Balbi (15):
usb: musb: core: fix TX/RX endpoint order
usb: define a generic USB_RESUME_TIMEOUT macro
usb: musb: use new USB_RESUME_TIMEOUT
usb: host: oxu210hp: use new USB_RESUME_TIMEOUT
usb: host: fusbh200: use new USB_RESUME_TIMEOUT
usb: host: uhci: use new USB_RESUME_TIMEOUT
usb: host: fotg210: use new USB_RESUME_TIMEOUT
usb: host: r8a66597: use new USB_RESUME_TIMEOUT
usb: host: isp116x: use new USB_RESUME_TIMEOUT
usb: host: xhci: use new USB_RESUME_TIMEOUT
usb: host: ehci: use new USB_RESUME_TIMEOUT
usb: host: sl811: use new USB_RESUME_TIMEOUT
usb: dwc2: hcd: use new USB_RESUME_TIMEOUT
usb: isp1760: hcd: use new USB_RESUME_TIMEOUT
usb: core: hub: use new USB_RESUME_TIMEOUT

Filipe Manana (3):
Btrfs: fix log tree corruption when fs mounted with -o discard
Btrfs: fix inode eviction infinite loop after cloning into it
Btrfs: fix inode eviction infinite loop after extent_same ioctl

Florian Westphal (1):
netfilter: bridge: really save frag_max_size between PRE and POST_ROUTING

Gavin Shan (1):
powerpc/powernv: Don't map M64 segments using M32DT

Geert Uytterhoeven (1):
mmc: tmio: Remove bogus un-initialization in tmio_mmc_host_free()

Gerald Schaefer (1):
mm/hugetlb: use pmd_page() in follow_huge_pmd()

Giuseppe Cantavenera (1):
nfsd: fix nsfd startup race triggering BUG_ON

Greg Kroah-Hartman (1):

      Linux 4.0.2

Gregory CLEMENT (2):
ARM: mvebu: Disable CPU Idle on Armada 38x
gpio: mvebu: Fix mask/unmask managment per irq chip type

Gu Zheng (1):
md: fix md io stats accounting broken

H.J. Lu (1):
perf tools: Fix perf-read-vdsox32 not building and lib64 install dir

Hans de Goede (1):
Input: alps - fix touchpad buttons getting stuck when used with trackpoint

Heiko Carstens (1):
s390/hibernate: fix save and restore of kernel text section

Howard Mitchell (2):
ASoC: pcm512x: Add 'Analogue' prefix to analogue volume controls
ASoC: pcm512x: Fix divide by zero issue

Huacai Chen (2):
MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction
MIPS: Hibernate: flush TLB entries earlier

Hui Wang (1):
ALSA: hda - fix headset mic detection problem for one more machine

Ian Abbott (1):
spi: spidev: fix possible arithmetic overflow for multi-transfer message

Imre Deak (1):
drm/i915: vlv: fix save/restore of GFX_MAX_REQ_COUNT reg

J. Bruce Fields (3):
nfsd4: disallow ALLOCATE with special stateids
nfsd4: fix READ permission checking
nfsd4: disallow SEEK with special stateids

James Bottomley (1):
mvsas: fix panic on expander attached SATA devices

James Hogan (2):
MIPS: KVM: Handle MSA Disabled exceptions from guest
MIPS: lose_fpu(): Disable FPU when MSA enabled

Jarkko Sakkinen (1):
tpm: fix: sanitized code paths in tpm_chip_register()

Jeff Layton (1):
nfs: fix high load average due to callback thread sleeping

Jens Freimann (1):
KVM: s390: fix get_all_floating_irqs

Jo-Philipp Wich (1):
ALSA: hda/realtek - Enable the ALC292 dock fixup on the Thinkpad T450

Johan Hovold (1):
mfd: core: Fix platform-device name collisions

Johannes Berg (1):
mac80211: send AP probe as unicast again

Joonsoo Kim (1):
tracing: Fix incorrect enabling of trace events by boot cmdline

Junjie Mao (1):
driver core: bus: Goto appropriate labels on failure in bus_add_device

Juri Lelli (1):
sched/deadline: Always enqueue on previous rq when dl_task_timer() fires

K. Y. Srinivasan (2):
scsi: storvsc: Fix a bug in copy_from_bounce_buffer()
Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()

Kailang Yang (1):
ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256

Ken Xue (1):
serial: 8250_dw: add support for AMD SOC Carrizo

Krzysztof Kozlowski (7):
compal-laptop: Fix leaking hwmon device
compal-laptop: Check return value of power_supply_register
power_supply: twl4030_madc: Check return value of power_supply_register
power_supply: lp8788-charger: Fix leaked power supply on probe fail
power_supply: ipaq_micro_battery: Fix leaking workqueue
power_supply: ipaq_micro_battery: Check return values in probe drm/exynos: Enable DP clock to fix display on Exynos5250 and other

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

Laurent Pinchart (2):
drm: adv7511: Fix DDC error interrupt handling
drm: adv7511: Fix nested sleep when reading EDID

Len Brown (2):
sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve power savings and to improve performance
intel_idle: Update support for Silvermont Core in Baytrail SOC

Linus Torvalds (1):
x86: fix special __probe_kernel_write() tail zeroing case

Linus Walleij (1):
drivers: platform: parse IRQ flags from resources

Lucas Stach (1):
spi: imx: read back the RX/TX watermark levels earlier

Lukas Czerner (1):
ext4: make fsync to sync parent dir in no-journal for real this time

Lv Zheng (1):
ACPICA: Utilities: split IO address types from data type models.

Malcolm Priestley (1):
staging: vt6655: use ieee80211_tx_info to select packet type.

Manish Badarkhe (1):
ASoC: davinci-evm: drop un-necessary remove function

Marcelo Tosatti (1):
x86: kvm: Revert "remove sched notifier for cross-cpu migrations"

Marek Vasut (1):
rtlwifi: rtl8192cu: Add new device ID

Mark Brown (1):
i2c: core: Export bus recovery functions

Mark Rutland (2):
arm64: head.S: ensure visibility of page tables
arm64: apply alternatives for !SMP kernels

Mark Salter (1):
nfsd: eliminate NFSD_DEBUG

Markos Chandras (5):
MIPS: Malta: Detect and fix bad memsize values
MIPS: asm: asm-eva: Introduce kernel load/store variants
MIPS: unaligned: Prevent EVA instructions on kernel unaligned accesses
MIPS: unaligned: Surround load/store macros in do {} while statements
MIPS: unaligned: Fix regular load/store instruction emulation for EVA

Martin K. Petersen (2):
sd: Unregister integrity profile
sd: Fix missing ATO tag check

Max Filippov (3):
xtensa: xtfpga: fix hardware lockup caused by LCD driver
xtensa: provide __NR_sync_file_range2 instead of __NR_sync_file_range
xtensa: ISS: fix locking in TAP network adapter

Michael Davidson (1):
fs/binfmt_elf.c: fix bug in loading of PIE binaries

Michael Ellerman (2):
powerpc/cell: Fix crash in iic_setup_cpu() after per_cpu changes powerpc/cell: Fix cell iommu after it_page_shift changes

Michael Gernoth (1):
ALSA: emu10k1: don't deadlock in proc-functions

Mike Galbraith (1):
sched/idle/x86: Optimize unnecessary mwait_idle() resched IPIs

Nadav Amit (1):
KVM: x86: Fix MSR_IA32_BNDCFGS in msrs_to_save

NeilBrown (1):
md/raid0: fix bug with chunksize not a power of 2.

Nicholas Bellinger (2):
iscsi-target: Convert iscsi_thread_set usage to kthread.h
target: Fix COMPARE_AND_WRITE with SG_TO_MEM_NOALLOC handling

Nicolas Ferre (2):
ARM: at91/dt: sama5d3 xplained: add phy address for macb1 net/macb: fix the peripheral version test

Nicolas Iooss (2):
Revert "nfs: replace nfs_add_stats with nfs_inc_stats when add one"
wl18xx: show rx_frames_per_rates as an array as it really is

Nishanth Menon (1):
C6x: time: Ensure consistency in __init

Octavian Purdila (1):
ACPICA: Tables: Don't release ACPI_MTX_TABLES in acpi_tb_install_standard_table().

Oleg Nesterov (1):
ptrace: fix race between ptrace_resume() and wait_task_stopped()

Oliver Neukum (3):
cdc-wdm: fix endianness bug in debug statements
HID: add HP OEM mouse to quirk ALWAYS_POLL
HID: add quirk for PIXART OEM mouse used by HP

Pascal Huerst (1):
ASoC: cs4271: Increase delay time after reset

Peng Tao (2):
nfs: fix DIO good bytes calculation
nfs: remove WARN_ON_ONCE from nfs_direct_good_bytes

Peter Hurley (1):
serial: 8250: Check UART_SCR is writable

Peter Zijlstra (1):
perf/x86/intel: Fix Core2,Atom,NHM,WSM cycles:pp events

Rabin Vincent (1):
tracing: Handle ftrace_dump() atomic context in graph_trace_open()

Radim Krčmář (2):
x86: vdso: fix pvclock races with task migration
KVM: use slowpath for cross page cached accesses

Rafael J. Wysocki (2):
ACPICA: Store GPE register enable masks upfront
ACPI / scan: Annotate physical_node_lock in acpi_scan_is_offline()

Russell King (1):
ARM: fix broken hibernation

Sabrina Dubroca (1):
e1000: add dummy allocator to fix race condition between mtu change and netpoll

Sagi Grimberg (3):
iser-target: Fix session hang in case of an rdma read DIF error
iser-target: Fix possible deadlock in RDMA_CM connection error IB/iser: Fix wrong calculation of protection buffer length

Scott Wood (1):
powerpc/hugetlb: Call mm_dec_nr_pmds() in hugetlb_free_pmd_range()

Sebastian Hesselbarth (1):
ARM: dts: dove: Fix uart[23] reg property

Sebastian Pöhn (1):

      ip_forward: Drop frames with attached skb->sk

Sergej Sawazki (1):
ASoC: wm8741: Fix rates constraints values

Sifan Naeem (1):
rc: img-ir: fix error in parameters passed to irq_free()

Stephen Boyd (3):
clk: qcom: Fix i2c frequency table
clk: qcom: Properly change rates for ahbix clock
clk: qcom: Fix ipq806x LCC frequency tables

Steve Capper (1):
arm64: Adjust EFI libstub object include logic

Steven Rostedt (1):

      ring-buffer: Replace this_cpu_*() with __this_cpu_*()

Steven Rostedt (Red Hat) (1):
tools lib traceevent kbuffer: Remove extra update to data pointer in PADDING

Sudeep Holla (1):
drivers/base: cacheinfo: validate device node for all the caches

Sudip Mukherjee (1):
staging: panel: fix lcd type

Thierry Reding (2):
clk: tegra: Register the proper number of resets
clk: tegra: Use the proper parent for plld_dsi

Thomas D (1):

      tools/power turbostat: Use $(CURDIR) instead of $(PWD) and add support for O= option in Makefile

Tom Herbert (2):
net: add skb_checksum_complete_unset
ppp: call skb_checksum_complete_unset in ppp_receive_frame

Ulrik De Bie (1):
Input: elantech - fix absolute mode setting on some ASUS laptops

Uwe Kleine-König (1):
serial: imx: Fix clearing of receiver overrun flag

Vinson Lee (2):
perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older. perf tools: Work around lack of sched_getcpu in glibc < 2.6.

Vutla, Lokesh (1):
crypto: omap-aes - Fix support for unequal lengths

Will Deacon (1):
arm64: errata: add workaround for cortex-a53 erratum #845719

Wolfram Sang (1):
i2c: mux: use proper dev when removing "channel-X" symlinks

Yann Droneaud (2):
IB/core: disallow registering 0-sized memory region IB/core: don't disallow registering region starting at 0x0

Yves-Alexis Perez (1):
ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)

mancha security (1):
lib: memzero_explicit: use barrier instead of OPTIMIZER_HIDE_VAR

author maintainer
#1 lore raw
Documentation/networking/scaling.txt +1 -1
index 99ca40e8e810..5c204df6b689 100644
@@ -282,7 +282,7 @@ following is true:
 
 - The current CPU's queue head counter >= the recorded tail counter
   value in rps_dev_flow[i]
-- The current CPU is unset (equal to RPS_NO_CPU)
+- The current CPU is unset (>= nr_cpu_ids)
 - The current CPU is offline
 
 After this check, the packet is sent to the (possibly updated) current
Documentation/virtual/kvm/devices/s390_flic.txt +3 -0
index 4ceef53164b0..d1ad9d5cae46 100644
@@ -27,6 +27,9 @@ Groups:
     Copies all floating interrupts into a buffer provided by userspace.
     When the buffer is too small it returns -ENOMEM, which is the indication
     for userspace to try again with a bigger buffer.
+    -ENOBUFS is returned when the allocation of a kernelspace buffer has
+    failed.
+    -EFAULT is returned when copying data to userspace failed.
     All interrupts remain pending, i.e. are not deleted from the list of
     currently pending interrupts.
     attr->addr contains the userspace address of the buffer into which all
Makefile +1 -1
index f499cd2f5738..0649a6011a76 100644
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 0
-SUBLEVEL = 1
+SUBLEVEL = 2
 EXTRAVERSION =
 NAME = Hurr durr I'ma sheep
 
arch/arm/boot/dts/at91-sama5d3_xplained.dts +6 -0
index fec1fca2ad66..6c4bc53cbf4e 100644
@@ -167,7 +167,13 @@
 
 			macb1: ethernet@f802c000 {
 				phy-mode = "rmii";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				status = "okay";
+
+				ethernet-phy@1 {
+					reg = <0x1>;
+				};
 			};
 
 			dbgu: serial@ffffee00 {
arch/arm/boot/dts/dove.dtsi +2 -2
index a5441d5482a6..3cc8b8320345 100644
@@ -154,7 +154,7 @@
 
 			uart2: serial@12200 {
 				compatible = "ns16550a";
-				reg = <0x12000 0x100>;
+				reg = <0x12200 0x100>;
 				reg-shift = <2>;
 				interrupts = <9>;
 				clocks = <&core_clk 0>;
@@ -163,7 +163,7 @@
 
 			uart3: serial@12300 {
 				compatible = "ns16550a";
-				reg = <0x12100 0x100>;
+				reg = <0x12300 0x100>;
 				reg-shift = <2>;
 				interrupts = <10>;
 				clocks = <&core_clk 0>;
arch/arm/boot/dts/exynos5250-spring.dts +4 -12
index f02775487cd4..c41600e587e0 100644
@@ -429,7 +429,6 @@
 &mmc_0 {
 	status = "okay";
 	num-slots = <1>;
-	supports-highspeed;
 	broken-cd;
 	card-detect-delay = <200>;
 	samsung,dw-mshc-ciu-div = <3>;
@@ -437,11 +436,8 @@
 	samsung,dw-mshc-ddr-timing = <1 2>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
-
-	slot@0 {
-		reg = <0>;
-		bus-width = <8>;
-	};
+	bus-width = <8>;
+	cap-mmc-highspeed;
 };
 
 /*
@@ -451,7 +447,6 @@
 &mmc_1 {
 	status = "okay";
 	num-slots = <1>;
-	supports-highspeed;
 	broken-cd;
 	card-detect-delay = <200>;
 	samsung,dw-mshc-ciu-div = <3>;
@@ -459,11 +454,8 @@
 	samsung,dw-mshc-ddr-timing = <1 2>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
-
-	slot@0 {
-		reg = <0>;
-		bus-width = <4>;
-	};
+	bus-width = <4>;
+	cap-sd-highspeed;
 };
 
 &pinctrl_0 {
arch/arm/include/asm/elf.h +1 -1
index afb9cafd3786..674d03f4ba15 100644
@@ -115,7 +115,7 @@ int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs);
    the loader.  We need to make sure that it is out of the way of the program
    that it will "exec", and that there is sufficient room for the brk.  */
 
-#define ELF_ET_DYN_BASE	(2 * TASK_SIZE / 3)
+#define ELF_ET_DYN_BASE	(TASK_SIZE / 3 * 2)
 
 /* When the program starts, a1 contains a pointer to a function to be 
    registered with atexit, as per the SVR4 ABI.  A value of 0 means we 
arch/arm/include/uapi/asm/kvm.h +7 -1
index 0db25bc32864..3a42ac646885 100644
@@ -195,8 +195,14 @@ struct kvm_arch_memory_slot {
 #define KVM_ARM_IRQ_CPU_IRQ		0
 #define KVM_ARM_IRQ_CPU_FIQ		1
 
-/* Highest supported SPI, from VGIC_NR_IRQS */
+/*
+ * This used to hold the highest supported SPI, but it is now obsolete
+ * and only here to provide source code level compatibility with older
+ * userland. The highest SPI number can be set via KVM_DEV_ARM_VGIC_GRP_NR_IRQS.
+ */
+#ifndef __KERNEL__
 #define KVM_ARM_IRQ_GIC_MAX		127
+#endif
 
 /* PSCI interface */
 #define KVM_PSCI_FN_BASE		0x95c1ba5e
arch/arm/kernel/hibernate.c +3 -2
index c4cc50e58c13..cfb354ff2a60 100644
@@ -22,6 +22,7 @@
 #include <asm/suspend.h>
 #include <asm/memory.h>
 #include <asm/sections.h>
+#include "reboot.h"
 
 int pfn_is_nosave(unsigned long pfn)
 {
@@ -61,7 +62,7 @@ static int notrace arch_save_image(unsigned long unused)
 
 	ret = swsusp_save();
 	if (ret == 0)
-		soft_restart(virt_to_phys(cpu_resume));
+		_soft_restart(virt_to_phys(cpu_resume), false);
 	return ret;
 }
 
@@ -86,7 +87,7 @@ static void notrace arch_restore_image(void *unused)
 	for (pbe = restore_pblist; pbe; pbe = pbe->next)
 		copy_page(pbe->orig_address, pbe->address);
 
-	soft_restart(virt_to_phys(cpu_resume));
+	_soft_restart(virt_to_phys(cpu_resume), false);
 }
 
 static u64 resume_stack[PAGE_SIZE/2/sizeof(u64)] __nosavedata;
arch/arm/kernel/process.c +8 -2
index fdfa3a78ec8c..2bf1a162defb 100644
@@ -41,6 +41,7 @@
 #include <asm/system_misc.h>
 #include <asm/mach/time.h>
 #include <asm/tls.h>
+#include "reboot.h"
 
 #ifdef CONFIG_CC_STACKPROTECTOR
 #include <linux/stackprotector.h>
@@ -95,7 +96,7 @@ static void __soft_restart(void *addr)
 	BUG();
 }
 
-void soft_restart(unsigned long addr)
+void _soft_restart(unsigned long addr, bool disable_l2)
 {
 	u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack);
 
@@ -104,7 +105,7 @@ void soft_restart(unsigned long addr)
 	local_fiq_disable();
 
 	/* Disable the L2 if we're the last man standing. */
-	if (num_online_cpus() == 1)
+	if (disable_l2)
 		outer_disable();
 
 	/* Change to the new stack and continue with the reset. */
@@ -114,6 +115,11 @@ void soft_restart(unsigned long addr)
 	BUG();
 }
 
+void soft_restart(unsigned long addr)
+{
+	_soft_restart(addr, num_online_cpus() == 1);
+}
+
 /*
  * Function pointers to optional machine specific functions
  */
arch/arm/kernel/reboot.h new file +6 -0
new file mode 100644
index 000000000000..c87f05816d6b
@@ -0,0 +1,6 @@
+#ifndef REBOOT_H
+#define REBOOT_H
+
+extern void _soft_restart(unsigned long addr, bool disable_l2);
+
+#endif
arch/arm/kvm/arm.c +1 -2
index 5560f74f9eee..b652af50fda7 100644
@@ -651,8 +651,7 @@ int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_level,
 		if (!irqchip_in_kernel(kvm))
 			return -ENXIO;
 
-		if (irq_num < VGIC_NR_PRIVATE_IRQS ||
-		    irq_num > KVM_ARM_IRQ_GIC_MAX)
+		if (irq_num < VGIC_NR_PRIVATE_IRQS)
 			return -EINVAL;
 
 		return kvm_vgic_inject_irq(kvm, 0, irq_num, level);
arch/arm/mach-mvebu/pmsu.c +15 -1
index 8b9f5e202ccf..4f4e22206ae5 100644
@@ -415,6 +415,9 @@ static __init int armada_38x_cpuidle_init(void)
 	void __iomem *mpsoc_base;
 	u32 reg;
 
+	pr_warn("CPU idle is currently broken on Armada 38x: disabling");
+	return 0;
+
 	np = of_find_compatible_node(NULL, NULL,
 				     "marvell,armada-380-coherency-fabric");
 	if (!np)
@@ -476,6 +479,16 @@ static int __init mvebu_v7_cpu_pm_init(void)
 		return 0;
 	of_node_put(np);
 
+	/*
+	 * Currently the CPU idle support for Armada 38x is broken, as
+	 * the CPU hotplug uses some of the CPU idle functions it is
+	 * broken too, so let's disable it
+	 */
+	if (of_machine_is_compatible("marvell,armada380")) {
+		cpu_hotplug_disable();
+		pr_warn("CPU hotplug support is currently broken on Armada 38x: disabling");
+	}
+
 	if (of_machine_is_compatible("marvell,armadaxp"))
 		ret = armada_xp_cpuidle_init();
 	else if (of_machine_is_compatible("marvell,armada370"))
@@ -489,7 +502,8 @@ static int __init mvebu_v7_cpu_pm_init(void)
 		return ret;
 
 	mvebu_v7_pmsu_enable_l2_powerdown_onidle();
-	platform_device_register(&mvebu_v7_cpuidle_device);
+	if (mvebu_v7_cpuidle_device.name)
+		platform_device_register(&mvebu_v7_cpuidle_device);
 	cpu_pm_register_notifier(&mvebu_v7_cpu_pm_notifier);
 
 	return 0;
arch/arm/mach-s3c64xx/crag6410.h +1 -0
index 7bc66682687e..dcbe17f5e5f8 100644
@@ -14,6 +14,7 @@
 #include <mach/gpio-samsung.h>
 
 #define GLENFARCLAS_PMIC_IRQ_BASE	IRQ_BOARD_START
+#define BANFF_PMIC_IRQ_BASE		(IRQ_BOARD_START + 64)
 
 #define PCA935X_GPIO_BASE		GPIO_BOARD_START
 #define CODEC_GPIO_BASE			(GPIO_BOARD_START + 8)
arch/arm/mach-s3c64xx/mach-crag6410.c +1 -0
index 10b913baab28..65c426bc45f7 100644
@@ -554,6 +554,7 @@ static struct wm831x_touch_pdata touch_pdata = {
 
 static struct wm831x_pdata crag_pmic_pdata = {
 	.wm831x_num = 1,
+	.irq_base = BANFF_PMIC_IRQ_BASE,
 	.gpio_base = BANFF_PMIC_GPIO_BASE,
 	.soft_shutdown = true,
 
arch/arm64/Kconfig +25 -0
index 1b8e97331ffb..a6186c24ca47 100644
@@ -361,6 +361,27 @@ config ARM64_ERRATUM_832075
 
 	  If unsure, say Y.
 
+config ARM64_ERRATUM_845719
+	bool "Cortex-A53: 845719: a load might read incorrect data"
+	depends on COMPAT
+	default y
+	help
+	  This option adds an alternative code sequence to work around ARM
+	  erratum 845719 on Cortex-A53 parts up to r0p4.
+
+	  When running a compat (AArch32) userspace on an affected Cortex-A53
+	  part, a load at EL0 from a virtual address that matches the bottom 32
+	  bits of the virtual address used by a recent load at (AArch64) EL1
+	  might return incorrect data.
+
+	  The workaround is to write the contextidr_el1 register on exception
+	  return to a 32-bit task.
+	  Please note that this does not necessarily enable the workaround,
+	  as it depends on the alternative framework, which will only patch
+	  the kernel if an affected CPU is detected.
+
+	  If unsure, say Y.
+
 endmenu
 
 
@@ -470,6 +491,10 @@ config HOTPLUG_CPU
 
 source kernel/Kconfig.preempt
 
+config UP_LATE_INIT
+       def_bool y
+       depends on !SMP
+
 config HZ
 	int
 	default 100
arch/arm64/Makefile +1 -1
index 69ceedc982a5..4d2a925998f9 100644
@@ -48,7 +48,7 @@ core-$(CONFIG_KVM) += arch/arm64/kvm/
 core-$(CONFIG_XEN) += arch/arm64/xen/
 core-$(CONFIG_CRYPTO) += arch/arm64/crypto/
 libs-y		:= arch/arm64/lib/ $(libs-y)
-libs-$(CONFIG_EFI_STUB) += drivers/firmware/efi/libstub/
+core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
 
 # Default target when executing plain make
 KBUILD_IMAGE	:= Image.gz
arch/arm64/include/asm/cpufeature.h +2 -1
index b6c16d5f622f..3f0c53c45771 100644
@@ -23,8 +23,9 @@
 
 #define ARM64_WORKAROUND_CLEAN_CACHE		0
 #define ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE	1
+#define ARM64_WORKAROUND_845719			2
 
-#define ARM64_NCAPS				2
+#define ARM64_NCAPS				3
 
 #ifndef __ASSEMBLY__
 
arch/arm64/include/asm/smp_plat.h +2 -0
index 59e282311b58..8dcd61e32176 100644
@@ -40,4 +40,6 @@ static inline u32 mpidr_hash_size(void)
 extern u64 __cpu_logical_map[NR_CPUS];
 #define cpu_logical_map(cpu)    __cpu_logical_map[cpu]
 
+void __init do_post_cpus_up_work(void);
+
 #endif /* __ASM_SMP_PLAT_H */
arch/arm64/include/uapi/asm/kvm.h +7 -1
index 3ef77a466018..bc49a1886b61 100644
@@ -188,8 +188,14 @@ struct kvm_arch_memory_slot {
 #define KVM_ARM_IRQ_CPU_IRQ		0
 #define KVM_ARM_IRQ_CPU_FIQ		1
 
-/* Highest supported SPI, from VGIC_NR_IRQS */
+/*
+ * This used to hold the highest supported SPI, but it is now obsolete
+ * and only here to provide source code level compatibility with older
+ * userland. The highest SPI number can be set via KVM_DEV_ARM_VGIC_GRP_NR_IRQS.
+ */
+#ifndef __KERNEL__
 #define KVM_ARM_IRQ_GIC_MAX		127
+#endif
 
 /* PSCI interface */
 #define KVM_PSCI_FN_BASE		0x95c1ba5e
arch/arm64/kernel/cpu_errata.c +10 -1
index fa62637e63a8..ad6d52392bb1 100644
@@ -88,7 +88,16 @@ struct arm64_cpu_capabilities arm64_errata[] = {
 	/* Cortex-A57 r0p0 - r1p2 */
 		.desc = "ARM erratum 832075",
 		.capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
-		MIDR_RANGE(MIDR_CORTEX_A57, 0x00, 0x12),
+		MIDR_RANGE(MIDR_CORTEX_A57, 0x00,
+			   (1 << MIDR_VARIANT_SHIFT) | 2),
+	},
+#endif
+#ifdef CONFIG_ARM64_ERRATUM_845719
+	{
+	/* Cortex-A53 r0p[01234] */
+		.desc = "ARM erratum 845719",
+		.capability = ARM64_WORKAROUND_845719,
+		MIDR_RANGE(MIDR_CORTEX_A53, 0x00, 0x04),
 	},
 #endif
 	{
arch/arm64/kernel/entry.S +20 -0
index cf21bb3bf752..959fe8733560 100644
@@ -21,8 +21,10 @@
 #include <linux/init.h>
 #include <linux/linkage.h>
 
+#include <asm/alternative-asm.h>
 #include <asm/assembler.h>
 #include <asm/asm-offsets.h>
+#include <asm/cpufeature.h>
 #include <asm/errno.h>
 #include <asm/esr.h>
 #include <asm/thread_info.h>
@@ -120,6 +122,24 @@
 	ct_user_enter
 	ldr	x23, [sp, #S_SP]		// load return stack pointer
 	msr	sp_el0, x23
+
+#ifdef CONFIG_ARM64_ERRATUM_845719
+	alternative_insn						\
+	"nop",								\
+	"tbz x22, #4, 1f",						\
+	ARM64_WORKAROUND_845719
+#ifdef CONFIG_PID_IN_CONTEXTIDR
+	alternative_insn						\
+	"nop; nop",							\
+	"mrs x29, contextidr_el1; msr contextidr_el1, x29; 1:",		\
+	ARM64_WORKAROUND_845719
+#else
+	alternative_insn						\
+	"nop",								\
+	"msr contextidr_el1, xzr; 1:",					\
+	ARM64_WORKAROUND_845719
+#endif
+#endif
 	.endif
 	msr	elr_el1, x21			// set up the return data
 	msr	spsr_el1, x22
arch/arm64/kernel/head.S +1 -0
index 07f930540f4a..c237ffb0effe 100644
@@ -426,6 +426,7 @@ __create_page_tables:
 	 */
 	mov	x0, x25
 	add	x1, x26, #SWAPPER_DIR_SIZE
+	dmb	sy
 	bl	__inval_cache_range
 
 	mov	lr, x27
arch/arm64/kernel/setup.c +12 -0
index e8420f635bd4..781f4697dc26 100644
@@ -207,6 +207,18 @@ static void __init smp_build_mpidr_hash(void)
 }
 #endif
 
+void __init do_post_cpus_up_work(void)
+{
+	apply_alternatives_all();
+}
+
+#ifdef CONFIG_UP_LATE_INIT
+void __init up_late_init(void)
+{
+	do_post_cpus_up_work();
+}
+#endif /* CONFIG_UP_LATE_INIT */
+
 static void __init setup_processor(void)
 {
 	struct cpu_info *cpu_info;
arch/arm64/kernel/smp.c +1 -1
index 328b8ce4b007..4257369341e4 100644
@@ -309,7 +309,7 @@ void cpu_die(void)
 void __init smp_cpus_done(unsigned int max_cpus)
 {
 	pr_info("SMP: Total of %d processors activated.\n", num_online_cpus());
-	apply_alternatives_all();
+	do_post_cpus_up_work();
 }
 
 void __init smp_prepare_boot_cpu(void)
arch/c6x/kernel/time.c +1 -1
index 356ee84cad95..04845aaf5985 100644
@@ -49,7 +49,7 @@ u64 sched_clock(void)
 	return (tsc * sched_clock_multiplier) >> SCHED_CLOCK_SHIFT;
 }
 
-void time_init(void)
+void __init time_init(void)
 {
 	u64 tmp = (u64)NSEC_PER_SEC << SCHED_CLOCK_SHIFT;
 
arch/mips/include/asm/asm-eva.h +93 -44

167 lines not on this page · raw message

arch/mips/include/asm/fpu.h +1 -0
index dd083e999b08..9f26b079cc6a 100644
@@ -170,6 +170,7 @@ static inline void lose_fpu(int save)
 		}
 		disable_msa();
 		clear_thread_flag(TIF_USEDMSA);
+		__disable_fpu();
 	} else if (is_fpu_owner()) {
 		if (save)
 			_save_fp(current);
arch/mips/include/asm/kvm_host.h +2 -0
index ac4fc716062b..f722b0528c25 100644
@@ -322,6 +322,7 @@ enum mips_mmu_types {
 #define T_TRAP			13	/* Trap instruction */
 #define T_VCEI			14	/* Virtual coherency exception */
 #define T_FPE			15	/* Floating point exception */
+#define T_MSADIS		21	/* MSA disabled exception */
 #define T_WATCH			23	/* Watch address reference */
 #define T_VCED			31	/* Virtual coherency data */
 
@@ -578,6 +579,7 @@ struct kvm_mips_callbacks {
 	int (*handle_syscall)(struct kvm_vcpu *vcpu);
 	int (*handle_res_inst)(struct kvm_vcpu *vcpu);
 	int (*handle_break)(struct kvm_vcpu *vcpu);
+	int (*handle_msa_disabled)(struct kvm_vcpu *vcpu);
 	int (*vm_init)(struct kvm *kvm);
 	int (*vcpu_init)(struct kvm_vcpu *vcpu);
 	int (*vcpu_setup)(struct kvm_vcpu *vcpu);
arch/mips/kernel/unaligned.c +231 -109

669 lines not on this page · raw message

arch/mips/kvm/emulate.c +1 -0
index fb3e8dfd1ff6..838d3a6a5b7d 100644
@@ -2176,6 +2176,7 @@ enum emulation_result kvm_mips_check_privilege(unsigned long cause,
 		case T_SYSCALL:
 		case T_BREAK:
 		case T_RES_INST:
+		case T_MSADIS:
 			break;
 
 		case T_COP_UNUSABLE:
arch/mips/kvm/mips.c +4 -0
index c9eccf5df912..f5e7ddab02f7 100644
@@ -1119,6 +1119,10 @@ int kvm_mips_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu)
 		ret = kvm_mips_callbacks->handle_break(vcpu);
 		break;
 
+	case T_MSADIS:
+		ret = kvm_mips_callbacks->handle_msa_disabled(vcpu);
+		break;
+
 	default:
 		kvm_err("Exception Code: %d, not yet handled, @ PC: %p, inst: 0x%08x  BadVaddr: %#lx Status: %#lx\n",
 			exccode, opc, kvm_get_inst(opc, vcpu), badvaddr,
arch/mips/kvm/trap_emul.c +28 -0
index fd7257b70e65..4372cc86650c 100644
@@ -330,6 +330,33 @@ static int kvm_trap_emul_handle_break(struct kvm_vcpu *vcpu)
 	return ret;
 }
 
+static int kvm_trap_emul_handle_msa_disabled(struct kvm_vcpu *vcpu)
+{
+	struct kvm_run *run = vcpu->run;
+	uint32_t __user *opc = (uint32_t __user *) vcpu->arch.pc;
+	unsigned long cause = vcpu->arch.host_cp0_cause;
+	enum emulation_result er = EMULATE_DONE;
+	int ret = RESUME_GUEST;
+
+	/* No MSA supported in guest, guest reserved instruction exception */
+	er = kvm_mips_emulate_ri_exc(cause, opc, run, vcpu);
+
+	switch (er) {
+	case EMULATE_DONE:
+		ret = RESUME_GUEST;
+		break;
+
+	case EMULATE_FAIL:
+		run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
+		ret = RESUME_HOST;
+		break;
+
+	default:
+		BUG();
+	}
+	return ret;
+}
+
 static int kvm_trap_emul_vm_init(struct kvm *kvm)
 {
 	return 0;
@@ -470,6 +497,7 @@ static struct kvm_mips_callbacks kvm_trap_emul_callbacks = {
 	.handle_syscall = kvm_trap_emul_handle_syscall,
 	.handle_res_inst = kvm_trap_emul_handle_res_inst,
 	.handle_break = kvm_trap_emul_handle_break,
+	.handle_msa_disabled = kvm_trap_emul_handle_msa_disabled,
 
 	.vm_init = kvm_trap_emul_vm_init,
 	.vcpu_init = kvm_trap_emul_vcpu_init,
arch/mips/loongson/loongson-3/irq.c +1 -0
index 21221edda7a9..0f75b6b3d218 100644
@@ -44,6 +44,7 @@ void mach_irq_dispatch(unsigned int pending)
 
 static struct irqaction cascade_irqaction = {
 	.handler = no_action,
+	.flags = IRQF_NO_SUSPEND,
 	.name = "cascade",
 };
 
arch/mips/mti-malta/malta-memory.c +6 -0
index 8fddd2cdbff7..efe366d618b1 100644
@@ -53,6 +53,12 @@ fw_memblock_t * __init fw_getmdesc(int eva)
 		pr_warn("memsize not set in YAMON, set to default (32Mb)\n");
 		physical_memsize = 0x02000000;
 	} else {
+		if (memsize > (256 << 20)) { /* memsize should be capped to 256M */
+			pr_warn("Unsupported memsize value (0x%lx) detected! "
+				"Using 0x10000000 (256M) instead\n",
+				memsize);
+			memsize = 256 << 20;
+		}
 		/* If ememsize is set, then set physical_memsize to that */
 		physical_memsize = ememsize ? : memsize;
 	}
arch/mips/power/hibernate.S +2 -1
index 32a7c828f073..e7567c8a9e79 100644
@@ -30,6 +30,8 @@ LEAF(swsusp_arch_suspend)
 END(swsusp_arch_suspend)
 
 LEAF(swsusp_arch_resume)
+	/* Avoid TLB mismatch during and after kernel resume */
+	jal local_flush_tlb_all
 	PTR_L t0, restore_pblist
 0:
 	PTR_L t1, PBE_ADDRESS(t0)   /* source */
@@ -43,7 +45,6 @@ LEAF(swsusp_arch_resume)
 	bne t1, t3, 1b
 	PTR_L t0, PBE_NEXT(t0)
 	bnez t0, 0b
-	jal local_flush_tlb_all /* Avoid TLB mismatch after kernel resume */
 	PTR_LA t0, saved_regs
 	PTR_L ra, PT_R31(t0)
 	PTR_L sp, PT_R29(t0)
arch/powerpc/kernel/cacheinfo.c +34 -10

69 lines not on this page · raw message

arch/powerpc/mm/hugetlbpage.c +1 -0
index 7e408bfc7948..cecbe00cee24 100644
@@ -581,6 +581,7 @@ static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud,
 	pmd = pmd_offset(pud, start);
 	pud_clear(pud);
 	pmd_free_tlb(tlb, pmd, start);
+	mm_dec_nr_pmds(tlb->mm);
 }
 
 static void hugetlb_free_pud_range(struct mmu_gather *tlb, pgd_t *pgd,
arch/powerpc/perf/callchain.c +1 -1
index 2396dda282cd..ead55351b254 100644
@@ -243,7 +243,7 @@ static void perf_callchain_user_64(struct perf_callchain_entry *entry,
 	sp = regs->gpr[1];
 	perf_callchain_store(entry, next_ip);
 
-	for (;;) {
+	while (entry->nr < PERF_MAX_STACK_DEPTH) {
 		fp = (unsigned long __user *) sp;
 		if (!valid_user_sp(sp, 1) || read_user_stack_64(fp, &next_sp))
 			return;
arch/powerpc/platforms/cell/interrupt.c +1 -1
index 4c11421847be..3af8324c122e 100644
@@ -163,7 +163,7 @@ static unsigned int iic_get_irq(void)
 
 void iic_setup_cpu(void)
 {
-	out_be64(this_cpu_ptr(&cpu_iic.regs->prio), 0xff);
+	out_be64(&this_cpu_ptr(&cpu_iic)->regs->prio, 0xff);
 }
 
 u8 iic_get_target_id(int cpu)
arch/powerpc/platforms/cell/iommu.c +1 -1
index c7c8720aa39f..63db1b03e756 100644
@@ -197,7 +197,7 @@ static int tce_build_cell(struct iommu_table *tbl, long index, long npages,
 
 	io_pte = (unsigned long *)tbl->it_base + (index - tbl->it_offset);
 
-	for (i = 0; i < npages; i++, uaddr += tbl->it_page_shift)
+	for (i = 0; i < npages; i++, uaddr += (1 << tbl->it_page_shift))
 		io_pte[i] = base_pte | (__pa(uaddr) & CBE_IOPTE_RPN_Mask);
 
 	mb();
arch/powerpc/platforms/powernv/pci-ioda.c +2 -1
index 6c9ff2b95119..1d9369e1e0f4 100644
@@ -1777,7 +1777,8 @@ static void pnv_ioda_setup_pe_seg(struct pci_controller *hose,
 				region.start += phb->ioda.io_segsize;
 				index++;
 			}
-		} else if (res->flags & IORESOURCE_MEM) {
+		} else if ((res->flags & IORESOURCE_MEM) &&
+			   !pnv_pci_is_mem_pref_64(res->flags)) {
 			region.start = res->start -
 				       hose->mem_offset[0] -
 				       phb->ioda.m32_pci_base;
arch/s390/kernel/suspend.c +4 -0
index 1c4c5accd220..d3236c9e226b 100644
@@ -138,6 +138,8 @@ int pfn_is_nosave(unsigned long pfn)
 {
 	unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin));
 	unsigned long nosave_end_pfn = PFN_DOWN(__pa(&__nosave_end));
+	unsigned long eshared_pfn = PFN_DOWN(__pa(&_eshared)) - 1;
+	unsigned long stext_pfn = PFN_DOWN(__pa(&_stext));
 
 	/* Always save lowcore pages (LC protection might be enabled). */
 	if (pfn <= LC_PAGES)
@@ -145,6 +147,8 @@ int pfn_is_nosave(unsigned long pfn)
 	if (pfn >= nosave_begin_pfn && pfn < nosave_end_pfn)
 		return 1;
 	/* Skip memory holes and read-only pages (NSS, DCSS, ...). */
+	if (pfn >= stext_pfn && pfn <= eshared_pfn)
+		return ipl_info.type == IPL_TYPE_NSS ? 1 : 0;
 	if (tprot(PFN_PHYS(pfn)))
 		return 1;
 	return 0;
arch/s390/kvm/interrupt.c +34 -28

118 lines not on this page · raw message

arch/s390/kvm/kvm-s390.h +2 -2
index c34109aa552d..6995a3080a0e 100644
@@ -151,8 +151,8 @@ int __must_check kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu,
 int __must_check kvm_s390_inject_program_int(struct kvm_vcpu *vcpu, u16 code);
 struct kvm_s390_interrupt_info *kvm_s390_get_io_int(struct kvm *kvm,
 						    u64 cr6, u64 schid);
-void kvm_s390_reinject_io_int(struct kvm *kvm,
-			      struct kvm_s390_interrupt_info *inti);
+int kvm_s390_reinject_io_int(struct kvm *kvm,
+			     struct kvm_s390_interrupt_info *inti);
 int kvm_s390_mask_adapter(struct kvm *kvm, unsigned int id, bool masked);
 
 /* implemented in intercept.c */
arch/s390/kvm/priv.c +26 -16

80 lines not on this page · raw message

arch/x86/include/asm/insn.h +1 -1
index 47f29b1d1846..e7814b74caf8 100644
@@ -69,7 +69,7 @@ struct insn {
 	const insn_byte_t *next_byte;
 };
 
-#define MAX_INSN_SIZE	16
+#define MAX_INSN_SIZE	15
 
 #define X86_MODRM_MOD(modrm) (((modrm) & 0xc0) >> 6)
 #define X86_MODRM_REG(modrm) (((modrm) & 0x38) >> 3)
arch/x86/include/asm/mwait.h +8 -0
index a1410db38a1a..653dfa7662e1 100644
@@ -30,6 +30,14 @@ static inline void __mwait(unsigned long eax, unsigned long ecx)
 		     :: "a" (eax), "c" (ecx));
 }
 
+static inline void __sti_mwait(unsigned long eax, unsigned long ecx)
+{
+	trace_hardirqs_on();
+	/* "mwait %eax, %ecx;" */
+	asm volatile("sti; .byte 0x0f, 0x01, 0xc9;"
+		     :: "a" (eax), "c" (ecx));
+}
+
 /*
  * This uses new MONITOR/MWAIT instructions on P4 processors with PNI,
  * which can obviate IPI to trigger checking of need_resched.
arch/x86/include/asm/pvclock.h +1 -0
index d6b078e9fa28..25b1cc07d496 100644
@@ -95,6 +95,7 @@ unsigned __pvclock_read_cycles(const struct pvclock_vcpu_time_info *src,
 
 struct pvclock_vsyscall_time_info {
 	struct pvclock_vcpu_time_info pvti;
+	u32 migrate_count;
 } __attribute__((__aligned__(SMP_CACHE_BYTES)));
 
 #define PVTI_SIZE sizeof(struct pvclock_vsyscall_time_info)
arch/x86/kernel/cpu/perf_event_intel_ds.c +8 -0
index 073983398364..666bcf14ce10 100644
@@ -557,6 +557,8 @@ struct event_constraint intel_core2_pebs_event_constraints[] = {
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x00c5, 0x1), /* BR_INST_RETIRED.MISPRED */
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x1fc7, 0x1), /* SIMD_INST_RETURED.ANY */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xcb, 0x1),    /* MEM_LOAD_RETIRED.* */
+	/* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
+	INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x01),
 	EVENT_CONSTRAINT_END
 };
 
@@ -564,6 +566,8 @@ struct event_constraint intel_atom_pebs_event_constraints[] = {
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x00c0, 0x1), /* INST_RETIRED.ANY */
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x00c5, 0x1), /* MISPREDICTED_BRANCH_RETIRED */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xcb, 0x1),    /* MEM_LOAD_RETIRED.* */
+	/* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
+	INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x01),
 	EVENT_CONSTRAINT_END
 };
 
@@ -587,6 +591,8 @@ struct event_constraint intel_nehalem_pebs_event_constraints[] = {
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x20c8, 0xf), /* ITLB_MISS_RETIRED */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xcb, 0xf),    /* MEM_LOAD_RETIRED.* */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xf7, 0xf),    /* FP_ASSIST.* */
+	/* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
+	INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x0f),
 	EVENT_CONSTRAINT_END
 };
 
@@ -602,6 +608,8 @@ struct event_constraint intel_westmere_pebs_event_constraints[] = {
 	INTEL_FLAGS_UEVENT_CONSTRAINT(0x20c8, 0xf), /* ITLB_MISS_RETIRED */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xcb, 0xf),    /* MEM_LOAD_RETIRED.* */
 	INTEL_FLAGS_EVENT_CONSTRAINT(0xf7, 0xf),    /* FP_ASSIST.* */
+	/* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
+	INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x0f),
 	EVENT_CONSTRAINT_END
 };
 
arch/x86/kernel/process.c +51 -0

69 lines not on this page · raw message

arch/x86/kernel/pvclock.c +44 -0

63 lines not on this page · raw message

arch/x86/kvm/vmx.c +10 -2
index ae4f6d35d19c..a60bd3aa0965 100644
@@ -3621,8 +3621,16 @@ static void vmx_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3)
 
 static int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4)
 {
-	unsigned long hw_cr4 = cr4 | (to_vmx(vcpu)->rmode.vm86_active ?
-		    KVM_RMODE_VM_CR4_ALWAYS_ON : KVM_PMODE_VM_CR4_ALWAYS_ON);
+	/*
+	 * Pass through host's Machine Check Enable value to hw_cr4, which
+	 * is in force while we are in guest mode.  Do not let guests control
+	 * this bit, even if host CR4.MCE == 0.
+	 */
+	unsigned long hw_cr4 =
+		(cr4_read_shadow() & X86_CR4_MCE) |
+		(cr4 & ~X86_CR4_MCE) |
+		(to_vmx(vcpu)->rmode.vm86_active ?
+		 KVM_RMODE_VM_CR4_ALWAYS_ON : KVM_PMODE_VM_CR4_ALWAYS_ON);
 
 	if (cr4 & X86_CR4_VMXE) {
 		/*
arch/x86/kvm/x86.c +8 -2
index 32bf19ef3115..e222ba5d2beb 100644
@@ -5775,7 +5775,6 @@ int kvm_arch_init(void *opaque)
 	kvm_set_mmio_spte_mask();
 
 	kvm_x86_ops = ops;
-	kvm_init_msr_list();
 
 	kvm_mmu_set_mask_ptes(PT_USER_MASK, PT_ACCESSED_MASK,
 			PT_DIRTY_MASK, PT64_NX_MASK, 0);
@@ -7209,7 +7208,14 @@ void kvm_arch_hardware_disable(void)
 
 int kvm_arch_hardware_setup(void)
 {
-	return kvm_x86_ops->hardware_setup();
+	int r;
+
+	r = kvm_x86_ops->hardware_setup();
+	if (r != 0)
+		return r;
+
+	kvm_init_msr_list();
+	return 0;
 }
 
 void kvm_arch_hardware_unsetup(void)
arch/x86/lib/insn.c +7 -0
index 1313ae6b478b..85994f5d48e4 100644
@@ -52,6 +52,13 @@
  */
 void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64)
 {
+	/*
+	 * Instructions longer than MAX_INSN_SIZE (15 bytes) are invalid
+	 * even if the input buffer is long enough to hold them.
+	 */
+	if (buf_len > MAX_INSN_SIZE)
+		buf_len = MAX_INSN_SIZE;
+
 	memset(insn, 0, sizeof(*insn));
 	insn->kaddr = kaddr;
 	insn->end_kaddr = kaddr + buf_len;
arch/x86/lib/usercopy_64.c +1 -1
index 1f33b3d1fd68..0a42327a59d7 100644
@@ -82,7 +82,7 @@ copy_user_handle_tail(char *to, char *from, unsigned len)
 	clac();
 
 	/* If the destination is a kernel buffer, we always clear the end */
-	if ((unsigned long)to >= TASK_SIZE_MAX)
+	if (!__addr_ok(to))
 		memset(to, 0, len);
 	return len;
 }
arch/x86/vdso/vclock_gettime.c +19 -15
index 9793322751e0..40d2473836c9 100644
@@ -82,18 +82,15 @@ static notrace cycle_t vread_pvclock(int *mode)
 	cycle_t ret;
 	u64 last;
 	u32 version;
+	u32 migrate_count;
 	u8 flags;
 	unsigned cpu, cpu1;
 
 
 	/*
-	 * Note: hypervisor must guarantee that:
-	 * 1. cpu ID number maps 1:1 to per-CPU pvclock time info.
-	 * 2. that per-CPU pvclock time info is updated if the
-	 *    underlying CPU changes.
-	 * 3. that version is increased whenever underlying CPU
-	 *    changes.
-	 *
+	 * When looping to get a consistent (time-info, tsc) pair, we
+	 * also need to deal with the possibility we can switch vcpus,
+	 * so make sure we always re-fetch time-info for the current vcpu.
 	 */
 	do {
 		cpu = __getcpu() & VGETCPU_CPU_MASK;
@@ -102,20 +99,27 @@ static notrace cycle_t vread_pvclock(int *mode)
 		 * __getcpu() calls (Gleb).
 		 */
 
-		pvti = get_pvti(cpu);
+		/* Make sure migrate_count will change if we leave the VCPU. */
+		do {
+			pvti = get_pvti(cpu);
+			migrate_count = pvti->migrate_count;
+
+			cpu1 = cpu;
+			cpu = __getcpu() & VGETCPU_CPU_MASK;
+		} while (unlikely(cpu != cpu1));
 
 		version = __pvclock_read_cycles(&pvti->pvti, &ret, &flags);
 
 		/*
 		 * Test we're still on the cpu as well as the version.
-		 * We could have been migrated just after the first
-		 * vgetcpu but before fetching the version, so we
-		 * wouldn't notice a version change.
+		 * - We must read TSC of pvti's VCPU.
+		 * - KVM doesn't follow the versioning protocol, so data could
+		 *   change before version if we left the VCPU.
 		 */
-		cpu1 = __getcpu() & VGETCPU_CPU_MASK;
-	} while (unlikely(cpu != cpu1 ||
-			  (pvti->pvti.version & 1) ||
-			  pvti->pvti.version != version));
+		smp_rmb();
+	} while (unlikely((pvti->pvti.version & 1) ||
+			  pvti->pvti.version != version ||
+			  pvti->migrate_count != migrate_count));
 
 	if (unlikely(!(flags & PVCLOCK_TSC_STABLE_BIT)))
 		*mode = VCLOCK_NONE;
arch/xtensa/Kconfig +30 -0
index e31d4949124a..87be10e8b57a 100644
@@ -428,6 +428,36 @@ config DEFAULT_MEM_SIZE
 
 	  If unsure, leave the default value here.
 
+config XTFPGA_LCD
+	bool "Enable XTFPGA LCD driver"
+	depends on XTENSA_PLATFORM_XTFPGA
+	default n
+	help
+	  There's a 2x16 LCD on most of XTFPGA boards, kernel may output
+	  progress messages there during bootup/shutdown. It may be useful
+	  during board bringup.
+
+	  If unsure, say N.
+
+config XTFPGA_LCD_BASE_ADDR
+	hex "XTFPGA LCD base address"
+	depends on XTFPGA_LCD
+	default "0x0d0c0000"
+	help
+	  Base address of the LCD controller inside KIO region.
+	  Different boards from XTFPGA family have LCD controller at different
+	  addresses. Please consult prototyping user guide for your board for
+	  the correct address. Wrong address here may lead to hardware lockup.
+
+config XTFPGA_LCD_8BIT_ACCESS
+	bool "Use 8-bit access to XTFPGA LCD"
+	depends on XTFPGA_LCD
+	default n
+	help
+	  LCD may be connected with 4- or 8-bit interface, 8-bit access may
+	  only be used with 8-bit interface. Please consult prototyping user
+	  guide for your board for the correct interface width.
+
 endmenu
 
 menu "Executable file formats"
arch/xtensa/include/uapi/asm/unistd.h +1 -1
index db5bb72e2f4e..62d84657c60b 100644
@@ -715,7 +715,7 @@ __SYSCALL(323, sys_process_vm_writev, 6)
 __SYSCALL(324, sys_name_to_handle_at, 5)
 #define __NR_open_by_handle_at			325
 __SYSCALL(325, sys_open_by_handle_at, 3)
-#define __NR_sync_file_range			326
+#define __NR_sync_file_range2			326
 __SYSCALL(326, sys_sync_file_range2, 6)
 #define __NR_perf_event_open			327
 __SYSCALL(327, sys_perf_event_open, 5)
arch/xtensa/platforms/iss/network.c +15 -14
index d05f8feeb8d7..17b1ef3232e4 100644
@@ -349,8 +349,8 @@ static void iss_net_timer(unsigned long priv)
 {
 	struct iss_net_private *lp = (struct iss_net_private *)priv;
 
-	spin_lock(&lp->lock);
 	iss_net_poll();
+	spin_lock(&lp->lock);
 	mod_timer(&lp->timer, jiffies + lp->timer_val);
 	spin_unlock(&lp->lock);
 }
@@ -361,7 +361,7 @@ static int iss_net_open(struct net_device *dev)
 	struct iss_net_private *lp = netdev_priv(dev);
 	int err;
 
-	spin_lock(&lp->lock);
+	spin_lock_bh(&lp->lock);
 
 	err = lp->tp.open(lp);
 	if (err < 0)
@@ -376,9 +376,11 @@ static int iss_net_open(struct net_device *dev)
 	while ((err = iss_net_rx(dev)) > 0)
 		;
 
-	spin_lock(&opened_lock);
+	spin_unlock_bh(&lp->lock);
+	spin_lock_bh(&opened_lock);
 	list_add(&lp->opened_list, &opened);
-	spin_unlock(&opened_lock);
+	spin_unlock_bh(&opened_lock);
+	spin_lock_bh(&lp->lock);
 
 	init_timer(&lp->timer);
 	lp->timer_val = ISS_NET_TIMER_VALUE;
@@ -387,7 +389,7 @@ static int iss_net_open(struct net_device *dev)
 	mod_timer(&lp->timer, jiffies + lp->timer_val);
 
 out:
-	spin_unlock(&lp->lock);
+	spin_unlock_bh(&lp->lock);
 	return err;
 }
 
@@ -395,7 +397,7 @@ static int iss_net_close(struct net_device *dev)
 {
 	struct iss_net_private *lp = netdev_priv(dev);
 	netif_stop_queue(dev);
-	spin_lock(&lp->lock);
+	spin_lock_bh(&lp->lock);
 
 	spin_lock(&opened_lock);
 	list_del(&opened);
@@ -405,18 +407,17 @@ static int iss_net_close(struct net_device *dev)
 
 	lp->tp.close(lp);
 
-	spin_unlock(&lp->lock);
+	spin_unlock_bh(&lp->lock);
 	return 0;
 }
 
 static int iss_net_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct iss_net_private *lp = netdev_priv(dev);
-	unsigned long flags;
 	int len;
 
 	netif_stop_queue(dev);
-	spin_lock_irqsave(&lp->lock, flags);
+	spin_lock_bh(&lp->lock);
 
 	len = lp->tp.write(lp, &skb);
 
@@ -438,7 +439,7 @@ static int iss_net_start_xmit(struct sk_buff *skb, struct net_device *dev)
 		pr_err("%s: %s failed(%d)\n", dev->name, __func__, len);
 	}
 
-	spin_unlock_irqrestore(&lp->lock, flags);
+	spin_unlock_bh(&lp->lock);
 
 	dev_kfree_skb(skb);
 	return NETDEV_TX_OK;
@@ -466,9 +467,9 @@ static int iss_net_set_mac(struct net_device *dev, void *addr)
 
 	if (!is_valid_ether_addr(hwaddr->sa_data))
 		return -EADDRNOTAVAIL;
-	spin_lock(&lp->lock);
+	spin_lock_bh(&lp->lock);
 	memcpy(dev->dev_addr, hwaddr->sa_data, ETH_ALEN);
-	spin_unlock(&lp->lock);
+	spin_unlock_bh(&lp->lock);
 	return 0;
 }
 
@@ -520,11 +521,11 @@ static int iss_net_configure(int index, char *init)
 	*lp = (struct iss_net_private) {
 		.device_list		= LIST_HEAD_INIT(lp->device_list),
 		.opened_list		= LIST_HEAD_INIT(lp->opened_list),
-		.lock			= __SPIN_LOCK_UNLOCKED(lp.lock),
 		.dev			= dev,
 		.index			= index,
-		};
+	};
 
+	spin_lock_init(&lp->lock);
 	/*
 	 * If this name ends up conflicting with an existing registered
 	 * netdevice, that is OK, register_netdev{,ice}() will notice this
arch/xtensa/platforms/xtfpga/Makefile +2 -1
index b9ae206340cd..7839d38b2337 100644
@@ -6,4 +6,5 @@
 #
 # Note 2! The CFLAGS definitions are in the main makefile...
 
-obj-y			= setup.o lcd.o
+obj-y			+= setup.o
+obj-$(CONFIG_XTFPGA_LCD) += lcd.o
arch/xtensa/platforms/xtfpga/include/platform/hardware.h +0 -3
index 6edd20bb4565..4e0af2662a21 100644
@@ -40,9 +40,6 @@
 
 /* UART */
 #define DUART16552_PADDR	(XCHAL_KIO_PADDR + 0x0D050020)
-/* LCD instruction and data addresses. */
-#define LCD_INSTR_ADDR		((char *)IOADDR(0x0D040000))
-#define LCD_DATA_ADDR		((char *)IOADDR(0x0D040004))
 
 /* Misc. */
 #define XTFPGA_FPGAREGS_VADDR	IOADDR(0x0D020000)
arch/xtensa/platforms/xtfpga/include/platform/lcd.h +15 -0
index 0e435645af5a..4c8541ed1139 100644
@@ -11,10 +11,25 @@
 #ifndef __XTENSA_XTAVNET_LCD_H
 #define __XTENSA_XTAVNET_LCD_H
 
+#ifdef CONFIG_XTFPGA_LCD
 /* Display string STR at position POS on the LCD. */
 void lcd_disp_at_pos(char *str, unsigned char pos);
 
 /* Shift the contents of the LCD display left or right. */
 void lcd_shiftleft(void);
 void lcd_shiftright(void);
+#else
+static inline void lcd_disp_at_pos(char *str, unsigned char pos)
+{
+}
+
+static inline void lcd_shiftleft(void)
+{
+}
+
+static inline void lcd_shiftright(void)
+{
+}
+#endif
+
 #endif
arch/xtensa/platforms/xtfpga/lcd.c +34 -21

107 lines not on this page · raw message

drivers/acpi/acpica/evgpe.c +3 -2
index 5ed064e8673c..ccf793247447 100644
@@ -92,6 +92,7 @@ acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info)
 		ACPI_SET_BIT(gpe_register_info->enable_for_run,
 			     (u8)register_bit);
 	}
+	gpe_register_info->enable_mask = gpe_register_info->enable_for_run;
 
 	return_ACPI_STATUS(AE_OK);
 }
@@ -123,7 +124,7 @@ acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info)
 
 	/* Enable the requested GPE */
 
-	status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE_SAVE);
+	status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE);
 	return_ACPI_STATUS(status);
 }
 
@@ -202,7 +203,7 @@ acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info)
 		if (ACPI_SUCCESS(status)) {
 			status =
 			    acpi_hw_low_set_gpe(gpe_event_info,
-						ACPI_GPE_DISABLE_SAVE);
+						ACPI_GPE_DISABLE);
 		}
 
 		if (ACPI_FAILURE(status)) {
drivers/acpi/acpica/hwgpe.c +4 -7
index 84bc550f4f1d..af6514ed64c5 100644
@@ -89,6 +89,8 @@ u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info)
  * RETURN:	Status
  *
  * DESCRIPTION: Enable or disable a single GPE in the parent enable register.
+ *              The enable_mask field of the involved GPE register must be
+ *              updated by the caller if necessary.
  *
  ******************************************************************************/
 
@@ -119,7 +121,7 @@ acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action)
 	/* Set or clear just the bit that corresponds to this GPE */
 
 	register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info);
-	switch (action & ~ACPI_GPE_SAVE_MASK) {
+	switch (action) {
 	case ACPI_GPE_CONDITIONAL_ENABLE:
 
 		/* Only enable if the corresponding enable_mask bit is set */
@@ -149,9 +151,6 @@ acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action)
 	/* Write the updated enable mask */
 
 	status = acpi_hw_write(enable_mask, &gpe_register_info->enable_address);
-	if (ACPI_SUCCESS(status) && (action & ACPI_GPE_SAVE_MASK)) {
-		gpe_register_info->enable_mask = (u8)enable_mask;
-	}
 	return (status);
 }
 
@@ -286,10 +285,8 @@ acpi_hw_gpe_enable_write(u8 enable_mask,
 {
 	acpi_status status;
 
+	gpe_register_info->enable_mask = enable_mask;
 	status = acpi_hw_write(enable_mask, &gpe_register_info->enable_address);
-	if (ACPI_SUCCESS(status)) {
-		gpe_register_info->enable_mask = enable_mask;
-	}
 	return (status);
 }
 
drivers/acpi/acpica/tbinstal.c +0 -1
index 9bad45e63a45..7fbc2b9dcbbb 100644
@@ -346,7 +346,6 @@ acpi_tb_install_standard_table(acpi_physical_address address,
 				 */
 				acpi_tb_uninstall_table(&new_table_desc);
 				*table_index = i;
-				(void)acpi_ut_release_mutex(ACPI_MTX_TABLES);
 				return_ACPI_STATUS(AE_OK);
 			}
 		}
drivers/acpi/scan.c +5 -1
index bbca7830e18a..349f4fdd0b25 100644
@@ -298,7 +298,11 @@ bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent)
 	struct acpi_device_physical_node *pn;
 	bool offline = true;
 
-	mutex_lock(&adev->physical_node_lock);
+	/*
+	 * acpi_container_offline() calls this for all of the container's
+	 * children under the container's physical_node_lock lock.
+	 */
+	mutex_lock_nested(&adev->physical_node_lock, SINGLE_DEPTH_NESTING);
 
 	list_for_each_entry(pn, &adev->physical_node_list, node)
 		if (device_supports_offline(pn->dev) && !pn->dev->offline) {
drivers/base/bus.c +2 -2
index 876bae5ade33..79bc203f51ef 100644
@@ -515,11 +515,11 @@ int bus_add_device(struct device *dev)
 			goto out_put;
 		error = device_add_groups(dev, bus->dev_groups);
 		if (error)
-			goto out_groups;
+			goto out_id;
 		error = sysfs_create_link(&bus->p->devices_kset->kobj,
 						&dev->kobj, dev_name(dev));
 		if (error)
-			goto out_id;
+			goto out_groups;
 		error = sysfs_create_link(&dev->kobj,
 				&dev->bus->p->subsys.kobj, "subsystem");
 		if (error)
drivers/base/cacheinfo.c +11 -2
index 6e64563361f0..9c2ba1c97c42 100644
@@ -62,15 +62,21 @@ static int cache_setup_of_node(unsigned int cpu)
 		return -ENOENT;
 	}
 
-	while (np && index < cache_leaves(cpu)) {
+	while (index < cache_leaves(cpu)) {
 		this_leaf = this_cpu_ci->info_list + index;
 		if (this_leaf->level != 1)
 			np = of_find_next_cache_node(np);
 		else
 			np = of_node_get(np);/* cpu node itself */
+		if (!np)
+			break;
 		this_leaf->of_node = np;
 		index++;
 	}
+
+	if (index != cache_leaves(cpu)) /* not all OF nodes populated */
+		return -ENOENT;
+
 	return 0;
 }
 
@@ -189,8 +195,11 @@ static int detect_cache_attributes(unsigned int cpu)
 	 * will be set up here only if they are not populated already
 	 */
 	ret = cache_shared_cpu_map_setup(cpu);
-	if (ret)
+	if (ret) {
+		pr_warn("Unable to detect cache hierarcy from DT for CPU %d\n",
+			cpu);
 		goto free_ci;
+	}
 	return 0;
 
 free_ci:
drivers/base/platform.c +9 -0
index 9421fed40905..e68ab79df28b 100644
@@ -101,6 +101,15 @@ int platform_get_irq(struct platform_device *dev, unsigned int num)
 	}
 
 	r = platform_get_resource(dev, IORESOURCE_IRQ, num);
+	/*
+	 * The resources may pass trigger flags to the irqs that need
+	 * to be set up. It so happens that the trigger flags for
+	 * IORESOURCE_BITS correspond 1-to-1 to the IRQF_TRIGGER*
+	 * settings.
+	 */
+	if (r && r->flags & IORESOURCE_BITS)
+		irqd_set_trigger_type(irq_get_irq_data(r->start),
+				      r->flags & IORESOURCE_BITS);
 
 	return r ? r->start : -ENXIO;
 #endif
drivers/bluetooth/ath3k.c +1 -0
index de4c8499cbac..288547a3c566 100644
@@ -65,6 +65,7 @@ static const struct usb_device_id ath3k_table[] = {
 	/* Atheros AR3011 with sflash firmware*/
 	{ USB_DEVICE(0x0489, 0xE027) },
 	{ USB_DEVICE(0x0489, 0xE03D) },
+	{ USB_DEVICE(0x04F2, 0xAFF1) },
 	{ USB_DEVICE(0x0930, 0x0215) },
 	{ USB_DEVICE(0x0CF3, 0x3002) },
 	{ USB_DEVICE(0x0CF3, 0xE019) },
drivers/bluetooth/btusb.c +1 -0
index 8bfc4c2bba87..2c527da668ae 100644
@@ -159,6 +159,7 @@ static const struct usb_device_id blacklist_table[] = {
 	/* Atheros 3011 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
 	{ USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
+	{ USB_DEVICE(0x04f2, 0xaff1), .driver_info = BTUSB_IGNORE },
 	{ USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE },
 	{ USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE },
 	{ USB_DEVICE(0x0cf3, 0xe019), .driver_info = BTUSB_IGNORE },
drivers/char/tpm/tpm-chip.c +42 -24

93 lines not on this page · raw message

drivers/clk/at91/clk-usb.c +49 -15

99 lines not on this page · raw message

drivers/clk/qcom/clk-rcg.c +62 -0

74 lines not on this page · raw message

drivers/clk/qcom/clk-rcg.h +1 -0
index 687e41f91d7c..d09d06ba278e 100644
@@ -96,6 +96,7 @@ struct clk_rcg {
 
 extern const struct clk_ops clk_rcg_ops;
 extern const struct clk_ops clk_rcg_bypass_ops;
+extern const struct clk_ops clk_rcg_lcc_ops;
 
 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr)
 
drivers/clk/qcom/clk-rcg2.c +1 -1
index 742acfa18d63..381f27469a9c 100644
@@ -243,7 +243,7 @@ static int clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f)
 	mask |= CFG_SRC_SEL_MASK | CFG_MODE_MASK;
 	cfg = f->pre_div << CFG_SRC_DIV_SHIFT;
 	cfg |= rcg->parent_map[f->src] << CFG_SRC_SEL_SHIFT;
-	if (rcg->mnd_width && f->n)
+	if (rcg->mnd_width && f->n && (f->m != f->n))
 		cfg |= CFG_MODE_DUAL_EDGE;
 	ret = regmap_update_bits(rcg->clkr.regmap,
 			rcg->cmd_rcgr + CFG_REG, mask, cfg);
drivers/clk/qcom/gcc-ipq806x.c +1 -1
index cbdc31dea7f4..a015bb06c09b 100644
@@ -525,8 +525,8 @@ static struct freq_tbl clk_tbl_gsbi_qup[] = {
 	{ 10800000, P_PXO,  1, 2,  5 },
 	{ 15060000, P_PLL8, 1, 2, 51 },
 	{ 24000000, P_PLL8, 4, 1,  4 },
+	{ 25000000, P_PXO,  1, 0,  0 },
 	{ 25600000, P_PLL8, 1, 1, 15 },
-	{ 27000000, P_PXO,  1, 0,  0 },
 	{ 48000000, P_PLL8, 4, 1,  2 },
 	{ 51200000, P_PLL8, 1, 2, 15 },
 	{ }
drivers/clk/qcom/lcc-ipq806x.c +11 -12
index c9ff27b4648b..a6d3a6745c4d 100644
@@ -294,14 +294,14 @@ static struct clk_regmap_mux pcm_clk = {
 };
 
 static struct freq_tbl clk_tbl_aif_osr[] = {
-	{  22050, P_PLL4, 1, 147, 20480 },
-	{  32000, P_PLL4, 1,   1,    96 },
-	{  44100, P_PLL4, 1, 147, 10240 },
-	{  48000, P_PLL4, 1,   1,    64 },
-	{  88200, P_PLL4, 1, 147,  5120 },
-	{  96000, P_PLL4, 1,   1,    32 },
-	{ 176400, P_PLL4, 1, 147,  2560 },
-	{ 192000, P_PLL4, 1,   1,    16 },
+	{  2822400, P_PLL4, 1, 147, 20480 },
+	{  4096000, P_PLL4, 1,   1,    96 },
+	{  5644800, P_PLL4, 1, 147, 10240 },
+	{  6144000, P_PLL4, 1,   1,    64 },
+	{ 11289600, P_PLL4, 1, 147,  5120 },
+	{ 12288000, P_PLL4, 1,   1,    32 },
+	{ 22579200, P_PLL4, 1, 147,  2560 },
+	{ 24576000, P_PLL4, 1,   1,    16 },
 	{ },
 };
 
@@ -360,7 +360,7 @@ static struct clk_branch spdif_clk = {
 };
 
 static struct freq_tbl clk_tbl_ahbix[] = {
-	{ 131072, P_PLL4, 1, 1, 3 },
+	{ 131072000, P_PLL4, 1, 1, 3 },
 	{ },
 };
 
@@ -386,13 +386,12 @@ static struct clk_rcg ahbix_clk = {
 	.freq_tbl = clk_tbl_ahbix,
 	.clkr = {
 		.enable_reg = 0x38,
-		.enable_mask = BIT(10), /* toggle the gfmux to select mn/pxo */
+		.enable_mask = BIT(11),
 		.hw.init = &(struct clk_init_data){
 			.name = "ahbix",
 			.parent_names = lcc_pxo_pll4,
 			.num_parents = 2,
-			.ops = &clk_rcg_ops,
-			.flags = CLK_SET_RATE_GATE,
+			.ops = &clk_rcg_lcc_ops,
 		},
 	},
 };
drivers/clk/samsung/clk-exynos4.c +5 -6
index 51462e85675f..714d6ba782c8 100644
@@ -1354,7 +1354,7 @@ static struct samsung_pll_clock exynos4x12_plls[nr_plls] __initdata = {
 			VPLL_LOCK, VPLL_CON0, NULL),
 };
 
-static void __init exynos4_core_down_clock(enum exynos4_soc soc)
+static void __init exynos4x12_core_down_clock(void)
 {
 	unsigned int tmp;
 
@@ -1373,11 +1373,9 @@ static void __init exynos4_core_down_clock(enum exynos4_soc soc)
 	__raw_writel(tmp, reg_base + PWR_CTRL1);
 
 	/*
-	 * Disable the clock up feature on Exynos4x12, in case it was
-	 * enabled by bootloader.
+	 * Disable the clock up feature in case it was enabled by bootloader.
 	 */
-	if (exynos4_soc == EXYNOS4X12)
-		__raw_writel(0x0, reg_base + E4X12_PWR_CTRL2);
+	__raw_writel(0x0, reg_base + E4X12_PWR_CTRL2);
 }
 
 /* register exynos4 clocks */
@@ -1474,7 +1472,8 @@ static void __init exynos4_clk_init(struct device_node *np,
 	samsung_clk_register_alias(ctx, exynos4_aliases,
 			ARRAY_SIZE(exynos4_aliases));
 
-	exynos4_core_down_clock(soc);
+	if (soc == EXYNOS4X12)
+		exynos4x12_core_down_clock();
 	exynos4_clk_sleep_init();
 
 	samsung_clk_of_add_provider(np, ctx);
drivers/clk/tegra/clk-tegra124.c +8 -6
index 9a893f2fe8e9..23ce0afefca5 100644
@@ -1110,16 +1110,18 @@ static __init void tegra124_periph_clk_init(void __iomem *clk_base,
 					1, 2);
 	clks[TEGRA124_CLK_XUSB_SS_DIV2] = clk;
 
-	clk = clk_register_gate(NULL, "plld_dsi", "plld_out0", 0,
+	clk = clk_register_gate(NULL, "pll_d_dsi_out", "pll_d_out0", 0,
 				clk_base + PLLD_MISC, 30, 0, &pll_d_lock);
-	clks[TEGRA124_CLK_PLLD_DSI] = clk;
+	clks[TEGRA124_CLK_PLL_D_DSI_OUT] = clk;
 
-	clk = tegra_clk_register_periph_gate("dsia", "plld_dsi", 0, clk_base,
-					     0, 48, periph_clk_enb_refcnt);
+	clk = tegra_clk_register_periph_gate("dsia", "pll_d_dsi_out", 0,
+					     clk_base, 0, 48,
+					     periph_clk_enb_refcnt);
 	clks[TEGRA124_CLK_DSIA] = clk;
 
-	clk = tegra_clk_register_periph_gate("dsib", "plld_dsi", 0, clk_base,
-					     0, 82, periph_clk_enb_refcnt);
+	clk = tegra_clk_register_periph_gate("dsib", "pll_d_dsi_out", 0,
+					     clk_base, 0, 82,
+					     periph_clk_enb_refcnt);
 	clks[TEGRA124_CLK_DSIB] = clk;
 
 	/* emc mux */
drivers/clk/tegra/clk.c +1 -1
index 9ddb7547cb43..7a1df61847fc 100644
@@ -272,7 +272,7 @@ void __init tegra_add_of_provider(struct device_node *np)
 	of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
 
 	rst_ctlr.of_node = np;
-	rst_ctlr.nr_resets = clk_num * 32;
+	rst_ctlr.nr_resets = periph_banks * 32;
 	reset_controller_register(&rst_ctlr);
 }
 
drivers/crypto/omap-aes.c +11 -3
index 42f95a4326b0..9a28b7e07c71 100644
@@ -554,15 +554,23 @@ static int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd)
 	return err;
 }
 
-static int omap_aes_check_aligned(struct scatterlist *sg)
+static int omap_aes_check_aligned(struct scatterlist *sg, int total)
 {
+	int len = 0;
+
 	while (sg) {
 		if (!IS_ALIGNED(sg->offset, 4))
 			return -1;
 		if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE))
 			return -1;
+
+		len += sg->length;
 		sg = sg_next(sg);
 	}
+
+	if (len != total)
+		return -1;
+
 	return 0;
 }
 
@@ -633,8 +641,8 @@ static int omap_aes_handle_queue(struct omap_aes_dev *dd,
 	dd->in_sg = req->src;
 	dd->out_sg = req->dst;
 
-	if (omap_aes_check_aligned(dd->in_sg) ||
-	    omap_aes_check_aligned(dd->out_sg)) {
+	if (omap_aes_check_aligned(dd->in_sg, dd->total) ||
+	    omap_aes_check_aligned(dd->out_sg, dd->total)) {
 		if (omap_aes_copy_sgs(dd))
 			pr_err("Failed to copy SGs for unaligned cases\n");
 		dd->sgs_copied = 1;
drivers/gpio/gpio-mvebu.c +16 -8
index d0bc123c7975..1a54205860f5 100644
@@ -320,11 +320,13 @@ static void mvebu_gpio_edge_irq_mask(struct irq_data *d)
 {
 	struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d);
 	struct mvebu_gpio_chip *mvchip = gc->private;
+	struct irq_chip_type *ct = irq_data_get_chip_type(d);
 	u32 mask = 1 << (d->irq - gc->irq_base);
 
 	irq_gc_lock(gc);
-	gc->mask_cache &= ~mask;
-	writel_relaxed(gc->mask_cache, mvebu_gpioreg_edge_mask(mvchip));
+	ct->mask_cache_priv &= ~mask;
+
+	writel_relaxed(ct->mask_cache_priv, mvebu_gpioreg_edge_mask(mvchip));
 	irq_gc_unlock(gc);
 }
 
@@ -332,11 +334,13 @@ static void mvebu_gpio_edge_irq_unmask(struct irq_data *d)
 {
 	struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d);
 	struct mvebu_gpio_chip *mvchip = gc->private;
+	struct irq_chip_type *ct = irq_data_get_chip_type(d);
+
 	u32 mask = 1 << (d->irq - gc->irq_base);
 
 	irq_gc_lock(gc);
-	gc->mask_cache |= mask;
-	writel_relaxed(gc->mask_cache, mvebu_gpioreg_edge_mask(mvchip));
+	ct->mask_cache_priv |= mask;
+	writel_relaxed(ct->mask_cache_priv, mvebu_gpioreg_edge_mask(mvchip));
 	irq_gc_unlock(gc);
 }
 
@@ -344,11 +348,13 @@ static void mvebu_gpio_level_irq_mask(struct irq_data *d)
 {
 	struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d);
 	struct mvebu_gpio_chip *mvchip = gc->private;
+	struct irq_chip_type *ct = irq_data_get_chip_type(d);
+
 	u32 mask = 1 << (d->irq - gc->irq_base);
 
 	irq_gc_lock(gc);
-	gc->mask_cache &= ~mask;
-	writel_relaxed(gc->mask_cache, mvebu_gpioreg_level_mask(mvchip));
+	ct->mask_cache_priv &= ~mask;
+	writel_relaxed(ct->mask_cache_priv, mvebu_gpioreg_level_mask(mvchip));
 	irq_gc_unlock(gc);
 }
 
@@ -356,11 +362,13 @@ static void mvebu_gpio_level_irq_unmask(struct irq_data *d)
 {
 	struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d);
 	struct mvebu_gpio_chip *mvchip = gc->private;
+	struct irq_chip_type *ct = irq_data_get_chip_type(d);
+
 	u32 mask = 1 << (d->irq - gc->irq_base);
 
 	irq_gc_lock(gc);
-	gc->mask_cache |= mask;
-	writel_relaxed(gc->mask_cache, mvebu_gpioreg_level_mask(mvchip));
+	ct->mask_cache_priv |= mask;
+	writel_relaxed(ct->mask_cache_priv, mvebu_gpioreg_level_mask(mvchip));
 	irq_gc_unlock(gc);
 }
 
drivers/gpu/drm/exynos/exynos_dp_core.c +10 -0
index bf17a60b40ed..1dbfba58f909 100644
@@ -32,10 +32,16 @@
 #include <drm/bridge/ptn3460.h>
 
 #include "exynos_dp_core.h"
+#include "exynos_drm_fimd.h"
 
 #define ctx_from_connector(c)	container_of(c, struct exynos_dp_device, \
 					connector)
 
+static inline struct exynos_drm_crtc *dp_to_crtc(struct exynos_dp_device *dp)
+{
+	return to_exynos_crtc(dp->encoder->crtc);
+}
+
 static inline struct exynos_dp_device *
 display_to_dp(struct exynos_drm_display *d)
 {
@@ -1070,6 +1076,8 @@ static void exynos_dp_poweron(struct exynos_dp_device *dp)
 		}
 	}
 
+	fimd_dp_clock_enable(dp_to_crtc(dp), true);
+
 	clk_prepare_enable(dp->clock);
 	exynos_dp_phy_init(dp);
 	exynos_dp_init_dp(dp);
@@ -1094,6 +1102,8 @@ static void exynos_dp_poweroff(struct exynos_dp_device *dp)
 	exynos_dp_phy_exit(dp);
 	clk_disable_unprepare(dp->clock);
 
+	fimd_dp_clock_enable(dp_to_crtc(dp), false);
+
 	if (dp->panel) {
 		if (drm_panel_unprepare(dp->panel))
 			DRM_ERROR("failed to turnoff the panel\n");
drivers/gpu/drm/exynos/exynos_drm_fimd.c +19 -0
index 33a10ce967ea..5d58f6cc0397 100644
@@ -32,6 +32,7 @@
 #include "exynos_drm_fbdev.h"
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_iommu.h"
+#include "exynos_drm_fimd.h"
 
 /*
  * FIMD stands for Fully Interactive Mobile Display and
@@ -1233,6 +1234,24 @@ static int fimd_remove(struct platform_device *pdev)
 	return 0;
 }
 
+void fimd_dp_clock_enable(struct exynos_drm_crtc *crtc, bool enable)
+{
+	struct fimd_context *ctx = crtc->ctx;
+	u32 val;
+
+	/*
+	 * Only Exynos 5250, 5260, 5410 and 542x requires enabling DP/MIE
+	 * clock. On these SoCs the bootloader may enable it but any
+	 * power domain off/on will reset it to disable state.
+	 */
+	if (ctx->driver_data != &exynos5_fimd_driver_data)
+		return;
+
+	val = enable ? DP_MIE_CLK_DP_ENABLE : DP_MIE_CLK_DISABLE;
+	writel(DP_MIE_CLK_DP_ENABLE, ctx->regs + DP_MIE_CLKCON);
+}
+EXPORT_SYMBOL_GPL(fimd_dp_clock_enable);
+
 struct platform_driver fimd_driver = {
 	.probe		= fimd_probe,
 	.remove		= fimd_remove,
drivers/gpu/drm/exynos/exynos_drm_fimd.h new file +15 -0
new file mode 100644
index 000000000000..b4fcaa568456
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute  it and/or modify it
+ * under  the terms of  the GNU General  Public License as published by the
+ * Free Software Foundation;  either version 2 of the  License, or (at your
+ * option) any later version.
[… more lines in the raw message]

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

drivers/gpu/drm/i2c/adv7511.c +52 -50

102 lines not on this page · raw message

drivers/gpu/drm/i915/i915_drv.c +2 -2
index 5c66b568bb81..ec4d932f8be4 100644

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

drivers/gpu/drm/i915/i915_irq.c +2 -6
index ede5bbbd8a08..07320cb32611 100644

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

drivers/gpu/drm/i915/i915_reg.h +1 -0
index 33b3d0a24071..f536ff2628fd 100644

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

drivers/gpu/drm/i915/intel_i2c.c +56 -10

66 lines not on this page · raw message

drivers/gpu/drm/radeon/atombios_crtc.c +6 -2
index 86807ee91bd1..9bd56116fd5a 100644

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

drivers/hid/hid-ids.h +4 -0
index 9c4786759f16..7fe5590b328b 100644

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

drivers/hid/usbhid/hid-quirks.c +2 -0
index a82127753461..4e3ae9fbb9b5 100644

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

drivers/hv/channel.c +5 -2
index 2978f5ee8d2a..00bc30e0db7f 100644

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

drivers/i2c/busses/i2c-rk3x.c +1 -1
index 5f96b1b3e3a5..019d5426fe52 100644

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

drivers/i2c/i2c-core.c +5 -0
index edf274cabe81..8143162b374d 100644

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

drivers/i2c/i2c-mux.c +5 -3
index 593f7ca9adc7..06cc1ff088f1 100644

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

drivers/idle/intel_idle.c +3 -11
index b0e58522780d..44d1d7920202 100644

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

drivers/infiniband/core/umem.c +5 -2
index 8c014b5dab4c..38acb3cfc545 100644

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

drivers/infiniband/hw/mlx4/qp.c +1 -2
index ed2bd6701f9b..fbde33a5228c 100644

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

drivers/infiniband/ulp/iser/iser_initiator.c +2 -2
index 20e859a6f1a6..76eb57b31a59 100644

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

drivers/infiniband/ulp/isert/ib_isert.c +13 -7
index 075b19cc78e8..147029adb885 100644

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

drivers/input/mouse/alps.c +3 -2
index 27bcdbc950c9..ea6cb64dfb28 100644

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

drivers/input/mouse/elantech.c +22 -0
index 6e22682c8255..991dc6b20a58 100644

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

drivers/input/mouse/elantech.h +1 -0
index 6f3afec02f03..f965d1569cc3 100644

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

drivers/md/dm-crypt.c +6 -6
index 713a96237a80..414739295d04 100644

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

drivers/md/md.c +5 -1
index 717daad71fb1..e6178787ce3d 100644

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

drivers/md/raid0.c +2 -1
index 3ed9f42ddca6..3b5d7f704aa3 100644

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

drivers/media/rc/img-ir/img-ir-core.c +1 -1
index 77c78de4f5bf..7020659f23c2 100644

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

drivers/media/usb/stk1160/stk1160-v4l.c +15 -2
index 65a326c5128f..749ad5603c9e 100644

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

drivers/memstick/core/mspro_block.c +2 -1
index fc145d202c46..922a750640e8 100644

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

drivers/mfd/mfd-core.c +1 -1
index 2a87f69be53d..1aed3b7b8d9b 100644

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

drivers/mmc/host/sunxi-mmc.c +3 -1
index e8a4218b5726..459ed1b601db 100644

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

drivers/mmc/host/tmio_mmc_pio.c +0 -2
index a31c3573d386..dba7e1c19dd7 100644

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

drivers/mtd/ubi/attach.c +1 -1
index 9d2e16f3150a..b5e154856994 100644

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

drivers/mtd/ubi/cdev.c +1 -1
index d647e504f9b1..d16fccf79179 100644

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

drivers/mtd/ubi/eba.c +2 -1
index 16e34b37d134..8c9a710def99 100644

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

drivers/mtd/ubi/wl.c +1 -1
index 8f7bde6a85d6..0bd92d816391 100644

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

drivers/net/ethernet/cadence/macb.c +1 -1
index 81d41539fcba..77bf1337d179 100644

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

drivers/net/ethernet/intel/e1000/e1000_main.c +9 -1
index 7f997d36948f..a71c446631d1 100644

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

drivers/net/ethernet/marvell/pxa168_eth.c +5 -11
index af829c578400..7ace07dad6a3 100644

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

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +16 -13
index a7b58ba8492b..3dccf01837db 100644

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

drivers/net/ppp/ppp_generic.c +1 -0
index af034dba9bd6..9d15566521a7 100644

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

drivers/net/wireless/rtlwifi/rtl8192cu/sw.c +2 -0
index 90a714c189a8..23806c243a53 100644

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

drivers/net/wireless/ti/wl18xx/debugfs.c +1 -1
index c93fae95baac..5fbd2230f372 100644

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

drivers/net/wireless/ti/wlcore/debugfs.h +2 -2
index 0f2cfb0d2a9e..bf14676e6515 100644

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

drivers/nfc/st21nfcb/i2c.c +2 -2
index eb886932d972..7b53a5c84041 100644

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

drivers/platform/x86/compal-laptop.c +6 -4
index 15c0fab2bfa1..bceb30b539f3 100644

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

drivers/power/ipaq_micro_battery.c +20 -2
index 9d694605cdb7..96b15e003f3f 100644

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

drivers/power/lp8788-charger.c +3 -1
index 21fc233c7d61..176dab2e4c16 100644

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

drivers/power/twl4030_madc_battery.c +5 -2
index 7ef445a6cfa6..cf907609ec49 100644

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

drivers/scsi/megaraid/megaraid_sas_fusion.c +6 -3
index 675b5e7aba94..5a0800d19970 100644

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

drivers/scsi/mvsas/mv_sas.c +1 -4
index 2d5ab6d969ec..454536c49315 100644

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

drivers/scsi/sd.c +1 -0
index 6b78476d04bb..3290a3ed5b31 100644

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

drivers/scsi/sd_dif.c +1 -1
index 14c7d42a11c2..5c06d292b94c 100644

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

drivers/scsi/storvsc_drv.c +8 -7
index efc6e446b6c8..bf8c5c1e254e 100644

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

drivers/spi/spi-imx.c +2 -2
index 6fea4af51c41..aea3a67e5ce1 100644

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

drivers/spi/spidev.c +4 -1
index 4eb7a980e670..7bf51860fd08 100644

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

drivers/staging/android/sync.c +1 -1
index 7bdb62bf6b40..f83e00c78051 100644

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

drivers/staging/panel/panel.c +6 -6
index 6ed35b6ecf0d..04fc217481c7 100644

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

drivers/staging/vt6655/rxtx.c +11 -3
index 07ce3fd88e70..fdf5c56251e5 100644

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

drivers/target/iscsi/iscsi_target.c +45 -59

104 lines not on this page · raw message

drivers/target/iscsi/iscsi_target_erl0.c +8 -5
index bdd8731a4daa..e008ed261364 100644

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

drivers/target/iscsi/iscsi_target_login.c +54 -5

59 lines not on this page · raw message

drivers/target/target_core_file.c +75 -47

122 lines not on this page · raw message

drivers/target/target_core_sbc.c +10 -5
index 3e7297411110..755bd9b34612 100644

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

drivers/target/target_core_transport.c +33 -4
index ac3cbabdbdf0..f786de0290db 100644

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

drivers/tty/serial/8250/8250_core.c +2 -1
index deae122c9c4b..d465ace95186 100644

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

drivers/tty/serial/8250/8250_dw.c +1 -0
index 6ae5b8560e4d..7a80250475eb 100644

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

drivers/tty/serial/imx.c +3 -5
index 0eb29b1c47ac..23061918b0e4 100644

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

drivers/usb/class/cdc-wdm.c +7 -5
index a051a7a2b1bd..a81f9dd7ee97 100644

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

drivers/usb/core/hub.c +2 -2
index d7c3d5a35946..3b7151687776 100644

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

drivers/usb/dwc2/hcd.c +1 -1
index c78c8740db1d..758b7e0380f6 100644

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

drivers/usb/gadget/legacy/printer.c +9 -0
index 90545980542f..6385c198c134 100644

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

drivers/usb/host/ehci-hcd.c +5 -5
index 85e56d1abd23..f4d88dfb26a7 100644

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

drivers/usb/host/ehci-hub.c +6 -3
index 87cf86f38b36..7354d0129a72 100644

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

drivers/usb/host/fotg210-hcd.c +1 -1
index 475b21fd373b..7a6681fb7675 100644

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

drivers/usb/host/fusbh200-hcd.c +1 -2
index a83eefefffda..ba77e2e43f62 100644

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

drivers/usb/host/isp116x-hcd.c +1 -1
index 113d0cc6cc43..9ef56443446d 100644

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

drivers/usb/host/oxu210hp-hcd.c +4 -3
index ef7efb278b15..28a2866b6b16 100644

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

drivers/usb/host/r8a66597-hcd.c +1 -1
index bdc82fea0a1f..54a417043e44 100644

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

drivers/usb/host/sl811-hcd.c +1 -1
index 4f4ba1ea9e9b..9118cd8de1a7 100644

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

drivers/usb/host/uhci-hub.c +3 -2
index 19ba5eafb31e..7b3d1afcc14a 100644

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

drivers/usb/host/xhci-ring.c +1 -1
index 73485fa4372f..eeedde8c435a 100644

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

drivers/usb/isp1760/isp1760-hcd.c +1 -1
index 3cb98b1d5d29..7911b6b6fe40 100644

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

drivers/usb/musb/musb_core.c +30 -21

51 lines not on this page · raw message

drivers/usb/musb/musb_virthub.c +1 -1
index 294e159f4afe..5428ed11440d 100644

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

drivers/usb/phy/phy.c +3 -1
index 2f9735b35338..d1cd6b50f520 100644

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

fs/binfmt_elf.c +8 -1
index 995986b8e36b..d925f55e4857 100644

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

fs/btrfs/extent-tree.c +2 -3
index 8b353ad02f03..0a795c969c78 100644

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

fs/btrfs/ioctl.c +8 -0
index 74609b931ba5..f23d4be3280e 100644

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

fs/btrfs/xattr.c +39 -14

53 lines not on this page · raw message

fs/ext4/namei.c +11 -9
index 28fe71a2904c..aae7011d99e8 100644

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

fs/lockd/svcsubs.c +1 -1
index 665ef5a05183..a563ddbc19e6 100644

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

fs/namei.c +4 -2
index c83145af4bfc..caa38a24e1f7 100644

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

fs/namespace.c +86 -37

123 lines not on this page · raw message

fs/nfs/callback.c +3 -3
index 351be9205bf8..8d129bb7355a 100644

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

fs/nfs/direct.c +17 -14
index e907c8cf732e..ab21ef16a11a 100644

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

fs/nfs/nfs4xdr.c +6 -0
index 5c399ec41079..d494ea2d66a9 100644

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

fs/nfs/read.c +1 -1
index 568ecf0a880f..848d8b1db4ce 100644

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

fs/nfs/write.c +1 -1
index 849ed784d6ac..41b3f1096d69 100644

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

fs/nfsd/nfs4proc.c +4 -0
index 92b9d97aff4f..5416968b3fb3 100644

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

fs/nfsd/nfs4state.c +1 -1
index 8ba1d888f1e6..ee1cccdb083a 100644

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

fs/nfsd/nfs4xdr.c +8 -4
index 5fb7e78169a6..5b33ce1db616 100644

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

fs/nfsd/nfsctl.c +8 -8
index aa47d75ddb26..9690cb4dd588 100644

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

fs/nfsd/nfsd.h +1 -1
index 565c4da1a9eb..cf980523898b 100644

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

fs/open.c +1 -1
index 33f9cbf2610b..44a3be145bfe 100644

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

fs/pnode.c +53 -7

60 lines not on this page · raw message

fs/pnode.h +5 -2
index 4a246358b031..7114ce6e6b9e 100644

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

include/acpi/actypes.h +20 -4
index b034f1068dfe..0d5852557f1c 100644

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

include/acpi/platform/acenv.h +1 -0
index ad74dc51d5b7..ecdf9405dd3a 100644

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

include/dt-bindings/clock/tegra124-car-common.h +1 -1
index ae2eb17a1658..a2156090563f 100644

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

include/linux/bpf.h +3 -1
index bbfceb756452..33b52fb0e20f 100644

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

include/linux/mount.h +1 -0
index c2c561dc0114..564beeec5d83 100644

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

include/linux/sched.h +8 -0
index a419b65770d6..51348f77e431 100644

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

include/linux/skbuff.h +13 -0
index f54d6659713a..bdccc4b46f57 100644

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

include/linux/usb.h +26 -0
index 7ee1b5c3b4cb..447fe29b55b4 100644

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

include/target/iscsi/iscsi_target_core.h +7 -0
index d3583d3ee193..dd0f3abde75d 100644

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

include/target/target_core_base.h +1 -1
index 672150b6aaf5..985ca4c907fe 100644

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

include/uapi/linux/nfsd/debug.h +0 -8
index 0bf130a1c58d..28ec6c9c421a 100644

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

include/video/samsung_fimd.h +6 -0
index a20e4a3a8b15..847a0a2b399c 100644

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

kernel/bpf/verifier.c +4 -1
index 36508e69e92a..5d8ea3d8a897 100644

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

kernel/ptrace.c +20 -0
index 227fec36b12a..9a34bd80a745 100644

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

kernel/sched/core.c +15 -0
index 62671f53202a..3d5f6f6d14c2 100644

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

kernel/sched/deadline.c +2 -2
index 3fa8fa6d9403..f670cbb17f5d 100644

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

kernel/trace/ring_buffer.c +5 -6
index 5040d44fe5a3..922048a0f7ea 100644

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

kernel/trace/trace_events.c +8 -1
index db54dda10ccc..a9c10a3cf122 100644

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

kernel/trace/trace_functions_graph.c +6 -2
index 2d25ad1526bb..b6fce365ef27 100644

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

lib/string.c +1 -1
index ce81aaec3839..a5792019193c 100644

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

mm/huge_memory.c +7 -2
index 6817b0350c71..956d4dbe001d 100644

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

mm/hugetlb.c +1 -2
index c41b2a0ee273..caad3c5a926f 100644

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

mm/mempolicy.c +2 -1
index 4721046a134a..de5dc5e12691 100644

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

net/bridge/br_netfilter.c +15 -2
index 0ee453fad3de..f371cbff6d45 100644

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

net/core/dev.c +6 -6
index 45109b70664e..22a53acdb5bb 100644

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

net/core/skbuff.c +24 -6
index 98d45fe72f51..e9f9a15fce4e 100644

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

net/ipv4/ip_forward.c +3 -0
index d9bc28ac5d1b..53bd53fbbee0 100644

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

net/ipv4/tcp_output.c +45 -19

64 lines not on this page · raw message

net/mac80211/mlme.c +1 -1
index 142f66aece18..0ca013d66492 100644

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

net/netlink/af_netlink.c +2 -4
index 05919bf3f670..d1d7a8166f46 100644

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

sound/pci/emu10k1/emuproc.c +0 -12
index 2ca9f2e93139..53745f4c2bf5 100644

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

sound/pci/hda/patch_realtek.c +21 -11
index f9d12c0a7e5a..2fd490b1764b 100644

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

sound/soc/codecs/cs4271.c +2 -2
index 7d3a6accaf9a..e770ee6f36da 100644

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

sound/soc/codecs/pcm512x.c +4 -4
index 474cae82a874..8c09e3ffdcaa 100644

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

sound/soc/codecs/wm8741.c +4 -4
index 31bb4801a005..9e71c768966f 100644

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

sound/soc/davinci/davinci-evm.c +0 -10
index b6bb5947a8a8..8c2b9be80a9a 100644

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

sound/usb/quirks.c +1 -0
index 9a28365126f9..32631a86078b 100644

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

tools/lib/traceevent/kbuffer-parse.c +0 -1
index dcc665228c71..deb3569ab004 100644

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

tools/perf/config/Makefile +2 -2
index cc224080b525..0884d31ae12e 100644

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

tools/perf/tests/make +1 -1
index 75709d2b17b4..bff85324f799 100644

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

tools/perf/util/cloexec.c +6 -0
index 6da965bdbc2c..85b523885f9d 100644

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

tools/perf/util/cloexec.h +6 -0
index 94a5a7d829d5..68888c29b04a 100644

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

tools/perf/util/symbol-elf.c +4 -0
index 33b7a2aef713..9bdf007d243a 100644

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

tools/power/x86/turbostat/Makefile +5 -1
index d1b3a361e526..4039854560d0 100644

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

virt/kvm/arm/vgic.c +3 -0
index c9f60f524588..e5abe7cb2990 100644

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

virt/kvm/kvm_main.c +2 -2
index cc6a25d95fbf..f8f3f5fe53d3 100644

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

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

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