Skip to contentSkip to conversation

Linux 3.16.57

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

lore
Share & tools
lore
#0 lore raw

I'm announcing the release of the 3.16.57 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.56 is attached to this message.

Ben.

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

 Documentation/device-mapper/thin-provisioning.txt  |   8 +-
 Documentation/devicetree/bindings/dma/snps-dma.txt |   2 +-
 Documentation/filesystems/ext4.txt                 |   2 +-
 Makefile                                           |   2 +-
 arch/alpha/kernel/pci_impl.h                       |   3 +-
 arch/alpha/kernel/process.c                        |   3 +-
 arch/arm/boot/dts/exynos4412-trats2.dts            |   2 +-
 arch/arm/boot/dts/spear1310-evb.dts                |   2 +-
 arch/arm/boot/dts/spear1340.dtsi                   |   4 +-
 arch/arm/boot/dts/spear13xx.dtsi                   |   6 +-
 arch/arm/boot/dts/spear600.dtsi                    |   1 +
 arch/arm/kvm/handle_exit.c                         |  13 +-
 arch/arm/mach-mvebu/Kconfig                        |   4 +-
 arch/arm/xen/enlighten.c                           |   1 +
 arch/arm64/kernel/process.c                        |  16 +-
 arch/arm64/kernel/traps.c                          |  58 +-
 arch/arm64/kvm/handle_exit.c                       |   9 +
 arch/ia64/scripts/unwcheck.py                      |  16 +-
 arch/mips/boot/compressed/Makefile                 |   6 +-
 arch/mips/kernel/smp-bmips.c                       |   8 +-
 arch/mips/kernel/traps.c                           |  15 +-
 arch/mips/ralink/reset.c                           |   8 -
 arch/mips/txx9/rbtx4939/setup.c                    |   4 +-
 arch/mn10300/mm/misalignment.c                     |   2 +-
 arch/openrisc/kernel/traps.c                       |  10 +-
 arch/powerpc/include/asm/kvm_book3s.h              |   6 +-
 arch/powerpc/include/asm/topology.h                |   8 +
 arch/powerpc/kernel/entry_64.S                     |  10 +-
 arch/powerpc/kvm/book3s_interrupts.S               |   4 +-
 arch/powerpc/kvm/book3s_pr.c                       |  20 +-
 arch/powerpc/mm/numa.c                             |   5 -
 arch/powerpc/platforms/pseries/hotplug-cpu.c       |   2 +
 arch/s390/kernel/compat_linux.c                    |   8 +-
 arch/s390/kvm/kvm-s390.c                           |   1 +
 arch/sh/kernel/traps_32.c                          |   3 +-
 arch/sparc/crypto/crc32c_glue.c                    |   1 +
 arch/x86/crypto/crc32-pclmul_glue.c                |   1 +
 arch/x86/crypto/crc32c-intel_glue.c                |   1 +
 arch/x86/include/asm/apm.h                         |   6 +
 arch/x86/include/asm/cpufeature.h                  |  15 +-
 arch/x86/include/asm/efi.h                         |   8 +
 arch/x86/include/asm/intel-family.h                |  11 +-
 arch/x86/include/asm/kvm_host.h                    |   8 +-
 arch/x86/include/asm/nospec-branch.h               |  37 ++
 arch/x86/include/asm/pgtable.h                     |   4 +-
 arch/x86/include/asm/pgtable_types.h               |   5 +
 arch/x86/include/asm/vmx.h                         |   1 +
 arch/x86/include/uapi/asm/mce.h                    |   4 +
 arch/x86/include/uapi/asm/msr-index.h              |  12 +
 arch/x86/kernel/aperture_64.c                      |  46 +-
 arch/x86/kernel/cpu/bugs.c                         |  19 +-
 arch/x86/kernel/cpu/common.c                       |  75 ++-
 arch/x86/kernel/cpu/intel.c                        |  71 +++
 arch/x86/kernel/cpu/mcheck/mce.c                   |  26 +-
 arch/x86/kernel/cpu/microcode/core.c               |   2 +-
 arch/x86/kernel/cpu/microcode/core_early.c         |  29 +-
 arch/x86/kernel/entry_64.S                         |   2 +-
 arch/x86/kernel/traps.c                            |  27 +-
 arch/x86/kvm/cpuid.c                               |  24 +-
 arch/x86/kvm/cpuid.h                               |  31 ++
 arch/x86/kvm/svm.c                                 | 171 +++++-
 arch/x86/kvm/vmx.c                                 | 619 +++++++++++----------
 arch/x86/kvm/x86.c                                 | 111 ++--
 arch/x86/mm/tlb.c                                  |  19 +
 arch/x86/oprofile/nmi_int.c                        |   2 +-
 arch/x86/xen/mmu.c                                 |   2 +-
 arch/x86/xen/suspend.c                             |  24 +
 arch/x86/xen/xen-head.S                            |  15 +
 arch/xtensa/include/asm/futex.h                    |  23 +-
 crypto/af_alg.c                                    |   5 +
 crypto/ahash.c                                     |  33 +-
 crypto/algif_hash.c                                |  54 +-
 crypto/crc32.c                                     |   1 +
 crypto/crc32c_generic.c                            |   1 +
 crypto/cryptd.c                                    |   6 +-
 crypto/shash.c                                     |  25 +-
 drivers/ata/ahci.c                                 |  24 +-
 drivers/ata/libata-core.c                          |  21 +-
 drivers/ata/libata-eh.c                            |   3 +-
 drivers/ata/libata-scsi.c                          |   4 +-
 drivers/block/pktcdvd.c                            |   4 +-
 drivers/block/rbd.c                                |   7 +-
 drivers/cdrom/cdrom.c                              |   2 +-
 drivers/char/tpm/tpm-interface.c                   |   4 +
 drivers/char/tpm/tpm_i2c_infineon.c                |   5 +-
 drivers/char/tpm/tpm_i2c_nuvoton.c                 |   8 +-
 drivers/char/tpm/tpm_tis.c                         |   5 +-
 drivers/clocksource/fsl_ftm_timer.c                |   2 +-
 drivers/cpufreq/s3c24xx-cpufreq.c                  |   8 +-
 drivers/crypto/bfin_crc.c                          |   3 +-
 drivers/crypto/caam/ctrl.c                         |   8 +-
 drivers/crypto/s5p-sss.c                           |  12 +-
 drivers/devfreq/devfreq.c                          |   2 +-
 drivers/edac/octeon_edac-lmc.c                     |   1 +
 drivers/firmware/dmi_scan.c                        |  22 +-
 drivers/gpu/drm/drm_edid.c                         |   3 +
 drivers/gpu/drm/drm_probe_helper.c                 |  20 +
 drivers/gpu/drm/nouveau/nouveau_connector.c        |  18 +-
 drivers/gpu/drm/radeon/cik.c                       |  31 +-
 drivers/gpu/drm/radeon/radeon_connectors.c         | 105 ++--
 drivers/gpu/drm/radeon/radeon_device.c             |   4 +
 drivers/gpu/drm/radeon/radeon_gem.c                |   2 -
 drivers/gpu/drm/radeon/radeon_object.c             |   2 +
 drivers/gpu/drm/radeon/radeon_uvd.c                |   2 +-
 drivers/gpu/drm/radeon/si_dpm.c                    |   5 +
 drivers/gpu/drm/ttm/ttm_bo.c                       |   3 +-
 drivers/gpu/drm/udl/udl_fb.c                       |   9 +-
 drivers/hid/hid-core.c                             |   3 +
 drivers/hid/hid-ids.h                              |   4 +
 drivers/hid/hid-roccat-kovaplus.c                  |   2 +
 drivers/hid/usbhid/hid-quirks.c                    |   1 +
 drivers/iio/imu/adis_trigger.c                     |   7 +-
 drivers/iio/industrialio-buffer.c                  |   2 +-
 drivers/infiniband/core/cma.c                      |   5 +-
 drivers/infiniband/core/iwpm_util.c                |   1 +
 drivers/infiniband/core/ucma.c                     |  51 +-
 drivers/infiniband/hw/mlx4/main.c                  |  13 +-
 drivers/infiniband/hw/mlx5/cq.c                    |   7 +-
 drivers/infiniband/hw/mlx5/qp.c                    |   5 +-
 drivers/infiniband/hw/mlx5/srq.c                   |  15 +-
 drivers/infiniband/ulp/ipoib/ipoib_fs.c            |   2 -
 drivers/input/keyboard/matrix_keypad.c             |   4 +-
 drivers/input/touchscreen/edt-ft5x06.c             |  14 +-
 drivers/input/touchscreen/mms114.c                 |   2 +-
 drivers/md/bcache/super.c                          |  27 +-
 drivers/md/raid10.c                                |   6 +-
 drivers/media/pci/bt8xx/bt878.c                    |   3 +-
 drivers/media/platform/exynos4-is/fimc-isp.c       |  14 +-
 drivers/media/usb/cpia2/cpia2_v4l.c                |   4 +-
 drivers/media/usb/dvb-usb-v2/lmedm04.c             |  39 +-
 drivers/media/usb/dvb-usb/cxusb.c                  |   2 +
 drivers/media/usb/dvb-usb/dib0700_devices.c        |   1 +
 drivers/misc/lkdtm.c                               |   2 +-
 drivers/mmc/card/block.c                           |  21 +
 drivers/mmc/host/dw_mmc-exynos.c                   |   1 +
 drivers/mmc/host/dw_mmc.c                          |  68 ++-
 drivers/mmc/host/dw_mmc.h                          |   2 +
 drivers/mmc/host/sdhci-pci.c                       |  27 +
 drivers/mmc/host/sdhci.c                           |   7 +-
 drivers/mmc/host/sdhci.h                           |   1 +
 drivers/mtd/chips/jedec_probe.c                    |   2 +
 drivers/mtd/nand/nand_base.c                       |   5 +-
 drivers/mtd/ubi/vmt.c                              |  15 +-
 drivers/mtd/ubi/wl.c                               |   8 +-
 drivers/net/bonding/bond_main.c                    |  73 +--
 drivers/net/can/cc770/cc770.c                      | 100 ++--
 drivers/net/can/cc770/cc770.h                      |   2 +
 drivers/net/ethernet/broadcom/bcmsysport.c         |  33 +-
 drivers/net/ethernet/broadcom/bcmsysport.h         |   2 +-
 drivers/net/ethernet/intel/e1000e/ich8lan.c        |   2 +-
 drivers/net/ethernet/intel/e1000e/mac.c            |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c     |  23 +-
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c    |  27 +-
 drivers/net/ethernet/mellanox/mlx4/en_main.c       |   4 +-
 drivers/net/ethernet/mellanox/mlx4/mr.c            |  40 +-
 drivers/net/ethernet/mellanox/mlx4/qp.c            |   3 +
 drivers/net/slip/slip.c                            |   4 +-
 drivers/net/team/team.c                            |   4 +-
 drivers/net/tun.c                                  |   2 +-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c      |   4 +
 drivers/net/wireless/brcm80211/brcmfmac/p2p.c      |  24 +-
 drivers/net/wireless/ti/wl1251/main.c              |   3 +-
 drivers/pci/quirks.c                               |   2 +
 drivers/pinctrl/core.c                             |  24 +-
 drivers/platform/x86/apple-gmux.c                  |  48 +-
 drivers/power/ab8500_charger.c                     |   6 +-
 drivers/s390/net/qeth_core.h                       |   5 +
 drivers/s390/net/qeth_core_main.c                  |  16 +-
 drivers/s390/net/qeth_l2_main.c                    |   2 +-
 drivers/s390/net/qeth_l3_main.c                    |   2 +-
 drivers/scsi/aacraid/aachba.c                      |  22 +-
 drivers/scsi/arm/fas216.c                          |   2 +-
 drivers/scsi/ibmvscsi/ibmvfc.h                     |   2 +-
 drivers/scsi/ipr.c                                 |   3 +-
 drivers/scsi/libsas/sas_ata.c                      |   3 +-
 drivers/scsi/libsas/sas_expander.c                 |   3 +-
 drivers/spi/spi-imx.c                              |  15 +-
 drivers/spi/spi-sun6i.c                            |   2 +-
 drivers/staging/android/ashmem.c                   |  32 +-
 drivers/staging/android/binder.c                   |  14 +-
 drivers/staging/iio/adc/ad7192.c                   |  29 +-
 drivers/staging/iio/adc/ad7192.h                   |   2 +-
 drivers/staging/iio/adc/ad7280a.c                  |   4 +-
 .../lustre/libcfs/linux/linux-crypto-adler.c       |   1 +
 drivers/staging/lustre/lustre/libcfs/tracefile.c   |   2 +-
 drivers/staging/rts5208/ms.c                       |   3 +-
 drivers/staging/usbip/stub_dev.c                   |   3 +
 drivers/staging/usbip/userspace/src/usbip_bind.c   |   9 +
 drivers/staging/usbip/userspace/src/usbip_list.c   |   9 +
 drivers/staging/usbip/vhci_hcd.c                   |   2 +
 drivers/tty/n_tty.c                                |   6 +
 drivers/tty/serial/8250/8250_pci.c                 |  11 +
 drivers/tty/serial/atmel_serial.c                  |   1 +
 drivers/tty/serial/sh-sci.c                        |   2 +
 drivers/tty/vt/vt.c                                |   8 +-
 drivers/usb/class/cdc-acm.c                        |   5 +-
 drivers/usb/core/message.c                         |   4 +
 drivers/usb/core/quirks.c                          |   6 +-
 drivers/usb/dwc3/gadget.c                          |   2 +
 drivers/usb/gadget/f_fs.c                          |   9 +-
 drivers/usb/host/ohci-q.c                          |  17 +-
 drivers/usb/host/xhci-pci.c                        |   3 +
 drivers/usb/host/xhci.c                            |   3 +
 drivers/usb/host/xhci.h                            |   1 +
 drivers/usb/misc/ldusb.c                           |   6 +
 drivers/usb/mon/mon_text.c                         | 124 +++--
 drivers/usb/serial/Kconfig                         |   3 +
 drivers/usb/serial/io_edgeport.c                   |   1 -
 drivers/usb/serial/option.c                        |   5 +
 drivers/usb/serial/pl2303.c                        |   1 +
 drivers/usb/serial/pl2303.h                        |   1 +
 drivers/usb/serial/usb-serial-simple.c             |  26 +-
 drivers/usb/storage/uas.c                          |  22 +-
 drivers/usb/storage/unusual_devs.h                 |   7 +
 drivers/vhost/net.c                                |   1 +
 drivers/video/console/dummycon.c                   |   1 -
 drivers/video/fbdev/atmel_lcdfb.c                  |  10 +-
 drivers/video/fbdev/sbuslib.c                      |   4 +-
 drivers/xen/events/events_base.c                   |   4 +-
 drivers/xen/manage.c                               |   9 +-
 fs/aio.c                                           | 134 +++--
 fs/btrfs/backref.c                                 |  11 +-
 fs/btrfs/inode.c                                   |  44 +-
 fs/btrfs/tree-log.c                                |  14 +-
 fs/btrfs/volumes.c                                 |  11 +-
 fs/cifs/cifsencrypt.c                              |   3 +-
 fs/cifs/cifssmb.c                                  |   4 +-
 fs/cifs/connect.c                                  |   4 +-
 fs/cifs/file.c                                     |  26 +-
 fs/cifs/misc.c                                     |  14 +-
 fs/cifs/smb2pdu.c                                  |   6 +-
 fs/dcache.c                                        |  11 +-
 fs/ext4/balloc.c                                   |  17 +-
 fs/ext4/ialloc.c                                   |   6 +
 fs/ext4/inode.c                                    |   6 +
 fs/ext4/super.c                                    |   1 +
 fs/f2fs/segment.c                                  |   5 +-
 fs/hugetlbfs/inode.c                               |  26 +-
 fs/jffs2/fs.c                                      |   1 -
 fs/kernfs/file.c                                   |   2 +-
 fs/namei.c                                         |   5 +-
 fs/ncpfs/ncplib_kernel.c                           |   4 +
 fs/nfs/direct.c                                    |   4 +-
 fs/nfs/idmap.c                                     |   6 +-
 fs/nfs/internal.h                                  |   1 -
 fs/nfs/nfs4sysctl.c                                |   2 +-
 fs/nfs/pagelist.c                                  |  26 +-
 fs/nfs/pnfs.c                                      |   6 +-
 fs/nfs/super.c                                     |   2 +
 fs/nfs/write.c                                     |   2 +
 fs/ocfs2/cluster/nodemanager.c                     |  63 ++-
 fs/pipe.c                                          | 198 ++++---
 include/crypto/hash.h                              |  34 +-
 include/crypto/internal/hash.h                     |   2 +
 include/drm/drm_crtc_helper.h                      |   1 +
 include/linux/crypto.h                             |   8 +
 include/linux/fs.h                                 |   4 +
 include/linux/libata.h                             |   1 +
 include/linux/mlx5/driver.h                        |   4 +-
 include/linux/mmc/sdhci.h                          |   1 +
 include/linux/nospec.h                             |   3 +-
 include/linux/pipe_fs_i.h                          |   4 +-
 include/linux/skbuff.h                             |  17 +
 include/linux/usb/quirks.h                         |   3 +
 include/linux/workqueue.h                          |   1 +
 include/net/ip.h                                   |  11 +-
 include/net/ip_fib.h                               |   1 +
 include/net/regulatory.h                           |   2 +-
 include/net/route.h                                |   3 +-
 include/net/sch_generic.h                          |   8 +
 include/net/sctp/sctp.h                            |   7 +-
 include/net/udplite.h                              |   1 +
 include/scsi/libsas.h                              |  34 +-
 include/uapi/linux/if_ether.h                      |   3 +
 include/uapi/linux/usb/audio.h                     |   4 +-
 include/xen/xen-ops.h                              |   1 +
 kernel/async.c                                     |  20 +-
 kernel/events/hw_breakpoint.c                      |  30 +-
 kernel/hrtimer.c                                   |   7 +-
 kernel/posix-timers.c                              |  15 +-
 kernel/relay.c                                     |   2 +-
 kernel/sysctl.c                                    |  33 +-
 kernel/trace/trace_kprobe.c                        |   4 +-
 kernel/trace/trace_probe.c                         |   8 +-
 kernel/trace/trace_probe.h                         |   2 +-
 kernel/workqueue.c                                 |  16 +
 mm/hugetlb.c                                       |   9 +
 mm/madvise.c                                       |   3 +-
 mm/memory.c                                        |   2 +-
 mm/mempolicy.c                                     |   3 +
 mm/vmscan.c                                        |  14 +-
 net/9p/trans_virtio.c                              |   3 +-
 net/batman-adv/bat_iv_ogm.c                        |  16 +-
 net/batman-adv/distributed-arp-table.c             |   2 +-
 net/batman-adv/fragmentation.c                     |   3 +-
 net/batman-adv/gateway_client.c                    |   3 +
 net/batman-adv/hard-interface.c                    |   9 +-
 net/batman-adv/multicast.c                         |   4 +-
 net/batman-adv/originator.c                        |   4 +-
 net/batman-adv/originator.h                        |   4 +-
 net/batman-adv/routing.c                           |  21 +-
 net/batman-adv/soft-interface.c                    |   8 +-
 net/batman-adv/types.h                             |   9 +-
 net/bluetooth/hidp/core.c                          |   3 +-
 net/bridge/br_sysfs_if.c                           |   3 +
 net/bridge/netfilter/ebt_among.c                   |  55 +-
 net/bridge/netfilter/ebtables.c                    |  17 +-
 net/core/dev.c                                     |  13 +-
 net/core/skbuff.c                                  |  11 +-
 net/dccp/proto.c                                   |   5 +
 net/decnet/af_decnet.c                             |  62 ++-
 net/ipv4/igmp.c                                    |   4 +
 net/ipv4/ip_sockglue.c                             |  21 +-
 net/ipv4/ip_tunnel.c                               |  30 +-
 net/ipv4/ip_vti.c                                  |   2 -
 net/ipv4/netfilter/ipt_CLUSTERIP.c                 |  24 +-
 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c     |   6 +-
 net/ipv4/route.c                                   | 114 ++--
 net/ipv4/udp.c                                     |   5 +
 net/ipv4/xfrm4_policy.c                            |   1 +
 net/ipv6/ip6_checksum.c                            |   5 +
 net/ipv6/ip6_output.c                              |  13 +-
 net/ipv6/ipv6_sockglue.c                           |  27 +-
 net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c     |  18 +-
 net/ipv6/netfilter/nf_nat_l3proto_ipv6.c           |   4 +
 net/l2tp/l2tp_core.c                               | 202 +++----
 net/l2tp/l2tp_core.h                               |  26 +-
 net/l2tp/l2tp_ip.c                                 |  10 +-
 net/l2tp/l2tp_ip6.c                                |   8 +-
 net/l2tp/l2tp_ppp.c                                | 126 ++---
 net/mac80211/cfg.c                                 |   2 +-
 net/netfilter/nf_nat_proto_common.c                |   7 +-
 net/netfilter/xt_IDLETIMER.c                       |   9 +-
 net/netfilter/xt_LED.c                             |  12 +-
 net/netfilter/xt_RATEEST.c                         |  22 +-
 net/netlink/af_netlink.c                           |   3 +
 net/netlink/genetlink.c                            |  12 +-
 net/nfc/llcp_commands.c                            |   4 +
 net/nfc/netlink.c                                  |   3 +-
 net/sched/sch_netem.c                              |   6 +-
 net/sctp/sm_make_chunk.c                           |   8 +-
 net/xfrm/xfrm_user.c                               |  21 +-
 security/integrity/ima/ima_appraise.c              |   3 +-
 sound/core/oss/pcm_oss.c                           |   4 +-
 sound/core/pcm_native.c                            |   2 +-
 sound/core/seq/seq_clientmgr.c                     |  29 +-
 sound/core/seq/seq_fifo.c                          |   2 +-
 sound/core/seq/seq_memory.c                        |  14 +-
 sound/core/seq/seq_memory.h                        |   3 +-
 sound/core/seq/seq_prioq.c                         |  28 +-
 sound/core/seq/seq_prioq.h                         |   6 +-
 sound/core/seq/seq_queue.c                         |  28 +-
 sound/drivers/aloop.c                              |  17 +-
 sound/pci/hda/patch_realtek.c                      |  25 +-
 sound/soc/au1x/ac97c.c                             |   6 +-
 sound/soc/codecs/rt5651.c                          |   1 +
 sound/soc/nuc900/nuc900-ac97.c                     |   4 +-
 sound/usb/pcm.c                                    |   9 +
 sound/usb/quirks-table.h                           |  47 ++
 tools/perf/builtin-record.c                        |  13 +
 tools/perf/util/annotate.c                         |   8 +-
 tools/perf/util/evlist.c                           |  28 +
 tools/perf/util/evlist.h                           |   3 +
 tools/perf/util/session.c                          |   3 +-
 .../testing/selftests/rcutorture/bin/configinit.sh |   2 +-
 tools/testing/selftests/rcutorture/bin/kvm.sh      |   4 +-
 virt/kvm/kvm_main.c                                |   3 +-
 367 files changed, 3696 insertions(+), 2110 deletions(-)

AMAN DEEP (1):
usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

Adrian Hunter (2):
mmc: sdhci: Allow override of mmc host operations
mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers

Al Viro (2):
Bluetooth: hidp_connection_add() unsafe use of l2cap_pi() lock_parent() needs to recheck if dentry got __dentry_kill'ed under it

Alaa Hleihel (1):
IB/ipoib: Do not warn if IPoIB debugfs doesn't exist

Alex Deucher (2):
drm/radeon: Add dpm quirk for Jet PRO (v2)
drm/radeon: fix KV harvesting

Alexander Graf (1):
KVM: PPC: Book3S PR: Fix svcpu copying with preemption enabled

Alexander Potapenko (1):
netlink: make sure nladdr has correct size in netlink_connect()

Alexandra Yates (3):
ahci: add new Intel device IDs
ahci: Order SATA device IDs for codename Lewisburg Adding Intel Lewisburg device IDs for SATA

Alexandru Ardelean (1):
staging: iio: adc: ad7192: fix external frequency setting

Alexey Kodanev (4):
dccp: check sk for closed state in dccp_sendmsg()
sctp: verify size of a new chunk in _sctp_make_chunk()
udplite: fix partial checksum initialization
sch_netem: fix skb leak in netem_enqueue()

Andi Shyti (1):
Input: mms114 - fix license module information

Andri Yngvason (3):
can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
can: cc770: Fix queue stall & dropped RTR reply
can: cc770: Fix use after free in cc770_tx_interrupt()

Andy Lutomirski (1):
x86/entry/64: Don't use IST entry for #BP stack

Andy Shevchenko (1):
x86/cpu: Rename Merrifield2 to Moorefield

Anna-Maria Gleixner (1):
hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)

Arend Van Spriel (1):
brcmfmac: fix P2P_DEVICE ethernet address generation

Arkadi Sharshevsky (1):
team: Fix double free in error path

Arnaldo Carvalho de Melo (3):
perf evlist: Introduce perf_evlist__new_dummy constructor perf record: Generate PERF_RECORD_{MMAP,COMM,EXEC} with --delay perf report: Fix -D output for user metadata events

Arnd Bergmann (7):
x86/pti: Mark constant arrays as __initconst
media: exynos4-is: properly initialize frame format
scsi: fas216: fix sense buffer initialization
cifs: silence compiler warnings showing up with gcc-8.0.0
mm: hide a #warning for COMPILE_TEST
cfg80211: fix cfg80211_beacon_dup
x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()

Ashok Raj (1):
KVM/x86: Add IBPB support

Aurelien Aptel (1):
CIFS: zero sensitive data when freeing

Baolin Wang (1):
usb: gadget: f_fs: Fix possibe deadlock

Bart Van Assche (1):
pktcdvd: Fix pkt_setup_dev() error path

Bastian Stender (1):
mmc: block: fix updating ext_csd caches on ioctl call

Ben Crocker (1):
drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

Ben Hutchings (4):
staging: android: ashmem: Fix a race condition in pin ioctls
xen: Add xen_arch_suspend()
skb: Add skb_postpush_rcsum()
Linux 3.16.57

Benjamin Poirier (1):
e1000e: Fix check_for_link return value with autoneg off

Bjorn Andersson (1):
PM / devfreq: Propagate error from devfreq_add_device()

Boris Ostrovsky (1):
xen/arm: Define xen_arch_suspend()

Boris Pismenny (1):
IB/mlx5: Fix integer overflows in mlx5_ib_create_srq

Borislav Petkov (2):
x86, microcode: Fix accessing dis_ucode_ldr on 32-bit x86/microcode/AMD: Do not load when running on a hypervisor

[email protected] (1):
ahci: Add Device ID for Intel Sunrise Point PCH

Chien Tin Tung (1):
RDMA/ucma: Correct option size check using optlen

Christian Borntraeger (1):
KVM: s390: provide io interrupt kvm_stat

Christian König (2):
drm/ttm: fix adding foreign BOs to the swap LRU drm/radeon: fix prime teardown order

Christophe JAILLET (3):
power: supply: ab8500_charger: Fix an error handling path
power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
media: bt8xx: Fix err 'bt878_probe()'

Clay McClure (1):
ubi: Fix race condition between ubi volume creation and udev

Colin Ian King (3):
wl1251: check return from call to wl1251_acx_arp_ip_filter
scsi: aacraid: remove redundant setting of variable c clocksource/drivers/fsl_ftm_timer: Fix error return checking

Cong Wang (2):
netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert
netfilter: ipt_CLUSTERIP: fix a refcount bug in clusterip_config_find_get()

Corentin Labbe (2):
powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n
ia64: convert unwcheck.py to python3

Dan Aloni (1):
cifs: empty TargetInfo leads to crash on recovery

Dan Carpenter (10):
staging: ncpfs: memory corruption in ncp_read_kernel()
cdrom: information leak in cdrom_ioctl_media_changed()
media: cpia2: Fix a couple off by one bugs
ASoC: nuc900: Fix a loop timeout test
ath9k_htc: Add a sanity check in ath9k_htc_ampdu_action()
ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
staging: lustre: libcfs: Prevent harmless read underflow
staging: rts5208: Fix "seg_no" calculation in reset_ms_card()
HID: roccat: prevent an out of bounds read in kovaplus_profile_activated()
ALSA: pcm: potential uninitialized return values

Daniel N Pettersson (1):
cifs: Fix autonegotiate security settings mismatch

Danilo Krummrich (1):
usb: quirks: add control message delay for 1b1c:1b20

Dave Hansen (1):
x86/cpu: Rename "WESTMERE2" family to "NEHALEM_G"

Dave Young (1):
HID: add quirk for another PIXART OEM mouse used by HP

David Ahern (1):
net: Refactor rtable initialization

David Matlack (1):
KVM: nVMX: mark vmcs12 pages dirty on L2 exit

David Rientjes (1):
kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE

David Woodhouse (11):
x86/cpufeatures: Add Intel feature bits for Speculation Control x86/cpufeatures: Add AMD feature bits for Speculation Control x86/msr: Add definitions for new speculation control MSRs x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support x86/cpufeatures: Clean up Spectre v2 related CPUID flags x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel x86/speculation: Use IBRS if available before calling into firmware x86/speculation: Update Speculation Control microcode blacklist x86/speculation: Correct Speculation Control microcode blacklist again

Dmitry Torokhov (1):
Input: edt-ft5x06 - fix error handling for factory mode on non-M06

Dmitry Vyukov (1):
netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()

Eran Ben Elisha (1):
net/mlx4_en: Fix mixed PFC and Global pause user control requests

Eric Biggers (15):
crypto: hash - introduce crypto_hash_alg_has_setkey()
crypto: cryptd - pass through absence of ->setkey()
crypto: hash - annotate algorithms taking optional key
crypto: hash - prevent using keyed hashes without setting key
NFS: reject request for id_legacy key without auxdata pipe, sysctl: drop 'min' parameter from pipe-max-size converter pipe, sysctl: remove pipe_proc_fn()
pipe: actually allow root to exceed the pipe buffer limits
pipe: fix off-by-one error when checking buffer limits
pipe: reject F_SETPIPE_SZ with size over UINT_MAX
pipe: simplify round_pipe_size()
pipe: read buffer limits atomically
libata: fix length validation of ATAPI-relayed SCSI commands
libata: remove WARN() for DMA or PIO command without data
binder: check for binder_thread allocation failure in binder_poll()

Eric Dumazet (4):
net: igmp: add a missing rcu locking section
netfilter: IDLETIMER: be syzkaller friendly
l2tp: do not accept arbitrary sockets
net: fix possible out-of-bound read in skb_network_protocol()

Eric W. Biederman (4):
signal/sh: Ensure si_signo is initialized in do_divide_error signal/openrisc: Fix do_unaligned_access to send the proper signal mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
fs: Teach path_connected to handle nfs filesystems with multiple roots.

Erik Veijola (1):
ALSA: usb-audio: Add a quirck for B&W PX headphones

Ernesto A. Fernández (1):
ext4: correct documentation for grpid mount option

Eugene Syromiatnikov (1):
s390: fix handling of -1 in set{,fs}[gu]id16 syscalls

Felix Kuehling (1):
drm/ttm: Don't add swapped BOs to swap-LRU list

Florian Fainelli (2):
pinctrl: Really force states during suspend/resume
net: systemport: Rewrite __bcm_sysport_tx_reclaim()

Florian Westphal (6):
netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
netfilter: ebtables: fix erroneous reject of last rule
xfrm_user: uncoditionally validate esn replay attribute struct
netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
netfilter: bridge: ebt_among: add missing match size checks
netfilter: bridge: ebt_among: add more missing match size checks

Ganesh Mahendran (1):
android: binder: use VM_ALLOC to get vm area

Geert Uytterhoeven (1):
RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()

Greg Kroah-Hartman (2):
drm: udl: Properly check framebuffer mmap offsets
USB: serial: pl2303: new device id for Chilitag

Greg Kurz (1):
9p/trans_virtio: discard zero-length reply

Guillaume Nault (3):
l2tp: remove l2tp_tunnel_count and l2tp_session_count
l2tp: don't close sessions in l2tp_tunnel_destruct()
l2tp: avoid using ->tunnel_sock for getting session's parent tunnel

Hans de Goede (10):
ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
USB: cdc-acm: Do not log urb submission errors on disconnect
uas: Log error codes when logging errors
libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
ASoC: rt5651: Fix regcache sync errors on resume
ahci: Add PCI-id for the Highpoint Rocketraid 644L card
PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version

Hans van Kranenburg (1):
btrfs: alloc_chunk: fix DUP stripe size handling

Hemant Kumar (1):
usb: f_fs: Prevent gadget unbind if it is already unbound

Horia Geantă (1):
crypto: caam - fix endless loop when DECO acquire fails

Hugh Dickins (1):
mm: fix the NULL mapping case in __isolate_lru_page()

Ilya Dryomov (1):
rbd: whitelist RBD_FEATURE_OPERATIONS feature bit

Ingo Molnar (1):
x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP

Ioana Ciornei (1):
staging: iio: adc: remove the use of CamelCase

Ivan Delalande (1):
lkdtm: fix handle_irq_event symbol for INT_HW_IRQ_EN

Ivan Vecera (2):
kernfs: fix regression in kernfs_fop_write caused by wrong type net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam()

J. Bruce Fields (1):
NFS: commit direct writes even if they fail partially

Jack Morgenstein (1):
IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports

Jack Stocker (1):
Add delay-init quirk for Corsair K70 RGB keyboards

Jake Daryll Obina (1):
jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path

Jakub Kicinski (1):
net: fix race on decreasing number of TX queues

James Chapman (5):
l2tp: don't use inet_shutdown on tunnel destroy
l2tp: don't use inet_shutdown on ppp session destroy
l2tp: fix races with tunnel socket close
l2tp: fix race in pppol2tp_release with session object destroy
l2tp: fix tunnel lookup use-after-free race

James Hogan (2):
EDAC, octeon: Fix an uninitialized variable warning
MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}

James Ralston (1):
ahci: Remove Device ID for Intel Sunrise Point PCH

Jan Beulich (1):

      x86/mm: Fix {pmd,pud}_{set,clear}_flags()

Jan Chochol (1):
nfs: Do not convert nfs_idmap_cache_timeout to jiffies

Jan-Marek Glogowski (1):
ALSA: hda/realtek: PCI quirk for Fujitsu U7x7

Jason Gunthorpe (1):
sctp: Fix mangled IPv4 addresses on a IPv6 listening socket

Jason Wang (1):
vhost_net: stop device during reset owner

Jason Yan (4):
scsi: libsas: remove the numbering for each event enum
scsi: libsas: fix memory leak in sas_smp_get_phy_events()
scsi: libsas: fix error when getting phy events
ata: do not schedule hot plug if it is a sas host

Jean Delvare (1):
firmware: dmi_scan: Fix handling of empty DMI strings

Jens Axboe (1):
aio: fix serial draining in exit_aio()

Jeremy Boone (4):
tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
tpm: fix potential buffer overruns caused by bit glitches on the bus

Jia-Ju Bai (1):
USB: serial: io_edgeport: fix possible sleep-in-atomic

Jim Mattson (1):
KVM: nVMX: Eliminate vmcs02 pool

Jiri Bohac (1):
x86/gart: Exclude GART aperture from vmcore

Joe Lawrence (3):
pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
pipe: add proc_dopipe_max_size() to safely assign pipe_max_size
sysctl: check for UINT_MAX before unsigned int min/max

Joel Fernandes (1):
staging: android: ashmem: Fix lockdep issue during llseek

Johan Hovold (5):
video: fbdev: atmel_lcdfb: fix display-timings lookup
USB: serial: add support for multi-port simple drivers
USB: serial: add Novatel Wireless GPS driver
USB: serial: add Medtronic CareLink USB driver
USB: serial: simple: add Motorola Tetra driver

Johannes Berg (1):
regulatory: add NUL to request alpha2

John Crispin (1):
MIPS: ralink: Don't set pm_power_off

Jonas Danielsson (1):
tty/serial: atmel: add new version check for usart

Ju Hyung Park (1):
libata: Enable queued TRIM for Samsung SSD 860

Juergen Gross (2):
x86/xen: init %gs very early to avoid page faults with stack protector x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend

Julia Lawall (3):
drivers: video: fbdev: atmel_lcdfb.c: fix error return code drm/radeon: adjust tested variable
USB: usbmon: remove assignment from IS_ERR argument

Julian Wiedmann (2):
s390/qeth: fix SETIP command handling s390/qeth: free netdevice when removing a card

Julien Gomes (1):
tun: allow positive return values on dev_get_valid_name() call

Justin Chen (1):
MIPS: BMIPS: Do not mask IPIs during suspend

Kai-Heng Feng (3):
drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
libata: disable LPM for Crucial BX100 SSD 500GB drive
xhci: Fix front USB ports on ASUS PRIME B350M-A

Kamil Konieczny (1):
crypto: s5p-sss - Fix kernel Oops in AES-ECB mode

KarimAllah Ahmed (3):
KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL

Karsten Koop (1):
usb: ldusb: add PIDs for new CASSY devices supported by this driver

Kees Cook (1):
NFC: llcp: Limit size of SDP URI

Kirill Marinushkin (1):
ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit

Konrad Rzeszutek Wilk (1):
x86/spectre_v2: Don't check microcode versions when running under hypervisors

Lars-Peter Clausen (1):
iio: adis_lib: Initialize trigger before requesting interrupt

Lassi Ylikojola (1):
ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204

Leon Romanovsky (11):
RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure RDMA/ucma: Limit possible option size
RDMA/ucma: Check that user doesn't overflow QP state RDMA/mlx5: Fix integer overflow while resizing CQ RDMA/ucma: Fix access to non-initialized CM_ID object RDMA/ucma: Don't allow join attempts for unsupported AF family RDMA/ucma: Check AF family prior resolving address RDMA/ucma: Fix use-after-free access in ucma_close RDMA/ucma: Ensure that CM_ID exists prior to access it RDMA/ucma: Check that device is connected prior to access it RDMA/ucma: Check that device exists prior to accessing it

Linus Lüssing (2):
batman-adv: fix multicast-via-unicast transmission with AP isolation
batman-adv: fix packet loss for broadcasted DHCP packets to a server

Linus Torvalds (3):
kvm/x86: fix icebp instruction handling perf/hwbp: Simplify the perf-hwbp code, fix documentation
tty: vt: fix up tabstops properly

Linus Walleij (1):
mtd: jedec_probe: Fix crash in jedec_read_mfr()

Liu Bo (4):
Btrfs: fix deadlock in run_delalloc_nocow
Btrfs: fix crash due to not cleaning up tree log block's dirty bits
Btrfs: fix extent state leak from tree log
Btrfs: fix use-after-free on root->orphan_block_rsv

Lukas Czerner (1):
ext4: fix bitmap position validation

Lukas Wunner (5):
Revert "apple-gmux: lock iGP IO to protect from vgaarb changes"
workqueue: Allow retrieval of current task's work struct
drm: Allow determining if current task is output poll worker drm/nouveau: Fix deadlock on runtime suspend drm/radeon: Fix deadlock on runtime suspend

Maciej W. Rozycki (1):
MIPS: Normalise code flow in the CpU exception handler

Malcolm Priestley (2):
media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner

Marc Kleine-Budde (1):
slip: sl_alloc(): remove unused parameter "dev_t line"

Marc Zyngier (2):
arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
arm64: KVM: Increment PC after handling an SMC trap

Mark Rutland (1):
arm64: remove __die()'s stack dump

Masahiro Yamada (1):
mmc: sdhci: export sdhci_execute_tuning()

Masami Hiramatsu (1):
tracing: probeevent: Fix to support minus offset from symbol

Masatake YAMATO (1):
route: remove unsed variable in __mkroute_input

Matt Redfearn (1):
MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS

Matthew Wilcox (1):
cifs: Fix missing put_xid in cifs_file_strict_mmap

Matthias Schiffer (4):
batman-adv: fix packet checksum in receive path
batman-adv: invalidate checksum on fragment reassembly
batman-adv: update data pointers after skb_cow()
batman-adv: fix header size check in batadv_dbg_arp()

Mauro Carvalho Chehab (1):

      media: cxusb, dib0700: ignore XC2028_I2C_FLUSH

Max Filippov (1):
xtensa: fix futex_atomic_cmpxchg_inatomic

Mel Gorman (1):
mm: pin address_space before dereferencing it while isolating an LRU page

Michael Kerrisk (man-pages) (8):
pipe: relocate round_pipe_size() above pipe_set_size()
pipe: move limit checking logic into pipe_set_size()
pipe: refactor argument for account_pipe_buffers()
pipe: fix limit checking in pipe_set_size()
pipe: simplify logic in alloc_pipe_info()
pipe: fix limit checking in alloc_pipe_info()
pipe: make account_pipe_buffers() return a value, and use it
pipe: cap initial pipe capacity according to pipe-max-size limit

Michael Lyle (1):
bcache: don't attach backing with duplicate UUID

Michael Weiser (2):
arm64: Disable unhandled signal log messages by default
arm64: Remove unimplemented syscall log message

Michel Dänzer (1):
drm/radeon: Don't turn off DP sink when disconnected

Mika Westerberg (1):
ahci: Add Intel Cannon Lake PCH-H PCI ID

Mike Kravetz (2):
hugetlbfs: fix offset overflow in hugetlbfs mmap
hugetlbfs: check for pgoff value overflow

Mikulas Patocka (2):
alpha: fix reboot on Avanti platform
alpha: fix crash if pthread_create races with signal delivery

Mimi Zohar (1):
ima: relax requiring a file signature for new files with zero length

Miquel Raynal (1):
mtd: nand: Fix nand_do_read_oob() return value

Namjae Jeon (1):
cifs: fix memory leak when password is supplied multiple times

Nathan Fontenot (1):
powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove

NeilBrown (1):
MIPS: ralink: Remove ralink_halt()

Nicholas Piggin (1):
powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context

Nicolas Dichtel (2):
netlink: ensure to loop over all netns in genlmsg_multicast_allns()
netlink: avoid a double skb free in genlmsg_mcast()

Nicolas Pitre (1):
console/dummy: leave .con_font_get set to NULL

Nikola Ciprich (1):
serial: 8250_pci: Add Brainboxes UC-260 4 port serial device

Nikolay Borisov (1):
btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker

OKAMOTO Yoshiaki (1):
usb: option: Add support for FS040U modem

Oleg Nesterov (2):
aio: change exit_aio() to load mm->ioctx_table once and avoid rcu_read_lock()
aio: kill the misleading rcu read locks in ioctx_add_table() and kill_ioctx()

Oliver Neukum (3):
usb: uas: unconditionally bring back host after reset
CDC-ACM: apply quirk for card reader
uas: fix comparison for error code

Paolo Abeni (7):
netfilter: on sockopt() acquire sock lock only in the required scope
netfilter: drop outermost socket lock in getsockopt()
netfilter: x_tables: fix missing timer initialization in xt_LED
netfilter: nat: cope with negative port range
dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock
l2tp: fix races with ipv4-mapped ipv6 addresses
ipv6: the entire IPv6 header chain must fit the first fragment

Paolo Bonzini (6):
KVM: x86: rename update_db_bp_intercept to update_bp_intercept
KVM: x86: pass host_initiated to functions that read MSRs
KVM: VMX: introduce alloc_loaded_vmcs
KVM: VMX: make MSR bitmaps per-VCPU
KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()

Parav Pandit (1):
RDMA/cma: Use correct size when writing netlink stats

Pete Zaitcev (1):
usb: usbmon: Read text within supplied buffer size

Peter Malone (1):
fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().

Peter Zijlstra (1):
x86/speculation: Add <asm/msr-index.h> dependency

Petr Machata (1):
ip_tunnel: Emit events for post-register MTU changes

Raghava Aditya Renukunta (1):
scsi: aacraid: Fix udev inquiry race condition

Rasmus Villemoes (2):
kernel/async.c: revert "async: simplify lowest_in_progress()"
nospec: Allow index argument to have const-qualified type

Roger Pau Monne (1):
xen/pirq: fix error path cleanup when binding MSIs

Sabrina Dubroca (1):
ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu

Scott Lawson (1):
AHCI: Remove obsolete Intel Lewisburg SATA RAID device IDs

Scott Mayhew (1):
nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds

SeongJae Park (2):
rcutorture/configinit: Fix build directory error message rcutorture/kvm.sh: Use consistent help text for --qemu-args

Sergey Senozhatsky (1):
arm64: do not use print_symbol()

Seunghun Han (1):
x86/MCE: Serialize sysfs changes

Shaohua Li (1):
ata: Add a new flag to destinguish sas controller

Shawn Lin (2):
mmc: dw_mmc: Factor out dw_mci_init_slot_caps
mmc: dw_mmc: Fix out-of-bounds access for slot's caps

Shuah Khan (3):
usbip: prevent bind loops on devices attached to vhci_hcd
usbip: list: don't list devices attached to vhci_hcd
usbip: keep usbip_device sockfd state in sync with tcp_socket

Simon Shields (1):
ARM: dts: exynos: Correct Trats2 panel reset line

Stefan Agner (1):
spi: imx: do not access registers while clocks disabled

Stefan Roese (1):
ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()

Stefan Windfeldt-Prytz (1):
iio: buffer: check if a buffer has been set up when poll is called

Stefano Brivio (3):
vti4: Don't count header length twice on tunnel setup
ip_tunnel: Clamp MTU to bounds on new link
vti4: Don't override MTU passed on link creation via IFLA_MTU

Stephan Mueller (1):
crypto: af_alg - whitelist mask and type

Sven Eckelmann (2):
batman-adv: Fix internal interface indices types
batman-adv: Fix skbuff rcsum on packet reroute

Takashi Iwai (8):
ALSA: seq: Fix racy pool initializations
ALSA: seq: Don't allow resizing pool in use
ALSA: seq: More protection for concurrent write and ioctl races
ALSA: seq: Fix possible UAF in snd_seq_check_queue()
ALSA: seq: Clear client entry before deleting else at closing
ALSA: hda/realtek - Always immediately update mute LED with pin VREF
ALSA: aloop: Sync stale timer before release
ALSA: aloop: Fix access to not-yet-ready substream via cable

Tang Junhui (1):
bcache: fix crashes in duplicate cache device register

Tariq Toukan (1):
net/mlx4_core: Cleanup FMR unmapping flow

Teijo Kinnunen (1):
USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h

Tejun Heo (3):
tty: make n_tty_read() always abort if hangup is in progress fs/aio: Add explicit RCU grace period when freeing kioctx fs/aio: Use RCU accessors for kioctx_table->table[]

Theodore Ts'o (2):
ext4: fail ext4_iget for root directory if unallocated
ext4: add validity checks for bitmap block numbers

Thinh Nguyen (1):
usb: dwc3: gadget: Set maxpacket size for ep0 IN

Thomas Gleixner (1):
posix-timers: Protect posix clock array access against speculation

Thomas Richter (1):
perf annotate: Fix objdump comment parsing for Intel mov dissassembly

Tim Chen (1):
x86/speculation: Use Indirect Branch Prediction Barrier in context switch

Tobias Jordan (1):
spi: sun6i: disable/unprepare clocks on remove

Todd Kjos (1):
binder: replace "%p" with "%pK"

Tony Luck (1):
x86/MCE: Save microcode revision in machine check records

Toshiaki Makita (2):
net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
net: Fix untag for vlan packets without ethernet header

Trond Myklebust (2):
NFS: Add a cond_resched() to nfs_commit_release_pages()
NFS: Fix 2 use after free issues in the I/O code

Tyrel Datwyler (1):
scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info

Ulf Magnusson (1):

      ARM: mvebu: Fix broken PL310_ERRATA_753970 selects

Ulrich Hecht (1):
serial: sh-sci: prevent lockup on full TTY buffers

Vinicius Costa Gomes (1):
skbuff: Fix not waking applications when errors are enqueued

Viresh Kumar (4):
arm: spear600: Add missing interrupt-parent of rtc
arm: spear13xx: Fix dmas cells
arm: spear13xx: Fix spics gpio controller's warning
cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

Wang Nan (1):
x86/traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP

Wanpeng Li (1):
KVM: mmu: Fix overlap between public and private memslots

Wei Yongjun (1):
mtd: ubi: wl: Fix error return code in ubi_wl_init()

Will Deacon (2):
arm64: traps: Don't print stack or raw PC/LR values in backtraces
arm64: __show_regs: Only resolve kernel symbols when running at EL1

Xin Long (4):
bridge: check brport attr show in brport_show
bonding: fix the err path for dev hwaddr sync in bond_enslave
bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
bonding: process the err returned by dev_set_allmulti properly in bond_enslave

Yisheng Xie (2):
staging: android: ashmem: Fix possible deadlock in ashmem_ioctl mm/mempolicy.c: avoid use uninitialized preferred_node

Yufen Yu (1):
md raid10: fix NULL deference in handle_write_completed()

Yunlei He (1):
f2fs: fix a panic caused by NULL flush_cmd_control

Zhang Bo (1):
Input: matrix_keypad - fix race when disabling interrupts

Zhouyi Zhou (1):
ext4: save error to disk in __ext4_grp_locked_error()

Zygo Blaxell (1):

      btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes

alex chen (1):

      ocfs2: subsystem.su_mutex is required while accessing the item->ci_parent

chenjie (1):
mm/madvise.c: fix madvise() infinite loop under special circumstances

mulhern (1):
dm thin: fix documentation relative to low water mark threshold

Documentation/device-mapper/thin-provisioning.txt +5 -3
index 2f5173500bd9..2800b014a619 100644
@@ -112,9 +112,11 @@ $low_water_mark is expressed in blocks of size $data_block_size.  If
 free space on the data device drops below this level then a dm event
 will be triggered which a userspace daemon should catch allowing it to
 extend the pool device.  Only one such event will be sent.
-Resuming a device with a new table itself triggers an event so the
-userspace daemon can use this to detect a situation where a new table
-already exceeds the threshold.
+
+No special event is triggered if a just resumed device's free space is below
+the low water mark. However, resuming a device always triggers an
+event; a userspace daemon should verify that free space exceeds the low
+water mark when handling this event.
 
 A low water mark for the metadata device is maintained in the kernel and
 will trigger a dm event if free space on the metadata device drops below
Documentation/devicetree/bindings/dma/snps-dma.txt +1 -1
index d58675ea1abf..f4bdc9d62130 100644
@@ -58,6 +58,6 @@ described in the dma.txt file, using a four-cell specifier for each channel.
 		interrupts = <0 35 0x4>;
 		status = "disabled";
 		dmas = <&dmahost 12 0 1>,
-			<&dmahost 13 0 1 0>;
+			<&dmahost 13 1 0>;
 		dma-names = "rx", "rx";
 	};
Documentation/filesystems/ext4.txt +1 -1
index 919a3293aaa4..04f7e4ad070b 100644
@@ -233,7 +233,7 @@ data_err=ignore(*)	Just print an error message if an error occurs
 data_err=abort		Abort the journal if an error occurs in a file
 			data buffer in ordered mode.
 
-grpid			Give objects the same group ID as their creator.
+grpid			New objects have the group ID of their parent.
 bsdgroups
 
 nogrpid		(*)	New objects have the group ID of their creator.
Makefile +1 -1
index 1c632c11f398..4cf98f68a826 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 16
-SUBLEVEL = 56
+SUBLEVEL = 57
 EXTRAVERSION =
 NAME = Museum of Fishiegoodies
 
arch/alpha/kernel/pci_impl.h +2 -1
index 2b0ac429f5eb..412bb3c24f36 100644
@@ -143,7 +143,8 @@ struct pci_iommu_arena
 };
 
 #if defined(CONFIG_ALPHA_SRM) && \
-    (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA))
+    (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA) || \
+     defined(CONFIG_ALPHA_AVANTI))
 # define NEED_SRM_SAVE_RESTORE
 #else
 # undef NEED_SRM_SAVE_RESTORE
arch/alpha/kernel/process.c +2 -1
index 1941a07b5811..86c1c4fd5246 100644
@@ -274,12 +274,13 @@ copy_thread(unsigned long clone_flags, unsigned long usp,
 	   application calling fork.  */
 	if (clone_flags & CLONE_SETTLS)
 		childti->pcb.unique = regs->r20;
+	else
+		regs->r20 = 0;	/* OSF/1 has some strange fork() semantics.  */
 	childti->pcb.usp = usp ?: rdusp();
 	*childregs = *regs;
 	childregs->r0 = 0;
 	childregs->r19 = 0;
 	childregs->r20 = 1;	/* OSF/1 has some strange fork() semantics.  */
-	regs->r20 = 0;
 	stack = ((struct switch_stack *) regs) - 1;
 	*childstack = *stack;
 	childstack->r26 = (unsigned long) ret_from_fork;
arch/arm/boot/dts/exynos4412-trats2.dts +1 -1
index 0cee640ea9c9..44d58f30146d 100644
@@ -628,7 +628,7 @@
 			reg = <0>;
 			vdd3-supply = <&lcd_vdd3_reg>;
 			vci-supply = <&ldo25_reg>;
-			reset-gpios = <&gpy4 5 0>;
+			reset-gpios = <&gpf2 1 0>;
 			power-on-delay= <50>;
 			reset-delay = <100>;
 			init-delay = <100>;
arch/arm/boot/dts/spear1310-evb.dts +1 -1
index b56a801e42a2..28d5d145ea07 100644
@@ -345,7 +345,7 @@
 			spi0: spi@e0100000 {
 				status = "okay";
 				num-cs = <3>;
-				cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>;
+				cs-gpios = <&gpio1 7 0>, <&spics 0 0>, <&spics 1 0>;
 
 				stmpe610@0 {
 					compatible = "st,stmpe610";
arch/arm/boot/dts/spear1340.dtsi +2 -2
index 54d128d35681..dcb326353d3c 100644
@@ -113,8 +113,8 @@
 				reg = <0xb4100000 0x1000>;
 				interrupts = <0 105 0x4>;
 				status = "disabled";
-				dmas = <&dwdma0 0x600 0 0 1>, /* 0xC << 11 */
-					<&dwdma0 0x680 0 1 0>; /* 0xD << 7 */
+				dmas = <&dwdma0 12 0 1>,
+					<&dwdma0 13 1 0>;
 				dma-names = "tx", "rx";
 			};
 
arch/arm/boot/dts/spear13xx.dtsi +3 -3
index 4382547df58a..c6199fdad8d8 100644
@@ -100,7 +100,7 @@
 			reg = <0xb2800000 0x1000>;
 			interrupts = <0 29 0x4>;
 			status = "disabled";
-			dmas = <&dwdma0 0 0 0 0>;
+			dmas = <&dwdma0 0 0 0>;
 			dma-names = "data";
 		};
 
@@ -283,8 +283,8 @@
 				#size-cells = <0>;
 				interrupts = <0 31 0x4>;
 				status = "disabled";
-				dmas = <&dwdma0 0x2000 0 0 0>, /* 0x4 << 11 */
-					<&dwdma0 0x0280 0 0 0>;  /* 0x5 << 7 */
+				dmas = <&dwdma0 4 0 0>,
+					<&dwdma0 5 0 0>;
 				dma-names = "tx", "rx";
 			};
 
arch/arm/boot/dts/spear600.dtsi +1 -0
index 9f60a7b6a42b..bd379034993c 100644
@@ -194,6 +194,7 @@
 			rtc@fc900000 {
 				compatible = "st,spear600-rtc";
 				reg = <0xfc900000 0x1000>;
+				interrupt-parent = <&vic0>;
 				interrupts = <10>;
 				status = "disabled";
 			};
arch/arm/kvm/handle_exit.c +11 -2
index a96a8043277c..c8b56c70d7b9 100644
@@ -45,7 +45,7 @@ static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run)
 
 	ret = kvm_psci_call(vcpu);
 	if (ret < 0) {
-		kvm_inject_undefined(vcpu);
+		*vcpu_reg(vcpu, 0) = ~0UL;
 		return 1;
 	}
 
@@ -54,7 +54,16 @@ static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run)
 
 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run)
 {
-	kvm_inject_undefined(vcpu);
+	/*
+	 * "If an SMC instruction executed at Non-secure EL1 is
+	 * trapped to EL2 because HCR_EL2.TSC is 1, the exception is a
+	 * Trap exception, not a Secure Monitor Call exception [...]"
+	 *
+	 * We need to advance the PC after the trap, as it would
+	 * otherwise return to the same address...
+	 */
+	*vcpu_reg(vcpu, 0) = ~0UL;
+	kvm_skip_instr(vcpu, kvm_vcpu_trap_il_is32bit(vcpu));
 	return 1;
 }
 
arch/arm/mach-mvebu/Kconfig +2 -2
index b9bc599a5fd0..67aee3467696 100644
@@ -33,7 +33,7 @@ config MACH_ARMADA_370
 config MACH_ARMADA_375
 	bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
 	select ARM_ERRATA_720789
-	select ARM_ERRATA_753970
+	select PL310_ERRATA_753970
 	select ARM_GIC
 	select ARMADA_375_CLK
 	select HAVE_ARM_SCU
@@ -48,7 +48,7 @@ config MACH_ARMADA_375
 config MACH_ARMADA_38X
 	bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
 	select ARM_ERRATA_720789
-	select ARM_ERRATA_753970
+	select PL310_ERRATA_753970
 	select ARM_GIC
 	select ARMADA_38X_CLK
 	select HAVE_ARM_SCU
arch/arm/xen/enlighten.c +1 -0
index e4d719ff71f6..3252347c3140 100644
@@ -344,6 +344,7 @@ void xen_arch_pre_suspend(void) { }
 void xen_arch_post_suspend(int suspend_cancelled) { }
 void xen_timer_resume(void) { }
 void xen_arch_resume(void) { }
+void xen_arch_suspend(void) { }
 
 
 /* In the hypervisor.S file. */
arch/arm64/kernel/process.c +10 -6
index 291fcb57299d..0bfb5fe5fdc7 100644
@@ -31,7 +31,6 @@
 #include <linux/delay.h>
 #include <linux/reboot.h>
 #include <linux/interrupt.h>
-#include <linux/kallsyms.h>
 #include <linux/init.h>
 #include <linux/cpu.h>
 #include <linux/elfcore.h>
@@ -198,11 +197,16 @@ void __show_regs(struct pt_regs *regs)
 	}
 
 	show_regs_print_info(KERN_DEFAULT);
-	print_symbol("PC is at %s\n", instruction_pointer(regs));
-	print_symbol("LR is at %s\n", lr);
-	printk("pc : [<%016llx>] lr : [<%016llx>] pstate: %08llx\n",
-	       regs->pc, lr, regs->pstate);
-	printk("sp : %016llx\n", sp);
+
+	if (!user_mode(regs)) {
+		printk("pc : %pS\n", (void *)regs->pc);
+		printk("lr : %pS\n", (void *)lr);
+	} else {
+		printk("pc : %016llx\n", regs->pc);
+		printk("lr : %016llx\n", lr);
+	}
+
+	printk("sp : %016llx pstate : %08llx\n", sp, regs->pstate);
 	for (i = top_reg; i >= 0; i--) {
 		printk("x%-2d: %016llx ", i, regs->regs[i]);
 		if (i % 2 == 0)
arch/arm64/kernel/traps.c +2 -56

79 lines not on this page · raw message

arch/arm64/kvm/handle_exit.c +9 -0
index 096824bedab6..fcc86311db73 100644
@@ -43,7 +43,16 @@ static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run)
 
 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run)
 {
+	/*
+	 * "If an SMC instruction executed at Non-secure EL1 is
+	 * trapped to EL2 because HCR_EL2.TSC is 1, the exception is a
+	 * Trap exception, not a Secure Monitor Call exception [...]"
+	 *
+	 * We need to advance the PC after the trap, as it would
+	 * otherwise return to the same address...
+	 */
 	*vcpu_reg(vcpu, 0) = ~0UL;
+	kvm_skip_instr(vcpu, kvm_vcpu_trap_il_is32bit(vcpu));
 	return 1;
 }
 
arch/ia64/scripts/unwcheck.py +8 -8
index 2bfd941ff7c7..23e2e6ad5f6f 100644
@@ -15,7 +15,7 @@ import re
 import sys
 
 if len(sys.argv) != 2:
-    print "Usage: %s FILE" % sys.argv[0]
+    print("Usage: %s FILE" % sys.argv[0])
     sys.exit(2)
 
 readelf = os.getenv("READELF", "readelf")
@@ -28,7 +28,7 @@ rlen_pattern  = re.compile(".*rlen=([0-9]+)")
         global num_errors
         num_errors += 1
         if not func: func = "[%#x-%#x]" % (start, end)
-        print "ERROR: %s: %lu slots, total region length = %lu" % (func, slots, rlen_sum)
+        print("ERROR: %s: %lu slots, total region length = %lu" % (func, slots, rlen_sum))
     return
 
 num_funcs = 0
@@ -42,23 +42,23 @@ rlen_sum = 0
         check_func(func, slots, rlen_sum)
 
         func  = m.group(1)
-        start = long(m.group(2), 16)
-        end   = long(m.group(3), 16)
+        start = int(m.group(2), 16)
+        end   = int(m.group(3), 16)
         slots = 3 * (end - start) / 16
-        rlen_sum = 0L
+        rlen_sum = 0
         num_funcs += 1
     else:
         m = rlen_pattern.match(line)
         if m:
-            rlen_sum += long(m.group(1))
+            rlen_sum += int(m.group(1))
 check_func(func, slots, rlen_sum)
 
 if num_errors == 0:
-    print "No errors detected in %u functions." % num_funcs
+    print("No errors detected in %u functions." % num_funcs)
 else:
     if num_errors > 1:
         err="errors"
     else:
         err="error"
-    print "%u %s detected in %u functions." % (num_errors, err, num_funcs)
+    print("%u %s detected in %u functions." % (num_errors, err, num_funcs))
     sys.exit(1)
arch/mips/boot/compressed/Makefile +5 -1
index 61af6b6ab13d..1c0e5e61fcdc 100644
@@ -117,4 +117,8 @@ OBJCOPYFLAGS_vmlinuz.srec := $(OBJCOPYFLAGS) -S -O srec
 vmlinuz.srec: vmlinuz
 	$(call cmd,objcopy)
 
-clean-files := $(objtree)/vmlinuz $(objtree)/vmlinuz.{32,ecoff,bin,srec}
+clean-files += $(objtree)/vmlinuz
+clean-files += $(objtree)/vmlinuz.32
+clean-files += $(objtree)/vmlinuz.ecoff
+clean-files += $(objtree)/vmlinuz.bin
+clean-files += $(objtree)/vmlinuz.srec
arch/mips/kernel/smp-bmips.c +4 -4
index df9e2bd9b2c2..c142b1ff089d 100644
@@ -159,11 +159,11 @@ static void bmips_prepare_cpus(unsigned int max_cpus)
 		return;
 	}
 
-	if (request_irq(IPI0_IRQ, bmips_ipi_interrupt, IRQF_PERCPU,
-			"smp_ipi0", NULL))
+	if (request_irq(IPI0_IRQ, bmips_ipi_interrupt,
+			IRQF_PERCPU | IRQF_NO_SUSPEND, "smp_ipi0", NULL))
 		panic("Can't request IPI0 interrupt");
-	if (request_irq(IPI1_IRQ, bmips_ipi_interrupt, IRQF_PERCPU,
-			"smp_ipi1", NULL))
+	if (request_irq(IPI1_IRQ, bmips_ipi_interrupt,
+			IRQF_PERCPU | IRQF_NO_SUSPEND, "smp_ipi1", NULL))
 		panic("Can't request IPI1 interrupt");
 }
 
arch/mips/kernel/traps.c +7 -8
index b9f58ce99bc8..d34c45cae5b9 100644
@@ -1247,7 +1247,7 @@ asmlinkage void do_cpu(struct pt_regs *regs)
 		status = -1;
 
 		if (unlikely(compute_return_epc(regs) < 0))
-			goto out;
+			break;
 
 		if (get_isa16_mode(regs->cp0_epc)) {
 			unsigned short mmop[2] = { 0 };
@@ -1280,7 +1280,7 @@ asmlinkage void do_cpu(struct pt_regs *regs)
 			force_sig(status, current);
 		}
 
-		goto out;
+		break;
 
 	case 3:
 		/*
@@ -1296,8 +1296,10 @@ asmlinkage void do_cpu(struct pt_regs *regs)
 		 * erroneously too, so they are covered by this choice
 		 * as well.
 		 */
-		if (raw_cpu_has_fpu)
+		if (raw_cpu_has_fpu) {
+			force_sig(SIGILL, current);
 			break;
+		}
 		/* Fall through.  */
 
 	case 1:
@@ -1320,16 +1322,13 @@ asmlinkage void do_cpu(struct pt_regs *regs)
 		if (!process_fpemu_return(sig, fault_addr, fcr31) && !err)
 			mt_ase_fp_affinity();
 
-		goto out;
+		break;
 
 	case 2:
 		raw_notifier_call_chain(&cu2_chain, CU2_EXCEPTION, regs);
-		goto out;
+		break;
 	}
 
-	force_sig(SIGILL, current);
-
-out:
 	exception_exit(prev_state);
 }
 
arch/mips/ralink/reset.c +0 -8
index 55c7ec59df3c..7dbf92b5370c 100644
@@ -88,17 +88,9 @@ static void ralink_restart(char *command)
 	unreachable();
 }
 
-static void ralink_halt(void)
-{
-	local_irq_disable();
-	unreachable();
-}
-
 static int __init mips_reboot_setup(void)
 {
 	_machine_restart = ralink_restart;
-	_machine_halt = ralink_halt;
-	pm_power_off = ralink_halt;
 
 	return 0;
 }
arch/mips/txx9/rbtx4939/setup.c +2 -2
index 2da5f25f98bc..e802259b2a59 100644
@@ -186,7 +186,7 @@ static void __init rbtx4939_update_ioc_pen(void)
 
 #define RBTX4939_MAX_7SEGLEDS	8
 
-#if IS_ENABLED(CONFIG_LEDS_CLASS)
+#if IS_BUILTIN(CONFIG_LEDS_CLASS)
 static u8 led_val[RBTX4939_MAX_7SEGLEDS];
 struct rbtx4939_led_data {
 	struct led_classdev cdev;
@@ -262,7 +262,7 @@ static inline void rbtx4939_led_setup(void)
 
 static void __rbtx4939_7segled_putc(unsigned int pos, unsigned char val)
 {
-#if IS_ENABLED(CONFIG_LEDS_CLASS)
+#if IS_BUILTIN(CONFIG_LEDS_CLASS)
 	unsigned long flags;
 	local_irq_save(flags);
 	/* bit7: reserved for LED class */
arch/mn10300/mm/misalignment.c +1 -1
index b9920b1edd5a..70cef54dc40f 100644
@@ -437,7 +437,7 @@ asmlinkage void misalignment(struct pt_regs *regs, enum exception_code code)
 
 	info.si_signo	= SIGSEGV;
 	info.si_errno	= 0;
-	info.si_code	= 0;
+	info.si_code	= SEGV_MAPERR;
 	info.si_addr	= (void *) regs->pc;
 	force_sig_info(SIGSEGV, &info, current);
 	return;
arch/openrisc/kernel/traps.c +5 -5
index 3d3f6062f49c..605a284922fb 100644
@@ -302,12 +302,12 @@ asmlinkage void do_unaligned_access(struct pt_regs *regs, unsigned long address)
 	siginfo_t info;
 
 	if (user_mode(regs)) {
-		/* Send a SIGSEGV */
-		info.si_signo = SIGSEGV;
+		/* Send a SIGBUS */
+		info.si_signo = SIGBUS;
 		info.si_errno = 0;
-		/* info.si_code has been set above */
-		info.si_addr = (void *)address;
-		force_sig_info(SIGSEGV, &info, current);
+		info.si_code = BUS_ADRALN;
+		info.si_addr = (void __user *)address;
+		force_sig_info(SIGBUS, &info, current);
 	} else {
 		printk("KERNEL: Unaligned Access 0x%.8lx\n", address);
 		show_registers(regs);
arch/powerpc/include/asm/kvm_book3s.h +2 -4
index 0689091f9505..15d2307dbdd0 100644
@@ -190,10 +190,8 @@ extern void kvmppc_hv_entry_trampoline(void);
 extern u32 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst);
 extern ulong kvmppc_alignment_dar(struct kvm_vcpu *vcpu, unsigned int inst);
 extern int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd);
-extern void kvmppc_copy_to_svcpu(struct kvmppc_book3s_shadow_vcpu *svcpu,
-				 struct kvm_vcpu *vcpu);
-extern void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu,
-				   struct kvmppc_book3s_shadow_vcpu *svcpu);
+extern void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu);
+extern void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu);
 
 static inline struct kvmppc_vcpu_book3s *to_book3s(struct kvm_vcpu *vcpu)
 {
arch/powerpc/include/asm/topology.h +8 -0
index a69d091d31ff..7b350f12e4a0 100644
@@ -44,6 +44,11 @@ extern void __init dump_numa_cpu_topology(void);
 extern int sysfs_add_device_to_node(struct device *dev, int nid);
 extern void sysfs_remove_device_from_node(struct device *dev, int nid);
 
+static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node)
+{
+	numa_cpu_lookup_table[cpu] = node;
+}
+
 static inline int early_cpu_to_node(int cpu)
 {
 	int nid;
@@ -71,6 +76,9 @@ static inline void sysfs_remove_device_from_node(struct device *dev,
 						int nid)
 {
 }
+
+static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {}
+
 #endif /* CONFIG_NUMA */
 
 #if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
arch/powerpc/kernel/entry_64.S +7 -3
index 42c8e2d635e8..2e90c9b6d9c6 100644
@@ -885,9 +885,13 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR)
 	beq	1f
 	rlwinm	r7,r7,0,~PACA_IRQ_HARD_DIS
 	stb	r7,PACAIRQHAPPENED(r13)
-1:	li	r0,0
-	stb	r0,PACASOFTIRQEN(r13);
-	TRACE_DISABLE_INTS
+1:
+#if defined(CONFIG_TRACE_IRQFLAGS) && defined(CONFIG_BUG)
+	/* The interrupt should not have soft enabled. */
+	lbz	r7,PACASOFTIRQEN(r13)
+1:	tdnei	r7,0
+	EMIT_BUG_ENTRY 1b,__FILE__,__LINE__,BUGFLAG_WARNING
+#endif
 	b	do_restore
 
 	/*
arch/powerpc/kvm/book3s_interrupts.S +1 -3
index d044b8b7c69d..b053a0b1f853 100644
@@ -96,7 +96,7 @@ _GLOBAL(__kvmppc_vcpu_run)
 
 kvm_start_lightweight:
 	/* Copy registers into shadow vcpu so we can access them in real mode */
-	GET_SHADOW_VCPU(r3)
+	mr	r3, r4
 	bl	FUNC(kvmppc_copy_to_svcpu)
 	nop
 	REST_GPR(4, r1)
@@ -165,9 +165,7 @@ _GLOBAL(__kvmppc_vcpu_run)
 	stw	r12, VCPU_TRAP(r3)
 
 	/* Transfer reg values from shadow vcpu back to vcpu struct */
-	/* On 64-bit, interrupts are still off at this point */
 
-	GET_SHADOW_VCPU(r4)
 	bl	FUNC(kvmppc_copy_from_svcpu)
 	nop
 
arch/powerpc/kvm/book3s_pr.c +9 -11
index e587264c2e8c..1d9c536e6b16 100644
@@ -82,7 +82,7 @@ static void kvmppc_core_vcpu_put_pr(struct kvm_vcpu *vcpu)
 #ifdef CONFIG_PPC_BOOK3S_64
 	struct kvmppc_book3s_shadow_vcpu *svcpu = svcpu_get(vcpu);
 	if (svcpu->in_use) {
-		kvmppc_copy_from_svcpu(vcpu, svcpu);
+		kvmppc_copy_from_svcpu(vcpu);
 	}
 	memcpy(to_book3s(vcpu)->slb_shadow, svcpu->slb, sizeof(svcpu->slb));
 	to_book3s(vcpu)->slb_shadow_max = svcpu->slb_max;
@@ -95,9 +95,10 @@ static void kvmppc_core_vcpu_put_pr(struct kvm_vcpu *vcpu)
 }
 
 /* Copy data needed by real-mode code from vcpu to shadow vcpu */
-void kvmppc_copy_to_svcpu(struct kvmppc_book3s_shadow_vcpu *svcpu,
-			  struct kvm_vcpu *vcpu)
+void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu)
 {
+	struct kvmppc_book3s_shadow_vcpu *svcpu = svcpu_get(vcpu);
+
 	svcpu->gpr[0] = vcpu->arch.gpr[0];
 	svcpu->gpr[1] = vcpu->arch.gpr[1];
 	svcpu->gpr[2] = vcpu->arch.gpr[2];
@@ -121,17 +122,14 @@ void kvmppc_copy_to_svcpu(struct kvmppc_book3s_shadow_vcpu *svcpu,
 	svcpu->shadow_fscr = vcpu->arch.shadow_fscr;
 #endif
 	svcpu->in_use = true;
+
+	svcpu_put(svcpu);
 }
 
 /* Copy data touched by real-mode code from shadow vcpu back to vcpu */
-void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu,
-			    struct kvmppc_book3s_shadow_vcpu *svcpu)
+void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu)
 {
-	/*
-	 * vcpu_put would just call us again because in_use hasn't
-	 * been updated yet.
-	 */
-	preempt_disable();
+	struct kvmppc_book3s_shadow_vcpu *svcpu = svcpu_get(vcpu);
 
 	/*
 	 * Maybe we were already preempted and synced the svcpu from
@@ -169,7 +167,7 @@ void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu,
 	svcpu->in_use = false;
 
 out:
-	preempt_enable();
+	svcpu_put(svcpu);
 }
 
 static int kvmppc_core_check_requests_pr(struct kvm_vcpu *vcpu)
arch/powerpc/mm/numa.c +0 -5
index d3e9a78eaed3..99960b0540e1 100644
@@ -162,11 +162,6 @@ static void reset_numa_cpu_lookup_table(void)
 		numa_cpu_lookup_table[cpu] = -1;
 }
 
-static void update_numa_cpu_lookup_table(unsigned int cpu, int node)
-{
-	numa_cpu_lookup_table[cpu] = node;
-}
-
 static void map_cpu_to_node(int cpu, int node)
 {
 	update_numa_cpu_lookup_table(cpu, node);
arch/powerpc/platforms/pseries/hotplug-cpu.c +2 -0
index 20d62975856f..a5d287dfd7b3 100644
@@ -31,6 +31,7 @@
 #include <asm/vdso_datapage.h>
 #include <asm/xics.h>
 #include <asm/plpar_wrappers.h>
+#include <asm/topology.h>
 
 #include "offline_states.h"
 
@@ -328,6 +329,7 @@ static void pseries_remove_processor(struct device_node *np)
 			BUG_ON(cpu_online(cpu));
 			set_cpu_present(cpu, false);
 			set_hard_smp_processor_id(cpu, -1);
+			update_numa_cpu_lookup_table(cpu, -1);
 			break;
 		}
 		if (cpu >= nr_cpu_ids)
arch/s390/kernel/compat_linux.c +4 -4
index 0176ebc97bfd..86f934255eb6 100644
@@ -110,7 +110,7 @@ COMPAT_SYSCALL_DEFINE2(s390_setregid16, u16, rgid, u16, egid)
 
 COMPAT_SYSCALL_DEFINE1(s390_setgid16, u16, gid)
 {
-	return sys_setgid((gid_t)gid);
+	return sys_setgid(low2highgid(gid));
 }
 
 COMPAT_SYSCALL_DEFINE2(s390_setreuid16, u16, ruid, u16, euid)
@@ -120,7 +120,7 @@ COMPAT_SYSCALL_DEFINE2(s390_setreuid16, u16, ruid, u16, euid)
 
 COMPAT_SYSCALL_DEFINE1(s390_setuid16, u16, uid)
 {
-	return sys_setuid((uid_t)uid);
+	return sys_setuid(low2highuid(uid));
 }
 
 COMPAT_SYSCALL_DEFINE3(s390_setresuid16, u16, ruid, u16, euid, u16, suid)
@@ -173,12 +173,12 @@ COMPAT_SYSCALL_DEFINE3(s390_getresgid16, u16 __user *, rgidp,
 
 COMPAT_SYSCALL_DEFINE1(s390_setfsuid16, u16, uid)
 {
-	return sys_setfsuid((uid_t)uid);
+	return sys_setfsuid(low2highuid(uid));
 }
 
 COMPAT_SYSCALL_DEFINE1(s390_setfsgid16, u16, gid)
 {
-	return sys_setfsgid((gid_t)gid);
+	return sys_setfsgid(low2highgid(gid));
 }
 
 static int groups16_to_user(u16 __user *grouplist, struct group_info *group_info)
arch/s390/kvm/kvm-s390.c +1 -0
index dcf75dfd4583..b4858f4efbc6 100644
@@ -62,6 +62,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 	{ "deliver_prefix_signal", VCPU_STAT(deliver_prefix_signal) },
 	{ "deliver_restart_signal", VCPU_STAT(deliver_restart_signal) },
 	{ "deliver_program_interruption", VCPU_STAT(deliver_program_int) },
+	{ "deliver_io_interrupt", VCPU_STAT(deliver_io_int) },
 	{ "exit_wait_state", VCPU_STAT(exit_wait_state) },
 	{ "instruction_pfmf", VCPU_STAT(instruction_pfmf) },
 	{ "instruction_stidp", VCPU_STAT(instruction_stidp) },
arch/sh/kernel/traps_32.c +2 -1
index ff639342a8be..c5b997757988 100644
@@ -607,7 +607,8 @@ asmlinkage void do_divide_error(unsigned long r4)
 		break;
 	}
 
-	force_sig_info(SIGFPE, &info, current);
+	info.si_signo = SIGFPE;
+	force_sig_info(info.si_signo, &info, current);
 }
 #endif
 
arch/sparc/crypto/crc32c_glue.c +1 -0
index d1064e46efe8..8aa664638c3c 100644
@@ -133,6 +133,7 @@ static struct shash_alg alg = {
 		.cra_name		=	"crc32c",
 		.cra_driver_name	=	"crc32c-sparc64",
 		.cra_priority		=	SPARC_CR_OPCODE_PRIORITY,
+		.cra_flags		=	CRYPTO_ALG_OPTIONAL_KEY,
 		.cra_blocksize		=	CHKSUM_BLOCK_SIZE,
 		.cra_ctxsize		=	sizeof(u32),
 		.cra_alignmask		=	7,
arch/x86/crypto/crc32-pclmul_glue.c +1 -0
index 1937fc1d8763..0072dd30dd12 100644
@@ -162,6 +162,7 @@ static struct shash_alg alg = {
 			.cra_name		= "crc32",
 			.cra_driver_name	= "crc32-pclmul",
 			.cra_priority		= 200,
+			.cra_flags		= CRYPTO_ALG_OPTIONAL_KEY,
 			.cra_blocksize		= CHKSUM_BLOCK_SIZE,
 			.cra_ctxsize		= sizeof(u32),
 			.cra_module		= THIS_MODULE,
arch/x86/crypto/crc32c-intel_glue.c +1 -0
index 28640c3d6af7..c743444b9274 100644
@@ -240,6 +240,7 @@ static struct shash_alg alg = {
 		.cra_name		=	"crc32c",
 		.cra_driver_name	=	"crc32c-intel",
 		.cra_priority		=	200,
+		.cra_flags		=	CRYPTO_ALG_OPTIONAL_KEY,
 		.cra_blocksize		=	CHKSUM_BLOCK_SIZE,
 		.cra_ctxsize		=	sizeof(u32),
 		.cra_module		=	THIS_MODULE,
arch/x86/include/asm/apm.h +6 -0
index 20370c6db74b..3d1ec41ae09a 100644
@@ -6,6 +6,8 @@
 #ifndef _ASM_X86_MACH_DEFAULT_APM_H
 #define _ASM_X86_MACH_DEFAULT_APM_H
 
+#include <asm/nospec-branch.h>
+
 #ifdef APM_ZERO_SEGS
 #	define APM_DO_ZERO_SEGS \
 		"pushl %%ds\n\t" \
@@ -31,6 +33,7 @@ static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in,
 	 * N.B. We do NOT need a cld after the BIOS call
 	 * because we always save and restore the flags.
 	 */
+	firmware_restrict_branch_speculation_start();
 	__asm__ __volatile__(APM_DO_ZERO_SEGS
 		"pushl %%edi\n\t"
 		"pushl %%ebp\n\t"
@@ -43,6 +46,7 @@ static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in,
 		  "=S" (*esi)
 		: "a" (func), "b" (ebx_in), "c" (ecx_in)
 		: "memory", "cc");
+	firmware_restrict_branch_speculation_end();
 }
 
 static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in,
@@ -55,6 +59,7 @@ static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in,
 	 * N.B. We do NOT need a cld after the BIOS call
 	 * because we always save and restore the flags.
 	 */
+	firmware_restrict_branch_speculation_start();
 	__asm__ __volatile__(APM_DO_ZERO_SEGS
 		"pushl %%edi\n\t"
 		"pushl %%ebp\n\t"
@@ -67,6 +72,7 @@ static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in,
 		  "=S" (si)
 		: "a" (func), "b" (ebx_in), "c" (ecx_in)
 		: "memory", "cc");
+	firmware_restrict_branch_speculation_end();
 	return error;
 }
 
arch/x86/include/asm/cpufeature.h +14 -1
index 8722c8f7405d..8f45ed429ba0 100644
@@ -8,7 +8,7 @@
 #include <asm/required-features.h>
 #endif
 
-#define NCAPINTS	10	/* N 32-bit words worth of info */
+#define NCAPINTS	12	/* N 32-bit words worth of info */
 #define NBUGINTS	1	/* N 32-bit bug flags */
 
 /*
@@ -189,6 +189,9 @@
 #define X86_FEATURE_INVPCID_SINGLE (7*32+10) /* Effectively INVPCID && CR4.PCIDE=1 */
 #define X86_FEATURE_RSB_CTXSW	(7*32+11) /* "" Fill RSB on context switches */
 
+#define X86_FEATURE_USE_IBPB	(7*32+12) /* "" Indirect Branch Prediction Barrier enabled */
+#define X86_FEATURE_USE_IBRS_FW (7*32+13) /* "" Use IBRS during runtime firmware calls */
+
 #define X86_FEATURE_RETPOLINE	(7*32+29) /* "" Generic Retpoline mitigation for Spectre variant 2 */
 #define X86_FEATURE_RETPOLINE_AMD (7*32+30) /* "" AMD Retpoline mitigation for Spectre variant 2 */
 /* Because the ALTERNATIVE scheme is for members of the X86_FEATURE club... */
@@ -234,6 +237,16 @@
 #define X86_FEATURE_AVX512ER	(9*32+27) /* AVX-512 Exponential and Reciprocal */
 #define X86_FEATURE_AVX512CD	(9*32+28) /* AVX-512 Conflict Detection */
 
+/* Intel-defined CPU features, CPUID level 0x00000007:0 (EDX), word 10 */
+#define X86_FEATURE_SPEC_CTRL		(10*32+26) /* "" Speculation Control (IBRS + IBPB) */
+#define X86_FEATURE_INTEL_STIBP		(10*32+27) /* "" Single Thread Indirect Branch Predictors */
+#define X86_FEATURE_ARCH_CAPABILITIES	(10*32+29) /* IA32_ARCH_CAPABILITIES MSR (Intel) */
+
+/* AMD-defined CPU features, CPUID level 0x80000008 (EBX), word 11 */
+#define X86_FEATURE_IBPB		(11*32+12) /* Indirect Branch Prediction Barrier */
+#define X86_FEATURE_IBRS		(11*32+14) /* Indirect Branch Restricted Speculation */
+#define X86_FEATURE_STIBP		(11*32+15) /* Single Thread Indirect Branch Predictors */
+
 /*
  * BUG word(s)
  */
arch/x86/include/asm/efi.h +8 -0
index 81396a9a9277..69effe9f0380 100644
@@ -2,6 +2,8 @@
 #define _ASM_X86_EFI_H
 
 #include <asm/i387.h>
+#include <asm/nospec-branch.h>
+
 /*
  * We map the EFI regions needed for runtime services non-contiguously,
  * with preserved alignment on virtual addresses starting from -4G down
@@ -37,8 +39,10 @@ extern unsigned long asmlinkage efi_call_phys(void *, ...);
 ({									\
 	efi_status_t __s;						\
 	kernel_fpu_begin();						\
+	firmware_restrict_branch_speculation_start();			\
 	__s = ((efi_##f##_t __attribute__((regparm(0)))*)		\
 		efi.systab->runtime->f)(args);				\
+	firmware_restrict_branch_speculation_end();			\
 	kernel_fpu_end();						\
 	__s;								\
 })
@@ -47,8 +51,10 @@ extern unsigned long asmlinkage efi_call_phys(void *, ...);
 #define __efi_call_virt(f, args...) \
 ({									\
 	kernel_fpu_begin();						\
+	firmware_restrict_branch_speculation_start();			\
 	((efi_##f##_t __attribute__((regparm(0)))*)			\
 		efi.systab->runtime->f)(args);				\
+	firmware_restrict_branch_speculation_end();			\
 	kernel_fpu_end();						\
 })
 
@@ -69,7 +75,9 @@ extern u64 asmlinkage efi_call(void *fp, ...);
 	efi_sync_low_kernel_mappings();					\
 	preempt_disable();						\
 	__kernel_fpu_begin();						\
+	firmware_restrict_branch_speculation_start();			\
 	__s = efi_call((void *)efi.systab->runtime->f, __VA_ARGS__);	\
+	firmware_restrict_branch_speculation_end();			\
 	__kernel_fpu_end();						\
 	preempt_enable();						\
 	__s;								\
arch/x86/include/asm/intel-family.h +7 -4
index 6999f7d01a0d..caa8ccb7587b 100644
@@ -12,16 +12,18 @@
  */
 
 #define INTEL_FAM6_CORE_YONAH		0x0E
+
 #define INTEL_FAM6_CORE2_MEROM		0x0F
 #define INTEL_FAM6_CORE2_MEROM_L	0x16
 #define INTEL_FAM6_CORE2_PENRYN		0x17
 #define INTEL_FAM6_CORE2_DUNNINGTON	0x1D
 
 #define INTEL_FAM6_NEHALEM		0x1E
+#define INTEL_FAM6_NEHALEM_G		0x1F /* Auburndale / Havendale */
 #define INTEL_FAM6_NEHALEM_EP		0x1A
 #define INTEL_FAM6_NEHALEM_EX		0x2E
+
 #define INTEL_FAM6_WESTMERE		0x25
-#define INTEL_FAM6_WESTMERE2		0x1F
 #define INTEL_FAM6_WESTMERE_EP		0x2C
 #define INTEL_FAM6_WESTMERE_EX		0x2F
 
@@ -36,9 +38,9 @@
 #define INTEL_FAM6_HASWELL_GT3E		0x46
 
 #define INTEL_FAM6_BROADWELL_CORE	0x3D
-#define INTEL_FAM6_BROADWELL_XEON_D	0x56
 #define INTEL_FAM6_BROADWELL_GT3E	0x47
 #define INTEL_FAM6_BROADWELL_X		0x4F
+#define INTEL_FAM6_BROADWELL_XEON_D	0x56
 
 #define INTEL_FAM6_SKYLAKE_MOBILE	0x4E
 #define INTEL_FAM6_SKYLAKE_DESKTOP	0x5E
@@ -56,10 +58,11 @@
 #define INTEL_FAM6_ATOM_SILVERMONT1	0x37 /* BayTrail/BYT / Valleyview */
 #define INTEL_FAM6_ATOM_SILVERMONT2	0x4D /* Avaton/Rangely */
 #define INTEL_FAM6_ATOM_AIRMONT		0x4C /* CherryTrail / Braswell */
-#define INTEL_FAM6_ATOM_MERRIFIELD1	0x4A /* Tangier */
-#define INTEL_FAM6_ATOM_MERRIFIELD2	0x5A /* Annidale */
+#define INTEL_FAM6_ATOM_MERRIFIELD	0x4A /* Tangier */
+#define INTEL_FAM6_ATOM_MOOREFIELD	0x5A /* Anniedale */
 #define INTEL_FAM6_ATOM_GOLDMONT	0x5C
 #define INTEL_FAM6_ATOM_DENVERTON	0x5F /* Goldmont Microserver */
+#define INTEL_FAM6_ATOM_GEMINI_LAKE	0x7A
 
 /* Xeon Phi */
 
arch/x86/include/asm/kvm_host.h +4 -4
index 188428cfe3d3..4af016445a05 100644
@@ -682,8 +682,8 @@ struct kvm_x86_ops {
 	void (*vcpu_load)(struct kvm_vcpu *vcpu, int cpu);
 	void (*vcpu_put)(struct kvm_vcpu *vcpu);
 
-	void (*update_db_bp_intercept)(struct kvm_vcpu *vcpu);
-	int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata);
+	void (*update_bp_intercept)(struct kvm_vcpu *vcpu);
+	int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr);
 	int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr);
 	u64 (*get_segment_base)(struct kvm_vcpu *vcpu, int seg);
 	void (*get_segment)(struct kvm_vcpu *vcpu,
@@ -853,7 +853,7 @@ static inline int emulate_instruction(struct kvm_vcpu *vcpu,
 
 void kvm_enable_efer_bits(u64);
 bool kvm_valid_efer(struct kvm_vcpu *vcpu, u64 efer);
-int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data);
+int kvm_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr);
 int kvm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr);
 
 struct x86_emulate_ctxt;
@@ -881,7 +881,7 @@ void kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw);
 void kvm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l);
 int kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr);
 
-int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata);
+int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);
 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);
 
 unsigned long kvm_get_rflags(struct kvm_vcpu *vcpu);
arch/x86/include/asm/nospec-branch.h +37 -0
index 66094a0473a8..b87c91d5458e 100644
@@ -6,6 +6,7 @@
 #include <asm/alternative.h>
 #include <asm/alternative-asm.h>
 #include <asm/cpufeature.h>
+#include <asm/msr-index.h>
 
 /*
  * Fill the CPU return stack buffer.
@@ -194,5 +195,41 @@ static inline void vmexit_fill_RSB(void)
 #endif
 }
 
+#define alternative_msr_write(_msr, _val, _feature)		\
+	asm volatile(ALTERNATIVE("",				\
+				 "movl %[msr], %%ecx\n\t"	\
+				 "movl %[val], %%eax\n\t"	\
+				 "movl $0, %%edx\n\t"		\
+				 "wrmsr",			\
+				 _feature)			\
+		     : : [msr] "i" (_msr), [val] "i" (_val)	\
+		     : "eax", "ecx", "edx", "memory")
+
+static inline void indirect_branch_prediction_barrier(void)
+{
+	alternative_msr_write(MSR_IA32_PRED_CMD, PRED_CMD_IBPB,
+			      X86_FEATURE_USE_IBPB);
+}
+
+/*
+ * With retpoline, we must use IBRS to restrict branch prediction
+ * before calling into firmware.
+ *
+ * (Implemented as CPP macros due to header hell.)
+ */
+#define firmware_restrict_branch_speculation_start()			\
+do {									\
+	preempt_disable();						\
+	alternative_msr_write(MSR_IA32_SPEC_CTRL, SPEC_CTRL_IBRS,	\
+			      X86_FEATURE_USE_IBRS_FW);			\
+} while (0)
+
+#define firmware_restrict_branch_speculation_end()			\
+do {									\
+	alternative_msr_write(MSR_IA32_SPEC_CTRL, 0,			\
+			      X86_FEATURE_USE_IBRS_FW);			\
+	preempt_enable();						\
+} while (0)
+
 #endif /* __ASSEMBLY__ */
 #endif /* _ASM_X86_NOSPEC_BRANCH_H_ */
arch/x86/include/asm/pgtable.h +2 -2
index 1b5b34cba964..56bae3eedc70 100644
@@ -263,14 +263,14 @@ static inline pmd_t pmd_set_flags(pmd_t pmd, pmdval_t set)
 {
 	pmdval_t v = native_pmd_val(pmd);
 
-	return __pmd(v | set);
+	return native_make_pmd(v | set);
 }
 
 static inline pmd_t pmd_clear_flags(pmd_t pmd, pmdval_t clear)
 {
 	pmdval_t v = native_pmd_val(pmd);
 
-	return __pmd(v & ~clear);
+	return native_make_pmd(v & ~clear);
 }
 
 static inline pmd_t pmd_mkold(pmd_t pmd)
arch/x86/include/asm/pgtable_types.h +5 -0
index c5d7703dc591..90aaa6f39d61 100644
@@ -321,6 +321,11 @@ static inline pmdval_t native_pmd_val(pmd_t pmd)
 #else
 #include <asm-generic/pgtable-nopmd.h>
 
+static inline pmd_t native_make_pmd(pmdval_t val)
+{
+	return (pmd_t) { .pud.pgd = native_make_pgd(val) };
+}
+
 static inline pmdval_t native_pmd_val(pmd_t pmd)
 {
 	return native_pgd_val(pmd.pud.pgd);
arch/x86/include/asm/vmx.h +1 -0
index 7004d21e6219..b4348fb451ab 100644
@@ -296,6 +296,7 @@ enum vmcs_field {
 #define INTR_TYPE_NMI_INTR		(2 << 8) /* NMI */
 #define INTR_TYPE_HARD_EXCEPTION	(3 << 8) /* processor exception */
 #define INTR_TYPE_SOFT_INTR             (4 << 8) /* software interrupt */
+#define INTR_TYPE_PRIV_SW_EXCEPTION	(5 << 8) /* ICE breakpoint - undocumented */
 #define INTR_TYPE_SOFT_EXCEPTION	(6 << 8) /* software exception */
 
 /* GUEST_INTERRUPTIBILITY_INFO flags. */
arch/x86/include/uapi/asm/mce.h +4 -0
index a0eab85ce7b8..c9872a4585fe 100644
@@ -25,6 +25,10 @@ struct mce {
 	__u32 socketid;	/* CPU socket ID */
 	__u32 apicid;	/* CPU initial apic ID */
 	__u64 mcgcap;	/* MCGCAP MSR: machine check capabilities of CPU */
+	__u64 synd;	/* MCA_SYND MSR: only valid on SMCA systems */
+	__u64 ipid;	/* MCA_IPID MSR: only valid on SMCA systems */
+	__u64 ppin;	/* Protected Processor Inventory Number */
+	__u32 microcode;/* Microcode revision */
 };
 
 #define MCE_GET_RECORD_LEN   _IOR('M', 1, int)
arch/x86/include/uapi/asm/msr-index.h +12 -0
index 1d3811d1506e..6544e99baa1c 100644
@@ -32,6 +32,13 @@
 #define EFER_FFXSR		(1<<_EFER_FFXSR)
 
 /* Intel MSRs. Some also available on other CPUs */
+#define MSR_IA32_SPEC_CTRL		0x00000048 /* Speculation Control */
+#define SPEC_CTRL_IBRS			(1 << 0)   /* Indirect Branch Restricted Speculation */
+#define SPEC_CTRL_STIBP			(1 << 1)   /* Single Thread Indirect Branch Predictors */
+
+#define MSR_IA32_PRED_CMD		0x00000049 /* Prediction Command */
+#define PRED_CMD_IBPB			(1 << 0)   /* Indirect Branch Prediction Barrier */
+
 #define MSR_IA32_PERFCTR0		0x000000c1
 #define MSR_IA32_PERFCTR1		0x000000c2
 #define MSR_FSB_FREQ			0x000000cd
@@ -46,6 +53,11 @@
 
 #define MSR_PLATFORM_INFO		0x000000ce
 #define MSR_MTRRcap			0x000000fe
+
+#define MSR_IA32_ARCH_CAPABILITIES	0x0000010a
+#define ARCH_CAP_RDCL_NO		(1 << 0)   /* Not susceptible to Meltdown */
+#define ARCH_CAP_IBRS_ALL		(1 << 1)   /* Enhanced IBRS support */
+
 #define MSR_IA32_BBL_CR_CTL		0x00000119
 #define MSR_IA32_BBL_CR_CTL3		0x0000011e
 
arch/x86/kernel/aperture_64.c +45 -1

71 lines not on this page · raw message

arch/x86/kernel/cpu/bugs.c +18 -1
index db2fc61ba99a..c3000969dd46 100644
@@ -358,6 +358,21 @@ static void __init spectre_v2_select_mitigation(void)
 		setup_force_cpu_cap(X86_FEATURE_RSB_CTXSW);
 		pr_info("Filling RSB on context switch\n");
 	}
+
+	/* Initialize Indirect Branch Prediction Barrier if supported */
+	if (boot_cpu_has(X86_FEATURE_IBPB)) {
+		setup_force_cpu_cap(X86_FEATURE_USE_IBPB);
+		pr_info("Enabling Indirect Branch Prediction Barrier\n");
+	}
+
+	/*
+	 * Retpoline means the kernel is safe because it has no indirect
+	 * branches. But firmware isn't, so use IBRS to protect that.
+	 */
+	if (boot_cpu_has(X86_FEATURE_IBRS)) {
+		setup_force_cpu_cap(X86_FEATURE_USE_IBRS_FW);
+		pr_info("Enabling Restricted Speculation for firmware calls\n");
+	}
 }
 
 #undef pr_fmt
@@ -387,7 +402,9 @@ ssize_t cpu_show_spectre_v2(struct device *dev,
 	if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V2))
 		return sprintf(buf, "Not affected\n");
 
-	return sprintf(buf, "%s%s\n", spectre_v2_strings[spectre_v2_enabled],
+	return sprintf(buf, "%s%s%s%s\n", spectre_v2_strings[spectre_v2_enabled],
+		       boot_cpu_has(X86_FEATURE_USE_IBPB) ? ", IBPB" : "",
+		       boot_cpu_has(X86_FEATURE_USE_IBRS_FW) ? ", IBRS_FW" : "",
 		       spectre_v2_module_string());
 }
 #endif
arch/x86/kernel/cpu/common.c +69 -6

120 lines not on this page · raw message

arch/x86/kernel/cpu/intel.c +71 -0

89 lines not on this page · raw message

arch/x86/kernel/cpu/mcheck/mce.c +24 -2
index 86f98cbb411e..e040258fd4a0 100644
@@ -57,6 +57,9 @@ static DEFINE_MUTEX(mce_chrdev_read_mutex);
 			      rcu_read_lock_sched_held() || \
 			      lockdep_is_held(&mce_chrdev_read_mutex))
 
+/* sysfs synchronization */
+static DEFINE_MUTEX(mce_sysfs_mutex);
+
 #define CREATE_TRACE_POINTS
 #include <trace/events/mce.h>
 
@@ -132,6 +135,8 @@ void mce_setup(struct mce *m)
 	m->socketid = cpu_data(m->extcpu).phys_proc_id;
 	m->apicid = cpu_data(m->extcpu).initial_apicid;
 	rdmsrl(MSR_IA32_MCG_CAP, m->mcgcap);
+
+	m->microcode = boot_cpu_data.microcode;
 }
 
 DEFINE_PER_CPU(struct mce, injectm);
@@ -279,7 +284,7 @@ static void print_mce(struct mce *m)
 	 */
 	pr_emerg(HW_ERR "PROCESSOR %u:%x TIME %llu SOCKET %u APIC %x microcode %x\n",
 		m->cpuvendor, m->cpuid, m->time, m->socketid, m->apicid,
-		cpu_data(m->extcpu).microcode);
+		m->microcode);
 
 	/*
 	 * Print out human-readable details about the MCE error,
@@ -2199,6 +2204,7 @@ static ssize_t set_ignore_ce(struct device *s,
 	if (strict_strtoull(buf, 0, &new) < 0)
 		return -EINVAL;
 
+	mutex_lock(&mce_sysfs_mutex);
 	if (mca_cfg.ignore_ce ^ !!new) {
 		if (new) {
 			/* disable ce features */
@@ -2211,6 +2217,8 @@ static ssize_t set_ignore_ce(struct device *s,
 			on_each_cpu(mce_enable_ce, (void *)1, 1);
 		}
 	}
+	mutex_unlock(&mce_sysfs_mutex);
+
 	return size;
 }
 
@@ -2223,6 +2231,7 @@ static ssize_t set_cmci_disabled(struct device *s,
 	if (strict_strtoull(buf, 0, &new) < 0)
 		return -EINVAL;
 
+	mutex_lock(&mce_sysfs_mutex);
 	if (mca_cfg.cmci_disabled ^ !!new) {
 		if (new) {
 			/* disable cmci */
@@ -2234,6 +2243,8 @@ static ssize_t set_cmci_disabled(struct device *s,
 			on_each_cpu(mce_enable_ce, NULL, 1);
 		}
 	}
+	mutex_unlock(&mce_sysfs_mutex);
+
 	return size;
 }
 
@@ -2241,8 +2252,19 @@ static ssize_t store_int_with_restart(struct device *s,
 				      struct device_attribute *attr,
 				      const char *buf, size_t size)
 {
-	ssize_t ret = device_store_int(s, attr, buf, size);
+	unsigned long old_check_interval = check_interval;
+	ssize_t ret = device_store_ulong(s, attr, buf, size);
+
+	if (check_interval == old_check_interval)
+		return ret;
+
+	if (check_interval < 1)
+		check_interval = 1;
+
+	mutex_lock(&mce_sysfs_mutex);
 	mce_restart();
+	mutex_unlock(&mce_sysfs_mutex);
+
 	return ret;
 }
 
arch/x86/kernel/cpu/microcode/core.c +1 -1
index dd9d6190b08d..5bdb418f25c9 100644
@@ -97,7 +97,7 @@ MODULE_LICENSE("GPL");
 
 static struct microcode_ops	*microcode_ops;
 
-bool dis_ucode_ldr;
+bool dis_ucode_ldr = IS_ENABLED(CONFIG_MICROCODE_EARLY);
 module_param(dis_ucode_ldr, bool, 0);
 
 /*
arch/x86/kernel/cpu/microcode/core_early.c +20 -9
index 5f28a64e71ea..0321ad198037 100644
@@ -76,6 +76,8 @@ static int x86_family(void)
 
 static bool __init check_loader_disabled_bsp(void)
 {
+	u32 a, b, c, d;
+
 #ifdef CONFIG_X86_32
 	const char *cmdline = (const char *)__pa_nodebug(boot_command_line);
 	const char *opt	    = "dis_ucode_ldr";
@@ -88,8 +90,23 @@ static bool __init check_loader_disabled_bsp(void)
 	bool *res = &dis_ucode_ldr;
 #endif
 
-	if (cmdline_find_option_bool(cmdline, option))
-		*res = true;
+	if (!have_cpuid_p())
+		return *res;
+
+	a = 1;
+	c = 0;
+	native_cpuid(&a, &b, &c, &d);
+
+	/*
+	 * CPUID(1).ECX[31]: reserved for hypervisor use. This is still not
+	 * completely accurate as xen pv guests don't see that CPUID bit set but
+	 * that's good enough as they don't land on the BSP path anyway.
+	 */
+	if (c & BIT(31))
+		return *res;
+
+	if (cmdline_find_option_bool(cmdline, option) <= 0)
+		*res = false;
 
 	return *res;
 }
@@ -101,9 +118,6 @@ void __init load_ucode_bsp(void)
 	if (check_loader_disabled_bsp())
 		return;
 
-	if (!have_cpuid_p())
-		return;
-
 	vendor = x86_vendor();
 	x86 = x86_family();
 
@@ -124,7 +138,7 @@ void __init load_ucode_bsp(void)
 static bool check_loader_disabled_ap(void)
 {
 #ifdef CONFIG_X86_32
-	return __pa_nodebug(dis_ucode_ldr);
+	return *((bool *)__pa_nodebug(&dis_ucode_ldr));
 #else
 	return dis_ucode_ldr;
 #endif
@@ -137,9 +151,6 @@ void load_ucode_ap(void)
 	if (check_loader_disabled_ap())
 		return;
 
-	if (!have_cpuid_p())
-		return;
-
 	vendor = x86_vendor();
 	x86 = x86_family();
 
arch/x86/kernel/entry_64.S +1 -1
index 3ae017f16930..1c4c26cfa778 100644
@@ -1322,7 +1322,7 @@ apicinterrupt3 HYPERVISOR_CALLBACK_VECTOR \
 #endif /* CONFIG_HYPERV */
 
 idtentry debug do_debug has_error_code=0 paranoid=1 shift_ist=DEBUG_STACK
-idtentry int3 do_int3 has_error_code=0 paranoid=1 shift_ist=DEBUG_STACK
+idtentry int3 do_int3 has_error_code=0
 idtentry stack_segment do_stack_segment has_error_code=1
 #ifdef CONFIG_XEN
 idtentry xen_debug do_debug has_error_code=0
arch/x86/kernel/traps.c +17 -10
index 871f43ae47ef..26ae4d7f8c45 100644
@@ -334,7 +334,6 @@ do_general_protection(struct pt_regs *regs, long error_code)
 }
 NOKPROBE_SYMBOL(do_general_protection);
 
-/* May run on IST stack. */
 dotraplinkage void notrace do_int3(struct pt_regs *regs, long error_code)
 {
 	enum ctx_state prev_state;
@@ -367,15 +366,9 @@ dotraplinkage void notrace do_int3(struct pt_regs *regs, long error_code)
 			SIGTRAP) == NOTIFY_STOP)
 		goto exit;
 
-	/*
-	 * Let others (NMI) know that the debug stack is in use
-	 * as we may switch to the interrupt stack.
-	 */
-	debug_stack_usage_inc();
 	preempt_conditional_sti(regs);
 	do_trap(X86_TRAP_BP, SIGTRAP, "int3", regs, error_code, NULL);
 	preempt_conditional_cli(regs);
-	debug_stack_usage_dec();
 exit:
 	exception_exit(prev_state);
 }
@@ -773,9 +766,17 @@ dotraplinkage void do_iret_error(struct pt_regs *regs, long error_code)
 /* Set of traps needed for early debugging. */
 void __init early_trap_init(void)
 {
-	set_intr_gate_ist(X86_TRAP_DB, &debug, DEBUG_STACK);
+	/*
+	 * Don't set ist to DEBUG_STACK as it doesn't work until TSS is
+	 * ready in cpu_init() <-- trap_init(). Before trap_init(), CPU
+	 * runs at ring 0 so it is impossible to hit an invalid stack.
+	 * Using the original stack works well enough at this early
+	 * stage. DEBUG_STACK will be equipped after cpu_init() in
+	 * trap_init().
+	 */
+	set_intr_gate_ist(X86_TRAP_DB, &debug, 0);
 	/* int3 can be called from all */
-	set_system_intr_gate_ist(X86_TRAP_BP, &int3, DEBUG_STACK);
+	set_system_intr_gate_ist(X86_TRAP_BP, &int3, 0);
 #ifdef CONFIG_X86_32
 	set_intr_gate(X86_TRAP_PF, page_fault);
 #endif
@@ -853,11 +854,17 @@ void __init trap_init(void)
 	 */
 	cpu_init();
 
+	/*
+	 * X86_TRAP_DB was installed in early_trap_init(). However,
+	 * DEBUG_STACK works only after cpu_init() loads TSS. See comments
+	 * in early_trap_init().
+	 */
+	set_intr_gate_ist(X86_TRAP_DB, &debug, DEBUG_STACK);
+
 	x86_init.irqs.trap_init();
 
 #ifdef CONFIG_X86_64
 	memcpy(&debug_idt_table, &idt_table, IDT_ENTRIES * 16);
 	set_nmi_gate(X86_TRAP_DB, &debug);
-	set_nmi_gate(X86_TRAP_BP, &int3);
 #endif
 }
arch/x86/kvm/cpuid.c +21 -3
index d77d76936a6d..c911af5d0cf5 100644
@@ -300,6 +300,10 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 		F(3DNOWPREFETCH) | F(OSVW) | 0 /* IBS */ | F(XOP) |
 		0 /* SKINIT, WDT, LWP */ | F(FMA4) | F(TBM);
 
+	/* cpuid 0x80000008.ebx */
+	const u32 kvm_cpuid_8000_0008_ebx_x86_features =
+		F(IBPB) | F(IBRS);
+
 	/* cpuid 0xC0000001.edx */
 	const u32 kvm_supported_word5_x86_features =
 		F(XSTORE) | F(XSTORE_EN) | F(XCRYPT) | F(XCRYPT_EN) |
@@ -312,6 +316,10 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 		F(BMI2) | F(ERMS) | f_invpcid | F(RTM) | f_mpx | F(RDSEED) |
 		F(ADX) | F(SMAP);
 
+	/* cpuid 7.0.edx*/
+	const u32 kvm_cpuid_7_0_edx_x86_features =
+		F(SPEC_CTRL) | F(ARCH_CAPABILITIES);
+
 	/* all calls to cpuid_count() should be made on the same cpu */
 	get_cpu();
 
@@ -383,11 +391,14 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 			cpuid_mask(&entry->ebx, 9);
 			// TSC_ADJUST is emulated
 			entry->ebx |= F(TSC_ADJUST);
-		} else
+			entry->edx &= kvm_cpuid_7_0_edx_x86_features;
+			cpuid_mask(&entry->edx, 10);
+		} else {
 			entry->ebx = 0;
+			entry->edx = 0;
+		}
 		entry->eax = 0;
 		entry->ecx = 0;
-		entry->edx = 0;
 		break;
 	}
 	case 9:
@@ -512,7 +523,14 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 		if (!g_phys_as)
 			g_phys_as = phys_as;
 		entry->eax = g_phys_as | (virt_as << 8);
-		entry->ebx = entry->edx = 0;
+		entry->edx = 0;
+		/* IBRS and IBPB aren't necessarily present in hardware cpuid */
+		if (boot_cpu_has(X86_FEATURE_IBPB))
+			entry->ebx |= F(IBPB);
+		if (boot_cpu_has(X86_FEATURE_IBRS))
+			entry->ebx |= F(IBRS);
+		entry->ebx &= kvm_cpuid_8000_0008_ebx_x86_features;
+		cpuid_mask(&entry->ebx, 11);
 		break;
 	}
 	case 0x80000019:
arch/x86/kvm/cpuid.h +31 -0
index 06fa616e3f69..aff98b185e87 100644
@@ -104,4 +104,35 @@ static inline bool guest_cpuid_has_mpx(struct kvm_vcpu *vcpu)
 	return best && (best->ebx & bit(X86_FEATURE_MPX));
 }
 
+static inline bool guest_cpuid_has_ibpb(struct kvm_vcpu *vcpu)
+{
+	struct kvm_cpuid_entry2 *best;
+
+	best = kvm_find_cpuid_entry(vcpu, 0x80000008, 0);
+	if (best && (best->ebx & bit(X86_FEATURE_IBPB)))
+		return true;
+	best = kvm_find_cpuid_entry(vcpu, 7, 0);
+	return best && (best->edx & bit(X86_FEATURE_SPEC_CTRL));
+}
+
+static inline bool guest_cpuid_has_ibrs(struct kvm_vcpu *vcpu)
+{
+	struct kvm_cpuid_entry2 *best;
+
+	best = kvm_find_cpuid_entry(vcpu, 0x80000008, 0);
+	if (best && (best->ebx & bit(X86_FEATURE_IBRS)))
+		return true;
+	best = kvm_find_cpuid_entry(vcpu, 7, 0);
+	return best && (best->edx & bit(X86_FEATURE_SPEC_CTRL));
+}
+
+static inline bool guest_cpuid_has_arch_capabilities(struct kvm_vcpu *vcpu)
+{
+	struct kvm_cpuid_entry2 *best;
+
+	best = kvm_find_cpuid_entry(vcpu, 7, 0);
+	return best && (best->edx & bit(X86_FEATURE_ARCH_CAPABILITIES));
+}
+
+
 #endif
arch/x86/kvm/svm.c +145 -26

312 lines not on this page · raw message

arch/x86/kvm/vmx.c +339 -280

1,020 lines not on this page · raw message

arch/x86/kvm/x86.c +68 -43

113 lines not on this page · raw message

arch/x86/mm/tlb.c +19 -0
index efa4839c3b59..71b450232c7a 100644

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

arch/x86/oprofile/nmi_int.c +1 -1
index 379e8bd0deea..9f5246293ae7 100644

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

arch/x86/xen/mmu.c +1 -1
index f05f2d897a67..85003e57b1a3 100644

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

arch/x86/xen/suspend.c +24 -0
index 2277cc8965fe..e37ae1c74d2b 100644

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

arch/x86/xen/xen-head.S +15 -0
index 485b69585540..3c2465aa5951 100644

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

arch/xtensa/include/asm/futex.h +10 -13
index b39531babec0..72bfc1cbc2b5 100644

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

crypto/af_alg.c +5 -0
index 30c1ae491fd4..9821a116047e 100644

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

crypto/ahash.c +28 -5
index c2982958a2a0..d5f9c1586c42 100644

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

crypto/algif_hash.c +12 -42

54 lines not on this page · raw message

crypto/crc32.c +1 -0
index 187ded28cb0b..06666302f382 100644

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

crypto/crc32c_generic.c +1 -0
index 4c0a0e271876..372320399622 100644

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

crypto/cryptd.c +4 -2
index d85fab975514..3443c1145a1f 100644

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

crypto/shash.c +21 -4
index 73c065321867..194f7b1ff5cb 100644

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

drivers/ata/ahci.c +22 -2
index 631646e13119..bc4ff68c9816 100644

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

drivers/ata/libata-core.c +18 -3
index cfa2982d7286..d5fb981acec9 100644

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

drivers/ata/libata-eh.c +2 -1
index 0550c76f4e6c..2cb7cd9b9e29 100644

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

drivers/ata/libata-scsi.c +3 -1
index b297d43e1121..e03b0b40fcac 100644

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

drivers/block/pktcdvd.c +1 -3
index 758ac442c5b5..89d513975992 100644

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

drivers/block/rbd.c +5 -2
index d1c04f0f79b6..cebc758da98f 100644

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

drivers/cdrom/cdrom.c +1 -1
index 898b84bba28a..aac259d6e248 100644

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

drivers/char/tpm/tpm-interface.c +4 -0
index cfb9089887bd..780e3879e13e 100644

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

drivers/char/tpm/tpm_i2c_infineon.c +3 -2
index 472af4bb1b61..ce41780a4213 100644

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

drivers/char/tpm/tpm_i2c_nuvoton.c +6 -2
index 23c7b137a7fd..39635429ea3f 100644

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

drivers/char/tpm/tpm_tis.c +3 -2
index 415e47d79a46..27efd4211cc3 100644

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

drivers/clocksource/fsl_ftm_timer.c +1 -1
index 454227d4f895..de38acab9602 100644

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

drivers/cpufreq/s3c24xx-cpufreq.c +7 -1
index 176e5da16829..d719c7e04a75 100644

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

drivers/crypto/bfin_crc.c +2 -1
index b099e33cb073..d1fc02db0436 100644

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

drivers/crypto/caam/ctrl.c +6 -2
index dcc8bcf625c4..841b494ec011 100644

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

drivers/crypto/s5p-sss.c +9 -3
index cb86d4487605..367a53f38cd6 100644

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

drivers/devfreq/devfreq.c +1 -1
index 3ec5509b1433..decaa3698e12 100644

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

drivers/edac/octeon_edac-lmc.c +1 -0
index 4bd10f94f068..c0c80ae8c47c 100644

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

drivers/firmware/dmi_scan.c +9 -13
index 35286fe52823..4939e48c3517 100644

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

drivers/gpu/drm/drm_edid.c +3 -0
index 1db601e109d0..80d76349da8a 100644

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

drivers/gpu/drm/drm_probe_helper.c +20 -0
index d22676b89cbb..79bc67cda504 100644

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

drivers/gpu/drm/nouveau/nouveau_connector.c +13 -5
index 6b2057dbbcd6..5f8e9711c313 100644

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

drivers/gpu/drm/radeon/cik.c +2 -29
index 10b6329f9ba1..06c62ad349da 100644

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

drivers/gpu/drm/radeon/radeon_connectors.c +61 -44

105 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_device.c +4 -0
index 1ba38687a85e..edff18760031 100644

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

drivers/gpu/drm/radeon/radeon_gem.c +0 -2
index d41505cb35f1..216f9a433f0c 100644

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

drivers/gpu/drm/radeon/radeon_object.c +2 -0
index 6c717b257d6d..6b1762e0879d 100644

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

drivers/gpu/drm/radeon/radeon_uvd.c +1 -1
index a86cc490c35f..6d43fd615a61 100644

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

drivers/gpu/drm/radeon/si_dpm.c +5 -0
index 2b04749ad314..b5ef48fdef14 100644

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

drivers/gpu/drm/ttm/ttm_bo.c +2 -1
index 4f99f8084973..7c1153ccb1ed 100644

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

drivers/gpu/drm/udl/udl_fb.c +7 -2
index 8cd50da22c7e..e9342d0483db 100644

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

drivers/hid/hid-core.c +3 -0
index 8df8344c1098..631622fecaa8 100644

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

drivers/hid/hid-ids.h +4 -0
index 2b6f0bbaa28b..f6b36b7e70ca 100644

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

drivers/hid/hid-roccat-kovaplus.c +2 -0
index 966047711fbf..1073c0d1fae5 100644

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

drivers/hid/usbhid/hid-quirks.c +1 -0
index 07b7e30c1b0e..ba1d9ab5fc97 100644

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

drivers/iio/imu/adis_trigger.c +4 -3
index f53e9a803a0e..93b99bd93738 100644

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

drivers/iio/industrialio-buffer.c +1 -1
index d495b2e82810..7562531ebf0e 100644

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

drivers/infiniband/core/cma.c +4 -1
index bb20bc543a29..0c856b380f48 100644

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

drivers/infiniband/core/iwpm_util.c +1 -0
index e532ba6d3627..140209c52571 100644

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

drivers/infiniband/core/ucma.c +40 -11

51 lines not on this page · raw message

drivers/infiniband/hw/mlx4/main.c +5 -8
index 775c3cb87097..79a8accc0801 100644

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

drivers/infiniband/hw/mlx5/cq.c +6 -1
index a3395e4cc721..3629081c3c05 100644

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

drivers/infiniband/hw/mlx5/qp.c +1 -4
index 74cb286e6012..8761cf4c003f 100644

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

drivers/infiniband/hw/mlx5/srq.c +9 -6
index 7c2fe5235ae2..cbfed00189ad 100644

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

drivers/infiniband/ulp/ipoib/ipoib_fs.c +0 -2
index 09396bd7b02d..63be3bcdc0e3 100644

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

drivers/input/keyboard/matrix_keypad.c +3 -1
index 8d2e19e81e1e..fde979216d58 100644

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

drivers/input/touchscreen/edt-ft5x06.c +6 -8
index d4f33992ad8c..62b4a329bfe4 100644

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

drivers/input/touchscreen/mms114.c +1 -1
index 372bbf7658fe..1f26ac1c0134 100644

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

drivers/md/bcache/super.c +21 -6
index 8498d9488bc0..9c574978c400 100644

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

drivers/md/raid10.c +4 -2
index 5af9a56e5018..18b0c80fc447 100644

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

drivers/media/pci/bt8xx/bt878.c +1 -2
index d0c281f41a0a..4cf01546afe0 100644

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

drivers/media/platform/exynos4-is/fimc-isp.c +7 -7
index be62d6b9ac48..9cf9d8484657 100644

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

drivers/media/usb/cpia2/cpia2_v4l.c +2 -2
index d5d42b6e94be..82c9470833ac 100644

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

drivers/media/usb/dvb-usb-v2/lmedm04.c +24 -15
index d2a4e6d40bf0..63d5f190b3e7 100644

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

drivers/media/usb/dvb-usb/cxusb.c +2 -0
index a1c641e18362..6f4bf0ec43d3 100644

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

drivers/media/usb/dvb-usb/dib0700_devices.c +1 -0
index 10e0db8d1850..4d99682a207f 100644

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

drivers/misc/lkdtm.c +1 -1
index d66a2f24f6b3..47eb9181b49f 100644

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

drivers/mmc/card/block.c +21 -0
index 26cac35d1adc..20a32d14a636 100644

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

drivers/mmc/host/dw_mmc-exynos.c +1 -0
index 0fbc53ac7eae..9bb46026b7da 100644

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

drivers/mmc/host/dw_mmc.c +44 -24

68 lines not on this page · raw message

drivers/mmc/host/dw_mmc.h +2 -0
index 738fa241d058..8814666961c8 100644

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

drivers/mmc/host/sdhci-pci.c +27 -0
index 56389ae09222..0a14dcb8e505 100644

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

drivers/mmc/host/sdhci.c +4 -3
index d79b8c324934..393444edc78e 100644

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

drivers/mmc/host/sdhci.h +1 -0
index 4a5cd5e3fa3e..82cbb526baa5 100644

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

drivers/mtd/chips/jedec_probe.c +2 -0
index 7c0b27d132b1..b479bd81120b 100644

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

drivers/mtd/nand/nand_base.c +4 -1
index 857e6cc4a91e..fe3d8234b9ad 100644

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

drivers/mtd/ubi/vmt.c +10 -5
index 96131eb34c9f..ff5f1ac79581 100644

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

drivers/mtd/ubi/wl.c +6 -2
index 371a973e718e..2b8d1e46bc5e 100644

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

drivers/net/bonding/bond_main.c +37 -36

73 lines not on this page · raw message

drivers/net/can/cc770/cc770.c +61 -39

100 lines not on this page · raw message

drivers/net/can/cc770/cc770.h +2 -0
index a1739db98d91..95752e1d1283 100644

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

drivers/net/ethernet/broadcom/bcmsysport.c +15 -18
index c2b5d3b74c5f..2d2c6703819e 100644

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

drivers/net/ethernet/broadcom/bcmsysport.h +1 -1
index 281c08246037..5e770dc44367 100644

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

drivers/net/ethernet/intel/e1000e/ich8lan.c +1 -1
index ed830be35d80..dd1d635c416d 100644

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

drivers/net/ethernet/intel/e1000e/mac.c +1 -1
index f131627ac7df..69bd6634e8f1 100644

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

drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c +14 -9
index c95ca252187c..babfb8fba2aa 100644

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

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +19 -8
index f07b814d717c..d187819b1340 100644

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

drivers/net/ethernet/mellanox/mlx4/en_main.c +2 -2
index 80af090463eb..041213d9e899 100644

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

drivers/net/ethernet/mellanox/mlx4/mr.c +21 -19
index 2839abb878a6..79e163b252f8 100644

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

drivers/net/ethernet/mellanox/mlx4/qp.c +3 -0
index aeaf888e0e73..230832628116 100644

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

drivers/net/slip/slip.c +2 -2
index 0641fccdc954..3780c4672bfa 100644

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

drivers/net/team/team.c +2 -2
index b78532e8c56e..6b38cbafef09 100644

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

drivers/net/tun.c +1 -1
index a87b76341502..b37e06722388 100644

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

drivers/net/wireless/ath/ath9k/htc_drv_main.c +4 -0
index 5627917c5ff7..8980f7c7e93f 100644

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

drivers/net/wireless/brcm80211/brcmfmac/p2p.c +11 -13
index b489476532df..82ef0844b41d 100644

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

drivers/net/wireless/ti/wl1251/main.c +1 -2
index 293b4e3b6d02..a99b94641cf3 100644

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

drivers/pci/quirks.c +2 -0
index bc4147bfe0ad..354026cf7ce9 100644

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

drivers/pinctrl/core.c +17 -7
index 84f946a7a405..3d4b514367ac 100644

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

drivers/platform/x86/apple-gmux.c +1 -47

48 lines not on this page · raw message

drivers/power/ab8500_charger.c +4 -2
index 19110aa613a1..bae3f31493cd 100644

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

drivers/s390/net/qeth_core.h +5 -0
index 8100396ba1b4..e15de80e8439 100644

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

drivers/s390/net/qeth_core_main.c +8 -8
index 7fc3922dd54c..0aacf78d5b19 100644

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

drivers/s390/net/qeth_l2_main.c +1 -1
index ccc71ab92fe6..784ba56bb5d3 100644

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

drivers/s390/net/qeth_l3_main.c +1 -1
index 3beb591b8ad8..4ba6cf34e522 100644

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

drivers/scsi/aacraid/aachba.c +13 -9
index 4598a1978a1d..0cae3ba00090 100644

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

drivers/scsi/arm/fas216.c +1 -1
index b46a6f6c0eb3..6d11e2bce827 100644

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

drivers/scsi/ibmvscsi/ibmvfc.h +1 -1
index 017a5290e8c1..b5214ad3f0fd 100644

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

drivers/scsi/ipr.c +2 -1
index ee38ab64422b..9d9a7534ff2e 100644

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

drivers/scsi/libsas/sas_ata.c +2 -1
index 3f0c3e0b5838..672208993ec0 100644

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

drivers/scsi/libsas/sas_expander.c +2 -1
index 0cac7d8fd0f7..9ee5a359248c 100644

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

drivers/spi/spi-imx.c +13 -2
index 5daff2054ae4..5ff097c80dbc 100644

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

drivers/spi/spi-sun6i.c +1 -1
index 97f2e9bb3c24..49bf07cfb04f 100644

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

drivers/staging/android/ashmem.c +16 -16
index be2958f0ce28..fbca97248f37 100644

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

drivers/staging/android/binder.c +9 -5
index 3b79624703a7..892b91054914 100644

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

drivers/staging/iio/adc/ad7192.c +20 -9
index c7aaf2bb1018..4b8bd2936c1d 100644

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

drivers/staging/iio/adc/ad7192.h +1 -1
index a0a5b61a41f1..7433a43c2611 100644

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

drivers/staging/iio/adc/ad7280a.c +2 -2
index d215edf66af2..e2e60756dc03 100644

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

drivers/staging/lustre/lustre/libcfs/linux/linux-crypto-adler.c +1 -0
index 20b2d61d9ff2..61662a0e1bbf 100644

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

drivers/staging/lustre/lustre/libcfs/tracefile.c +1 -1
index 07845e844243..f883030ad972 100644

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

drivers/staging/rts5208/ms.c +2 -1
index d22916a4b9d8..574ac8ac320a 100644

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

drivers/staging/usbip/stub_dev.c +3 -0
index da5ff96bbf3a..3959633ad09c 100644

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

drivers/staging/usbip/userspace/src/usbip_bind.c +9 -0
index fa46141ae68b..e121cfb1746a 100644

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

drivers/staging/usbip/userspace/src/usbip_list.c +9 -0
index d5ce34a410e7..ac6081c3db82 100644

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

drivers/staging/usbip/vhci_hcd.c +2 -0
index ada952424a7b..2ae3b63741bd 100644

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

drivers/tty/n_tty.c +6 -0
index 3fab0811ca11..0877dde6d722 100644

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

drivers/tty/serial/8250/8250_pci.c +11 -0
index e3af4a758440..6ad273e68005 100644

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

drivers/tty/serial/atmel_serial.c +1 -0
index 56a3cc42a4b0..bc1c68c926bd 100644

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

drivers/tty/serial/sh-sci.c +2 -0
index b1d761e022f0..e2224213111c 100644

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

drivers/tty/vt/vt.c +4 -4
index 322c4818dd0c..23f7f96c7508 100644

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

drivers/usb/class/cdc-acm.c +4 -1
index 58034df6351b..5ea049bd1905 100644

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

drivers/usb/core/message.c +4 -0
index 0c8a7fc4dad8..66477fef2912 100644

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

drivers/usb/core/quirks.c +5 -1
index e54da625bb36..25391bef0642 100644

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

drivers/usb/dwc3/gadget.c +2 -0
index 52620eb41838..f8a20b88ccfd 100644

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

drivers/usb/gadget/f_fs.c +7 -2
index 019d404dc547..5e3a3a2f1ff6 100644

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

drivers/usb/host/ohci-q.c +10 -7
index e9599f64547b..f89294c517d8 100644

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

drivers/usb/host/xhci-pci.c +3 -0
index 7df1edc2c199..33cf347e754b 100644

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

drivers/usb/host/xhci.c +3 -0
index 45654fffa7a5..a30b16b3c847 100644

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

drivers/usb/host/xhci.h +1 -0
index 08057459c8e6..df47cb8e5ec8 100644

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

drivers/usb/misc/ldusb.c +6 -0
index 82503a7ff6c8..2bbca7d674d6 100644

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

drivers/usb/mon/mon_text.c +78 -46

124 lines not on this page · raw message

drivers/usb/serial/Kconfig +3 -0
index 92ad61c0f133..f73009bc7268 100644

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

drivers/usb/serial/io_edgeport.c +0 -1
index 749e1b674145..6947985ccfb0 100644

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

drivers/usb/serial/option.c +5 -0
index 3784bc166642..93e7fcf18088 100644

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

drivers/usb/serial/pl2303.c +1 -0
index 4455b1fd8b70..9c3b02e2011e 100644

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

drivers/usb/serial/pl2303.h +1 -0
index 09d9be88209e..f379e00920bd 100644

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

drivers/usb/serial/usb-serial-simple.c +24 -2
index 790452c7a9e4..a084d4578420 100644

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

drivers/usb/storage/uas.c +14 -8
index 87ecc65fe6e1..21d2d52a3b26 100644

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

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

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

drivers/vhost/net.c +1 -0
index 8dae2f724a35..d812f9d71011 100644

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

drivers/video/console/dummycon.c +0 -1
index 40bec8d64b0a..003500802168 100644

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

drivers/video/fbdev/atmel_lcdfb.c +9 -1
index d36e830d6fc6..2820ca3ec3cb 100644

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

drivers/video/fbdev/sbuslib.c +2 -2
index a350209ffbd3..31c301d6be62 100644

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

drivers/xen/events/events_base.c +2 -2
index b254b7d20dfa..7e93925ace03 100644

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

drivers/xen/manage.c +6 -3
index bf1940706422..9e6a85104a20 100644

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

fs/aio.c +73 -61

134 lines not on this page · raw message

fs/btrfs/backref.c +10 -1
index 93afd58764e6..079280119a41 100644

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

fs/btrfs/inode.c +29 -15

44 lines not on this page · raw message

fs/btrfs/tree-log.c +12 -2
index a0fa16033006..fb049cb4571d 100644

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

fs/btrfs/volumes.c +6 -5
index 81bec9fd8f19..52c30fd35a81 100644

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

fs/cifs/cifsencrypt.c +1 -2
index f1aa100758df..cbab714a3a24 100644

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

fs/cifs/cifssmb.c +1 -3
index 36344cb2f1ca..669d1a0a7358 100644

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

fs/cifs/connect.c +3 -1
index d7be06289ff8..9ba78c4ca138 100644

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

fs/cifs/file.c +12 -14
index a1feb13c7590..ebe39ef0616f 100644

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

fs/cifs/misc.c +4 -10
index 9f0808335536..f03fecafc5d5 100644

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

fs/cifs/smb2pdu.c +4 -2
index 038e428b5173..422028a7baf5 100644

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

fs/dcache.c +8 -3
index 8a84b99ea8d4..e1380da5c183 100644

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

fs/ext4/balloc.c +15 -2
index 5fb1195f602f..0a0f8a89d425 100644

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

fs/ext4/ialloc.c +6 -0
index a6620b1fe334..62fbd4f0ff51 100644

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

fs/ext4/inode.c +6 -0
index 65579972c4ba..e90fa513c14c 100644

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

fs/ext4/super.c +1 -0
index af0267fbecf4..ca1036fb0971 100644

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

fs/f2fs/segment.c +4 -1
index cd4d5dccc9fd..a927d9f08e70 100644

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

fs/hugetlbfs/inode.c +23 -3
index 3a4af9d401c3..69546f170ccf 100644

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

fs/jffs2/fs.c +0 -1
index bb9460ea36e8..ff77c6041e6f 100644

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

fs/kernfs/file.c +1 -1
index b120e85aa7b9..2f442d9f0cf9 100644

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

fs/namei.c +3 -2
index 134ca0e00d81..2ec89079ddbd 100644

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

fs/ncpfs/ncplib_kernel.c +4 -0
index 482387532f54..9fb4fe875a75 100644

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

fs/nfs/direct.c +1 -3
index 1d36353ce13c..42fb879ccd3a 100644

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

fs/nfs/idmap.c +5 -1
index 567983d2c0eb..11450097e4ed 100644

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

fs/nfs/internal.h +0 -1
index 609398d01da7..4336eb2ab047 100644

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

fs/nfs/nfs4sysctl.c +1 -1
index b6ebe7e445f6..b83056329370 100644

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

fs/nfs/pagelist.c +12 -14
index 9fc33210f68f..c042d2ff918e 100644

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

fs/nfs/pnfs.c +2 -4
index 77498f9ba554..6c15ba561283 100644

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

fs/nfs/super.c +2 -0
index b04563f7be69..29ec54a58361 100644

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

fs/nfs/write.c +2 -0
index 34f18294817a..c66d59f1bd06 100644

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

fs/ocfs2/cluster/nodemanager.c +55 -8

63 lines not on this page · raw message

fs/pipe.c +109 -89

198 lines not on this page · raw message

include/crypto/hash.h +24 -10
index 4bdd795dfaf9..7bb0ea17607b 100644

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

include/crypto/internal/hash.h +2 -0
index 27f5fa488ad0..5abbb5e473d2 100644

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

include/drm/drm_crtc_helper.h +1 -0
index a3d75fefd010..9dbc9f7b77ca 100644

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

include/linux/crypto.h +8 -0
index 61dd0b15d21c..447b6950d381 100644

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

include/linux/fs.h +4 -0
index d594f0fbc41a..b5118c1cdb98 100644

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

include/linux/libata.h +1 -0
index bd83b8e83cfe..ab58855b9de5 100644

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

include/linux/mlx5/driver.h +2 -2
index 687dba5dceda..a6e05ad7ebf3 100644

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

include/linux/mmc/sdhci.h +1 -0
index 08abe9941884..e0d11601d79c 100644

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

include/linux/nospec.h +1 -2
index 3b1d69c52beb..e791ebc65c9c 100644

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

include/linux/pipe_fs_i.h +2 -2
index 24f5470d3944..eed87a0fdc5c 100644

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

include/linux/skbuff.h +17 -0
index 93431a42f2f9..9b31b6d38da2 100644

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

include/linux/usb/quirks.h +3 -0
index b54fdcb52b1c..70b965c25e3a 100644

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

include/linux/workqueue.h +1 -0
index fa25f353f985..1e0745d75053 100644

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

include/net/ip.h +9 -2
index 3d389a86a7e2..27dd9826e05d 100644

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

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

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

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

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

include/net/route.h +2 -1
index 671d5b1c813b..6de6c4977d07 100644

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

include/net/sch_generic.h +8 -0
index 513aecb66565..2d5acae04344 100644

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

include/net/sctp/sctp.h +5 -2
index 775724d054cd..9156dea15207 100644

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

include/net/udplite.h +1 -0
index 2caadabcd07b..3c8985489992 100644

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

include/scsi/libsas.h +17 -17
index ce999f30a1e5..54fb9a2d7c7c 100644

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

include/uapi/linux/if_ether.h +3 -0
index 0f8210b8e0bc..b2d0ffdd637a 100644

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

include/uapi/linux/usb/audio.h +2 -2
index d2314be4f0c0..19f9dc2c06f6 100644

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

include/xen/xen-ops.h +1 -0
index 0b3149ed7eaa..ff05022328a7 100644

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

kernel/async.c +12 -8
index 61f023ce0228..4ae59815ced4 100644

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

kernel/events/hw_breakpoint.c +7 -23
index 1559fb0b9296..0ff7951d22de 100644

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

kernel/hrtimer.c +6 -1
index a794eaebffe8..dbad6176fb67 100644

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

kernel/posix-timers.c +12 -3
index 3e8afd2bb1dc..5a4cefc43f40 100644

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

kernel/relay.c +1 -1
index 5a56d3c8dc03..42d06d1d80f1 100644

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

kernel/sysctl.c +31 -2
index e918a641b1a0..e714622b6fa9 100644

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

kernel/trace/trace_kprobe.c +2 -2
index 562cbf747622..e3bc78d97c7a 100644

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

kernel/trace/trace_probe.c +3 -5
index d4b9fc22cd27..a9cfe6c71745 100644

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

kernel/trace/trace_probe.h +1 -1
index 4f815fbce16d..2c89ac33d7ad 100644

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

kernel/workqueue.c +16 -0
index 9bf0b4bd3cc7..0d09d4a4de7b 100644

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

mm/hugetlb.c +9 -0
index c892a6b51e8e..18249651423b 100644

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

mm/madvise.c +1 -2
index a402f8fdc68e..b414e9af2191 100644

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

mm/memory.c +1 -1
index 4ab5b0c55f4a..4dbf1173891d 100644

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

mm/mempolicy.c +3 -0
index fffff2a6677a..aaf4c2e002e2 100644

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

mm/vmscan.c +12 -2
index c9091e10a18d..f1dc719e0fe8 100644

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

net/9p/trans_virtio.c +2 -1
index 2121d9e5f801..bbf55b440da5 100644

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

net/batman-adv/bat_iv_ogm.c +9 -7
index 5e58b1858c39..12090b307e9c 100644

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

net/batman-adv/distributed-arp-table.c +1 -1
index 7353487b787f..ab83d8b16c45 100644

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

net/batman-adv/fragmentation.c +2 -1
index af97752b52aa..50de6a07c65e 100644

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

net/batman-adv/gateway_client.c +3 -0
index e0bcf9e84273..b22ba87b6b22 100644

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

net/batman-adv/hard-interface.c +7 -2
index fbda6b54baff..fed6259ed5a5 100644

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

net/batman-adv/multicast.c +2 -2
index a6a908f1ae87..607bbd0ec343 100644

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

net/batman-adv/originator.c +2 -2
index 9e6967a1f23e..5ed180ce423e 100644

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

net/batman-adv/originator.h +2 -2
index ce75339563b8..9dfc35f6a3d8 100644

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

net/batman-adv/routing.c +14 -7
index 7a1032348ea9..9990d4040f6c 100644

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

net/batman-adv/soft-interface.c +1 -7
index 765c89ccc3fb..c8642161b1fc 100644

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

net/batman-adv/types.h +5 -4
index 9161e3e62a55..c6388ce62f82 100644

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

net/bluetooth/hidp/core.c +2 -1
index 3b45cfee3743..32400034fed4 100644

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

net/bridge/br_sysfs_if.c +3 -0
index e561cd59b8a6..65a092c5e0f5 100644

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

net/bridge/netfilter/ebt_among.c +53 -2

55 lines not on this page · raw message

net/bridge/netfilter/ebtables.c +16 -1
index 1059ed3bc255..72142370bd98 100644

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

net/core/dev.c +10 -3
index 37e2e5423af0..f8f03ebd0507 100644

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

net/core/skbuff.c +8 -3
index 235c639d370b..9bb9a01a1478 100644

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

net/dccp/proto.c +5 -0
index 82068e0d9891..b9d4f2c55dec 100644

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

net/decnet/af_decnet.c +33 -29

62 lines not on this page · raw message

net/ipv4/igmp.c +4 -0
index 387c5e404650..337c333f64ae 100644

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

net/ipv4/ip_sockglue.c +5 -16
index ecb2b00b6ad3..4b03c579c747 100644

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

net/ipv4/ip_tunnel.c +25 -5
index 51dd1605f944..34fce09c5fd1 100644

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

net/ipv4/ip_vti.c +0 -2
index ca0b7408614c..b4fc9e710308 100644

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

net/ipv4/netfilter/ipt_CLUSTERIP.c +19 -5
index 0b6a54b9bdeb..36abfce2c2d9 100644

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

net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c +5 -1
index 8127dc802865..5343d72a5a34 100644

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

net/ipv4/route.c +53 -61

114 lines not on this page · raw message

net/ipv4/udp.c +5 -0
index 5877d782bdc1..41c96cacdbaa 100644

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

net/ipv4/xfrm4_policy.c +1 -0
index 94fc16dad6c6..3a4c1f93023a 100644

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

net/ipv6/ip6_checksum.c +5 -0
index 9a4d7322fb22..391a8fedb27e 100644

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

net/ipv6/ip6_output.c +9 -4
index 1fd80d8abd1d..0d30c9192da3 100644

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

net/ipv6/ipv6_sockglue.c +7 -20
index acda3ed4ba7e..eee453393cf7 100644

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

net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +12 -6
index 4cbc6b290dd5..e178fe026379 100644

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

net/ipv6/netfilter/nf_nat_l3proto_ipv6.c +4 -0
index abfe75a2e316..fada816bd0f2 100644

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

net/l2tp/l2tp_core.c +68 -134

202 lines not on this page · raw message

net/l2tp/l2tp_core.h +2 -24
index faa2d3e2f9bd..48e19b58e334 100644

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

net/l2tp/l2tp_ip.c +3 -7
index 67c59119d01d..1ce4c1b4e809 100644

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

net/l2tp/l2tp_ip6.c +3 -5
index 1615cb38828d..c966305cf46c 100644

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

net/l2tp/l2tp_ppp.c +38 -88

126 lines not on this page · raw message

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

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

net/netfilter/nf_nat_proto_common.c +5 -2
index 83a72a235cae..932d8a1a91d1 100644

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

net/netfilter/xt_IDLETIMER.c +6 -3
index f407ebc13481..95b6dedc5ac7 100644

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

net/netfilter/xt_LED.c +6 -6
index 993de2ba89d3..d944bc17c10c 100644

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

net/netfilter/xt_RATEEST.c +17 -5
index 370adf622cef..a5f6bd1a663e 100644

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

net/netlink/af_netlink.c +3 -0
index 2eafcffb5f8e..95700e349463 100644

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

net/netlink/genetlink.c +10 -2
index 76393f2f4b22..e2da52eeafd2 100644

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

net/nfc/llcp_commands.c +4 -0
index a3ad69a4c648..1e7245792fc0 100644

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

net/nfc/netlink.c +2 -1
index 43cb1c17e267..d44369ed1436 100644

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

net/sched/sch_netem.c +5 -1
index cbf402451c20..afdd343ad826 100644

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

net/sctp/sm_make_chunk.c +6 -2
index 642c11570285..bbf6abb6ae3c 100644

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

net/xfrm/xfrm_user.c +8 -13
index 316c27f70560..677ec308d713 100644

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

security/integrity/ima/ima_appraise.c +2 -1
index 28aee9eb8b32..141b8a723d1b 100644

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

sound/core/oss/pcm_oss.c +2 -2
index 96612762d623..c64b13761aca 100644

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

sound/core/pcm_native.c +1 -1
index 35148fa49ccc..3835b818efa8 100644

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

sound/core/seq/seq_clientmgr.c +20 -9
index 8923f7e69efc..b813ecc6322d 100644

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

sound/core/seq/seq_fifo.c +1 -1
index 3490d21ab9e7..9acbed1ac982 100644

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

sound/core/seq/seq_memory.c +10 -4
index b20d5b5368cd..f8420b660459 100644

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

sound/core/seq/seq_memory.h +2 -1
index 32f959c17786..3abe306c394a 100644

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

sound/core/seq/seq_prioq.c +14 -14
index bc1c8488fc2a..2bc6759e4adc 100644

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

sound/core/seq/seq_prioq.h +2 -4
index d38bb78d9345..2c315ca10fc4 100644

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

sound/core/seq/seq_queue.c +9 -19
index f676ae53c477..e120e6780e3b 100644

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

sound/drivers/aloop.c +15 -2
index 61a3160af532..6c5b4e057521 100644

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

sound/pci/hda/patch_realtek.c +24 -1
index 5c2b5c949c78..75ffb0bc1bbf 100644

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

sound/soc/au1x/ac97c.c +3 -3
index c8a2de103c5f..7591e48662bf 100644

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

sound/soc/codecs/rt5651.c +1 -0
index ea4b1c652a26..44e2ecb9bf5a 100644

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

sound/soc/nuc900/nuc900-ac97.c +2 -2
index f2f67942b229..84a4fc84d688 100644

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

sound/usb/pcm.c +9 -0
index 0bf61d4a1080..17e611064334 100644

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

sound/usb/quirks-table.h +47 -0

47 lines not on this page · raw message

tools/perf/builtin-record.c +13 -0
index 378b85b731a7..87cebac99533 100644

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

tools/perf/util/annotate.c +5 -3
index 809b4c50beae..7813a3827aa8 100644

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

tools/perf/util/evlist.c +28 -0
index 886c88551c2f..173638d52e46 100644

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

tools/perf/util/evlist.h +3 -0
index f5173cd63693..ac57c8c351a5 100644

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

tools/perf/util/session.c +2 -1
index 7a4517c4510d..51977b0633a6 100644

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

tools/testing/selftests/rcutorture/bin/configinit.sh +1 -1
index 9c3f3d39b934..bbe35e27f992 100755

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

tools/testing/selftests/rcutorture/bin/kvm.sh +2 -2
index 40285c58653e..b627e3cb75a9 100644

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

virt/kvm/kvm_main.c +1 -2
index 52ecd3a15941..1cfe0c62b128 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.