Linux 4.14.45
Greg KH
maintainerI'm announcing the release of the 4.14.45 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.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/devicetree/bindings/clock/sunxi-ccu.txt | 4 Documentation/devicetree/bindings/dma/mv-xor-v2.txt | 6 Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt | 5 Makefile | 2 arch/alpha/include/asm/xchg.h | 30 - arch/arc/Kconfig | 1 arch/arc/include/asm/bug.h | 3 arch/arc/kernel/mcip.c | 74 ++- arch/arc/kernel/smp.c | 50 +- arch/arm/boot/dts/at91-tse850-3.dts | 2 arch/arm/boot/dts/bcm2836.dtsi | 2 arch/arm/boot/dts/bcm2837.dtsi | 2 arch/arm/boot/dts/bcm283x.dtsi | 6 arch/arm/boot/dts/bcm958625hr.dts | 2 arch/arm/boot/dts/dra71-evm.dts | 4 arch/arm/boot/dts/imx6dl-icore-rqs.dts | 2 arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 52 +- arch/arm/boot/dts/r8a7791-porter.dts | 2 arch/arm/boot/dts/rk3036.dtsi | 4 arch/arm/boot/dts/rk322x.dtsi | 6 arch/arm/boot/dts/rk3288.dtsi | 2 arch/arm/boot/dts/socfpga.dtsi | 2 arch/arm/include/asm/vdso.h | 2 arch/arm/kernel/vdso.c | 12 arch/arm/mach-davinci/board-omapl138-hawk.c | 4 arch/arm/mach-omap1/clock.c | 6 arch/arm/mach-omap2/omap-wakeupgen.c | 4 arch/arm/mach-omap2/pm.c | 4 arch/arm/mach-omap2/timer.c | 19 arch/arm/mach-orion5x/Kconfig | 3 arch/arm/mach-orion5x/dns323-setup.c | 53 ++ arch/arm/mach-orion5x/tsx09-common.c | 49 +- arch/arm/plat-omap/dmtimer.c | 7 arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 3 arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 5 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 2 arch/arm64/include/asm/atomic_lse.h | 24 - arch/arm64/include/asm/stacktrace.h | 2 arch/arm64/kernel/cpu_errata.c | 4 arch/arm64/kernel/perf_event.c | 4 arch/arm64/kernel/stacktrace.c | 5 arch/arm64/kernel/time.c | 2 arch/cris/include/arch-v10/arch/bug.h | 11 arch/ia64/include/asm/bug.h | 6 arch/ia64/kernel/err_inject.c | 2 arch/m68k/coldfire/device.c | 12 arch/m68k/include/asm/bug.h | 3 arch/mips/cavium-octeon/octeon-irq.c | 10 arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 2 arch/mips/include/asm/machine.h | 2 arch/mips/kernel/ptrace.c | 22 arch/mips/kernel/ptrace32.c | 4 arch/mips/kvm/mips.c | 2 arch/mips/mm/c-r4k.c | 9 arch/powerpc/boot/Makefile | 3 arch/powerpc/include/asm/exception-64s.h | 29 + arch/powerpc/include/asm/feature-fixups.h | 19 arch/powerpc/include/asm/hvcall.h | 3 arch/powerpc/include/asm/irq_work.h | 1 arch/powerpc/include/asm/paca.h | 3 arch/powerpc/include/asm/security_features.h | 85 +++ arch/powerpc/include/asm/setup.h | 2 arch/powerpc/kernel/Makefile | 2 arch/powerpc/kernel/asm-offsets.c | 3 arch/powerpc/kernel/cpu_setup_power.S | 6 arch/powerpc/kernel/dt_cpu_ftrs.c | 1 arch/powerpc/kernel/exceptions-64s.S | 95 ++-- arch/powerpc/kernel/idle_book3s.S | 2 arch/powerpc/kernel/security.c | 237 ++++++++++ arch/powerpc/kernel/setup_64.c | 48 -- arch/powerpc/kernel/traps.c | 47 + arch/powerpc/kernel/vmlinux.lds.S | 14 arch/powerpc/lib/feature-fixups.c | 124 +++++ arch/powerpc/net/bpf_jit_comp.c | 3 arch/powerpc/perf/core-book3s.c | 25 + arch/powerpc/platforms/powernv/npu-dma.c | 229 +++++---- arch/powerpc/platforms/powernv/setup.c | 92 ++- arch/powerpc/platforms/pseries/mobility.c | 3 arch/powerpc/platforms/pseries/pseries.h | 2 arch/powerpc/platforms/pseries/setup.c | 81 ++- arch/powerpc/sysdev/mpic.c | 2 arch/powerpc/xmon/xmon.c | 2 arch/s390/kvm/vsie.c | 2 arch/sh/kernel/entry-common.S | 2 arch/sparc/include/asm/atomic_64.h | 6 arch/sparc/include/asm/bug.h | 6 arch/x86/events/core.c | 15 arch/x86/events/intel/core.c | 12 arch/x86/events/intel/ds.c | 117 ++++ arch/x86/events/perf_event.h | 2 arch/x86/include/asm/alternative.h | 4 arch/x86/include/asm/tlbflush.h | 7 arch/x86/kernel/apic/apic.c | 2 arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1 arch/x86/kernel/devicetree.c | 21 arch/x86/kernel/smpboot.c | 1 arch/x86/kvm/cpuid.c | 9 arch/x86/kvm/lapic.c | 26 - arch/x86/kvm/vmx.c | 27 - arch/x86/kvm/x86.c | 5 arch/x86/mm/pageattr.c | 6 arch/x86/mm/pgtable.c | 9 block/partition-generic.c | 6 crypto/asymmetric_keys/pkcs7_trust.c | 1 drivers/acpi/acpi_pad.c | 3 drivers/acpi/acpica/evevent.c | 9 drivers/acpi/acpica/nseval.c | 8 drivers/acpi/acpica/psargs.c | 4 drivers/ata/libata-core.c | 6 drivers/ata/libata-scsi.c | 2 drivers/base/regmap/regmap.c | 2 drivers/block/nbd.c | 2 drivers/block/null_blk.c | 46 + drivers/block/paride/pcd.c | 2 drivers/block/xen-blkfront.c | 17 drivers/cdrom/cdrom.c | 3 drivers/cdrom/gdrom.c | 3 drivers/char/hw_random/stm32-rng.c | 9 drivers/char/ipmi/ipmi_ssif.c | 4 drivers/clocksource/fsl_ftm_timer.c | 2 drivers/clocksource/mips-gic-timer.c | 2 drivers/cpufreq/cppc_cpufreq.c | 23 drivers/cpufreq/cpufreq.c | 6 drivers/dma/mv_xor_v2.c | 25 - drivers/dma/pl330.c | 6 drivers/dma/qcom/bam_dma.c | 27 - drivers/dma/sh/rcar-dmac.c | 11 drivers/firmware/dmi_scan.c | 2 drivers/firmware/efi/arm-runtime.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 33 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 8 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 5 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 3 drivers/gpu/drm/ast/ast_tables.h | 4 drivers/gpu/drm/bridge/sii902x.c | 20 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 6 drivers/gpu/drm/exynos/regs-fimc.h | 2 drivers/gpu/drm/imx/ipuv3-crtc.c | 5 drivers/gpu/drm/meson/meson_crtc.c | 6 drivers/gpu/drm/meson/meson_drv.c | 29 - drivers/gpu/drm/meson/meson_drv.h | 3 drivers/gpu/drm/meson/meson_plane.c | 7 drivers/gpu/drm/nouveau/nouveau_backlight.c | 10 drivers/gpu/drm/omapdrm/dss/dss.c | 193 ++++---- drivers/gpu/drm/panel/panel-simple.c | 2 drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 18 drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 7 drivers/gpu/drm/sun4i/sun4i_dotclock.c | 5 drivers/gpu/drm/tegra/drm.c | 1 drivers/gpu/drm/virtio/virtgpu_ioctl.c | 17 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h | 25 - drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 31 - drivers/gpu/ipu-v3/ipu-pre.c | 3 drivers/gpu/ipu-v3/ipu-prg.c | 15 drivers/hwmon/nct6775.c | 10 drivers/hwmon/pmbus/adm1275.c | 4 drivers/hwmon/pmbus/max8688.c | 2 drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 drivers/hwtracing/intel_th/core.c | 2 drivers/i2c/busses/i2c-mv64xxx.c | 8 drivers/ide/ide-cd.c | 2 drivers/infiniband/core/multicast.c | 26 - drivers/infiniband/core/rdma_core.c | 5 drivers/infiniband/core/sa_query.c | 7 drivers/infiniband/core/ucma.c | 2 drivers/infiniband/core/umem.c | 7 drivers/infiniband/core/uverbs_ioctl.c | 3 drivers/infiniband/core/uverbs_ioctl_merge.c | 18 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 24 - drivers/infiniband/hw/bnxt_re/main.c | 10 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 6 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 1 drivers/infiniband/hw/bnxt_re/qplib_sp.c | 3 drivers/infiniband/hw/bnxt_re/roce_hsi.h | 25 + drivers/infiniband/hw/hfi1/chip.c | 4 drivers/infiniband/hw/mlx4/cq.c | 4 drivers/infiniband/hw/mlx4/main.c | 11 drivers/infiniband/hw/mlx5/cq.c | 3 drivers/infiniband/hw/mlx5/main.c | 3 drivers/infiniband/hw/mlx5/qp.c | 4 drivers/infiniband/hw/qedr/main.c | 3 drivers/infiniband/hw/qedr/verbs.c | 58 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 2 drivers/iommu/amd_iommu.c | 2 drivers/iommu/mtk_iommu.c | 15 drivers/iommu/mtk_iommu.h | 1 drivers/macintosh/rack-meter.c | 4 drivers/md/bcache/request.c | 2 drivers/md/bcache/writeback.c | 20 drivers/md/md.c | 49 +- drivers/md/md.h | 2 drivers/md/raid1.c | 11 drivers/md/raid10.c | 14 drivers/md/raid5.c | 15 drivers/misc/cxl/cxl.h | 4 drivers/misc/cxl/native.c | 11 drivers/misc/cxl/pci.c | 19 drivers/mmc/host/sdhci-iproc.c | 33 + drivers/net/bonding/bond_main.c | 6 drivers/net/can/m_can/m_can.c | 7 drivers/net/dsa/Makefile | 5 drivers/net/dsa/mt7530.c | 1 drivers/net/ethernet/broadcom/bgmac.c | 3 drivers/net/ethernet/broadcom/bgmac.h | 6 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 1 drivers/net/ethernet/cisco/enic/enic_main.c | 10 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 23 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 2 drivers/net/ethernet/freescale/fman/fman_dtsec.c | 2 drivers/net/ethernet/freescale/gianfar.c | 7 drivers/net/ethernet/ibm/ibmvnic.c | 42 + drivers/net/ethernet/intel/e1000e/ich8lan.c | 2 drivers/net/ethernet/intel/e1000e/mac.c | 2 drivers/net/ethernet/intel/e1000e/netdev.c | 4 drivers/net/ethernet/intel/i40e/i40e_main.c | 11 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 drivers/net/ethernet/marvell/mvneta.c | 1 drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 2 drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 3 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h | 20 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 8 drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 1 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c | 2 drivers/net/ethernet/qlogic/qed/qed_cxt.c | 5 drivers/net/ethernet/qlogic/qed/qed_rdma.c | 1 drivers/net/ethernet/qlogic/qede/qede_fp.c | 20 drivers/net/ethernet/qualcomm/emac/emac-mac.c | 23 drivers/net/ethernet/renesas/sh_eth.c | 6 drivers/net/ethernet/renesas/sh_eth.h | 1 drivers/net/ethernet/smsc/smsc911x.c | 4 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 16 drivers/net/ethernet/sun/sunvnet.c | 2 drivers/net/hyperv/netvsc.c | 2 drivers/net/hyperv/netvsc_drv.c | 51 +- drivers/net/hyperv/rndis_filter.c | 20 drivers/net/ieee802154/ca8210.c | 14 drivers/net/macvlan.c | 2 drivers/net/phy/dp83640.c | 18 drivers/net/usb/lan78xx.c | 44 + drivers/net/usb/qmi_wwan.c | 1 drivers/net/usb/r8152.c | 2 drivers/net/usb/smsc75xx.c | 7 drivers/net/virtio_net.c | 4 drivers/net/wireless/ath/ath10k/mac.c | 12 drivers/net/wireless/ath/ath9k/common-spectral.c | 12 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h | 4 drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 13 drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 3 drivers/net/wireless/intel/iwlwifi/fw/runtime.h | 3 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 5 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 3 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 54 +- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 3 drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 8 drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 28 - drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 39 - drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 107 ++-- drivers/net/wireless/intel/iwlwifi/mvm/time-event.c | 21 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 23 drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 11 drivers/net/wireless/rsi/rsi_91x_sdio.c | 32 - drivers/net/wireless/rsi/rsi_sdio.h | 2 drivers/nvme/host/fabrics.c | 4 drivers/nvme/host/pci.c | 27 - drivers/nvme/target/core.c | 9 drivers/parisc/lba_pci.c | 20 drivers/pci/pci-driver.c | 17 drivers/pci/quirks.c | 3 drivers/pcmcia/cs.c | 10 drivers/pcmcia/cs_internal.h | 1 drivers/phy/qualcomm/phy-qcom-qmp.c | 4 drivers/phy/rockchip/phy-rockchip-emmc.c | 27 - drivers/pinctrl/devicetree.c | 6 drivers/pinctrl/pinctrl-mcp23s08.c | 37 + drivers/pinctrl/qcom/pinctrl-msm.c | 2 drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 40 - drivers/power/supply/ltc2941-battery-gauge.c | 8 drivers/power/supply/max17042_battery.c | 1 drivers/regulator/gpio-regulator.c | 16 drivers/regulator/of_regulator.c | 1 drivers/remoteproc/imx_rproc.c | 6 drivers/s390/block/dasd.c | 21 drivers/s390/cio/device_fsm.c | 7 drivers/s390/cio/device_ops.c | 72 +-- drivers/s390/cio/io_sch.h | 1 drivers/s390/cio/vfio_ccw_fsm.c | 5 drivers/scsi/sr.c | 21 drivers/scsi/sr_ioctl.c | 10 drivers/soc/imx/gpc.c | 10 drivers/soc/qcom/wcnss_ctrl.c | 2 drivers/spi/spi-bcm-qspi.c | 4 drivers/usb/host/pci-quirks.c | 109 ++++ drivers/usb/host/pci-quirks.h | 5 drivers/usb/host/xhci-hub.c | 7 drivers/usb/host/xhci-pci.c | 11 drivers/usb/host/xhci.h | 2 drivers/video/fbdev/sbuslib.c | 4 drivers/watchdog/asm9260_wdt.c | 8 drivers/watchdog/aspeed_wdt.c | 13 drivers/watchdog/davinci_wdt.c | 15 drivers/watchdog/dw_wdt.c | 23 drivers/watchdog/f71808e_wdt.c | 3 drivers/watchdog/sbsa_gwdt.c | 3 drivers/xen/events/events_base.c | 4 drivers/xen/pvcalls-back.c | 2 drivers/xen/swiotlb-xen.c | 2 drivers/xen/xen-acpi-processor.c | 6 drivers/xen/xenbus/xenbus_probe.c | 5 drivers/zorro/zorro.c | 12 fs/affs/namei.c | 10 fs/aio.c | 4 fs/btrfs/ctree.h | 2 fs/btrfs/disk-io.c | 5 fs/btrfs/extent-tree.c | 1 fs/btrfs/inode.c | 16 fs/btrfs/send.c | 3 fs/btrfs/super.c | 2 fs/btrfs/tests/qgroup-tests.c | 2 fs/btrfs/transaction.c | 10 fs/btrfs/tree-log.c | 77 ++- fs/ceph/super.c | 27 - fs/dcache.c | 32 + fs/ecryptfs/inode.c | 3 fs/ext2/namei.c | 6 fs/ext4/namei.c | 6 fs/ext4/super.c | 12 fs/f2fs/checkpoint.c | 2 fs/f2fs/extent_cache.c | 3 fs/f2fs/file.c | 8 fs/f2fs/namei.c | 12 fs/fscache/page.c | 13 fs/gfs2/file.c | 5 fs/gfs2/quota.h | 2 fs/jffs2/dir.c | 12 fs/jfs/namei.c | 12 fs/nfs/nfs4client.c | 6 fs/nilfs2/namei.c | 6 fs/ocfs2/dlm/dlmdomain.c | 14 fs/ocfs2/dlm/dlmdomain.h | 25 + fs/ocfs2/dlm/dlmrecovery.c | 9 fs/orangefs/namei.c | 9 fs/proc/proc_sysctl.c | 3 fs/reiserfs/namei.c | 12 fs/super.c | 30 + fs/udf/namei.c | 6 fs/udf/super.c | 5 fs/ufs/namei.c | 6 fs/xfs/xfs_discard.c | 14 include/asm-generic/bug.h | 1 include/linux/bio.h | 4 include/linux/compiler-gcc.h | 15 include/linux/compiler.h | 5 include/linux/dcache.h | 1 include/linux/if_vlan.h | 79 ++- include/linux/kvm_host.h | 3 include/linux/ptr_ring.h | 2 include/net/ip.h | 11 include/net/ip_fib.h | 1 include/net/llc_conn.h | 2 include/net/mac80211.h | 2 include/net/regulatory.h | 2 include/net/route.h | 3 include/rdma/ib_umem.h | 1 include/soc/arc/mcip.h | 5 include/uapi/drm/virtgpu_drm.h | 1 include/uapi/linux/if_ether.h | 1 ipc/shm.c | 19 kernel/audit.c | 2 kernel/debug/kdb/kdb_main.c | 27 - kernel/events/core.c | 70 ++ kernel/rcu/tree_plugin.h | 14 kernel/relay.c | 2 kernel/sched/rt.c | 2 kernel/sys.c | 2 kernel/workqueue.c | 2 lib/radix-tree.c | 4 lib/test_kmod.c | 2 mm/huge_memory.c | 5 mm/kasan/kasan.c | 66 ++ mm/khugepaged.c | 8 mm/kmemleak.c | 12 mm/ksm.c | 28 + mm/mempolicy.c | 3 mm/page_idle.c | 12 mm/page_owner.c | 6 mm/slab.c | 1 mm/swapfile.c | 4 mm/vmscan.c | 8 mm/vmstat.c | 2 mm/z3fold.c | 9 net/8021q/vlan_core.c | 4 net/batman-adv/bat_iv_ogm.c | 2 net/batman-adv/bat_v.c | 2 net/batman-adv/bridge_loop_avoidance.c | 22 net/batman-adv/distributed-arp-table.c | 2 net/batman-adv/fragmentation.c | 3 net/batman-adv/gateway_client.c | 5 net/batman-adv/multicast.c | 8 net/batman-adv/routing.c | 15 net/batman-adv/soft-interface.c | 8 net/bridge/netfilter/ebtables.c | 33 - net/ceph/ceph_common.c | 7 net/core/ethtool.c | 5 net/core/skbuff.c | 9 net/ipv4/ip_gre.c | 5 net/ipv4/ip_tunnel.c | 8 net/ipv4/ip_vti.c | 2 net/ipv4/netfilter/ipt_CLUSTERIP.c | 15 net/ipv4/route.c | 26 - net/ipv4/tcp_illinois.c | 2 net/ipv4/xfrm4_policy.c | 1 net/ipv6/ip6_tunnel.c | 12 net/ipv6/ip6_vti.c | 2 net/ipv6/sit.c | 7 net/llc/llc_c_ac.c | 15 net/llc/llc_conn.c | 32 - net/mac80211/agg-rx.c | 4 net/mac80211/ieee80211_i.h | 2 net/mac80211/mesh.c | 17 net/mac80211/rx.c | 2 net/mac80211/spectmgmt.c | 7 net/mac80211/sta_info.c | 3 net/netfilter/ipvs/ip_vs_ftp.c | 2 net/netlabel/netlabel_unlabeled.c | 10 net/nfc/llcp_commands.c | 4 net/nfc/netlink.c | 3 net/qrtr/smd.c | 1 net/rds/tcp_listen.c | 14 net/rxrpc/input.c | 15 net/rxrpc/recvmsg.c | 5 net/rxrpc/sendmsg.c | 4 net/sched/act_bpf.c | 2 net/sched/act_ipt.c | 9 net/sched/act_pedit.c | 2 net/sched/act_police.c | 2 net/sched/act_sample.c | 3 net/sched/act_simple.c | 2 net/sched/act_skbmod.c | 2 net/smc/smc_core.c | 1 net/smc/smc_ib.c | 10 net/smc/smc_llc.c | 2 net/smc/smc_wr.h | 1 net/tls/tls_main.c | 3 net/wireless/sme.c | 2 net/xfrm/xfrm_input.c | 6 net/xfrm/xfrm_output.c | 5 net/xfrm/xfrm_policy.c | 7 net/xfrm/xfrm_replay.c | 2 scripts/adjust_autoksyms.sh | 7 scripts/package/builddeb | 2 security/integrity/digsig.c | 1 security/integrity/ima/Kconfig | 1 security/integrity/ima/ima_crypto.c | 2 security/integrity/ima/ima_main.c | 13 sound/core/timer.c | 4 sound/core/vmaster.c | 5 tools/hv/hv_fcopy_daemon.c | 3 tools/hv/hv_vss_daemon.c | 1 tools/perf/Makefile.perf | 3 tools/perf/builtin-record.c | 9 tools/perf/builtin-stat.c | 9 tools/perf/builtin-top.c | 6 tools/perf/perf.h | 1 tools/perf/tests/dwarf-unwind.c | 46 + tools/perf/tests/shell/trace+probe_libc_inet_pton.sh | 6 tools/perf/tests/vmlinux-kallsyms.c | 2 tools/perf/ui/browsers/annotate.c | 9 tools/perf/util/c++/clang.cpp | 11 tools/perf/util/hist.c | 4 tools/perf/util/hist.h | 1 tools/perf/util/record.c | 8 tools/testing/radix-tree/idr-test.c | 7 tools/testing/selftests/Makefile | 1 tools/testing/selftests/bpf/test_maps.c | 2 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 46 + tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 97 ++++ tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc | 43 + tools/testing/selftests/futex/Makefile | 6 tools/testing/selftests/memfd/Makefile | 1 tools/testing/selftests/memfd/config | 1 tools/testing/selftests/net/psock_fanout.c | 3 tools/testing/selftests/powerpc/mm/subpage_prot.c | 14 tools/testing/selftests/pstore/config | 1 tools/testing/selftests/seccomp/seccomp_bpf.c | 61 ++ tools/testing/selftests/sync/Makefile | 2 tools/testing/selftests/vDSO/Makefile | 14 tools/testing/selftests/vm/run_vmtests | 25 - tools/thermal/tmon/sysfs.c | 12 tools/thermal/tmon/tmon.c | 1 virt/kvm/arm/vgic/vgic-mmio.c | 3 virt/kvm/arm/vgic/vgic.h | 1 502 files changed, 4726 insertions(+), 1694 deletions(-)
Aapo Vienamo (1):
ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet
Aaro Koskinen (1):
drivers: macintosh: rack-meter: really fix bogus memsets
Al Viro (3):
affs_lookup(): close a race with affs_remove_link()
aio: fix io_destroy(2) vs. lookup_ioctx() race do d_instantiate/unlock_new_inode combinations safely
Alexander Graf (1):
lan78xx: Connect phy early
Alexander Shishkin (1):
intel_th: Use correct method of finding hub
Alexey Dobriyan (1):
x86/alternatives: Fixup alternative_call_2
Alexey Khoroshilov (2):
watchdog: davinci_wdt: fix error handling in davinci_wdt_probe()
watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
Alexey Kodanev (1):
macvlan: fix use-after-free in macvlan_common_newlink()
Alistair Popple (1):
powerpc/powernv/npu: Fix deadlock in mmio_invalidate()
Amitkumar Karwar (1):
rsi: fix kernel panic observed on 64bit machine
Anders Roxell (3):
selftests: sync: missing CFLAGS while compiling
selftests: memfd: add config fragment for fuse selftests/memfd: add run_fuse_test.sh to TEST_FILES
Andre Przywara (1):
KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
Andrea Parri (2):
locking/xchg/alpha: Add unconditional memory barrier to cmpxchg() locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs
Andreas Gruenbacher (1):
gfs2: Fix fallocate chunk size
Andrei Otcheretianski (2):
iwlwifi: mvm: Fix channel switch for count 0 and 1
iwlwifi: mvm: Increase session protection time after CS
Andrey Ryabinin (1):
mm/kasan: don't vfree() nonexistent vm_area
Anilkumar Kolli (1):
ath10k: advertize beacon_int_min_gcd
Anshuman Khandual (1):
powerpc/fscr: Enable interrupts earlier before calling get_user()
Arjun Vynipadath (2):
cxgb4: Setup FW queues before registering netdev
cxgb4: Fix queue free path of ULD drivers
Arnd Bergmann (4):
drm/exynos: g2d: use monotonic timestamps
md: raid5: avoid string overflow warning bug.h: work around GCC PR82365 in BUG()
gpu: ipu-v3: prg: avoid possible array underflow
Arvind Yadav (2):
xen: xenbus: use put_device() instead of kfree()
workqueue: use put_device() instead of kfree()
Avraham Stern (4):
cfg80211: clear wep keys after disconnection
iwlwifi: mvm: clear tx queue id when unreserving aggregation queue
iwlwifi: mvm: make sure internal station has a valid id
iwlwifi: mvm: fix array out of bounds reference
Baoquan He (1):
x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified
Bartosz Golaszewski (1):
ARM: davinci: fix the GPIO lookup for omapl138-hawk
Ben Hutchings (1):
ALSA: timer: Fix pause event notification
Beni Lev (1):
iwlwifi: mvm: Correctly set IGTK for AP
Benjamin Poirier (1):
e1000e: Fix check_for_link return value with autoneg off
Bhavesh Davda (1):
xen-blkfront: move negotiate_mq to cover all cases of new VBDs
Bich HEMON (1):
can: m_can: select pinctrl state in each suspend/resume function
[email protected] (1):
nfs: system crashes after NFS4ERR_MOVED recovery
BingJing Chang (1):
md: fix a potential deadlock of raid5/raid10 reshape
Bjorn Andersson (2):
soc: qcom: wcnss_ctrl: Fix increment in NV upload
pinctrl: msm: Use dynamic GPIO numbering
Bob Moore (1):
ACPICA: Fix memory leak on unusual memory leak
Boris Pismenny (1):
tls: retrun the correct IV in getsockopt
Brian Norris (1):
watchdog: dw: RMW the control register
Carlos Maiolino (1):
Force log to disk before reading the AGF during a fstrim
Cathy Zhou (1):
sunvnet: does not support GSO for sctp
Chao Gao (1):
KVM: nVMX: Don't halt vcpu when L1 is injecting events to L2
Chao Yu (3):
f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range
f2fs: fix to clear CP_TRIMMED_FLAG
f2fs: fix to check extent cache in f2fs_drop_extent_tree
Charles Keepax (1):
regmap: Correct comparison in regmap_cached
Chengguang Xu (3):
libceph, ceph: avoid memory leak when specifying same option several times
ceph: fix dentry leak when failing to init debugfs
ceph: fix potential memory leak in init_caches()
Chien Tin Tung (1):
RDMA/ucma: Correct option size check using optlen
Christophe JAILLET (4):
remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()' drm/meson: Fix some error handling paths in 'meson_drv_bind_master()' drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
Christophe Jaillet (2):
regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
spi: bcm-qspi: fIX some error handling paths
Chunyu Hu (1):
cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
Claudio Imbrenda (1):
mm/ksm: fix interaction with THP
Claudiu Manoil (1):
gianfar: Fix Rx byte accounting for ndev stats
Colin Ian King (3):
KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
clocksource/drivers/fsl_ftm_timer: Fix error return checking
xen/pvcalls: fix null pointer dereference on map->sockColy Li (1):
bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
Cong Wang (1):
llc: properly handle dev_queue_xmit() return value
Cornelia Huck (1):
vfio-ccw: fence off transport mode
Corneliu Doban (2):
mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus
Dan Carpenter (2):
IB/mlx5: Fix an error code in __mlx5_ib_modify_qp() xen/acpi: off by one in read_acpi_id()
Daniel Díaz (1):
selftests/futex: Fix line continuation in Makefile
Danilo Krummrich (1):
fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table
Dave Airlie (1):
virtio-gpu: fix ioctl and expose the fixed status to userspace.
Dave Chinner (1):
fs: don't scan the inode cache before SB_BORN is set
Dave Hansen (1):
x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
David Hildenbrand (3):
kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
kasan: fix memory hotplug during boot
KVM: s390: vsie: fix < 8k check for the itdba
David Howells (4):
rxrpc: Work around usercopy check
fscache: Fix hanging wait on page discarded by writeback
rxrpc: Fix Tx ring annotation after initial Tx failure
rxrpc: Don't treat call aborts as conn aborts
David Rientjes (2):
kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE mm, thp: do not cause memcg oom for thp
David S. Miller (2):
ARM: orion5x: Revert commit 4904dbda41c8.
sparc64: Make atomic_xchg() an inline function rather than a macro.
David Vrabel (1):
x86/kvm: fix LAPIC timer drift when guest uses periodic mode
Davide Caratti (7):
net/sched: fix NULL dereference in the error path of tcf_sample_init() net/sched: fix idr leak on the error path of tcf_bpf_init() net/sched: fix idr leak in the error path of tcf_simp_init() net/sched: fix idr leak in the error path of tcf_act_police_init() net/sched: fix idr leak in the error path of tcp_pedit_init() net/sched: fix idr leak in the error path of __tcf_ipt_init() net/sched: fix idr leak in the error path of tcf_skbmod_init()
Davidlohr Bueso (4):
Revert "ipc/shm: Fix shmat mmap nil-page protection" ipc/shm: fix shmat() nil address after round-down when remapping ia64/err-inject: Use get_user_pages_fast()
sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning
Deepak Rawat (1):
drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
Denis Kirjanov (1):
fsl/fman: avoid sleeping in atomic context while adding an address
Devesh Sharma (3):
RDMA/bnxt_re: Unpin SQ and RQ memory if QP create fails RDMA/bnxt_re: Unconditionly fence non wire memory operations RDMA/bnxt_re: Fix incorrect DB offset calculation
Dexuan Cui (1):
tools: hv: fix compiler warnings about major/target_fname
Dominik Brodowski (1):
selftest/vDSO: fix O=
Dong Bo (1):
libata: Fix compile warning with ATA_DEBUG enabled
Douglas Anderson (1):
arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)
Edward Cree (1):
net: ethtool: don't ignore return from driver get_fecparam method
Emmanuel Grumbach (1):
iwlwifi: mvm: set the correct tid when we flush the MCAST sta
Eric Anholt (1):
drm/panel: simple: Fix the bus format for the Ontat panel
Eric Biggers (1):
PKCS#7: fix direct verification of SignerInfo signature
Eric Dumazet (2):
smsc75xx: fix smsc75xx_set_features()
r8152: fix tx packets accounting
Eric Sandeen (1):
ext4: don't complain about incorrect features when probing
Erik Schmauss (1):
ACPICA: Events: add a return on failure from acpi_hw_register_read
Esben Haabendal (1):
dp83640: Ensure against premature access to PHY registers after reset
Eugeniy Paltsev (3):
ARC: mcip: halt GFRC counter when ARC cores halt
ARC: mcip: update MCIP debug mask when the new cpu came online
ARC: setup cpu possible mask according to possible-cpus dts property
Felix Fietkau (3):
mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
mac80211: drop frames with unexpected DS bits from fast-rx to slow path clocksource/drivers/mips-gic-timer: Use correct shift count to extract data
Felix Kuehling (1):
drm/amdkfd: Fix scratch memory with HWS enabled
Filip Sadowski (1):
i40e: Add delay after EMP reset for firmware to recover
Filipe Manana (4):
Btrfs: send, fix issuing write op when processing hole in no data mode
Btrfs: fix log replay failure after linking special file and fsync
Btrfs: fix loss of prealloc extents past i_size after fsync log replay
Btrfs: fix copy_items() return value when logging an inode
Florian Fainelli (4):
ARM: dts: NSP: Fix amount of RAM on BCM958625HR
net: dsa: Fix functional dsa-loop dependency on FIXED_PHY
net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
net: bgmac: Correctly annotate register space
Florian Westphal (4):
netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount
netfilter: ipt_CLUSTERIP: put config instead of freeing it
netfilter: ebtables: convert BUG_ONs to WARN_ONs
netfilter: ebtables: fix erroneous reject of last rule
Frank Asseg (1):
tools/thermal: tmon: fix for segfault
Ganesh Goudar (1):
cxgb4: do not set needs_free_netdev for mgmt dev's
Geert Uytterhoeven (1):
ARM: OMAP1: clock: Fix debugfs_create_*() usage
Giulio Benetti (1):
drm/sun4i: Fix dclk_set_phase
Govindarajulu Varadarajan (1):
enic: enable rq before updating rq descriptors
Greg Kroah-Hartman (1):
Linux 4.14.45
Greg Ungerer (1):
m68k: set dma and coherent masks for platform FEC ethernets
Gregory CLEMENT (2):
dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
i2c: mv64xxx: Apply errata delay only in standard mode
Guenter Roeck (4):
powerpc/boot: Fix random libfdt related build errors
hwmon: (nct6775) Fix writing pwmX_mode
hwmon: (pmbus/max8688) Accept negative page register values
hwmon: (pmbus/adm1275) Accept negative page register values
Gustavo A. R. Silva (2):
kernel/sys.c: fix potential Spectre v1 issue
nbd: fix return value in error handling path
Harry Morris (1):
ieee802154: ca8210: fix uninitialised data read
Heinz Mauelshagen (1):
md: fix md_write_start() deadlock w/o metadata devices
Helge Deller (1):
parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
Hemanth Puranik (1):
net: qcom/emac: Use proper free methods during TX
Henry Zhang (1):
ARM: dts: bcm283x: Fix pin function of JTAG pins
Honggang Li (1):
IB/mlx5: Set the default active rate and width to QDR and 4X
Huang Ying (1):
mm: fix races between address_space dereference and free in page_evicatable
Icenowy Zheng (1):
dt-bindings: add device tree binding for Allwinner H6 main CCU
Ido Schimmel (2):
mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast
spectrum: Reference count VLAN entries
Igor Pylypiv (1):
watchdog: f71808e_wdt: Fix magic close handling
Ilan Peer (4):
mac80211: Do not disconnect on invalid operating class
mac80211: Fix sending ADDBA response for an ongoing session
iwlwifi: mvm: Direct multicast frames to the correct station
iwlwifi: mvm: Correctly set the tid for mcast queue
Ilia Lin (1):
arm64: dts: qcom: Fix SPI5 config on MSM8996
Ivan Gorinov (2):
x86/devicetree: Initialize device tree before using it x86/devicetree: Fix device IRQ settings in DT
Jack M (1):
IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE
Jack Morgenstein (1):
IB/mlx4: Fix corruption of RoCEv2 IPv4 GIDs
Jacob Keller (1):
ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode
Jake Moroni (1):
dpaa_eth: fix pause capability advertisement logic
James Hogan (1):
MIPS: generic: Fix machine compatible matching
Jan Kara (1):
udf: Provide saner default for invalid uid / gid
Jan Kiszka (1):
builddeb: Fix header package regarding dtc source links
Jan Kundrát (1):
pinctrl: mcp23s08: spi: Fix regmap debugfs entries
Jarosław Janik (1):
nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A
Jason Gunthorpe (1):
IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroy
Jason Wang (1):
ptr_ring: prevent integer overflow when calculating size
Jay Vosburgh (1):
virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
Jayachandran C (1):
watchdog: sbsa: use 32-bit read for WCV
Jean Delvare (1):
firmware: dmi_scan: Fix UUID length safety check
Jeff Mahoney (2):
btrfs: use kvzalloc to allocate btrfs_fs_info
btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers
Jens Axboe (2):
sr: pass down correctly sized SCSI sense buffer
sr: get/drop reference to device in revalidate and check_events
Jeremy Linton (1):
net: smsc911x: Fix unload crash when link is up
Jesper Dangaard Brouer (1):
virtio_net: fix XDP code path in receive_small()
Jianchao Wang (1):
nvme-pci: Fix nvme queue cleanup if IRQ setup fails
Jiandi An (1):
ima: Fix Kconfig to select TPM 2.0 CRB interface
Jim Mattson (1):
kvm: x86: IA32_ARCH_CAPABILITIES is always supported
Jin Yao (1):
perf report: Fix wrong jump arrow
Jinbum Park (1):
ARM: 8748/1: mm: Define vdso_start, vdso_end as array
Jiri Olsa (4):
perf record: Fix crash in pipe mode
perf tests: Use arch__compare_symbol_names to compare symbols perf report: Fix memory corruption in --branch-history mode --branch-history perf tests: Fix dwarf unwind for stripped binaries
Jiri Pirko (1):
mlxsw: core: Fix flex keys scratchpad offset conflict
Jiufei Xue (1):
block: display the correct diskname for bio
Joe Jin (1):
xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent
Joe Lee (1):
xhci: workaround for AMD Promontory disabled ports wakeup
Joe Perches (1):
MIPS: Octeon: Fix logging messages with spurious periods after newlines
Joerg Roedel (1):
x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
Joey Pabalinas (1):
net/tcp/illinois: replace broken algorithm reference link
Johannes Berg (2):
regulatory: add NUL to request alpha2
iwlwifi: mvm: fix error checking for multi/broadcast sta
Johannes Thumshirn (1):
nvme: don't send keep-alives to the discovery controller
Julian Anastasov (1):
ipvs: remove IPS_NAT_MASK check to fix passive FTP
Jun Piao (1):
ocfs2/dlm: don't handle migrate lockres if already in shutdown
Ka-Cheong Poon (1):
rds: Incorrect reference counting in TCP socket creation
Kalderon, Michal (5):
RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA RDMA/qedr: Fix iWARP write and send with immediate RDMA/qedr: fix QP's ack timeout configuration RDMA/qedr: Fix rc initialization on CNQ allocation failure RDMA/qedr: Fix QP state initialization race
Kamil Trzciński (1):
arm64: dts: rockchip: fix rock64 gmac2io stability issues
Kamlakant Patel (1):
ipmi_ssif: Fix kernel panic at msg_done_handler
Kan Liang (3):
perf/x86/intel: Properly save/restore the PMU state in the NMI handler perf/x86/intel: Fix large period handling on Broadwell CPUs perf/x86/intel: Fix event update for auto-reload
Karol Herbst (1):
drm/nouveau/bl: fix backlight regression
Karsten Graul (1):
net/smc: use link_id of server in confirm link reply
Karthikeyan Periyasamy (1):
ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)
Kees Cook (1):
NFC: llcp: Limit size of SDP URI
Konrad Rzeszutek Wilk (1):
KVM/VMX: Expose SSBD properly to guests
Ladislav Michl (1):
power: supply: ltc2941-battery-gauge: Fix temperature units
Laurent Pinchart (2):
drm: omapdrm: dss: Move initialization code from component bind to probe
ARM: dts: porter: Fix HDMI output routing
Lenny Szubowicz (1):
ACPI: acpi_pad: Fix memory leak in power saving threads
Leo Yan (1):
coresight: Use %px to print pcsr instead of %p
Leon Romanovsky (1):
net/mlx5: Protect from command bit overflow
Li Zhijian (2):
selftests/bpf/test_maps: exit child process without error in ENOMEM case selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus
Lidong Chen (1):
IB/umem: Use the correct mm during ib_umem_release
Linus Lüssing (3):
batman-adv: Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag
batman-adv: fix multicast-via-unicast transmission with AP isolation
batman-adv: fix packet loss for broadcasted DHCP packets to a server
Linus Walleij (1):
drm/bridge: sii902x: Retry status read after DDI I2C
Liu Bo (3):
Btrfs: clean up resources during umount after trans is aborted
Btrfs: bail out on error during replay_dir_deletes
Btrfs: fix NULL pointer dereference in log_dir_items
Luca Coelho (1):
iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq
Lucas Stach (1):
drm/imx: move arming of the vblank event to atomic_flush
Luis R. Rodriguez (1):
lib/test_kmod.c: fix limit check on number of test devices created
Maciej W. Rozycki (2):
MIPS: ptrace: Expose FIR register through FP regset
MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
Madalin Bucur (1):
dpaa_eth: fix SG mapping
Madhavan Srinivasan (1):
powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
Maninder Singh (1):
mm/page_owner: fix recursion bug after changing skip entries
Manish Chopra (2):
qede: Fix barrier usage after tx doorbell write.
qede: Do not drop rx-checksum invalidated packets.
Marc Zyngier (1):
arm64: Relax ARM_SMCCC_ARCH_WORKAROUND_1 discovery
Mark Lord (1):
powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
Mark Rutland (2):
arm64: perf: correct PMUVer probing efi/arm*: Only register page tables when they exist
Masami Hiramatsu (3):
selftests: ftrace: Add probe event argument syntax testcase
selftests: ftrace: Add a testcase for string type with kprobe_event
selftests: ftrace: Add a testcase for probepoint
Matan Barak (2):
IB/uverbs: Fix method merging in uverbs_ioctl_merge IB/uverbs: Fix possible oops with duplicate ioctl attributes
Mathias Kresin (1):
MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
Mathieu Malaterre (1):
powerpc: Add missing prototype for arch_irq_work_raise()
Matthew Wilcox (1):
idr: fix invalid ptr dereference on item delete
Matthias Schiffer (3):
batman-adv: fix packet checksum in receive path
batman-adv: invalidate checksum on fragment reassembly
batman-adv: fix header size check in batadv_dbg_arp()
Mauricio Faria de Oliveira (4):
powerpc/rfi-flush: Differentiate enabled and patched flush types powerpc/pseries: Fix clearing of security feature flags
powerpc: Move default security feature flags powerpc/pseries: Restore default security feature flags on setup
Maurizio Lombardi (1):
cdrom: do not call check_disk_change() inside cdrom_open()
Max Gurtovoy (1):
nvmet: fix PSDT field check in command format
Michael Chan (1):
bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa().
Michael Ellerman (21):
powerpc/pseries: Support firmware disable of RFI flush powerpc/powernv: Support firmware disable of RFI flush powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again powerpc/rfi-flush: Always enable fallback flush on pseries powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
powerpc: Add security feature flags for Spectre/Meltdown powerpc/pseries: Set or clear security feature flags powerpc/powernv: Set or clear security feature flags powerpc/64s: Move cpu_show_meltdown()
powerpc/64s: Enhance the information in cpu_show_meltdown() powerpc/powernv: Use the security flags in pnv_setup_rfi_flush() powerpc/pseries: Use the security flags in pseries_setup_rfi_flush() powerpc/64s: Wire up cpu_show_spectre_v1()
powerpc/64s: Wire up cpu_show_spectre_v2()
powerpc/64s: Fix section mismatch warnings from setup_rfi_flush() selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable powerpc/mpic: Check if cpu_possible() in mpic_physmask() powerpc/perf: Fix kernel address leak via sampling registers
selftests: Print the test we're running to /dev/kmsg
Michael J. Ruhl (1):
IB/hfi1: Use after free race condition in send context error path
Michael Neuling (1):
powerpc/64s: Clear PCR on boot
Michael Schmitz (1):
zorro: Set up z->dev.dma_mask for the DMA API
Michal Kalderon (1):
qed: Free RoCE ILT Memory on rmmod qedr
Mikhail Malygin (1):
IB/rxe: Fix for oops in rxe_register_device on ppc64le arch
Milton Miller (2):
watchdog: aspeed: Allow configuring for alternate boot
watchdog: aspeed: Fix translation of reset mode to ctrl register
Ming Lei (2):
nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors
block: null_blk: fix 'Invalid parameters' when loading module
Moni Shoua (1):
IB/mlx: Set slid to zero in Ethernet completion struct
Monk Liu (2):
drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini drm/amdgpu: adjust timeout for ib_ring_tests(v2)
Naftali Goldstein (1):
iwlwifi: mvm: always init rs with 20mhz bandwidth rates
Naresh Kamboju (1):
selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
Neil Armstrong (1):
drm/meson: fix vsync buffer update
NeilBrown (1):
MIPS: c-r4k: Fix data corruption related to cache coherence
Nicholas Piggin (4):
powerpc/64s: Improve RFI L1-D cache flush fallback
powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep powerpc/64s: sreset panic if there is no debugger or crash dump handlers
Nicolas Pitre (1):
kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
Niklas Cassel (4):
pinctrl: artpec6: dt: add missing pin group uart5nocts
net: stmmac: ensure that the device has released ownership before reading data
net: stmmac: ensure that the MSS desc is the last desc to set the own bit
net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()
Nikolay Borisov (1):
btrfs: Fix possible softlock on single core machines
Oded Gabbay (1):
drm/amdkfd: add missing include of mm.h
Or Gerlitz (2):
net/mlx5e: Return error if prio is specified when offloading eswitch vlan push net/mlx5: Make eswitch support to depend on switchdev
Parav Pandit (2):
IB/core: Fix possible crash to access NULL netdev IB/core: Honor port_num while resolving GID for IB link layer
Pawel Dembicki (1):
net: qmi_wwan: add BroadMobi BM806U 2020:2033
Peter Malone (1):
fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().
Peter Oh (1):
mac80211: mesh: fix wrong mesh TTL offset calculation
Peter Rosin (1):
ARM: dts: at91: tse850: use the correct compatible for the eeprom
Peter Zijlstra (1):
perf/core: Fix perf_output_read_group()
Petr Vorel (1):
ima: Fallback to the builtin hash algorithm
Philipp Puschmann (1):
arm: dts: socfpga: fix GIC PPI warning
Pierre Bourdon (1):
max17042: propagate of_node to power supply device
Pierre-Yves Kerbrat (1):
e1000e: allocate ring descriptors with dma_zalloc_coherent
Prashant Bhole (1):
selftests/net: fixes psock_fanout eBPF test case
Pratyush Anand (1):
arm64: fix unwind_frame() for filtered out fn for function graph tracing
Qi Hou (2):
ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
dmaengine: pl330: fix a race condition in case of threaded irqs
Qu Wenruo (2):
btrfs: tests/qgroup: Fix wrong tree backref level
btrfs: qgroup: Fix root item corruption when multiple same source snapshots are created with quota enabled
Rafael J. Wysocki (2):
PCI: Restore config space on runtime resume despite being unbound PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle
Raghuram Chary J (1):
lan78xx: Set ASD in MAC_CR when EEE is enabled.
Ramon Fried (1):
qrtr: add MODULE_ALIAS macro to smd
Randy Dunlap (2):
integrity/security: fix digsig.c build error with header file
kdb: make "mdr" command repeat
Ravikumar Kattekola (1):
ARM: dts: dra71-evm: Correct evm_sd regulator max voltage
Rich Felker (1):
sh: fix debug trap failure to process signals before return to user
Richard Fitzgerald (1):
pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs
Richard Guy Briggs (1):
audit: return on memory error to avoid null pointer dereference
Richard Haines (1):
netlabel: If PF_INET6, check sk_buff ip header version
Rob Herring (2):
arm64: dts: cavium: fix PCI bus dtc warnings
ARM: dts: rockchip: Add missing #sound-dai-cells on rk3288
Robin Murphy (2):
arm64: dts: rockchip: Fix DWMMC clocks
ARM: dts: rockchip: Fix DWMMC clocks
Roger Pau Monne (1):
xen/pirq: fix error path cleanup when binding MSIs
Sabrina Dubroca (1):
ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu
Sai Praneeth (1):
x86/mm: Fix bogus warning during EFI bootup, use boot_cpu_has() instead of this_cpu_has() in build_cr3_noflush()
Samuel Neves (1):
x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations
Sandipan Das (2):
perf tools: Fix perf builds with clang support perf clang: Add support for recent clang versions
Sara Sharon (7):
iwlwifi: mvm: fix security bug in PN checking
iwlwifi: mvm: fix IBSS for devices that support station type API
mac80211: fix a possible leak of station stats
mac80211: fix calling sleeping function in atomic context
iwlwifi: mvm: fix TX of CCMP 256
iwlwifi: mvm: fix assert 0x2B00 on older FWs
iwlwifi: mvm: fix "failed to remove key" message
Sean Christopherson (1):
KVM: VMX: raise internal error for exception during invalid protected mode state
Sean Wang (1):
net: dsa: mt7530: fix module autoloading for OF platform drivers
Sebastian Andrzej Siewior (1):
iommu/amd: Take into account that alloc_dev_data() may return NULL
Sebastian Gottschall (1):
ath9k: fix crash in spectral scan
Sebastian Ott (4):
s390/cio: fix ccw_device_start_timeout API s390/cio: fix return code after missing interrupt s390/cio: clear timer when terminating driver I/O
kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
Selvin Xavier (2):
RDMA/bnxt_re: Fix system crash during load/unload RDMA/bnxt_re: Fix the ib_reg failure cleanup
Sergei Shtylyov (3):
sh_eth: fix TSU init on SH7734/R8A7740
drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2
Seunghun Han (1):
ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c
Shakeel Butt (1):
mm, slab: memcg_link the SLAB's kmem_cache
Shaul Triebitz (1):
iwlwifi: avoid collecting firmware dump if not loaded
Shawn Lin (2):
arm64: dts: rockchip: correct ep-gpios for rk3399-sapphire
phy: rockchip-emmc: retry calpad busy trimming
Shunyong Yang (1):
cpufreq: CPPC: Initialize shared perf capabilities of CPUs
Shyam Saini (1):
ARM: dts: imx6dl: Include correct dtsi file for Engicam i.CoreM6 DualLite/Solo RQS
Song Liu (1):
perf/cgroup: Fix child event counting bug
Srinath Mannam (1):
mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
Srinivas Kandagatla (1):
dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
Stefan Agner (1):
soc: imx: gpc: de-register power domains only if initialized
Stefan Haberland (1):
s390/dasd: fix handling of internal requests
Stefan Wahren (3):
ARM: dts: bcm283x: Fix unit address of local_intc
brcmfmac: Fix check for ISO3166 code
ARM: dts: bcm283x: Fix probing of bcm2835-i2s
Stefano Brivio (4):
vti4: Don't count header length twice on tunnel setup
ip_tunnel: Clamp MTU to bounds on new link
vti4: Don't override MTU passed on link creation via IFLA_MTU
vti6: Fix dev->max_mtu setting
Steffen Klassert (2):
xfrm: Fix ESN sequence number handling for IPsec GSO packets.
xfrm: Fix transport mode skb control buffer usage.
Stephane Eranian (1):
perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs
Stephen Hemminger (7):
hv_netvsc: use napi_schedule_irqoff
hv_netvsc: filter multicast/broadcast
hv_netvsc: propagate rx filters to VF
hv_netvsc: fix filter flags
hv_netvsc: fix locking for rx_mode
hv_netvsc: fix locking during VF setup
hv_netvsc: enable multicast if necessary
Steven J. Hill (1):
mm/vmstat.c: fix vmstat_update() preemption BUG
Sudip Mukherjee (1):
libata: blacklist Micron 500IT SSD with MU01 firmware
Sven Eckelmann (5):
batman-adv: Ignore invalid batadv_iv_gw during netlink send
batman-adv: Ignore invalid batadv_v_gw during netlink send
batman-adv: Fix netlink dumping of BLA claims
batman-adv: Fix netlink dumping of BLA backbones
batman-adv: Fix skbuff rcsum on packet reroute
Taehee Yoo (1):
xfrm: fix rcu_read_unlock usage in xfrm_local_error
Takashi Iwai (1):
ALSA: vmaster: Propagate slave error
Takeshi Kihara (1):
pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group
Tang Junhui (1):
bcache: fix kcrashes with fio in RAID5 backend dev
Tejun Heo (2):
libata: Blacklist some Sandisk SSDs for NCQ
rcu: Call touch_nmi_watchdog() while printing stall warnings
Thierry Reding (1):
drm/tegra: Shutdown on driver unbind
Thomas Falcon (5):
ibmvnic: Wait until reset is complete to set carrier on
ibmvnic: Free RX socket buffer in case of adapter error
ibmvnic: Clean RX pool buffers during device close
ibmvnic: Check for NULL skb's in NAPI poll routine
ibmvnic: Zero used TX descriptor counter on reset
Thomas Hellstrom (2):
drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros drm/vmwgfx: Unpin the screen object backup buffer when not used
Thomas Richter (2):
perf stat: Fix core dump when flag T is used perf test: Fix test case inet_pton to accept inlines.
Thomas Vincent-Cross (1):
PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
Tobias Jordan (2):
gpu: ipu-v3: pre: fix device node leak in ipu_pre_lookup_by_phandle
gpu: ipu-v3: prg: fix device node leak in ipu_prg_lookup_by_phandle
Tom Abraham (1):
swap: divide-by-zero when zero length swap file on ssd
Tom St Denis (1):
drm/amd/amdgpu: Correct VRAM width for APUs with GMC9
Tony Lindgren (3):
ARM: OMAP3: Fix prm wake interrupt for resume
ARM: OMAP2+: Fix sar_base inititalization for HS omaps
ARM: OMAP: Fix dmtimer init for omap1
Toshiaki Makita (4):
net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
vlan: Fix out of order vlan headers with reorder header off
net: Fix untag for vlan packets without ethernet header
vlan: Fix vlan insertion for packets without ethernet header
Tycho Andersen (1):
seccomp: add a selftest for get_metadata
Ulf Magnusson (1):
ARC: Fix malformed ARC_EMUL_UNALIGNED default
Ursula Braun (1):
net/smc: pay attention to MAX_ORDER for CQ entries
Vaibhav Jain (1):
cxl: Check if PSL data-cache is available before issue flush request
Vinayak Menon (1):
mm/kmemleak.c: wait for scan completion before disabling free
Viresh Kumar (1):
cpufreq: Reorder cpufreq_online() error code path
Vitaly Kuznetsov (1):
KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use
Vivek Gautam (1):
phy: qcom-qmp: Fix phy pipe clock gating
Wang Hui (1):
x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system
Wei Huang (1):
KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
Wen Xiong (1):
nvme-pci: Fix EEH failure on ppc
Will Deacon (3):
arm64: lse: Add early clobbers to some input/output asm operands
fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
fs: dcache: Use READ_ONCE when accessing i_dir_seq
Wolfram Sang (2):
drm/exynos: fix comparison to bitshift when dealing with a mask
can: m_can: change comparison to bitshift when dealing with a mask
Xiao Ni (1):
MD: Free bioset when md_run fails
Xidong Wang (1):
z3fold: fix memory leak
Xin Long (5):
xfrm: do not call rcu_read_unlock when afinfo is NULL in xfrm_get_tos
ip_gre: fix IFLA_MTU ignored on NEWLINK
ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
sit: fix IFLA_MTU ignored on NEWLINK
bonding: fix the err path for dev hwaddr sync in bond_enslave
Y.C. Chen (1):
drm/ast: Fixed 1280x800 Display Issue
Yang Shi (1):
mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()
Yelena Krivosheev (1):
net: mvneta: fix enable of all initialized RXQs
Yisheng Xie (2):
mm/mempolicy.c: avoid use uninitialized preferred_node perf top: Fix top.call-graph config option reading
Yong Wu (1):
iommu/mediatek: Fix protect memory setting
Yoshihiro Shimoda (2):
dmaengine: rcar-dmac: fix max_chunk_size for R-Car Gen3
dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()
Yufen Yu (2):
md raid10: fix NULL deference in handle_write_completed() md/raid1: fix NULL pointer dereference
leilei.lin (1):
perf/core: Fix installing cgroup events on CPU
[email protected] (1):
hwrng: stm32 - add reset during probe
Ørjan Eide (1):
drm/rockchip: Respect page offset for PRIME mmap calls
Greg KH
maintainerDocumentation/devicetree/bindings/clock/sunxi-ccu.txt +4 -0
@@ -20,6 +20,7 @@ Required properties : - "allwinner,sun50i-a64-ccu" - "allwinner,sun50i-a64-r-ccu" - "allwinner,sun50i-h5-ccu" + - "allwinner,sun50i-h6-ccu" - "nextthing,gr8-ccu" - reg: Must contain the registers base address and length
@@ -31,6 +32,9 @@ Required properties : - #clock-cells : must contain 1 - #reset-cells : must contain 1 +For the main CCU on H6, one more clock is needed: +- "iosc": the SoC's internal frequency oscillator + For the PRCM CCUs on A83T/H3/A64, two more clocks are needed: - "pll-periph": the SoC's peripheral PLL from the main CCU - "iosc": the SoC's internal frequency oscillator
Documentation/devicetree/bindings/dma/mv-xor-v2.txt +5 -1
@@ -11,7 +11,11 @@ Required properties: interrupts. Optional properties: -- clocks: Optional reference to the clock used by the XOR engine. +- clocks: Optional reference to the clocks used by the XOR engine. +- clock-names: mandatory if there is a second clock, in this case the + name must be "core" for the first clock and "reg" for the second + one + Example:
Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt +3 -2
@@ -20,7 +20,8 @@ Required subnode-properties: gpio: cpuclkoutgrp0, udlclkoutgrp0, i2c1grp0, i2c2grp0, i2c3grp0, i2s0grp0, i2s1grp0, i2srefclkgrp0, spi0grp0, spi1grp0, pciedebuggrp0, uart0grp0, uart0grp1, uart1grp0, - uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0 + uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0, + uart5nocts cpuclkout: cpuclkoutgrp0 udlclkout: udlclkoutgrp0 i2c1: i2c1grp0
@@ -37,7 +38,7 @@ Required subnode-properties: uart2: uart2grp0, uart2grp1 uart3: uart3grp0 uart4: uart4grp0 - uart5: uart5grp0 + uart5: uart5grp0, uart5nocts nand: nandgrp0 sdio0: sdio0grp0 sdio1: sdio1grp0
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 44 +SUBLEVEL = 45 EXTRAVERSION = NAME = Petit Gorille
arch/alpha/include/asm/xchg.h +22 -8
@@ -12,6 +12,10 @@* Atomic exchange. * Since it can be used to implement critical sections * it must clobber "memory" (also for interrupts in UP). +* +* The leading and the trailing memory barriers guarantee that these +* operations are fully ordered. +* */ static inline unsigned long
@@ -19,6 +23,7 @@ ____xchg(_u8, volatile char *m, unsigned long val) {unsigned long ret, tmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %4,7,%3\n" " insbl %1,%4,%1\n"
@@ -43,6 +48,7 @@ ____xchg(_u16, volatile short *m, unsigned long val) {unsigned long ret, tmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %4,7,%3\n" " inswl %1,%4,%1\n"
@@ -67,6 +73,7 @@ ____xchg(_u32, volatile int *m, unsigned long val) {unsigned long dummy; +smp_mb (); __asm__ __volatile__("1: ldl_l %0,%4\n" " bis $31,%3,%1\n"
@@ -87,6 +94,7 @@ ____xchg(_u64, volatile long *m, unsigned long val) {unsigned long dummy; +smp_mb (); __asm__ __volatile__("1: ldq_l %0,%4\n" " bis $31,%3,%1\n"
@@ -128,10 +136,12 @@ ____xchg(, volatile void *ptr, unsigned long x, int size)* store NEW in MEM. Return the initial value in MEM. Success is * indicated by comparing RETURN with OLD. * -* The memory barrier should be placed in SMP only when we actually -* make the change. If we don't change anything (so if the returned -* prev is equal to old) then we aren't acquiring anything new and -* we don't need any memory barrier as far I can tell. +* The leading and the trailing memory barriers guarantee that these +* operations are fully ordered. +* +* The trailing memory barrier is placed in SMP unconditionally, in +* order to guarantee that dependency ordering is preserved when a +* dependency is headed by an unsuccessful operation. */ static inline unsigned long
@@ -139,6 +149,7 @@ ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new) {unsigned long prev, tmp, cmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %5,7,%4\n" " insbl %1,%5,%1\n"
@@ -150,8 +161,8 @@ ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new)" or %1,%2,%2\n" " stq_c %2,0(%4)\n" " beq %2,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -166,6 +177,7 @@ ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new) {unsigned long prev, tmp, cmp, addr64; +smp_mb (); __asm__ __volatile__(" andnot %5,7,%4\n" " inswl %1,%5,%1\n"
@@ -177,8 +189,8 @@ ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new)" or %1,%2,%2\n" " stq_c %2,0(%4)\n" " beq %2,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -193,6 +205,7 @@ ____cmpxchg(_u32, volatile int *m, int old, int new) {unsigned long prev, cmp; +smp_mb (); __asm__ __volatile__("1: ldl_l %0,%5\n" " cmpeq %0,%3,%1\n"
@@ -200,8 +213,8 @@ ____cmpxchg(_u32, volatile int *m, int old, int new)" mov %4,%1\n" " stl_c %1,%2\n" " beq %1,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
@@ -216,6 +229,7 @@ ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new) {unsigned long prev, cmp; +smp_mb (); __asm__ __volatile__("1: ldq_l %0,%5\n" " cmpeq %0,%3,%1\n"
@@ -223,8 +237,8 @@ ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new)" mov %4,%1\n" " stq_c %1,%2\n" " beq %1,3f\n" - __ASM__MB"2:\n" + __ASM__MB".subsection 2\n" "3: br 1b\n" ".previous"
arch/arc/Kconfig +0 -1
@@ -487,7 +487,6 @@ config ARC_CURR_IN_REG config ARC_EMUL_UNALIGNED bool "Emulate unaligned memory access (userspace only)" - default N select SYSCTL_ARCH_UNALIGN_NO_WARN select SYSCTL_ARCH_UNALIGN_ALLOW depends on ISA_ARCOMPACT
arch/arc/include/asm/bug.h +2 -1
@@ -23,7 +23,8 @@ void die(const char *str, struct pt_regs *regs, unsigned long address);#define BUG () do { \ pr_warn("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \ - dump_stack(); \ + barrier_before_unreachable(); \ + __builtin_trap(); \ } while (0)#define HAVE_ARCH_BUG
arch/arc/kernel/mcip.c +69 -5
90 lines not on this page · raw message
arch/arc/kernel/smp.c +40 -10
78 lines not on this page · raw message
arch/arm/boot/dts/at91-tse850-3.dts +1 -1
@@ -245,7 +245,7 @@ }; eeprom@50 { - compatible = "nxp,24c02", "atmel,24c02"; + compatible = "nxp,se97b", "atmel,24c02"; reg = <0x50>; pagesize = <16>; };
arch/arm/boot/dts/bcm2836.dtsi +1 -1
@@ -9,7 +9,7 @@ <0x40000000 0x40000000 0x00001000>; dma-ranges = <0xc0000000 0x00000000 0x3f000000>; - local_intc: local_intc { + local_intc: local_intc@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; interrupt-controller;
arch/arm/boot/dts/bcm2837.dtsi +1 -1
@@ -8,7 +8,7 @@ <0x40000000 0x40000000 0x00001000>; dma-ranges = <0xc0000000 0x00000000 0x3f000000>; - local_intc: local_intc { + local_intc: local_intc@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; interrupt-controller;
arch/arm/boot/dts/bcm283x.dtsi +3 -3
@@ -251,7 +251,7 @@ jtag_gpio4: jtag_gpio4 { brcm,pins = <4 5 6 12 13>; - brcm,function = <BCM2835_FSEL_ALT4>; + brcm,function = <BCM2835_FSEL_ALT5>; }; jtag_gpio22: jtag_gpio22 { brcm,pins = <22 23 24 25 26 27>;
@@ -396,8 +396,8 @@ i2s: i2s@7e203000 { compatible = "brcm,bcm2835-i2s"; - reg = <0x7e203000 0x20>, - <0x7e101098 0x02>; + reg = <0x7e203000 0x24>; + clocks = <&clocks BCM2835_CLOCK_PCM>; dmas = <&dma 2>, <&dma 3>;
arch/arm/boot/dts/bcm958625hr.dts +1 -1
@@ -49,7 +49,7 @@ memory { device_type = "memory"; - reg = <0x60000000 0x80000000>; + reg = <0x60000000 0x20000000>; }; gpio-restart {
arch/arm/boot/dts/dra71-evm.dts +2 -2
@@ -24,13 +24,13 @@ regulator-name = "vddshv8"; regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; regulator-boot-on; vin-supply = <&evm_5v0>; gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; states = <1800000 0x0 - 3000000 0x1>; + 3300000 0x1>; }; evm_1v8_sw: fixedregulator-evm_1v8 {
arch/arm/boot/dts/imx6dl-icore-rqs.dts +1 -1
@@ -42,7 +42,7 @@ /dts-v1/; -#include "imx6q.dtsi" +#include "imx6dl.dtsi" #include "imx6qdl-icore-rqs.dtsi" / {
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +26 -26
63 lines not on this page · raw message
arch/arm/boot/dts/r8a7791-porter.dts +1 -1
@@ -427,7 +427,7 @@ "dclkin.0", "dclkin.1"; ports { - port@1 { + port@0 { endpoint { remote-endpoint = <&adv7511_in>; };
arch/arm/boot/dts/rk3036.dtsi +2 -2
@@ -261,7 +261,7 @@ max-frequency = <37500000>; clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; resets = <&cru SRST_SDIO>;
@@ -279,7 +279,7 @@ max-frequency = <37500000>; clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; default-sample-phase = <158>; disable-wp; dmas = <&pdma 12>;
arch/arm/boot/dts/rk322x.dtsi +3 -3
@@ -600,7 +600,7 @@ interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
@@ -613,7 +613,7 @@ interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; pinctrl-names = "default"; pinctrl-0 = <&sdio_clk &sdio_cmd &sdio_bus4>;
@@ -628,7 +628,7 @@ max-frequency = <37500000>; clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; bus-width = <8>; default-sample-phase = <158>; fifo-depth = <0x100>;
arch/arm/boot/dts/rk3288.dtsi +2 -0
@@ -927,6 +927,7 @@ i2s: i2s@ff890000 { compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s"; reg = <0x0 0xff890000 0x0 0x10000>; + #sound-dai-cells = <0>; interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; #size-cells = <0>;
@@ -1122,6 +1123,7 @@ compatible = "rockchip,rk3288-dw-hdmi"; reg = <0x0 0xff980000 0x0 0x20000>; reg-io-width = <4>; + #sound-dai-cells = <0>; rockchip,grf = <&grf>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
arch/arm/boot/dts/socfpga.dtsi +1 -1
@@ -827,7 +827,7 @@ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xfffec600 0x100>; - interrupts = <1 13 0xf04>; + interrupts = <1 13 0xf01>; clocks = <&mpu_periph_clk>; };
arch/arm/include/asm/vdso.h +0 -2
@@ -12,8 +12,6 @@ struct mm_struct;void arm_install_vdso (struct mm_struct *mm,unsigned long addr); -extern char vdso_start, vdso_end; -extern unsigned int vdso_total_pages;#else /* CONFIG_VDSO */
arch/arm/kernel/vdso.c +7 -5
@@ -39,6 +39,8 @@static struct page **vdso_text_pagelist; +extern char vdso_start[], vdso_end[]; +/* Total number of pages needed for the data and text portions of the VDSO. */ unsigned int vdso_total_pages__ro_after_init ;
@@ -197,13 +199,13 @@ static int __init vdso_init(void)unsigned int text_pages;int i; -if (memcmp (&vdso_start,"\177ELF" ,4 )) { +if (memcmp (vdso_start,"\177ELF" ,4 )) {pr_err ("VDSO is not a valid ELF object!\n" );return -ENOEXEC ; } - text_pages = (&vdso_end - &vdso_start) >>PAGE_SHIFT ; -pr_debug ("vdso: %i text pages at base %p\n" , text_pages, &vdso_start); + text_pages = (vdso_end - vdso_start) >>PAGE_SHIFT ; +pr_debug ("vdso: %i text pages at base %p\n" , text_pages, vdso_start);/* Allocate the VDSO text pagelist */ vdso_text_pagelist = kcalloc(text_pages, sizeof(struct page *),
@@ -218,7 +220,7 @@ static int __init vdso_init(void)for (i =0 ; i < text_pages; i++) {struct page *page; - page =virt_to_page (&vdso_start + i *PAGE_SIZE ); + page =virt_to_page (vdso_start + i *PAGE_SIZE ); vdso_text_pagelist[i] = page; }
@@ -229,7 +231,7 @@ static int __init vdso_init(void) cntvct_ok =cntvct_functional (); -patch_vdso (&vdso_start); +patch_vdso (vdso_start);return 0 ; }
arch/arm/mach-davinci/board-omapl138-hawk.c +2 -2
@@ -127,8 +127,8 @@ static struct gpiod_lookup_table mmc_gpios_table = { .dev_id = "da830-mmc.0", .table = {/* CD: gpio3_12: gpio60: chip 1 contains gpio range 32-63*/ -GPIO_LOOKUP ("davinci_gpio.1" ,28 ,"cd" ,GPIO_ACTIVE_LOW ), - GPIO_LOOKUP("davinci_gpio.1", 29, "wp", GPIO_ACTIVE_LOW), +GPIO_LOOKUP ("davinci_gpio.0" ,28 ,"cd" ,GPIO_ACTIVE_LOW ), + GPIO_LOOKUP("davinci_gpio.0", 29, "wp", GPIO_ACTIVE_LOW), }, };
arch/arm/mach-omap1/clock.c +3 -3
@@ -1011,17 +1011,17 @@ static int clk_debugfs_register_one(struct clk *c)return -ENOMEM ; c->dent = d; - d =debugfs_create_u8 ("usecount" ,S_IRUGO , c->dent, (u8 *)&c->usecount); + d =debugfs_create_u8 ("usecount" ,S_IRUGO , c->dent, &c->usecount);if (!d) { err = -ENOMEM ; goto err_out; } - d =debugfs_create_u32 ("rate" ,S_IRUGO , c->dent, (u32 *)&c->rate); + d =debugfs_create_ulong ("rate" ,S_IRUGO , c->dent, &c->rate);if (!d) { err = -ENOMEM ; goto err_out; } - d =debugfs_create_x32 ("flags" ,S_IRUGO , c->dent, (u32 *)&c->flags); + d =debugfs_create_x8 ("flags" ,S_IRUGO , c->dent, &c->flags);if (!d) { err = -ENOMEM ; goto err_out;
arch/arm/mach-omap2/omap-wakeupgen.c +2 -2
@@ -299,8 +299,6 @@ static void irq_save_context(void)if (soc_is_dra7xx ())return ; -if (!sar_base) - sar_base =omap4_get_sar_ram_base ();if (wakeupgen_ops && wakeupgen_ops->save_context) wakeupgen_ops->save_context (); }
@@ -598,6 +596,8 @@ static int __init wakeupgen_init(struct device_node *node,irq_hotplug_init ();irq_pm_init (); + sar_base =omap4_get_sar_ram_base (); +return 0 ; }IRQCHIP_DECLARE (ti_wakeupgen,"ti,omap4-wugen-mpu" , wakeupgen_init);
arch/arm/mach-omap2/pm.c +2 -2
@@ -186,7 +186,7 @@ static void omap_pm_end(void)cpu_idle_poll_ctrl (false); } -static void omap_pm_finish (void ) +static void omap_pm_wake (void ) {if (soc_is_omap34xx ())omap_prcm_irq_complete ();
@@ -196,7 +196,7 @@ static const struct platform_suspend_ops omap_pm_ops = { .begin = omap_pm_begin, .end = omap_pm_end, .enter = omap_pm_enter, - .finish = omap_pm_finish, + .wake = omap_pm_wake, .valid = suspend_valid_only_mem, };
arch/arm/mach-omap2/timer.c +11 -8
@@ -156,12 +156,6 @@ static struct clock_event_device clockevent_gpt = { .tick_resume = omap2_gp_timer_shutdown, }; -static struct property device_disabled = { - .name ="status" , - .length =sizeof ("disabled" ), - .value ="disabled" , -}; -static const struct of_device_id omap_timer_match[]__initconst = { { .compatible ="ti,omap2420-timer" , }, { .compatible ="ti,omap3430-timer" , },
@@ -203,8 +197,17 @@ static struct device_node * __init omap_get_timer_dt(const struct of_device_id * of_get_property(np, "ti,timer-secure", NULL))) continue; -if (!of_device_is_compatible (np,"ti,omap-counter32k" )) -of_add_property (np, &device_disabled); +if (!of_device_is_compatible (np,"ti,omap-counter32k" )) { +struct property *prop; + + prop =kzalloc (sizeof (*prop),GFP_KERNEL ); +if (!prop) +return NULL ; + prop->name ="status" ; + prop->value ="disabled" ; + prop->length =strlen (prop->value); +of_add_property (np, prop); + }return np; }
arch/arm/mach-orion5x/Kconfig +0 -3
@@ -58,7 +58,6 @@ config MACH_KUROBOX_PRO config MACH_DNS323 bool "D-Link DNS-323" - select GENERIC_NET_UTILS select I2C_BOARDINFO if I2C help Say 'Y' here if you want your kernel to support the
@@ -66,7 +65,6 @@ config MACH_DNS323 config MACH_TS209 bool "QNAP TS-109/TS-209" - select GENERIC_NET_UTILS help Say 'Y' here if you want your kernel to support the QNAP TS-109/TS-209 platform.
@@ -101,7 +99,6 @@ config MACH_LINKSTATION_LS_HGL config MACH_TS409 bool "QNAP TS-409" - select GENERIC_NET_UTILS help Say 'Y' here if you want your kernel to support the QNAP TS-409 platform.
arch/arm/mach-orion5x/dns323-setup.c +50 -3
68 lines not on this page · raw message
arch/arm/mach-orion5x/tsx09-common.c +45 -4
69 lines not on this page · raw message
arch/arm/plat-omap/dmtimer.c +2 -5
@@ -890,11 +890,8 @@ static int omap_dm_timer_probe(struct platform_device *pdev) timer->irq = irq->start; timer->pdev = pdev; -/* Skip pm_runtime_enable for OMAP1 */ -if (!(timer->capability &OMAP_TIMER_NEEDS_RESET )) { -pm_runtime_enable (dev); -pm_runtime_irq_safe (dev); - } +pm_runtime_enable (dev); +pm_runtime_irq_safe (dev);if (!timer->reserved) { ret =pm_runtime_get_sync (dev);
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi +2 -1
@@ -98,7 +98,7 @@ clock-output-names = "clk125mhz"; }; - pci { + pcie@30000000 { compatible = "pci-host-ecam-generic"; device_type = "pci"; #interrupt-cells = <1>;
@@ -118,6 +118,7 @@ ranges = <0x02000000 0 0x40000000 0 0x40000000 0 0x20000000 0x43000000 0x40 0x00000000 0x40 0x00000000 0x20 0x00000000>; + bus-range = <0 0xff>; interrupt-map-mask = <0 0 0 7>; interrupt-map = /* addr pin ic icaddr icintr */
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
@@ -484,8 +484,8 @@ blsp2_spi5: spi@075ba000{ compatible = "qcom,spi-qup-v2.2.1"; reg = <0x075ba000 0x600>; - interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>, + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; clock-names = "core", "iface"; pinctrl-names = "default", "sleep";
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +3 -2
@@ -136,11 +136,12 @@ phy-mode = "rgmii"; pinctrl-names = "default"; pinctrl-0 = <&rgmiim1_pins>; + snps,force_thresh_dma_mode; snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x26>; - rx_delay = <0x11>; + tx_delay = <0x24>; + rx_delay = <0x18>; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3328.dtsi +3 -3
@@ -683,7 +683,7 @@ interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; status = "disabled"; };
@@ -694,7 +694,7 @@ interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; status = "disabled"; };
@@ -705,7 +705,7 @@ interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; status = "disabled"; };
arch/arm64/boot/dts/rockchip/rk3368.dtsi +1 -1
@@ -257,7 +257,7 @@ max-frequency = <150000000>; clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>, <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>; - clock-names = "biu", "ciu", "ciu_drv", "ciu_sample"; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; resets = <&cru SRST_SDIO0>;
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +3 -13
@@ -406,8 +406,9 @@ wlan_pd_n: wlan-pd-n { compatible = "regulator-fixed"; regulator-name = "wlan_pd_n"; + pinctrl-names = "default"; + pinctrl-0 = <&wlan_module_reset_l>; - /* Note the wlan_module_reset_l pinctrl */ enable-active-high; gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
@@ -940,12 +941,6 @@ ap_i2c_audio: &i2c8 { pinctrl-0 = < &ap_pwroff /* AP will auto-assert this when in S3 */ &clk_32k /* This pin is always 32k on gru boards */ - - /* - * We want this driven low ASAP; firmware should help us, but - * we can help ourselves too. - */ - &wlan_module_reset_l >; pcfg_output_low: pcfg-output-low {
@@ -1125,12 +1120,7 @@ ap_i2c_audio: &i2c8 { }; wlan_module_reset_l: wlan-module-reset-l { - /* - * We want this driven low ASAP (As {Soon,Strongly} As - * Possible), to avoid leakage through the powered-down - * WiFi. - */ - rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_output_low>; + rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_pull_none>; }; bt_host_wake_l: bt-host-wake-l {
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +1 -1
@@ -457,7 +457,7 @@ assigned-clocks = <&cru SCLK_PCIEPHY_REF>; assigned-clock-parents = <&cru SCLK_PCIEPHY_REF100M>; assigned-clock-rates = <100000000>; - ep-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>; + ep-gpios = <&gpio2 RK_PA4 GPIO_ACTIVE_HIGH>; num-lanes = <4>; pinctrl-names = "default"; pinctrl-0 = <&pcie_clkreqn_cpm>;
arch/arm64/include/asm/atomic_lse.h +12 -12
@@ -117,7 +117,7 @@ static inline void atomic_and(int i, atomic_t *v)/* LSE atomics */ " mvn %w[i], %w[i]\n" " stclr %w[i], %[v]") - : [i] "+r" (w0), [v] "+Q" (v->counter) + : [i] "+&r" (w0), [v] "+Q" (v->counter) : "r" (x1) : __LL_SC_CLOBBERS); }
@@ -135,7 +135,7 @@ static inline int atomic_fetch_and##name(int i, atomic_t *v) \/* LSE atomics */ \" mvn %w[i], %w[i]\n" \ " ldclr" #mb " %w[i], %w[i], %[v]") \ - : [i] "+r" (w0), [v] "+Q" (v->counter) \ + : [i] "+&r" (w0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS, ##cl); \ \
@@ -161,7 +161,7 @@ static inline void atomic_sub(int i, atomic_t *v)/* LSE atomics */ " neg %w[i], %w[i]\n" " stadd %w[i], %[v]") - : [i] "+r" (w0), [v] "+Q" (v->counter) + : [i] "+&r" (w0), [v] "+Q" (v->counter) : "r" (x1) : __LL_SC_CLOBBERS); }
@@ -180,7 +180,7 @@ static inline int atomic_sub_return##name(int i, atomic_t *v) \" neg %w[i], %w[i]\n" \ " ldadd" #mb " %w[i], w30, %[v]\n" \ " add %w[i], %w[i], w30") \ - : [i] "+r" (w0), [v] "+Q" (v->counter) \ + : [i] "+&r" (w0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS , ##cl); \ \
@@ -207,7 +207,7 @@ static inline int atomic_fetch_sub##name(int i, atomic_t *v) \/* LSE atomics */ \" neg %w[i], %w[i]\n" \ " ldadd" #mb " %w[i], %w[i], %[v]") \ - : [i] "+r" (w0), [v] "+Q" (v->counter) \ + : [i] "+&r" (w0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS, ##cl); \ \
@@ -314,7 +314,7 @@ static inline void atomic64_and(long i, atomic64_t *v)/* LSE atomics */ " mvn %[i], %[i]\n" " stclr %[i], %[v]") - : [i] "+r" (x0), [v] "+Q" (v->counter) + : [i] "+&r" (x0), [v] "+Q" (v->counter) : "r" (x1) : __LL_SC_CLOBBERS); }
@@ -332,7 +332,7 @@ static inline long atomic64_fetch_and##name(long i, atomic64_t *v) \/* LSE atomics */ \" mvn %[i], %[i]\n" \ " ldclr" #mb " %[i], %[i], %[v]") \ - : [i] "+r" (x0), [v] "+Q" (v->counter) \ + : [i] "+&r" (x0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS, ##cl); \ \
@@ -358,7 +358,7 @@ static inline void atomic64_sub(long i, atomic64_t *v)/* LSE atomics */ " neg %[i], %[i]\n" " stadd %[i], %[v]") - : [i] "+r" (x0), [v] "+Q" (v->counter) + : [i] "+&r" (x0), [v] "+Q" (v->counter) : "r" (x1) : __LL_SC_CLOBBERS); }
@@ -377,7 +377,7 @@ static inline long atomic64_sub_return##name(long i, atomic64_t *v) \" neg %[i], %[i]\n" \ " ldadd" #mb " %[i], x30, %[v]\n" \ " add %[i], %[i], x30") \ - : [i] "+r" (x0), [v] "+Q" (v->counter) \ + : [i] "+&r" (x0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS, ##cl); \ \
@@ -404,7 +404,7 @@ static inline long atomic64_fetch_sub##name(long i, atomic64_t *v) \/* LSE atomics */ \" neg %[i], %[i]\n" \ " ldadd" #mb " %[i], %[i], %[v]") \ - : [i] "+r" (x0), [v] "+Q" (v->counter) \ + : [i] "+&r" (x0), [v] "+Q" (v->counter) \ : "r" (x1) \ : __LL_SC_CLOBBERS, ##cl); \ \
@@ -435,7 +435,7 @@ static inline long atomic64_dec_if_positive(atomic64_t *v)" sub x30, x30, %[ret]\n" " cbnz x30, 1b\n" "2:") - : [ret] "+r" (x0), [v] "+Q" (v->counter) + : [ret] "+&r" (x0), [v] "+Q" (v->counter) : : __LL_SC_CLOBBERS, "cc", "memory");
@@ -516,7 +516,7 @@ static inline long __cmpxchg_double##name(unsigned long old1, \" eor %[old1], %[old1], %[oldval1]\n" \" eor %[old2], %[old2], %[oldval2]\n" \ " orr %[old1], %[old1], %[old2]") \ - : [old1] "+r" (x0), [old2] "+r" (x1), \ + : [old1] "+&r" (x0), [old2] "+&r" (x1), \[v] " +Q " (*(unsigned long *)ptr) \ : [new1] " r" (x2), [new2] " r" (x3), [ptr] " r" (x4), \ [oldval1] " r" (oldval1), [oldval2] " r" (oldval2) \
arch/arm64/include/asm/stacktrace.h +1 -1
@@ -27,7 +27,7 @@ struct stackframe {unsigned long fp;unsigned long pc;#ifdef CONFIG_FUNCTION_GRAPH_TRACER -unsigned int graph; +int graph;#endif };
arch/arm64/kernel/cpu_errata.c +2 -2
@@ -178,7 +178,7 @@ static int enable_smccc_arch_workaround_1(void *data)case PSCI_CONDUIT_HVC :arm_smccc_1_1_hvc (ARM_SMCCC_ARCH_FEATURES_FUNC_ID ,ARM_SMCCC_ARCH_WORKAROUND_1 , &res); -if (res.a0) +if ((int )res.a0 <0 )return 0 ; cb = call_hvc_arch_workaround_1; smccc_start = __smccc_workaround_1_hvc_start;
@@ -188,7 +188,7 @@ static int enable_smccc_arch_workaround_1(void *data)case PSCI_CONDUIT_SMC :arm_smccc_1_1_smc (ARM_SMCCC_ARCH_FEATURES_FUNC_ID ,ARM_SMCCC_ARCH_WORKAROUND_1 , &res); -if (res.a0) +if ((int )res.a0 <0 )return 0 ; cb = call_smc_arch_workaround_1; smccc_start = __smccc_workaround_1_smc_start;
arch/arm64/kernel/perf_event.c +2 -2
@@ -914,9 +914,9 @@ static void __armv8pmu_probe_pmu(void *info)int pmuver; dfr0 =read_sysreg (id_aa64dfr0_el1); - pmuver =cpuid_feature_extract_signed_field (dfr0, + pmuver =cpuid_feature_extract_unsigned_field (dfr0,ID_AA64DFR0_PMUVER_SHIFT ); -if (pmuver <1 ) +if (pmuver ==0xf || pmuver ==0 )return ; probe->present = true;
arch/arm64/kernel/stacktrace.c +5 -0
@@ -59,6 +59,11 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)#ifdef CONFIG_FUNCTION_GRAPH_TRACER if (tsk->ret_stack && (frame->pc == (unsigned long )return_to_handler)) { +if (WARN_ON_ONCE (frame->graph ==-1 )) +return -EINVAL ; +if (frame->graph <-1 ) + frame->graph +=FTRACE_NOTRACE_DEPTH ; +/* * This is a case where function graph tracer has * modified a return address (LR) in a stack frame
arch/arm64/kernel/time.c +1 -1
@@ -52,7 +52,7 @@ unsigned long profile_pc(struct pt_regs *regs) frame.fp = regs->regs[29 ]; frame.pc = regs->pc;#ifdef CONFIG_FUNCTION_GRAPH_TRACER - frame.graph =-1 ;/* no task info */ + frame.graph = current->curr_ret_stack;#endif do { int ret = unwind_frame(NULL, &frame);
arch/cris/include/arch-v10/arch/bug.h +9 -2
@@ -44,18 +44,25 @@ struct bug_frame {* not be used like this with newer versions of gcc. */ #define BUG () \ +do { \ __asm__ __volatile__ ("clear.d [" __stringify(BUG_MAGIC) "]\n\t"\ "movu.w " __stringify(__LINE__) ",$r0\n\t"\ "jump 0f\n\t" \ ".section .rodata\n" \ "0:\t.string \"" __FILE__ "\"\n\t" \ - ".previous") + ".previous"); \ + unreachable(); \ +} while (0)#endif #else /* This just causes an oops. */ -#define BUG () (*(int *)0 = 0) +#define BUG () \ +do { \ + barrier_before_unreachable(); \ + __builtin_trap(); \ +} while (0)#endif
arch/ia64/include/asm/bug.h +5 -1
@@ -4,7 +4,11 @@#ifdef CONFIG_BUG #define ia64_abort () __builtin_trap() -#define BUG () do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0) +#define BUG () do { \ + printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + barrier_before_unreachable(); \ + ia64_abort(); \ +} while (0)/* should this BUG be made generic? */ #define HAVE_ARCH_BUG
arch/ia64/kernel/err_inject.c +1 -1
@@ -142,7 +142,7 @@ store_virtual_to_phys(struct device *dev, struct device_attribute *attr,u64 virt_addr=simple_strtoull (buf,NULL ,16 );int ret; - ret =get_user_pages (virt_addr,1 ,FOLL_WRITE ,NULL ,NULL ); + ret =get_user_pages_fast (virt_addr,1 ,FOLL_WRITE ,NULL );if (ret<=0 ) {#ifdef ERR_INJ_DEBUG printk ("Virtual address %lx is not existing.\n" ,virt_addr);
arch/m68k/coldfire/device.c +10 -2
@@ -135,7 +135,11 @@ static struct platform_device mcf_fec0 = { .id = 0, .num_resources = ARRAY_SIZE(mcf_fec0_resources), .resource = mcf_fec0_resources, - .dev.platform_data = FEC_PDATA, + .dev = { + .dma_mask = &mcf_fec0.dev.coherent_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = FEC_PDATA, + } };#ifdef MCFFEC_BASE1
@@ -167,7 +171,11 @@ static struct platform_device mcf_fec1 = { .id = 1, .num_resources = ARRAY_SIZE(mcf_fec1_resources), .resource = mcf_fec1_resources, - .dev.platform_data = FEC_PDATA, + .dev = { + .dma_mask = &mcf_fec1.dev.coherent_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = FEC_PDATA, + } };#endif /* MCFFEC_BASE1 */ #endif /* CONFIG_FEC */
arch/m68k/include/asm/bug.h +3 -0
@@ -8,16 +8,19 @@#ifndef CONFIG_SUN3 #define BUG () do { \ pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + barrier_before_unreachable(); \ __builtin_trap(); \ } while (0)#else #define BUG () do { \ pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + barrier_before_unreachable(); \ panic("BUG!"); \ } while (0)#endif #else #define BUG () do { \ + barrier_before_unreachable(); \ __builtin_trap(); \ } while (0)#endif
arch/mips/cavium-octeon/octeon-irq.c +5 -5
@@ -2271,7 +2271,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, parent_irq =irq_of_parse_and_map (ciu_node,0 );if (!parent_irq) { -pr_err ("ERROR: Couldn't acquire parent_irq for %s\n." , +pr_err ("ERROR: Couldn't acquire parent_irq for %s\n" , ciu_node->name);return -EINVAL ; }
@@ -2283,7 +2283,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, addr =of_get_address (ciu_node,0 ,NULL ,NULL );if (!addr) { -pr_err ("ERROR: Couldn't acquire reg(0) %s\n." , ciu_node->name); +pr_err ("ERROR: Couldn't acquire reg(0) %s\n" , ciu_node->name);return -EINVAL ; } host_data->raw_reg = (u64)phys_to_virt(
@@ -2291,7 +2291,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, addr =of_get_address (ciu_node,1 ,NULL ,NULL );if (!addr) { -pr_err ("ERROR: Couldn't acquire reg(1) %s\n." , ciu_node->name); +pr_err ("ERROR: Couldn't acquire reg(1) %s\n" , ciu_node->name);return -EINVAL ; } host_data->en_reg = (u64)phys_to_virt(
@@ -2299,7 +2299,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, r =of_property_read_u32 (ciu_node,"cavium,max-bits" , &val);if (r) { -pr_err ("ERROR: Couldn't read cavium,max-bits from %s\n." , +pr_err ("ERROR: Couldn't read cavium,max-bits from %s\n" , ciu_node->name);return r; }
@@ -2309,7 +2309,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node, &octeon_irq_domain_cib_ops, host_data);if (!cib_domain) { -pr_err ("ERROR: Couldn't irq_domain_add_linear()\n." ); +pr_err ("ERROR: Couldn't irq_domain_add_linear()\n" );return -ENOMEM ; }
arch/mips/include/asm/mach-ath79/ar71xx_regs.h +1 -1
@@ -167,7 +167,7 @@#define AR71XX_AHB_DIV_MASK 0x7#define AR724X_PLL_REG_CPU_CONFIG 0x00 -#define AR724X_PLL_REG_PCIE_CONFIG 0x18 +#define AR724X_PLL_REG_PCIE_CONFIG 0x10#define AR724X_PLL_FB_SHIFT 0#define AR724X_PLL_FB_MASK 0x3ff
arch/mips/include/asm/machine.h +1 -1
@@ -52,7 +52,7 @@ mips_machine_is_compatible(const struct mips_machine *mach, const void *fdt)if (!mach->matches)return NULL ; -for (match = mach->matches; match->compatible; match++) { +for (match = mach->matches; match->compatible[0 ]; match++) {if (fdt_node_check_compatible (fdt,0 , match->compatible) ==0 )return match; }
arch/mips/kernel/ptrace.c +18 -4
@@ -454,7 +454,7 @@ static int fpr_get_msa(struct task_struct *target,/* * Copy the floating-point context to the supplied NT_PRFPREG buffer. * Choose the appropriate helper for general registers, and then copy -* the FCSR register separately. +* the FCSR and FIR registers separately. */ static int fpr_get(struct task_struct *target, const struct user_regset *regset,
@@ -462,6 +462,7 @@ static int fpr_get(struct task_struct *target, void *kbuf, void __user *ubuf) {const int fcr31_pos =NUM_FPU_REGS *sizeof (elf_fpreg_t); +const int fir_pos = fcr31_pos +sizeof (u32);int err;if (sizeof (target->thread.fpu.fpr[0 ]) ==sizeof (elf_fpreg_t))
@@ -474,6 +475,12 @@ static int fpr_get(struct task_struct *target, err =user_regset_copyout (&pos, &count, &kbuf, &ubuf, &target->thread.fpu.fcr31, fcr31_pos, fcr31_pos +sizeof (u32)); +if (err) +return err; + + err =user_regset_copyout (&pos, &count, &kbuf, &ubuf, + &boot_cpu_data.fpu_id, + fir_pos, fir_pos +sizeof (u32));return err; }
@@ -522,7 +529,8 @@ static int fpr_set_msa(struct task_struct *target,/* * Copy the supplied NT_PRFPREG buffer to the floating-point context. * Choose the appropriate helper for general registers, and then copy -* the FCSR register separately. +* the FCSR register separately. Ignore the incoming FIR register +* contents though, as the register is read-only. * * We optimize for the case where `count % sizeof(elf_fpreg_t) == 0', * which is supposed to have been guaranteed by the kernel before
@@ -536,6 +544,7 @@ static int fpr_set(struct task_struct *target, const void *kbuf, const void __user *ubuf) { const int fcr31_pos = NUM_FPU_REGS * sizeof(elf_fpreg_t); +const int fir_pos = fcr31_pos +sizeof (u32);u32 fcr31;int err;
@@ -563,6 +572,11 @@ static int fpr_set(struct task_struct *target,ptrace_setfcr31 (target, fcr31); } +if (count >0 ) + err =user_regset_copyin_ignore (&pos, &count, &kbuf, &ubuf, + fir_pos, + fir_pos +sizeof (u32)); +return err; }
@@ -784,7 +798,7 @@ long arch_ptrace(struct task_struct *child, long request, fregs =get_fpu_regs (child);#ifdef CONFIG_32BIT -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
@@ -873,7 +887,7 @@ long arch_ptrace(struct task_struct *child, long request,init_fp_ctx (child);#ifdef CONFIG_32BIT -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
arch/mips/kernel/ptrace32.c +2 -2
@@ -98,7 +98,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,break ; } fregs =get_fpu_regs (child); -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
@@ -205,7 +205,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request, sizeof(child->thread.fpu)); child->thread.fpu.fcr31 =0 ; } -if (test_thread_flag (TIF_32BIT_FPREGS )) { +if (test_tsk_thread_flag (child,TIF_32BIT_FPREGS )) {/* * The odd registers are actually the high * order bits of the values stored in the even
arch/mips/kvm/mips.c +1 -1
@@ -45,7 +45,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { { "cache", VCPU_STAT(cache_exits), KVM_STAT_VCPU }, { "signal", VCPU_STAT(signal_exits), KVM_STAT_VCPU }, { "interrupt", VCPU_STAT(int_exits), KVM_STAT_VCPU }, - { "cop_unsuable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU }, + { "cop_unusable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU }, { "tlbmod", VCPU_STAT(tlbmod_exits), KVM_STAT_VCPU }, { "tlbmiss_ld", VCPU_STAT(tlbmiss_ld_exits), KVM_STAT_VCPU }, { "tlbmiss_st", VCPU_STAT(tlbmiss_st_exits), KVM_STAT_VCPU },
arch/mips/mm/c-r4k.c +6 -3
@@ -851,9 +851,12 @@ static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size)/* * Either no secondary cache or the available caches don't have the * subset property so we have to flush the primary caches -* explicitly +* explicitly. +* If we would need IPI to perform an INDEX-type operation, then +* we have to use the HIT-type alternative as IPI cannot be used +* here due to interrupts possibly being disabled. */ -if (size >= dcache_size) { +if (!r4k_op_needs_ipi (R4K_INDEX ) && size >= dcache_size) {r4k_blast_dcache (); }else {R4600_HIT_CACHEOP_WAR_IMPL ;
@@ -890,7 +893,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size)return ; } -if (size >= dcache_size) { +if (!r4k_op_needs_ipi (R4K_INDEX ) && size >= dcache_size) {r4k_blast_dcache (); }else {R4600_HIT_CACHEOP_WAR_IMPL ;
arch/powerpc/boot/Makefile +2 -1
@@ -101,7 +101,8 @@ $(addprefix $(obj)/,$(zlib-y)): \ libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c libfdtheader := fdt.h libfdt.h libfdt_internal.h -$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o opal.o): \ +$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o opal.o \ + treeboot-akebono.o treeboot-currituck.o treeboot-iss4xx.o): \ $(addprefix $(obj)/,$(libfdtheader)) src-wlib-y := string.S crt0.S stdio.c decompress.c main.c \
arch/powerpc/include/asm/exception-64s.h +29 -0
@@ -69,6 +69,27 @@*/ #define EX_R3 EX_DAR +#define STF_ENTRY_BARRIER_SLOT \ + STF_ENTRY_BARRIER_FIXUP_SECTION; \ + nop; \ + nop; \ + nop + +#define STF_EXIT_BARRIER_SLOT \ + STF_EXIT_BARRIER_FIXUP_SECTION; \ + nop; \ + nop; \ + nop; \ + nop; \ + nop; \ + nop + +/* +* r10 must be free to use, r13 must be paca +*/ +#define INTERRUPT_TO_KERNEL \ + STF_ENTRY_BARRIER_SLOT +/* * Macros for annotating the expected destination of (h)rfid *
@@ -85,16 +106,19 @@ rfid#define RFI_TO_USER \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ rfid; \ b rfi_flush_fallback#define RFI_TO_USER_OR_KERNEL \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ rfid; \ b rfi_flush_fallback#define RFI_TO_GUEST \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ rfid; \ b rfi_flush_fallback
@@ -103,21 +127,25 @@ hrfid#define HRFI_TO_USER \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ hrfid; \ b hrfi_flush_fallback#define HRFI_TO_USER_OR_KERNEL \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ hrfid; \ b hrfi_flush_fallback#define HRFI_TO_GUEST \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ hrfid; \ b hrfi_flush_fallback#define HRFI_TO_UNKNOWN \ + STF_EXIT_BARRIER_SLOT; \ RFI_FLUSH_SLOT; \ hrfid; \ b hrfi_flush_fallback
@@ -249,6 +277,7 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)#define __EXCEPTION_PROLOG_1 (area, extra, vec) \ OPT_SAVE_REG_TO_PACA(area+EX_PPR, r9, CPU_FTR_HAS_PPR); \ OPT_SAVE_REG_TO_PACA(area+EX_CFAR, r10, CPU_FTR_CFAR); \ + INTERRUPT_TO_KERNEL; \ SAVE_CTR(r10, area); \ mfcr r9; \ extra(vec); \
arch/powerpc/include/asm/feature-fixups.h +19 -0
@@ -187,6 +187,22 @@ label##3: \ FTR_ENTRY_OFFSET label##1b-label##3b; \ .popsection; +#define STF_ENTRY_BARRIER_FIXUP_SECTION \ +953: \ + .pushsection __stf_entry_barrier_fixup,"a"; \ + .align 2; \ +954: \ + FTR_ENTRY_OFFSET 953b-954b; \ + .popsection; + +#define STF_EXIT_BARRIER_FIXUP_SECTION \ +955: \ + .pushsection __stf_exit_barrier_fixup,"a"; \ + .align 2; \ +956: \ + FTR_ENTRY_OFFSET 955b-956b; \ + .popsection; +#define RFI_FLUSH_FIXUP_SECTION \ 951: \ .pushsection __rfi_flush_fixup,"a"; \
@@ -199,6 +215,9 @@ label##3: \#ifndef __ASSEMBLY__#include <linux/types.h> +extern long stf_barrier_fallback; +extern long __start___stf_entry_barrier_fixup, __stop___stf_entry_barrier_fixup; +extern long __start___stf_exit_barrier_fixup, __stop___stf_exit_barrier_fixup;extern long __start___rfi_flush_fixup, __stop___rfi_flush_fixup;void apply_feature_fixups (void );
arch/powerpc/include/asm/hvcall.h +3 -0
@@ -337,6 +337,9 @@#define H_CPU_CHAR_L1D_FLUSH_ORI30 (1ull << 61) // IBM bit 2#define H_CPU_CHAR_L1D_FLUSH_TRIG2 (1ull << 60) // IBM bit 3#define H_CPU_CHAR_L1D_THREAD_PRIV (1ull << 59) // IBM bit 4 +#define H_CPU_CHAR_BRANCH_HINTS_HONORED (1ull << 58) // IBM bit 5 +#define H_CPU_CHAR_THREAD_RECONFIG_CTRL (1ull << 57) // IBM bit 6 +#define H_CPU_CHAR_COUNT_CACHE_DISABLED (1ull << 56) // IBM bit 7#define H_CPU_BEHAV_FAVOUR_SECURITY (1ull << 63) // IBM bit 0#define H_CPU_BEHAV_L1D_FLUSH_PR (1ull << 62) // IBM bit 1
arch/powerpc/include/asm/irq_work.h +1 -0
@@ -6,5 +6,6 @@ static inline bool arch_irq_work_has_interrupt(void) {return true; } +extern void arch_irq_work_raise (void );#endif /* _ASM_POWERPC_IRQ_WORK_H */
arch/powerpc/include/asm/paca.h +1 -2
@@ -238,8 +238,7 @@ struct paca_struct {*/ u64 exrfi[EX_SIZE ]__aligned(0x80) ;void *rfi_flush_fallback_area; -u64 l1d_flush_congruence; -u64 l1d_flush_sets; +u64 l1d_flush_size;#endif };
arch/powerpc/include/asm/security_features.h new file +85 -0
85 lines not on this page · raw message
arch/powerpc/include/asm/setup.h +1 -1
@@ -49,7 +49,7 @@ enum l1d_flush_type { L1D_FLUSH_MTTRIG = 0x8, }; -void __init setup_rfi_flush (enum l1d_flush_type ,bool enable); +void setup_rfi_flush (enum l1d_flush_type ,bool enable);void do_rfi_flush_fixups (enum l1d_flush_type types);#endif /* !__ASSEMBLY__ */
arch/powerpc/kernel/Makefile +1 -1
@@ -42,7 +42,7 @@ obj-$(CONFIG_VDSO32) += vdso32/ obj-$(CONFIG_PPC_WATCHDOG) += watchdog.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_ppc970.o cpu_setup_pa6t.o -obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_power.o +obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_power.o security.o obj-$(CONFIG_PPC_BOOK3S_64) += mce.o mce_power.o obj-$(CONFIG_PPC_BOOK3E_64) += exceptions-64e.o idle_book3e.o obj-$(CONFIG_PPC64) += vdso64/
arch/powerpc/kernel/asm-offsets.c +1 -2
@@ -239,8 +239,7 @@ int main(void)OFFSET (PACA_IN_NMI , paca_struct, in_nmi);OFFSET (PACA_RFI_FLUSH_FALLBACK_AREA , paca_struct, rfi_flush_fallback_area);OFFSET (PACA_EXRFI , paca_struct, exrfi); -OFFSET (PACA_L1D_FLUSH_CONGRUENCE , paca_struct, l1d_flush_congruence); -OFFSET (PACA_L1D_FLUSH_SETS , paca_struct, l1d_flush_sets); +OFFSET (PACA_L1D_FLUSH_SIZE , paca_struct, l1d_flush_size);#endif OFFSET (PACAHWCPUID , paca_struct, hw_cpu_id);
arch/powerpc/kernel/cpu_setup_power.S +6 -0
@@ -28,6 +28,7 @@ _GLOBAL(__setup_cpu_power7) beqlr li r0,0 mtspr SPRN_LPID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR li r4,(LPCR_LPES1 >> LPCR_LPES_SH) bl __init_LPCR_ISA206
@@ -42,6 +43,7 @@ _GLOBAL(__restore_cpu_power7) beqlr li r0,0 mtspr SPRN_LPID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR li r4,(LPCR_LPES1 >> LPCR_LPES_SH) bl __init_LPCR_ISA206
@@ -59,6 +61,7 @@ _GLOBAL(__setup_cpu_power8) beqlr li r0,0 mtspr SPRN_LPID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR ori r3, r3, LPCR_PECEDH li r4,0 /* LPES = 0 */
@@ -81,6 +84,7 @@ _GLOBAL(__restore_cpu_power8) beqlr li r0,0 mtspr SPRN_LPID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR ori r3, r3, LPCR_PECEDH li r4,0 /* LPES = 0 */
@@ -103,6 +107,7 @@ _GLOBAL(__setup_cpu_power9) mtspr SPRN_PSSCR,r0 mtspr SPRN_LPID,r0 mtspr SPRN_PID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR LOAD_REG_IMMEDIATE(r4, LPCR_PECEDH | LPCR_PECE_HVEE | LPCR_HVICE | LPCR_HEIC) or r3, r3, r4
@@ -128,6 +133,7 @@ _GLOBAL(__restore_cpu_power9) mtspr SPRN_PSSCR,r0 mtspr SPRN_LPID,r0 mtspr SPRN_PID,r0 + mtspr SPRN_PCR,r0 mfspr r3,SPRN_LPCR LOAD_REG_IMMEDIATE(r4, LPCR_PECEDH | LPCR_PECE_HVEE | LPCR_HVICE | LPCR_HEIC) or r3, r3, r4
arch/powerpc/kernel/dt_cpu_ftrs.c +1 -0
@@ -137,6 +137,7 @@ static void __restore_cpu_cpufeatures(void)if (hv_mode) {mtspr (SPRN_LPID ,0 );mtspr (SPRN_HFSCR , system_registers.hfscr); +mtspr (SPRN_PCR ,0 ); }mtspr (SPRN_FSCR , system_registers.fscr);
arch/powerpc/kernel/exceptions-64s.S +53 -42
157 lines not on this page · raw message
arch/powerpc/kernel/idle_book3s.S +2 -0
@@ -838,6 +838,8 @@ BEGIN_FTR_SECTION mtspr SPRN_PTCR,r4 ld r4,_RPR(r1) mtspr SPRN_RPR,r4 + ld r4,_AMOR(r1) + mtspr SPRN_AMOR,r4 END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300) ld r4,_TSCR(r1)
arch/powerpc/kernel/security.c new file +237 -0
237 lines not on this page · raw message
arch/powerpc/kernel/setup_64.c +18 -30
97 lines not on this page · raw message
arch/powerpc/kernel/traps.c +30 -17
75 lines not on this page · raw message
arch/powerpc/kernel/vmlinux.lds.S +14 -0
@@ -133,6 +133,20 @@ SECTIONS RO_DATA(PAGE_SIZE) #ifdef CONFIG_PPC64 + . = ALIGN(8); + __stf_entry_barrier_fixup : AT(ADDR(__stf_entry_barrier_fixup) - LOAD_OFFSET) { + __start___stf_entry_barrier_fixup = .; + *(__stf_entry_barrier_fixup) + __stop___stf_entry_barrier_fixup = .; + } + + . = ALIGN(8); + __stf_exit_barrier_fixup : AT(ADDR(__stf_exit_barrier_fixup) - LOAD_OFFSET) { + __start___stf_exit_barrier_fixup = .; + *(__stf_exit_barrier_fixup) + __stop___stf_exit_barrier_fixup = .; + } + . = ALIGN(8); __rfi_flush_fixup : AT(ADDR(__rfi_flush_fixup) - LOAD_OFFSET) { __start___rfi_flush_fixup = .;
arch/powerpc/lib/feature-fixups.c +123 -1
142 lines not on this page · raw message
arch/powerpc/net/bpf_jit_comp.c +3 -0
@@ -329,6 +329,9 @@ static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4);PPC_LWZ_OFFS (r_A, r_skb, offsetof(struct sk_buff , len));break ; +case BPF_LDX |BPF_W |BPF_ABS :/* A = *((u32 *)(seccomp_data + K)); */ +PPC_LWZ_OFFS (r_A, r_skb,K ); +break ;case BPF_LDX |BPF_W |BPF_LEN :/* X = skb->len; */ PPC_LWZ_OFFS (r_X, r_skb, offsetof(struct sk_buff , len));break ;
arch/powerpc/perf/core-book3s.c +25 -0
@@ -457,6 +457,16 @@ static void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw)/* invalid entry */ continue ; +/* +* BHRB rolling buffer could very much contain the kernel +* addresses at this point. Check the privileges before +* exporting it to userspace (avoid exposure of regions +* where we could have speculative execution) +*/ +if (perf_paranoid_kernel () && !capable (CAP_SYS_ADMIN ) && +is_kernel_addr (addr)) +continue ; +/* Branches are read most recent first (ie. mfbhrb 0 is * the most recent branch). * There are two types of valid entries:
@@ -1226,6 +1236,7 @@ static void power_pmu_disable(struct pmu *pmu)*/ write_mmcr0 (cpuhw, val);mb (); +isync ();/* * Disable instruction sampling if it was enabled
@@ -1234,12 +1245,26 @@ static void power_pmu_disable(struct pmu *pmu)mtspr (SPRN_MMCRA , cpuhw->mmcr[2 ] & ~MMCRA_SAMPLE_ENABLE );mb (); +isync (); } cpuhw->disabled =1 ; cpuhw->n_added =0 ;ebb_switch_out (mmcr0); + +#ifdef CONFIG_PPC64 +/* +* These are readable by userspace, may contain kernel +* addresses and are not switched by context switch, so clear +* them now to avoid leaking anything to userspace in general +* including to another process. +*/ +if (ppmu->flags &PPMU_ARCH_207S ) { +mtspr (SPRN_SDAR ,0 ); +mtspr (SPRN_SIAR ,0 ); + } +#endif }local_irq_restore (flags);
arch/powerpc/platforms/powernv/npu-dma.c +141 -88
317 lines not on this page · raw message
arch/powerpc/platforms/powernv/setup.c +66 -26
125 lines not on this page · raw message
arch/powerpc/platforms/pseries/mobility.c +3 -0
@@ -348,6 +348,9 @@ void post_mobility_fixup(void)printk (KERN_ERR "Post-mobility device tree update " "failed: %d\n" , rc); +/* Possibly switch to a new RFI flush type */ +pseries_setup_rfi_flush (); +return ; }
arch/powerpc/platforms/pseries/pseries.h +2 -0
@@ -100,4 +100,6 @@ static inline unsigned long cmo_get_page_size(void)int dlpar_workqueue_init (void ); +void pseries_setup_rfi_flush (void ); +#endif /* _PSERIES_PSERIES_H */
arch/powerpc/platforms/pseries/setup.c +63 -18
49 lines not on this page · raw message
arch/x86/events/intel/ds.c +105 -12
117 lines not on this page · raw message
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/block/null_blk.c +25 -21
46 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +32 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/exynos/exynos_drm_g2d.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nouveau_backlight.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/omapdrm/dss/dss.c +104 -89
193 lines not on this page · raw message
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c +11 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/rockchip/rockchip_drm_gem.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/virtio/virtgpu_ioctl.c +11 -6
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-cpu-debug.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/core/uverbs_ioctl_merge.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/ib_verbs.c +19 -5
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_rcfw.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_sp.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/roce_hsi.h +24 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/qedr/verbs.c +44 -14
58 lines not on this page · raw message
drivers/md/md.c +44 -5
49 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cisco/enic/enic_main.c +7 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +13 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fman/fman_dtsec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/gianfar.c +3 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ibm/ibmvnic.c +39 -3
42 lines not on this page · raw message
drivers/net/ethernet/intel/e1000e/ich8lan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/mac.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/netdev.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +11 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/Kconfig +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/cmd.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h +10 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum.c +7 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_cxt.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_rdma.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qede/qede_fp.c +6 -14
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/emac/emac-mac.c +14 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +14 -2
Lines of this file are not shown. View the raw message.
drivers/net/hyperv/netvsc_drv.c +46 -5
51 lines not on this page · raw message
drivers/net/usb/lan78xx.c +28 -16
44 lines not on this page · raw message
drivers/net/wireless/ath/ath9k/common-spectral.c +7 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/dbg.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/dbg.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/runtime.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +43 -11
54 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/ops.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +20 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +20 -19
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +50 -57
107 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c +12 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +14 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/utils.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/rsi/rsi_91x_sdio.c +21 -11
Lines of this file are not shown. View the raw message.
drivers/phy/rockchip/phy-rockchip-emmc.c +17 -10
Lines of this file are not shown. View the raw message.
drivers/power/supply/ltc2941-battery-gauge.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/power/supply/max17042_battery.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/s390/cio/device_ops.c +32 -40
72 lines not on this page · raw message
drivers/usb/host/pci-quirks.c +109 -0
109 lines not on this page · raw message
fs/btrfs/tree-log.c +68 -9
77 lines not on this page · raw message
include/linux/if_vlan.h +67 -12
79 lines not on this page · raw message
kernel/events/core.c +53 -17
70 lines not on this page · raw message
mm/kasan/kasan.c +63 -3
66 lines not on this page · raw message
net/batman-adv/bridge_loop_avoidance.c +14 -8
Lines of this file are not shown. View the raw message.
tools/perf/tests/dwarf-unwind.c +30 -16
46 lines not on this page · raw message
tools/perf/tests/shell/trace+probe_libc_inet_pton.sh +3 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_maps.c +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc new file +46 -0
46 lines not on this page · raw message
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc new file +97 -0
97 lines not on this page · raw message
tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc new file +43 -0
43 lines not on this page · raw message
tools/testing/selftests/memfd/config new file +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/psock_fanout.c +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/mm/subpage_prot.c +14 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/seccomp/seccomp_bpf.c +61 -0
61 lines not on this page · raw message
tools/testing/selftests/vm/run_vmtests +17 -8
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.