Skip to contentSkip to conversation

Linux 4.19.31

DISCUSSION Greg KH 1 participant 2 messages Mar 24, 2019 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.19.31 kernel.

All users of the 4.19 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/arm64/silicon-errata.txt                     |    2 
 Documentation/process/stable-kernel-rules.rst              |    3 
 Makefile                                                   |    2 
 arch/arc/Kconfig                                           |    8 
 arch/arc/include/asm/arcregs.h                             |    8 
 arch/arc/include/asm/entry-arcv2.h                         |   54 +++
 arch/arc/include/asm/uaccess.h                             |    8 
 arch/arc/kernel/entry-arcv2.S                              |    4 
 arch/arc/kernel/intc-arcv2.c                               |    2 
 arch/arc/kernel/setup.c                                    |   26 +
 arch/arc/lib/memcpy-archs.S                                |   14 
 arch/arc/plat-hsdk/Kconfig                                 |    1 
 arch/arm/Kconfig                                           |    1 
 arch/arm/boot/dts/armada-xp-db.dts                         |   46 +--
 arch/arm/boot/dts/armada-xp-gp.dts                         |   13 
 arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts            |   85 +++--
 arch/arm/boot/dts/omap4-droid4-xt894.dts                   |   11 
 arch/arm/boot/dts/tegra124-nyan.dtsi                       |   17 +
 arch/arm/crypto/crct10dif-ce-core.S                        |   14 
 arch/arm/crypto/crct10dif-ce-glue.c                        |   23 -
 arch/arm/include/asm/irq.h                                 |    1 
 arch/arm/include/asm/kvm_host.h                            |   10 
 arch/arm/kernel/irq.c                                      |   62 ----
 arch/arm/kernel/smp.c                                      |    2 
 arch/arm/kvm/coproc.c                                      |    4 
 arch/arm/kvm/reset.c                                       |   24 +
 arch/arm/mach-omap2/cpuidle44xx.c                          |   16 -
 arch/arm/mach-omap2/display.c                              |    7 
 arch/arm/mach-s3c24xx/mach-osiris-dvs.c                    |    8 
 arch/arm/mm/dma-mapping.c                                  |    2 
 arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts            |    2 
 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts          |    2 
 arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts |    2 
 arch/arm64/crypto/aes-ce-ccm-core.S                        |    5 
 arch/arm64/crypto/aes-ce-ccm-glue.c                        |    4 
 arch/arm64/crypto/aes-neonbs-core.S                        |    8 
 arch/arm64/crypto/crct10dif-ce-glue.c                      |   25 -
 arch/arm64/include/asm/hardirq.h                           |   31 ++
 arch/arm64/include/asm/kvm_host.h                          |   11 
 arch/arm64/kernel/head.S                                   |    3 
 arch/arm64/kernel/irq.c                                    |    3 
 arch/arm64/kernel/kgdb.c                                   |   14 
 arch/arm64/kernel/probes/kprobes.c                         |    6 
 arch/arm64/kvm/hyp/switch.c                                |    5 
 arch/arm64/kvm/hyp/sysreg-sr.c                             |    5 
 arch/arm64/kvm/reset.c                                     |   50 +++
 arch/arm64/kvm/sys_regs.c                                  |   10 
 arch/m68k/Makefile                                         |    5 
 arch/mips/include/asm/kvm_host.h                           |    2 
 arch/powerpc/include/asm/book3s/64/hugetlb.h               |    8 
 arch/powerpc/include/asm/kvm_host.h                        |    2 
 arch/powerpc/include/asm/powernv.h                         |    2 
 arch/powerpc/kernel/entry_32.S                             |    9 
 arch/powerpc/kernel/process.c                              |    2 
 arch/powerpc/kernel/ptrace.c                               |   10 
 arch/powerpc/kernel/traps.c                                |   12 
 arch/powerpc/platforms/83xx/suspend-asm.S                  |   34 +-
 arch/powerpc/platforms/embedded6xx/wii.c                   |    4 
 arch/powerpc/platforms/powernv/idle.c                      |   27 -
 arch/powerpc/platforms/powernv/opal-msglog.c               |    2 
 arch/powerpc/platforms/powernv/smp.c                       |   25 +
 arch/s390/include/asm/kvm_host.h                           |    2 
 arch/s390/kernel/setup.c                                   |   31 +-
 arch/x86/crypto/aegis128-aesni-glue.c                      |   38 +-
 arch/x86/crypto/aegis128l-aesni-glue.c                     |   38 +-
 arch/x86/crypto/aegis256-aesni-glue.c                      |   38 +-
 arch/x86/crypto/aesni-intel_glue.c                         |   13 
 arch/x86/crypto/morus1280_glue.c                           |   40 +-
 arch/x86/crypto/morus640_glue.c                            |   39 +-
 arch/x86/events/intel/uncore.c                             |    1 
 arch/x86/events/intel/uncore.h                             |   12 
 arch/x86/events/intel/uncore_snb.c                         |    4 
 arch/x86/include/asm/intel-family.h                        |    2 
 arch/x86/include/asm/kvm_host.h                            |    2 
 arch/x86/kernel/kprobes/opt.c                              |    5 
 arch/x86/kvm/mmu.c                                         |   23 +
 arch/x86/kvm/vmx.c                                         |   41 ++
 arch/x86/kvm/x86.c                                         |    4 
 arch/x86/kvm/x86.h                                         |    7 
 arch/x86/xen/mmu_pv.c                                      |   13 
 block/blk-mq.c                                             |   12 
 crypto/aead.c                                              |    4 
 crypto/aegis128.c                                          |   14 
 crypto/aegis128l.c                                         |   14 
 crypto/aegis256.c                                          |   14 
 crypto/ahash.c                                             |   42 +-
 crypto/cfb.c                                               |   14 
 crypto/morus1280.c                                         |   13 
 crypto/morus640.c                                          |   13 
 crypto/pcbc.c                                              |   14 
 crypto/shash.c                                             |   18 -
 crypto/skcipher.c                                          |   27 +
 crypto/testmgr.c                                           |   14 
 crypto/testmgr.h                                           |   25 +
 drivers/acpi/device_sysfs.c                                |    6 
 drivers/acpi/nfit/core.c                                   |   43 +-
 drivers/auxdisplay/ht16k33.c                               |    2 
 drivers/base/power/wakeup.c                                |    8 
 drivers/block/floppy.c                                     |    2 
 drivers/char/ipmi/ipmi_si_intf.c                           |    5 
 drivers/char/ipmi/ipmi_si_mem_io.c                         |    5 
 drivers/char/ipmi/ipmi_si_port_io.c                        |    5 
 drivers/char/tpm/st33zp24/st33zp24.c                       |    2 
 drivers/char/tpm/tpm-interface.c                           |   11 
 drivers/char/tpm/tpm_atmel.c                               |    2 
 drivers/char/tpm/tpm_crb.c                                 |   22 +
 drivers/char/tpm/tpm_i2c_atmel.c                           |    6 
 drivers/char/tpm/tpm_i2c_infineon.c                        |    2 
 drivers/char/tpm/tpm_i2c_nuvoton.c                         |    2 
 drivers/char/tpm/tpm_ibmvtpm.c                             |    8 
 drivers/char/tpm/tpm_infineon.c                            |    2 
 drivers/char/tpm/tpm_nsc.c                                 |    2 
 drivers/char/tpm/tpm_tis_core.c                            |    2 
 drivers/char/tpm/tpm_vtpm_proxy.c                          |    3 
 drivers/char/tpm/xen-tpmfront.c                            |    2 
 drivers/clk/clk-twl6040.c                                  |   53 +++
 drivers/clk/ingenic/cgu.c                                  |   10 
 drivers/clk/ingenic/cgu.h                                  |    2 
 drivers/clk/samsung/clk-exynos5-subcmu.c                   |   13 
 drivers/clk/sunxi-ng/ccu-sun6i-a31.c                       |    4 
 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c                       |    2 
 drivers/clk/uniphier/clk-uniphier-cpugear.c                |    2 
 drivers/clocksource/Kconfig                                |   10 
 drivers/clocksource/arm_arch_timer.c                       |   55 +++
 drivers/clocksource/exynos_mct.c                           |   23 -
 drivers/clocksource/timer-ti-dm.c                          |    4 
 drivers/cpufreq/pxa2xx-cpufreq.c                           |    4 
 drivers/cpufreq/qcom-cpufreq-kryo.c                        |   20 +
 drivers/cpufreq/tegra124-cpufreq.c                         |    2 
 drivers/crypto/caam/caamalg.c                              |    1 
 drivers/crypto/caam/caamhash.c                             |   93 +-----
 drivers/crypto/ccree/cc_buffer_mgr.c                       |    8 
 drivers/crypto/ccree/cc_cipher.c                           |    7 
 drivers/crypto/rockchip/rk3288_crypto.c                    |    2 
 drivers/crypto/rockchip/rk3288_crypto.h                    |    4 
 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c         |   39 ++
 drivers/crypto/rockchip/rk3288_crypto_ahash.c              |    2 
 drivers/dma/sh/usb-dmac.c                                  |    2 
 drivers/gpio/gpio-pca953x.c                                |    3 
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c           |    8 
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c           |    6 
 drivers/gpu/drm/drm_fb_helper.c                            |    4 
 drivers/gpu/drm/i915/i915_gem.c                            |    3 
 drivers/gpu/drm/imx/imx-ldb.c                              |   25 +
 drivers/gpu/drm/imx/ipuv3-plane.c                          |    4 
 drivers/gpu/drm/radeon/evergreen_cs.c                      |    1 
 drivers/gpu/ipu-v3/ipu-common.c                            |    8 
 drivers/hwtracing/intel_th/gth.c                           |    4 
 drivers/hwtracing/stm/core.c                               |   11 
 drivers/i2c/busses/i2c-bcm2835.c                           |   12 
 drivers/i2c/busses/i2c-cadence.c                           |    9 
 drivers/i2c/busses/i2c-tegra.c                             |    2 
 drivers/iio/adc/exynos_adc.c                               |    2 
 drivers/infiniband/hw/hfi1/hfi.h                           |    2 
 drivers/infiniband/hw/hfi1/init.c                          |   14 
 drivers/input/keyboard/cap11xx.c                           |   35 --
 drivers/input/keyboard/matrix_keypad.c                     |    2 
 drivers/input/keyboard/st-keyscan.c                        |    4 
 drivers/input/misc/pwm-vibra.c                             |   19 -
 drivers/input/serio/ps2-gpio.c                             |    1 
 drivers/irqchip/irq-brcmstb-l2.c                           |   10 
 drivers/irqchip/irq-gic-v3-its.c                           |    2 
 drivers/mailbox/bcm-flexrm-mailbox.c                       |    4 
 drivers/md/bcache/request.c                                |    7 
 drivers/md/bcache/writeback.h                              |    3 
 drivers/md/dm-integrity.c                                  |    8 
 drivers/md/raid10.c                                        |    2 
 drivers/md/raid5.c                                         |    2 
 drivers/media/common/videobuf2/videobuf2-v4l2.c            |    1 
 drivers/media/dvb-frontends/lgdt330x.c                     |    2 
 drivers/media/i2c/ov5640.c                                 |    2 
 drivers/media/platform/vimc/Makefile                       |    3 
 drivers/media/platform/vimc/vimc-capture.c                 |   18 -
 drivers/media/platform/vimc/vimc-common.c                  |   35 --
 drivers/media/platform/vimc/vimc-common.h                  |   15 -
 drivers/media/platform/vimc/vimc-debayer.c                 |   26 -
 drivers/media/platform/vimc/vimc-scaler.c                  |   28 -
 drivers/media/platform/vimc/vimc-sensor.c                  |   56 ---
 drivers/media/platform/vimc/vimc-streamer.c                |  188 +++++++++++++
 drivers/media/platform/vimc/vimc-streamer.h                |   38 ++
 drivers/media/usb/uvc/uvc_video.c                          |    8 
 drivers/mfd/sm501.c                                        |    3 
 drivers/misc/cxl/guest.c                                   |    2 
 drivers/misc/cxl/pci.c                                     |   39 ++
 drivers/misc/mei/bus.c                                     |   21 -
 drivers/misc/mei/hbm.c                                     |    7 
 drivers/mmc/core/core.c                                    |    4 
 drivers/mmc/host/sdhci-esdhc-imx.c                         |    1 
 drivers/net/can/flexcan.c                                  |    2 
 drivers/net/dsa/bcm_sf2.c                                  |   12 
 drivers/net/ethernet/atheros/atlx/atl2.c                   |    4 
 drivers/net/ethernet/broadcom/bcmsysport.c                 |    4 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                  |    4 
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                  |    2 
 drivers/net/ethernet/cavium/thunder/nic_main.c             |    2 
 drivers/net/ethernet/cavium/thunder/nicvf_main.c           |   27 +
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c         |    2 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c              |    7 
 drivers/net/ethernet/marvell/mv643xx_eth.c                 |    7 
 drivers/net/ethernet/marvell/mvneta.c                      |    2 
 drivers/net/ethernet/netronome/nfp/bpf/jit.c               |   17 -
 drivers/net/ethernet/qlogic/qed/qed_iwarp.c                |   21 +
 drivers/net/ethernet/qlogic/qed/qed_iwarp.h                |    1 
 drivers/net/usb/qmi_wwan.c                                 |    4 
 drivers/net/wireless/mac80211_hwsim.c                      |    2 
 drivers/net/wireless/marvell/libertas_tf/if_usb.c          |    2 
 drivers/nvdimm/label.c                                     |   23 +
 drivers/nvdimm/namespace_devs.c                            |    4 
 drivers/nvdimm/pfn_devs.c                                  |    4 
 drivers/parport/parport_pc.c                               |    2 
 drivers/pci/controller/dwc/pcie-designware-host.c          |    2 
 drivers/pci/pcie/dpc.c                                     |   27 +
 drivers/pci/probe.c                                        |   36 +-
 drivers/pinctrl/meson/pinctrl-meson8b.c                    |    2 
 drivers/power/supply/cpcap-charger.c                       |    1 
 drivers/regulator/max77620-regulator.c                     |   10 
 drivers/regulator/s2mpa01.c                                |   10 
 drivers/regulator/s2mps11.c                                |    6 
 drivers/s390/block/dasd_eckd.c                             |    8 
 drivers/s390/virtio/virtio_ccw.c                           |    4 
 drivers/scsi/aacraid/linit.c                               |   13 
 drivers/scsi/libiscsi.c                                    |    6 
 drivers/scsi/qla2xxx/qla_init.c                            |   17 -
 drivers/scsi/sd.c                                          |   59 +++-
 drivers/scsi/virtio_scsi.c                                 |    2 
 drivers/soc/qcom/rpmh.c                                    |   34 +-
 drivers/spi/spi-pxa2xx.c                                   |    1 
 drivers/spi/spi-ti-qspi.c                                  |    6 
 drivers/staging/media/imx/imx-ic-prpencvf.c                |   26 +
 drivers/staging/media/imx/imx-media-csi.c                  |   42 +-
 drivers/target/iscsi/iscsi_target.c                        |    4 
 drivers/tty/serial/8250/8250_of.c                          |    4 
 drivers/tty/serial/8250/8250_pci.c                         |  141 ++++++++-
 drivers/tty/serial/xilinx_uartps.c                         |    8 
 drivers/tty/vt/vt.c                                        |   15 -
 drivers/usb/chipidea/ci_hdrc_tegra.c                       |    1 
 drivers/usb/typec/tps6598x.c                               |   26 +
 fs/9p/v9fs_vfs.h                                           |   23 +
 fs/9p/vfs_file.c                                           |    6 
 fs/9p/vfs_inode.c                                          |   23 -
 fs/9p/vfs_inode_dotl.c                                     |   27 -
 fs/9p/vfs_super.c                                          |    4 
 fs/btrfs/acl.c                                             |    9 
 fs/btrfs/disk-io.c                                         |    8 
 fs/btrfs/extent_io.c                                       |    4 
 fs/btrfs/volumes.c                                         |    4 
 fs/cifs/cifsglob.h                                         |   19 +
 fs/cifs/file.c                                             |   12 
 fs/cifs/smb2misc.c                                         |   17 -
 fs/cifs/smb2ops.c                                          |   28 +
 fs/cifs/smb2transport.c                                    |   14 
 fs/cifs/transport.c                                        |    6 
 fs/devpts/inode.c                                          |    1 
 fs/ext2/super.c                                            |   39 +-
 fs/ext4/ext4.h                                             |    3 
 fs/ext4/ioctl.c                                            |  100 +++++-
 fs/ext4/resize.c                                           |    3 
 fs/jbd2/transaction.c                                      |   33 +-
 fs/kernfs/mount.c                                          |    8 
 fs/nfs/nfs4idmap.c                                         |   31 +-
 fs/nfs/nfs4proc.c                                          |   12 
 fs/nfs/pagelist.c                                          |   29 +-
 fs/nfs/write.c                                             |   11 
 fs/nfsd/nfs3proc.c                                         |   16 -
 fs/nfsd/nfs3xdr.c                                          |    1 
 fs/nfsd/nfs4state.c                                        |    8 
 fs/nfsd/nfsctl.c                                           |    2 
 fs/overlayfs/copy_up.c                                     |   59 +++-
 fs/overlayfs/overlayfs.h                                   |    2 
 fs/overlayfs/util.c                                        |   55 ++-
 fs/pipe.c                                                  |   14 
 fs/splice.c                                                |    4 
 include/asm-generic/vmlinux.lds.h                          |    2 
 include/keys/request_key_auth-type.h                       |   36 ++
 include/kvm/arm_vgic.h                                     |    2 
 include/linux/device-mapper.h                              |    2 
 include/linux/hardirq.h                                    |    7 
 include/linux/key-type.h                                   |   22 -
 include/linux/kvm_host.h                                   |    2 
 include/linux/pipe_fs_i.h                                  |    1 
 include/linux/property.h                                   |    2 
 include/linux/skbuff.h                                     |    6 
 include/net/phonet/pep.h                                   |    5 
 init/main.c                                                |    3 
 kernel/bpf/lpm_trie.c                                      |    1 
 kernel/bpf/stackmap.c                                      |    8 
 kernel/cgroup/cgroup.c                                     |    9 
 kernel/rcu/tree.c                                          |   20 -
 kernel/sysctl.c                                            |   11 
 kernel/trace/trace.c                                       |    1 
 kernel/trace/trace_event_perf.c                            |   16 -
 kernel/trace/trace_events_hist.c                           |    5 
 lib/assoc_array.c                                          |    8 
 mm/gup.c                                                   |    3 
 mm/memory-failure.c                                        |   14 
 mm/memory.c                                                |    5 
 mm/page_alloc.c                                            |    8 
 mm/page_ext.c                                              |    4 
 mm/shmem.c                                                 |   12 
 mm/swap.c                                                  |   17 -
 mm/vmalloc.c                                               |    2 
 net/9p/client.c                                            |    2 
 net/core/filter.c                                          |   12 
 net/ipv4/esp4.c                                            |    2 
 net/ipv4/netfilter/ipt_CLUSTERIP.c                         |    2 
 net/ipv6/esp6.c                                            |    2 
 net/key/af_key.c                                           |   40 +-
 net/mac80211/agg-tx.c                                      |    4 
 net/mac80211/util.c                                        |    6 
 net/netfilter/ipvs/Kconfig                                 |    1 
 net/netfilter/ipvs/ip_vs_core.c                            |   10 
 net/netfilter/ipvs/ip_vs_ctl.c                             |   10 
 net/netfilter/x_tables.c                                   |    2 
 net/phonet/pep.c                                           |   32 +-
 net/sunrpc/svcsock.c                                       |   20 -
 net/sunrpc/xprtrdma/verbs.c                                |    3 
 net/xfrm/xfrm_interface.c                                  |    4 
 net/xfrm/xfrm_policy.c                                     |    4 
 scripts/kallsyms.c                                         |    4 
 security/keys/internal.h                                   |   13 
 security/keys/keyctl.c                                     |    1 
 security/keys/process_keys.c                               |    1 
 security/keys/request_key.c                                |   72 ++--
 security/keys/request_key_auth.c                           |   16 -
 security/selinux/hooks.c                                   |    8 
 sound/soc/codecs/pcm186x.c                                 |    8 
 sound/soc/codecs/rt5682.c                                  |    2 
 sound/soc/fsl/fsl_esai.c                                   |    7 
 sound/soc/samsung/i2s.c                                    |   10 
 sound/soc/sh/rcar/ssi.c                                    |    2 
 sound/soc/soc-dapm.c                                       |   24 +
 sound/soc/soc-topology.c                                   |    8 
 tools/perf/util/auxtrace.c                                 |    4 
 tools/perf/util/auxtrace.h                                 |    3 
 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c        |   37 ++
 tools/perf/util/intel-pt.c                                 |    2 
 tools/perf/util/symbol.c                                   |    2 
 tools/testing/selftests/bpf/test_lpm_map.c                 |   10 
 tools/testing/selftests/net/fib_tests.sh                   |    1 
 virt/kvm/arm/arm.c                                         |   10 
 virt/kvm/arm/mmu.c                                         |    2 
 virt/kvm/arm/psci.c                                        |   36 +-
 virt/kvm/arm/vgic/vgic-init.c                              |   24 +
 virt/kvm/arm/vgic/vgic-its.c                               |    8 
 virt/kvm/arm/vgic/vgic.c                                   |   10 
 virt/kvm/kvm_main.c                                        |    7 
 346 files changed, 3061 insertions(+), 1579 deletions(-)

Aditya Pakki (1):
md: Fix failed allocation of md_register_thread

Adrian Hunter (5):
perf intel-pt: Fix CYC timestamp calculation after OVF perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols perf auxtrace: Define auxtrace record alignment
perf intel-pt: Fix overlap calculation for padding perf intel-pt: Fix divide by zero when TSC is not available

Al Viro (1):
fix cgroup_do_mount() handling of failure exits

Alban Crequy (1):
bpf, lpm: fix lookup bug in map_delete_elem

Alexander Shishkin (2):
stm class: Prevent division by zero
intel_th: Don't reference unassigned outputs

Alexander Shiyan (1):
gpu: ipu-v3: Fix i.MX51 CSI control registers offset

Alexander Usyskin (2):
mei: hbm: clean the feature flags on link reset
mei: bus: move hw module get/put to probe/release

Alexei Starovoitov (1):
bpf: fix lockdep false positive in stackmap

Alexey Khoroshilov (1):
net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()

Anders Roxell (1):
netfilter: ipt_CLUSTERIP: fix warning unused variable cn

Andre Przywara (1):
clk: sunxi: A31: Fix wrong AHB gate number

Andrea Claudi (1):
ipvs: fix dependency on nf_defrag_ipv6

Andy Shevchenko (2):
ACPI / device_sysfs: Avoid OF modalias creation for removed device
spi: pxa2xx: Setup maximum supported DMA transfer length

Aneesh Kumar K.V (1):
powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration

Anoob Soman (1):
scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task

Anssi Hannula (1):
serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO

Ard Biesheuvel (4):
crypto: arm/crct10dif - revert to C code for short inputs
crypto: arm64/crct10dif - revert to C code for short inputs
crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine

Arnd Bergmann (2):
phonet: fix building with clang
cpufreq: pxa2xx: remove incorrect __init annotation

BOUGH CHEN (1):
mmc: sdhci-esdhc-imx: fix HS400 timing issue

Bard liao (1):
ASoC: topology: free created components in tplg load error

Bart Van Assche (1):
scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock

Beniamino Galvani (1):
qmi_wwan: apply SET_DTR quirk to Sierra WP7607

Benjamin Coddington (1):
NFS: Don't use page_file_mapping after removing the page

Bill Kuzeja (1):
scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd

Bjorn Helgaas (1):
PCI/ASPM: Use LTR if already enabled by platform

Christoffer Dall (2):
KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
KVM: arm/arm64: vgic: Always initialize the group of private IRQs

Christophe Leroy (5):
powerpc/32: Clear on-stack exception marker upon exception return powerpc/wii: properly disable use of BATs when requested. powerpc/83xx: Also save/restore SPRG4-7 during suspend powerpc/traps: fix recoverability of machine check handling on book3s/32 powerpc/traps: Fix the message printed when stack overflows

Codrin Ciubotariu (2):
ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
ASoC: codecs: pcm186x: Fix energysense SLEEP bit

Coly Li (1):
bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata

Dan Carpenter (1):
net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()

Dan Williams (5):
acpi/nfit: Fix bus command validation
nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot nfit/ars: Attempt short-ARS even in the no_init_ars case libnvdimm/label: Clear 'updating' flag after label-set update libnvdimm/pmem: Honor force_raw for legacy pmem regions

Daniel Axtens (1):
bcache: never writeback a discard operation

Darrick J. Wong (2):
tmpfs: fix link accounting when a tmpfile is linked in
tmpfs: fix uninitialized return value in shmem_link

Dave Martin (1):
arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2

David Howells (2):
assoc_array: Fix shortcut creation
keys: Fix dependency loop between construction record and auth key

Dexuan Cui (1):

      nfit: acpi_nfit_ctl(): Check out_obj->type in the right place

Dietmar Eggemann (1):
ARM: 8824/1: fix a migrating irq bug when hotplug cpu

Dmitry Osipenko (1):
usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()

Dmitry Torokhov (3):
Input: cap11xx - switch to using set_brightness_blocking()
Input: ps2-gpio - flush TX work when closing port
Input: matrix_keypad - use flush_delayed_work()

Dongdong Liu (1):
PCI/DPC: Fix print AER status in DPC event handling

Doug Berger (1):
irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code

Enric Balletbo i Serra (1):
arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator

Eric Biggers (14):
crypto: cfb - add missing 'chunksize' property
crypto: cfb - remove bogus memcpy() with src == dest
crypto: ahash - fix another early termination in hash walk
crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
crypto: aegis - fix handling chunked inputs
crypto: arm64/aes-neonbs - fix returning final keystream block
crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
crypto: morus - fix handling chunked inputs
crypto: pcbc - remove bogus memcpy()s with src == dest
crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
crypto: testmgr - skip crc32c context test for ahash algorithms
crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
crypto: x86/aesni-gcm - fix crash on empty plaintext
crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP

Eugene Loh (1):
kallsyms: Handle too long symbols in kallsyms.c

Eugeniy Paltsev (1):
ARCv2: lib: memcpy: fix doing prefetchw outside of buffer

Evan Quan (1):
drm/amd/powerplay: correct power reading on fiji

Felipe Franciosi (1):
scsi: virtio_scsi: don't send sc payload with tmfs

Filipe Manana (3):
Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
Btrfs: fix corruption reading shared and compressed extents after hole punching

Finn Thain (1):
m68k: Add -ffreestanding to CFLAGS

Florian Fainelli (2):
net: systemport: Fix reception of BPDUs
net: dsa: bcm_sf2: Do not assume DSA master supports WoL

Francesco Ruggeri (1):
netfilter: compat: initialize all fields in xt_init

Franck LENORMAND (1):
crypto: caam - fix hash context DMA unmap size

French, Nicholas A (1):

      media: lgdt330x: fix lock status reporting

Gabriel Fernandez (1):
Input: st-keyscan - fix potential zalloc NULL dereference

Gilad Ben-Yossef (2):
crypto: ccree - unmap buffer before copying IV
crypto: ccree - don't copy zero size ciphertext

Greg Kroah-Hartman (2):
stable-kernel-rules.rst: add link to networking patch queue Linux 4.19.31

Gustavo A. R. Silva (4):
crypto: ccree - fix missing break in switch statement
ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
mfd: sm501: Fix potential NULL pointer dereference drm/radeon/evergreen_cs: fix missing break in switch statement

Hadar Gat (1):
crypto: ccree - fix free of unallocated mlli buffer

Halil Pasic (1):
s390/virtio: handle find on invalid queue gracefully

Hans Verkuil (1):
media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()

Harry Wentland (1):
drm/amd/display: don't call dm_pp_ function from an fpu block

Heikki Krogerus (1):
device property: Fix the length used in PROPERTY_ENTRY_STRING()

Himanshu Madhani (1):
scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware

Horia Geantă (1):
crypto: caam - fix DMA mapping of stack memory

Hou Tao (1):

      9p: use inode->i_lock to protect i_size_write() under 32-bit

Huang Zijiang (1):
net: hns: Fix object reference leaks in hns_dsaf_roce_reset()

Ilan Peer (1):
mac80211: Fix Tx aggregation session tear down with ITXQs

J. Bruce Fields (3):
security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
nfsd: fix performance-limiting session calculation
svcrpc: fix UDP on servers with lots of threads

James Morse (1):
KVM: arm64: Forbid kprobing of the VHE world-switch code

Jan Kara (2):
ext4: fix crash during online resizing
ext2: Fix underflow in ext2_max_size()

Jan Stancek (1):
mm/memory.c: do_fault: avoid usage of stale vm_area_struct

Jann Horn (3):
mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs tracing/perf: Use strndup_user() instead of buggy open-coded version
splice: don't merge into linked buffers

Jarkko Sakkinen (2):
tpm/tpm_crb: Avoid unaligned reads in crb_recv()
tpm: Unify the send callback behaviour

Jay Dolan (2):
serial: 8250_pci: Fix number of ports for ACCES serial cards
serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()

Jeff Kirsher (1):
ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN

Jianchao Wang (1):
blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue

Jiong Wang (2):
nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
nfp: bpf: fix ALU32 high bits clearance bug

Jiong Wu (1):
mmc:fix a bug when max_discard is 0

Johannes Berg (1):
mac80211: call drv_ibss_join() on restart

Johannes Thumshirn (1):
btrfs: ensure that a DUP or RAID1 block group has exactly two stripes

Jonathan Bakker (1):
Input: pwm-vibra - prevent unbalanced regulator

Jordan Niethe (1):
powerpc/powernv: Make opal log only readable by root

Josh Poimboeuf (1):
x86/unwind/orc: Fix ORC unwind table alignment

Juergen Gross (1):
xen: fix dom0 boot on huge systems

Julia Lawall (1):
drm/imx: imx-ldb: add missing of_node_puts

Julien Thierry (2):
KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
arm64: Fix HCR.TGE status for NMI contexts

Kan Liang (1):
perf/x86/intel/uncore: Fix client IMC events return huge result

Krzysztof Kozlowski (4):
iio: adc: exynos-adc: Fix NULL pointer exception on unbind
regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override

Kunihiko Hayashi (1):
clk: uniphier: Fix update register for CPU-gear

Kuninori Morimoto (1):
ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check

Li RongQing (1):
mac80211_hwsim: propagate genlmsg_reply return code

Loic Poulain (1):
media: i2c: ov5640: Fix post-reset delay

Lubomir Rintel (2):
libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart

Lucas A. M. Magalhães (1):
media: vimc: Add vimc-streamer for stream control

Lucas Stach (1):
PCI: dwc: skip MSI init if MSIs have been explicitly disabled

Mao Wenan (1):
net: set static variable an initial value in atl2_probe()

Marc Kleine-Budde (1):
can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument

Marc Zyngier (2):
arm/arm64: KVM: Allow a VCPU to fully reset itself arm/arm64: KVM: Don't panic on failure to properly reset system registers

Mark Cave-Ayland (1):
powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest

Mark Walton (1):
gpio: pca953x: Fix dereference of irq data in shutdown

Mark Zhang (1):
regulator: max77620: Initialize values for DT properties

Martin Blumenstingl (1):
pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins

Martin K. Petersen (1):
scsi: sd: Optimal I/O size should be a multiple of physical block size

Martin Schwidefsky (2):
s390/setup: fix early warning messages s390/setup: fix boot crash for machine without EDAT-1

Martin Willi (1):
esp: Skip TX bytes accounting when sending from a request socket

Masami Hiramatsu (1):
x86/kprobes: Prohibit probing on optprobe template code

Michael Chan (2):
bnxt_en: Fix typo in firmware message timeout logic.
bnxt_en: Wait longer for the firmware message response to complete.

Michael Ellerman (1):
powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning

Michael J. Ruhl (1):
IB/hfi1: Close race condition on user context disable and close

Michal Hocko (1):
mm: handle lru_add_drain_all for UP properly

Michal Kalderon (2):
qed: Fix iWARP buffer size provided for syn packet processing.
qed: Fix iWARP syn packet mac address validation.

Miguel Ojeda (1):
auxdisplay: ht16k33: fix potential user-after-free on module unload

Mikulas Patocka (1):
dm integrity: limit the rate of error messages

NeilBrown (2):
dm: fix to_sector() for 32bit
nfsd: fix memory corruption caused by readdir

Nicolas Morey-Chaisemartin (1):
xprtrdma: Make sure Send CQ is allocated on an existing compvec

Nicolas Pitre (1):
vt: perform safe console erase in the right order

Nikolaus Voss (1):
usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

Noralf Trønnes (1):
drm/fb-helper: generic: Fix drm_fbdev_client_restore()

Oliver O'Halloran (1):
libnvdimm: Fix altmap reservation size calculation

Pankaj Gupta (1):
crypto: caam - fixed handling of sg list

Paul Cercueil (2):
clk: ingenic: Fix round_rate misbehaving with non-integer dividers
clk: ingenic: Fix doc of ingenic_cgu_div_info

Paul Kocialkowski (2):
i2c: bcm2835: Clear current buffer pointers and counts after a transfer
clk: sunxi-ng: v3s: Fix TCON reset de-assert bit

Paul Mackerras (1):
powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit

Pavel Machek (1):
cpcap-charger: generate events for userspace

Pavel Shilovsky (3):
CIFS: Do not reset lease state to NONE on lease break
CIFS: Do not skip SMB2 message IDs on send failures
CIFS: Fix read after write for files with read caching

Paweł Chmiel (1):
Input: pwm-vibra - stop regulator after disabling pwm, not before

Philipp Zabel (1):
drm/imx: ignore plane updates on disabled crtcs

Phuong Nguyen (1):
dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit

Pierre-Louis Bossart (1):
ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables

Qian Cai (1):
Revert "mm: use early_pfn_to_nid in page_ext_init"

QiaoChong (1):
parport_pc: fix find_superio io compare code, should use equal test.

Rajneesh Bhardwaj (1):
x86/CPU: Add Icelake model number

Rayagonda Kokatanur (1):
mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue

Robin Murphy (1):
ARM: 8835/1: dma-mapping: Clear DMA ops on teardown

Roman Penyaev (1):
mm/vmalloc: fix size check for remap_vmalloc_range_partial()

Russell King (2):
ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
net: marvell: mvneta: fix DMA debug warning

S.j. Wang (1):
ASoC: fsl_esai: fix register setting issue in RIGHT_J mode

Sagar Biradar (1):
scsi: aacraid: Fix performance issue on logical drives

Sakari Ailus (1):
media: uvcvideo: Avoid NULL pointer dereference at the end of streaming

Samuel Holland (1):
clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability

Sean Christopherson (6):
KVM: Call kvm_arch_memslots_updated() before updating memslots
KVM: x86/mmu: Detect MMIO generation wrap in any address space
KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
KVM: nVMX: Sign extend displacements of VMX instr's mem operands
KVM: nVMX: Apply addr size mask to effective address for VMX instructions
KVM: nVMX: Ignore limit checks on VMX instructions using flat segments

Sean Tranchetti (1):
af_key: unconditionally clone on broadcast

Shubhrajyoti Datta (1):
i2c: cadence: Fix the hold bit setting

Shuming Fan (1):
ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter

Sowjanya Komatineni (1):
i2c: tegra: fix maximum transfer size

Stefan Haberland (1):
s390/dasd: fix using offset into zero size array error

Stephen Boyd (1):
soc: qcom: rpmh: Avoid accessing freed memory from batch API

Steve Longerbeam (4):
gpu: ipu-v3: Fix CSI offsets for imx53
media: imx: prpencvf: Stop upstream before disabling IDMA channel
media: imx: csi: Disable CSI immediately after last EOF
media: imx: csi: Stop upstream before disabling IDMA channel

Stuart Menefy (3):
regulator: s2mpa01: Fix step values for some LDOs clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown

Sylwester Nawrocki (1):
ASoC: samsung: Prevent clk_get_rate() calls in atomic context

Thadeu Lima de Souza Cascardo (1):
selftests: fib_tests: sleep after changing carrier. again.

Thierry Reding (1):
ARM: tegra: Restore DT ABI on Tegra124 Chromebooks

Thomas Petazzoni (1):
ARM: dts: armada-xp: fix Armada XP boards NAND description

Tobias Brunner (1):
xfrm: Fix inbound traffic via XFRM interfaces across network namespaces

Tom Zanussi (1):
tracing: Use strncpy instead of memcpy for string keys in hist triggers

Tony Lindgren (3):
clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
ARM: dts: Configure clock parent for pwm vibra
clk: clk-twl6040: Fix imprecise external abort for pdmclk

Trond Myklebust (4):
NFS: Fix I/O request leakages
NFS: Fix an I/O request leakage in nfs_do_recoalesce
NFS: Don't recoalesce on error in nfs_pageio_complete_mirror() NFSv4.1: Reinitialise sequence results before retransmitting a request

Tvrtko Ursulin (1):
drm/i915: Relax mmap VMA check

Vadim Lomovtsev (2):
net: thunderx: make CFG_DONE message to run through generic send-ack sequence
net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task

Vaibhav Jain (1):
cxl: Wrap iterations over afu slices inside 'afu_list_lock'

Varad Gautam (1):
fs/devpts: always delete dcache dentry-s in dput()

Vignesh R (1):
spi: ti-qspi: Fix mmap read when more than one CS in use

Vineet Gupta (3):
ARC: uacces: remove lp_start, lp_end from clobber list
ARCv2: support manual regfile save on interrupts
ARCv2: don't assume core 0x54 has dual issue

Viresh Kumar (2):
cpufreq: kryo: Release OPP tables on module removal PM / wakeup: Rework wakeup source timer cancellation

Vivek Goyal (2):
ovl: During copy up, first copy up data and then xattrs
ovl: Do not lose security.capability xattr over metadata file copy-up

Vladimir Murzin (1):
arm64: Relax GIC version check during early boot

Wei Yang (1):
libnvdimm, pfn: Fix over-trim in trim_pfn_device()

Will Deacon (1):
arm64: debug: Ensure debug handlers check triggering exception level

Willem de Bruijn (2):
bpf: only adjust gso_size on bytestream protocols
bpf: only test gso type on gso packets

Xin Long (1):
selinux: add the missing walk_size + len check in selinux_sctp_bind_connect

Yang Yingliang (1):

      ipmi_si: fix use-after-free of resource->name

Yangtao Li (1):
cpufreq: tegra124: add missing of_node_put()

Yihao Wu (1):
nfsd: fix wrong check in write_v4_end_grace()

Yizhuo (1):
ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized

Yu Zhao (1):
mm/gup: fix gup_pmd_range() for dax

Yufen Yu (1):
floppy: check_events callback should not return a negative number

Zenghui Yu (1):
irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table

Zev Weiss (1):
kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv

Zhang Zhijie (2):
crypto: rockchip - fix scatterlist nents error
crypto: rockchip - update new iv to device in multiple operations

Zhang, Jun (1):
rcu: Do RCU GP kthread self-wakeup from softirq and interrupt

Zhi Jin (1):
stm class: Fix an endless loop in channel allocation

yangerkun (4):
ext4: fix check of inode in swap_inode_boot_loader
ext4: cleanup pagecache before swap i_data
ext4: update quota information while swapping boot loader inode
ext4: add mask of ext4 flags to swap

zhangyi (F) (3):
tracing: Do not free iter->trace in fail path of tracing_open_pipe()
jbd2: clear dirty flag when revoking a buffer from an older transaction
jbd2: fix compile warning when using JBUFFER_TRACE

zhengbin (1):
9p/net: fix memory leak in p9_client_create

zhongjiang (1):
mm: hwpoison: fix thp split handing in soft_offline_in_use_page()

author maintainer
#1 lore raw
Documentation/arm64/silicon-errata.txt +2 -0
index 3b2f2dd82225..3c6fc2e08d04 100644
@@ -44,6 +44,8 @@ stable kernels.
 
 | Implementor    | Component       | Erratum ID      | Kconfig                     |
 +----------------+-----------------+-----------------+-----------------------------+
+| Allwinner      | A64/R18         | UNKNOWN1        | SUN50I_ERRATUM_UNKNOWN1     |
+|                |                 |                 |                             |
 | ARM            | Cortex-A53      | #826319         | ARM64_ERRATUM_826319        |
 | ARM            | Cortex-A53      | #827319         | ARM64_ERRATUM_827319        |
 | ARM            | Cortex-A53      | #824069         | ARM64_ERRATUM_824069        |
Documentation/process/stable-kernel-rules.rst +3 -0
index 0de6f6145cc6..7ba8cd567f84 100644
@@ -38,6 +38,9 @@ Procedure for submitting patches to the -stable tree
  - If the patch covers files in net/ or drivers/net please follow netdev stable
    submission guidelines as described in
    :ref:`Documentation/networking/netdev-FAQ.rst <netdev-FAQ>`
+   after first checking the stable networking queue at
+   https://patchwork.ozlabs.org/bundle/davem/stable/?series=&submitter=&state=*&q=&archive=
+   to ensure the requested patch is not already queued up.
  - Security patches should not be handled (solely) by the -stable review
    process but should follow the procedures in
    :ref:`Documentation/admin-guide/security-bugs.rst <securitybugs>`.
Makefile +1 -1
index 72e27c379eaf..3b1c6cff6700 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 19
-SUBLEVEL = 30
+SUBLEVEL = 31
 EXTRAVERSION =
 NAME = "People's Front"
 
arch/arc/Kconfig +8 -0
index ac69f307dcfe..74953e76a57d 100644
@@ -420,6 +420,14 @@ config ARC_HAS_ACCL_REGS
 	  (also referred to as r58:r59). These can also be used by gcc as GPR so
 	  kernel needs to save/restore per process
 
+config ARC_IRQ_NO_AUTOSAVE
+	bool "Disable hardware autosave regfile on interrupts"
+	default n
+	help
+	  On HS cores, taken interrupt auto saves the regfile on stack.
+	  This is programmable and can be optionally disabled in which case
+	  software INTERRUPT_PROLOGUE/EPILGUE do the needed work
+
 endif	# ISA_ARCV2
 
 endmenu   # "ARC CPU Configuration"
arch/arc/include/asm/arcregs.h +8 -0
index 49bfbd879caa..bdbdaef902eb 100644
@@ -151,6 +151,14 @@ struct bcr_isa_arcv2 {
 #endif
 };
 
+struct bcr_uarch_build_arcv2 {
+#ifdef CONFIG_CPU_BIG_ENDIAN
+	unsigned int pad:8, prod:8, maj:8, min:8;
+#else
+	unsigned int min:8, maj:8, prod:8, pad:8;
+#endif
+};
+
 struct bcr_mpy {
 #ifdef CONFIG_CPU_BIG_ENDIAN
 	unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8;
arch/arc/include/asm/entry-arcv2.h +54 -0

66 lines not on this page · raw message

arch/arc/include/asm/uaccess.h +4 -4
index c9173c02081c..eabc3efa6c6d 100644
@@ -207,7 +207,7 @@ raw_copy_from_user(void *to, const void __user *from, unsigned long n)
 		*/
 		  "=&r" (tmp), "+r" (to), "+r" (from)
 		:
-		: "lp_count", "lp_start", "lp_end", "memory");
+		: "lp_count", "memory");
 
 		return n;
 	}
@@ -433,7 +433,7 @@ raw_copy_to_user(void __user *to, const void *from, unsigned long n)
 		 */
 		  "=&r" (tmp), "+r" (to), "+r" (from)
 		:
-		: "lp_count", "lp_start", "lp_end", "memory");
+		: "lp_count", "memory");
 
 		return n;
 	}
@@ -653,7 +653,7 @@ static inline unsigned long __arc_clear_user(void __user *to, unsigned long n)
 	"	.previous			\n"
 	: "+r"(d_char), "+r"(res)
 	: "i"(0)
-	: "lp_count", "lp_start", "lp_end", "memory");
+	: "lp_count", "memory");
 
 	return res;
 }
@@ -686,7 +686,7 @@ __arc_strncpy_from_user(char *dst, const char __user *src, long count)
 	"	.previous			\n"
 	: "+r"(res), "+r"(dst), "+r"(src), "=r"(val)
 	: "g"(-EFAULT), "r"(count)
-	: "lp_count", "lp_start", "lp_end", "memory");
+	: "lp_count", "memory");
 
 	return res;
 }
arch/arc/kernel/entry-arcv2.S +3 -1
index cc558a25b8fa..562089d62d9d 100644
@@ -209,7 +209,9 @@ restore_regs:
 ;####### Return from Intr #######
 
 debug_marker_l1:
-	bbit1.nt r0, STATUS_DE_BIT, .Lintr_ret_to_delay_slot
+	; bbit1.nt r0, STATUS_DE_BIT, .Lintr_ret_to_delay_slot
+	btst	r0, STATUS_DE_BIT		; Z flag set if bit clear
+	bnz	.Lintr_ret_to_delay_slot	; branch if STATUS_DE_BIT set
 
 .Lisr_ret_fast_path:
 	; Handle special case #1: (Entry via Exception, Return via IRQ)
arch/arc/kernel/intc-arcv2.c +2 -0
index 067ea362fb3e..cf18b3e5a934 100644
@@ -49,11 +49,13 @@ void arc_init_IRQ(void)
 
 	*(unsigned int *)&ictrl = 0;
 
+#ifndef CONFIG_ARC_IRQ_NO_AUTOSAVE
 	ictrl.save_nr_gpr_pairs = 6;	/* r0 to r11 (r12 saved manually) */
 	ictrl.save_blink = 1;
 	ictrl.save_lp_regs = 1;		/* LP_COUNT, LP_START, LP_END */
 	ictrl.save_u_to_u = 0;		/* user ctxt saved on kernel stack */
 	ictrl.save_idx_regs = 1;	/* JLI, LDI, EI */
+#endif
 
 	WRITE_AUX(AUX_IRQ_CTRL, ictrl);
 
arch/arc/kernel/setup.c +21 -5
index 62a30e58441c..3320ca2fe20f 100644
@@ -196,13 +196,29 @@ static void read_arc_build_cfg_regs(void)
 		cpu->bpu.num_pred = 2048 << bpu.pte;
 
 		if (cpu->core.family >= 0x54) {
-			unsigned int exec_ctrl;
 
-			READ_BCR(AUX_EXEC_CTRL, exec_ctrl);
-			cpu->extn.dual_enb = !(exec_ctrl & 1);
+			struct bcr_uarch_build_arcv2 uarch;
 
-			/* dual issue always present for this core */
-			cpu->extn.dual = 1;
+			/*
+			 * The first 0x54 core (uarch maj:min 0:1 or 0:2) was
+			 * dual issue only (HS4x). But next uarch rev (1:0)
+			 * allows it be configured for single issue (HS3x)
+			 * Ensure we fiddle with dual issue only on HS4x
+			 */
+			READ_BCR(ARC_REG_MICRO_ARCH_BCR, uarch);
+
+			if (uarch.prod == 4) {
+				unsigned int exec_ctrl;
+
+				/* dual issue hardware always present */
+				cpu->extn.dual = 1;
+
+				READ_BCR(AUX_EXEC_CTRL, exec_ctrl);
+
+				/* dual issue hardware enabled ? */
+				cpu->extn.dual_enb = !(exec_ctrl & 1);
+
+			}
 		}
 	}
 
arch/arc/lib/memcpy-archs.S +0 -14
index d61044dd8b58..ea14b0bf3116 100644
@@ -25,15 +25,11 @@
 #endif
 
 #ifdef CONFIG_ARC_HAS_LL64
-# define PREFETCH_READ(RX)	prefetch    [RX, 56]
-# define PREFETCH_WRITE(RX)	prefetchw   [RX, 64]
 # define LOADX(DST,RX)		ldd.ab	DST, [RX, 8]
 # define STOREX(SRC,RX)		std.ab	SRC, [RX, 8]
 # define ZOLSHFT		5
 # define ZOLAND			0x1F
 #else
-# define PREFETCH_READ(RX)	prefetch    [RX, 28]
-# define PREFETCH_WRITE(RX)	prefetchw   [RX, 32]
 # define LOADX(DST,RX)		ld.ab	DST, [RX, 4]
 # define STOREX(SRC,RX)		st.ab	SRC, [RX, 4]
 # define ZOLSHFT		4
@@ -41,8 +37,6 @@
 #endif
 
 ENTRY_CFI(memcpy)
-	prefetch [r1]		; Prefetch the read location
-	prefetchw [r0]		; Prefetch the write location
 	mov.f	0, r2
 ;;; if size is zero
 	jz.d	[blink]
@@ -72,8 +66,6 @@ ENTRY_CFI(memcpy)
 	lpnz	@.Lcopy32_64bytes
 	;; LOOP START
 	LOADX (r6, r1)
-	PREFETCH_READ (r1)
-	PREFETCH_WRITE (r3)
 	LOADX (r8, r1)
 	LOADX (r10, r1)
 	LOADX (r4, r1)
@@ -117,9 +109,7 @@ ENTRY_CFI(memcpy)
 	lpnz	@.Lcopy8bytes_1
 	;; LOOP START
 	ld.ab	r6, [r1, 4]
-	prefetch [r1, 28]	;Prefetch the next read location
 	ld.ab	r8, [r1,4]
-	prefetchw [r3, 32]	;Prefetch the next write location
 
 	SHIFT_1	(r7, r6, 24)
 	or	r7, r7, r5
@@ -162,9 +152,7 @@ ENTRY_CFI(memcpy)
 	lpnz	@.Lcopy8bytes_2
 	;; LOOP START
 	ld.ab	r6, [r1, 4]
-	prefetch [r1, 28]	;Prefetch the next read location
 	ld.ab	r8, [r1,4]
-	prefetchw [r3, 32]	;Prefetch the next write location
 
 	SHIFT_1	(r7, r6, 16)
 	or	r7, r7, r5
@@ -204,9 +192,7 @@ ENTRY_CFI(memcpy)
 	lpnz	@.Lcopy8bytes_3
 	;; LOOP START
 	ld.ab	r6, [r1, 4]
-	prefetch [r1, 28]	;Prefetch the next read location
 	ld.ab	r8, [r1,4]
-	prefetchw [r3, 32]	;Prefetch the next write location
 
 	SHIFT_1	(r7, r6, 8)
 	or	r7, r7, r5
arch/arc/plat-hsdk/Kconfig +1 -0
index 9356753c2ed8..c285a83cbf08 100644
@@ -9,6 +9,7 @@ menuconfig ARC_SOC_HSDK
 	bool "ARC HS Development Kit SOC"
 	depends on ISA_ARCV2
 	select ARC_HAS_ACCL_REGS
+	select ARC_IRQ_NO_AUTOSAVE
 	select CLK_HSDK
 	select RESET_HSDK
 	select MIGHT_HAVE_PCI
arch/arm/Kconfig +1 -0
index e8cd55a5b04c..cd4c74daf71e 100644
@@ -1444,6 +1444,7 @@ config NR_CPUS
 config HOTPLUG_CPU
 	bool "Support for hot-pluggable CPUs"
 	depends on SMP
+	select GENERIC_IRQ_MIGRATION
 	help
 	  Say Y here to experiment with turning CPUs off and on.  CPUs
 	  can be controlled through /sys/devices/system/cpu.
arch/arm/boot/dts/armada-xp-db.dts +24 -22

54 lines not on this page · raw message

arch/arm/boot/dts/armada-xp-gp.dts +8 -5
index 1139e9469a83..b4cca507cf13 100644
@@ -160,12 +160,15 @@
 				status = "okay";
 			};
 
-			nand@d0000 {
+			nand-controller@d0000 {
 				status = "okay";
-				label = "pxa3xx_nand-0";
-				num-cs = <1>;
-				marvell,nand-keep-config;
-				nand-on-flash-bbt;
+
+				nand@0 {
+					reg = <0>;
+					label = "pxa3xx_nand-0";
+					nand-rb = <0>;
+					nand-on-flash-bbt;
+				};
 			};
 		};
 
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +44 -41

93 lines not on this page · raw message

arch/arm/boot/dts/omap4-droid4-xt894.dts +11 -0
index 04758a2a87f0..67d77eee9433 100644
@@ -644,6 +644,17 @@
 	};
 };
 
+/* Configure pwm clock source for timers 8 & 9 */
+&timer8 {
+	assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>;
+	assigned-clock-parents = <&sys_clkin_ck>;
+};
+
+&timer9 {
+	assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>;
+	assigned-clock-parents = <&sys_clkin_ck>;
+};
+
 /*
  * As uart1 is wired to mdm6600 with rts and cts, we can use the cts pin for
  * uart1 wakeirq.
arch/arm/boot/dts/tegra124-nyan.dtsi +16 -1
index d5f11d6d987e..bc85b6a166c7 100644
@@ -13,10 +13,25 @@
 		stdout-path = "serial0:115200n8";
 	};
 
-	memory@80000000 {
+	/*
+	 * Note that recent version of the device tree compiler (starting with
+	 * version 1.4.2) warn about this node containing a reg property, but
+	 * missing a unit-address. However, the bootloader on these Chromebook
+	 * devices relies on the full name of this node to be exactly /memory.
+	 * Adding the unit-address causes the bootloader to create a /memory
+	 * node and write the memory bank configuration to that node, which in
+	 * turn leads the kernel to believe that the device has 2 GiB of
+	 * memory instead of the amount detected by the bootloader.
+	 *
+	 * The name of this node is effectively ABI and must not be changed.
+	 */
+	memory {
+		device_type = "memory";
 		reg = <0x0 0x80000000 0x0 0x80000000>;
 	};
 
+	/delete-node/ memory@80000000;
+
 	host1x@50000000 {
 		hdmi@54280000 {
 			status = "okay";
arch/arm/crypto/crct10dif-ce-core.S +7 -7
index ce45ba0c0687..16019b5961e7 100644
@@ -124,10 +124,10 @@ ENTRY(crc_t10dif_pmull)
 	vext.8		q10, qzr, q0, #4
 
 	// receive the initial 64B data, xor the initial crc value
-	vld1.64		{q0-q1}, [arg2, :128]!
-	vld1.64		{q2-q3}, [arg2, :128]!
-	vld1.64		{q4-q5}, [arg2, :128]!
-	vld1.64		{q6-q7}, [arg2, :128]!
+	vld1.64		{q0-q1}, [arg2]!
+	vld1.64		{q2-q3}, [arg2]!
+	vld1.64		{q4-q5}, [arg2]!
+	vld1.64		{q6-q7}, [arg2]!
 CPU_LE(	vrev64.8	q0, q0			)
 CPU_LE(	vrev64.8	q1, q1			)
 CPU_LE(	vrev64.8	q2, q2			)
@@ -167,7 +167,7 @@ CPU_LE(	vrev64.8	q7, q7			)
 _fold_64_B_loop:
 
 	.macro		fold64, reg1, reg2
-	vld1.64		{q11-q12}, [arg2, :128]!
+	vld1.64		{q11-q12}, [arg2]!
 
 	vmull.p64	q8, \reg1\()h, d21
 	vmull.p64	\reg1, \reg1\()l, d20
@@ -238,7 +238,7 @@ _16B_reduction_loop:
 	vmull.p64	q7, d15, d21
 	veor.8		q7, q7, q8
 
-	vld1.64		{q0}, [arg2, :128]!
+	vld1.64		{q0}, [arg2]!
 CPU_LE(	vrev64.8	q0, q0		)
 	vswp		d0, d1
 	veor.8		q7, q7, q0
@@ -335,7 +335,7 @@ _less_than_128:
 	vmov.i8		q0, #0
 	vmov		s3, arg1_low32		// get the initial crc value
 
-	vld1.64		{q7}, [arg2, :128]!
+	vld1.64		{q7}, [arg2]!
 CPU_LE(	vrev64.8	q7, q7		)
 	vswp		d14, d15
 	veor.8		q7, q7, q0
arch/arm/crypto/crct10dif-ce-glue.c +6 -17
index d428355cf38d..14c19c70a841 100644
@@ -35,26 +35,15 @@ static int crct10dif_update(struct shash_desc *desc, const u8 *data,
 			    unsigned int length)
 {
 	u16 *crc = shash_desc_ctx(desc);
-	unsigned int l;
 
-	if (!may_use_simd()) {
-		*crc = crc_t10dif_generic(*crc, data, length);
+	if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE && may_use_simd()) {
+		kernel_neon_begin();
+		*crc = crc_t10dif_pmull(*crc, data, length);
+		kernel_neon_end();
 	} else {
-		if (unlikely((u32)data % CRC_T10DIF_PMULL_CHUNK_SIZE)) {
-			l = min_t(u32, length, CRC_T10DIF_PMULL_CHUNK_SIZE -
-				  ((u32)data % CRC_T10DIF_PMULL_CHUNK_SIZE));
-
-			*crc = crc_t10dif_generic(*crc, data, l);
-
-			length -= l;
-			data += l;
-		}
-		if (length > 0) {
-			kernel_neon_begin();
-			*crc = crc_t10dif_pmull(*crc, data, length);
-			kernel_neon_end();
-		}
+		*crc = crc_t10dif_generic(*crc, data, length);
 	}
+
 	return 0;
 }
 
arch/arm/include/asm/irq.h +0 -1
index c883fcbe93b6..46d41140df27 100644
@@ -25,7 +25,6 @@
 #ifndef __ASSEMBLY__
 struct irqaction;
 struct pt_regs;
-extern void migrate_irqs(void);
 
 extern void asm_do_IRQ(unsigned int, struct pt_regs *);
 void handle_IRQ(unsigned int, struct pt_regs *);
arch/arm/include/asm/kvm_host.h +10 -0
index 3ad482d2f1eb..d0d0227fc70d 100644
@@ -48,6 +48,7 @@
 #define KVM_REQ_SLEEP \
 	KVM_ARCH_REQ_FLAGS(0, KVM_REQUEST_WAIT | KVM_REQUEST_NO_WAKEUP)
 #define KVM_REQ_IRQ_PENDING	KVM_ARCH_REQ(1)
+#define KVM_REQ_VCPU_RESET	KVM_ARCH_REQ(2)
 
 DECLARE_STATIC_KEY_FALSE(userspace_irqchip_in_use);
 
@@ -147,6 +148,13 @@ struct kvm_cpu_context {
 
 typedef struct kvm_cpu_context kvm_cpu_context_t;
 
+struct vcpu_reset_state {
+	unsigned long	pc;
+	unsigned long	r0;
+	bool		be;
+	bool		reset;
+};
+
 struct kvm_vcpu_arch {
 	struct kvm_cpu_context ctxt;
 
@@ -186,6 +194,8 @@ struct kvm_vcpu_arch {
 	/* Cache some mmu pages needed inside spinlock regions */
 	struct kvm_mmu_memory_cache mmu_page_cache;
 
+	struct vcpu_reset_state reset_state;
+
 	/* Detect first run of a vcpu */
 	bool has_run_once;
 };
arch/arm/kernel/irq.c +0 -62

71 lines not on this page · raw message

arch/arm/kernel/smp.c +1 -1
index 3bf82232b1be..1d6f5ea522f4 100644
@@ -254,7 +254,7 @@ int __cpu_disable(void)
 	/*
 	 * OK - migrate IRQs away from this CPU
 	 */
-	migrate_irqs();
+	irq_migrate_all_off_this_cpu();
 
 	/*
 	 * Flush user cache and TLB mappings, and then remove this CPU
arch/arm/kvm/coproc.c +2 -2
index cb094e55dc5f..fd6cde23bb5d 100644
@@ -1450,6 +1450,6 @@ void kvm_reset_coprocs(struct kvm_vcpu *vcpu)
 	reset_coproc_regs(vcpu, table, num);
 
 	for (num = 1; num < NR_CP15_REGS; num++)
-		if (vcpu_cp15(vcpu, num) == 0x42424242)
-			panic("Didn't reset vcpu_cp15(vcpu, %zi)", num);
+		WARN(vcpu_cp15(vcpu, num) == 0x42424242,
+		     "Didn't reset vcpu_cp15(vcpu, %zi)", num);
 }
arch/arm/kvm/reset.c +24 -0
index 5ed0c3ee33d6..e53327912adc 100644
@@ -26,6 +26,7 @@
 #include <asm/cputype.h>
 #include <asm/kvm_arm.h>
 #include <asm/kvm_coproc.h>
+#include <asm/kvm_emulate.h>
 
 #include <kvm/arm_arch_timer.h>
 
@@ -69,6 +70,29 @@ int kvm_reset_vcpu(struct kvm_vcpu *vcpu)
 	/* Reset CP15 registers */
 	kvm_reset_coprocs(vcpu);
 
+	/*
+	 * Additional reset state handling that PSCI may have imposed on us.
+	 * Must be done after all the sys_reg reset.
+	 */
+	if (READ_ONCE(vcpu->arch.reset_state.reset)) {
+		unsigned long target_pc = vcpu->arch.reset_state.pc;
+
+		/* Gracefully handle Thumb2 entry point */
+		if (target_pc & 1) {
+			target_pc &= ~1UL;
+			vcpu_set_thumb(vcpu);
+		}
+
+		/* Propagate caller endianness */
+		if (vcpu->arch.reset_state.be)
+			kvm_vcpu_set_be(vcpu);
+
+		*vcpu_pc(vcpu) = target_pc;
+		vcpu_set_reg(vcpu, 0, vcpu->arch.reset_state.r0);
+
+		vcpu->arch.reset_state.reset = false;
+	}
+
 	/* Reset arch_timer context */
 	return kvm_timer_vcpu_reset(vcpu);
 }
arch/arm/mach-omap2/cpuidle44xx.c +4 -12
index a8b291f00109..dae514c8276a 100644
@@ -152,6 +152,10 @@ static int omap_enter_idle_coupled(struct cpuidle_device *dev,
 	mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) &&
 				 (cx->mpu_logic_state == PWRDM_POWER_OFF);
 
+	/* Enter broadcast mode for periodic timers */
+	tick_broadcast_enable();
+
+	/* Enter broadcast mode for one-shot timers */
 	tick_broadcast_enter();
 
 	/*
@@ -218,15 +222,6 @@ static int omap_enter_idle_coupled(struct cpuidle_device *dev,
 	return index;
 }
 
-/*
- * For each cpu, setup the broadcast timer because local timers
- * stops for the states above C1.
- */
-static void omap_setup_broadcast_timer(void *arg)
-{
-	tick_broadcast_enable();
-}
-
 static struct cpuidle_driver omap4_idle_driver = {
 	.name				= "omap4_idle",
 	.owner				= THIS_MODULE,
@@ -319,8 +314,5 @@ int __init omap4_idle_init(void)
 	if (!cpu_clkdm[0] || !cpu_clkdm[1])
 		return -ENODEV;
 
-	/* Configure the broadcast timer on each cpu */
-	on_each_cpu(omap_setup_broadcast_timer, NULL, 1);
-
 	return cpuidle_register(idle_driver, cpu_online_mask);
 }
arch/arm/mach-omap2/display.c +6 -1
index 9500b6e27380..5d73f2c0b117 100644
@@ -83,6 +83,7 @@ static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes)
 	u32 enable_mask, enable_shift;
 	u32 pipd_mask, pipd_shift;
 	u32 reg;
+	int ret;
 
 	if (dsi_id == 0) {
 		enable_mask = OMAP4_DSI1_LANEENABLE_MASK;
@@ -98,7 +99,11 @@ static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes)
 		return -ENODEV;
 	}
 
-	regmap_read(omap4_dsi_mux_syscon, OMAP4_DSIPHY_SYSCON_OFFSET, &reg);
+	ret = regmap_read(omap4_dsi_mux_syscon,
+					  OMAP4_DSIPHY_SYSCON_OFFSET,
+					  &reg);
+	if (ret)
+		return ret;
 
 	reg &= ~enable_mask;
 	reg &= ~pipd_mask;
arch/arm/mach-s3c24xx/mach-osiris-dvs.c +4 -4
index 058ce73137e8..5d819b6ea428 100644
@@ -65,16 +65,16 @@ static int osiris_dvs_notify(struct notifier_block *nb,
 
 	switch (val) {
 	case CPUFREQ_PRECHANGE:
-		if (old_dvs & !new_dvs ||
-		    cur_dvs & !new_dvs) {
+		if ((old_dvs && !new_dvs) ||
+		    (cur_dvs && !new_dvs)) {
 			pr_debug("%s: exiting dvs\n", __func__);
 			cur_dvs = false;
 			gpio_set_value(OSIRIS_GPIO_DVS, 1);
 		}
 		break;
 	case CPUFREQ_POSTCHANGE:
-		if (!old_dvs & new_dvs ||
-		    !cur_dvs & new_dvs) {
+		if ((!old_dvs && new_dvs) ||
+		    (!cur_dvs && new_dvs)) {
 			pr_debug("entering dvs\n");
 			cur_dvs = true;
 			gpio_set_value(OSIRIS_GPIO_DVS, 0);
arch/arm/mm/dma-mapping.c +2 -0
index 1cb9c0f9b5d6..8211cf45ece1 100644
@@ -2400,4 +2400,6 @@ void arch_teardown_dma_ops(struct device *dev)
 		return;
 
 	arm_teardown_iommu_dma_ops(dev);
+	/* Let arch_setup_dma_ops() start again from scratch upon re-probe */
+	set_dma_ops(dev, NULL);
 }
arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts +1 -1
index 1ee0dc0d9f10..d1cf404b8708 100644
@@ -22,7 +22,7 @@
 		backlight = <&backlight>;
 		power-supply = <&pp3300_disp>;
 
-		ports {
+		port {
 			panel_in_edp: endpoint {
 				remote-endpoint = <&edp_out_panel>;
 			};
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +1 -1
index 2cc7c47d6a85..65637a5a4b21 100644
@@ -43,7 +43,7 @@
 		backlight = <&backlight>;
 		power-supply = <&pp3300_disp>;
 
-		ports {
+		port {
 			panel_in_edp: endpoint {
 				remote-endpoint = <&edp_out_panel>;
 			};
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts +1 -1
index fef2c0608999..b14d83919f14 100644
@@ -50,7 +50,7 @@
 		pinctrl-0 = <&lcd_panel_reset>;
 		power-supply = <&vcc3v3_s0>;
 
-		ports {
+		port {
 			panel_in_edp: endpoint {
 				remote-endpoint = <&edp_out_panel>;
 			};
arch/arm64/crypto/aes-ce-ccm-core.S +3 -2
index e3a375c4cb83..1b151442dac1 100644
@@ -74,12 +74,13 @@ ENTRY(ce_aes_ccm_auth_data)
 	beq	10f
 	ext	v0.16b, v0.16b, v0.16b, #1	/* rotate out the mac bytes */
 	b	7b
-8:	mov	w7, w8
+8:	cbz	w8, 91f
+	mov	w7, w8
 	add	w8, w8, #16
 9:	ext	v1.16b, v1.16b, v1.16b, #1
 	adds	w7, w7, #1
 	bne	9b
-	eor	v0.16b, v0.16b, v1.16b
+91:	eor	v0.16b, v0.16b, v1.16b
 	st1	{v0.16b}, [x0]
 10:	str	w8, [x3]
 	ret
arch/arm64/crypto/aes-ce-ccm-glue.c +1 -3
index 68b11aa690e4..986191e8c058 100644
@@ -125,7 +125,7 @@ static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[],
 			abytes -= added;
 		}
 
-		while (abytes > AES_BLOCK_SIZE) {
+		while (abytes >= AES_BLOCK_SIZE) {
 			__aes_arm64_encrypt(key->key_enc, mac, mac,
 					    num_rounds(key));
 			crypto_xor(mac, in, AES_BLOCK_SIZE);
@@ -139,8 +139,6 @@ static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[],
 					    num_rounds(key));
 			crypto_xor(mac, in, abytes);
 			*macp = abytes;
-		} else {
-			*macp = 0;
 		}
 	}
 }
arch/arm64/crypto/aes-neonbs-core.S +6 -2
index e613a87f8b53..8432c8d0dea6 100644
@@ -971,18 +971,22 @@ CPU_LE(	rev		x8, x8		)
 
 8:	next_ctr	v0
 	st1		{v0.16b}, [x24]
-	cbz		x23, 0f
+	cbz		x23, .Lctr_done
 
 	cond_yield_neon	98b
 	b		99b
 
-0:	frame_pop
+.Lctr_done:
+	frame_pop
 	ret
 
 	/*
 	 * If we are handling the tail of the input (x6 != NULL), return the
 	 * final keystream block back to the caller.
 	 */
+0:	cbz		x25, 8b
+	st1		{v0.16b}, [x25]
+	b		8b
 1:	cbz		x25, 8b
 	st1		{v1.16b}, [x25]
 	b		8b
arch/arm64/crypto/crct10dif-ce-glue.c +6 -19
index 96f0cae4a022..617bcfc1b080 100644
@@ -36,26 +36,13 @@ static int crct10dif_update(struct shash_desc *desc, const u8 *data,
 			    unsigned int length)
 {
 	u16 *crc = shash_desc_ctx(desc);
-	unsigned int l;
 
-	if (unlikely((u64)data % CRC_T10DIF_PMULL_CHUNK_SIZE)) {
-		l = min_t(u32, length, CRC_T10DIF_PMULL_CHUNK_SIZE -
-			  ((u64)data % CRC_T10DIF_PMULL_CHUNK_SIZE));
-
-		*crc = crc_t10dif_generic(*crc, data, l);
-
-		length -= l;
-		data += l;
-	}
-
-	if (length > 0) {
-		if (may_use_simd()) {
-			kernel_neon_begin();
-			*crc = crc_t10dif_pmull(*crc, data, length);
-			kernel_neon_end();
-		} else {
-			*crc = crc_t10dif_generic(*crc, data, length);
-		}
+	if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE && may_use_simd()) {
+		kernel_neon_begin();
+		*crc = crc_t10dif_pmull(*crc, data, length);
+		kernel_neon_end();
+	} else {
+		*crc = crc_t10dif_generic(*crc, data, length);
 	}
 
 	return 0;
arch/arm64/include/asm/hardirq.h +31 -0
index 1473fc2f7ab7..89691c86640a 100644
@@ -17,8 +17,12 @@
 #define __ASM_HARDIRQ_H
 
 #include <linux/cache.h>
+#include <linux/percpu.h>
 #include <linux/threads.h>
+#include <asm/barrier.h>
 #include <asm/irq.h>
+#include <asm/kvm_arm.h>
+#include <asm/sysreg.h>
 
 #define NR_IPI	7
 
@@ -37,6 +41,33 @@ u64 smp_irq_stat_cpu(unsigned int cpu);
 
 #define __ARCH_IRQ_EXIT_IRQS_DISABLED	1
 
+struct nmi_ctx {
+	u64 hcr;
+};
+
+DECLARE_PER_CPU(struct nmi_ctx, nmi_contexts);
+
+#define arch_nmi_enter()							\
+	do {									\
+		if (is_kernel_in_hyp_mode()) {					\
+			struct nmi_ctx *nmi_ctx = this_cpu_ptr(&nmi_contexts);	\
+			nmi_ctx->hcr = read_sysreg(hcr_el2);			\
+			if (!(nmi_ctx->hcr & HCR_TGE)) {			\
+				write_sysreg(nmi_ctx->hcr | HCR_TGE, hcr_el2);	\
+				isb();						\
+			}							\
+		}								\
+	} while (0)
+
+#define arch_nmi_exit()								\
+	do {									\
+		if (is_kernel_in_hyp_mode()) {					\
+			struct nmi_ctx *nmi_ctx = this_cpu_ptr(&nmi_contexts);	\
+			if (!(nmi_ctx->hcr & HCR_TGE))				\
+				write_sysreg(nmi_ctx->hcr, hcr_el2);		\
+		}								\
+	} while (0)
+
 static inline void ack_bad_irq(unsigned int irq)
 {
 	extern unsigned long irq_err_count;
arch/arm64/include/asm/kvm_host.h +11 -0
index 3d6d7336f871..6abe4002945f 100644
@@ -48,6 +48,7 @@
 #define KVM_REQ_SLEEP \
 	KVM_ARCH_REQ_FLAGS(0, KVM_REQUEST_WAIT | KVM_REQUEST_NO_WAKEUP)
 #define KVM_REQ_IRQ_PENDING	KVM_ARCH_REQ(1)
+#define KVM_REQ_VCPU_RESET	KVM_ARCH_REQ(2)
 
 DECLARE_STATIC_KEY_FALSE(userspace_irqchip_in_use);
 
@@ -206,6 +207,13 @@ struct kvm_cpu_context {
 
 typedef struct kvm_cpu_context kvm_cpu_context_t;
 
+struct vcpu_reset_state {
+	unsigned long	pc;
+	unsigned long	r0;
+	bool		be;
+	bool		reset;
+};
+
 struct kvm_vcpu_arch {
 	struct kvm_cpu_context ctxt;
 
@@ -295,6 +303,9 @@ struct kvm_vcpu_arch {
 	/* Virtual SError ESR to restore when HCR_EL2.VSE is set */
 	u64 vsesr_el2;
 
+	/* Additional reset state */
+	struct vcpu_reset_state	reset_state;
+
 	/* True when deferrable sysregs are loaded on the physical CPU,
 	 * see kvm_vcpu_load_sysregs and kvm_vcpu_put_sysregs. */
 	bool sysregs_loaded_on_cpu;
arch/arm64/kernel/head.S +1 -2
index 651a06b1980f..77ca59598c8b 100644
@@ -522,8 +522,7 @@ set_hcr:
 	/* GICv3 system register access */
 	mrs	x0, id_aa64pfr0_el1
 	ubfx	x0, x0, #24, #4
-	cmp	x0, #1
-	b.ne	3f
+	cbz	x0, 3f
 
 	mrs_s	x0, SYS_ICC_SRE_EL2
 	orr	x0, x0, #ICC_SRE_EL2_SRE	// Set ICC_SRE_EL2.SRE==1
arch/arm64/kernel/irq.c +3 -0
index 780a12f59a8f..92fa81798fb9 100644
@@ -33,6 +33,9 @@
 
 unsigned long irq_err_count;
 
+/* Only access this in an NMI enter/exit */
+DEFINE_PER_CPU(struct nmi_ctx, nmi_contexts);
+
 DEFINE_PER_CPU(unsigned long *, irq_stack_ptr);
 
 int arch_show_interrupts(struct seq_file *p, int prec)
arch/arm64/kernel/kgdb.c +10 -4
index a20de58061a8..35f184a8fd85 100644
@@ -244,27 +244,33 @@ int kgdb_arch_handle_exception(int exception_vector, int signo,
 
 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int esr)
 {
+	if (user_mode(regs))
+		return DBG_HOOK_ERROR;
+
 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
-	return 0;
+	return DBG_HOOK_HANDLED;
 }
 NOKPROBE_SYMBOL(kgdb_brk_fn)
 
 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr)
 {
+	if (user_mode(regs))
+		return DBG_HOOK_ERROR;
+
 	compiled_break = 1;
 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
 
-	return 0;
+	return DBG_HOOK_HANDLED;
 }
 NOKPROBE_SYMBOL(kgdb_compiled_brk_fn);
 
 static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr)
 {
-	if (!kgdb_single_step)
+	if (user_mode(regs) || !kgdb_single_step)
 		return DBG_HOOK_ERROR;
 
 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
-	return 0;
+	return DBG_HOOK_HANDLED;
 }
 NOKPROBE_SYMBOL(kgdb_step_brk_fn);
 
arch/arm64/kernel/probes/kprobes.c +6 -0
index 30bb13797034..2d63df112b89 100644
@@ -450,6 +450,9 @@ kprobe_single_step_handler(struct pt_regs *regs, unsigned int esr)
 	struct kprobe_ctlblk *kcb = get_kprobe_ctlblk();
 	int retval;
 
+	if (user_mode(regs))
+		return DBG_HOOK_ERROR;
+
 	/* return error if this is not our step */
 	retval = kprobe_ss_hit(kcb, instruction_pointer(regs));
 
@@ -466,6 +469,9 @@ kprobe_single_step_handler(struct pt_regs *regs, unsigned int esr)
 int __kprobes
 kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr)
 {
+	if (user_mode(regs))
+		return DBG_HOOK_ERROR;
+
 	kprobe_handler(regs);
 	return DBG_HOOK_HANDLED;
 }
arch/arm64/kvm/hyp/switch.c +5 -0
index a1c32c1f2267..6290a4e81d57 100644
@@ -23,6 +23,7 @@
 #include <kvm/arm_psci.h>
 
 #include <asm/cpufeature.h>
+#include <asm/kprobes.h>
 #include <asm/kvm_asm.h>
 #include <asm/kvm_emulate.h>
 #include <asm/kvm_host.h>
@@ -107,6 +108,7 @@ static void activate_traps_vhe(struct kvm_vcpu *vcpu)
 
 	write_sysreg(kvm_get_hyp_vector(), vbar_el1);
 }
+NOKPROBE_SYMBOL(activate_traps_vhe);
 
 static void __hyp_text __activate_traps_nvhe(struct kvm_vcpu *vcpu)
 {
@@ -146,6 +148,7 @@ static void deactivate_traps_vhe(void)
 	write_sysreg(CPACR_EL1_DEFAULT, cpacr_el1);
 	write_sysreg(vectors, vbar_el1);
 }
+NOKPROBE_SYMBOL(deactivate_traps_vhe);
 
 static void __hyp_text __deactivate_traps_nvhe(void)
 {
@@ -529,6 +532,7 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu)
 
 	return exit_code;
 }
+NOKPROBE_SYMBOL(kvm_vcpu_run_vhe);
 
 /* Switch to the guest for legacy non-VHE systems */
 int __hyp_text __kvm_vcpu_run_nvhe(struct kvm_vcpu *vcpu)
@@ -636,6 +640,7 @@ static void __hyp_call_panic_vhe(u64 spsr, u64 elr, u64 par,
 	      read_sysreg_el2(esr),   read_sysreg_el2(far),
 	      read_sysreg(hpfar_el2), par, vcpu);
 }
+NOKPROBE_SYMBOL(__hyp_call_panic_vhe);
 
 void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context *host_ctxt)
 {
arch/arm64/kvm/hyp/sysreg-sr.c +5 -0
index 9ce223944983..963d669ae3a2 100644
@@ -18,6 +18,7 @@
 #include <linux/compiler.h>
 #include <linux/kvm_host.h>
 
+#include <asm/kprobes.h>
 #include <asm/kvm_asm.h>
 #include <asm/kvm_emulate.h>
 #include <asm/kvm_hyp.h>
@@ -98,12 +99,14 @@ void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt)
 {
 	__sysreg_save_common_state(ctxt);
 }
+NOKPROBE_SYMBOL(sysreg_save_host_state_vhe);
 
 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt)
 {
 	__sysreg_save_common_state(ctxt);
 	__sysreg_save_el2_return_state(ctxt);
 }
+NOKPROBE_SYMBOL(sysreg_save_guest_state_vhe);
 
 static void __hyp_text __sysreg_restore_common_state(struct kvm_cpu_context *ctxt)
 {
@@ -171,12 +174,14 @@ void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt)
 {
 	__sysreg_restore_common_state(ctxt);
 }
+NOKPROBE_SYMBOL(sysreg_restore_host_state_vhe);
 
 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt)
 {
 	__sysreg_restore_common_state(ctxt);
 	__sysreg_restore_el2_return_state(ctxt);
 }
+NOKPROBE_SYMBOL(sysreg_restore_guest_state_vhe);
 
 void __hyp_text __sysreg32_save_state(struct kvm_vcpu *vcpu)
 {
arch/arm64/kvm/reset.c +48 -2

81 lines not on this page · raw message

arch/arm64/kvm/sys_regs.c +6 -4
index 22fbbdbece3c..d112af75680b 100644
@@ -1456,7 +1456,7 @@ static const struct sys_reg_desc sys_reg_descs[] = {
 
 	{ SYS_DESC(SYS_DACR32_EL2), NULL, reset_unknown, DACR32_EL2 },
 	{ SYS_DESC(SYS_IFSR32_EL2), NULL, reset_unknown, IFSR32_EL2 },
-	{ SYS_DESC(SYS_FPEXC32_EL2), NULL, reset_val, FPEXC32_EL2, 0x70 },
+	{ SYS_DESC(SYS_FPEXC32_EL2), NULL, reset_val, FPEXC32_EL2, 0x700 },
 };
 
 static bool trap_dbgidr(struct kvm_vcpu *vcpu,
@@ -2586,7 +2586,9 @@ void kvm_reset_sys_regs(struct kvm_vcpu *vcpu)
 	table = get_target_table(vcpu->arch.target, true, &num);
 	reset_sys_reg_descs(vcpu, table, num);
 
-	for (num = 1; num < NR_SYS_REGS; num++)
-		if (__vcpu_sys_reg(vcpu, num) == 0x4242424242424242)
-			panic("Didn't reset __vcpu_sys_reg(%zi)", num);
+	for (num = 1; num < NR_SYS_REGS; num++) {
+		if (WARN(__vcpu_sys_reg(vcpu, num) == 0x4242424242424242,
+			 "Didn't reset __vcpu_sys_reg(%zi)\n", num))
+			break;
+	}
 }
arch/m68k/Makefile +4 -1
index 997c9f20ea0f..4474e51ee53e 100644
@@ -58,7 +58,10 @@ cpuflags-$(CONFIG_M5206e)	:= $(call cc-option,-mcpu=5206e,-m5200)
 cpuflags-$(CONFIG_M5206)	:= $(call cc-option,-mcpu=5206,-m5200)
 
 KBUILD_AFLAGS += $(cpuflags-y)
-KBUILD_CFLAGS += $(cpuflags-y) -pipe
+KBUILD_CFLAGS += $(cpuflags-y)
+
+KBUILD_CFLAGS += -pipe -ffreestanding
+
 ifdef CONFIG_MMU
 # without -fno-strength-reduce the 53c7xx.c driver fails ;-(
 KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2
arch/mips/include/asm/kvm_host.h +1 -1
index 2c1c53d12179..f567ace7a9e9 100644
@@ -1131,7 +1131,7 @@ static inline void kvm_arch_hardware_unsetup(void) {}
 static inline void kvm_arch_sync_events(struct kvm *kvm) {}
 static inline void kvm_arch_free_memslot(struct kvm *kvm,
 		struct kvm_memory_slot *free, struct kvm_memory_slot *dont) {}
-static inline void kvm_arch_memslots_updated(struct kvm *kvm, struct kvm_memslots *slots) {}
+static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {}
 static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {}
 static inline void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) {}
 static inline void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) {}
arch/powerpc/include/asm/book3s/64/hugetlb.h +8 -0
index 50888388a359..02544939ef0b 100644
@@ -35,6 +35,14 @@ static inline int hstate_get_psize(struct hstate *hstate)
 #ifdef CONFIG_ARCH_HAS_GIGANTIC_PAGE
 static inline bool gigantic_page_supported(void)
 {
+	/*
+	 * We used gigantic page reservation with hypervisor assist in some case.
+	 * We cannot use runtime allocation of gigantic pages in those platforms
+	 * This is hash translation mode LPARs.
+	 */
+	if (firmware_has_feature(FW_FEATURE_LPAR) && !radix_enabled())
+		return false;
+
 	return true;
 }
 #endif
arch/powerpc/include/asm/kvm_host.h +1 -1
index 906bcbdfd2a1..bccc5051249e 100644
@@ -822,7 +822,7 @@ struct kvm_vcpu_arch {
 static inline void kvm_arch_hardware_disable(void) {}
 static inline void kvm_arch_hardware_unsetup(void) {}
 static inline void kvm_arch_sync_events(struct kvm *kvm) {}
-static inline void kvm_arch_memslots_updated(struct kvm *kvm, struct kvm_memslots *slots) {}
+static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {}
 static inline void kvm_arch_flush_shadow_all(struct kvm *kvm) {}
 static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {}
 static inline void kvm_arch_exit(void) {}
arch/powerpc/include/asm/powernv.h +2 -0
index 2f3ff7a27881..d85fcfea32ca 100644
@@ -23,6 +23,8 @@ extern int pnv_npu2_handle_fault(struct npu_context *context, uintptr_t *ea,
 				unsigned long *flags, unsigned long *status,
 				int count);
 
+void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
+
 void pnv_tm_init(void);
 #else
 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
arch/powerpc/kernel/entry_32.S +9 -0
index e58c3f467db5..26b3f853cbf6 100644
@@ -745,6 +745,9 @@ fast_exception_return:
 	mtcr	r10
 	lwz	r10,_LINK(r11)
 	mtlr	r10
+	/* Clear the exception_marker on the stack to avoid confusing stacktrace */
+	li	r10, 0
+	stw	r10, 8(r11)
 	REST_GPR(10, r11)
 #if defined(CONFIG_PPC_8xx) && defined(CONFIG_PERF_EVENTS)
 	mtspr	SPRN_NRI, r0
@@ -982,6 +985,9 @@ END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX)
 	mtcrf	0xFF,r10
 	mtlr	r11
 
+	/* Clear the exception_marker on the stack to avoid confusing stacktrace */
+	li	r10, 0
+	stw	r10, 8(r1)
 	/*
 	 * Once we put values in SRR0 and SRR1, we are in a state
 	 * where exceptions are not recoverable, since taking an
@@ -1021,6 +1027,9 @@ exc_exit_restart_end:
 	mtlr	r11
 	lwz	r10,_CCR(r1)
 	mtcrf	0xff,r10
+	/* Clear the exception_marker on the stack to avoid confusing stacktrace */
+	li	r10, 0
+	stw	r10, 8(r1)
 	REST_2GPRS(9, r1)
 	.globl exc_exit_restart
 exc_exit_restart:
arch/powerpc/kernel/process.c +1 -1
index bb6ac471a784..d29f2dca725b 100644
@@ -180,7 +180,7 @@ static void __giveup_fpu(struct task_struct *tsk)
 
 	save_fpu(tsk);
 	msr = tsk->thread.regs->msr;
-	msr &= ~MSR_FP;
+	msr &= ~(MSR_FP|MSR_FE0|MSR_FE1);
 #ifdef CONFIG_VSX
 	if (cpu_has_feature(CPU_FTR_VSX))
 		msr &= ~MSR_VSX;
arch/powerpc/kernel/ptrace.c +8 -2
index 9667666eb18e..e08b32ccf1d9 100644
@@ -561,6 +561,7 @@ static int vr_get(struct task_struct *target, const struct user_regset *regset,
 		/*
 		 * Copy out only the low-order word of vrsave.
 		 */
+		int start, end;
 		union {
 			elf_vrreg_t reg;
 			u32 word;
@@ -569,8 +570,10 @@ static int vr_get(struct task_struct *target, const struct user_regset *regset,
 
 		vrsave.word = target->thread.vrsave;
 
+		start = 33 * sizeof(vector128);
+		end = start + sizeof(vrsave);
 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave,
-					  33 * sizeof(vector128), -1);
+					  start, end);
 	}
 
 	return ret;
@@ -608,6 +611,7 @@ static int vr_set(struct task_struct *target, const struct user_regset *regset,
 		/*
 		 * We use only the first word of vrsave.
 		 */
+		int start, end;
 		union {
 			elf_vrreg_t reg;
 			u32 word;
@@ -616,8 +620,10 @@ static int vr_set(struct task_struct *target, const struct user_regset *regset,
 
 		vrsave.word = target->thread.vrsave;
 
+		start = 33 * sizeof(vector128);
+		end = start + sizeof(vrsave);
 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave,
-					 33 * sizeof(vector128), -1);
+					 start, end);
 		if (!ret)
 			target->thread.vrsave = vrsave.word;
 	}
arch/powerpc/kernel/traps.c +6 -6
index 8689a02b7df8..02fe6d020174 100644
@@ -767,15 +767,15 @@ void machine_check_exception(struct pt_regs *regs)
 	if (check_io_access(regs))
 		goto bail;
 
-	/* Must die if the interrupt is not recoverable */
-	if (!(regs->msr & MSR_RI))
-		nmi_panic(regs, "Unrecoverable Machine check");
-
 	if (!nested)
 		nmi_exit();
 
 	die("Machine check", regs, SIGBUS);
 
+	/* Must die if the interrupt is not recoverable */
+	if (!(regs->msr & MSR_RI))
+		nmi_panic(regs, "Unrecoverable Machine check");
+
 	return;
 
 bail:
@@ -1545,8 +1545,8 @@ void alignment_exception(struct pt_regs *regs)
 
 void StackOverflow(struct pt_regs *regs)
 {
-	printk(KERN_CRIT "Kernel stack overflow in process %p, r1=%lx\n",
-	       current, regs->gpr[1]);
+	pr_crit("Kernel stack overflow in process %s[%d], r1=%lx\n",
+		current->comm, task_pid_nr(current), regs->gpr[1]);
 	debugger(regs);
 	show_regs(regs);
 	panic("kernel stack overflow");
arch/powerpc/platforms/83xx/suspend-asm.S +27 -7
index 3d1ecd211776..8137f77abad5 100644
@@ -26,13 +26,13 @@
 #define SS_MSR		0x74
 #define SS_SDR1		0x78
 #define SS_LR		0x7c
-#define SS_SPRG		0x80 /* 4 SPRGs */
-#define SS_DBAT		0x90 /* 8 DBATs */
-#define SS_IBAT		0xd0 /* 8 IBATs */
-#define SS_TB		0x110
-#define SS_CR		0x118
-#define SS_GPREG	0x11c /* r12-r31 */
-#define STATE_SAVE_SIZE 0x16c
+#define SS_SPRG		0x80 /* 8 SPRGs */
+#define SS_DBAT		0xa0 /* 8 DBATs */
+#define SS_IBAT		0xe0 /* 8 IBATs */
+#define SS_TB		0x120
+#define SS_CR		0x128
+#define SS_GPREG	0x12c /* r12-r31 */
+#define STATE_SAVE_SIZE 0x17c
 
 	.section .data
 	.align	5
@@ -103,6 +103,16 @@ _GLOBAL(mpc83xx_enter_deep_sleep)
 	stw	r7, SS_SPRG+12(r3)
 	stw	r8, SS_SDR1(r3)
 
+	mfspr	r4, SPRN_SPRG4
+	mfspr	r5, SPRN_SPRG5
+	mfspr	r6, SPRN_SPRG6
+	mfspr	r7, SPRN_SPRG7
+
+	stw	r4, SS_SPRG+16(r3)
+	stw	r5, SS_SPRG+20(r3)
+	stw	r6, SS_SPRG+24(r3)
+	stw	r7, SS_SPRG+28(r3)
+
 	mfspr	r4, SPRN_DBAT0U
 	mfspr	r5, SPRN_DBAT0L
 	mfspr	r6, SPRN_DBAT1U
@@ -493,6 +503,16 @@ mpc83xx_deep_resume:
 	mtspr	SPRN_IBAT7U, r6
 	mtspr	SPRN_IBAT7L, r7
 
+	lwz	r4, SS_SPRG+16(r3)
+	lwz	r5, SS_SPRG+20(r3)
+	lwz	r6, SS_SPRG+24(r3)
+	lwz	r7, SS_SPRG+28(r3)
+
+	mtspr	SPRN_SPRG4, r4
+	mtspr	SPRN_SPRG5, r5
+	mtspr	SPRN_SPRG6, r6
+	mtspr	SPRN_SPRG7, r7
+
 	lwz	r4, SS_SPRG+0(r3)
 	lwz	r5, SS_SPRG+4(r3)
 	lwz	r6, SS_SPRG+8(r3)
arch/powerpc/platforms/embedded6xx/wii.c +4 -0
index 403523c061ba..343bffd20fca 100644
@@ -83,6 +83,10 @@ unsigned long __init wii_mmu_mapin_mem2(unsigned long top)
 	/* MEM2 64MB@0x10000000 */
 	delta = wii_hole_start + wii_hole_size;
 	size = top - delta;
+
+	if (__map_without_bats)
+		return delta;
+
 	for (bl = 128<<10; bl < max_size; bl <<= 1) {
 		if (bl * 2 > size)
 			break;
arch/powerpc/platforms/powernv/idle.c +2 -25
index 35f699ebb662..e52f9b06dd9c 100644
@@ -458,7 +458,8 @@ EXPORT_SYMBOL_GPL(pnv_power9_force_smt4_release);
 #endif /* CONFIG_KVM_BOOK3S_HV_POSSIBLE */
 
 #ifdef CONFIG_HOTPLUG_CPU
-static void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val)
+
+void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val)
 {
 	u64 pir = get_hard_smp_processor_id(cpu);
 
@@ -481,20 +482,6 @@ unsigned long pnv_cpu_offline(unsigned int cpu)
 {
 	unsigned long srr1;
 	u32 idle_states = pnv_get_supported_cpuidle_states();
-	u64 lpcr_val;
-
-	/*
-	 * We don't want to take decrementer interrupts while we are
-	 * offline, so clear LPCR:PECE1. We keep PECE2 (and
-	 * LPCR_PECE_HVEE on P9) enabled as to let IPIs in.
-	 *
-	 * If the CPU gets woken up by a special wakeup, ensure that
-	 * the SLW engine sets LPCR with decrementer bit cleared, else
-	 * the CPU will come back to the kernel due to a spurious
-	 * wakeup.
-	 */
-	lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1;
-	pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val);
 
 	__ppc64_runlatch_off();
 
@@ -526,16 +513,6 @@ unsigned long pnv_cpu_offline(unsigned int cpu)
 
 	__ppc64_runlatch_on();
 
-	/*
-	 * Re-enable decrementer interrupts in LPCR.
-	 *
-	 * Further, we want stop states to be woken up by decrementer
-	 * for non-hotplug cases. So program the LPCR via stop api as
-	 * well.
-	 */
-	lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1;
-	pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val);
-
 	return srr1;
 }
 #endif
arch/powerpc/platforms/powernv/opal-msglog.c +1 -1
index acd3206dfae3..06628c71cef6 100644
@@ -98,7 +98,7 @@ static ssize_t opal_msglog_read(struct file *file, struct kobject *kobj,
 }
 
 static struct bin_attribute opal_msglog_attr = {
-	.attr = {.name = "msglog", .mode = 0444},
+	.attr = {.name = "msglog", .mode = 0400},
 	.read = opal_msglog_read
 };
 
arch/powerpc/platforms/powernv/smp.c +25 -0
index 0d354e19ef92..db09c7022635 100644
@@ -39,6 +39,7 @@
 #include <asm/cpuidle.h>
 #include <asm/kexec.h>
 #include <asm/reg.h>
+#include <asm/powernv.h>
 
 #include "powernv.h"
 
@@ -153,6 +154,7 @@ static void pnv_smp_cpu_kill_self(void)
 {
 	unsigned int cpu;
 	unsigned long srr1, wmask;
+	u64 lpcr_val;
 
 	/* Standard hot unplug procedure */
 	/*
@@ -174,6 +176,19 @@ static void pnv_smp_cpu_kill_self(void)
 	if (cpu_has_feature(CPU_FTR_ARCH_207S))
 		wmask = SRR1_WAKEMASK_P8;
 
+	/*
+	 * We don't want to take decrementer interrupts while we are
+	 * offline, so clear LPCR:PECE1. We keep PECE2 (and
+	 * LPCR_PECE_HVEE on P9) enabled so as to let IPIs in.
+	 *
+	 * If the CPU gets woken up by a special wakeup, ensure that
+	 * the SLW engine sets LPCR with decrementer bit cleared, else
+	 * the CPU will come back to the kernel due to a spurious
+	 * wakeup.
+	 */
+	lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1;
+	pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val);
+
 	while (!generic_check_cpu_restart(cpu)) {
 		/*
 		 * Clear IPI flag, since we don't handle IPIs while
@@ -246,6 +261,16 @@ static void pnv_smp_cpu_kill_self(void)
 
 	}
 
+	/*
+	 * Re-enable decrementer interrupts in LPCR.
+	 *
+	 * Further, we want stop states to be woken up by decrementer
+	 * for non-hotplug cases. So program the LPCR via stop api as
+	 * well.
+	 */
+	lpcr_val = mfspr(SPRN_LPCR) | (u64)LPCR_PECE1;
+	pnv_program_cpu_hotplug_lpcr(cpu, lpcr_val);
+
 	DBG("CPU%d coming online...\n", cpu);
 }
 
arch/s390/include/asm/kvm_host.h +1 -1
index 29c940bf8506..dad110e9f41b 100644
@@ -865,7 +865,7 @@ static inline void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu) {}
 static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {}
 static inline void kvm_arch_free_memslot(struct kvm *kvm,
 		struct kvm_memory_slot *free, struct kvm_memory_slot *dont) {}
-static inline void kvm_arch_memslots_updated(struct kvm *kvm, struct kvm_memslots *slots) {}
+static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {}
 static inline void kvm_arch_flush_shadow_all(struct kvm *kvm) {}
 static inline void kvm_arch_flush_shadow_memslot(struct kvm *kvm,
 		struct kvm_memory_slot *slot) {}
arch/s390/kernel/setup.c +22 -9
index a0097f8bada8..5f85e0dfa66d 100644
@@ -303,7 +303,7 @@ early_param("vmalloc", parse_vmalloc);
 
 void *restart_stack __section(.data);
 
-static void __init setup_lowcore(void)
+static void __init setup_lowcore_dat_off(void)
 {
 	struct lowcore *lc;
 
@@ -314,19 +314,16 @@ static void __init setup_lowcore(void)
 	lc = memblock_virt_alloc_low(sizeof(*lc), sizeof(*lc));
 	lc->restart_psw.mask = PSW_KERNEL_BITS;
 	lc->restart_psw.addr = (unsigned long) restart_int_handler;
-	lc->external_new_psw.mask = PSW_KERNEL_BITS |
-		PSW_MASK_DAT | PSW_MASK_MCHECK;
+	lc->external_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_MCHECK;
 	lc->external_new_psw.addr = (unsigned long) ext_int_handler;
 	lc->svc_new_psw.mask = PSW_KERNEL_BITS |
-		PSW_MASK_DAT | PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK;
+		PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK;
 	lc->svc_new_psw.addr = (unsigned long) system_call;
-	lc->program_new_psw.mask = PSW_KERNEL_BITS |
-		PSW_MASK_DAT | PSW_MASK_MCHECK;
+	lc->program_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_MCHECK;
 	lc->program_new_psw.addr = (unsigned long) pgm_check_handler;
 	lc->mcck_new_psw.mask = PSW_KERNEL_BITS;
 	lc->mcck_new_psw.addr = (unsigned long) mcck_int_handler;
-	lc->io_new_psw.mask = PSW_KERNEL_BITS |
-		PSW_MASK_DAT | PSW_MASK_MCHECK;
+	lc->io_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_MCHECK;
 	lc->io_new_psw.addr = (unsigned long) io_int_handler;
 	lc->clock_comparator = clock_comparator_max;
 	lc->kernel_stack = ((unsigned long) &init_thread_union)
@@ -388,6 +385,16 @@ static void __init setup_lowcore(void)
 	lowcore_ptr[0] = lc;
 }
 
+static void __init setup_lowcore_dat_on(void)
+{
+	__ctl_clear_bit(0, 28);
+	S390_lowcore.external_new_psw.mask |= PSW_MASK_DAT;
+	S390_lowcore.svc_new_psw.mask |= PSW_MASK_DAT;
+	S390_lowcore.program_new_psw.mask |= PSW_MASK_DAT;
+	S390_lowcore.io_new_psw.mask |= PSW_MASK_DAT;
+	__ctl_set_bit(0, 28);
+}
+
 static struct resource code_resource = {
 	.name  = "Kernel code",
 	.flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM,
@@ -946,7 +953,7 @@ void __init setup_arch(char **cmdline_p)
 #endif
 
 	setup_resources();
-	setup_lowcore();
+	setup_lowcore_dat_off();
 	smp_fill_possible_mask();
 	cpu_detect_mhz_feature();
         cpu_init();
@@ -959,6 +966,12 @@ void __init setup_arch(char **cmdline_p)
 	 */
         paging_init();
 
+	/*
+	 * After paging_init created the kernel page table, the new PSWs
+	 * in lowcore can now run with DAT enabled.
+	 */
+	setup_lowcore_dat_on();
+
         /* Setup default console */
 	conmode_default();
 	set_preferred_console();
arch/x86/crypto/aegis128-aesni-glue.c +15 -23
index 2a356b948720..3ea71b871813 100644
@@ -119,31 +119,20 @@ static void crypto_aegis128_aesni_process_ad(
 }
 
 static void crypto_aegis128_aesni_process_crypt(
-		struct aegis_state *state, struct aead_request *req,
+		struct aegis_state *state, struct skcipher_walk *walk,
 		const struct aegis_crypt_ops *ops)
 {
-	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize, base;
-
-	ops->skcipher_walk_init(&walk, req, false);
-
-	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
-
-		ops->crypt_blocks(state, chunksize, src, dst);
-
-		base = chunksize & ~(AEGIS128_BLOCK_SIZE - 1);
-		src += base;
-		dst += base;
-		chunksize &= AEGIS128_BLOCK_SIZE - 1;
-
-		if (chunksize > 0)
-			ops->crypt_tail(state, chunksize, src, dst);
+	while (walk->nbytes >= AEGIS128_BLOCK_SIZE) {
+		ops->crypt_blocks(state,
+				  round_down(walk->nbytes, AEGIS128_BLOCK_SIZE),
+				  walk->src.virt.addr, walk->dst.virt.addr);
+		skcipher_walk_done(walk, walk->nbytes % AEGIS128_BLOCK_SIZE);
+	}
 
-		skcipher_walk_done(&walk, 0);
+	if (walk->nbytes) {
+		ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr,
+				walk->dst.virt.addr);
+		skcipher_walk_done(walk, 0);
 	}
 }
 
@@ -186,13 +175,16 @@ static void crypto_aegis128_aesni_crypt(struct aead_request *req,
 {
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	struct aegis_ctx *ctx = crypto_aegis128_aesni_ctx(tfm);
+	struct skcipher_walk walk;
 	struct aegis_state state;
 
+	ops->skcipher_walk_init(&walk, req, true);
+
 	kernel_fpu_begin();
 
 	crypto_aegis128_aesni_init(&state, ctx->key.bytes, req->iv);
 	crypto_aegis128_aesni_process_ad(&state, req->src, req->assoclen);
-	crypto_aegis128_aesni_process_crypt(&state, req, ops);
+	crypto_aegis128_aesni_process_crypt(&state, &walk, ops);
 	crypto_aegis128_aesni_final(&state, tag_xor, req->assoclen, cryptlen);
 
 	kernel_fpu_end();
arch/x86/crypto/aegis128l-aesni-glue.c +15 -23
index dbe8bb980da1..1b1b39c66c5e 100644
@@ -119,31 +119,20 @@ static void crypto_aegis128l_aesni_process_ad(
 }
 
 static void crypto_aegis128l_aesni_process_crypt(
-		struct aegis_state *state, struct aead_request *req,
+		struct aegis_state *state, struct skcipher_walk *walk,
 		const struct aegis_crypt_ops *ops)
 {
-	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize, base;
-
-	ops->skcipher_walk_init(&walk, req, false);
-
-	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
-
-		ops->crypt_blocks(state, chunksize, src, dst);
-
-		base = chunksize & ~(AEGIS128L_BLOCK_SIZE - 1);
-		src += base;
-		dst += base;
-		chunksize &= AEGIS128L_BLOCK_SIZE - 1;
-
-		if (chunksize > 0)
-			ops->crypt_tail(state, chunksize, src, dst);
+	while (walk->nbytes >= AEGIS128L_BLOCK_SIZE) {
+		ops->crypt_blocks(state, round_down(walk->nbytes,
+						    AEGIS128L_BLOCK_SIZE),
+				  walk->src.virt.addr, walk->dst.virt.addr);
+		skcipher_walk_done(walk, walk->nbytes % AEGIS128L_BLOCK_SIZE);
+	}
 
-		skcipher_walk_done(&walk, 0);
+	if (walk->nbytes) {
+		ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr,
+				walk->dst.virt.addr);
+		skcipher_walk_done(walk, 0);
 	}
 }
 
@@ -186,13 +175,16 @@ static void crypto_aegis128l_aesni_crypt(struct aead_request *req,
 {
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	struct aegis_ctx *ctx = crypto_aegis128l_aesni_ctx(tfm);
+	struct skcipher_walk walk;
 	struct aegis_state state;
 
+	ops->skcipher_walk_init(&walk, req, true);
+
 	kernel_fpu_begin();
 
 	crypto_aegis128l_aesni_init(&state, ctx->key.bytes, req->iv);
 	crypto_aegis128l_aesni_process_ad(&state, req->src, req->assoclen);
-	crypto_aegis128l_aesni_process_crypt(&state, req, ops);
+	crypto_aegis128l_aesni_process_crypt(&state, &walk, ops);
 	crypto_aegis128l_aesni_final(&state, tag_xor, req->assoclen, cryptlen);
 
 	kernel_fpu_end();
arch/x86/crypto/aegis256-aesni-glue.c +15 -23
index 8bebda2de92f..6227ca3220a0 100644
@@ -119,31 +119,20 @@ static void crypto_aegis256_aesni_process_ad(
 }
 
 static void crypto_aegis256_aesni_process_crypt(
-		struct aegis_state *state, struct aead_request *req,
+		struct aegis_state *state, struct skcipher_walk *walk,
 		const struct aegis_crypt_ops *ops)
 {
-	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize, base;
-
-	ops->skcipher_walk_init(&walk, req, false);
-
-	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
-
-		ops->crypt_blocks(state, chunksize, src, dst);
-
-		base = chunksize & ~(AEGIS256_BLOCK_SIZE - 1);
-		src += base;
-		dst += base;
-		chunksize &= AEGIS256_BLOCK_SIZE - 1;
-
-		if (chunksize > 0)
-			ops->crypt_tail(state, chunksize, src, dst);
+	while (walk->nbytes >= AEGIS256_BLOCK_SIZE) {
+		ops->crypt_blocks(state,
+				  round_down(walk->nbytes, AEGIS256_BLOCK_SIZE),
+				  walk->src.virt.addr, walk->dst.virt.addr);
+		skcipher_walk_done(walk, walk->nbytes % AEGIS256_BLOCK_SIZE);
+	}
 
-		skcipher_walk_done(&walk, 0);
+	if (walk->nbytes) {
+		ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr,
+				walk->dst.virt.addr);
+		skcipher_walk_done(walk, 0);
 	}
 }
 
@@ -186,13 +175,16 @@ static void crypto_aegis256_aesni_crypt(struct aead_request *req,
 {
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	struct aegis_ctx *ctx = crypto_aegis256_aesni_ctx(tfm);
+	struct skcipher_walk walk;
 	struct aegis_state state;
 
+	ops->skcipher_walk_init(&walk, req, true);
+
 	kernel_fpu_begin();
 
 	crypto_aegis256_aesni_init(&state, ctx->key, req->iv);
 	crypto_aegis256_aesni_process_ad(&state, req->src, req->assoclen);
-	crypto_aegis256_aesni_process_crypt(&state, req, ops);
+	crypto_aegis256_aesni_process_crypt(&state, &walk, ops);
 	crypto_aegis256_aesni_final(&state, tag_xor, req->assoclen, cryptlen);
 
 	kernel_fpu_end();
arch/x86/crypto/aesni-intel_glue.c +8 -5
index e4b78f962874..917f25e4d0a8 100644
@@ -830,11 +830,14 @@ static int gcmaes_crypt_by_sg(bool enc, struct aead_request *req,
 		scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0);
 	}
 
-	src_sg = scatterwalk_ffwd(src_start, req->src, req->assoclen);
-	scatterwalk_start(&src_sg_walk, src_sg);
-	if (req->src != req->dst) {
-		dst_sg = scatterwalk_ffwd(dst_start, req->dst, req->assoclen);
-		scatterwalk_start(&dst_sg_walk, dst_sg);
+	if (left) {
+		src_sg = scatterwalk_ffwd(src_start, req->src, req->assoclen);
+		scatterwalk_start(&src_sg_walk, src_sg);
+		if (req->src != req->dst) {
+			dst_sg = scatterwalk_ffwd(dst_start, req->dst,
+						  req->assoclen);
+			scatterwalk_start(&dst_sg_walk, dst_sg);
+		}
 	}
 
 	kernel_fpu_begin();
arch/x86/crypto/morus1280_glue.c +16 -24
index 0dccdda1eb3a..7e600f8bcdad 100644
@@ -85,31 +85,20 @@ static void crypto_morus1280_glue_process_ad(
 
 static void crypto_morus1280_glue_process_crypt(struct morus1280_state *state,
 						struct morus1280_ops ops,
-						struct aead_request *req)
+						struct skcipher_walk *walk)
 {
-	struct skcipher_walk walk;
-	u8 *cursor_src, *cursor_dst;
-	unsigned int chunksize, base;
-
-	ops.skcipher_walk_init(&walk, req, false);
-
-	while (walk.nbytes) {
-		cursor_src = walk.src.virt.addr;
-		cursor_dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
-
-		ops.crypt_blocks(state, cursor_src, cursor_dst, chunksize);
-
-		base = chunksize & ~(MORUS1280_BLOCK_SIZE - 1);
-		cursor_src += base;
-		cursor_dst += base;
-		chunksize &= MORUS1280_BLOCK_SIZE - 1;
-
-		if (chunksize > 0)
-			ops.crypt_tail(state, cursor_src, cursor_dst,
-				       chunksize);
+	while (walk->nbytes >= MORUS1280_BLOCK_SIZE) {
+		ops.crypt_blocks(state, walk->src.virt.addr,
+				 walk->dst.virt.addr,
+				 round_down(walk->nbytes,
+					    MORUS1280_BLOCK_SIZE));
+		skcipher_walk_done(walk, walk->nbytes % MORUS1280_BLOCK_SIZE);
+	}
 
-		skcipher_walk_done(&walk, 0);
+	if (walk->nbytes) {
+		ops.crypt_tail(state, walk->src.virt.addr, walk->dst.virt.addr,
+			       walk->nbytes);
+		skcipher_walk_done(walk, 0);
 	}
 }
 
@@ -147,12 +136,15 @@ static void crypto_morus1280_glue_crypt(struct aead_request *req,
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	struct morus1280_ctx *ctx = crypto_aead_ctx(tfm);
 	struct morus1280_state state;
+	struct skcipher_walk walk;
+
+	ops.skcipher_walk_init(&walk, req, true);
 
 	kernel_fpu_begin();
 
 	ctx->ops->init(&state, &ctx->key, req->iv);
 	crypto_morus1280_glue_process_ad(&state, ctx->ops, req->src, req->assoclen);
-	crypto_morus1280_glue_process_crypt(&state, ops, req);
+	crypto_morus1280_glue_process_crypt(&state, ops, &walk);
 	ctx->ops->final(&state, tag_xor, req->assoclen, cryptlen);
 
 	kernel_fpu_end();
arch/x86/crypto/morus640_glue.c +15 -24
index 7b58fe4d9bd1..cb3a81732016 100644
@@ -85,31 +85,19 @@ static void crypto_morus640_glue_process_ad(
 
 static void crypto_morus640_glue_process_crypt(struct morus640_state *state,
 					       struct morus640_ops ops,
-					       struct aead_request *req)
+					       struct skcipher_walk *walk)
 {
-	struct skcipher_walk walk;
-	u8 *cursor_src, *cursor_dst;
-	unsigned int chunksize, base;
-
-	ops.skcipher_walk_init(&walk, req, false);
-
-	while (walk.nbytes) {
-		cursor_src = walk.src.virt.addr;
-		cursor_dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
-
-		ops.crypt_blocks(state, cursor_src, cursor_dst, chunksize);
-
-		base = chunksize & ~(MORUS640_BLOCK_SIZE - 1);
-		cursor_src += base;
-		cursor_dst += base;
-		chunksize &= MORUS640_BLOCK_SIZE - 1;
-
-		if (chunksize > 0)
-			ops.crypt_tail(state, cursor_src, cursor_dst,
-				       chunksize);
+	while (walk->nbytes >= MORUS640_BLOCK_SIZE) {
+		ops.crypt_blocks(state, walk->src.virt.addr,
+				 walk->dst.virt.addr,
+				 round_down(walk->nbytes, MORUS640_BLOCK_SIZE));
+		skcipher_walk_done(walk, walk->nbytes % MORUS640_BLOCK_SIZE);
+	}
 
-		skcipher_walk_done(&walk, 0);
+	if (walk->nbytes) {
+		ops.crypt_tail(state, walk->src.virt.addr, walk->dst.virt.addr,
+			       walk->nbytes);
+		skcipher_walk_done(walk, 0);
 	}
 }
 
@@ -143,12 +131,15 @@ static void crypto_morus640_glue_crypt(struct aead_request *req,
 	struct crypto_aead *tfm = crypto_aead_reqtfm(req);
 	struct morus640_ctx *ctx = crypto_aead_ctx(tfm);
 	struct morus640_state state;
+	struct skcipher_walk walk;
+
+	ops.skcipher_walk_init(&walk, req, true);
 
 	kernel_fpu_begin();
 
 	ctx->ops->init(&state, &ctx->key, req->iv);
 	crypto_morus640_glue_process_ad(&state, ctx->ops, req->src, req->assoclen);
-	crypto_morus640_glue_process_crypt(&state, ops, req);
+	crypto_morus640_glue_process_crypt(&state, ops, &walk);
 	ctx->ops->final(&state, tag_xor, req->assoclen, cryptlen);
 
 	kernel_fpu_end();
arch/x86/events/intel/uncore.c +1 -0
index 27a461414b30..2690135bf83f 100644
@@ -740,6 +740,7 @@ static int uncore_pmu_event_init(struct perf_event *event)
 		/* fixed counters have event field hardcoded to zero */
 		hwc->config = 0ULL;
 	} else if (is_freerunning_event(event)) {
+		hwc->config = event->attr.config;
 		if (!check_valid_freerunning_event(box, event))
 			return -EINVAL;
 		event->hw.idx = UNCORE_PMC_IDX_FREERUNNING;
arch/x86/events/intel/uncore.h +6 -6
index e17ab885b1e9..cc6dd4f78158 100644
@@ -285,8 +285,8 @@ static inline
 unsigned int uncore_freerunning_counter(struct intel_uncore_box *box,
 					struct perf_event *event)
 {
-	unsigned int type = uncore_freerunning_type(event->attr.config);
-	unsigned int idx = uncore_freerunning_idx(event->attr.config);
+	unsigned int type = uncore_freerunning_type(event->hw.config);
+	unsigned int idx = uncore_freerunning_idx(event->hw.config);
 	struct intel_uncore_pmu *pmu = box->pmu;
 
 	return pmu->type->freerunning[type].counter_base +
@@ -360,7 +360,7 @@ static inline
 unsigned int uncore_freerunning_bits(struct intel_uncore_box *box,
 				     struct perf_event *event)
 {
-	unsigned int type = uncore_freerunning_type(event->attr.config);
+	unsigned int type = uncore_freerunning_type(event->hw.config);
 
 	return box->pmu->type->freerunning[type].bits;
 }
@@ -368,7 +368,7 @@ unsigned int uncore_freerunning_bits(struct intel_uncore_box *box,
 static inline int uncore_num_freerunning(struct intel_uncore_box *box,
 					 struct perf_event *event)
 {
-	unsigned int type = uncore_freerunning_type(event->attr.config);
+	unsigned int type = uncore_freerunning_type(event->hw.config);
 
 	return box->pmu->type->freerunning[type].num_counters;
 }
@@ -382,8 +382,8 @@ static inline int uncore_num_freerunning_types(struct intel_uncore_box *box,
 static inline bool check_valid_freerunning_event(struct intel_uncore_box *box,
 						 struct perf_event *event)
 {
-	unsigned int type = uncore_freerunning_type(event->attr.config);
-	unsigned int idx = uncore_freerunning_idx(event->attr.config);
+	unsigned int type = uncore_freerunning_type(event->hw.config);
+	unsigned int idx = uncore_freerunning_idx(event->hw.config);
 
 	return (type < uncore_num_freerunning_types(box, event)) &&
 	       (idx < uncore_num_freerunning(box, event));
arch/x86/events/intel/uncore_snb.c +3 -1
index bfa25814fe5f..2d328386f83a 100644
@@ -444,9 +444,11 @@ static int snb_uncore_imc_event_init(struct perf_event *event)
 
 	/* must be done before validate_group */
 	event->hw.event_base = base;
-	event->hw.config = cfg;
 	event->hw.idx = idx;
 
+	/* Convert to standard encoding format for freerunning counters */
+	event->hw.config = ((cfg - 1) << 8) | 0x10ff;
+
 	/* no group validation needed, we have free running counters */
 
 	return 0;
arch/x86/include/asm/intel-family.h +2 -0
index 7ed08a7c3398..0ad25cc895ae 100644
@@ -55,6 +55,8 @@
 
 #define INTEL_FAM6_CANNONLAKE_MOBILE	0x66
 
+#define INTEL_FAM6_ICELAKE_MOBILE	0x7E
+
 /* "Small Core" Processors (Atom) */
 
 #define INTEL_FAM6_ATOM_PINEVIEW	0x1C
arch/x86/include/asm/kvm_host.h +1 -1
index 728dc661ebb6..46f0b621bd37 100644
@@ -1194,7 +1194,7 @@ void kvm_mmu_clear_dirty_pt_masked(struct kvm *kvm,
 				   struct kvm_memory_slot *slot,
 				   gfn_t gfn_offset, unsigned long mask);
 void kvm_mmu_zap_all(struct kvm *kvm);
-void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, struct kvm_memslots *slots);
+void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen);
 unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm);
 void kvm_mmu_change_mmu_pages(struct kvm *kvm, unsigned int kvm_nr_mmu_pages);
 
arch/x86/kernel/kprobes/opt.c +5 -0
index 6adf6e6c2933..544bd41a514c 100644
@@ -141,6 +141,11 @@ asm (
 
 void optprobe_template_func(void);
 STACK_FRAME_NON_STANDARD(optprobe_template_func);
+NOKPROBE_SYMBOL(optprobe_template_func);
+NOKPROBE_SYMBOL(optprobe_template_entry);
+NOKPROBE_SYMBOL(optprobe_template_val);
+NOKPROBE_SYMBOL(optprobe_template_call);
+NOKPROBE_SYMBOL(optprobe_template_end);
 
 #define TMPL_MOVE_IDX \
 	((long)optprobe_template_val - (long)optprobe_template_entry)
arch/x86/kvm/mmu.c +20 -3
index 1b82bc7c3cca..779ed52047d1 100644
@@ -5774,13 +5774,30 @@ static bool kvm_has_zapped_obsolete_pages(struct kvm *kvm)
 	return unlikely(!list_empty_careful(&kvm->arch.zapped_obsolete_pages));
 }
 
-void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, struct kvm_memslots *slots)
+void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen)
 {
+	gen &= MMIO_GEN_MASK;
+
+	/*
+	 * Shift to eliminate the "update in-progress" flag, which isn't
+	 * included in the spte's generation number.
+	 */
+	gen >>= 1;
+
+	/*
+	 * Generation numbers are incremented in multiples of the number of
+	 * address spaces in order to provide unique generations across all
+	 * address spaces.  Strip what is effectively the address space
+	 * modifier prior to checking for a wrap of the MMIO generation so
+	 * that a wrap in any address space is detected.
+	 */
+	gen &= ~((u64)KVM_ADDRESS_SPACE_NUM - 1);
+
 	/*
-	 * The very rare case: if the generation-number is round,
+	 * The very rare case: if the MMIO generation number has wrapped,
 	 * zap all shadow pages.
 	 */
-	if (unlikely((slots->generation & MMIO_GEN_MASK) == 0)) {
+	if (unlikely(gen == 0)) {
 		kvm_debug_ratelimited("kvm: zapping shadow pages for mmio generation wraparound\n");
 		kvm_mmu_invalidate_zap_all_pages(kvm);
 	}
arch/x86/kvm/vmx.c +36 -5

71 lines not on this page · raw message

arch/x86/kvm/x86.c +2 -2
index 3a7cf7c6b28a..6181ec19bed2 100644
@@ -9108,13 +9108,13 @@ int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
 	return -ENOMEM;
 }
 
-void kvm_arch_memslots_updated(struct kvm *kvm, struct kvm_memslots *slots)
+void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen)
 {
 	/*
 	 * memslots->generation has been incremented.
 	 * mmio generation may have reached its maximum value.
 	 */
-	kvm_mmu_invalidate_mmio_sptes(kvm, slots);
+	kvm_mmu_invalidate_mmio_sptes(kvm, gen);
 }
 
 int kvm_arch_prepare_memory_region(struct kvm *kvm,
arch/x86/kvm/x86.h +6 -1
index 67b9568613f3..1826ed9dd1c8 100644
@@ -181,6 +181,11 @@ static inline bool emul_is_noncanonical_address(u64 la,
 static inline void vcpu_cache_mmio_info(struct kvm_vcpu *vcpu,
 					gva_t gva, gfn_t gfn, unsigned access)
 {
+	u64 gen = kvm_memslots(vcpu->kvm)->generation;
+
+	if (unlikely(gen & 1))
+		return;
+
 	/*
 	 * If this is a shadow nested page table, the "GVA" is
 	 * actually a nGPA.
@@ -188,7 +193,7 @@ static inline void vcpu_cache_mmio_info(struct kvm_vcpu *vcpu,
 	vcpu->arch.mmio_gva = mmu_is_nested(vcpu) ? 0 : gva & PAGE_MASK;
 	vcpu->arch.access = access;
 	vcpu->arch.mmio_gfn = gfn;
-	vcpu->arch.mmio_gen = kvm_memslots(vcpu->kvm)->generation;
+	vcpu->arch.mmio_gen = gen;
 }
 
 static inline bool vcpu_match_mmio_gen(struct kvm_vcpu *vcpu)
arch/x86/xen/mmu_pv.c +6 -7
index c8f011e07a15..73aa0b89a74a 100644
@@ -2106,10 +2106,10 @@ void __init xen_relocate_p2m(void)
 				pt = early_memremap(pt_phys, PAGE_SIZE);
 				clear_page(pt);
 				for (idx_pte = 0;
-						idx_pte < min(n_pte, PTRS_PER_PTE);
-						idx_pte++) {
-					set_pte(pt + idx_pte,
-							pfn_pte(p2m_pfn, PAGE_KERNEL));
+				     idx_pte < min(n_pte, PTRS_PER_PTE);
+				     idx_pte++) {
+					pt[idx_pte] = pfn_pte(p2m_pfn,
+							      PAGE_KERNEL);
 					p2m_pfn++;
 				}
 				n_pte -= PTRS_PER_PTE;
@@ -2117,8 +2117,7 @@ void __init xen_relocate_p2m(void)
 				make_lowmem_page_readonly(__va(pt_phys));
 				pin_pagetable_pfn(MMUEXT_PIN_L1_TABLE,
 						PFN_DOWN(pt_phys));
-				set_pmd(pmd + idx_pt,
-						__pmd(_PAGE_TABLE | pt_phys));
+				pmd[idx_pt] = __pmd(_PAGE_TABLE | pt_phys);
 				pt_phys += PAGE_SIZE;
 			}
 			n_pt -= PTRS_PER_PMD;
@@ -2126,7 +2125,7 @@ void __init xen_relocate_p2m(void)
 			make_lowmem_page_readonly(__va(pmd_phys));
 			pin_pagetable_pfn(MMUEXT_PIN_L2_TABLE,
 					PFN_DOWN(pmd_phys));
-			set_pud(pud + idx_pmd, __pud(_PAGE_TABLE | pmd_phys));
+			pud[idx_pmd] = __pud(_PAGE_TABLE | pmd_phys);
 			pmd_phys += PAGE_SIZE;
 		}
 		n_pmd -= PTRS_PER_PUD;
block/blk-mq.c +10 -2
index 23a53b67cf0d..7d53f2314d7c 100644
@@ -701,12 +701,20 @@ static void blk_mq_requeue_work(struct work_struct *work)
 	spin_unlock_irq(&q->requeue_lock);
 
 	list_for_each_entry_safe(rq, next, &rq_list, queuelist) {
-		if (!(rq->rq_flags & RQF_SOFTBARRIER))
+		if (!(rq->rq_flags & (RQF_SOFTBARRIER | RQF_DONTPREP)))
 			continue;
 
 		rq->rq_flags &= ~RQF_SOFTBARRIER;
 		list_del_init(&rq->queuelist);
-		blk_mq_sched_insert_request(rq, true, false, false);
+		/*
+		 * If RQF_DONTPREP, rq has contained some driver specific
+		 * data, so insert it to hctx dispatch list to avoid any
+		 * merge.
+		 */
+		if (rq->rq_flags & RQF_DONTPREP)
+			blk_mq_request_bypass_insert(rq, false);
+		else
+			blk_mq_sched_insert_request(rq, true, false, false);
 	}
 
 	while (!list_empty(&rq_list)) {
crypto/aead.c +3 -1
index 60b3bbe973e7..9688ada13981 100644
@@ -61,8 +61,10 @@ int crypto_aead_setkey(struct crypto_aead *tfm,
 	else
 		err = crypto_aead_alg(tfm)->setkey(tfm, key, keylen);
 
-	if (err)
+	if (unlikely(err)) {
+		crypto_aead_set_flags(tfm, CRYPTO_TFM_NEED_KEY);
 		return err;
+	}
 
 	crypto_aead_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);
 	return 0;
crypto/aegis128.c +7 -7
index c22f4414856d..789716f92e4c 100644
@@ -290,19 +290,19 @@ static void crypto_aegis128_process_crypt(struct aegis_state *state,
 					  const struct aegis128_ops *ops)
 {
 	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize;
 
 	ops->skcipher_walk_init(&walk, req, false);
 
 	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
+		unsigned int nbytes = walk.nbytes;
 
-		ops->crypt_chunk(state, dst, src, chunksize);
+		if (nbytes < walk.total)
+			nbytes = round_down(nbytes, walk.stride);
 
-		skcipher_walk_done(&walk, 0);
+		ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr,
+				 nbytes);
+
+		skcipher_walk_done(&walk, walk.nbytes - nbytes);
 	}
 }
 
crypto/aegis128l.c +7 -7
index b6fb21ebdc3e..73811448cb6b 100644
@@ -353,19 +353,19 @@ static void crypto_aegis128l_process_crypt(struct aegis_state *state,
 					   const struct aegis128l_ops *ops)
 {
 	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize;
 
 	ops->skcipher_walk_init(&walk, req, false);
 
 	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
+		unsigned int nbytes = walk.nbytes;
 
-		ops->crypt_chunk(state, dst, src, chunksize);
+		if (nbytes < walk.total)
+			nbytes = round_down(nbytes, walk.stride);
 
-		skcipher_walk_done(&walk, 0);
+		ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr,
+				 nbytes);
+
+		skcipher_walk_done(&walk, walk.nbytes - nbytes);
 	}
 }
 
crypto/aegis256.c +7 -7
index 11f0f8ec9c7c..8a71e9c06193 100644
@@ -303,19 +303,19 @@ static void crypto_aegis256_process_crypt(struct aegis_state *state,
 					  const struct aegis256_ops *ops)
 {
 	struct skcipher_walk walk;
-	u8 *src, *dst;
-	unsigned int chunksize;
 
 	ops->skcipher_walk_init(&walk, req, false);
 
 	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
-		chunksize = walk.nbytes;
+		unsigned int nbytes = walk.nbytes;
 
-		ops->crypt_chunk(state, dst, src, chunksize);
+		if (nbytes < walk.total)
+			nbytes = round_down(nbytes, walk.stride);
 
-		skcipher_walk_done(&walk, 0);
+		ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr,
+				 nbytes);
+
+		skcipher_walk_done(&walk, walk.nbytes - nbytes);
 	}
 }
 
crypto/ahash.c +26 -16

84 lines not on this page · raw message

crypto/cfb.c +10 -4
index e81e45673498..4abfe32ff845 100644
@@ -77,12 +77,14 @@ static int crypto_cfb_encrypt_segment(struct skcipher_walk *walk,
 	do {
 		crypto_cfb_encrypt_one(tfm, iv, dst);
 		crypto_xor(dst, src, bsize);
-		memcpy(iv, dst, bsize);
+		iv = dst;
 
 		src += bsize;
 		dst += bsize;
 	} while ((nbytes -= bsize) >= bsize);
 
+	memcpy(walk->iv, iv, bsize);
+
 	return nbytes;
 }
 
@@ -162,7 +164,7 @@ static int crypto_cfb_decrypt_inplace(struct skcipher_walk *walk,
 	const unsigned int bsize = crypto_cfb_bsize(tfm);
 	unsigned int nbytes = walk->nbytes;
 	u8 *src = walk->src.virt.addr;
-	u8 *iv = walk->iv;
+	u8 * const iv = walk->iv;
 	u8 tmp[MAX_CIPHER_BLOCKSIZE];
 
 	do {
@@ -172,8 +174,6 @@ static int crypto_cfb_decrypt_inplace(struct skcipher_walk *walk,
 		src += bsize;
 	} while ((nbytes -= bsize) >= bsize);
 
-	memcpy(walk->iv, iv, bsize);
-
 	return nbytes;
 }
 
@@ -298,6 +298,12 @@ static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb)
 	inst->alg.base.cra_blocksize = 1;
 	inst->alg.base.cra_alignmask = alg->cra_alignmask;
 
+	/*
+	 * To simplify the implementation, configure the skcipher walk to only
+	 * give a partial block at the very end, never earlier.
+	 */
+	inst->alg.chunksize = alg->cra_blocksize;
+
 	inst->alg.ivsize = alg->cra_blocksize;
 	inst->alg.min_keysize = alg->cra_cipher.cia_min_keysize;
 	inst->alg.max_keysize = alg->cra_cipher.cia_max_keysize;
crypto/morus1280.c +7 -6
index 3889c188f266..b83576b4eb55 100644
@@ -366,18 +366,19 @@ static void crypto_morus1280_process_crypt(struct morus1280_state *state,
 					   const struct morus1280_ops *ops)
 {
 	struct skcipher_walk walk;
-	u8 *dst;
-	const u8 *src;
 
 	ops->skcipher_walk_init(&walk, req, false);
 
 	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
+		unsigned int nbytes = walk.nbytes;
 
-		ops->crypt_chunk(state, dst, src, walk.nbytes);
+		if (nbytes < walk.total)
+			nbytes = round_down(nbytes, walk.stride);
 
-		skcipher_walk_done(&walk, 0);
+		ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr,
+				 nbytes);
+
+		skcipher_walk_done(&walk, walk.nbytes - nbytes);
 	}
 }
 
crypto/morus640.c +7 -6
index da06ec2f6a80..b6a477444f6d 100644
@@ -365,18 +365,19 @@ static void crypto_morus640_process_crypt(struct morus640_state *state,
 					  const struct morus640_ops *ops)
 {
 	struct skcipher_walk walk;
-	u8 *dst;
-	const u8 *src;
 
 	ops->skcipher_walk_init(&walk, req, false);
 
 	while (walk.nbytes) {
-		src = walk.src.virt.addr;
-		dst = walk.dst.virt.addr;
+		unsigned int nbytes = walk.nbytes;
 
-		ops->crypt_chunk(state, dst, src, walk.nbytes);
+		if (nbytes < walk.total)
+			nbytes = round_down(nbytes, walk.stride);
 
-		skcipher_walk_done(&walk, 0);
+		ops->crypt_chunk(state, walk.dst.virt.addr, walk.src.virt.addr,
+				 nbytes);
+
+		skcipher_walk_done(&walk, walk.nbytes - nbytes);
 	}
 }
 
crypto/pcbc.c +4 -10
index 8aa10144407c..1b182dfedc94 100644
@@ -51,7 +51,7 @@ static int crypto_pcbc_encrypt_segment(struct skcipher_request *req,
 	unsigned int nbytes = walk->nbytes;
 	u8 *src = walk->src.virt.addr;
 	u8 *dst = walk->dst.virt.addr;
-	u8 *iv = walk->iv;
+	u8 * const iv = walk->iv;
 
 	do {
 		crypto_xor(iv, src, bsize);
@@ -72,7 +72,7 @@ static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req,
 	int bsize = crypto_cipher_blocksize(tfm);
 	unsigned int nbytes = walk->nbytes;
 	u8 *src = walk->src.virt.addr;
-	u8 *iv = walk->iv;
+	u8 * const iv = walk->iv;
 	u8 tmpbuf[MAX_CIPHER_BLOCKSIZE];
 
 	do {
@@ -84,8 +84,6 @@ static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req,
 		src += bsize;
 	} while ((nbytes -= bsize) >= bsize);
 
-	memcpy(walk->iv, iv, bsize);
-
 	return nbytes;
 }
 
@@ -121,7 +119,7 @@ static int crypto_pcbc_decrypt_segment(struct skcipher_request *req,
 	unsigned int nbytes = walk->nbytes;
 	u8 *src = walk->src.virt.addr;
 	u8 *dst = walk->dst.virt.addr;
-	u8 *iv = walk->iv;
+	u8 * const iv = walk->iv;
 
 	do {
 		crypto_cipher_decrypt_one(tfm, dst, src);
@@ -132,8 +130,6 @@ static int crypto_pcbc_decrypt_segment(struct skcipher_request *req,
 		dst += bsize;
 	} while ((nbytes -= bsize) >= bsize);
 
-	memcpy(walk->iv, iv, bsize);
-
 	return nbytes;
 }
 
@@ -144,7 +140,7 @@ static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req,
 	int bsize = crypto_cipher_blocksize(tfm);
 	unsigned int nbytes = walk->nbytes;
 	u8 *src = walk->src.virt.addr;
-	u8 *iv = walk->iv;
+	u8 * const iv = walk->iv;
 	u8 tmpbuf[MAX_CIPHER_BLOCKSIZE] __aligned(__alignof__(u32));
 
 	do {
@@ -156,8 +152,6 @@ static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req,
 		src += bsize;
 	} while ((nbytes -= bsize) >= bsize);
 
-	memcpy(walk->iv, iv, bsize);
-
 	return nbytes;
 }
 
crypto/shash.c +13 -5
index 5d732c6bb4b2..a04145e5306a 100644
@@ -53,6 +53,13 @@ static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key,
 	return err;
 }
 
+static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg)
+{
+	if (crypto_shash_alg_has_setkey(alg) &&
+	    !(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY))
+		crypto_shash_set_flags(tfm, CRYPTO_TFM_NEED_KEY);
+}
+
 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
 			unsigned int keylen)
 {
@@ -65,8 +72,10 @@ int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
 	else
 		err = shash->setkey(tfm, key, keylen);
 
-	if (err)
+	if (unlikely(err)) {
+		shash_set_needkey(tfm, shash);
 		return err;
+	}
 
 	crypto_shash_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);
 	return 0;
@@ -368,7 +377,8 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm)
 	crt->final = shash_async_final;
 	crt->finup = shash_async_finup;
 	crt->digest = shash_async_digest;
-	crt->setkey = shash_async_setkey;
+	if (crypto_shash_alg_has_setkey(alg))
+		crt->setkey = shash_async_setkey;
 
 	crypto_ahash_set_flags(crt, crypto_shash_get_flags(shash) &
 				    CRYPTO_TFM_NEED_KEY);
@@ -390,9 +400,7 @@ static int crypto_shash_init_tfm(struct crypto_tfm *tfm)
 
 	hash->descsize = alg->descsize;
 
-	if (crypto_shash_alg_has_setkey(alg) &&
-	    !(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY))
-		crypto_shash_set_flags(hash, CRYPTO_TFM_NEED_KEY);
+	shash_set_needkey(hash, alg);
 
 	return 0;
 }
crypto/skcipher.c +18 -9
index 0bd8c6caa498..46bb300d418f 100644
@@ -584,6 +584,12 @@ static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg)
 	return crypto_alg_extsize(alg);
 }
 
+static void skcipher_set_needkey(struct crypto_skcipher *tfm)
+{
+	if (tfm->keysize)
+		crypto_skcipher_set_flags(tfm, CRYPTO_TFM_NEED_KEY);
+}
+
 static int skcipher_setkey_blkcipher(struct crypto_skcipher *tfm,
 				     const u8 *key, unsigned int keylen)
 {
@@ -597,8 +603,10 @@ static int skcipher_setkey_blkcipher(struct crypto_skcipher *tfm,
 	err = crypto_blkcipher_setkey(blkcipher, key, keylen);
 	crypto_skcipher_set_flags(tfm, crypto_blkcipher_get_flags(blkcipher) &
 				       CRYPTO_TFM_RES_MASK);
-	if (err)
+	if (unlikely(err)) {
+		skcipher_set_needkey(tfm);
 		return err;
+	}
 
 	crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);
 	return 0;
@@ -676,8 +684,7 @@ static int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm)
 	skcipher->ivsize = crypto_blkcipher_ivsize(blkcipher);
 	skcipher->keysize = calg->cra_blkcipher.max_keysize;
 
-	if (skcipher->keysize)
-		crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY);
+	skcipher_set_needkey(skcipher);
 
 	return 0;
 }
@@ -697,8 +704,10 @@ static int skcipher_setkey_ablkcipher(struct crypto_skcipher *tfm,
 	crypto_skcipher_set_flags(tfm,
 				  crypto_ablkcipher_get_flags(ablkcipher) &
 				  CRYPTO_TFM_RES_MASK);
-	if (err)
+	if (unlikely(err)) {
+		skcipher_set_needkey(tfm);
 		return err;
+	}
 
 	crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);
 	return 0;
@@ -775,8 +784,7 @@ static int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm)
 			    sizeof(struct ablkcipher_request);
 	skcipher->keysize = calg->cra_ablkcipher.max_keysize;
 
-	if (skcipher->keysize)
-		crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY);
+	skcipher_set_needkey(skcipher);
 
 	return 0;
 }
@@ -819,8 +827,10 @@ static int skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key,
 	else
 		err = cipher->setkey(tfm, key, keylen);
 
-	if (err)
+	if (unlikely(err)) {
+		skcipher_set_needkey(tfm);
 		return err;
+	}
 
 	crypto_skcipher_clear_flags(tfm, CRYPTO_TFM_NEED_KEY);
 	return 0;
@@ -852,8 +862,7 @@ static int crypto_skcipher_init_tfm(struct crypto_tfm *tfm)
 	skcipher->ivsize = alg->ivsize;
 	skcipher->keysize = alg->max_keysize;
 
-	if (skcipher->keysize)
-		crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_NEED_KEY);
+	skcipher_set_needkey(skcipher);
 
 	if (alg->exit)
 		skcipher->base.exit = crypto_skcipher_exit_tfm;
crypto/testmgr.c +10 -4
index 54d882ffe438..3664c26f4838 100644
@@ -1894,14 +1894,21 @@ static int alg_test_crc32c(const struct alg_test_desc *desc,
 
 	err = alg_test_hash(desc, driver, type, mask);
 	if (err)
-		goto out;
+		return err;
 
 	tfm = crypto_alloc_shash(driver, type, mask);
 	if (IS_ERR(tfm)) {
+		if (PTR_ERR(tfm) == -ENOENT) {
+			/*
+			 * This crc32c implementation is only available through
+			 * ahash API, not the shash API, so the remaining part
+			 * of the test is not applicable to it.
+			 */
+			return 0;
+		}
 		printk(KERN_ERR "alg: crc32c: Failed to load transform for %s: "
 		       "%ld\n", driver, PTR_ERR(tfm));
-		err = PTR_ERR(tfm);
-		goto out;
+		return PTR_ERR(tfm);
 	}
 
 	do {
@@ -1928,7 +1935,6 @@ static int alg_test_crc32c(const struct alg_test_desc *desc,
 
 	crypto_free_shash(tfm);
 
-out:
 	return err;
 }
 
crypto/testmgr.h +25 -0
index 11e6f17fe724..862ee1d04263 100644
@@ -11416,6 +11416,31 @@ static const struct cipher_testvec aes_cfb_tv_template[] = {
 			  "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
 			  "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
 		.len	= 64,
+		.also_non_np = 1,
+		.np	= 2,
+		.tap	= { 31, 33 },
+	}, { /* > 16 bytes, not a multiple of 16 bytes */
+		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
+			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
+		.klen	= 16,
+		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
+			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
+		.ptext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
+			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
+			  "\xae",
+		.ctext	= "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
+			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
+			  "\xc8",
+		.len	= 17,
+	}, { /* < 16 bytes */
+		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
+			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
+		.klen	= 16,
+		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
+			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
+		.ptext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
+		.ctext	= "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
+		.len	= 7,
 	},
 };
 
drivers/acpi/device_sysfs.c +5 -1
index 545e91420cde..8940054d6250 100644
@@ -202,11 +202,15 @@ static int create_of_modalias(struct acpi_device *acpi_dev, char *modalias,
 {
 	struct acpi_buffer buf = { ACPI_ALLOCATE_BUFFER };
 	const union acpi_object *of_compatible, *obj;
+	acpi_status status;
 	int len, count;
 	int i, nval;
 	char *c;
 
-	acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf);
+	status = acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf);
+	if (ACPI_FAILURE(status))
+		return -ENODEV;
+
 	/* DT strings are all in lower case */
 	for (c = buf.pointer; *c != '\0'; c++)
 		*c = tolower(*c);
drivers/acpi/nfit/core.c +23 -20

105 lines not on this page · raw message

drivers/auxdisplay/ht16k33.c +1 -1
index a43276c76fc6..21393ec3b9a4 100644
@@ -509,7 +509,7 @@ static int ht16k33_remove(struct i2c_client *client)
 	struct ht16k33_priv *priv = i2c_get_clientdata(client);
 	struct ht16k33_fbdev *fbdev = &priv->fbdev;
 
-	cancel_delayed_work(&fbdev->work);
+	cancel_delayed_work_sync(&fbdev->work);
 	unregister_framebuffer(fbdev->info);
 	framebuffer_release(fbdev->info);
 	free_page((unsigned long) fbdev->buffer);
drivers/base/power/wakeup.c +7 -1
index 5fa1898755a3..7c84f64c74f7 100644
@@ -118,7 +118,6 @@ void wakeup_source_drop(struct wakeup_source *ws)
 	if (!ws)
 		return;
 
-	del_timer_sync(&ws->timer);
 	__pm_relax(ws);
 }
 EXPORT_SYMBOL_GPL(wakeup_source_drop);
@@ -205,6 +204,13 @@ void wakeup_source_remove(struct wakeup_source *ws)
 	list_del_rcu(&ws->entry);
 	raw_spin_unlock_irqrestore(&events_lock, flags);
 	synchronize_srcu(&wakeup_srcu);
+
+	del_timer_sync(&ws->timer);
+	/*
+	 * Clear timer.function to make wakeup_source_not_registered() treat
+	 * this wakeup source as not registered.
+	 */
+	ws->timer.function = NULL;
 }
 EXPORT_SYMBOL_GPL(wakeup_source_remove);
 
drivers/block/floppy.c +1 -1
index fdabd0b74492..a8de56f1936d 100644
@@ -4084,7 +4084,7 @@ static unsigned int floppy_check_events(struct gendisk *disk,
 
 	if (time_after(jiffies, UDRS->last_checked + UDP->checkfreq)) {
 		if (lock_fdc(drive))
-			return -EINTR;
+			return 0;
 		poll_drive(false, 0);
 		process_fd_request();
 	}
drivers/char/ipmi/ipmi_si_intf.c +5 -0
index 5faa917df1b6..82d831b103f9 100644
@@ -2085,6 +2085,11 @@ static int try_smi_init(struct smi_info *new_smi)
 	WARN_ON(new_smi->io.dev->init_name != NULL);
 
  out_err:
+	if (rv && new_smi->io.io_cleanup) {
+		new_smi->io.io_cleanup(&new_smi->io);
+		new_smi->io.io_cleanup = NULL;
+	}
+
 	kfree(init_name);
 	return rv;
 }
drivers/char/ipmi/ipmi_si_mem_io.c +3 -2
index 1b869d530884..638f4ab88f44 100644
@@ -81,8 +81,6 @@ int ipmi_si_mem_setup(struct si_sm_io *io)
 	if (!addr)
 		return -ENODEV;
 
-	io->io_cleanup = mem_cleanup;
-
 	/*
 	 * Figure out the actual readb/readw/readl/etc routine to use based
 	 * upon the register size.
@@ -141,5 +139,8 @@ int ipmi_si_mem_setup(struct si_sm_io *io)
 		mem_region_cleanup(io, io->io_size);
 		return -EIO;
 	}
+
+	io->io_cleanup = mem_cleanup;
+
 	return 0;
 }
drivers/char/ipmi/ipmi_si_port_io.c +3 -2
index ef6dffcea9fa..03924c32b6e9 100644
@@ -68,8 +68,6 @@ int ipmi_si_port_setup(struct si_sm_io *io)
 	if (!addr)
 		return -ENODEV;
 
-	io->io_cleanup = port_cleanup;
-
 	/*
 	 * Figure out the actual inb/inw/inl/etc routine to use based
 	 * upon the register size.
@@ -109,5 +107,8 @@ int ipmi_si_port_setup(struct si_sm_io *io)
 			return -EIO;
 		}
 	}
+
+	io->io_cleanup = port_cleanup;
+
 	return 0;
 }
drivers/char/tpm/st33zp24/st33zp24.c +1 -1
index abd675bec88c..694fc58888c1 100644
@@ -436,7 +436,7 @@ static int st33zp24_send(struct tpm_chip *chip, unsigned char *buf,
 			goto out_err;
 	}
 
-	return len;
+	return 0;
 out_err:
 	st33zp24_cancel(chip);
 	release_locality(chip);
drivers/char/tpm/tpm-interface.c +10 -1
index 1010cb79dcc6..43c3f9b87614 100644
@@ -495,10 +495,19 @@ static ssize_t tpm_try_transmit(struct tpm_chip *chip,
 	if (rc < 0) {
 		if (rc != -EPIPE)
 			dev_err(&chip->dev,
-				"%s: tpm_send: error %d\n", __func__, rc);
+				"%s: send(): error %d\n", __func__, rc);
 		goto out;
 	}
 
+	/* A sanity check. send() should just return zero on success e.g.
+	 * not the command length.
+	 */
+	if (rc > 0) {
+		dev_warn(&chip->dev,
+			 "%s: send(): invalid value %d\n", __func__, rc);
+		rc = 0;
+	}
+
 	if (chip->flags & TPM_CHIP_FLAG_IRQ)
 		goto out_recv;
 
drivers/char/tpm/tpm_atmel.c +1 -1
index 66a14526aaf4..a290b30a0c35 100644
@@ -105,7 +105,7 @@ static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t count)
 		iowrite8(buf[i], priv->iobase);
 	}
 
-	return count;
+	return 0;
 }
 
 static void tpm_atml_cancel(struct tpm_chip *chip)
drivers/char/tpm/tpm_crb.c +16 -6
index 36952ef98f90..763fc7e6c005 100644
@@ -287,19 +287,29 @@ static int crb_recv(struct tpm_chip *chip, u8 *buf, size_t count)
 	struct crb_priv *priv = dev_get_drvdata(&chip->dev);
 	unsigned int expected;
 
-	/* sanity check */
-	if (count < 6)
+	/* A sanity check that the upper layer wants to get at least the header
+	 * as that is the minimum size for any TPM response.
+	 */
+	if (count < TPM_HEADER_SIZE)
 		return -EIO;
 
+	/* If this bit is set, according to the spec, the TPM is in
+	 * unrecoverable condition.
+	 */
 	if (ioread32(&priv->regs_t->ctrl_sts) & CRB_CTRL_STS_ERROR)
 		return -EIO;
 
-	memcpy_fromio(buf, priv->rsp, 6);
-	expected = be32_to_cpup((__be32 *) &buf[2]);
-	if (expected > count || expected < 6)
+	/* Read the first 8 bytes in order to get the length of the response.
+	 * We read exactly a quad word in order to make sure that the remaining
+	 * reads will be aligned.
+	 */
+	memcpy_fromio(buf, priv->rsp, 8);
+
+	expected = be32_to_cpup((__be32 *)&buf[2]);
+	if (expected > count || expected < TPM_HEADER_SIZE)
 		return -EIO;
 
-	memcpy_fromio(&buf[6], &priv->rsp[6], expected - 6);
+	memcpy_fromio(&buf[8], &priv->rsp[8], expected - 8);
 
 	return expected;
 }
drivers/char/tpm/tpm_i2c_atmel.c +5 -1
index 95ce2e9ccdc6..32a8e27c5382 100644
@@ -65,7 +65,11 @@ static int i2c_atmel_send(struct tpm_chip *chip, u8 *buf, size_t len)
 	dev_dbg(&chip->dev,
 		"%s(buf=%*ph len=%0zx) -> sts=%d\n", __func__,
 		(int)min_t(size_t, 64, len), buf, len, status);
-	return status;
+
+	if (status < 0)
+		return status;
+
+	return 0;
 }
 
 static int i2c_atmel_recv(struct tpm_chip *chip, u8 *buf, size_t count)
drivers/char/tpm/tpm_i2c_infineon.c +1 -1
index 9086edc9066b..977fd42daa1b 100644
@@ -587,7 +587,7 @@ static int tpm_tis_i2c_send(struct tpm_chip *chip, u8 *buf, size_t len)
 	/* go and do it */
 	iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1);
 
-	return len;
+	return 0;
 out_err:
 	tpm_tis_i2c_ready(chip);
 	/* The TPM needs some time to clean up here,
drivers/char/tpm/tpm_i2c_nuvoton.c +1 -1
index f74f451baf6a..b8defdfdf2dc 100644
@@ -469,7 +469,7 @@ static int i2c_nuvoton_send(struct tpm_chip *chip, u8 *buf, size_t len)
 	}
 
 	dev_dbg(dev, "%s() -> %zd\n", __func__, len);
-	return len;
+	return 0;
 }
 
 static bool i2c_nuvoton_req_canceled(struct tpm_chip *chip, u8 status)
drivers/char/tpm/tpm_ibmvtpm.c +4 -4
index 25f6e2665385..77e47dc5aacc 100644
@@ -141,14 +141,14 @@ static int tpm_ibmvtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count)
 }
 
 /**
[… more lines in the raw message]

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

drivers/char/tpm/tpm_infineon.c +1 -1
index d8f10047fbba..97f6d4fe0aee 100644

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

drivers/char/tpm/tpm_nsc.c +1 -1
index 5d6cce74cd3f..9bee3c5eb4bf 100644

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

drivers/char/tpm/tpm_tis_core.c +1 -1
index d2345d9fd7b5..0eaea3a7b8f4 100644

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

drivers/char/tpm/tpm_vtpm_proxy.c +1 -2
index 87a0ce47f201..ecbb63f8d231 100644

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

drivers/char/tpm/xen-tpmfront.c +1 -1
index b150f87f38f5..5a327eb7f63a 100644

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

drivers/clk/clk-twl6040.c +51 -2

53 lines not on this page · raw message

drivers/clk/ingenic/cgu.c +5 -5
index 5ef7d9ba2195..b40160eb3372 100644

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

drivers/clk/ingenic/cgu.h +1 -1
index 502bcbb61b04..e12716d8ce3c 100644

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

drivers/clk/samsung/clk-exynos5-subcmu.c +9 -4
index 93306283d764..8ae44b5db4c2 100644

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

drivers/clk/sunxi-ng/ccu-sun6i-a31.c +2 -2
index 3b97f60540ad..609970c0b666 100644

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

drivers/clk/sunxi-ng/ccu-sun8i-v3s.c +1 -1
index 621b1cd996db..ac12f261f8ca 100644

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

drivers/clk/uniphier/clk-uniphier-cpugear.c +1 -1
index ec11f55594ad..5d2d42b7e182 100644

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

drivers/clocksource/Kconfig +10 -0
index 316d48d7be72..c1ddafa4c299 100644

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

drivers/clocksource/arm_arch_timer.c +55 -0

55 lines not on this page · raw message

drivers/clocksource/exynos_mct.c +12 -11
index 7a244b681876..d55c30f6981d 100644

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

drivers/clocksource/timer-ti-dm.c +4 -0
index 4cce6b224b87..3ecf84706640 100644

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

drivers/cpufreq/pxa2xx-cpufreq.c +2 -2
index 46254e583982..74e0e0c20c46 100644

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

drivers/cpufreq/qcom-cpufreq-kryo.c +18 -2
index 2a3675c24032..a472b814058f 100644

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

drivers/cpufreq/tegra124-cpufreq.c +2 -0
index 43530254201a..4bb154f6c54c 100644

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

drivers/crypto/caam/caamalg.c +1 -0
index ec40f991e6c6..9bc54c3c2cb9 100644

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

drivers/crypto/caam/caamhash.c +26 -67

93 lines not on this page · raw message

drivers/crypto/ccree/cc_buffer_mgr.c +4 -4
index dd948e1df9e5..3bcb6bce666e 100644

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

drivers/crypto/ccree/cc_cipher.c +5 -2
index 7623b29911af..54a39164aab8 100644

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

drivers/crypto/rockchip/rk3288_crypto.c +1 -1
index c9d622abd90c..0ce4a65b95f5 100644

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

drivers/crypto/rockchip/rk3288_crypto.h +3 -1
index d5fb4013fb42..54ee5b3ed9db 100644

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

drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c +37 -2
index 639c15c5364b..23305f22072f 100644

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

drivers/crypto/rockchip/rk3288_crypto_ahash.c +1 -1
index 821a506b9e17..c336ae75e361 100644

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

drivers/dma/sh/usb-dmac.c +2 -0
index 1bb1a8e09025..6c94ed750049 100644

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

drivers/gpio/gpio-pca953x.c +2 -1
index 023a32cfac42..e0657fc72d31 100644

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

drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +6 -2
index bd039322f697..6342f6499351 100644

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

drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +3 -3
index 052e60dfaf9f..b52ccab428a9 100644

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

drivers/gpu/drm/drm_fb_helper.c +1 -3
index 1bda809a7289..e65596617239 100644

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

drivers/gpu/drm/i915/i915_gem.c +2 -1
index 280c851714e6..03cda197fb6b 100644

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

drivers/gpu/drm/imx/imx-ldb.c +17 -8
index 3bd0f8a18e74..42daa5c9ff8e 100644

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

drivers/gpu/drm/imx/ipuv3-plane.c +2 -2
index 203f247d4854..a323a0db2fc1 100644

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

drivers/gpu/drm/radeon/evergreen_cs.c +1 -0
index 54324330b91f..2f0a5bd50174 100644

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

drivers/gpu/ipu-v3/ipu-common.c +4 -4
index 474b00e19697..0a7d4395d427 100644

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

drivers/hwtracing/intel_th/gth.c +4 -0
index 8426b7970c14..cc287cf6eb29 100644

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

drivers/hwtracing/stm/core.c +8 -3
index 10bcb5d73f90..9d55e104400c 100644

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

drivers/i2c/busses/i2c-bcm2835.c +12 -0
index 44deae78913e..4d19254f78c8 100644

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

drivers/i2c/busses/i2c-cadence.c +7 -2
index b13605718291..d917cefc5a19 100644

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

drivers/i2c/busses/i2c-tegra.c +1 -1
index 60c8561fbe65..ef13b6ce9d8d 100644

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

drivers/iio/adc/exynos_adc.c +1 -1
index f10443f92e4c..4be29ed44755 100644

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

drivers/infiniband/hw/hfi1/hfi.h +1 -1
index cfd252386356..2ea42c04cfd2 100644

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

drivers/infiniband/hw/hfi1/init.c +9 -5
index 758d273c32cf..da786eb18558 100644

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

drivers/input/keyboard/cap11xx.c +11 -24
index 312916f99597..73686c2460ce 100644

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

drivers/input/keyboard/matrix_keypad.c +1 -1
index 403452ef00e6..3d1cb7bf5e35 100644

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

drivers/input/keyboard/st-keyscan.c +2 -2
index babcfb165e4f..3b85631fde91 100644

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

drivers/input/misc/pwm-vibra.c +13 -6
index 55da191ae550..dbb6d9e1b947 100644

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

drivers/input/serio/ps2-gpio.c +1 -0
index c62cceb97bb1..5e8d8384aa2a 100644

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

drivers/irqchip/irq-brcmstb-l2.c +6 -4
index 0e65f609352e..83364fedbf0a 100644

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

drivers/irqchip/irq-gic-v3-its.c +2 -0
index 15579cba1a88..78970cdf2ef6 100644

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

drivers/mailbox/bcm-flexrm-mailbox.c +2 -2
index 8ab077ff58f4..96bcabfebc23 100644

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

drivers/md/bcache/request.c +4 -3
index 22944aa7d8e5..4ca3e3d3f9c7 100644

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

drivers/md/bcache/writeback.h +3 -0
index d2b9fdbc8994..e75dc33339f6 100644

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

drivers/md/dm-integrity.c +4 -4
index e1fa6baf4e8e..96d5fb3f6199 100644

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

drivers/md/raid10.c +2 -0
index 9df1334608b7..25e97de36717 100644

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

drivers/md/raid5.c +2 -0
index 45a3551d3afd..ae38895c44b2 100644

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

drivers/media/common/videobuf2/videobuf2-v4l2.c +0 -1
index 886a2d8d5c6c..9d4a81bb0e59 100644

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

drivers/media/dvb-frontends/lgdt330x.c +1 -1
index 10d584ce538d..9ee1c1360ab8 100644

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

drivers/media/i2c/ov5640.c +1 -1
index 8e7a2a59cd32..d5c0ffc55d46 100644

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

drivers/media/platform/vimc/Makefile +2 -1
index 4b2e3de7856e..c4fc8e7d365a 100644

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

drivers/media/platform/vimc/vimc-capture.c +9 -9
index ec68feaac378..65d657daf66f 100644

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

drivers/media/platform/vimc/vimc-common.c +0 -35
index 617415c224fe..204aa6f554e4 100644

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

drivers/media/platform/vimc/vimc-common.h +2 -13
index 2e9981b18166..6ed969d9efbb 100644

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

drivers/media/platform/vimc/vimc-debayer.c +4 -22
index 77887f66f323..7d77c63b99d2 100644

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

drivers/media/platform/vimc/vimc-scaler.c +4 -24
index b0952ee86296..39b2a73dfcc1 100644

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

drivers/media/platform/vimc/vimc-sensor.c +13 -43

56 lines not on this page · raw message

drivers/media/platform/vimc/vimc-streamer.c new file +188 -0

188 lines not on this page · raw message

drivers/media/platform/vimc/vimc-streamer.h new file +38 -0
new file mode 100644
index 000000000000..752af2e2d5a2

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

drivers/media/usb/uvc/uvc_video.c +8 -0
index 86a99f461fd8..ffffb66d51a0 100644

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

drivers/mfd/sm501.c +3 -0
index a530972c5a7e..e0173bf4b0dc 100644

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

drivers/misc/cxl/guest.c +2 -0
index 3bc0c15d4d85..b83a373e3a8d 100644

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

drivers/misc/cxl/pci.c +30 -9
index b66d832d3233..787a69a2a726 100644

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

drivers/misc/mei/bus.c +10 -11
index fc3872fe7b25..c383322ec2ba 100644

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

drivers/misc/mei/hbm.c +7 -0
index e56f3e72d57a..d39cc2909474 100644

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

drivers/mmc/core/core.c +2 -2
index d4f9bfbaf023..6600b3466dfb 100644

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

drivers/mmc/host/sdhci-esdhc-imx.c +1 -0
index 753973dc1655..8dae12b841b3 100644

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

drivers/net/can/flexcan.c +1 -1
index ae219b8a7754..2646faffd36e 100644

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

drivers/net/dsa/bcm_sf2.c +7 -5
index fc8b48adf38b..2fa2caf7a746 100644

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

drivers/net/ethernet/atheros/atlx/atl2.c +1 -3
index bb41becb6609..31ff1e0d1baa 100644

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

drivers/net/ethernet/broadcom/bcmsysport.c +4 -0
index fc16b2b0d0e9..0bdbc72605e1 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt.c +2 -2
index 1fdaf86bbe8f..0bd93bb7d1a2 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -1
index bde384630a75..cf2d4a6583d5 100644

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

drivers/net/ethernet/cavium/thunder/nic_main.c +1 -1
index 6c8dcb65ff03..90497a27df18 100644

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

drivers/net/ethernet/cavium/thunder/nicvf_main.c +20 -7
index 88f8a8fa93cd..9800738448ec 100644

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

drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c +2 -0
index 3b9e74be5fbd..b8155f5e71b4 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +5 -2
index 6cdd58d9d461..410d5d3aa393 100644

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

drivers/net/ethernet/marvell/mv643xx_eth.c +6 -1
index 62f204f32316..59007d6cd36d 100644

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

drivers/net/ethernet/marvell/mvneta.c +1 -1
index a78a39244b79..2ba0d89aaf3c 100644

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

drivers/net/ethernet/netronome/nfp/bpf/jit.c +6 -11
index eff57f7d056a..4e18d95e548f 100644

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

drivers/net/ethernet/qlogic/qed/qed_iwarp.c +15 -6
index e860bdf0f752..b7471e48db7b 100644

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

drivers/net/ethernet/qlogic/qed/qed_iwarp.h +0 -1
index b8f612d00241..7ac959038324 100644

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

drivers/net/usb/qmi_wwan.c +2 -2
index 6e381354f658..74bebbdb4b15 100644

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

drivers/net/wireless/mac80211_hwsim.c +1 -1
index 4ca6592f5b3a..7cd428c0af43 100644

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

drivers/net/wireless/marvell/libertas_tf/if_usb.c +0 -2
index 789337ea676a..6ede6168bd85 100644

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

drivers/nvdimm/label.c +18 -5
index 1d28cd656536..1eeb7be6aa34 100644

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

drivers/nvdimm/namespace_devs.c +4 -0
index 4a4266250c28..54d79837f7c6 100644

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

drivers/nvdimm/pfn_devs.c +2 -2
index 7fe84bfe0878..3ee995a3bfc9 100644

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

drivers/parport/parport_pc.c +1 -1
index 380916bff9e0..dee5b9e35ffd 100644

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

drivers/pci/controller/dwc/pcie-designware-host.c +1 -1
index 0fa9e8fdce66..b56e22262a77 100644

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

drivers/pci/pcie/dpc.c +26 -1
index f03279fc87cd..1908dd2978d3 100644

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

drivers/pci/probe.c +23 -13
index 201f9e5ff55c..4a4c16bfc0d3 100644

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

drivers/pinctrl/meson/pinctrl-meson8b.c +1 -1
index 91cffc051055..ead4beb5f55f 100644

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

drivers/power/supply/cpcap-charger.c +1 -0
index e4905bef2663..37be541e057d 100644

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

drivers/regulator/max77620-regulator.c +9 -1
index b94e3a721721..cd93cf53e23c 100644

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

drivers/regulator/s2mpa01.c +5 -5
index 095d25f3d2ea..58a1fe583a6c 100644

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

drivers/regulator/s2mps11.c +3 -3
index 5bb6f4ca48db..c584bd1ffa9c 100644

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

drivers/s390/block/dasd_eckd.c +8 -0
index 4e7b55a14b1a..6e294b4d3635 100644

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

drivers/s390/virtio/virtio_ccw.c +3 -1
index b67dc4974f23..ec54538f7ae1 100644

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

drivers/scsi/aacraid/linit.c +8 -5
index 04443577d48b..1046947064a0 100644

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

drivers/scsi/libiscsi.c +6 -0
index f78d2e5c1471..4ad61cfa69c0 100644

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

drivers/scsi/qla2xxx/qla_init.c +10 -7
index 5352c9bbcaf7..f84f9bf15027 100644

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

drivers/scsi/sd.c +50 -9

59 lines not on this page · raw message

drivers/scsi/virtio_scsi.c +0 -2
index 1c72db94270e..3d331a864b2f 100644

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

drivers/soc/qcom/rpmh.c +21 -13
index c7beb6841289..ab8f731a3426 100644

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

drivers/spi/spi-pxa2xx.c +1 -0
index 14f4ea59caff..b624f6fb04ce 100644

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

drivers/spi/spi-ti-qspi.c +3 -3
index 5f19016bbf10..b9fb6493cd6b 100644

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

drivers/staging/media/imx/imx-ic-prpencvf.c +17 -9
index 28f41caba05d..fb442499f806 100644

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

drivers/staging/media/imx/imx-media-csi.c +27 -15

42 lines not on this page · raw message

drivers/target/iscsi/iscsi_target.c +2 -2
index cc756a123fd8..03e9cb156df9 100644

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

drivers/tty/serial/8250/8250_of.c +4 -0
index 877fd7f8a8ed..98125de2f0a6 100644

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

drivers/tty/serial/8250/8250_pci.c +123 -18

141 lines not on this page · raw message

drivers/tty/serial/xilinx_uartps.c +7 -1
index 87d8dd90d605..0e3627289047 100644

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

drivers/tty/vt/vt.c +7 -8
index da335899527b..b9a9a07f1ee9 100644

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

drivers/usb/chipidea/ci_hdrc_tegra.c +1 -0
index 772851bee99b..12025358bb3c 100644

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

drivers/usb/typec/tps6598x.c +20 -6
index c84c8c189e90..eb8046f87a54 100644

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

fs/9p/v9fs_vfs.h +21 -2
index 5a0db6dec8d1..aaee1e6584e6 100644

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

fs/9p/vfs_file.c +5 -1
index ab3d5f5dbb00..c87e6d6ec069 100644

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

fs/9p/vfs_inode.c +11 -12
index 85ff859d3af5..72b779bc0942 100644

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

fs/9p/vfs_inode_dotl.c +14 -13
index 4823e1c46999..a950a927a626 100644

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

fs/9p/vfs_super.c +2 -2
index 48ce50484e80..eeab9953af89 100644

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

fs/btrfs/acl.c +9 -0
index 3b66c957ea6f..5810463dc6d2 100644

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

fs/btrfs/disk-io.c +8 -0
index d96d1390068a..b4f61a3d560a 100644

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

fs/btrfs/extent_io.c +2 -2
index 79f82f2ec4d5..90b0a6eff535 100644

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

fs/btrfs/volumes.c +2 -2
index 285f64f2de5f..c13f62182513 100644

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

fs/cifs/cifsglob.h +19 -0
index 9dcaed031843..80f33582059e 100644

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

fs/cifs/file.c +7 -5
index 23db881daab5..08761a6a039d 100644

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

fs/cifs/smb2misc.c +14 -3
index 7b8b58fb4d3f..58700d2ba8cd 100644

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

fs/cifs/smb2ops.c +25 -3
index 237d7281ada3..d4d7d61a6fe2 100644

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

fs/cifs/smb2transport.c +12 -2
index 7b351c65ee46..63264db78b89 100644

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

fs/cifs/transport.c +5 -1
index 66348b3d28e6..f2938bd95c40 100644

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

fs/devpts/inode.c +1 -0
index c53814539070..553a3f3300ae 100644

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

fs/ext2/super.c +25 -14
index 0c38e31ec938..364e647d87c0 100644

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

fs/ext4/ext4.h +3 -0
index 032cf9b92665..2ddf7833350d 100644

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

fs/ext4/ioctl.c +73 -27

100 lines not on this page · raw message

fs/ext4/resize.c +2 -1
index 48421de803b7..3d9b18505c0c 100644

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

fs/jbd2/transaction.c +20 -13
index c0b66a7a795b..914e725c82c4 100644

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

fs/kernfs/mount.c +6 -2
index ff2716f9322e..0b22c39dad47 100644

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

fs/nfs/nfs4idmap.c +17 -14
index 3f23b6840547..bf34ddaa2ad7 100644

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

fs/nfs/nfs4proc.c +8 -4
index 8220a168282e..e7abcf7629b3 100644

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

fs/nfs/pagelist.c +22 -7
index 3dbd15b47c27..0ec6bce3dd69 100644

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

fs/nfs/write.c +6 -5
index d790faff8e47..51d0b7913c04 100644

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

fs/nfsd/nfs3proc.c +14 -2
index 9eb8086ea841..c9cf46e0c040 100644

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

fs/nfsd/nfs3xdr.c +1 -0
index 9b973f4f7d01..83919116d5cb 100644

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

fs/nfsd/nfs4state.c +4 -4
index 9c6d1d57b598..bec75600e692 100644

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

fs/nfsd/nfsctl.c +1 -1
index 39b835d7c445..cb69660d0779 100644

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

fs/overlayfs/copy_up.c +44 -15

59 lines not on this page · raw message

fs/overlayfs/overlayfs.h +2 -0
index a3c0d9584312..d9c16ceebfe7 100644

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

fs/overlayfs/util.c +35 -20

55 lines not on this page · raw message

fs/pipe.c +14 -0
index bdc5d3c0977d..c51750ed4011 100644

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

fs/splice.c +4 -0
index b3daa971f597..29e92b506394 100644

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

include/asm-generic/vmlinux.lds.h +1 -1
index d7701d466b60..dd38c97933f1 100644

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

include/keys/request_key_auth-type.h new file +36 -0
new file mode 100644
index 000000000000..a726dd3f1dc6

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

include/kvm/arm_vgic.h +1 -1
index 4f31f96bbfab..90ac450745f1 100644

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

include/linux/device-mapper.h +1 -1
index 6fb0808e87c8..bef2e36c01b4 100644

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

include/linux/hardirq.h +7 -0
index 0fbbcdf0c178..da0af631ded5 100644

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

include/linux/key-type.h +6 -16
index 05d8fb5a06c4..d3c5ae8ad498 100644

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

include/linux/kvm_host.h +1 -1
index a03d5e264e5e..23c242a7ac52 100644

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

include/linux/pipe_fs_i.h +1 -0
index 5a3bb3b7c9ad..3ecd7ea212ae 100644

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

include/linux/property.h +1 -1
index ac8a1ebc4c1b..1a12364050d8 100644

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

include/linux/skbuff.h +6 -0
index a404d475acee..820903ceac4f 100644

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

include/net/phonet/pep.h +3 -2
index b669fe6dbc3b..98f31c7ea23d 100644

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

init/main.c +2 -1
index 18f8f0140fa0..e083fac08aed 100644

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

kernel/bpf/lpm_trie.c +1 -0
index 9058317ba9de..4f3138e6ecb2 100644

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

kernel/bpf/stackmap.c +7 -1
index 6a32933cae4f..7cb7a7f98a37 100644

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

kernel/cgroup/cgroup.c +6 -3
index e578c3999970..e710ac7fbbbf 100644

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

kernel/rcu/tree.c +14 -6
index 15301ed19da6..f7e89c989df7 100644

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

kernel/sysctl.c +10 -1
index 32dea29d05a0..3b86acd5de4e 100644

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

kernel/trace/trace.c +0 -1
index 17bd0c0dfa98..1f96b292df31 100644

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

kernel/trace/trace_event_perf.c +7 -9
index 69a3fe926e8c..e6945b55c688 100644

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

kernel/trace/trace_events_hist.c +3 -2
index eb908ef2ecec..11853e90b649 100644

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

lib/assoc_array.c +5 -3
index c6659cb37033..59875eb278ea 100644

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

mm/gup.c +2 -1
index 1abc8b4afff6..0a5374e6e82d 100644

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

mm/memory-failure.c +6 -8
index d9b8a2490633..6edc6db5ec1b 100644

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

mm/memory.c +4 -1
index 281172540a9c..5b3f71bcd1ae 100644

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

mm/page_alloc.c +4 -4
index a9de1dbb9a6c..ef99971c13dd 100644

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

mm/page_ext.c +1 -3
index a9826da84ccb..4961f13b6ec1 100644

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

mm/shmem.c +8 -4
index b6cf0e8e685b..3c8742655756 100644

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

mm/swap.c +10 -7
index 26fc9b5f1b6c..a3fc028e338e 100644

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

mm/vmalloc.c +1 -1
index a728fc492557..91a789a46b12 100644

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

net/9p/client.c +1 -1
index 75b7bf7c7f07..23ec6187dc07 100644

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

net/core/filter.c +4 -8
index bed9061102f4..eb81e9db4093 100644

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

net/ipv4/esp4.c +1 -1
index 97689012b357..12a43a5369a5 100644

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

net/ipv4/netfilter/ipt_CLUSTERIP.c +1 -1
index 3cd237b42f44..2fa196325988 100644

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

net/ipv6/esp6.c +1 -1
index 88a7579c23bd..a7d996148eed 100644

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

net/key/af_key.c +15 -25
index 9d61266526e7..7da629d59717 100644

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

net/mac80211/agg-tx.c +3 -1
index 69e831bc317b..54821fb1a960 100644

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

net/mac80211/util.c +5 -1
index 716cd6442d86..3deaa01ebee4 100644

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

net/netfilter/ipvs/Kconfig +1 -0
index cad48d07c818..8401cefd9f65 100644

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

net/netfilter/ipvs/ip_vs_core.c +4 -6
index 7ca926a03b81..3f963ea22277 100644

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

net/netfilter/ipvs/ip_vs_ctl.c +10 -0
index 55a77314340a..8fd8d06454d6 100644

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

net/netfilter/x_tables.c +1 -1
index aecadd471e1d..13e1ac333fa4 100644

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

net/phonet/pep.c +16 -16
index 9fc76b19cd3c..db3473540303 100644

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

net/sunrpc/svcsock.c +10 -10
index 97a8282955a8..8566531c2f10 100644

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

net/sunrpc/xprtrdma/verbs.c +2 -1
index 3d6bf790cf1f..5ddbf227e7c6 100644

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

net/xfrm/xfrm_interface.c +2 -2
index 6f05e831a73e..82723ef44db3 100644

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

net/xfrm/xfrm_policy.c +3 -1
index 6ea8036fcdbe..bf5d59270f79 100644

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

scripts/kallsyms.c +2 -2
index a9186a98a37d..0c9c54b57515 100644

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

security/keys/internal.h +1 -12
index 9f8208dc0e55..a02742621c8d 100644

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

security/keys/keyctl.c +1 -0
index 1ffe60bb2845..ca31af186abd 100644

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

security/keys/process_keys.c +1 -0
index d5b25e535d3a..d776d2114651 100644

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

security/keys/request_key.c +29 -43

72 lines not on this page · raw message

security/keys/request_key_auth.c +9 -7
index 6797843154f0..5e515791ccd1 100644

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

security/selinux/hooks.c +7 -1
index 3c3878f0d2fa..6ea3d3aa1a1e 100644

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

sound/soc/codecs/pcm186x.c +4 -4
index 690c26e7389e..3be0e1478d7d 100644

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

sound/soc/codecs/rt5682.c +2 -0
index afe7d5b19313..79ebcc239786 100644

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

sound/soc/fsl/fsl_esai.c +4 -3
index c1d1d06783e5..4daefa5b150a 100644

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

sound/soc/samsung/i2s.c +5 -5
index d6c62aa13041..ce00fe2f6aae 100644

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

sound/soc/sh/rcar/ssi.c +1 -1
index a566dae3ec8a..9410e0a9b14b 100644

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

sound/soc/soc-dapm.c +24 -0
index 653706945222..9b78fb3daa7b 100644

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

sound/soc/soc-topology.c +7 -1
index 66e77e020745..88a7e860b175 100644

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

tools/perf/util/auxtrace.c +2 -2
index db1511359c5e..40c93d8158b5 100644

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

tools/perf/util/auxtrace.h +3 -0
index 71fc3bd74299..136c5f95f9bf 100644

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

tools/perf/util/intel-pt-decoder/intel-pt-decoder.c +34 -3
index d404bed7003a..f3db68abbd9a 100644

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

tools/perf/util/intel-pt.c +2 -0
index 4f48bc11a29c..ff2c41ea94c8 100644

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

tools/perf/util/symbol.c +2 -0
index d188b7588152..0715f972a275 100644

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

tools/testing/selftests/bpf/test_lpm_map.c +10 -0
index 147e34cfceb7..02d7c871862a 100644

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

tools/testing/selftests/net/fib_tests.sh +1 -0
index 0f45633bd634..a4ccde0e473b 100755

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

virt/kvm/arm/arm.c +10 -0
index 91495045ad5a..1415e36fed3d 100644

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

virt/kvm/arm/mmu.c +1 -1
index 2f405b0be25c..1344557a7085 100644

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

virt/kvm/arm/psci.c +16 -20
index 9b73d3ad918a..34d08ee63747 100644

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

virt/kvm/arm/vgic/vgic-init.c +15 -9
index c0c0b88af1d5..8196e4f8731f 100644

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

virt/kvm/arm/vgic/vgic-its.c +4 -4
index 12502251727e..f376c82afb61 100644

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

virt/kvm/arm/vgic/vgic.c +5 -5
index f884a54b2601..c5165e3b80cb 100644

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

virt/kvm/kvm_main.c +5 -2
index 0ffb02ff5234..c436d95fd7aa 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.