Skip to contentSkip to conversation

Linux 3.16.62

PATCH Ben Hutchings 1 participant 1 message Dec 17, 2018 Stable branch

lore
Share & tools
lore
#0 lore raw

I'm announcing the release of the 3.16.62 kernel.

All users of the 3.16 kernel series should upgrade.

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

The diff from 3.16.61 is attached to this message.

Ben.

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

 Makefile                                           |   2 +-
 arch/arc/kernel/process.c                          |  20 +
 arch/arm/boot/dts/tegra30-cardhu.dtsi              |   1 +
 arch/arm/kvm/mmu.c                                 |  42 ++-
 arch/arm/mach-hisi/hotplug.c                       |  19 +-
 arch/arm/mm/ioremap.c                              |   2 +-
 arch/arm64/kvm/guest.c                             |  45 +++
 arch/arm64/mm/init.c                               |   6 +-
 arch/mips/include/asm/processor.h                  |  15 +-
 arch/mips/kernel/ptrace.c                          |   2 +-
 arch/mips/kernel/ptrace32.c                        |   2 +-
 arch/mips/lib/memset.S                             |   4 +-
 arch/powerpc/include/asm/fadump.h                  |   3 -
 arch/powerpc/kernel/fadump.c                       |  92 ++++-
 arch/powerpc/kvm/book3s_64_mmu_hv.c                |   2 +-
 arch/powerpc/mm/numa.c                             |   4 +-
 arch/powerpc/platforms/powernv/pci-ioda.c          |  37 ++
 arch/powerpc/platforms/pseries/ras.c               |   4 +-
 arch/powerpc/sysdev/mpic_msgr.c                    |   2 +-
 arch/s390/include/asm/qdio.h                       |   1 -
 arch/s390/mm/fault.c                               |   2 +
 arch/s390/pci/pci.c                                |   2 +
 arch/x86/include/asm/kdebug.h                      |  12 +-
 arch/x86/include/asm/microcode_intel.h             |  15 +
 arch/x86/include/asm/percpu.h                      |   8 +-
 arch/x86/include/asm/pgtable_64.h                  |  16 +-
 arch/x86/include/asm/processor.h                   |   4 +-
 arch/x86/kernel/Makefile                           |   1 +
 arch/x86/kernel/cpu/bugs.c                         |  46 ++-
 arch/x86/kernel/cpu/common.c                       |   1 +
 arch/x86/kernel/cpu/intel.c                        |  14 +-
 arch/x86/kernel/cpu/microcode/amd.c                |  22 +-
 arch/x86/kernel/cpu/microcode/intel.c              |  31 +-
 arch/x86/kernel/cpu/microcode/intel_early.c        |  33 +-
 arch/x86/kernel/dumpstack_32.c                     |   2 +-
 arch/x86/kernel/dumpstack_64.c                     |   2 +-
 arch/x86/kernel/eisa.c                             |  24 ++
 arch/x86/kernel/paravirt.c                         |   4 +-
 arch/x86/kernel/process_32.c                       |   4 +-
 arch/x86/kernel/process_64.c                       |  11 +-
 arch/x86/kernel/traps.c                            |  13 -
 arch/x86/mm/kmemcheck/error.c                      |   2 +-
 arch/x86/mm/pgtable.c                              |   6 +-
 arch/x86/vdso/vclock_gettime.c                     |  18 +-
 arch/xtensa/include/asm/cacheasm.h                 |  69 ++--
 block/bio-integrity.c                              |  26 --
 block/partitions/aix.c                             |  13 +-
 crypto/ablkcipher.c                                |  57 ++-
 crypto/blkcipher.c                                 |  54 ++-
 crypto/cts.c                                       |   3 +-
 crypto/sha1_generic.c                              |   2 +-
 crypto/sha256_generic.c                            |   5 +-
 crypto/sha512_generic.c                            |   2 +-
 crypto/tgr192.c                                    |   4 +-
 crypto/vmac.c                                      | 412 +++++++++------------
 crypto/wp512.c                                     |   8 +-
 drivers/acpi/bus.c                                 |  13 +-
 drivers/base/power/main.c                          |   5 +-
 drivers/block/nbd.c                                |   3 +
 drivers/cdrom/cdrom.c                              |   2 +-
 drivers/char/ipmi/ipmi_bt_sm.c                     |  92 ++---
 drivers/crypto/mxs-dcp.c                           |  53 +--
 drivers/edac/edac_mc_sysfs.c                       |   6 +-
 drivers/edac/i7core_edac.c                         |  24 +-
 drivers/gpu/drm/drm_fb_helper.c                    |  91 ++---
 drivers/gpu/drm/i915/i915_reg.h                    |   1 +
 drivers/gpu/drm/i915/intel_ddi.c                   |   4 +
 drivers/gpu/drm/i915/intel_display.c               |   8 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c        |  20 +-
 drivers/gpu/drm/panel/panel-s6e8aa0.c              |   2 +-
 drivers/gpu/drm/udl/udl_fb.c                       |  10 +-
 drivers/gpu/drm/udl/udl_main.c                     |  35 +-
 drivers/hv/connection.c                            |   8 +-
 drivers/hwmon/nct6775.c                            |  28 +-
 drivers/i2c/busses/i2c-xiic.c                      |   4 +
 drivers/iio/frequency/ad9523.c                     |   4 +-
 drivers/infiniband/core/cma.c                      |  12 +-
 drivers/infiniband/core/ucm.c                      |   3 +
 drivers/infiniband/core/ucma.c                     |   9 +
 drivers/infiniband/hw/cxgb4/ev.c                   |   1 +
 drivers/infiniband/hw/cxgb4/qp.c                   |  62 +++-
 drivers/infiniband/hw/cxgb4/t4.h                   |  11 +
 drivers/infiniband/ulp/ipoib/ipoib_cm.c            |   2 +
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c     |   1 +
 drivers/infiniband/ulp/srpt/ib_srpt.c              |   6 +-
 drivers/infiniband/ulp/srpt/ib_srpt.h              |   4 +-
 drivers/input/mouse/elantech.c                     |   2 +
 drivers/leds/leds-max8997.c                        |   2 +-
 drivers/md/bcache/bcache.h                         |   1 +
 drivers/md/bcache/closure.h                        |   3 -
 drivers/md/bcache/io.c                             |   1 +
 drivers/md/bcache/journal.c                        |   8 +-
 drivers/md/bcache/request.c                        |  14 +-
 drivers/md/bcache/super.c                          |  29 +-
 drivers/md/dm-cache-metadata.c                     |   3 +-
 drivers/md/dm-cache-target.c                       |   5 +-
 drivers/md/dm-crypt.c                              |   8 +-
 drivers/media/platform/exynos4-is/fimc-isp-video.c |  11 +-
 drivers/media/platform/omap3isp/isp.c              |   2 +-
 drivers/media/usb/dvb-usb-v2/gl861.c               |  17 +-
 drivers/media/usb/dvb-usb-v2/rtl28xxu.c            |   2 +-
 drivers/mfd/sm501.c                                |   1 +
 drivers/misc/hmc6352.c                             |   2 +
 drivers/misc/mei/nfc.c                             |   2 +-
 drivers/misc/vmw_vmci/vmci_queue_pair.c            |   4 +-
 drivers/mtd/mtdchar.c                              |  10 +-
 drivers/mtd/nand/mxc_nand.c                        |   4 +-
 drivers/mtd/spi-nor/fsl-quadspi.c                  |  20 +-
 drivers/net/ethernet/cadence/macb.c                |  10 +-
 drivers/net/ethernet/marvell/mvneta.c              |   1 -
 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h        |   8 +-
 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c    |   3 +-
 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h    |   3 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.h     |   3 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c     |  12 +-
 drivers/net/ethernet/realtek/r8169.c               |   8 +-
 drivers/net/ppp/pppoe.c                            |   3 +
 drivers/net/team/team.c                            |   5 +
 drivers/net/usb/asix_common.c                      |   3 +
 drivers/net/usb/ax88179_178a.c                     |   3 +
 drivers/net/usb/r8152.c                            |   3 +
 drivers/net/usb/smsc75xx.c                         |   3 +
 drivers/net/usb/smsc95xx.c                         |   3 +
 drivers/net/usb/sr9800.c                           |   3 +
 drivers/net/vxlan.c                                | 103 ++++--
 drivers/net/wireless/ath/ath10k/mac.c              |   7 +
 drivers/net/wireless/ath/wil6210/wmi.c             |   7 +-
 drivers/net/wireless/b43/leds.c                    |   2 +-
 drivers/net/wireless/b43legacy/leds.c              |   2 +-
 drivers/net/wireless/libertas/dev.h                |   1 +
 drivers/net/wireless/libertas/if_sdio.c            |  34 +-
 drivers/net/wireless/rndis_wlan.c                  |   2 +
 drivers/net/xen-netfront.c                         |   6 +-
 drivers/of/selftest.c                              |  28 +-
 drivers/pci/host/pci-mvebu.c                       |   2 +-
 drivers/pci/hotplug/pci_hotplug_core.c             |   9 +
 drivers/pci/hotplug/pciehp.h                       |   1 +
 drivers/pci/hotplug/pciehp_core.c                  |   5 +
 drivers/pci/hotplug/pciehp_hpc.c                   |  18 +-
 drivers/pci/pci.c                                  |  27 +-
 drivers/pinctrl/berlin/berlin.c                    |  13 +-
 drivers/pinctrl/pinctrl-imx.c                      |   2 +-
 drivers/pinctrl/pinctrl-imx1-core.c                |   2 +-
 drivers/pinctrl/pinctrl-msm.c                      |  10 +-
 drivers/platform/x86/alienware-wmi.c               |   1 +
 drivers/platform/x86/ideapad-laptop.c              |   7 +
 drivers/power/generic-adc-battery.c                |  25 +-
 drivers/ptp/ptp_chardev.c                          |   4 +
 drivers/pwm/pwm-tiehrpwm.c                         |  13 +-
 drivers/regulator/core.c                           |   3 +-
 drivers/s390/cio/qdio_main.c                       |   5 +-
 drivers/scsi/aic94xx/aic94xx_init.c                |   4 +-
 drivers/scsi/scsi_sysfs.c                          |  20 +-
 drivers/scsi/virtio_scsi.c                         |   6 +-
 drivers/spi/spi-rspi.c                             | 140 +++++--
 drivers/spi/spi-sh-msiof.c                         |  57 ++-
 drivers/spi/spi-tegra20-slink.c                    |  31 +-
 drivers/staging/rts5208/sd.c                       |   2 +-
 drivers/staging/usbip/vhci_hcd.c                   |  43 ++-
 drivers/target/iscsi/iscsi_target_login.c          |  35 +-
 drivers/target/iscsi/iscsi_target_tpg.c            |   3 +-
 drivers/tty/serial/cpm_uart/cpm_uart_core.c        |  10 +-
 drivers/tty/serial/pxa.c                           |   3 +-
 drivers/tty/serial/serial_core.c                   |  17 +-
 drivers/tty/tty_ioctl.c                            |  15 +-
 drivers/tty/vt/vt_ioctl.c                          |   4 +
 drivers/uio/uio.c                                  |   3 +-
 drivers/usb/core/devio.c                           |  24 +-
 drivers/usb/core/driver.c                          |  50 +--
 drivers/usb/core/hcd-pci.c                         |   2 -
 drivers/usb/core/message.c                         |  11 +
 drivers/usb/core/quirks.c                          |   7 +
 drivers/usb/core/usb.c                             |   2 +
 drivers/usb/gadget/f_mass_storage.c                |   3 +
 drivers/usb/gadget/net2280.c                       |  36 +-
 drivers/usb/host/u132-hcd.c                        |   2 +-
 drivers/usb/host/xhci-pci.c                        |   2 +
 drivers/usb/misc/uss720.c                          |   4 +-
 drivers/usb/misc/yurex.c                           |   5 +-
 drivers/usb/serial/io_ti.h                         |   2 +-
 drivers/usb/serial/kobil_sct.c                     |  12 +-
 drivers/usb/serial/sierra.c                        |   4 +-
 drivers/usb/serial/ti_usb_3410_5052.c              |  13 +-
 drivers/usb/serial/ti_usb_3410_5052.h              |   2 -
 drivers/usb/serial/usb-serial-simple.c             |   3 +-
 drivers/usb/storage/scsiglue.c                     |   9 +
 drivers/usb/storage/uas.c                          |  20 +
 drivers/usb/storage/unusual_devs.h                 |   7 +
 drivers/video/fbdev/aty/atyfb.h                    |   3 +-
 drivers/video/fbdev/aty/atyfb_base.c               |   7 +-
 drivers/video/fbdev/aty/mach64_ct.c                |  10 +-
 drivers/video/fbdev/core/fbmem.c                   |  38 +-
 drivers/video/fbdev/omap/omapfb_main.c             |   2 +-
 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c    |   5 +-
 drivers/video/fbdev/udlfb.c                        | 140 ++++---
 fs/9p/xattr.c                                      |   6 +-
 fs/binfmt_elf.c                                    |   2 +-
 fs/btrfs/disk-io.c                                 |  10 +-
 fs/btrfs/inode.c                                   |  25 --
 fs/btrfs/super.c                                   |   1 -
 fs/btrfs/volumes.c                                 |  10 +-
 fs/cachefiles/namei.c                              |   2 +-
 fs/cifs/cifs_debug.c                               |  30 +-
 fs/cifs/cifsfs.c                                   |  20 +-
 fs/cifs/connect.c                                  |   9 +-
 fs/cifs/inode.c                                    |   2 +
 fs/cifs/readdir.c                                  |  11 +-
 fs/cifs/sess.c                                     |   6 +
 fs/cifs/smb2ops.c                                  |  23 +-
 fs/cifs/smb2pdu.c                                  |  40 +-
 fs/cifs/smb2pdu.h                                  |  11 +
 fs/ext4/dir.c                                      |  20 +-
 fs/ext4/inline.c                                   |   4 +-
 fs/ext4/mballoc.c                                  |   4 +-
 fs/ext4/mmp.c                                      |   1 -
 fs/ext4/namei.c                                    |   6 +
 fs/ext4/resize.c                                   |  45 ++-
 fs/ext4/xattr.c                                    |   2 +
 fs/fuse/cuse.c                                     |   2 +-
 fs/fuse/dev.c                                      |   7 +-
 fs/fuse/file.c                                     |   1 +
 fs/fuse/fuse_i.h                                   |   2 -
 fs/fuse/inode.c                                    |  37 +-
 fs/ocfs2/buffer_head_io.c                          |   1 +
 fs/ocfs2/dlm/dlmmaster.c                           |   4 +-
 fs/proc/base.c                                     |  14 +
 fs/pstore/ram.c                                    |  29 +-
 fs/pstore/ram_core.c                               |  17 +-
 fs/quota/quota.c                                   |   5 +-
 fs/reiserfs/xattr.c                                |   6 +-
 fs/seq_file.c                                      |   7 +-
 fs/sysfs/file.c                                    |  44 +++
 fs/ubifs/journal.c                                 |  16 +-
 fs/ubifs/lprops.c                                  |   8 +-
 fs/ubifs/super.c                                   |   3 +
 fs/xattr.c                                         |   2 +-
 fs/xfs/xfs_attr.c                                  |   9 +-
 include/crypto/vmac.h                              |  63 ----
 include/linux/blkdev.h                             |  38 ++
 include/linux/cpuidle.h                            |   3 +
 include/linux/netdevice.h                          |   7 +
 include/linux/percpu_counter.h                     |  13 +-
 include/linux/posix-timers.h                       |   4 +-
 include/linux/seq_file.h                           |  13 +-
 include/linux/skbuff.h                             |   5 +
 include/linux/sysfs.h                              |  14 +
 include/linux/usb.h                                |   2 +-
 include/net/ip_fib.h                               |   1 +
 include/net/netfilter/nf_tables.h                  |   4 +-
 include/video/udlfb.h                              |   5 +-
 kernel/auditsc.c                                   |   8 +-
 kernel/events/core.c                               |  15 +-
 kernel/kprobes.c                                   |   4 +-
 kernel/posix-cpu-timers.c                          |   2 +-
 kernel/posix-timers.c                              |  31 +-
 kernel/sched/idle.c                                |   2 +-
 kernel/time/alarmtimer.c                           |   3 +-
 kernel/trace/blktrace.c                            |   4 +
 kernel/trace/ring_buffer.c                         |   2 +
 kernel/trace/trace.c                               |   4 +-
 kernel/trace/trace_uprobe.c                        |   2 +-
 lib/percpu_counter.c                               |   6 +-
 mm/huge_memory.c                                   |   6 +-
 mm/madvise.c                                       |   2 +-
 mm/memory.c                                        |  15 +-
 mm/mremap.c                                        |  21 +-
 mm/shmem.c                                         |   2 +
 mm/truncate.c                                      |   8 +-
 mm/vmstat.c                                        |   3 +
 net/9p/client.c                                    |   2 +-
 net/9p/trans_fd.c                                  |   7 +-
 net/9p/trans_rdma.c                                |   3 +
 net/9p/trans_virtio.c                              |  13 +-
 net/batman-adv/gateway_client.c                    |  11 +-
 net/batman-adv/main.c                              |   8 +-
 net/batman-adv/network-coding.c                    |  34 +-
 net/batman-adv/soft-interface.c                    |  27 +-
 net/batman-adv/translation-table.c                 |   6 +-
 net/core/dev.c                                     |  28 +-
 net/core/rtnetlink.c                               |   6 +
 net/core/skbuff.c                                  |  12 +-
 net/ieee802154/6lowpan_rtnl.c                      | 140 +++++--
 net/ipv4/fib_frontend.c                            |   4 +
 net/ipv4/fib_semantics.c                           |  50 +++
 net/ipv4/igmp.c                                    |   8 +-
 net/ipv4/ip_tunnel.c                               |   9 +
 net/ipv6/addrconf.c                                |   6 +-
 net/ipv6/af_inet6.c                                |   4 +-
 net/ipv6/ip6_output.c                              |   3 +-
 net/ipv6/ip6_tunnel.c                              |  13 +-
 net/ipv6/raw.c                                     |  34 +-
 net/ipv6/xfrm6_output.c                            |   2 +
 net/l2tp/l2tp_core.c                               |   2 +-
 net/mac80211/cfg.c                                 |   2 +-
 net/mac802154/tx.c                                 |  35 +-
 net/netfilter/nf_tables_api.c                      |  10 +-
 net/netfilter/nft_hash.c                           |   2 +-
 net/netfilter/nft_rbtree.c                         |   2 +-
 net/sched/act_ipt.c                                |   2 +-
 net/wireless/nl80211.c                             |   1 +
 net/wireless/reg.c                                 |   1 +
 net/xfrm/xfrm_policy.c                             |   5 +-
 net/xfrm/xfrm_user.c                               |  12 +
 security/apparmor/policy_unpack.c                  |  32 --
 security/keys/encrypted-keys/encrypted.c           |  31 +-
 sound/aoa/core/gpio-feature.c                      |   4 +-
 sound/core/memalloc.c                              |   8 +-
 sound/core/seq/oss/seq_oss.c                       |   2 +-
 sound/core/seq/seq_clientmgr.c                     |   2 +-
 sound/core/seq/seq_virmidi.c                       |  10 +
 sound/drivers/vx/vx_pcm.c                          |   6 +-
 sound/firewire/bebob/bebob_maudio.c                |  24 +-
 sound/pci/cs5535audio/cs5535audio.h                |   6 +-
 sound/pci/cs5535audio/cs5535audio_pcm.c            |   4 +-
 sound/pci/emu10k1/emufx.c                          |   2 +-
 sound/pci/vx222/vx222_ops.c                        |  20 +-
 sound/pcmcia/vx/vxp_ops.c                          |  22 +-
 sound/soc/codecs/wm8994.c                          |   1 +
 tools/hv/hv_fcopy_daemon.c                         |   1 +
 tools/hv/hv_kvp_daemon.c                           |   2 +-
 320 files changed, 3009 insertions(+), 1647 deletions(-)

Aaron Knister (1):
IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler

Aaron Ma (1):
Input: elantech - enable middle button of touchpad on ThinkPad P72

Akihiro Tsukada (1):
media: dvb-usb-v2/gl861: ensure USB message buffers DMA'able

Al Viro (1):
cachefiles: fix the race between cachefiles_bury_object() and rmdir(2)

Alan Stern (6):
USB: net2280: Fix erroneous synchronization change
USB: leave LPM alone if possible when binding/unbinding interface drivers
USB: remove LPM management from usb_driver_claim_interface()
USB: fix error handling in usb_driver_claim_interface()
USB: handle NULL config in usb_find_alt_setting()
USB: fix the usbfs flag sanitization for control transfers

Alexander Aring (4):
net: 6lowpan: fix reserved space for single frames
mac802154: tx: cleanup crc calculation
mac802154: tx: use put_unaligned_le16 for copy crc
net: mac802154: tx: expand tailroom if necessary

Anand Jain (1):
btrfs: rename total_bytes to avoid confusion

Andi Kleen (2):
x86/spectre: Add missing family 6 check to microcode check x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+

Andrei Otcheretianski (1):
cfg80211: reg: Init wiphy_idx in regulatory_hint_core()

Andrey Ryabinin (1):

      fuse: Don't access pipe->buffers without pipe_lock()

Andy Lutomirski (1):
x86/vdso: Fix asm constraints on vDSO syscall fallbacks

Anssi Hannula (1):
net: macb: do not disable MDIO bus at open/close time

Arunk Khandavalli (1):

      cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE

Ashish Samant (1):

      ocfs2: fix locking for res->tracking and dlm->tracking_list

Ashok Raj (1):
x86/microcode/intel: Check microcode revision before updating sibling threads

Aurelien Aptel (1):
smb2: fix missing files in root share directory listing

Bart Van Assche (4):
IB/srpt: Support HCAs with more than two ports
scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock

Ben Hutchings (2):
USB: yurex: Fix buffer over-read in yurex_write() Linux 3.16.62

Benjamin Herrenschmidt (1):
powerpc/powernv/pci: Work around races in PCI bridge enabling

Bhaktipriya Shridhar (1):
bcache: Remove deprecated create_workqueue

Bin Yang (1):
pstore: Fix incorrect persistent ram buffer mapping

Boris Ostrovsky (1):
x86/EISA: Don't probe EISA bus for Xen PV guests

Borislav Petkov (1):
x86/microcode/intel: Add a helper which gives the microcode revision

Catalin Marinas (1):
cpuidle: Do not access cpuidle_devices when !CONFIG_CPU_IDLE

Chirantan Ekbote (1):
9p/net: Fix zero-copy path in the 9p virtio transport

Christian Brauner (1):
getxattr: use correct xattr length

Christophe JAILLET (1):
serial: pxa: Fix an error handling path in 'serial_pxa_probe()'

Christophe Leroy (1):
serial: cpm_uart: return immediately from console poll

Claudio Imbrenda (1):
s390/kvm: fix deadlock when killed by oom

Colin Ian King (2):
leds: max8997: use mode when calling max8997_led_set_mode
staging: rts5208: fix missing error check on call to rtsx_write_register

Corey Minyard (1):
ipmi: Move BT capabilities detection to the detect call

Dan Carpenter (16):
rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
vmci: type promotion bug in qp_host_get_user_memory() drm/panel: type promotion bug in s6e8aa0_read_mtp_id()
mei: bus: type promotion bug in mei_nfc_if_version()
fbdev: omapfb: off by one in omapfb_register_client()
pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
uio: potential double frees if __uio_register_device() fails
scsi: aic94xx: fix an error code in aic94xx_init()
powerpc: Fix size calculation using resource_size()
hwmon: (nct6775) Set weight source to zero correctly
cifs: prevent integer overflow in nxt_dir_entry()
CIFS: fix wrapping bugs in num_entries()
cifs: integer overflow in in SMB2_ioctl()
x86/paravirt: Fix some warning messages
net: sched: act_ipt: check for underflow in __tcf_ipt_init()

Daniel Black (1):
mm: madvise(MADV_DODUMP): allow hugetlbfs pages

Daniel Borkmann (2):
crypto: memzero_explicit - make sure to clear out sensitive data bpf, net: add skb_mac_header_len helper

Daniel Drake (1):
PCI: Reprogram bridge prefetch registers on resume

Daniel Mack (2):
libertas: fix suspend and resume for SDIO connected cards
libertas: call into generic suspend code before turning off power

Darrick J. Wong (1):
xfs: don't fail when converting shortform attr to long form during ATTR_REPLACE

Dave Chinner (1):
percpu_counter: batch size aware __percpu_counter_compare()

Dave Martin (1):
arm64: KVM: Tighten guest core register access from userspace

David Ahern (1):
net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs

Denis Drozdov (1):
IB/IPoIB: Set ah valid flag in multicast send flow

Dexuan Cui (1):
Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()

Douglas Anderson (1):
pinctrl: msm: Fix msm_config_group_get() to be compliant

Emil Lundmark (1):
drm: udl: Destroy framebuffer only if it was initialized

Eric Biggers (5):
crypto: vmac - require a block cipher with 128-bit block size
crypto: vmac - separate tfm and request context
crypto: blkcipher - fix crash flushing dcache in error path
crypto: ablkcipher - fix crash flushing dcache in error path
KEYS: encrypted: fix buffer overread in valid_master_desc()

Eric Dumazet (3):
ipv6: fix possible use-after-free in ip6_xmit()
rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
net: make skb_partial_csum_set() more robust against overflows

Eric W. Biederman (1):
ipv6: Compute net once in raw6_send_hdrinc

Ethan Lien (1):
btrfs: use correct compare function of dirty_metadata_bytes

Eugeniy Paltsev (1):
drm: fb-helper: Reject all pixel format changing requests

Evgenii Lepikhin (1):
ISCSI: fix minor memory leak

Felipe Balbi (1):
usb: gadget: udc: net2280: do not rely on 'driver' argument

Felix Fietkau (1):
mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys

Filippo Sironi (1):
x86/microcode: Update the new microcode revision unconditionally

Florian Fainelli (6):
asix: Check for supported Wake-on-LAN modes
ax88179_178a: Check for supported Wake-on-LAN modes
sr9800: Check for supported Wake-on-LAN modes
r8152: Check for supported Wake-on-LAN Modes
smsc75xx: Check for Wake-on-LAN modes
smsc95xx: Check for Wake-on-LAN modes

Florian Schmaus (1):
bcache: do not assign in if condition in bcache_init()

Florian Westphal (1):
netfilter: nf_tables: fix register ordering

Geert Uytterhoeven (5):
spi: sh-msiof: Add more register documentation
spi: rspi: Fix invalid SPI use during system suspend
spi: rspi: Handle dmaengine_prep_slave_sg() failures gracefully
spi: rspi: Fix leaking of unused DMA descriptors
spi: rspi: Fix interrupted DMA transfers

Greg Edwards (2):
block: move bio_integrity_{intervals,bytes} into blkdev.h
scsi: virtio_scsi: fix pi_bytes{out,in} on 4 KiB block size devices

Greg Hackmann (1):
arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()

Guenter Roeck (3):
mfd: sm501: Set coherent_dma_mask when creating subdevices
hwmon: (nct6775) Fix access to fan pulse registers
of: unittest: Disable interrupt node tests for old world MAC systems

Guillaume Nault (1):
pppoe: fix reception of frames with no mac header

Guoju Fang (1):
bcache: add separate workqueue for journal_write to avoid deadlock

Gustavo A. R. Silva (9):
ASoC: wm8994: Mark expected switch fall-through
ASoC: wm8994: Fix missing break in switch
hwmon: (nct6775) Fix potential Spectre v1
misc: hmc6352: fix potential Spectre v1
tty: vt_ioctl: fix potential Spectre v1 IB/ucm: Fix Spectre v1 vulnerability RDMA/ucma: Fix Spectre v1 vulnerability
usb: gadget: storage: Fix Spectre v1 vulnerability
ptp: fix Spectre v1 vulnerability

H. Nikolaus Schaller (2):
power: generic-adc-battery: fix out-of-bounds write when copying channel properties
power: generic-adc-battery: check for duplicate properties copied from iio channels

Haishuang Yan (1):
vxlan: fix a potential issue when create a new vxlan fdb entry.

Han Xu (1):
mtd: fsl-quadspi: fix macro collision problems with READ/WRITE

Hangbin Liu (2):
igmp: fix incorrect unsolicit report count when join group
igmp: fix incorrect unsolicit report count after link down and up

Hari Bathini (1):
powerpc/fadump: handle crash memory ranges array index overflow

Heiner Kallweit (1):
r8169: fix NAPI handling under high load

Hiromitsu Yamasaki (1):
spi: sh-msiof: Fix handling of write value for SISTR register

Huacai Chen (1):
MIPS: Change definition of cpu_relax() for Loongson-3

Ido Schimmel (1):
team: Forbid enslaving team device to itself

Imre Deak (1):
drm/i915/bdw: Increase IPS disable timeout to 100ms

Jani Nikula (1):
drm/i915: set DP Main Stream Attribute for color range on DDI platforms

Jann Horn (6):
mtdchar: fix overflows in adjustment of count
reiserfs: fix broken xattr handling (heap corruption, bad retval) RDMA/ucma: check fd type in ucma_migrate_id() x86/process: Don't mix user/kernel regs in 64bit __show_regs()
proc: restrict kernel stack dumps to root
mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly

Javier Martinez Canillas (1):
media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data

Jean Delvare (1):
ACPI / bus: Only call dmi_check_system() on X86

Jens Axboe (2):
nbd: don't allow invalid blocksize settings
bcache: don't embed 'return' statements in closure macros

Jeremy Cline (2):
ext4: fix spectre gadget in ext4_mb_regular_allocator() fs/quota: Fix spectre gadget in do_quotactl

Jia-Ju Bai (2):
usb: host: u132-hcd: Fix a sleep-in-atomic-context bug in u132_get_frame()
usb: misc: uss720: Fix two sleep-in-atomic-context bugs

Jiri Olsa (2):
perf/core: Protect PMU device removal with a 'pmu_bus_running' check, to fix CONFIG_DEBUG_TEST_DRIVER_REMOVE=y kernel panic perf/ring_buffer: Prevent concurent ring buffer access

Joel Fernandes (Google) (1):
mm: shmem.c: Correctly annotate new inodes for lockdep

Johan Hovold (8):
EDAC: Fix memleak in module init error path
EDAC, i7core: Fix memleaks and use-after-free on probe and remove
USB: serial: kobil_sct: fix modem-status error handling
tty: fix termios input-speed encoding
tty: fix termios input-speed encoding when using BOTHER
USB: serial: io_ti: fix array underflow in completion handler
USB: serial: ti_usb_3410_5052: fix array underflow in completion handler
USB: serial: simple: add Motorola Tetra MTP6550 id

John Johansen (1):
apparmor: remove no-op permission check in policy_unpack

John Ogness (1):
USB: serial: sierra: fix potential deadlock at close

Jon Hunter (1):
ARM: tegra: Fix Tegra30 Cardhu PCA954x reset

Josef Bacik (1):
Btrfs: fix btrfs_write_inode vs delayed iput deadlock

Julian Wiedmann (1):
s390/qdio: reset old sbal_state flags

Junxiao Bi (1):
ocfs2: fix ocfs2 read block panic

K. Y. Srinivasan (1):
Tools: hv: Fix a bug in the key delete code

Kees Cook (1):
pstore/ram: Fix failure-path memory leak in ramoops_init

Kirill Tkhai (1):
fuse: Add missed unlock_page() to fuse_readpages_fill()

Ladislav Michl (2):
video: udlfb: Remove noisy warnings
video: udlfb: Fix unaligned access

Lars-Peter Clausen (2):
iio: ad9523: Fix displayed phase
iio: ad9523: Fix return value for ad952x_store()

Leonard Crestez (1):
crypto: mxs-dcp - Fix wait logic on chan threads

Li Dongyang (1):
ext4: don't mark mmp buffer head dirty

Liang Chen (1):
bcache: explicitly destroy mutex while exiting

Linus Torvalds (2):
Make file credentials available to the seqfile interfaces
mremap: properly flush TLB before releasing the page

Lior David (1):
wil6210: missing length check in wmi_set_ie

Lukas Wunner (3):
PCI: hotplug: Don't leak pci_slot on registration failure
PCI: pciehp: Fix use-after-free on unplug
PCI: pciehp: Fix unprotected list iteration in IRQ handler

Lyude Paul (1):
drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()

Maciej W. Rozycki (3):
binfmt_elf: Respect error return from `regset->active'
MIPS: Correct the 64-bit DSP accumulator register size
MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression

Mahesh Salgaonkar (2):
powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX. powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.

Marcel Ziswiler (1):
spi: tegra20-slink: explicitly enable/disable clock

Mario Limonciello (1):
platform/x86: alienware-wmi: Correct a memory leak

Martin Kaiser (1):
mtd: rawnand: mxc: remove __init qualifier from mxcnd_probe_dt

Masami Hiramatsu (1):
kprobes: Make list and blacklist root user read only

Mathias Nyman (3):
usb: Don't die twice if PCI xhci host is not responding in resume
usb: Avoid use-after-free by flushing endpoints early in usb_set_interface()
xhci: Add missing CAS workaround for Intel Sunrise Point xHCI

Mathieu OTHACEHE (1):
USB: serial: ti_usb_3410_5052: use functions rather than macros

Matthias Brugger (1):
tty: fix typo in comment of tty_termios_encode_baud_rate

Mauricio Faria de Oliveira (2):
partitions/aix: fix usage of uninitialized lv_info and lvname structures partitions/aix: append null character to print data from disk

Mauro Carvalho Chehab (1):
media: rtl28xxu: be sure that it won't go past the array size

Max Filippov (2):
xtensa: limit offsets in __loop_cache_{all,page}
xtensa: increase ranges in ___invalidate_{i,d}cache_all

Maxence Duprès (1):
USB: add quirk for WORLDE Controller KS49 or Prodipe MIDI 49C USB controller

Mian Yousaf Kaukab (1):
usb: gadget: net2280: fix pullup handling

Michael Bringmann (1):
powerpc/pseries: Fix unitialized timer reset on migration

Michael Buesch (2):
b43/leds: Ensure NUL-termination of LED name string b43legacy/leds: Ensure NUL-termination of LED name string

Mika Båtsman (1):
media: gl861: fix probe of dvb_usb_gl861

Mike Christie (1):
iscsi target: fix session creation failure handling

Mike Snitzer (1):
dm cache metadata: save in-core policy_hint_size to on-disk superblock

Miklos Szeredi (3):
fuse: don't wake up reserved req in fuse_conn_kill()
fuse: flush requests on umount
fuse: Fix oops at process_init_reply()

Mikulas Patocka (13):
fb: fix lost console when the user unplugs a USB adapter
udlfb: fix semaphore value leak
udlfb: fix display corruption of the last line
udlfb: don't switch if we are switching to the same videomode
udlfb: make a local copy of fb_ops
udlfb: set optimal write delay
udlfb: handle allocation failure
udlfb: set line_length in dlfb_ops_set_par
udl-kms: change down_interruptible to down
udl-kms: handle allocation failure
udl-kms: fix crash due to uninitialized memory
dm: disable CRYPTO_TFM_REQ_MAY_SLEEP to fix a GFP_KERNEL recursion deadlock
mach64: detect the dot clock divider correctly on sparc

Nadav Amit (1):
x86/mm: Use WRITE_ONCE() when setting PTEs

Nicholas Mc Guire (3):
ALSA: snd-aoa: add of_node_put() in error path
ARM: hisi: handle of_iomap and fix missing of_node_put
cifs: check kmalloc before use

Nicholas Piggin (1):
mm: move tlb_table_flush to tlb_flush_mmu_free

Oliver Neukum (3):
usb: uas: add support for more quirk flags
USB: usbdevfs: sanitize flags more
USB: usbdevfs: restore warning for nonsensical flags

Olle Liljenzin (1):
platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill

Ondrej Mosnáček (1):
audit: Fix extended comparison of GID/EGID

Paolo Abeni (2):
ip6_tunnel: be careful when accessing the inner header
ip_tunnel: be careful when accessing the inner header

Parav Pandit (1):
RDMA/cma: Protect cma dev list with lock

Paul Mackerras (1):
KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function

Pavel Tikhomirov (1):
mm: cleancache: fix corruption on missed inode invalidation

Peter Zijlstra (3):
mm/tlb: Remove tlb_remove_table() non-concurrent condition perf/core: Fix perf_pmu_unregister() locking x86/percpu: Fix this_cpu_read()

Prarit Bhargava (1):
x86/microcode: Make sure boot_cpu_data.microcode is up-to-date

Punit Agrawal (2):
KVM: arm/arm64: Skip updating PMD entry if no change
KVM: arm/arm64: Skip updating PTE entry if no change

Rafael J. Wysocki (1):
PM / core: Clear the direct_complete flag on errors

Rian Hunter (1):
x86/process: Re-export start_thread()

Richard Weinberger (4):
ubifs: Fix synced_i_size calculation for xattr inodes
ubifs: Fix memory leak in lprobs self-check
ubifs: Check data node size before truncate
ubifs: Check for name being NULL while mounting

Roopa Prabhu (2):
vxlan: add new fdb alloc and create helpers
vxlan: fix default fdb entry netlink notify ordering during netdev create

Sabrina Dubroca (2):
ipv6: fix cleanup ordering for pingv6 registration
net: ipv4: update fnhe_pmtu when first hop's MTU changes

Sagi Grimberg (1):
iscsi-target: nullify session in failed login sequence

Sebastian Ott (1):
s390/pci: fix out of bounds access during irq setup

Shahed Shaikh (1):
qlcnic: fix Tx descriptor corruption on 82xx devices

Shenghui Wang (1):
dm cache: destroy migration_cache if cache target registration failed

Shuah Khan (Samsung OSG) (1):
usb: usbip: Fix BUG: KASAN: slab-out-of-bounds in vhci_hub_control()

Shubhrajyoti Datta (1):
i2c: xiic: Make the start and the byte count write atomic

Simon Vincent (1):
ieee802154: 6lowpan: ensure header compression does not corrupt ipv6 header

Steffen Klassert (1):
xfrm: Validate address prefix lengths in the xfrm selector.

Steve French (4):
smb3: fill in statfs fsid and correct namelen
cifs: add missing debug entries for kconfig options
SMB3: Backup intent flag missing for directory opens with backupuid mounts
smb3: check for and properly advertise directory lease support

Steve Wise (3):
RDMA/cxgb4: Only call CQ completion handler if it is armed
iw_cxgb4: atomically flush the qp
iw_cxgb4: only allow 1 flush on user qps

Steven Rostedt (VMware) (3):
tracing: Do not call start/stop() functions when tracing_on does not change
uprobes: Use synchronize_rcu() not synchronize_sched() tracing/blktrace: Fix to allow setting same value

Sven Eckelmann (8):
ath10k: prevent active scans on potential unusable channels
batman-adv: Prevent duplicated gateway_node entry
batman-adv: Use kref_get for batadv_nc_get_nc_node
batman-adv: Prevent duplicated nc_node entry
batman-adv: Place kref_get for softif_vlan near use
batman-adv: Prevent duplicated softif_vlan entry
batman-adv: Prevent duplicated global TT entry
batman-adv: Prevent duplicated tvlv handler

Sylwester Nawrocki (1):
media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()

Taehee Yoo (1):
netfilter: nft_set: fix allocation size overflow in privsize callback.

Takashi Iwai (9):
EDAC: i7core: Return proper error codes for kzalloc() errors platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
ALSA: memalloc: Don't exceed over the requested size
ALSA: seq: Fix poll() error return
ALSA: vx: Fix possible transfer overflow
ALSA: vx222: Fix invalid endian conversions
ALSA: vxpocket: Fix invalid endian conversions
ALSA: cs5535audio: Fix invalid endian conversion
ALSA: virmidi: Fix too long output trigger loop

Takashi Sakamoto (1):
ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping

Thadeu Lima de Souza Cascardo (1):
xfrm6: call kfree_skb when skb is toobig

Theodore Ts'o (6):
ext4: check for NUL characters in extended attribute's name
ext4: check to make sure the rename(2)'s destination is not freed
ext4: avoid divide by zero fault when deleting corrupted inline directories
ext4: fix online resize's handling of a too-small final block group
ext4: prevent online resize with backup superblock
ext4: fix online resizing for bigalloc file systems with a 1k block size

Thomas Gleixner (3):
alarmtimer: Prevent overflow for relative nanosleep x86/boot: Move EISA setup to a separate file
posix-timers: Sanitize overrun handling

Thomas Petazzoni (2):
PCI: mvebu: Fix I/O space end address calculation
ARM: 8799/1: mm: fix pci_ioremap_io() offset check

Thomas Werschlein (1):
cifs: connect to servername instead of IP for IPC$ share

Tim Anderson (1):
USB: Add quirk to support DJI CineSSD

Tomas Bortoli (3):
net/9p/client.c: version pointer uninitialized net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree() 9p: fix multiple NULL-pointer-dereferences

Tomi Valkeinen (1):
fbdev/omapfb: fix omapfb_memory_read infoleak

Tycho Andersen (1):
uart: fix race between uart_put_char() and uart_shutdown()

Vaibhav Nagarnaik (1):
ring-buffer: Allow for rescheduling when removing pages

Varka Bhadram (1):
mac802154: common tx error path

Vignesh R (2):
pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
pwm: tiehrpwm: Fix disabling of output of PWMs

Vineet Gupta (1):
ARC: clone syscall to setp r25 as thread pointer

Vitaly Kuznetsov (2):
xen-netfront: fix queue name setting
tools: hv: fcopy: set 'error' in case an unknown operation was requested

Wei Wang (2):
l2tp: use sk_dst_check() to avoid race on sk->sk_dst_cache
ipv6: take rcu lock in rawv6_send_hdrinc()

Willy Tarreau (1):
ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO

Xiao Liang (1):
xen-netfront: fix warn message as irq device name has '/'

Yelena Krivosheev (1):
net: mvneta: fix mtu change on port without link

Young_X (1):
cdrom: fix improper type cast, which can leat to information leak.

Yu Zhao (1):
regulator: fix crash caused by null driver data

YueHaibing (2):
xfrm: fix 'passing zero to ERR_PTR()' warning
pinctrl: berlin: fix 'pctrl->functions' allocation in berlin_pinctrl_build_state

jiangyiwen (1):
9p/virtio: fix off-by-one error in sg list bounds check

piaojun (1):
fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

Makefile +1 -1
index d544d7e6c26a..e8aa5044ebdd 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 16
-SUBLEVEL = 61
+SUBLEVEL = 62
 EXTRAVERSION =
 NAME = Museum of Fishiegoodies
 
arch/arc/kernel/process.c +20 -0
index fdd89715d2d3..168c1d835739 100644
@@ -147,6 +147,26 @@ int copy_thread(unsigned long clone_flags,
 		task_thread_info(current)->thr_ptr;
 	}
 
+
+	/*
+	 * setup usermode thread pointer #1:
+	 * when child is picked by scheduler, __switch_to() uses @c_callee to
+	 * populate usermode callee regs: this works (despite being in a kernel
+	 * function) since special return path for child @ret_from_fork()
+	 * ensures those regs are not clobbered all the way to RTIE to usermode
+	 */
+	c_callee->r25 = task_thread_info(p)->thr_ptr;
+
+#ifdef CONFIG_ARC_CURR_IN_REG
+	/*
+	 * setup usermode thread pointer #2:
+	 * however for this special use of r25 in kernel, __switch_to() sets
+	 * r25 for kernel needs and only in the final return path is usermode
+	 * r25 setup, from pt_regs->user_r25. So set that up as well
+	 */
+	c_regs->user_r25 = c_callee->r25;
+#endif
+
 	return 0;
 }
 
arch/arm/boot/dts/tegra30-cardhu.dtsi +1 -0
index 0cf0848a82d8..d47acdb7b068 100644
@@ -193,6 +193,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x70>;
+			reset-gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>;
 		};
 	};
 
arch/arm/kvm/mmu.c +31 -11

56 lines not on this page · raw message

arch/arm/mach-hisi/hotplug.c +13 -6
index abd441b0c604..885a4fca918d 100644
@@ -137,13 +137,20 @@ static int hi3xxx_hotplug_init(void)
 	struct device_node *node;
 
 	node = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl");
-	if (node) {
-		ctrl_base = of_iomap(node, 0);
-		id = HI3620_CTRL;
-		return 0;
+	if (!node) {
+		id = ERROR_CTRL;
+		return -ENOENT;
 	}
-	id = ERROR_CTRL;
-	return -ENOENT;
+
+	ctrl_base = of_iomap(node, 0);
+	of_node_put(node);
+	if (!ctrl_base) {
+		id = ERROR_CTRL;
+		return -ENOMEM;
+	}
+
+	id = HI3620_CTRL;
+	return 0;
 }
 
 void hi3xxx_set_cpu(int cpu, bool enable)
arch/arm/mm/ioremap.c +1 -1
index d1e5ad7ab3bc..1500d3befe02 100644
@@ -447,7 +447,7 @@ void pci_ioremap_set_mem_type(int mem_type)
 
 int pci_ioremap_io(unsigned int offset, phys_addr_t phys_addr)
 {
-	BUG_ON(offset + SZ_64K > IO_SPACE_LIMIT);
+	BUG_ON(offset + SZ_64K - 1 > IO_SPACE_LIMIT);
 
 	return ioremap_page_range(PCI_IO_VIRT_BASE + offset,
 				  PCI_IO_VIRT_BASE + offset + SZ_64K,
arch/arm64/kvm/guest.c +45 -0

63 lines not on this page · raw message

arch/arm64/mm/init.c +5 -1
index 01bfca35b0aa..c260c06e09a7 100644
@@ -113,7 +113,11 @@ static void __init zone_sizes_init(unsigned long min, unsigned long max)
 #ifdef CONFIG_HAVE_ARCH_PFN_VALID
 int pfn_valid(unsigned long pfn)
 {
-	return memblock_is_memory(pfn << PAGE_SHIFT);
+	phys_addr_t addr = pfn << PAGE_SHIFT;
+
+	if ((addr >> PAGE_SHIFT) != pfn)
+		return 0;
+	return memblock_is_memory(addr);
 }
 EXPORT_SYMBOL(pfn_valid);
 #endif
arch/mips/include/asm/processor.h +14 -1
index 3a05491b851e..223fa59ed1f2 100644
@@ -143,7 +143,7 @@ struct mips_fpu_struct {
 
 #define NUM_DSP_REGS   6
 
-typedef __u32 dspreg_t;
+typedef unsigned long dspreg_t;
 
 struct mips_dsp_state {
 	dspreg_t	dspr[NUM_DSP_REGS];
@@ -366,7 +366,20 @@ unsigned long get_wchan(struct task_struct *p);
 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29])
 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
 
+#ifdef CONFIG_CPU_LOONGSON3
+/*
+ * Loongson-3's SFB (Store-Fill-Buffer) may buffer writes indefinitely when a
+ * tight read loop is executed, because reads take priority over writes & the
+ * hardware (incorrectly) doesn't ensure that writes will eventually occur.
+ *
+ * Since spin loops of any kind should have a cpu_relax() in them, force an SFB
+ * flush from cpu_relax() such that any pending writes will become visible as
+ * expected.
+ */
+#define cpu_relax()	smp_mb()
+#else
 #define cpu_relax()	barrier()
+#endif
 
 /*
  * Return_address is a replacement for __builtin_return_address(count)
arch/mips/kernel/ptrace.c +1 -1
index 3d5b457be415..e24cf0ad3be3 100644
@@ -790,7 +790,7 @@ long arch_ptrace(struct task_struct *child, long request,
 				goto out;
 			}
 			dregs = __get_dsp_regs(child);
-			tmp = (unsigned long) (dregs[addr - DSP_BASE]);
+			tmp = dregs[addr - DSP_BASE];
 			break;
 		}
 		case DSP_CONTROL:
arch/mips/kernel/ptrace32.c +1 -1
index 38d99886300c..755ecdf842de 100644
@@ -140,7 +140,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
 				goto out;
 			}
 			dregs = __get_dsp_regs(child);
-			tmp = (unsigned long) (dregs[addr - DSP_BASE]);
+			tmp = dregs[addr - DSP_BASE];
 			break;
 		}
 		case DSP_CONTROL:
arch/mips/lib/memset.S +3 -1
index 3d3377ca2b22..2500421a7b17 100644
@@ -213,9 +213,11 @@
 	 nop
 
 .Lsmall_fixup\@:
+	.set		reorder
 	PTR_SUBU	a2, t1, a0
+	PTR_ADDIU	a2, 1
 	jr		ra
-	 PTR_ADDIU	a2, 1
+	.set		noreorder
 
 	.endm
 
arch/powerpc/include/asm/fadump.h +0 -3
index a6774560afe3..1b91b129147f 100644
@@ -194,9 +194,6 @@ struct fadump_crash_info_header {
 	struct cpumask	cpu_online_mask;
 };
 
-/* Crash memory ranges */
-#define INIT_CRASHMEM_RANGES	(INIT_MEMBLOCK_REGIONS + 2)
-
 struct fad_crash_memory_ranges {
 	unsigned long long	base;
 	unsigned long long	size;
arch/powerpc/kernel/fadump.c +78 -14

174 lines not on this page · raw message

arch/powerpc/kvm/book3s_64_mmu_hv.c +1 -1
index 68468d695f12..ccae6963d1cf 100644
@@ -451,7 +451,7 @@ static int kvmppc_mmu_book3s_64_hv_xlate(struct kvm_vcpu *vcpu, gva_t eaddr,
 	unsigned long pp, key;
 	unsigned long v, gr;
 	unsigned long *hptep;
-	int index;
+	long int index;
 	int virtmode = vcpu->arch.shregs.msr & (data ? MSR_DR : MSR_IR);
 
 	/* Get SLB entry */
arch/powerpc/mm/numa.c +2 -2
index 99960b0540e1..9daf72516606 100644
@@ -1654,8 +1654,8 @@ static struct timer_list topology_timer =
 static void reset_topology_timer(void)
 {
 	topology_timer.data = 0;
-	topology_timer.expires = jiffies + 60 * HZ;
-	mod_timer(&topology_timer, topology_timer.expires);
+	if (vphn_enabled)
+		mod_timer(&topology_timer, jiffies + 60 * HZ);
 }
 
 #ifdef CONFIG_SMP
arch/powerpc/platforms/powernv/pci-ioda.c +37 -0
index 34bd00be8018..910d26ee0712 100644
@@ -1132,6 +1132,41 @@ static void pnv_pci_ioda_create_dbgfs(void)
 #endif /* CONFIG_DEBUG_FS */
 }
 
+static void pnv_pci_enable_bridge(struct pci_bus *bus)
+{
+	struct pci_dev *dev = bus->self;
+	struct pci_bus *child;
+
+	/* Empty bus ? bail */
+	if (list_empty(&bus->devices))
+		return;
+
+	/*
+	 * If there's a bridge associated with that bus enable it. This works
+	 * around races in the generic code if the enabling is done during
+	 * parallel probing. This can be removed once those races have been
+	 * fixed.
+	 */
+	if (dev) {
+		int rc = pci_enable_device(dev);
+		if (rc)
+			dev_err(&dev->dev, "Error enabling bridge (%d)\n", rc);
+		pci_set_master(dev);
+	}
+
+	/* Perform the same to child busses */
+	list_for_each_entry(child, &bus->children, node)
+		pnv_pci_enable_bridge(child);
+}
+
+static void pnv_pci_enable_bridges(void)
+{
+	struct pci_controller *hose;
+
+	list_for_each_entry(hose, &hose_list, list_node)
+		pnv_pci_enable_bridge(hose->bus);
+}
+
 static void pnv_pci_ioda_fixup(void)
 {
 	pnv_pci_ioda_setup_PEs();
@@ -1140,6 +1175,8 @@ static void pnv_pci_ioda_fixup(void)
 
 	pnv_pci_ioda_create_dbgfs();
 
+	pnv_pci_enable_bridges();
+
 #ifdef CONFIG_EEH
 	eeh_probe_mode_set(EEH_PROBE_MODE_DEV);
 	eeh_addr_cache_build();
arch/powerpc/platforms/pseries/ras.c +2 -2
index 55cbad443500..c2eb366ff0ac 100644
@@ -298,7 +298,7 @@ static struct rtas_error_log *fwnmi_get_errinfo(struct pt_regs *regs)
 	}
 
 	savep = __va(regs->gpr[3]);
-	regs->gpr[3] = savep[0];	/* restore original r3 */
+	regs->gpr[3] = be64_to_cpu(savep[0]);	/* restore original r3 */
 
 	/* If it isn't an extended log we can use the per cpu 64bit buffer */
 	h = (struct rtas_error_log *)&savep[1];
@@ -309,7 +309,7 @@ static struct rtas_error_log *fwnmi_get_errinfo(struct pt_regs *regs)
 		int len, error_log_length;
 
 		error_log_length = 8 + rtas_error_extended_log_length(h);
-		len = max_t(int, error_log_length, RTAS_ERROR_LOG_MAX);
+		len = min_t(int, error_log_length, RTAS_ERROR_LOG_MAX);
 		memset(global_mce_data_buf, 0, RTAS_ERROR_LOG_MAX);
 		memcpy(global_mce_data_buf, h, len);
 		errhdr = (struct rtas_error_log *)global_mce_data_buf;
arch/powerpc/sysdev/mpic_msgr.c +1 -1
index 2c9b52aa266c..9f34af4ee047 100644
@@ -196,7 +196,7 @@ static int mpic_msgr_probe(struct platform_device *dev)
 
 	/* IO map the message register block. */
 	of_address_to_resource(np, 0, &rsrc);
-	msgr_block_addr = ioremap(rsrc.start, rsrc.end - rsrc.start);
+	msgr_block_addr = ioremap(rsrc.start, resource_size(&rsrc));
 	if (!msgr_block_addr) {
 		dev_err(&dev->dev, "Failed to iomap MPIC message registers");
 		return -EFAULT;
arch/s390/include/asm/qdio.h +0 -1
index d786c634e052..a20d6132405c 100644
@@ -271,7 +271,6 @@ struct qdio_outbuf_state {
 	void *user;
 };
 
-#define QDIO_OUTBUF_STATE_FLAG_NONE	0x00
 #define QDIO_OUTBUF_STATE_FLAG_PENDING	0x01
 
 #define CHSC_AC1_INITIATE_INPUTQ	0x80
arch/s390/mm/fault.c +2 -0
index 6da2b0bf6a32..832392b70b5f 100644
@@ -497,6 +497,8 @@ static inline int do_exception(struct pt_regs *regs, int access)
 	/* No reason to continue if interrupted by SIGKILL. */
 	if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) {
 		fault = VM_FAULT_SIGNAL;
+		if (flags & FAULT_FLAG_RETRY_NOWAIT)
+			goto out_up;
 		goto out;
 	}
 	if (unlikely(fault & VM_FAULT_ERROR))
arch/s390/pci/pci.c +2 -0
index 950e7e350780..4350d725b914 100644
@@ -397,6 +397,8 @@ int arch_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
 	hwirq = 0;
 	list_for_each_entry(msi, &pdev->msi_list, list) {
 		rc = -EIO;
+		if (hwirq >= msi_vecs)
+			break;
 		irq = irq_alloc_desc(0);	/* Alloc irq on node 0 */
 		if (irq < 0)
 			goto out_msi;
arch/x86/include/asm/kdebug.h +11 -1
index 32ce71375b21..5683ea84a6fc 100644
@@ -21,12 +21,22 @@ enum die_val {
 	DIE_NMIUNKNOWN,
 };
 
+enum show_regs_mode {
+	SHOW_REGS_SHORT,
+	/*
+	 * For when userspace crashed, but we don't think it's our fault, and
+	 * therefore don't print kernel registers.
+	 */
+	SHOW_REGS_USER,
+	SHOW_REGS_ALL
+};
+
 extern void printk_address(unsigned long address);
 extern void die(const char *, struct pt_regs *,long);
 extern int __must_check __die(const char *, struct pt_regs *, long);
 extern void show_trace(struct task_struct *t, struct pt_regs *regs,
 		       unsigned long *sp, unsigned long bp);
-extern void __show_regs(struct pt_regs *regs, int all);
+extern void __show_regs(struct pt_regs *regs, enum show_regs_mode);
 extern unsigned long oops_begin(void);
 extern void oops_end(unsigned long, struct pt_regs *, int signr);
 #ifdef CONFIG_KEXEC
arch/x86/include/asm/microcode_intel.h +15 -0
index 9067166409bf..600ed4e90628 100644
@@ -63,6 +63,21 @@ extern int get_matching_sig(unsigned int csig, int cpf, void *mc, int rev);
 extern int
 update_match_revision(struct microcode_header_intel *mc_header, int rev);
 
+static inline u32 intel_get_microcode_revision(void)
+{
+	u32 rev, dummy;
+
+	native_wrmsrl(MSR_IA32_UCODE_REV, 0);
+
+	/* As documented in the SDM: Do a CPUID 1 here */
+	sync_core();
+
+	/* get the current revision from MSR 0x8B */
+	native_rdmsr(MSR_IA32_UCODE_REV, dummy, rev);
+
+	return rev;
+}
+
 #ifdef CONFIG_MICROCODE_INTEL_EARLY
 extern void __init load_ucode_intel_bsp(void);
 extern void load_ucode_intel_ap(void);
arch/x86/include/asm/percpu.h +4 -4
index 851bcdc5db04..83ad4424d711 100644
@@ -185,22 +185,22 @@ do {									\
 	typeof(var) pfo_ret__;				\
 	switch (sizeof(var)) {				\
 	case 1:						\
-		asm(op "b "__percpu_arg(1)",%0"		\
+		asm volatile(op "b "__percpu_arg(1)",%0"\
 		    : "=q" (pfo_ret__)			\
 		    : constraint);			\
 		break;					\
 	case 2:						\
-		asm(op "w "__percpu_arg(1)",%0"		\
+		asm volatile(op "w "__percpu_arg(1)",%0"\
 		    : "=r" (pfo_ret__)			\
 		    : constraint);			\
 		break;					\
 	case 4:						\
-		asm(op "l "__percpu_arg(1)",%0"		\
+		asm volatile(op "l "__percpu_arg(1)",%0"\
 		    : "=r" (pfo_ret__)			\
 		    : constraint);			\
 		break;					\
 	case 8:						\
-		asm(op "q "__percpu_arg(1)",%0"		\
+		asm volatile(op "q "__percpu_arg(1)",%0"\
 		    : "=r" (pfo_ret__)			\
 		    : constraint);			\
 		break;					\
arch/x86/include/asm/pgtable_64.h +8 -8
index 1d0eefbf3e12..df920ab4118b 100644
@@ -44,15 +44,15 @@ struct mm_struct;
 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte);
 
 
-static inline void native_pte_clear(struct mm_struct *mm, unsigned long addr,
-				    pte_t *ptep)
+static inline void native_set_pte(pte_t *ptep, pte_t pte)
 {
-	*ptep = native_make_pte(0);
+	ACCESS_ONCE(*ptep) = pte;
 }
 
-static inline void native_set_pte(pte_t *ptep, pte_t pte)
+static inline void native_pte_clear(struct mm_struct *mm, unsigned long addr,
+				    pte_t *ptep)
 {
-	*ptep = pte;
+	native_set_pte(ptep, native_make_pte(0));
 }
 
 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
@@ -62,7 +62,7 @@ static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
 
 static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
 {
-	*pmdp = pmd;
+	ACCESS_ONCE(*pmdp) = pmd;
 }
 
 static inline void native_pmd_clear(pmd_t *pmd)
@@ -98,7 +98,7 @@ static inline pmd_t native_pmdp_get_and_clear(pmd_t *xp)
 
 static inline void native_set_pud(pud_t *pudp, pud_t pud)
 {
-	*pudp = pud;
+	ACCESS_ONCE(*pudp) = pud;
 }
 
 static inline void native_pud_clear(pud_t *pud)
@@ -131,7 +131,7 @@ static inline pgd_t *native_get_shadow_pgd(pgd_t *pgdp)
 
 static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd)
 {
-	*pgdp = kaiser_set_shadow_pgd(pgdp, pgd);
+	ACCESS_ONCE(*pgdp) = kaiser_set_shadow_pgd(pgdp, pgd);
 }
 
 static inline void native_pgd_clear(pgd_t *pgd)
arch/x86/include/asm/processor.h +3 -1
index 280bfa055fc2..935d0c063a50 100644
@@ -127,6 +127,8 @@ struct cpuinfo_x86 {
 	/* Index into per_cpu list: */
 	u16			cpu_index;
 	u32			microcode;
+	/* Address space bits used by the cache internally */
+	u8			x86_cache_bits;
 } __attribute__((__aligned__(SMP_CACHE_BYTES)));
 
 #define X86_VENDOR_INTEL	0
@@ -167,7 +169,7 @@ extern void fpu_detect(struct cpuinfo_x86 *c);
 
 static inline unsigned long long l1tf_pfn_limit(void)
 {
-	return BIT_ULL(boot_cpu_data.x86_phys_bits - 1 - PAGE_SHIFT);
+	return BIT_ULL(boot_cpu_data.x86_cache_bits - 1 - PAGE_SHIFT);
 }
 
 extern void early_cpu_init(void);
arch/x86/kernel/Makefile +1 -0
index 047f9ff2e36c..3bda2d9ec006 100644
@@ -92,6 +92,7 @@ obj-$(CONFIG_PARAVIRT)		+= paravirt.o paravirt_patch_$(BITS).o
 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= paravirt-spinlocks.o
 obj-$(CONFIG_PARAVIRT_CLOCK)	+= pvclock.o
 
+obj-$(CONFIG_EISA)		+= eisa.o
 obj-$(CONFIG_PCSPKR_PLATFORM)	+= pcspeaker.o
 
 obj-$(CONFIG_X86_CHECK_BIOS_CORRUPTION) += check.o
arch/x86/kernel/cpu/bugs.c +41 -5

63 lines not on this page · raw message

arch/x86/kernel/cpu/common.c +1 -0
index 2068a648f893..e8ecf617ca4a 100644
@@ -772,6 +772,7 @@ void get_cpu_cap(struct cpuinfo_x86 *c)
 	else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36))
 		c->x86_phys_bits = 36;
 #endif
+	c->x86_cache_bits = c->x86_phys_bits;
 
 	if (c->extended_cpuid_level >= 0x80000007)
 		c->x86_power = cpuid_edx(0x80000007);
arch/x86/kernel/cpu/intel.c +6 -8
index 0d41977fb6ad..1fda971a0726 100644
@@ -14,6 +14,7 @@
 #include <asm/bugs.h>
 #include <asm/cpu.h>
 #include <asm/intel-family.h>
+#include <asm/microcode_intel.h>
 
 #ifdef CONFIG_X86_64
 #include <linux/topology.h>
@@ -75,6 +76,9 @@ static bool bad_spectre_microcode(struct cpuinfo_x86 *c)
 	if (cpu_has(c, X86_FEATURE_HYPERVISOR))
 		return false;
 
+	if (c->x86 != 6)
+		return false;
+
 	for (i = 0; i < ARRAY_SIZE(spectre_bad_microcodes); i++) {
 		if (c->x86_model == spectre_bad_microcodes[i].model &&
 		    c->x86_mask == spectre_bad_microcodes[i].stepping)
@@ -100,14 +104,8 @@ static void early_init_intel(struct cpuinfo_x86 *c)
 		(c->x86 == 0x6 && c->x86_model >= 0x0e))
 		set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
 
-	if (c->x86 >= 6 && !cpu_has(c, X86_FEATURE_IA64)) {
-		unsigned lower_word;
-
-		wrmsr(MSR_IA32_UCODE_REV, 0, 0);
-		/* Required by the SDM */
-		sync_core();
-		rdmsr(MSR_IA32_UCODE_REV, lower_word, c->microcode);
-	}
+	if (c->x86 >= 6 && !cpu_has(c, X86_FEATURE_IA64))
+		c->microcode = intel_get_microcode_revision();
 
 	/* Now if any of them are set, check the blacklist and clear the lot */
 	if ((cpu_has(c, X86_FEATURE_SPEC_CTRL) ||
arch/x86/kernel/cpu/microcode/amd.c +13 -9
index 8fffd845e22b..ff16949e7f3d 100644
@@ -214,22 +214,26 @@ int apply_microcode_amd(int cpu)
 	rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
 
 	/* need to apply patch? */
-	if (rev >= mc_amd->hdr.patch_id) {
-		c->microcode = rev;
-		uci->cpu_sig.rev = rev;
-		return 0;
-	}
+	if (rev >= mc_amd->hdr.patch_id)
+		goto out;
 
 	if (__apply_microcode_amd(mc_amd)) {
 		pr_err("CPU%d: update failed for patch_level=0x%08x\n",
 			cpu, mc_amd->hdr.patch_id);
 		return -1;
 	}
-	pr_info("CPU%d: new patch_level=0x%08x\n", cpu,
-		mc_amd->hdr.patch_id);
 
-	uci->cpu_sig.rev = mc_amd->hdr.patch_id;
-	c->microcode = mc_amd->hdr.patch_id;
+	rev = mc_amd->hdr.patch_id;
+
+	pr_info("CPU%d: new patch_level=0x%08x\n", cpu, rev);
+
+out:
+	uci->cpu_sig.rev = rev;
+	c->microcode	 = rev;
+
+	/* Update boot_cpu_data's revision too, if we're on the BSP: */
+	if (c->cpu_index == boot_cpu_data.cpu_index)
+		boot_cpu_data.microcode = rev;
 
 	return 0;
 }
arch/x86/kernel/cpu/microcode/intel.c +20 -11
index 7a93397bcc35..96fc70c033a2 100644
@@ -134,9 +134,9 @@ int apply_microcode(int cpu)
 {
 	struct microcode_intel *mc_intel;
 	struct ucode_cpu_info *uci;
-	unsigned int val[2];
 	int cpu_num = raw_smp_processor_id();
 	struct cpuinfo_x86 *c = &cpu_data(cpu_num);
+	u32 rev;
 
 	uci = ucode_cpu_info + cpu;
 	mc_intel = uci->mc;
@@ -155,31 +155,40 @@ int apply_microcode(int cpu)
 	if (get_matching_mc(mc_intel, cpu) == 0)
 		return 0;
 
+	/*
+	 * Save us the MSR write below - which is a particular expensive
+	 * operation - when the other hyperthread has updated the microcode
+	 * already.
+	 */
+	rev = intel_get_microcode_revision();
+	if (rev >= mc_intel->hdr.rev)
+		goto out;
+
 	/* write microcode via MSR 0x79 */
 	wrmsr(MSR_IA32_UCODE_WRITE,
 	      (unsigned long) mc_intel->bits,
 	      (unsigned long) mc_intel->bits >> 16 >> 16);
-	wrmsr(MSR_IA32_UCODE_REV, 0, 0);
-
-	/* As documented in the SDM: Do a CPUID 1 here */
-	sync_core();
 
-	/* get the current revision from MSR 0x8B */
-	rdmsr(MSR_IA32_UCODE_REV, val[0], val[1]);
+	rev = intel_get_microcode_revision();
 
-	if (val[1] != mc_intel->hdr.rev) {
+	if (rev != mc_intel->hdr.rev) {
 		pr_err("CPU%d update to revision 0x%x failed\n",
 		       cpu_num, mc_intel->hdr.rev);
 		return -1;
 	}
 	pr_info("CPU%d updated to revision 0x%x, date = %04x-%02x-%02x\n",
-		cpu_num, val[1],
+		cpu_num, rev,
 		mc_intel->hdr.date & 0xffff,
 		mc_intel->hdr.date >> 24,
 		(mc_intel->hdr.date >> 16) & 0xff);
 
-	uci->cpu_sig.rev = val[1];
-	c->microcode = val[1];
+out:
+	uci->cpu_sig.rev = rev;
+	c->microcode	 = rev;
+
+	/* Update boot_cpu_data's revision too, if we're on the BSP: */
+	if (c->cpu_index == boot_cpu_data.cpu_index)
+		boot_cpu_data.microcode = rev;
 
 	return 0;
 }
arch/x86/kernel/cpu/microcode/intel_early.c +16 -17
index 43a07bf48dea..d31a60ced5eb 100644
@@ -391,15 +391,8 @@ static int collect_cpu_info_early(struct ucode_cpu_info *uci)
 		native_rdmsr(MSR_IA32_PLATFORM_ID, val[0], val[1]);
 		csig.pf = 1 << ((val[1] >> 18) & 7);
 	}
-	native_wrmsr(MSR_IA32_UCODE_REV, 0, 0);
 
-	/* As documented in the SDM: Do a CPUID 1 here */
-	sync_core();
-
-	/* get the current revision from MSR 0x8B */
-	native_rdmsr(MSR_IA32_UCODE_REV, val[0], val[1]);
-
-	csig.rev = val[1];
+	csig.rev = intel_get_microcode_revision();
 
 	uci->cpu_sig = csig;
 	uci->valid = 1;
@@ -654,31 +647,37 @@ static int apply_microcode_early(struct mc_saved_data *mc_saved_data,
 				 struct ucode_cpu_info *uci)
 {
 	struct microcode_intel *mc_intel;
-	unsigned int val[2];
+	u32 rev;
 
 	mc_intel = uci->mc;
 	if (mc_intel == NULL)
 		return 0;
 
+	/*
+	 * Save us the MSR write below - which is a particular expensive
+	 * operation - when the other hyperthread has updated the microcode
+	 * already.
+	 */
+	rev = intel_get_microcode_revision();
+	if (rev >= mc_intel->hdr.rev) {
+		uci->cpu_sig.rev = rev;
+		return 0;
+	}
+
 	/* write microcode via MSR 0x79 */
 	native_wrmsr(MSR_IA32_UCODE_WRITE,
 	      (unsigned long) mc_intel->bits,
 	      (unsigned long) mc_intel->bits >> 16 >> 16);
-	native_wrmsr(MSR_IA32_UCODE_REV, 0, 0);
-
-	/* As documented in the SDM: Do a CPUID 1 here */
-	sync_core();
 
-	/* get the current revision from MSR 0x8B */
-	native_rdmsr(MSR_IA32_UCODE_REV, val[0], val[1]);
-	if (val[1] != mc_intel->hdr.rev)
+	rev = intel_get_microcode_revision();
+	if (rev != mc_intel->hdr.rev)
 		return -1;
 
 #ifdef CONFIG_X86_64
 	/* Flush global tlb. This is precaution. */
 	flush_tlb_early();
 #endif
-	uci->cpu_sig.rev = val[1];
+	uci->cpu_sig.rev = rev;
 
 	print_ucode(uci);
 
arch/x86/kernel/dumpstack_32.c +1 -1
index 5abd4cd4230c..cac129fa0e7f 100644
@@ -123,7 +123,7 @@ void show_regs(struct pt_regs *regs)
 	int i;
 
 	show_regs_print_info(KERN_EMERG);
-	__show_regs(regs, !user_mode_vm(regs));
+	__show_regs(regs, user_mode_vm(regs) ? SHOW_REGS_USER : SHOW_REGS_ALL);
 
 	/*
 	 * When in-kernel, we also print out the stack and code at the
arch/x86/kernel/dumpstack_64.c +1 -1
index ff86f19b5758..879ab159aa49 100644
@@ -301,7 +301,7 @@ void show_regs(struct pt_regs *regs)
 
 	sp = regs->sp;
 	show_regs_print_info(KERN_DEFAULT);
-	__show_regs(regs, 1);
+	__show_regs(regs, user_mode(regs) ? SHOW_REGS_USER : SHOW_REGS_ALL);
 
 	/*
 	 * When in-kernel, we also print out the stack and code at the
arch/x86/kernel/eisa.c new file +24 -0
new file mode 100644
index 000000000000..7d299ff294fb
@@ -0,0 +1,24 @@
+/*
+ * EISA specific code
+ *
+ * This file is licensed under the GPL V2
+ */
+#include <linux/ioport.h>
+#include <linux/eisa.h>
+
+#include <xen/xen.h>
+
+static __init int eisa_bus_probe(void)
+{
+	void __iomem *p;
+
+	if (xen_pv_domain() && !xen_initial_domain())
+		return 0;
+
+	p = ioremap(0x0FFFD9, 4);
+	if (p && readl(p) == 'E' + ('I' << 8) + ('S' << 16) + ('A' << 24))
+		EISA_bus = 1;
+	iounmap(p);
+	return 0;
+}
+subsys_initcall(eisa_bus_probe);
arch/x86/kernel/paravirt.c +2 -2
index e9e5afd7b2b8..bd86916cba4c 100644
@@ -99,7 +99,7 @@ unsigned paravirt_patch_call(void *insnbuf,
 
 	if (len < 5) {
 #ifdef CONFIG_RETPOLINE
-		WARN_ONCE("Failing to patch indirect CALL in %ps\n", (void *)addr);
+		WARN_ONCE(1, "Failing to patch indirect CALL in %ps\n", (void *)addr);
 #endif
 		return len;	/* call too long for patch site */
 	}
@@ -119,7 +119,7 @@ unsigned paravirt_patch_jmp(void *insnbuf, const void *target,
 
 	if (len < 5) {
 #ifdef CONFIG_RETPOLINE
-		WARN_ONCE("Failing to patch indirect JMP in %ps\n", (void *)addr);
+		WARN_ONCE(1, "Failing to patch indirect JMP in %ps\n", (void *)addr);
 #endif
 		return len;	/* call too long for patch site */
 	}
arch/x86/kernel/process_32.c +2 -2
index 7bc86bbe7485..c72b7afd3e02 100644
@@ -66,7 +66,7 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
 	return ((unsigned long *)tsk->thread.sp)[3];
 }
 
-void __show_regs(struct pt_regs *regs, int all)
+void __show_regs(struct pt_regs *regs, enum show_regs_mode mode)
 {
 	unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L;
 	unsigned long d0, d1, d2, d3, d6, d7;
@@ -95,7 +95,7 @@ void __show_regs(struct pt_regs *regs, int all)
 	printk(KERN_DEFAULT " DS: %04x ES: %04x FS: %04x GS: %04x SS: %04x\n",
 	       (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, ss);
 
-	if (!all)
+	if (mode != SHOW_REGS_ALL)
 		return;
 
 	cr0 = read_cr0();
arch/x86/kernel/process_64.c +9 -2
index 838d259bca74..512fb8c979ed 100644
@@ -56,7 +56,7 @@ asmlinkage extern void ret_from_fork(void);
 __visible DEFINE_PER_CPU_USER_MAPPED(unsigned long, old_rsp);
 
 /* Prints also some state that isn't saved in the pt_regs */
-void __show_regs(struct pt_regs *regs, int all)
+void __show_regs(struct pt_regs *regs, enum show_regs_mode mode)
 {
 	unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs;
 	unsigned long d0, d1, d2, d3, d6, d7;
@@ -88,9 +88,15 @@ void __show_regs(struct pt_regs *regs, int all)
 	rdmsrl(MSR_GS_BASE, gs);
 	rdmsrl(MSR_KERNEL_GS_BASE, shadowgs);
 
-	if (!all)
+	if (mode == SHOW_REGS_SHORT)
 		return;
 
+	if (mode == SHOW_REGS_USER) {
+		printk(KERN_DEFAULT "FS:  %016lx GS:  %016lx\n",
+		       fs, shadowgs);
+		return;
+	}
+
 	cr0 = read_cr0();
 	cr2 = read_cr2();
 	cr3 = read_cr3();
@@ -254,6 +260,7 @@ start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
 	start_thread_common(regs, new_ip, new_sp,
 			    __USER_CS, __USER_DS, 0);
 }
+EXPORT_SYMBOL_GPL(start_thread);
 
 #ifdef CONFIG_IA32_EMULATION
 void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp)
arch/x86/kernel/traps.c +0 -13
index 87acf447ef2a..6e0df1be1c19 100644
@@ -37,11 +37,6 @@
 #include <linux/smp.h>
 #include <linux/io.h>
 
-#ifdef CONFIG_EISA
-#include <linux/ioport.h>
-#include <linux/eisa.h>
-#endif
-
 #if defined(CONFIG_EDAC)
 #include <linux/edac.h>
 #endif
@@ -796,14 +791,6 @@ void __init trap_init(void)
 {
 	int i;
 
-#ifdef CONFIG_EISA
-	void __iomem *p = early_ioremap(0x0FFFD9, 4);
-
-	if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24))
-		EISA_bus = 1;
-	early_iounmap(p, 4);
-#endif
-
 	set_intr_gate(X86_TRAP_DE, divide_error);
 	set_intr_gate_ist(X86_TRAP_NMI, &nmi, NMI_STACK);
 	/* int4 can be called from all */
arch/x86/mm/kmemcheck/error.c +1 -1
index dab41876cdd5..efcdcef32e19 100644
@@ -132,7 +132,7 @@ void kmemcheck_error_recall(void)
 		break;
 	}
 
-	__show_regs(&e->regs, 1);
+	__show_regs(&e->regs, SHOW_REGS_ALL);
 	print_stack_trace(&e->trace, 0);
 }
 
arch/x86/mm/pgtable.c +3 -3
index d230776e9b19..84c6c34c2106 100644
@@ -242,7 +242,7 @@ static void pgd_mop_up_pmds(struct mm_struct *mm, pgd_t *pgdp)
 		if (pgd_val(pgd) != 0) {
 			pmd_t *pmd = (pmd_t *)pgd_page_vaddr(pgd);
 
-			pgdp[i] = native_make_pgd(0);
+			pgd_clear(&pgdp[i]);
 
 			paravirt_release_pmd(pgd_val(pgd) >> PAGE_SHIFT);
 			pmd_free(mm, pmd);
@@ -352,7 +352,7 @@ int ptep_set_access_flags(struct vm_area_struct *vma,
 	int changed = !pte_same(*ptep, entry);
 
 	if (changed && dirty) {
-		*ptep = entry;
+		set_pte(ptep, entry);
 		pte_update_defer(vma->vm_mm, address, ptep);
 	}
 
@@ -369,7 +369,7 @@ int pmdp_set_access_flags(struct vm_area_struct *vma,
 	VM_BUG_ON(address & ~HPAGE_PMD_MASK);
 
 	if (changed && dirty) {
-		*pmdp = entry;
+		set_pmd(pmdp, entry);
 		pmd_update_defer(vma->vm_mm, address, pmdp);
 		/*
 		 * We had a write-protection fault here and changed the pmd
arch/x86/vdso/vclock_gettime.c +10 -8
index c3c3cf14680f..00b5ea4d9189 100644
@@ -50,8 +50,9 @@ extern u8 pvclock_page
 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts)
 {
 	long ret;
-	asm("syscall" : "=a" (ret) :
-	    "0" (__NR_clock_gettime), "D" (clock), "S" (ts) : "memory");
+	asm ("syscall" : "=a" (ret), "=m" (*ts) :
+	     "0" (__NR_clock_gettime), "D" (clock), "S" (ts) :
+	     "memory", "rcx", "r11");
 	return ret;
 }
 
@@ -59,8 +60,9 @@ notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz)
 {
 	long ret;
 
-	asm("syscall" : "=a" (ret) :
-	    "0" (__NR_gettimeofday), "D" (tv), "S" (tz) : "memory");
+	asm ("syscall" : "=a" (ret), "=m" (*tv), "=m" (*tz) :
+	     "0" (__NR_gettimeofday), "D" (tv), "S" (tz) :
+	     "memory", "rcx", "r11");
 	return ret;
 }
 
@@ -143,12 +145,12 @@ notrace static long vdso_fallback_gettime(long clock, struct timespec *ts)
 {
 	long ret;
 
-	asm(
+	asm (
 		"mov %%ebx, %%edx \n"
 		"mov %2, %%ebx \n"
 		"call __kernel_vsyscall \n"
 		"mov %%edx, %%ebx \n"
-		: "=a" (ret)
+		: "=a" (ret), "=m" (*ts)
 		: "0" (__NR_clock_gettime), "g" (clock), "c" (ts)
 		: "memory", "edx");
 	return ret;
@@ -158,12 +160,12 @@ notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz)
 {
 	long ret;
 
-	asm(
+	asm (
 		"mov %%ebx, %%edx \n"
 		"mov %2, %%ebx \n"
 		"call __kernel_vsyscall \n"
 		"mov %%edx, %%ebx \n"
-		: "=a" (ret)
+		: "=a" (ret), "=m" (*tv), "=m" (*tz)
 		: "0" (__NR_gettimeofday), "g" (tv), "c" (tz)
 		: "memory", "edx");
 	return ret;
arch/xtensa/include/asm/cacheasm.h +42 -27

143 lines not on this page · raw message

block/bio-integrity.c +0 -26
index f56d85b6c5e3..7587f23b2657 100644
@@ -193,32 +193,6 @@ int bio_integrity_enabled(struct bio *bio)
 }
 EXPORT_SYMBOL(bio_integrity_enabled);
 
-/**
- * bio_integrity_hw_sectors - Convert 512b sectors to hardware ditto
- * @bi:		blk_integrity profile for device
- * @sectors:	Number of 512 sectors to convert
- *
- * Description: The block layer calculates everything in 512 byte
- * sectors but integrity metadata is done in terms of the hardware
- * sector size of the storage device.  Convert the block layer sectors
- * to physical sectors.
- */
-static inline unsigned int bio_integrity_hw_sectors(struct blk_integrity *bi,
-						    unsigned int sectors)
-{
-	/* At this point there are only 512b or 4096b DIF/EPP devices */
-	if (bi->sector_size == 4096)
-		return sectors >>= 3;
-
-	return sectors;
-}
-
-static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi,
-					       unsigned int sectors)
-{
-	return bio_integrity_hw_sectors(bi, sectors) * bi->tuple_size;
-}
-
 /**
  * bio_integrity_tag_size - Retrieve integrity tag space
  * @bio:	bio to inspect
block/partitions/aix.c +9 -4
index 0931f5136ab2..e36f9e35fc0f 100644
@@ -177,7 +177,7 @@ int aix_partition(struct parsed_partitions *state)
 	u32 vgda_sector = 0;
 	u32 vgda_len = 0;
 	int numlvs = 0;
-	struct pvd *pvd;
+	struct pvd *pvd = NULL;
 	struct lv_info {
 		unsigned short pps_per_lv;
 		unsigned short pps_found;
@@ -231,10 +231,11 @@ int aix_partition(struct parsed_partitions *state)
 				if (lvip[i].pps_per_lv)
 					foundlvs += 1;
 			}
+			/* pvd loops depend on n[].name and lvip[].pps_per_lv */
+			pvd = alloc_pvd(state, vgda_sector + 17);
 		}
 		put_dev_sector(sect);
 	}
-	pvd = alloc_pvd(state, vgda_sector + 17);
 	if (pvd) {
 		int numpps = be16_to_cpu(pvd->pp_count);
 		int psn_part1 = be32_to_cpu(pvd->psn_part1);
@@ -281,10 +282,14 @@ int aix_partition(struct parsed_partitions *state)
 				next_lp_ix += 1;
 		}
 		for (i = 0; i < state->limit; i += 1)
-			if (lvip[i].pps_found && !lvip[i].lv_is_contiguous)
+			if (lvip[i].pps_found && !lvip[i].lv_is_contiguous) {
+				char tmp[sizeof(n[i].name) + 1]; // null char
+
+				snprintf(tmp, sizeof(tmp), "%s", n[i].name);
 				pr_warn("partition %s (%u pp's found) is "
 					"not contiguous\n",
-					n[i].name, lvip[i].pps_found);
+					tmp, lvip[i].pps_found);
+			}
 		kfree(pvd);
 	}
 	kfree(n);
crypto/ablkcipher.c +26 -31

93 lines not on this page · raw message

crypto/blkcipher.c +26 -28

94 lines not on this page · raw message

crypto/cts.c +2 -1
index 60b9da3fa7c1..bd9405820e8a 100644
@@ -202,7 +202,8 @@ static int cts_cbc_decrypt(struct crypto_cts_ctx *ctx,
 	/* 5. Append the tail (BB - Ln) bytes of Xn (tmp) to Cn to create En */
 	memcpy(s + bsize + lastn, tmp + lastn, bsize - lastn);
 	/* 6. Decrypt En to create Pn-1 */
-	memset(iv, 0, sizeof(iv));
+	memzero_explicit(iv, sizeof(iv));
+
 	sg_set_buf(&sgsrc[0], s + bsize, bsize);
 	sg_set_buf(&sgdst[0], d, bsize);
 	err = crypto_blkcipher_decrypt_iv(&lcldesc, sgdst, sgsrc, bsize);
crypto/sha1_generic.c +1 -1
index fdf7c00de4b0..a3e50c37eb6f 100644
@@ -64,7 +64,7 @@ int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
 			src = data + done;
 		} while (done + SHA1_BLOCK_SIZE <= len);
 
-		memset(temp, 0, sizeof(temp));
+		memzero_explicit(temp, sizeof(temp));
 		partial = 0;
 	}
 	memcpy(sctx->buffer + partial, src, len - done);
crypto/sha256_generic.c +2 -3
index 136381bdd48d..cde0361b9075 100644
@@ -210,10 +210,9 @@ static void sha256_transform(u32 *state, const u8 *input)
 
 	/* clear any sensitive info... */
 	a = b = c = d = e = f = g = h = t1 = t2 = 0;
-	memset(W, 0, 64 * sizeof(u32));
+	memzero_explicit(W, 64 * sizeof(u32));
 }
 
-
 static int sha224_init(struct shash_desc *desc)
 {
 	struct sha256_state *sctx = shash_desc_ctx(desc);
@@ -316,7 +315,7 @@ static int sha224_final(struct shash_desc *desc, u8 *hash)
 	sha256_final(desc, D);
 
 	memcpy(hash, D, SHA224_DIGEST_SIZE);
-	memset(D, 0, SHA256_DIGEST_SIZE);
+	memzero_explicit(D, SHA256_DIGEST_SIZE);
 
 	return 0;
 }
crypto/sha512_generic.c +1 -1
index 6c6d901a7cc1..d350854eba7e 100644
@@ -238,7 +238,7 @@ static int sha384_final(struct shash_desc *desc, u8 *hash)
 	sha512_final(desc, D);
 
 	memcpy(hash, D, 48);
-	memset(D, 0, 64);
+	memzero_explicit(D, 64);
 
 	return 0;
 }
crypto/tgr192.c +2 -2
index f7ed2fba396c..321bc6ff2a9d 100644
@@ -612,7 +612,7 @@ static int tgr160_final(struct shash_desc *desc, u8 * out)
 
 	tgr192_final(desc, D);
 	memcpy(out, D, TGR160_DIGEST_SIZE);
-	memset(D, 0, TGR192_DIGEST_SIZE);
+	memzero_explicit(D, TGR192_DIGEST_SIZE);
 
 	return 0;
 }
@@ -623,7 +623,7 @@ static int tgr128_final(struct shash_desc *desc, u8 * out)
 
 	tgr192_final(desc, D);
 	memcpy(out, D, TGR128_DIGEST_SIZE);
-	memset(D, 0, TGR192_DIGEST_SIZE);
+	memzero_explicit(D, TGR192_DIGEST_SIZE);
 
 	return 0;
 }
crypto/vmac.c +185 -227

524 lines not on this page · raw message

crypto/wp512.c +4 -4
index 253db94b5479..7ee5a043a988 100644
@@ -1102,8 +1102,8 @@ static int wp384_final(struct shash_desc *desc, u8 *out)
 	u8 D[64];
 
 	wp512_final(desc, D);
-	memcpy (out, D, WP384_DIGEST_SIZE);
-	memset (D, 0, WP512_DIGEST_SIZE);
+	memcpy(out, D, WP384_DIGEST_SIZE);
+	memzero_explicit(D, WP512_DIGEST_SIZE);
 
 	return 0;
 }
@@ -1113,8 +1113,8 @@ static int wp256_final(struct shash_desc *desc, u8 *out)
 	u8 D[64];
 
 	wp512_final(desc, D);
-	memcpy (out, D, WP256_DIGEST_SIZE);
-	memset (D, 0, WP512_DIGEST_SIZE);
+	memcpy(out, D, WP256_DIGEST_SIZE);
+	memzero_explicit(D, WP512_DIGEST_SIZE);
 
 	return 0;
 }
drivers/acpi/bus.c +7 -6
index 60a38349f297..244ff338e5c9 100644
@@ -36,10 +36,10 @@
 #include <linux/regulator/machine.h>
 #ifdef CONFIG_X86
 #include <asm/mpspec.h>
+#include <linux/dmi.h>
 #endif
 #include <linux/pci.h>
 #include <acpi/apei.h>
-#include <linux/dmi.h>
 #include <linux/suspend.h>
 
 #include "internal.h"
@@ -82,10 +82,6 @@ static struct dmi_system_id dsdt_dmi_table[] __initdata = {
 	},
 	{}
 };
-#else
-static struct dmi_system_id dsdt_dmi_table[] __initdata = {
-	{}
-};
 #endif
 
 /* --------------------------------------------------------------------------
@@ -508,11 +504,16 @@ void __init acpi_early_init(void)
 
 	acpi_gbl_permanent_mmap = 1;
 
+#ifdef CONFIG_X86
 	/*
 	 * If the machine falls into the DMI check table,
-	 * DSDT will be copied to memory
+	 * DSDT will be copied to memory.
+	 * Note that calling dmi_check_system() here on other architectures
+	 * would not be OK because only x86 initializes dmi early enough.
+	 * Thankfully only x86 systems need such quirks for now.
 	 */
 	dmi_check_system(dsdt_dmi_table);
+#endif
 
 	status = acpi_reallocate_root_table();
 	if (ACPI_FAILURE(status)) {
drivers/base/power/main.c +4 -1
index 3fc787a02fa0..8c8dcf6c4023 100644
@@ -1336,8 +1336,10 @@ static int __device_suspend(struct device *dev, pm_message_t state, bool async)
 
 	dpm_wait_for_children(dev, async);
 
-	if (async_error)
+	if (async_error) {
+		dev->power.direct_complete = false;
 		goto Complete;
+	}
 
 	/*
 	 * If a device configured to wake up the system from sleep states
@@ -1349,6 +1351,7 @@ static int __device_suspend(struct device *dev, pm_message_t state, bool async)
 		pm_wakeup_event(dev, 0);
 
 	if (pm_wakeup_pending()) {
+		dev->power.direct_complete = false;
 		async_error = -EBUSY;
 		goto Complete;
 	}
drivers/block/nbd.c +3 -0
index a1ecedfc9d39..d8ab5c040749 100644
@@ -667,6 +667,9 @@ static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd,
 	}
 
 	case NBD_SET_BLKSIZE:
+		if (!arg || !is_power_of_2(arg) || arg < 512 ||
+		    arg > PAGE_SIZE)
+			return -EINVAL;
 		nbd->blksize = arg;
 		nbd->bytesize &= ~(nbd->blksize-1);
 		bdev->bd_inode->i_size = nbd->bytesize;
drivers/cdrom/cdrom.c +1 -1
index c61de6df44b0..6fd7e418924a 100644
@@ -2427,7 +2427,7 @@ static int cdrom_ioctl_select_disc(struct cdrom_device_info *cdi,
 		return -ENOSYS;
 
 	if (arg != CDSL_CURRENT && arg != CDSL_NONE) {
-		if ((int)arg >= cdi->capacity)
+		if (arg >= cdi->capacity)
 			return -EINVAL;
 	}
 
drivers/char/ipmi/ipmi_bt_sm.c +48 -44

152 lines not on this page · raw message

drivers/crypto/mxs-dcp.c +30 -23

111 lines not on this page · raw message

drivers/edac/edac_mc_sysfs.c +3 -3
index bffb263aa5d7..0cfe126f15fa 100644
@@ -1161,14 +1161,14 @@ int __init edac_mc_sysfs_init(void)
 
 	err = device_add(mci_pdev);
 	if (err < 0)
-		goto out_dev_free;
+		goto out_put_device;
 
 	edac_dbg(0, "device %s created\n", dev_name(mci_pdev));
 
 	return 0;
 
- out_dev_free:
-	kfree(mci_pdev);
+ out_put_device:
+	put_device(mci_pdev);
  out_put_sysfs:
 	edac_put_sysfs_subsys();
  out:
drivers/edac/i7core_edac.c +16 -8
index f84ef75b6487..8f4ac40dd979 100644
@@ -1177,7 +1177,7 @@ static int i7core_create_sysfs_devices(struct mem_ctl_info *mci)
 
 	pvt->addrmatch_dev = kzalloc(sizeof(*pvt->addrmatch_dev), GFP_KERNEL);
 	if (!pvt->addrmatch_dev)
-		return rc;
+		return -ENOMEM;
 
 	pvt->addrmatch_dev->type = &addrmatch_type;
 	pvt->addrmatch_dev->bus = mci->dev.bus;
@@ -1190,15 +1190,14 @@ static int i7core_create_sysfs_devices(struct mem_ctl_info *mci)
 
 	rc = device_add(pvt->addrmatch_dev);
 	if (rc < 0)
-		return rc;
+		goto err_put_addrmatch;
 
 	if (!pvt->is_registered) {
 		pvt->chancounts_dev = kzalloc(sizeof(*pvt->chancounts_dev),
 					      GFP_KERNEL);
 		if (!pvt->chancounts_dev) {
-			put_device(pvt->addrmatch_dev);
-			device_del(pvt->addrmatch_dev);
-			return rc;
+			rc = -ENOMEM;
+			goto err_del_addrmatch;
 		}
 
 		pvt->chancounts_dev->type = &all_channel_counts_type;
@@ -1212,9 +1211,18 @@ static int i7core_create_sysfs_devices(struct mem_ctl_info *mci)
 
 		rc = device_add(pvt->chancounts_dev);
 		if (rc < 0)
-			return rc;
+			goto err_put_chancounts;
 	}
 	return 0;
+
+err_put_chancounts:
+	put_device(pvt->chancounts_dev);
+err_del_addrmatch:
+	device_del(pvt->addrmatch_dev);
+err_put_addrmatch:
+	put_device(pvt->addrmatch_dev);
+
+	return rc;
 }
 
 static void i7core_delete_sysfs_devices(struct mem_ctl_info *mci)
@@ -1229,11 +1237,11 @@ static void i7core_delete_sysfs_devices(struct mem_ctl_info *mci)
 	device_remove_file(&mci->dev, &dev_attr_inject_enable);
 
 	if (!pvt->is_registered) {
-		put_device(pvt->chancounts_dev);
 		device_del(pvt->chancounts_dev);
+		put_device(pvt->chancounts_dev);
 	}
-	put_device(pvt->addrmatch_dev);
 	device_del(pvt->addrmatch_dev);
+	put_device(pvt->addrmatch_dev);
 }
 
 /****************************************************************************
drivers/gpu/drm/drm_fb_helper.c +26 -65

111 lines not on this page · raw message

drivers/gpu/drm/i915/i915_reg.h +1 -0
index 8196408bb819..0d8bae0ec208 100644
@@ -5918,6 +5918,7 @@ enum punit_power_well {
 #define  TRANS_MSA_10_BPC		(2<<5)
 #define  TRANS_MSA_12_BPC		(3<<5)
 #define  TRANS_MSA_16_BPC		(4<<5)
+#define  TRANS_MSA_CEA_RANGE		(1 << 3)
 
 /* LCPLL Control */
 #define LCPLL_CTL			0x130040
drivers/gpu/drm/i915/intel_ddi.c +4 -0
index b17b9c7c769f..a1572477895b 100644
@@ -929,6 +929,10 @@ void intel_ddi_set_pipe_settings(struct drm_crtc *crtc)
 	if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP) {
 
 		temp = TRANS_MSA_SYNC_CLK;
+
+		if (intel_crtc->config.limited_color_range)
+			temp |= TRANS_MSA_CEA_RANGE;
+
 		switch (intel_crtc->config.pipe_bpp) {
 		case 18:
 			temp |= TRANS_MSA_6_BPC;
drivers/gpu/drm/i915/intel_display.c +6 -2
index 7bcca10ae746..6a5dbe6b1b01 100644
@@ -3794,8 +3794,12 @@ void hsw_disable_ips(struct intel_crtc *crtc)
 		mutex_lock(&dev_priv->rps.hw_lock);
 		WARN_ON(sandybridge_pcode_write(dev_priv, DISPLAY_IPS_CONTROL, 0));
 		mutex_unlock(&dev_priv->rps.hw_lock);
-		/* wait for pcode to finish disabling IPS, which may take up to 42ms */
-		if (wait_for((I915_READ(IPS_CTL) & IPS_ENABLE) == 0, 42))
+		/*
+		 * Wait for PCODE to finish disabling IPS. The BSpec specified
+		 * 42ms timeout value leads to occasional timeouts so use 100ms
+		 * instead.
+		 */
+		if (wait_for((I915_READ(IPS_CTL) & IPS_ENABLE) == 0, 100))
 			DRM_ERROR("Timed out waiting for IPS disable\n");
 	} else {
 		I915_WRITE(IPS_CTL, 0);
drivers/gpu/drm/nouveau/nouveau_connector.c +11 -9
index 5f8e9711c313..e7187bd081c1 100644
@@ -256,12 +256,16 @@ nouveau_connector_detect(struct drm_connector *connector, bool force)
 		nv_connector->edid = NULL;
 	}
 
-	/* Outputs are only polled while runtime active, so acquiring a
-	 * runtime PM ref here is unnecessary (and would deadlock upon
-	 * runtime suspend because it waits for polling to finish).
+	/* Outputs are only polled while runtime active, so resuming the
+	 * device here is unnecessary (and would deadlock upon runtime suspend
+	 * because it waits for polling to finish). We do however, want to
+	 * prevent the autosuspend timer from elapsing during this operation
+	 * if possible.
 	 */
-	if (!drm_kms_helper_is_poll_worker()) {
-		ret = pm_runtime_get_sync(connector->dev->dev);
+	if (drm_kms_helper_is_poll_worker()) {
+		pm_runtime_get_noresume(dev->dev);
+	} else {
+		ret = pm_runtime_get_sync(dev->dev);
 		if (ret < 0 && ret != -EACCES)
 			return conn_status;
 	}
@@ -332,10 +336,8 @@ nouveau_connector_detect(struct drm_connector *connector, bool force)
 
  out:
 
-	if (!drm_kms_helper_is_poll_worker()) {
-		pm_runtime_mark_last_busy(connector->dev->dev);
-		pm_runtime_put_autosuspend(connector->dev->dev);
-	}
+	pm_runtime_mark_last_busy(dev->dev);
+	pm_runtime_put_autosuspend(dev->dev);
 
 	return conn_status;
 }
drivers/gpu/drm/panel/panel-s6e8aa0.c +1 -1
index 06e57a26db7a..b7b651287ffa 100644
@@ -832,7 +832,7 @@ static void s6e8aa0_read_mtp_id(struct s6e8aa0 *ctx)
 	int ret, i;
 
 	ret = s6e8aa0_dcs_read(ctx, 0xd1, id, ARRAY_SIZE(id));
-	if (ret < ARRAY_SIZE(id) || id[0] == 0x00) {
+	if (ret < 0 || ret < ARRAY_SIZE(id) || id[0] == 0x00) {
 		dev_err(ctx->dev, "read id failed\n");
 		ctx->error = -EIO;
 		return;
drivers/gpu/drm/udl/udl_fb.c +6 -4
index b2abb025c021..08490497f0b5 100644
@@ -344,7 +344,7 @@ static int udl_fb_open(struct fb_info *info, int user)
 
 		struct fb_deferred_io *fbdefio;
 
-		fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
+		fbdefio = kzalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
 
 		if (fbdefio) {
 			fbdefio->delay = DL_DEFIO_WRITE_DELAY;
@@ -574,9 +574,11 @@ static void udl_fbdev_destroy(struct drm_device *dev,
 		framebuffer_release(info);
 	}
 	drm_fb_helper_fini(&ufbdev->helper);
-	drm_framebuffer_unregister_private(&ufbdev->ufb.base);
-	drm_framebuffer_cleanup(&ufbdev->ufb.base);
-	drm_gem_object_unreference_unlocked(&ufbdev->ufb.obj->base);
+	if (ufbdev->ufb.obj) {
+		drm_framebuffer_unregister_private(&ufbdev->ufb.base);
+		drm_framebuffer_cleanup(&ufbdev->ufb.base);
+		drm_gem_object_unreference_unlocked(&ufbdev->ufb.obj->base);
+	}
 }
 
 int udl_fbdev_init(struct drm_device *dev)
drivers/gpu/drm/udl/udl_main.c +19 -16
index 7094b92d1ec7..0809807e1348 100644
@@ -141,18 +141,13 @@ static void udl_free_urb_list(struct drm_device *dev)
 	struct list_head *node;
 	struct urb_node *unode;
 	struct urb *urb;
-	int ret;
 	unsigned long flags;
 
 	DRM_DEBUG("Waiting for completes and freeing all render urbs\n");
 
 	/* keep waiting and freeing, until we've got 'em all */
 	while (count--) {
-
-		/* Getting interrupted means a leak, but ok at shutdown*/
-		ret = down_interruptible(&udl->urbs.limit_sem);
-		if (ret)
-			break;
+		down(&udl->urbs.limit_sem);
 
 		spin_lock_irqsave(&udl->urbs.lock, flags);
 
@@ -176,17 +171,22 @@ static void udl_free_urb_list(struct drm_device *dev)
 static int udl_alloc_urb_list(struct drm_device *dev, int count, size_t size)
 {
 	struct udl_device *udl = dev->dev_private;
-	int i = 0;
 	struct urb *urb;
 	struct urb_node *unode;
 	char *buf;
+	size_t wanted_size = count * size;
 
 	spin_lock_init(&udl->urbs.lock);
 
+retry:
 	udl->urbs.size = size;
 	INIT_LIST_HEAD(&udl->urbs.list);
 
-	while (i < count) {
+	sema_init(&udl->urbs.limit_sem, 0);
+	udl->urbs.count = 0;
+	udl->urbs.available = 0;
+
+	while (udl->urbs.count * size < wanted_size) {
 		unode = kzalloc(sizeof(struct urb_node), GFP_KERNEL);
 		if (!unode)
 			break;
@@ -202,11 +202,16 @@ static int udl_alloc_urb_list(struct drm_device *dev, int count, size_t size)
 		}
 		unode->urb = urb;
 
-		buf = usb_alloc_coherent(udl->ddev->usbdev, MAX_TRANSFER, GFP_KERNEL,
+		buf = usb_alloc_coherent(udl->ddev->usbdev, size, GFP_KERNEL,
 					 &urb->transfer_dma);
 		if (!buf) {
 			kfree(unode);
 			usb_free_urb(urb);
+			if (size > PAGE_SIZE) {
+				size /= 2;
+				udl_free_urb_list(dev);
+				goto retry;
+			}
 			break;
 		}
 
@@ -217,16 +222,14 @@ static int udl_alloc_urb_list(struct drm_device *dev, int count, size_t size)
 
 		list_add_tail(&unode->entry, &udl->urbs.list);
 
-		i++;
+		up(&udl->urbs.limit_sem);
+		udl->urbs.count++;
+		udl->urbs.available++;
 	}
 
-	sema_init(&udl->urbs.limit_sem, i);
-	udl->urbs.count = i;
-	udl->urbs.available = i;
-
-	DRM_DEBUG("allocated %d %d byte urbs\n", i, (int) size);
+	DRM_DEBUG("allocated %d %d byte urbs\n", udl->urbs.count, (int) size);
 
-	return i;
+	return udl->urbs.count;
 }
 
 struct urb *udl_get_urb(struct drm_device *dev)
drivers/hv/connection.c +6 -2
index 04e5a98fdc44..0949566ec049 100644
@@ -68,6 +68,7 @@ static int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo,
 					__u32 version)
 {
 	int ret = 0;
+	unsigned int cur_cpu;
 	struct vmbus_channel_initiate_contact *msg;
 	unsigned long flags;
 
@@ -80,8 +81,11 @@ static int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo,
 	msg->interrupt_page = virt_to_phys(vmbus_connection.int_page);
 	msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]);
 	msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[1]);
-	if (version == VERSION_WIN8_1)
-		msg->target_vcpu = hv_context.vp_index[smp_processor_id()];
+	if (version == VERSION_WIN8_1) {
+		cur_cpu = get_cpu();
+		msg->target_vcpu = hv_context.vp_index[cur_cpu];
+		put_cpu();
+	}
 
 	/*
 	 * Add to list before we send the request since we may
drivers/hwmon/nct6775.c +18 -10
index a720a75fd5a6..fc842ec066e1 100644
@@ -57,6 +57,7 @@
 #include <linux/mutex.h>
 #include <linux/acpi.h>
 #include <linux/io.h>
+#include <linux/nospec.h>
 #include "lm75.h"
 
 #define USE_ALTERNATE
@@ -268,8 +269,9 @@ static const u16 NCT6775_REG_PWM_READ[] = {
 
 static const u16 NCT6775_REG_FAN[] = { 0x630, 0x632, 0x634, 0x636, 0x638 };
 static const u16 NCT6775_REG_FAN_MIN[] = { 0x3b, 0x3c, 0x3d };
-static const u16 NCT6775_REG_FAN_PULSES[] = { 0x641, 0x642, 0x643, 0x644, 0 };
-static const u16 NCT6775_FAN_PULSE_SHIFT[] = { 0, 0, 0, 0, 0, 0 };
+static const u16 NCT6775_REG_FAN_PULSES[NUM_FAN] = {
+	0x641, 0x642, 0x643, 0x644 };
+static const u16 NCT6775_FAN_PULSE_SHIFT[NUM_FAN] = { };
 
 static const u16 NCT6775_REG_TEMP[] = {
 	0x27, 0x150, 0x250, 0x62b, 0x62c, 0x62d };
@@ -381,7 +383,8 @@ static const u8 NCT6776_REG_PWM_MODE[] = { 0x04, 0, 0, 0, 0, 0 };
 static const u8 NCT6776_PWM_MODE_MASK[] = { 0x01, 0, 0, 0, 0, 0 };
 
 static const u16 NCT6776_REG_FAN_MIN[] = { 0x63a, 0x63c, 0x63e, 0x640, 0x642 };
-static const u16 NCT6776_REG_FAN_PULSES[] = { 0x644, 0x645, 0x646, 0, 0 };
+static const u16 NCT6776_REG_FAN_PULSES[NUM_FAN] = {
+	0x644, 0x645, 0x646 };
 
 static const u16 NCT6776_REG_WEIGHT_DUTY_BASE[] = {
 	0x13e, 0x23e, 0x33e, 0x83e, 0x93e, 0xa3e };
@@ -450,7 +453,7 @@ static const s8 NCT6779_BEEP_BITS[] = {
 
 static const u16 NCT6779_REG_FAN[] = {
 	0x4b0, 0x4b2, 0x4b4, 0x4b6, 0x4b8, 0x4ba };
-static const u16 NCT6779_REG_FAN_PULSES[] = {
+static const u16 NCT6779_REG_FAN_PULSES[NUM_FAN] = {
 	0x644, 0x645, 0x646, 0x647, 0x648, 0x649 };
 
 static const u16 NCT6779_REG_CRITICAL_PWM_ENABLE[] = {
@@ -563,8 +566,8 @@ static const u16 NCT6106_REG_TEMP_CONFIG[] = {
 
 static const u16 NCT6106_REG_FAN[] = { 0x20, 0x22, 0x24 };
 static const u16 NCT6106_REG_FAN_MIN[] = { 0xe0, 0xe2, 0xe4 };
-static const u16 NCT6106_REG_FAN_PULSES[] = { 0xf6, 0xf6, 0xf6, 0, 0 };
-static const u16 NCT6106_FAN_PULSE_SHIFT[] = { 0, 2, 4, 0, 0 };
+static const u16 NCT6106_REG_FAN_PULSES[] = { 0xf6, 0xf6, 0xf6 };
+static const u16 NCT6106_FAN_PULSE_SHIFT[] = { 0, 2, 4 };
 
 static const u8 NCT6106_REG_PWM_MODE[] = { 0xf3, 0xf3, 0xf3 };
 static const u8 NCT6106_PWM_MODE_MASK[] = { 0x01, 0x02, 0x04 };
@@ -1330,7 +1333,7 @@ static void nct6775_update_pwm(struct device *dev)
 		reg = nct6775_read_value(data, data->REG_WEIGHT_TEMP_SEL[i]);
 		data->pwm_weight_temp_sel[i] = reg & 0x1f;
 		/* If weight is disabled, report weight source as 0 */
-		if (j == 1 && !(reg & 0x80))
+		if (!(reg & 0x80))
 			data->pwm_weight_temp_sel[i] = 0;
 
 		/* Weight temp data */
@@ -1450,9 +1453,13 @@ static struct nct6775_data *nct6775_update_device(struct device *dev)
 			if (data->has_fan_min & (1 << i))
 				data->fan_min[i] = nct6775_read_value(data,
 					   data->REG_FAN_MIN[i]);
-			data->fan_pulses[i] =
-			  (nct6775_read_value(data, data->REG_FAN_PULSES[i])
-				>> data->FAN_PULSE_SHIFT[i]) & 0x03;
+
+			if (data->REG_FAN_PULSES[i]) {
+				data->fan_pulses[i] =
+				  (nct6775_read_value(data,
+						      data->REG_FAN_PULSES[i])
+				   >> data->FAN_PULSE_SHIFT[i]) & 0x03;
+			}
 
 			nct6775_select_fan_div(dev, data, i, reg);
 		}
@@ -2438,6 +2445,7 @@ store_pwm_weight_temp_sel(struct device *dev, struct device_attribute *attr,
 		return err;
 	if (val > NUM_TEMP)
 		return -EINVAL;
+	val = array_index_nospec(val, NUM_TEMP + 1);
 	if (val && (!(data->have_temp & (1 << (val - 1))) ||
 		    !data->temp_src[val - 1]))
 		return -EINVAL;
drivers/i2c/busses/i2c-xiic.c +4 -0
index 7731f1795869..b1e2f1d0412f 100644
@@ -504,6 +504,7 @@ static void xiic_start_recv(struct xiic_i2c *i2c)
 {
 	u8 rx_watermark;
 	struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg;
+	unsigned long flags;
 
 	/* Clear and enable Rx full interrupt. */
 	xiic_irq_clr_en(i2c, XIIC_INTR_RX_FULL_MASK | XIIC_INTR_TX_ERROR_MASK);
@@ -519,6 +520,7 @@ static void xiic_start_recv(struct xiic_i2c *i2c)
 		rx_watermark = IIC_RX_FIFO_DEPTH;
 	xiic_setreg8(i2c, XIIC_RFD_REG_OFFSET, rx_watermark - 1);
 
+	local_irq_save(flags);
 	if (!(msg->flags & I2C_M_NOSTART))
 		/* write the address */
 		xiic_setreg16(i2c, XIIC_DTR_REG_OFFSET,
@@ -529,6 +531,8 @@ static void xiic_start_recv(struct xiic_i2c *i2c)
 
 	xiic_setreg16(i2c, XIIC_DTR_REG_OFFSET,
 		msg->len | ((i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0));
+	local_irq_restore(flags);
+
 	if (i2c->nmsgs == 1)
 		/* very last, enable bus not busy as well */
 		xiic_irq_clr_en(i2c, XIIC_INTR_BNB_MASK);
drivers/iio/frequency/ad9523.c +2 -2
index 7c5245d9f99c..4cffd8fc5cae 100644
@@ -507,7 +507,7 @@ static ssize_t ad9523_store(struct device *dev,
 		return ret;
 
 	if (!state)
-		return 0;
+		return len;
 
 	mutex_lock(&indio_dev->mlock);
 	switch ((u32)this_attr->address) {
@@ -641,7 +641,7 @@ static int ad9523_read_raw(struct iio_dev *indio_dev,
 		code = (AD9523_CLK_DIST_DIV_PHASE_REV(ret) * 3141592) /
 			AD9523_CLK_DIST_DIV_REV(ret);
 		*val = code / 1000000;
-		*val2 = (code % 1000000) * 10;
+		*val2 = code % 1000000;
 		return IIO_VAL_INT_PLUS_MICRO;
 	default:
 		return -EINVAL;
drivers/infiniband/core/cma.c +7 -5
index 0c856b380f48..dbe56b1b8302 100644
@@ -434,6 +434,7 @@ static int cma_resolve_ib_dev(struct rdma_id_private *id_priv)
 	dgid = (union ib_gid *) &addr->sib_addr;
 	pkey = ntohs(addr->sib_pkey);
 
[… more lines in the raw message]

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

drivers/infiniband/core/ucm.c +3 -0
index 5befec118a18..23b72417a433 100644

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

drivers/infiniband/core/ucma.c +9 -0
index a213b01b3ce0..fc937cc8d9e9 100644

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

drivers/infiniband/hw/cxgb4/ev.c +1 -0
index d61d0a18f784..a98426fed9ee 100644

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

drivers/infiniband/hw/cxgb4/qp.c +42 -20

62 lines not on this page · raw message

drivers/infiniband/hw/cxgb4/t4.h +11 -0
index 68b0a6bf4eb0..d8d7fa3e446d 100644

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

drivers/infiniband/ulp/ipoib/ipoib_cm.c +2 -0
index 4a5764fe4b23..43d648332e63 100644

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

drivers/infiniband/ulp/ipoib/ipoib_multicast.c +1 -0
index f76822a84d62..45055d8d0346 100644

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

drivers/infiniband/ulp/srpt/ib_srpt.c +3 -3
index 9c128bd1cace..fcf2647cd6c2 100644

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

drivers/infiniband/ulp/srpt/ib_srpt.h +2 -2
index 3dae156905de..5aff650ee12e 100644

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

drivers/input/mouse/elantech.c +2 -0
index 004b0e0097f9..049aada5e8d9 100644

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

drivers/leds/leds-max8997.c +1 -1
index f449a8bdddc7..9f69ec1241af 100644

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

drivers/md/bcache/bcache.h +1 -0
index 7cb1b2cb1a10..677e1444f99e 100644

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

drivers/md/bcache/closure.h +0 -3
index a08e3eeac3c5..79a6d63e8ed3 100644

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

drivers/md/bcache/io.c +1 -0
index fa028fa82df4..bfce34bb85e2 100644

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

drivers/md/bcache/journal.c +5 -3
index 59e82021b5bb..280a1f90f772 100644

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

drivers/md/bcache/request.c +11 -3
index fe924f1029d3..046d7fa71243 100644

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

drivers/md/bcache/super.c +23 -6
index 9c574978c400..e56c2880b01b 100644

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

drivers/md/dm-cache-metadata.c +2 -1
index 01ad0c2c0229..284719d3784d 100644

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

drivers/md/dm-cache-target.c +2 -3
index f2dd7ed85ee8..fd4be2898183 100644

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

drivers/md/dm-crypt.c +4 -4
index c43187b4dc0e..dfab51ff09ea 100644

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

drivers/media/platform/exynos4-is/fimc-isp-video.c +8 -3
index 93f9cf2ebcd6..3927f0f7dea2 100644

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

drivers/media/platform/omap3isp/isp.c +1 -1
index d4fa20852ba3..dea6dde70a58 100644

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

drivers/media/usb/dvb-usb-v2/gl861.c +15 -2
index b1b09c547861..9d87161b5c13 100644

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

drivers/media/usb/dvb-usb-v2/rtl28xxu.c +1 -1
index a676e4452847..b56f9eb536f2 100644

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

drivers/mfd/sm501.c +1 -0
index 81e6d0932bf0..85bc3f7ce210 100644

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

drivers/misc/hmc6352.c +2 -0
index 90520d76633f..9cde4c5bfba4 100644

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

drivers/misc/mei/nfc.c +1 -1
index b4d5cdda26cd..1b1fa85648be 100644

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

drivers/misc/vmw_vmci/vmci_queue_pair.c +2 -2
index 1b7b303085d2..f929d7a837bb 100644

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

drivers/mtd/mtdchar.c +7 -3
index a0f54e80670c..d044af062cfe 100644

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

drivers/mtd/nand/mxc_nand.c +2 -2
index 7cf0473c79e8..0bca3de41221 100644

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

drivers/mtd/spi-nor/fsl-quadspi.c +10 -10
index d5269a26c839..56d39f2b22ce 100644

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

drivers/net/ethernet/cadence/macb.c +7 -3
index 45b13fda6bed..996b3b7d93ec 100644

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

drivers/net/ethernet/marvell/mvneta.c +0 -1
index f88649d5d209..6e6c2e0b779a 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +5 -3
index be618b9e874f..706c40b1bfa5 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c +2 -1
index a4a4ec0b68f8..0992867a3fff 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h +2 -1
index 2bf101a47d02..b12c2d7c78ce 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.h +2 -1
index cbe2399c30a0..480aa1f9f2e1 100644

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

drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +6 -6
index df081f64c5c2..e42cd821559b 100644

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

drivers/net/ethernet/realtek/r8169.c +3 -5
index b1f22e199c3e..e962993557f0 100644

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

drivers/net/ppp/pppoe.c +3 -0
index 942b887d2d27..53b5eebeb726 100644

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

drivers/net/team/team.c +5 -0
index d0f9aa4c59fc..d42bc7a55a03 100644

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

drivers/net/usb/asix_common.c +3 -0
index 75d6f26729a3..ad81af135a32 100644

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

drivers/net/usb/ax88179_178a.c +3 -0
index 8cee173eefb2..5f66f4505b33 100644

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

drivers/net/usb/r8152.c +3 -0
index 580793a8190e..6fa1d2c9c556 100644

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

drivers/net/usb/smsc75xx.c +3 -0
index 551424d6f556..157d4a9a0b3a 100644

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

drivers/net/usb/smsc95xx.c +3 -0
index fc629c315adc..ae006e51f6e1 100644

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

drivers/net/usb/sr9800.c +3 -0
index 953de13267df..0144fb19a099 100644

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

drivers/net/vxlan.c +76 -27

103 lines not on this page · raw message

drivers/net/wireless/ath/ath10k/mac.c +7 -0
index a21080028c54..6a269c4b5c01 100644

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

drivers/net/wireless/ath/wil6210/wmi.c +6 -1
index 6cc0e182cc70..94ecece55431 100644

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

drivers/net/wireless/b43/leds.c +1 -1
index d79ab2a227e1..ba3965a114d9 100644

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

drivers/net/wireless/b43legacy/leds.c +1 -1
index fd4565389c77..bc922118b6ac 100644

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

drivers/net/wireless/libertas/dev.h +1 -0
index 6bd1608992b0..96cf205050b1 100644

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

drivers/net/wireless/libertas/if_sdio.c +28 -6
index 33ceda296c9c..bee1e67afafe 100644

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

drivers/net/wireless/rndis_wlan.c +2 -0
index 19a1c9cde772..730aaf9c93d2 100644

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

drivers/net/xen-netfront.c +4 -2
index 7375720ddb0a..08ab42ce81a6 100644

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

drivers/of/selftest.c +19 -9
index 2089ceb6d085..13582c3cd06d 100644

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

drivers/pci/host/pci-mvebu.c +1 -1
index db5abef6cec0..1258236694c2 100644

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

drivers/pci/hotplug/pci_hotplug_core.c +9 -0
index 56d8486dc167..cdc109ec5b82 100644

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

drivers/pci/hotplug/pciehp.h +1 -0
index 3e6f98d80fbe..f35692c0e0c3 100644

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

drivers/pci/hotplug/pciehp_core.c +5 -0
index 688bf665991b..dc839576cbe2 100644

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

drivers/pci/hotplug/pciehp_hpc.c +5 -13
index 70664905f8b4..3406cefc174c 100644

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

drivers/pci/pci.c +19 -8
index 435d3830c181..8490e0e1ed07 100644

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

drivers/pinctrl/berlin/berlin.c +8 -5
index 86db2235ab00..605a50a7dc8a 100644

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

drivers/pinctrl/pinctrl-imx.c +1 -1
index 1c489e179149..1864c34659c2 100644

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

drivers/pinctrl/pinctrl-imx1-core.c +1 -1
index 815384b377b5..e1abb0f0cd8d 100644

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

drivers/pinctrl/pinctrl-msm.c +8 -2
index df6dda4ce803..82554fcec0bf 100644

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

drivers/platform/x86/alienware-wmi.c +1 -0
index 297b6640213f..2899727069e6 100644

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

drivers/platform/x86/ideapad-laptop.c +7 -0
index 64015cc978b1..84f0d74c5440 100644

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

drivers/power/generic-adc-battery.c +15 -10
index 59a1421f9288..8e3e069996aa 100644

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

drivers/ptp/ptp_chardev.c +4 -0
index 419056d7887e..f5cf901b2f2b 100644

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

drivers/pwm/pwm-tiehrpwm.c +3 -10
index 95f1ea79e7b6..5fa585a817d9 100644

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

drivers/regulator/core.c +1 -2
index 71fb2037e0b9..04c482d59955 100644

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

drivers/s390/cio/qdio_main.c +2 -3
index fb7298920c8c..90f93c2be8cd 100644

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

drivers/scsi/aic94xx/aic94xx_init.c +3 -1
index c56741fc4b99..f2d5dc164c00 100644

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

drivers/scsi/scsi_sysfs.c +18 -2
index 5c35a9578dd7..f26efaf3e7f1 100644

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

drivers/scsi/virtio_scsi.c +4 -2
index 42ecf4c18e2e..b8d67f9f9077 100644

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

drivers/spi/spi-rspi.c +101 -39

140 lines not on this page · raw message

drivers/spi/spi-sh-msiof.c +55 -2

57 lines not on this page · raw message

drivers/spi/spi-tegra20-slink.c +23 -8
index 0b9e32e9f493..4ba5bbb61951 100644

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

drivers/staging/rts5208/sd.c +1 -1
index c7c1f5410430..0401eff15169 100644

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

drivers/staging/usbip/vhci_hcd.c +32 -11

43 lines not on this page · raw message

drivers/target/iscsi/iscsi_target_login.c +22 -13
index 2ab8081267f9..08c161b434b3 100644

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

drivers/target/iscsi/iscsi_target_tpg.c +1 -2
index 79ca361078b8..532d2c0e2f3d 100644

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

drivers/tty/serial/cpm_uart/cpm_uart_core.c +7 -3
index aa60e6d13eca..90592e6f918e 100644

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

drivers/tty/serial/pxa.c +2 -1
index 94c6994e4060..2239496f8424 100644

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

drivers/tty/serial/serial_core.c +12 -5
index ba468b11fa04..ad7e13a51b22 100644

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

drivers/tty/tty_ioctl.c +11 -4
index 22da05d27009..7107991dc4cc 100644

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

drivers/tty/vt/vt_ioctl.c +4 -0
index 2bd78e2ac8ec..cf7ccafa6fc0 100644

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

drivers/uio/uio.c +1 -2
index 079294590c00..452cf8e98131 100644

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

drivers/usb/core/devio.c +21 -3
index 6714bbb801ce..b69f98db459a 100644

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

drivers/usb/core/driver.c +28 -22

50 lines not on this page · raw message

drivers/usb/core/hcd-pci.c +0 -2
index f6bbfaf05573..7d31a0fb946f 100644

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

drivers/usb/core/message.c +11 -0
index 66477fef2912..6af648c307b7 100644

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

drivers/usb/core/quirks.c +7 -0
index fab55e29abb3..7b722da17880 100644

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

drivers/usb/core/usb.c +2 -0
index a92273026ecc..d885a07be4df 100644

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

drivers/usb/gadget/f_mass_storage.c +3 -0
index f0db2ca816c0..43a22a0b20c9 100644

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

drivers/usb/gadget/net2280.c +26 -10
index b464ed5e129e..2c637fae9dfc 100644

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

drivers/usb/host/u132-hcd.c +1 -1
index c0671750671f..ab5128755672 100644

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

drivers/usb/host/xhci-pci.c +2 -0
index 3a1f57ea174e..06dd8d8a2f8a 100644

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

drivers/usb/misc/uss720.c +2 -2
index 3cb05eb5f1df..9bec15f28d56 100644

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

drivers/usb/misc/yurex.c +3 -2
index cfb29aeab495..3114c8d061e9 100644

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

drivers/usb/serial/io_ti.h +1 -1
index 1bd67b24f916..bc9ff5ebd67c 100644

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

drivers/usb/serial/kobil_sct.c +10 -2
index 95795ef7ecd5..fb4d71b08a03 100644

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

drivers/usb/serial/sierra.c +2 -2
index 26281d331859..443280204afe 100644

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

drivers/usb/serial/ti_usb_3410_5052.c +11 -2
index 1d314ede0d65..e9bdd5bb2c6c 100644

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

drivers/usb/serial/ti_usb_3410_5052.h +0 -2
index 98f35c656c02..f60b5c081451 100644

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

drivers/usb/serial/usb-serial-simple.c +2 -1
index 9745f714ee80..ba00eb4c9972 100644

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

drivers/usb/storage/scsiglue.c +9 -0
index 866b5df36ed1..b6124d894f83 100644

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

drivers/usb/storage/uas.c +20 -0
index db6a57dfed44..bdd3fc01e6c3 100644

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

drivers/usb/storage/unusual_devs.h +7 -0
index 01dcd204648f..c03043c6c022 100644

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

drivers/video/fbdev/aty/atyfb.h +2 -1
index 1f39a62f899b..4d405d147a33 100644

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

drivers/video/fbdev/aty/atyfb_base.c +4 -3
index fba5736acfd6..e9e7181dbe7b 100644

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

drivers/video/fbdev/aty/mach64_ct.c +5 -5
index 51f29d627ceb..af54256a20a1 100644

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

drivers/video/fbdev/core/fbmem.c +32 -6
index b5e85f6c1c26..0b96e34647d2 100644

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

drivers/video/fbdev/omap/omapfb_main.c +1 -1
index d8d028d98711..42cf6381e449 100644

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

drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c +4 -1
index 146b6f5428db..2dbd5687c453 100644

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

drivers/video/fbdev/udlfb.c +66 -74

140 lines not on this page · raw message

fs/9p/xattr.c +4 -2
index f95e01e058e4..4062a715f6fc 100644

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

fs/binfmt_elf.c +1 -1
index 679e312a9e40..972db0c5350d 100644

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

fs/btrfs/disk-io.c +6 -4
index 329707b2148f..430c27e3aa1d 100644

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

fs/btrfs/inode.c +0 -25
index 367ca3f40fdf..4ebcbac19678 100644

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

fs/btrfs/super.c +0 -1
index 72068ce50d76..838723d6a252 100644

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

fs/btrfs/volumes.c +5 -5
index 52c30fd35a81..4aa1a20fc5d7 100644

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

fs/cachefiles/namei.c +1 -1
index bfeac417f168..8a91ca0e6143 100644

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

fs/cifs/cifs_debug.c +23 -7
index ab4f1ce11ed0..6ac55e2ccd2f 100644

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

fs/cifs/cifsfs.c +12 -8
index bd6ebe78809d..048c0e09f57c 100644

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

fs/cifs/connect.c +2 -7
index 2b4ffbd37007..8b4ac4566500 100644

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

fs/cifs/inode.c +2 -0
index a9a5bee1890e..353d8b690329 100644

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

fs/cifs/readdir.c +9 -2
index 27e4ad7ef172..2859b1b0002b 100644

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

fs/cifs/sess.c +6 -0
index 7225ae94006e..7426b06741ce 100644

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

fs/cifs/smb2ops.c +17 -6
index 64fde8bfc339..46bea6c44ec8 100644

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

fs/cifs/smb2pdu.c +28 -12
index 49563a5a2af9..7ae11fe72b11 100644

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

fs/cifs/smb2pdu.h +11 -0
index fce1cc92c2ff..d57eb9d66209 100644

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

fs/ext4/dir.c +9 -11
index 8dd5c51e2200..20e6a870d114 100644

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

fs/ext4/inline.c +3 -1
index 1c84749699d0..06b31f567cf8 100644

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

fs/ext4/mballoc.c +3 -1
index 15e8ab88dfc6..6fe7d6adb33e 100644

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

fs/ext4/mmp.c +0 -1
index 8313ca3324ec..c3922ee59031 100644

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

fs/ext4/namei.c +6 -0
index 7edf1bee591b..deebe58586c2 100644

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

fs/ext4/resize.c +33 -12

45 lines not on this page · raw message

fs/ext4/xattr.c +2 -0
index 927c837e2d13..61e89046f8dd 100644

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

fs/fuse/cuse.c +1 -1
index 966ace8b243f..28d0c7abba1c 100644

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

fs/fuse/dev.c +5 -2
index f2bbb8513360..0834f5640875 100644

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

fs/fuse/file.c +1 -0
index 893c1fcc6931..3bae40c4d40f 100644

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

fs/fuse/fuse_i.h +0 -2
index 300619ba8591..8ed9ed08d2a0 100644

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

fs/fuse/inode.c +10 -27
index 476efb34a18f..513aadb54002 100644

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

fs/ocfs2/buffer_head_io.c +1 -0
index 1edcb141f639..d6eab71abe1f 100644

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

fs/ocfs2/dlm/dlmmaster.c +2 -2
index 12bb043f944a..e201a9ce84d8 100644

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

fs/proc/base.c +14 -0
index 8233f183a945..3c19b89b9303 100644

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

fs/pstore/ram.c +25 -4
index 5fa34243b1ae..a467edd1a363 100644

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

fs/pstore/ram_core.c +14 -3
index 5fa2200e5b66..ab3d9ffd77ff 100644

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

fs/quota/quota.c +4 -1
index 47bd89700d77..cc138af88442 100644

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

fs/reiserfs/xattr.c +4 -2
index ca416d099e7d..0ea34b4dc0aa 100644

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

fs/seq_file.c +4 -3
index fbb1688bff87..8f393353880b 100644

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

fs/sysfs/file.c +44 -0

44 lines not on this page · raw message

fs/ubifs/journal.c +15 -1
index 2e93c33b1048..8bf3a7fc9da9 100644

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

fs/ubifs/lprops.c +4 -4
index 46190a7c42a6..a0ee59b3974a 100644

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

fs/ubifs/super.c +3 -0
index 41433bde933e..1c37196fa435 100644

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

fs/xattr.c +1 -1
index 6b57cbd8c962..284aae8c436b 100644

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

fs/xfs/xfs_attr.c +8 -1
index bfe36fc2cdc2..12a548569f04 100644

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

include/crypto/vmac.h deleted +0 -63

63 lines not on this page · raw message

include/linux/blkdev.h +38 -0
index 633ef252850b..b992a89abde2 100644

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

include/linux/cpuidle.h +3 -0
index 575b7166cb08..d2b963db4254 100644

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

include/linux/netdevice.h +7 -0
index 1d2c25984890..5d74c847efec 100644

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

include/linux/percpu_counter.h +12 -1
index d5dd4657c8d6..607de28af726 100644

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

include/linux/posix-timers.h +2 -2
index 907f3fd191ac..3e28a1a8d823 100644

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

include/linux/seq_file.h +4 -9
index 6288341db62d..88f08fd6a3e1 100644

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

include/linux/skbuff.h +5 -0
index 9b31b6d38da2..024cd7c4e5ee 100644

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

include/linux/sysfs.h +14 -0
index 39e31f407375..700bc8fc76e9 100644

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

include/linux/usb.h +1 -1
index 2e47496ace0d..7199f201c7a8 100644

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

include/net/ip_fib.h +1 -0
index 905cd10a9478..68d6df7bc85a 100644

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

include/net/netfilter/nf_tables.h +2 -2
index 24097027c5d3..2bfcb201e653 100644

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

include/video/udlfb.h +3 -2
index f9466fa54ba4..c0213e02934b 100644

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

kernel/auditsc.c +4 -4
index 4660027476d2..70d76fa59a11 100644

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

kernel/events/core.c +8 -7
index e246925e24e0..17821c290b3b 100644

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

kernel/kprobes.c +2 -2
index f6397bb4d5f6..f44ab6536beb 100644

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

kernel/posix-cpu-timers.c +1 -1
index 4bd1dd7db1a1..34995963516f 100644

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

kernel/posix-timers.c +20 -11
index 5a4cefc43f40..8bfdf0c43176 100644

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

kernel/sched/idle.c +1 -1
index cf009fb0bc25..0282737944ba 100644

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

kernel/time/alarmtimer.c +2 -1
index 28627a9b667b..8c65c236f26a 100644

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

kernel/trace/blktrace.c +4 -0
index 5e93eca7ca16..9a9d0288576b 100644

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

kernel/trace/ring_buffer.c +2 -0
index ee01bb53e420..107e8ce1a87e 100644

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

kernel/trace/trace.c +3 -1
index dbdb406ed6ea..5a4d78fe4bb9 100644

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

kernel/trace/trace_uprobe.c +1 -1
index 68fdc53487a8..d32caa3e1d28 100644

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

lib/percpu_counter.c +3 -3
index 7dd33577b905..b4de99e9e7dc 100644

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

mm/huge_memory.c +5 -1
index 47c8bb45e781..498110500479 100644

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

mm/madvise.c +1 -1
index 040617386648..a6985e15bd6a 100644

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

mm/memory.c +3 -12
index 06e065489e60..62c2c8a148b0 100644

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

mm/mremap.c +16 -5
index 6d49f62a4863..c3775c77df7a 100644

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

mm/shmem.c +2 -0
index 507231b0dfe3..ea44e5ecad75 100644

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

mm/truncate.c +6 -2
index 699494e6aba5..f2ca73d989bc 100644

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

mm/vmstat.c +3 -0
index 6c70f6647907..ae3c911843fa 100644

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

net/9p/client.c +1 -1
index 90295cc94b82..d150562c4172 100644

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

net/9p/trans_fd.c +6 -1
index 80d08f6664cb..9d935dc71b83 100644

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

net/9p/trans_rdma.c +3 -0
index 14ad43b5cf89..d00cb890398b 100644

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

net/9p/trans_virtio.c +12 -1
index bbf55b440da5..421245314be5 100644

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

net/batman-adv/gateway_client.c +9 -2
index b22ba87b6b22..5f8e972e465e 100644

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

net/batman-adv/main.c +6 -2
index d1183e882167..1fea2b600b6f 100644

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

net/batman-adv/network-coding.c +16 -18
index 4e718162a26b..8b9db81a88c7 100644

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

net/batman-adv/soft-interface.c +21 -6
index c8642161b1fc..e4a22971aabf 100644

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

net/batman-adv/translation-table.c +4 -2
index ce0678140a32..c9ac7d948a21 100644

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

net/core/dev.c +26 -2
index 24afa7203884..0a32a1dcb101 100644

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

net/core/rtnetlink.c +6 -0
index 2e6265e644d7..2373ca1d1493 100644

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

net/core/skbuff.c +7 -5
index 11cda3cf681c..734d7ca9f74d 100644

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

net/ieee802154/6lowpan_rtnl.c +104 -36

140 lines not on this page · raw message

net/ipv4/fib_frontend.c +4 -0
index 2020abf58812..c8c7e1af4c1b 100644

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

net/ipv4/fib_semantics.c +50 -0

50 lines not on this page · raw message

net/ipv4/igmp.c +4 -4
index 08dfaeac1b08..48444c4c3c51 100644

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

net/ipv4/ip_tunnel.c +9 -0
index 32f685b35302..f0f64a102837 100644

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

net/ipv6/addrconf.c +4 -2
index 22773519912b..1953b79f46b4 100644

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

net/ipv6/af_inet6.c +2 -2
index feed46f4d726..d5db3ce7b463 100644

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

net/ipv6/ip6_output.c +2 -1
index a94432384bc4..e59b30054b0f 100644

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

net/ipv6/ip6_tunnel.c +11 -2
index 28736de12459..36484a8565f4 100644

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

net/ipv6/raw.c +23 -11
index 1412a20eded3..aba53fbdec10 100644

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

net/ipv6/xfrm6_output.c +2 -0
index 0f8cd584cd3d..c2b7e70aa5d4 100644

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

net/l2tp/l2tp_core.c +1 -1
index 8cd87fbef291..943fc485b5ed 100644

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

net/mac80211/cfg.c +1 -1
index 4b1a0e5dd701..46d0ecf362bf 100644

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

net/mac802154/tx.c +24 -11
index 6d1647399d4f..c5a2457940a4 100644

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

net/netfilter/nf_tables_api.c +8 -2
index b834cd9232c4..1a41bf30bb2e 100644

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

net/netfilter/nft_hash.c +1 -1
index 4080ed6a072b..55d8a62c608d 100644

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

net/netfilter/nft_rbtree.c +1 -1
index 0636387c7c80..1a4791467f87 100644

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

net/sched/act_ipt.c +1 -1
index 8a64a0734aee..745d3071855e 100644

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

net/wireless/nl80211.c +1 -0
index 591d7772e99b..105fdd8589d7 100644

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

net/wireless/reg.c +1 -0
index 20ccc79d53a2..22a6387b3bcc 100644

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

net/xfrm/xfrm_policy.c +4 -1
index 6e1a7104d66f..bf535ab3b442 100644

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

net/xfrm/xfrm_user.c +12 -0
index 25dc962431d4..62fbbdc58566 100644

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

security/apparmor/policy_unpack.c +0 -32
index a689f10930b5..25ce8e3d6ede 100644

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

security/keys/encrypted-keys/encrypted.c +15 -16
index cad4c1f415e3..32437a63002d 100644

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

sound/aoa/core/gpio-feature.c +3 -1
index f34153962d07..585b594bd838 100644

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

sound/core/memalloc.c +2 -6
index 082509eb805d..c5fc489de26f 100644

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

sound/core/seq/oss/seq_oss.c +1 -1
index bb032d7593e3..0b292c5d8ea7 100644

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

sound/core/seq/seq_clientmgr.c +1 -1
index b813ecc6322d..60fb2c708d75 100644

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

sound/core/seq/seq_virmidi.c +10 -0
index ef494ffc1369..975a7c939d2f 100644

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

sound/drivers/vx/vx_pcm.c +4 -2
index deed5efff33c..e5ebe2eea020 100644

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

sound/firewire/bebob/bebob_maudio.c +14 -10
index 96f770024c3b..3f285d23a9dd 100644

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

sound/pci/cs5535audio/cs5535audio.h +3 -3
index 0579daa62215..425d1b664029 100644

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

sound/pci/cs5535audio/cs5535audio_pcm.c +2 -2
index 9c2dc911d8d7..709f1c584d3e 100644

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

sound/pci/emu10k1/emufx.c +1 -1
index 745f0627c634..acce8c76eff0 100644

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

sound/pci/vx222/vx222_ops.c +10 -10
index 2d1570273e99..5c7fbf403451 100644

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

sound/pcmcia/vx/vxp_ops.c +11 -11
index fe33e122e372..894177603b9a 100644

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

sound/soc/codecs/wm8994.c +1 -0
index e1bb8b036909..1105528aa746 100644

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

tools/hv/hv_fcopy_daemon.c +1 -0
index fba1c75aa484..ee17dfaec22c 100644

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

tools/hv/hv_kvp_daemon.c +1 -1
index f660d3f69ce7..ac32a9234dd2 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.