Linux 4.19.88
Greg KH
maintainerI'm announcing the release of the 4.19.88 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/hid/uhid.txt | 2 Makefile | 2 arch/arm/Kconfig.debug | 28 +-- arch/arm/boot/dts/gemini-sq201.dts | 37 ---- arch/arm/boot/dts/imx1-ads.dts | 1 arch/arm/boot/dts/imx1-apf9328.dts | 1 arch/arm/boot/dts/imx1.dtsi | 2 arch/arm/boot/dts/imx23-evk.dts | 1 arch/arm/boot/dts/imx23-olinuxino.dts | 1 arch/arm/boot/dts/imx23-sansa.dts | 1 arch/arm/boot/dts/imx23-stmp378x_devb.dts | 1 arch/arm/boot/dts/imx23-xfi3.dts | 1 arch/arm/boot/dts/imx23.dtsi | 2 arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 1 arch/arm/boot/dts/imx25-karo-tx25.dts | 1 arch/arm/boot/dts/imx25-pdk.dts | 1 arch/arm/boot/dts/imx25.dtsi | 2 arch/arm/boot/dts/imx27-apf27.dts | 1 arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi | 1 arch/arm/boot/dts/imx27-pdk.dts | 1 arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi | 1 arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 1 arch/arm/boot/dts/imx27.dtsi | 2 arch/arm/boot/dts/imx31-bug.dts | 1 arch/arm/boot/dts/imx31-lite.dts | 1 arch/arm/boot/dts/imx31.dtsi | 2 arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi | 1 arch/arm/boot/dts/imx35-pdk.dts | 1 arch/arm/boot/dts/imx35.dtsi | 2 arch/arm/boot/dts/imx50-evk.dts | 1 arch/arm/boot/dts/imx50.dtsi | 2 arch/arm/boot/dts/imx51-apf51.dts | 1 arch/arm/boot/dts/imx51-babbage.dts | 1 arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 1 arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi | 1 arch/arm/boot/dts/imx51-ts4800.dts | 1 arch/arm/boot/dts/imx51-zii-rdu1.dts | 1 arch/arm/boot/dts/imx51-zii-scu2-mezz.dts | 1 arch/arm/boot/dts/imx51-zii-scu3-esb.dts | 1 arch/arm/boot/dts/imx51.dtsi | 2 arch/arm/boot/dts/imx53-ard.dts | 1 arch/arm/boot/dts/imx53-cx9020.dts | 1 arch/arm/boot/dts/imx53-m53.dtsi | 1 arch/arm/boot/dts/imx53-qsb-common.dtsi | 1 arch/arm/boot/dts/imx53-smd.dts | 1 arch/arm/boot/dts/imx53-tqma53.dtsi | 1 arch/arm/boot/dts/imx53-tx53.dtsi | 1 arch/arm/boot/dts/imx53-usbarmory.dts | 1 arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi | 8 - arch/arm/boot/dts/imx53.dtsi | 2 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 8 + arch/arm/boot/dts/imx6sl-evk.dts | 1 arch/arm/boot/dts/imx6sl-warp.dts | 1 arch/arm/boot/dts/imx6sl.dtsi | 2 arch/arm/boot/dts/imx6sll-evk.dts | 1 arch/arm/boot/dts/imx6sx-nitrogen6sx.dts | 1 arch/arm/boot/dts/imx6sx-sabreauto.dts | 1 arch/arm/boot/dts/imx6sx-sdb.dtsi | 1 arch/arm/boot/dts/imx6sx-softing-vining-2000.dts | 1 arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts | 1 arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts | 1 arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 1 arch/arm/boot/dts/imx6sx.dtsi | 2 arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 1 arch/arm/boot/dts/imx6ul-geam.dts | 1 arch/arm/boot/dts/imx6ul-isiot.dtsi | 1 arch/arm/boot/dts/imx6ul-litesom.dtsi | 1 arch/arm/boot/dts/imx6ul-opos6ul.dtsi | 1 arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 1 arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 1 arch/arm/boot/dts/imx6ul.dtsi | 2 arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 1 arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 1 arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 3 arch/arm/boot/dts/imx7d-colibri-emmc.dtsi | 1 arch/arm/boot/dts/imx7d-colibri.dtsi | 1 arch/arm/boot/dts/imx7d-nitrogen7.dts | 1 arch/arm/boot/dts/imx7d-pico.dtsi | 1 arch/arm/boot/dts/imx7d-sdb.dts | 1 arch/arm/boot/dts/imx7s-colibri.dtsi | 1 arch/arm/boot/dts/imx7s-warp.dts | 1 arch/arm/boot/dts/imx7s.dtsi | 2 arch/arm/boot/dts/omap4-l4.dtsi | 4 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 1 arch/arm/mach-ks8695/board-acs5k.c | 2 arch/arm/mach-omap1/Makefile | 2 arch/arm/mach-omap1/include/mach/usb.h | 2 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 2 arch/arm64/include/asm/assembler.h | 8 - arch/arm64/kernel/entry.S | 6 arch/arm64/kernel/head.S | 26 +++ arch/arm64/kernel/smp.c | 6 arch/microblaze/Makefile | 14 + arch/microblaze/boot/Makefile | 23 +- arch/openrisc/kernel/entry.S | 2 arch/openrisc/kernel/head.S | 2 arch/powerpc/Makefile | 9 + arch/powerpc/boot/dts/bamboo.dts | 4 arch/powerpc/include/asm/cputable.h | 1 arch/powerpc/include/asm/reg.h | 2 arch/powerpc/kernel/cputable.c | 10 - arch/powerpc/kernel/exceptions-64s.S | 2 arch/powerpc/kernel/prom.c | 6 arch/powerpc/mm/fault.c | 17 +- arch/powerpc/mm/ppc_mmu_32.c | 4 arch/powerpc/net/bpf_jit_comp64.c | 13 + arch/powerpc/perf/isa207-common.c | 25 ++- arch/powerpc/perf/isa207-common.h | 4 arch/powerpc/platforms/83xx/misc.c | 17 ++ arch/powerpc/platforms/powernv/eeh-powernv.c | 8 - arch/powerpc/platforms/powernv/pci-ioda.c | 4 arch/powerpc/platforms/powernv/pci.c | 4 arch/powerpc/platforms/pseries/dlpar.c | 4 arch/powerpc/platforms/pseries/hotplug-memory.c | 1 arch/powerpc/xmon/xmon.c | 2 arch/s390/kvm/kvm-s390.c | 17 +- arch/s390/mm/gup.c | 9 - arch/um/Kconfig.debug | 1 arch/um/drivers/vector_user.c | 1 arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 4 arch/x86/kernel/kprobes/core.c | 6 arch/x86/kvm/vmx.c | 24 +-- arch/x86/xen/xen-asm_64.S | 2 crypto/crypto_user.c | 37 ++-- drivers/acpi/acpi_lpss.c | 7 drivers/acpi/apei/ghes.c | 32 +--- drivers/ata/ahci_mvebu.c | 68 ++++++-- drivers/base/platform.c | 3 drivers/block/drbd/drbd_main.c | 1 drivers/block/drbd/drbd_nl.c | 43 ++++- drivers/block/drbd/drbd_receiver.c | 52 ++++++ drivers/block/drbd/drbd_state.h | 2 drivers/bluetooth/hci_bcm.c | 22 ++ drivers/bus/ti-sysc.c | 32 +++- drivers/char/hw_random/stm32-rng.c | 8 + drivers/clk/at91/clk-generated.c | 28 +-- drivers/clk/at91/clk-main.c | 7 drivers/clk/at91/sckc.c | 20 ++ drivers/clk/clk-stm32mp1.c | 28 +-- drivers/clk/meson/gxbb.c | 1 drivers/clk/samsung/clk-exynos5420.c | 6 drivers/clk/samsung/clk-exynos5433.c | 14 + drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 2 drivers/clk/sunxi/clk-sunxi.c | 4 drivers/clk/ti/clk-dra7-atl.c | 6 drivers/clk/ti/clkctrl.c | 5 drivers/clocksource/timer-fttmr010.c | 73 +++++---- drivers/clocksource/timer-mediatek.c | 10 - drivers/crypto/chelsio/chtls/chtls.h | 5 drivers/crypto/chelsio/chtls/chtls_main.c | 50 +++--- drivers/crypto/mxc-scc.c | 12 - drivers/crypto/stm32/stm32-hash.c | 2 drivers/dma/stm32-dma.c | 20 -- drivers/firmware/arm_sdei.c | 6 drivers/gpio/gpio-pca953x.c | 2 drivers/gpio/gpio-raspberrypi-exp.c | 1 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 drivers/gpu/ipu-v3/ipu-pre.c | 6 drivers/hid/hid-core.c | 51 +++++- drivers/hid/intel-ish-hid/ishtp-hid.c | 2 drivers/infiniband/hw/bnxt_re/qplib_sp.c | 5 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 15 + drivers/infiniband/hw/hns/hns_roce_mr.c | 4 drivers/infiniband/hw/hns/hns_roce_qp.c | 3 drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 drivers/infiniband/hw/qib/qib_sdma.c | 4 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 2 drivers/infiniband/sw/rxe/rxe_hw_counters.c | 2 drivers/infiniband/sw/rxe/rxe_verbs.h | 6 drivers/infiniband/ulp/srp/ib_srp.c | 1 drivers/input/serio/gscps2.c | 4 drivers/input/serio/hp_sdc.c | 4 drivers/iommu/amd_iommu.c | 8 - drivers/mailbox/mailbox-test.c | 14 + drivers/mailbox/stm32-ipcc.c | 37 +++- drivers/md/bcache/debug.c | 3 drivers/md/bcache/super.c | 3 drivers/md/bcache/writeback.c | 3 drivers/md/dm-flakey.c | 33 ++-- drivers/md/dm-raid.c | 3 drivers/media/platform/atmel/atmel-isc.c | 12 + drivers/media/platform/stm32/stm32-dcmi.c | 23 ++ drivers/media/v4l2-core/v4l2-ctrls.c | 1 drivers/memory/omap-gpmc.c | 1 drivers/misc/mei/bus.c | 9 - drivers/misc/mei/hw-me-regs.h | 1 drivers/misc/mei/pci-me.c | 1 drivers/mmc/core/block.c | 6 drivers/mmc/core/queue.c | 9 + drivers/mmc/host/meson-gx-mmc.c | 73 +++++++-- drivers/mtd/mtdcore.h | 2 drivers/mtd/mtdpart.c | 35 +++- drivers/mtd/nand/raw/atmel/nand-controller.c | 2 drivers/mtd/nand/raw/atmel/pmecc.c | 21 +- drivers/mtd/nand/raw/sunxi_nand.c | 2 drivers/mtd/spi-nor/spi-nor.c | 2 drivers/mtd/ubi/build.c | 2 drivers/mtd/ubi/kapi.c | 2 drivers/net/Kconfig | 4 drivers/net/can/c_can/c_can.c | 26 +++ drivers/net/can/flexcan.c | 10 + drivers/net/can/rx-offload.c | 96 ++++++++++-- drivers/net/can/spi/mcp251x.c | 2 drivers/net/can/usb/peak_usb/pcan_usb.c | 15 + drivers/net/dsa/bcm_sf2.c | 7 drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 4 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 57 +++++-- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 78 +++++++-- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 7 drivers/net/ethernet/broadcom/genet/bcmmii.c | 33 ++++ drivers/net/ethernet/cadence/macb.h | 6 drivers/net/ethernet/cadence/macb_main.c | 19 +- drivers/net/ethernet/cadence/macb_ptp.c | 5 drivers/net/ethernet/freescale/fec_main.c | 13 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 7 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 7 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 drivers/net/ethernet/mellanox/mlx5/core/main.c | 8 - drivers/net/ethernet/mscc/ocelot.h | 2 drivers/net/ethernet/sfc/ef10.c | 29 ++- drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 4 drivers/net/ethernet/ti/cpts.c | 4 drivers/net/macvlan.c | 3 drivers/net/slip/slip.c | 1 drivers/net/vxlan.c | 13 + drivers/net/wan/fsl_ucc_hdlc.c | 1 drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 10 + drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 29 +++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h | 9 + drivers/net/wireless/intel/iwlwifi/dvm/main.c | 17 ++ drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c | 19 -- drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h | 5 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 4 drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 14 + drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 24 +-- drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 10 - drivers/net/wireless/marvell/mwifiex/debugfs.c | 14 - drivers/net/wireless/marvell/mwifiex/scan.c | 18 +- drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 3 drivers/nvme/host/core.c | 41 ++++- drivers/nvme/host/nvme.h | 3 drivers/pci/msi.c | 22 +- drivers/pinctrl/intel/pinctrl-cherryview.c | 24 +-- drivers/pinctrl/pinctrl-xway.c | 39 +++- drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 2 drivers/pinctrl/sh-pfc/pfc-sh7264.c | 9 - drivers/pinctrl/sh-pfc/pfc-sh7734.c | 16 +- drivers/pinctrl/stm32/pinctrl-stm32.c | 26 ++- drivers/platform/x86/hp-wmi.c | 10 - drivers/platform/x86/mlx-platform.c | 4 drivers/power/avs/smartreflex.c | 3 drivers/pwm/core.c | 1 drivers/pwm/pwm-bcm-iproc.c | 1 drivers/pwm/pwm-berlin.c | 1 drivers/pwm/pwm-clps711x.c | 4 drivers/pwm/pwm-pca9685.c | 1 drivers/pwm/pwm-samsung.c | 1 drivers/regulator/palmas-regulator.c | 5 drivers/regulator/tps65910-regulator.c | 4 drivers/reset/core.c | 1 drivers/s390/crypto/ap_queue.c | 23 ++ drivers/scsi/csiostor/csio_init.c | 2 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 12 + drivers/scsi/libsas/sas_expander.c | 29 +++ drivers/scsi/lpfc/lpfc.h | 6 drivers/scsi/lpfc/lpfc_attr.c | 4 drivers/scsi/lpfc/lpfc_bsg.c | 6 drivers/scsi/lpfc/lpfc_els.c | 4 drivers/scsi/lpfc/lpfc_hbadisc.c | 2 drivers/scsi/lpfc/lpfc_init.c | 7 drivers/scsi/lpfc/lpfc_scsi.c | 18 ++ drivers/scsi/lpfc/lpfc_sli.c | 2 drivers/scsi/qla2xxx/qla_attr.c | 2 drivers/scsi/qla2xxx/qla_init.c | 10 - drivers/scsi/qla2xxx/qla_nvme.c | 16 -- drivers/scsi/qla2xxx/qla_os.c | 2 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 48 +----- drivers/scsi/qla2xxx/tcm_qla2xxx.h | 3 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 5 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 7 drivers/target/target_core_user.c | 2 drivers/thunderbolt/switch.c | 54 +++++- drivers/tty/serial/8250/8250_core.c | 26 +++ drivers/tty/serial/8250/8250_fsl.c | 23 ++ drivers/tty/serial/8250/8250_of.c | 5 drivers/tty/serial/max310x.c | 7 drivers/tty/serial/sh-sci.c | 2 drivers/usb/dwc2/core.c | 2 drivers/usb/host/ehci-omap.c | 7 drivers/usb/serial/ftdi_sio.c | 3 drivers/usb/serial/ftdi_sio_ids.h | 7 drivers/vfio/vfio_iommu_spapr_tce.c | 10 - drivers/watchdog/meson_gxbb_wdt.c | 4 drivers/watchdog/sama5d4_wdt.c | 4 drivers/xen/xen-pciback/pci_stub.c | 3 fs/btrfs/delayed-ref.c | 3 fs/btrfs/dev-replace.c | 21 +- fs/btrfs/disk-io.c | 7 fs/btrfs/extent-tree.c | 7 fs/btrfs/extent_io.h | 4 fs/btrfs/volumes.c | 13 - fs/ceph/super.c | 11 + fs/exofs/super.c | 37 +++- fs/ext4/inode.c | 15 + fs/ext4/super.c | 21 +- fs/f2fs/file.c | 2 fs/f2fs/segment.c | 2 fs/gfs2/bmap.c | 2 fs/ocfs2/journal.c | 6 fs/ubifs/sb.c | 13 + fs/xfs/libxfs/xfs_symlink_remote.c | 14 + fs/xfs/xfs_buf.c | 3 fs/xfs/xfs_ioctl32.c | 40 ++++- fs/xfs/xfs_rtalloc.c | 4 fs/xfs/xfs_symlink.c | 33 ++-- include/linux/blktrace_api.h | 8 - include/linux/genalloc.h | 13 - include/linux/gpio/consumer.h | 2 include/linux/idr.h | 2 include/linux/kprobes.h | 3 include/linux/memory_hotplug.h | 18 +- include/linux/netdevice.h | 2 include/linux/reset-controller.h | 2 include/linux/sched/task.h | 2 include/linux/serial_8250.h | 4 include/linux/swap.h | 6 include/linux/trace_events.h | 2 include/net/fq_impl.h | 4 include/net/sctp/structs.h | 3 include/net/sock.h | 2 include/trace/events/rpcrdma.h | 28 +++ init/main.c | 1 kernel/bpf/cpumap.c | 13 + kernel/bpf/syscall.c | 6 kernel/fork.c | 5 kernel/kprobes.c | 67 ++++++-- kernel/trace/trace_events.c | 34 +++- kernel/trace/trace_events_hist.c | 24 +-- lib/genalloc.c | 25 +-- lib/radix-tree.c | 2 mm/internal.h | 10 + mm/memblock.c | 7 mm/page_alloc.c | 29 +-- net/bridge/netfilter/ebt_dnat.c | 19 +- net/core/neighbour.c | 13 + net/core/net_namespace.c | 3 net/core/sock.c | 2 net/decnet/dn_dev.c | 2 net/ipv4/ip_gre.c | 33 ++-- net/ipv4/ip_tunnel.c | 8 - net/ipv4/tcp_timer.c | 6 net/ipv6/ip6_gre.c | 36 ++-- net/mac80211/sta_info.c | 3 net/netfilter/nf_nat_sip.c | 39 ++++ net/netfilter/nf_tables_api.c | 2 net/openvswitch/datapath.c | 17 +- net/psample/psample.c | 2 net/sched/sch_mq.c | 3 net/sched/sch_mqprio.c | 4 net/sched/sch_multiq.c | 2 net/sched/sch_prio.c | 2 net/sctp/associola.c | 1 net/sctp/endpointola.c | 1 net/sctp/input.c | 4 net/sctp/sm_statefuns.c | 4 net/sctp/transport.c | 3 net/smc/smc_cdc.c | 7 net/smc/smc_cdc.h | 45 ++++- net/smc/smc_core.c | 4 net/smc/smc_tx.c | 10 - net/sunrpc/xprtrdma/rpc_rdma.c | 4 net/tipc/link.c | 2 net/tipc/netlink_compat.c | 15 + net/vmw_vsock/af_vsock.c | 7 net/xfrm/xfrm_state.c | 2 samples/bpf/Makefile | 1 samples/vfio-mdev/mtty.c | 26 +-- scripts/gdb/linux/symbols.py | 3 security/apparmor/apparmorfs.c | 1 sound/core/compress_offload.c | 2 sound/soc/codecs/msm8916-wcd-analog.c | 4 sound/soc/codecs/rt5645.c | 14 + sound/soc/kirkwood/kirkwood-i2s.c | 11 - sound/soc/samsung/i2s.c | 8 - sound/soc/stm/stm32_i2s.c | 29 +-- sound/soc/stm/stm32_sai.c | 11 + sound/soc/stm/stm32_sai_sub.c | 12 + tools/testing/selftests/bpf/test_sockmap.c | 9 + tools/vm/page-types.c | 2 virt/kvm/kvm_main.c | 2 397 files changed, 2586 insertions(+), 1181 deletions(-)
Aaro Koskinen (1):
ARM: OMAP1: fix USB configuration for device-only setups
Aaron Lu (2):
mm/page_alloc.c: free order-0 pages through PCP in page_frag_free() mm/page_alloc.c: use a single function to free page
Aaron Ma (1):
iommu/amd: Fix NULL dereference bug in match_hid_uid
Aditya Pakki (4):
net/netlink_compat: Fix a missing check of nla_parse_nested net/net_namespace: Check the return value of register_pernet_subsys()
infiniband: bnxt_re: qplib: Check the return value of send_message infiniband/qedr: Potential null ptr dereference of qp
Ahmed Zaki (1):
mac80211: fix station inactive_time shortly after boot
Al Viro (1):
exofs_mount(): fix leaks on failure exits
Alexander Shiyan (2):
serial: max310x: Fix tx_empty() callback
pwm: clps711x: Fix period calculation
Alexander Usyskin (2):
mei: bus: prefix device names on bus with the bus name
mei: me: add comet point V device id
Alexandre Belloni (2):
clk: at91: avoid sleeping early
clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()
Alexandre Torgue (1):
pinctrl: stm32: fix memory leak issue
Alexey Kardashevskiy (2):
vfio/spapr_tce: Get rid of possible infinite loop powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status
Alexey Skidanov (1):
lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk
Alin Nastac (1):
netfilter: nf_nat_sip: fix RTP/RTCP source port translations
Anand Jain (1):
btrfs: dev-replace: set result code of cancel by status of scrub
Anatoliy Glagolev (1):
scsi: qla2xxx: deadlock by configfs_depend_item
Andrea Righi (1):
kprobes/x86/xen: blacklist non-attachable xen interrupt functions
Andy Shevchenko (2):
pinctrl: cherryview: Allocate IRQ chip dynamic
net: dev: Use unsigned integer as an argument to left-shift
Anthony Yznaga (1):
tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures
Arnaud Pouliquen (1):
mailbox: stm32_ipcc: add spinlock to fix channels concurrent access
Arnd Bergmann (1):
ARM: ks8695: fix section mismatch warning
Atul Gupta (1):
crypto/chelsio/chtls: listen fails with multiadapt
Avraham Stern (1):
iwlwifi: mvm: force TCM re-evaluation on TCM resume
Bart Van Assche (2):
scsi: target/tcmu: Fix queue_cmd_ring() declaration RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer
Benjamin Herrenschmidt (2):
powerpc/44x/bamboo: Fix PCI range
powerpc: Fix HMIs on big-endian with CONFIG_RELOCATABLE=y
Bert Kenward (1):
sfc: initialise found bitmap in efx_ef10_mtd_probe
Björn Töpel (1):
samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
Bob Peterson (1):
gfs2: take jdata unstuff into account in do_grow
Boris Brezillon (3):
mtd: rawnand: sunxi: Write pageprog related opcodes to WCMD_SET
mtd: Check add_mtd_device() ret code
mtd: Remove a debug trace in mtdpart.c
Brian Foster (1):
xfs: end sync buffer I/O properly on shutdown error
Brian Norris (1):
mwifiex: debugfs: correct histogram spacing, formatting
Candle Sun (1):
HID: core: check whether Usage Page item is after Usage ID items
Chao Yu (1):
f2fs: fix to dirty inode synchronously
Chris Coulson (1):
apparmor: delete the dentry in aafs_remove() to avoid a leak
Christophe Leroy (5):
powerpc/book3s/32: fix number of bats in p/v_block_mapped() powerpc/xmon: fix dump_segments()
powerpc/prom: fix early DEBUG messages
powerpc/mm: Make NULL pointer deferences explicit on bad page faults. powerpc/83xx: handle machine check caused by watchdog timer
Chuck Lever (1):
xprtrdma: Prevent leak of rpcrdma_rep objects
Chuhong Yuan (3):
net: fec: add missed clk_disable_unprepare in remove
net: macb: add missed tasklet_kill
net: fec: fix clock count mis-match
Claudiu Beznea (1):
drm/atmel-hlcdc: revert shift by 8
Colin Ian King (1):
clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
Dan Carpenter (2):
block: drbd: remove a stray unlock in __drbd_send_protocol() IB/qib: Fix an error code in qib_sdma_verbs_send()
Darrick J. Wong (1):
xfs: require both realtime inodes to mount
Darwin Dingel (1):
serial: 8250: Rate limit serial port rx interrupts during input overruns
Dave Chinner (1):
xfs: zero length symlinks are not valid
Doug Berger (2):
net: bcmgenet: use RGMII loopback for MAC reset
net: bcmgenet: reapply manual settings to the PHY
Dust Li (1):
net: sched: fix tc -s class show no bstats on class with nolock subqueues
Edward Cree (1):
sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
Eric Biggers (1):
crypto: user - support incremental algorithm dumps
Eric Dumazet (2):
powerpc/bpf: Fix tail call implementation
net: fix possible overflow in __sk_mem_raise_allocated()
Eugen Hristev (5):
clk: at91: fix update bit maps on CFG_MOR write
media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE
media: atmel: atmel-isc: fix asd memory allocation
media: atmel: atmel-isc: fix INIT_WORK misplacement
watchdog: sama5d4: fix WDD value to be always set to max
Fabien Dessenne (1):
mailbox: mailbox-test: fix null pointer if no mmio
Fabien Parent (1):
clocksource/drivers/mediatek: Fix error handling
Fabio D'Urso (1):
USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
Fabio Estevam (16):
ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts
ARM: dts: imx51: Fix memory node duplication
ARM: dts: imx53: Fix memory node duplication
ARM: dts: imx31: Fix memory node duplication
ARM: dts: imx35: Fix memory node duplication
ARM: dts: imx7: Fix memory node duplication
ARM: dts: imx6ul: Fix memory node duplication
ARM: dts: imx6sx: Fix memory node duplication
ARM: dts: imx6sl: Fix memory node duplication
ARM: dts: imx50: Fix memory node duplication
ARM: dts: imx23: Fix memory node duplication
ARM: dts: imx1: Fix memory node duplication
ARM: dts: imx27: Fix memory node duplication
ARM: dts: imx25: Fix memory node duplication
ARM: dts: imx53-voipac-dmm-668: Fix memory node duplication
crypto: mxc-scc - fix build warnings on ARM64
Filipe Manana (1):
Btrfs: allow clear_extent_dirty() to receive a cached extent state record
Florian Westphal (1):
bridge: ebtables: don't crash when using dnat target in output chains
Gabor Juhos (1):
ubifs: Fix default compression selection in ubifs
Gabriel Fernandez (4):
clk: stm32mp1: fix HSI divider flag
clk: stm32mp1: fix mcu divider table
clk: stm32mp1: add CLK_SET_RATE_NO_REPARENT to Kernel clocks
clk: stm32mp1: parent clocks update
Gal Pressman (1):
RDMA/vmw_pvrdma: Use atomic memory allocation in create AH
Geert Uytterhoeven (5):
serial: sh-sci: Fix crash in rx_timer_fn() on PIO fallback
pinctrl: sh-pfc: r8a77990: Fix MOD_SEL0 SEL_I2C1 field width
pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration
pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10
openrisc: Fix broken paths to arch/or32
Gen Zhang (1):
powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property()
Giridhar Malavali (1):
scsi: qla2xxx: Fix for FC-NVMe discovery for NPIV port
Greg Kroah-Hartman (4):
Revert "KVM: nVMX: reset cache/shadows when switching loaded VMCS"
Revert "KVM: nVMX: move check_vmentry_postreqs() call to nested_vmx_enter_non_root_mode()"
kvm: properly check debugfs dentry before using it
Linux 4.19.88
Gustavo A. R. Silva (1):
tipc: fix memory leak in tipc_nl_compat_publ_dump
Hans de Goede (5):
ACPI / LPSS: Ignore acpi_device_fix_up_power() return value
staging: rtl8723bs: Drop ACPI device ids
staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size
Hans van Kranenburg (1):
btrfs: fix ncopies raid_attr for RAID56
Harald Freudenberger (1):
s390/zcrypt: make sysfs reset attribute trigger queue reset
Harini Katakam (1):
net: macb: Fix SUBNS increment and increase resolution
He Zhe (1):
serial: 8250: Fix serial8250 initialization crash
Heinz Mauelshagen (1):
dm raid: fix false -EBUSY when handling check/repair message
Helge Deller (2):
parisc: Fix serio address output
parisc: Fix HP SDC hpa address output
Himanshu Madhani (1):
scsi: qla2xxx: Fix NPIV handling for FC-NVMe
Hoang Le (1):
tipc: fix skb may be leaky in tipc_link_input
Huang Shijie (1):
lib/genalloc.c: use vzalloc_node() to allocate the bitmap
Hugues Fruchet (2):
media: stm32-dcmi: fix DMA corruption when stopping streaming
media: stm32-dcmi: fix check of pm_runtime_get_sync return value
Hui Wang (1):
ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board
Ilya Leoshkevich (1):
scripts/gdb: fix debugging modules compiled with hot/cold partitioning
Jakub Kicinski (1):
selftests: bpf: test_sockmap: handle file creation failures gracefully
James Morse (3):
firmware: arm_sdei: Fix DT platform device creation
ACPI / APEI: Don't wait to serialise with oops messages when panic()ing ACPI / APEI: Switch estatus pool to use vmalloc memory
James Smart (3):
scsi: lpfc: Fix kernel Oops due to null pring pointers
scsi: lpfc: Fix dif and first burst use in write commands
scsi: lpfc: Enable Management features for IF_TYPE=6
Jan Kara (1):
blktrace: Show requests without sector
Jeff Layton (1):
ceph: return -EINVAL if given fsc mount option on kernel w/o support
Jens Axboe (1):
nvme: provide fallback for discard alloc failure
Jeroen Hofstee (3):
can: peak_usb: report bus recovery as well
can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error
Jerome Brunet (1):
mmc: meson-gx: make sure the descriptor is stopped on errors
Jesper Dangaard Brouer (2):
bpf/cpumap: make sure frame_size for build_skb is aligned if headroom isn't
xdp: fix cpumap redirect SKB creation bug
Jim Mattson (1):
kvm: vmx: Set IA32_TSC_AUX for legacy mode guests
Joel Stanley (1):
powerpc/32: Avoid unsupported flags with clang
Johannes Berg (1):
decnet: fix DN_IFREQ_SIZE
John Garry (2):
scsi: libsas: Support SATA PHY connection rate unmatch fixing during discovery
scsi: libsas: Check SMP PHY control function result
John Rutherford (1):
tipc: fix link name length check
Jonathan Bakker (1):
Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading
Josef Bacik (1):
btrfs: only track ref_heads in delayed_ref_updates
Jouni Hogander (1):
slip: Fix use-after-free Read in slip_open
Junxiao Bi (1):
ocfs2: clear journal dirty flag after shutdown journal
Kangjie Lu (9):
drivers/regulator: fix a missing check of return value
regulator: tps65910: fix a missing check of return value
net: (cpts) fix a missing check of clk_prepare
net: stmicro: fix a missing check of clk_prepare
net: dsa: bcm_sf2: Propagate error value from mdio_write
atl1e: checking the status of atl1e_write_phy_reg
tipc: fix a missing check of genlmsg_put
net: marvell: fix a missing check of acpi_match_device
netfilter: nf_tables: fix a missing check of nla_put_failure
Karsten Graul (2):
net/smc: prevent races between smc_lgr_terminate() and smc_conn_free() net/smc: don't wait for send buffer space when data was already sent
Kishon Vijay Abraham I (1):
reset: Fix memory leak in reset_control_array_put()
Konstantin Khlebnikov (2):
net/core/neighbour: tell kmemleak about hash tables net/core/neighbour: fix kmemleak minimal reference count for hash tables
Krzysztof Kozlowski (1):
gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB
Kyle Roeschley (2):
ath6kl: Only use match sets when firmware supports it
ath6kl: Fix off by one error in scan completion
Lars Ellenberg (3):
drbd: ignore "all zero" peer volume sizes in handshake
drbd: reject attach of unsuitable uuids even if connected
drbd: do not block when adjusting "disk-options" while IO is frozen
Laurent Pinchart (1):
arm64: dts: renesas: draak: Fix CVBS input
Leon Romanovsky (1):
net/mlx5: Continue driver initialization despite debugfs failure
Lepton Wu (1):
VSOCK: bind to random port for VMADDR_PORT_ANY
Lijun Ou (3):
RDMA/hns: Fix the bug while use multi-hop of pbl RDMA/hns: Fix the bug with updating rq head pointer when flush cqe RDMA/hns: Bugfix for the scene without receiver queue
Linus Walleij (2):
ARM: dts: Fix up SQ201 flash access
memory: omap-gpmc: Get the header of the enum
Lionel Debieve (2):
crypto: stm32/hash - Fix hmac issue more than 256 bytes
hwrng: stm32 - fix unbalanced pm_runtime_enable
Lorenzo Bianconi (2):
net: ip_gre: do not report erspan_ver for gre or gretap
net: ip6_gre: do not report erspan_ver for ip6gre or ip6gretap
Luc Van Oostenryck (1):
drbd: fix print_st_err()'s prototype to match the definition
Luca Ceresoli (1):
net: macb: fix error format in dev_err()
Luca Coelho (1):
iwlwifi: move iwl_nvm_check_version() into dvm
Lucas Stach (1):
gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change
Maciej Kwiecien (1):
sctp: don't compare hb_timer expire date before starting it
Madhan Mohan R (1):
brcmfmac: set SDIO F1 MesBusyCtrl for CYW4373
Madhavan Srinivasan (1):
powerpc/perf: Fix unit_sel/cache_sel checks
Marc Kleine-Budde (6):
can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak
can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max
can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM
can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors
can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error
can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
Marek Szyprowski (2):
clk: samsung: exynos5433: Fix error paths
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
Marek Vasut (1):
gpio: pca953x: Fix AI overflow on PCAL6524
Martin Blumenstingl (1):
clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate
Martin Schiller (1):
pinctrl: xway: fix gpio-hog related boot issues
Masahiro Yamada (3):
microblaze: adjust the help to the real behavior
microblaze: move "... is ready" messages to arch/microblaze/Makefile
microblaze: fix multiple bugs in arch/microblaze/boot/Makefile
Masami Hiramatsu (3):
tracing: Lock event_mutex before synth_event_mutex
kprobes: Blacklist symbols in arch-defined prohibited area kprobes/x86: Show x86-64 specific blacklisted symbols correctly
Mathias Kresin (1):
usb: dwc2: use a longer core rest timeout in dwc2_core_reset()
Matteo Croce (1):
geneve: change NET_UDP_TUNNEL dependency to select
Matthew Wilcox (Oracle) (2):
idr: Fix integer overflow in idr_for_each_entry
idr: Fix idr_alloc_u32 on 32-bit systems
Menglong Dong (1):
macvlan: schedule bc_work even if error
Michael Chan (1):
bnxt_en: Save ring statistics before reset.
Michael Ellerman (1):
powerpc/pseries: Fix node leak in update_lmb_associativity_index()
Michael Mueller (1):
KVM: s390: unregister debug feature on failing arch init
Mika Westerberg (1):
thunderbolt: Power cycle the router if NVM authentication fails
Ming Lei (2):
PCI/MSI: Return -ENOSPC from pci_alloc_irq_vectors_affinity()
mmc: core: align max segment size with logical block size
Miquel Raynal (2):
ata: ahci: mvebu: do Armada 38x configuration only on relevant SoCs
mtd: rawnand: atmel: Fix spelling mistake in error message
Nathan Chancellor (2):
clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup vfio-mdev/samples: Use u8 instead of char for handle functions
Navid Emamdoost (1):
sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
Nick Bowler (2):
xfs: Align compat attrlist_by_handle with native implementation.
xfs: Fix bulkstat compat ioctls on x32 userspace.
Nicolas Saenz Julienne (2):
gpio: raspberrypi-exp: decrease refcount on firmware dt node
firmware: arm_sdei: fix wrong of_node_put() in init function
Nikolay Aleksandrov (1):
net: psample: fix skb_over_panic
Nikolay Borisov (1):
btrfs: Check for missing device before bio submission in btrfs_map_bio
Olivier Moysan (4):
ASoC: stm32: sai: add restriction on mmap support
ASoC: stm32: i2s: fix dma configuration
ASoC: stm32: i2s: fix 16 bit format support
ASoC: stm32: i2s: fix IRQ clearing
Olof Johansson (1):
lib/genalloc.c: include vmalloc.h
Ondrej Jirman (1):
ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
Pan Bian (6):
mwifiex: fix potential NULL dereference and use after free
rtl818x: fix potential use after free
ubi: Put MTD device after it is not used
ubi: Do not drop UBI device reference before using
HID: intel-ish-hid: fixes incorrect error handling
staging: rtl8192e: fix potential use after free
Paolo Abeni (3):
openvswitch: fix flow command message size
openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
openvswitch: remove another BUG_ON()
Parav Pandit (1):
IB/rxe: Make counters thread safe
Paul Thomas (1):
net: macb driver, check for SKBTX_HW_TSTAMP
Peng Li (2):
net: hns3: fix an issue for hclgevf_ae_get_hdev
net: hns3: fix an issue for hns3_update_new_int_gl
Peng Sun (2):
bpf: decrease usercnt if bpf_map_new_fd() fails in bpf_map_get_fd_by_id()
bpf: drop refcount if bpf_map_new_fd() fails in map_create()
Peter Hutterer (1):
HID: doc: fix wrong data structure reference for UHID_OUTPUT
Peter Ujfalusi (1):
clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call
Petr Machata (1):
vxlan: Fix error path in __vxlan_dev_create()
Pierre-Yves MORDRET (1):
dmaengine: stm32-dma: check whether length is aligned on FIFO threshold
Qian Cai (2):
drivers/base/platform.c: kmemleak ignore a known leak mm/hotplug: invalid PFNs from pfn_to_online_page()
Qiuyang Sun (1):
f2fs: fix block address for __check_sit_bitmap
Randy Dunlap (1):
reset: fix reset_control_ops kerneldoc comment
Richard Weinberger (2):
um: Include sys/uio.h to have writev()
um: Make GCOV depend on !KCOV
Roger Quadros (1):
usb: ehci-omap: Fix deferred probe for phy handling
Ross Lagerwall (1):
xen/pciback: Check dev_data before using it
Russell King (2):
ASoC: kirkwood: fix external clock probe defer
ASoC: kirkwood: fix device remove ordering
Sagi Grimberg (1):
nvme: fix kernel paging oops
Sara Sharon (2):
iwlwifi: pcie: fix erroneous print
iwlwifi: pcie: set cmd_len in the correct place
Shenghui Wang (2):
bcache: do not check if debug dentry is ERR or NULL explicitly on remove
bcache: do not mark writeback_running too early
Stefan Wahren (1):
brcmfmac: Fix access point mode
Steffen Klassert (1):
xfrm: Fix memleak on xfrm state destroy
Stephan Gerhold (1):
ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX
Steve Capper (1):
arm64: mm: Prevent mismatched 52-bit VA support
Suzuki K Poulose (1):
arm64: smp: Handle errors reported by the firmware
Sweet Tea (1):
dm flakey: Properly corrupt multi-page bios.
Sylwester Nawrocki (1):
ASoC: samsung: i2s: Fix prescaler setting for the secondary DAI
Tao Ren (1):
clocksource/drivers/fttmr010: Fix invalid interrupt register access
Theodore Ts'o (1):
ext4: add more paranoia checking in ext4_expand_extra_isize handling
Thomas Meyer (1):
PM / AVS: SmartReflex: NULL check before some freeing functions is not needed
Timo Schlüßler (1):
can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition
Toke Høiland-Jørgensen (1):
net/fq_impl: Switch to kvmalloc() for memory allocation
Tony Lindgren (3):
clk: ti: clkctrl: Fix failed to enable error with double udelay timeout
ARM: dts: Fix hsi gdd range for omap4
bus: ti-sysc: Check for no-reset and no-idle flags at the child level
Ursula Braun (2):
net/smc: fix sender_free computation net/smc: fix byte_order for rx_curs_confirmed
Uwe Kleine-König (3):
pwm: bcm-iproc: Prevent unloading the driver module while in use
ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed
pwm: Clear chip_data in pwm_put()
Vadim Pasternak (1):
platform/x86: mlx-platform: Fix LED configuration
Varun Prakash (1):
scsi: csiostor: fix incorrect dma device in case of vport
Vasundhara Volam (2):
bnxt_en: Return linux standard errors in bnxt_ethtool.c
bnxt_en: query force speeds before disabling autoneg mode.
Vladimir Oltean (1):
net: mscc: ocelot: fix __ocelot_rmw_ix prototype
Vlastimil Babka (1):
mm, gup: add missing refcount overflow checks on s390
Wei Yang (1):
vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is n
Wen Yang (3):
net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()
mtd: rawnand: atmel: fix possible object reference leak
ASoC: stm32: sai: add missing put_device()
Wentao Wang (1):
mm/page_alloc.c: deduplicate __memblock_free_early() and memblock_free()
Will Deacon (1):
arm64: preempt: Fix big-endian when checking preempt count in assembly
Wright Feng (1):
brcmfmac: set F2 watermark to 256 for 4373
Xiang Chen (1):
scsi: hisi_sas: shutdown axi bus to avoid exception CQ returned
Xiaochen Shen (1):
x86/resctrl: Prevent NULL pointer dereference when reading mondata
Xiaojun Sang (1):
ASoC: compress: fix unsigned integer overflow check
Xin Long (1):
sctp: cache netns in sctp_ep_common
Xingyu Chen (1):
watchdog: meson: Fix the wrong value of left time
Yi Wang (1):
fork: fix some -Wmissing-prototypes warnings
Yixian Liu (1):
RDMA/hns: Fix the state of rereg mr
Yuchung Cheng (1):
tcp: exit if nothing to retransmit on RTO timeout
YueHaibing (1):
RDMA/hns: Use GFP_ATOMIC in hns_roce_v2_modify_qp
Yunsheng Lin (2):
net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED
net: hns3: fix PFC not setting problem for DCB module
huijin.park (1):
mtd: spi-nor: cast to u64 to avoid uint overflows
wenxu (1):
ip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel
Greg KH
maintainerDocumentation/hid/uhid.txt +1 -1
@@ -160,7 +160,7 @@ them but you should handle them according to your needs. UHID_OUTPUT: This is sent if the HID device driver wants to send raw data to the I/O device on the interrupt channel. You should read the payload and forward it to - the device. The payload is of type "struct uhid_data_req". + the device. The payload is of type "struct uhid_output_req". This may be received even though you haven't received UHID_OPEN, yet. UHID_GET_REPORT:
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 87 +SUBLEVEL = 88 EXTRAVERSION = NAME = "People's Front"
arch/arm/Kconfig.debug +14 -14
@@ -1432,21 +1432,21 @@ config DEBUG_OMAP2PLUS_UART depends on ARCH_OMAP2PLUS config DEBUG_IMX_UART_PORT - int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ - DEBUG_IMX25_UART || \ - DEBUG_IMX21_IMX27_UART || \ - DEBUG_IMX31_UART || \ - DEBUG_IMX35_UART || \ - DEBUG_IMX50_UART || \ - DEBUG_IMX51_UART || \ - DEBUG_IMX53_UART || \ - DEBUG_IMX6Q_UART || \ - DEBUG_IMX6SL_UART || \ - DEBUG_IMX6SX_UART || \ - DEBUG_IMX6UL_UART || \ - DEBUG_IMX7D_UART + int "i.MX Debug UART Port Selection" + depends on DEBUG_IMX1_UART || \ + DEBUG_IMX25_UART || \ + DEBUG_IMX21_IMX27_UART || \ + DEBUG_IMX31_UART || \ + DEBUG_IMX35_UART || \ + DEBUG_IMX50_UART || \ + DEBUG_IMX51_UART || \ + DEBUG_IMX53_UART || \ + DEBUG_IMX6Q_UART || \ + DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SX_UART || \ + DEBUG_IMX6UL_UART || \ + DEBUG_IMX7D_UART default 1 - depends on ARCH_MXC help Choose UART port on which kernel low-level debug messages should be output.
arch/arm/boot/dts/gemini-sq201.dts +5 -32
@@ -20,7 +20,7 @@ }; chosen { - bootargs = "console=ttyS0,115200n8"; + bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait"; stdout-path = &uart0; };
@@ -138,37 +138,10 @@ /* 16MB of flash */ reg = <0x30000000 0x01000000>; - partition@0 { - label = "RedBoot"; - reg = <0x00000000 0x00120000>; - read-only; - }; - partition@120000 { - label = "Kernel"; - reg = <0x00120000 0x00200000>; - }; - partition@320000 { - label = "Ramdisk"; - reg = <0x00320000 0x00600000>; - }; - partition@920000 { - label = "Application"; - reg = <0x00920000 0x00600000>; - }; - partition@f20000 { - label = "VCTL"; - reg = <0x00f20000 0x00020000>; - read-only; - }; - partition@f40000 { - label = "CurConf"; - reg = <0x00f40000 0x000a0000>; - read-only; - }; - partition@fe0000 { - label = "FIS directory"; - reg = <0x00fe0000 0x00020000>; - read-only; + partitions { + compatible = "redboot-fis"; + /* Eraseblock at 0xfe0000 */ + fis-index-block = <0x1fc>; }; };
arch/arm/boot/dts/imx1-ads.dts +1 -0
@@ -21,6 +21,7 @@ }; memory@8000000 { + device_type = "memory"; reg = <0x08000000 0x04000000>; }; };
arch/arm/boot/dts/imx1-apf9328.dts +1 -0
@@ -21,6 +21,7 @@ }; memory@8000000 { + device_type = "memory"; reg = <0x08000000 0x00800000>; }; };
arch/arm/boot/dts/imx1.dtsi +0 -2
@@ -15,10 +15,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { gpio0 = &gpio1;
arch/arm/boot/dts/imx23-evk.dts +1 -0
@@ -10,6 +10,7 @@ compatible = "fsl,imx23-evk", "fsl,imx23"; memory@40000000 { + device_type = "memory"; reg = <0x40000000 0x08000000>; };
arch/arm/boot/dts/imx23-olinuxino.dts +1 -0
@@ -20,6 +20,7 @@ compatible = "olimex,imx23-olinuxino", "fsl,imx23"; memory@40000000 { + device_type = "memory"; reg = <0x40000000 0x04000000>; };
arch/arm/boot/dts/imx23-sansa.dts +1 -0
@@ -50,6 +50,7 @@ compatible = "sandisk,sansa_fuze_plus", "fsl,imx23"; memory@40000000 { + device_type = "memory"; reg = <0x40000000 0x04000000>; };
arch/arm/boot/dts/imx23-stmp378x_devb.dts +1 -0
@@ -17,6 +17,7 @@ compatible = "fsl,stmp378x-devb", "fsl,imx23"; memory@40000000 { + device_type = "memory"; reg = <0x40000000 0x04000000>; };
arch/arm/boot/dts/imx23-xfi3.dts +1 -0
@@ -49,6 +49,7 @@ compatible = "creative,x-fi3", "fsl,imx23"; memory@40000000 { + device_type = "memory"; reg = <0x40000000 0x04000000>; };
arch/arm/boot/dts/imx23.dtsi +0 -2
@@ -13,10 +13,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { gpio0 = &gpio0;
arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi +1 -0
@@ -18,6 +18,7 @@ compatible = "eukrea,cpuimx25", "fsl,imx25"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; /* 64M */ }; };
arch/arm/boot/dts/imx25-karo-tx25.dts +1 -0
@@ -37,6 +37,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x02000000 0x90000000 0x02000000>; }; };
arch/arm/boot/dts/imx25-pdk.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "fsl,imx25-pdk", "fsl,imx25"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; };
arch/arm/boot/dts/imx25.dtsi +0 -2
@@ -12,10 +12,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx27-apf27.dts +1 -0
@@ -20,6 +20,7 @@ compatible = "armadeus,imx27-apf27", "fsl,imx27"; memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x04000000>; }; };
arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi +1 -0
@@ -17,6 +17,7 @@ compatible = "eukrea,cpuimx27", "fsl,imx27"; memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x04000000>; };
arch/arm/boot/dts/imx27-pdk.dts +1 -0
@@ -10,6 +10,7 @@ compatible = "fsl,imx27-pdk", "fsl,imx27"; memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; };
arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi +1 -0
@@ -18,6 +18,7 @@ compatible = "phytec,imx27-pca100", "fsl,imx27"; memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; /* 128MB */ }; };
arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +1 -0
@@ -17,6 +17,7 @@ compatible = "phytec,imx27-pcm038", "fsl,imx27"; memory@a0000000 { + device_type = "memory"; reg = <0xa0000000 0x08000000>; };
arch/arm/boot/dts/imx27.dtsi +0 -2
@@ -16,10 +16,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx31-bug.dts +1 -0
@@ -17,6 +17,7 @@ compatible = "buglabs,imx31-bug", "fsl,imx31"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>; /* 128M */ }; };
arch/arm/boot/dts/imx31-lite.dts +1 -0
@@ -18,6 +18,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>; };
arch/arm/boot/dts/imx31.dtsi +0 -2
@@ -10,10 +10,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { gpio0 = &gpio1;
arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi +1 -0
@@ -18,6 +18,7 @@ compatible = "eukrea,cpuimx35", "fsl,imx35"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>; /* 128M */ }; };
arch/arm/boot/dts/imx35-pdk.dts +1 -0
@@ -11,6 +11,7 @@ compatible = "fsl,imx35-pdk", "fsl,imx35"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>, <0x90000000 0x8000000>; };
arch/arm/boot/dts/imx35.dtsi +0 -2
@@ -13,10 +13,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx50-evk.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "fsl,imx50-evk", "fsl,imx50"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x80000000>; }; };
arch/arm/boot/dts/imx50.dtsi +0 -2
@@ -22,10 +22,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx51-apf51.dts +1 -0
@@ -22,6 +22,7 @@ compatible = "armadeus,imx51-apf51", "fsl,imx51"; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x20000000>; };
arch/arm/boot/dts/imx51-babbage.dts +1 -0
@@ -15,6 +15,7 @@ }; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x20000000>; };
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi +1 -0
@@ -17,6 +17,7 @@ compatible = "digi,connectcore-ccxmx51-som", "fsl,imx51"; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x08000000>; }; };
arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi +1 -0
@@ -23,6 +23,7 @@ compatible = "eukrea,cpuimx51", "fsl,imx51"; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x10000000>; /* 256M */ }; };
arch/arm/boot/dts/imx51-ts4800.dts +1 -0
@@ -18,6 +18,7 @@ }; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x10000000>; };
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -0
@@ -53,6 +53,7 @@ /* Will be filled by the bootloader */ memory@90000000 { + device_type = "memory"; reg = <0x90000000 0>; };
arch/arm/boot/dts/imx51-zii-scu2-mezz.dts +1 -0
@@ -18,6 +18,7 @@ /* Will be filled by the bootloader */ memory@90000000 { + device_type = "memory"; reg = <0x90000000 0>; };
arch/arm/boot/dts/imx51-zii-scu3-esb.dts +1 -0
@@ -18,6 +18,7 @@ /* Will be filled by the bootloader */ memory@90000000 { + device_type = "memory"; reg = <0x90000000 0>; };
arch/arm/boot/dts/imx51.dtsi +0 -2
@@ -16,10 +16,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx53-ard.dts +1 -0
@@ -19,6 +19,7 @@ compatible = "fsl,imx53-ard", "fsl,imx53"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x40000000>; };
arch/arm/boot/dts/imx53-cx9020.dts +1 -0
@@ -22,6 +22,7 @@ }; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x20000000>, <0xb0000000 0x20000000>; };
arch/arm/boot/dts/imx53-m53.dtsi +1 -0
@@ -16,6 +16,7 @@ compatible = "aries,imx53-m53", "denx,imx53-m53", "fsl,imx53"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x20000000>, <0xb0000000 0x20000000>; };
arch/arm/boot/dts/imx53-qsb-common.dtsi +1 -0
@@ -11,6 +11,7 @@ }; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x20000000>, <0xb0000000 0x20000000>; };
arch/arm/boot/dts/imx53-smd.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "fsl,imx53-smd", "fsl,imx53"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x40000000>; };
arch/arm/boot/dts/imx53-tqma53.dtsi +1 -0
@@ -17,6 +17,7 @@ compatible = "tq,tqma53", "fsl,imx53"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x40000000>; /* Up to 1GiB */ };
arch/arm/boot/dts/imx53-tx53.dtsi +1 -0
@@ -51,6 +51,7 @@ /* Will be filled by the bootloader */ memory@70000000 { + device_type = "memory"; reg = <0x70000000 0>; };
arch/arm/boot/dts/imx53-usbarmory.dts +1 -0
@@ -58,6 +58,7 @@ }; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x20000000>; };
arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi +2 -6
@@ -17,12 +17,8 @@ memory@70000000 { device_type = "memory"; - reg = <0x70000000 0x20000000>; - }; - - memory@b0000000 { - device_type = "memory"; - reg = <0xb0000000 0x20000000>; + reg = <0x70000000 0x20000000>, + <0xb0000000 0x20000000>; }; regulators {
arch/arm/boot/dts/imx53.dtsi +0 -2
@@ -23,10 +23,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +8 -0
@@ -177,6 +177,8 @@ accelerometer@1c { compatible = "fsl,mma8451"; reg = <0x1c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mma8451_int>; interrupt-parent = <&gpio6>; interrupts = <31 IRQ_TYPE_LEVEL_LOW>; };
@@ -522,6 +524,12 @@ >; }; + pinctrl_mma8451_int: mma8451intgrp { + fsl,pins = < + MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0xb0b1 + >; + }; + pinctrl_pwm3: pwm1grp { fsl,pins = < MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
arch/arm/boot/dts/imx6sl-evk.dts +1 -0
@@ -17,6 +17,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/imx6sl-warp.dts +1 -0
@@ -55,6 +55,7 @@ compatible = "warp,imx6sl-warp", "fsl,imx6sl"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/imx6sl.dtsi +0 -2
@@ -13,10 +13,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec;
arch/arm/boot/dts/imx6sll-evk.dts +1 -0
@@ -20,6 +20,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x80000000>; };
arch/arm/boot/dts/imx6sx-nitrogen6sx.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "boundary,imx6sx-nitrogen6sx", "fsl,imx6sx"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/imx6sx-sabreauto.dts +1 -0
@@ -11,6 +11,7 @@ compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x80000000>; };
arch/arm/boot/dts/imx6sx-sdb.dtsi +1 -0
@@ -21,6 +21,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/imx6sx-softing-vining-2000.dts +1 -0
@@ -21,6 +21,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts +1 -0
@@ -49,6 +49,7 @@ compatible = "udoo,neobasic", "fsl,imx6sx"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; }; };
arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts +1 -0
@@ -49,6 +49,7 @@ compatible = "udoo,neoextended", "fsl,imx6sx"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; }; };
arch/arm/boot/dts/imx6sx-udoo-neo-full.dts +1 -0
@@ -49,6 +49,7 @@ compatible = "udoo,neofull", "fsl,imx6sx"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; }; };
arch/arm/boot/dts/imx6sx.dtsi +0 -2
@@ -15,10 +15,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { can0 = &flexcan1;
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +1 -0
@@ -12,6 +12,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/imx6ul-geam.dts +1 -0
@@ -51,6 +51,7 @@ compatible = "engicam,imx6ul-geam", "fsl,imx6ul"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x08000000>; };
arch/arm/boot/dts/imx6ul-isiot.dtsi +1 -0
@@ -46,6 +46,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/imx6ul-litesom.dtsi +1 -0
@@ -48,6 +48,7 @@ compatible = "grinn,imx6ul-litesom", "fsl,imx6ul"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; }; };
arch/arm/boot/dts/imx6ul-opos6ul.dtsi +1 -0
@@ -49,6 +49,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0>; /* will be filled by U-Boot */ };
arch/arm/boot/dts/imx6ul-pico-hobbit.dts +1 -0
@@ -53,6 +53,7 @@ /* Will be filled by the bootloader */ memory@80000000 { + device_type = "memory"; reg = <0x80000000 0>; };
arch/arm/boot/dts/imx6ul-tx6ul.dtsi +1 -0
@@ -71,6 +71,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0>; /* will be filled by U-Boot */ };
arch/arm/boot/dts/imx6ul.dtsi +0 -2
@@ -15,10 +15,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec1;
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi +1 -0
@@ -7,6 +7,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x10000000>; }; };
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi +1 -0
@@ -7,6 +7,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +2 -1
@@ -19,6 +19,7 @@ compatible = "compulab,cl-som-imx7", "fsl,imx7d"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x10000000>; /* 256 MB - minimal configuration */ };
@@ -284,4 +285,4 @@ MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x14 /* OTG PWREN */ >; }; -}; +};
arch/arm/boot/dts/imx7d-colibri-emmc.dtsi +1 -0
@@ -8,6 +8,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; }; };
arch/arm/boot/dts/imx7d-colibri.dtsi +1 -0
@@ -45,6 +45,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; }; };
arch/arm/boot/dts/imx7d-nitrogen7.dts +1 -0
@@ -12,6 +12,7 @@ compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/imx7d-pico.dtsi +1 -0
@@ -49,6 +49,7 @@ compatible = "technexion,imx7d-pico", "fsl,imx7d"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x80000000>; };
arch/arm/boot/dts/imx7d-sdb.dts +1 -0
@@ -15,6 +15,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x80000000>; };
arch/arm/boot/dts/imx7s-colibri.dtsi +1 -0
@@ -45,6 +45,7 @@ / { memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x10000000>; }; };
arch/arm/boot/dts/imx7s-warp.dts +1 -0
@@ -51,6 +51,7 @@ compatible = "warp,imx7s-warp", "fsl,imx7s"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/imx7s.dtsi +0 -2
@@ -17,10 +17,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { gpio0 = &gpio1;
arch/arm/boot/dts/omap4-l4.dtsi +2 -2
@@ -196,12 +196,12 @@ clock-names = "fck"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x58000 0x4000>; + ranges = <0x0 0x58000 0x5000>; hsi: hsi@0 { compatible = "ti,omap4-hsi"; reg = <0x0 0x4000>, - <0x4a05c000 0x1000>; + <0x5000 0x1000>; reg-names = "sys", "gdd"; clocks = <&l3_init_clkctrl OMAP4_HSI_CLKCTRL 0>;
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +1 -0
@@ -171,6 +171,7 @@ vqmmc-supply = <®_dldo1>; non-removable; wakeup-source; + keep-power-in-suspend; status = "okay"; brcmf: wifi@1 {
arch/arm/mach-ks8695/board-acs5k.c +1 -1
@@ -100,7 +100,7 @@ static struct i2c_board_info acs5k_i2c_devs[] __initdata = { }, }; -static void acs5k_i2c_init (void ) +static void __init acs5k_i2c_init (void ) {/* The gpio interface */ gpiod_add_lookup_table (&acs5k_i2c_gpiod_table);
arch/arm/mach-omap1/Makefile +1 -1
@@ -25,7 +25,7 @@ obj-y += $(i2c-omap-m) $(i2c-omap-y) led-y := leds.o -usb-fs-$(CONFIG_USB) := usb.o +usb-fs-$(CONFIG_USB_SUPPORT) := usb.o obj-y += $(usb-fs-m) $(usb-fs-y) # Specific board support
arch/arm/mach-omap1/include/mach/usb.h +1 -1
@@ -11,7 +11,7 @@#include <linux/platform_data/usb-omap1.h> -#if IS_ENABLED (CONFIG_USB ) +#if IS_ENABLED (CONFIG_USB_SUPPORT )void omap1_usb_init (struct omap_usb_config *pdata);#else static inline void omap1_usb_init (struct omap_usb_config *pdata)
arch/arm64/boot/dts/renesas/r8a77995-draak.dts +1 -1
@@ -188,7 +188,7 @@ compatible = "adi,adv7180cp"; reg = <0x20>; - port { + ports { #address-cells = <1>; #size-cells = <0>;
arch/arm64/include/asm/assembler.h +3 -5
@@ -683,11 +683,9 @@ USER(\label, ic ivau, \tmp2) // invalidate I line PoU .macro if_will_cond_yield_neon#ifdef CONFIG_PREEMPT get_thread_info x0 - ldr w1, [x0, #TSK_TI_PREEMPT] - ldr x0, [x0, #TSK_TI_FLAGS] - cmp w1, #PREEMPT_DISABLE_OFFSET - csel x0, x0, xzr, eq - tbnz x0, #TIF_NEED_RESCHED, .Lyield_\@ // needs rescheduling? + ldr x0, [x0, #TSK_TI_PREEMPT] + sub x0, x0, #PREEMPT_DISABLE_OFFSET + cbz x0, .Lyield_\@ /* fall through to endif_yield_neon */ .subsection 1 .Lyield_\@ :
arch/arm64/kernel/entry.S +2 -4
@@ -622,10 +622,8 @@ el1_irq: irq_handler #ifdef CONFIG_PREEMPT - ldr w24, [tsk, #TSK_TI_PREEMPT] // get preempt count - cbnz w24, 1f // preempt count != 0 - ldr x0, [tsk, #TSK_TI_FLAGS] // get flags - tbz x0, #TIF_NEED_RESCHED, 1f // needs rescheduling? + ldr x24, [tsk, #TSK_TI_PREEMPT] // get preempt count + cbnz x24, 1f // preempt count != 0 bl el1_preempt 1: #endif
arch/arm64/kernel/head.S +26 -0
@@ -703,6 +703,7 @@ secondary_startup: /* * Common entry point for secondary CPUs. */ + bl __cpu_secondary_check52bitva bl __cpu_setup // initialise processor bl __enable_mmu ldr x8, =__secondary_switched
@@ -779,6 +780,31 @@ ENTRY(__enable_mmu) ret ENDPROC(__enable_mmu) +ENTRY(__cpu_secondary_check52bitva) +#ifdef CONFIG_ARM64_52BIT_VA + ldr_l x0, vabits_user + cmp x0, #52 + b.ne 2f + + mrs_s x0, SYS_ID_AA64MMFR2_EL1 + and x0, x0, #(0xf << ID_AA64MMFR2_LVA_SHIFT) + cbnz x0, 2f + + adr_l x0, va52mismatch + mov w1, #1 + strb w1, [x0] + dmb sy + dc ivac, x0 // Invalidate potentially stale cache line + + update_early_cpu_boot_status CPU_STUCK_IN_KERNEL, x0, x1 +1: wfe + wfi + b 1b + +#endif +2: ret +ENDPROC(__cpu_secondary_check52bitva) + __no_granule_support: /* Indicate that this CPU can't boot and is stuck in the kernel */ update_early_cpu_boot_status CPU_STUCK_IN_KERNEL, x1, x2
arch/arm64/kernel/smp.c +6 -0
@@ -108,6 +108,7 @@ static int boot_secondary(unsigned int cpu, struct task_struct *idle) }static DECLARE_COMPLETION (cpu_running); +bool va52mismatch__ro_after_init ;int __cpu_up (unsigned int cpu,struct task_struct *idle) {
@@ -137,10 +138,15 @@ int __cpu_up(unsigned int cpu, struct task_struct *idle)if (!cpu_online (cpu)) {pr_crit ("CPU%u: failed to come online\n" , cpu); + +if (IS_ENABLED (CONFIG_ARM64_52BIT_VA ) && va52mismatch) +pr_crit ("CPU%u: does not support 52-bit VAs\n" , cpu); + ret = -EIO ; } }else {pr_err ("CPU%u: failed to boot: %d\n" , cpu, ret); +return ret; } secondary_data.task =NULL ;
arch/microblaze/Makefile +8 -6
@@ -83,19 +83,21 @@ archclean: linux.bin linux.bin.gz linux.bin.ub: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' simpleImage.%: vmlinux - $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) + @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' define archhelp echo '* linux.bin - Create raw binary' echo ' linux.bin.gz - Create compressed raw binary' echo ' linux.bin.ub - Create U-Boot wrapped raw binary' - echo ' simpleImage.<dt> - ELF image with $(arch)/boot/dts/<dt>.dts linked in' - echo ' - stripped elf with fdt blob' - echo ' simpleImage.<dt>.unstrip - full ELF image with fdt blob' - echo ' *_defconfig - Select default config from arch/microblaze/configs' - echo '' + echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in' + echo ' simpleImage.<dt> : raw image' + echo ' simpleImage.<dt>.ub : raw image with U-Boot header' + echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)' + echo ' simpleImage.<dt>.strip : stripped ELF' echo ' Targets with <dt> embed a device tree blob inside the image' echo ' These targets support board with firmware that does not' echo ' support passing a device tree directly. Replace <dt> with the'
arch/microblaze/boot/Makefile +9 -14
@@ -3,38 +3,33 @@ # arch/microblaze/boot/Makefile # -targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.% +targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.* OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary $(obj)/linux.bin: vmlinux FORCE $(call if_changed,objcopy) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/linux.bin.ub: $(obj)/linux.bin FORCE $(call if_changed,uimage) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/linux.bin.gz: $(obj)/linux.bin FORCE $(call if_changed,gzip) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' - -quiet_cmd_cp = CP $< $@$2 - cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false) quiet_cmd_strip = STRIP $< $@$2 cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \ -K _fdt_start $< -o $@$2 UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR) -UIMAGE_IN = $@ -UIMAGE_OUT = [email protected] -$(obj)/simpleImage.%: vmlinux FORCE - $(call if_changed,cp,.unstrip) +$(obj)/simpleImage.$(DTB): vmlinux FORCE $(call if_changed,objcopy) + +$(obj)/simpleImage.$(DTB).ub: $(obj)/simpleImage.$(DTB) FORCE $(call if_changed,uimage) - $(call if_changed,strip,.strip) - @echo 'Kernel: $(UIMAGE_OUT) is ready' ' (#'`cat .version`')' -clean-files += simpleImage.*.unstrip linux.bin.ub +$(obj)/simpleImage.$(DTB).unstrip: vmlinux FORCE + $(call if_changed,shipped) + +$(obj)/simpleImage.$(DTB).strip: vmlinux FORCE + $(call if_changed,strip)
arch/openrisc/kernel/entry.S +1 -1
@@ -240,7 +240,7 @@ handler: ;\ * occured. in fact they never do. if you need them use * values saved on stack (for SPR_EPC, SPR_ESR) or content * of r4 (for SPR_EEAR). for details look at EXCEPTION_HANDLE() - * in 'arch/or32/kernel/head.S' + * in 'arch/openrisc/kernel/head.S' */ /* =====================================================[ exceptions] === */
arch/openrisc/kernel/head.S +1 -1
@@ -1728,7 +1728,7 @@ _string_nl: /* * .data section should be page aligned - * (look into arch/or32/kernel/vmlinux.lds) + * (look into arch/openrisc/kernel/vmlinux.lds.S) */ .section .data,"aw" .align 8192
arch/powerpc/Makefile +8 -1
@@ -145,7 +145,14 @@ endif CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcmodel=medium,$(call cc-option,-mminimal-toc)) CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions) -CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 $(MULTIPLEWORD) +# Clang unconditionally reserves r2 on ppc32 and does not support the flag +# https://bugs.llvm.org/show_bug.cgi?id=39555 +CFLAGS-$(CONFIG_PPC32) := $(call cc-option, -ffixed-r2) + +# Clang doesn't support -mmultiple / -mno-multiple +# https://bugs.llvm.org/show_bug.cgi?id=39556 +CFLAGS-$(CONFIG_PPC32) += $(call cc-option, $(MULTIPLEWORD)) + CFLAGS-$(CONFIG_PPC32) += $(call cc-option,-mno-readonly-in-sdata) ifdef CONFIG_PPC_BOOK3S_64
arch/powerpc/boot/dts/bamboo.dts +3 -1
@@ -268,8 +268,10 @@ /* Outbound ranges, one memory and one IO, * later cannot be changed. Chip supports a second * IO range but we don't use it for now + * The chip also supports a larger memory range but + * it's not naturally aligned, so our code will break */ - ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x40000000 + ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x20000000 0x02000000 0x00000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00100000 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>;
arch/powerpc/include/asm/cputable.h +1 -0
@@ -44,6 +44,7 @@ extern int machine_check_e500(struct pt_regs *regs);extern int machine_check_e200 (struct pt_regs *regs);extern int machine_check_47x (struct pt_regs *regs);int machine_check_8xx (struct pt_regs *regs); +int machine_check_83xx (struct pt_regs *regs);extern void cpu_down_flush_e500v2 (void );extern void cpu_down_flush_e500mc (void );
arch/powerpc/include/asm/reg.h +2 -0
@@ -768,6 +768,8 @@#define SRR1_PROGTRAP 0x00020000/* Trap */ #define SRR1_PROGADDR 0x00010000/* SRR0 contains subsequent addr */ +#define SRR1_MCE_MCP 0x00080000/* Machine check signal caused interrupt */ +#define SPRN_HSRR0 0x13A/* Save/Restore Register 0 */ #define SPRN_HSRR1 0x13B/* Save/Restore Register 1 */ #define HSRR1_DENORM 0x00100000/* Denorm exception */
arch/powerpc/kernel/cputable.c +6 -4
@@ -1141,6 +1141,7 @@ static struct cpu_spec __initdata cpu_specs[] = { .machine_check = machine_check_generic, .platform = "ppc603", }, +#ifdef CONFIG_PPC_83xx {/* e300c1 (a 603e core, plus some) on 83xx */ .pvr_mask = 0x7fff0000, .pvr_value = 0x00830000,
@@ -1151,7 +1152,7 @@ static struct cpu_spec __initdata cpu_specs[] = { .icache_bsize = 32, .dcache_bsize = 32, .cpu_setup = __setup_cpu_603, - .machine_check = machine_check_generic, + .machine_check = machine_check_83xx, .platform = "ppc603", }, {/* e300c2 (an e300c1 core, plus some, minus FPU) on 83xx */
@@ -1165,7 +1166,7 @@ static struct cpu_spec __initdata cpu_specs[] = { .icache_bsize = 32, .dcache_bsize = 32, .cpu_setup = __setup_cpu_603, - .machine_check = machine_check_generic, + .machine_check = machine_check_83xx, .platform = "ppc603", }, {/* e300c3 (e300c1, plus one IU, half cache size) on 83xx */
@@ -1179,7 +1180,7 @@ static struct cpu_spec __initdata cpu_specs[] = { .icache_bsize = 32, .dcache_bsize = 32, .cpu_setup = __setup_cpu_603, - .machine_check = machine_check_generic, + .machine_check = machine_check_83xx, .num_pmcs = 4, .oprofile_cpu_type = "ppc/e300", .oprofile_type = PPC_OPROFILE_FSL_EMB,
@@ -1196,12 +1197,13 @@ static struct cpu_spec __initdata cpu_specs[] = { .icache_bsize = 32, .dcache_bsize = 32, .cpu_setup = __setup_cpu_603, - .machine_check = machine_check_generic, + .machine_check = machine_check_83xx, .num_pmcs = 4, .oprofile_cpu_type = "ppc/e300", .oprofile_type = PPC_OPROFILE_FSL_EMB, .platform = "ppc603", }, +#endif {/* default match, we assume split I/D cache & TB (non-601)... */ .pvr_mask = 0x00000000, .pvr_value = 0x00000000,
arch/powerpc/kernel/exceptions-64s.S +1 -1
@@ -1123,7 +1123,7 @@ TRAMP_REAL_BEGIN(hmi_exception_early) EXCEPTION_PROLOG_COMMON_2(PACA_EXGEN) EXCEPTION_PROLOG_COMMON_3(0xe60) addi r3,r1,STACK_FRAME_OVERHEAD - BRANCH_LINK_TO_FAR(hmi_exception_realmode) /* Function call ABI */ + BRANCH_LINK_TO_FAR(DOTSYM(hmi_exception_realmode)) /* Function call ABI */ cmpdi cr0,r3,0 /* Windup the stack. */
arch/powerpc/kernel/prom.c +3 -3
@@ -129,7 +129,7 @@ static void __init move_device_tree(void) p =__va (memblock_alloc (size,PAGE_SIZE ));memcpy (p, initial_boot_params, size); initial_boot_params = p; -DBG ("Moved device tree to 0x%p\n" , p); +DBG ("Moved device tree to 0x%px\n" , p); }DBG ("<- move_device_tree\n" );
@@ -689,7 +689,7 @@ void __init early_init_devtree(void *params) {phys_addr_t limit; -DBG (" -> early_init_devtree(%p)\n" , params); +DBG (" -> early_init_devtree(%px)\n" , params);/* Too early to BUG_ON(), do it by hand */ if (!early_init_dt_verify (params))
@@ -749,7 +749,7 @@ void __init early_init_devtree(void *params)memblock_allow_resize ();memblock_dump_all (); -DBG ("Phys. mem: %llx\n" ,memblock_phys_mem_size ()); +DBG ("Phys. mem: %llx\n" , (unsigned long long )memblock_phys_mem_size ());/* We may need to relocate the flat tree, do it now. * FIXME .. and the initrd too? */
arch/powerpc/mm/fault.c +9 -8
@@ -633,21 +633,22 @@ void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)switch (TRAP (regs)) {case 0x300 :case 0x380 : -printk (KERN_ALERT "Unable to handle kernel paging request for " -"data at address 0x%08lx\n" , regs->dar); +pr_alert ("BUG: %s at 0x%08lx\n" , + regs->dar <PAGE_SIZE ?"Kernel NULL pointer dereference" : +"Unable to handle kernel data access" , regs->dar);break ;case 0x400 :case 0x480 : -printk (KERN_ALERT "Unable to handle kernel paging request for " -"instruction fetch\n" ); +pr_alert ("BUG: Unable to handle kernel instruction fetch%s" , + regs->nip <PAGE_SIZE ?" (NULL pointer?)\n" :"\n" );break ;case 0x600 : -printk (KERN_ALERT "Unable to handle kernel paging request for " -"unaligned access at address 0x%08lx\n" , regs->dar); +pr_alert ("BUG: Unable to handle kernel unaligned access at 0x%08lx\n" , + regs->dar);break ;default : -printk (KERN_ALERT "Unable to handle kernel paging request for " -"unknown fault\n" ); +pr_alert ("BUG: Unable to handle unknown paging fault at 0x%08lx\n" , + regs->dar);break ; } printk(KERN_ALERT "Faulting instruction address: 0x%08lx\n",
arch/powerpc/mm/ppc_mmu_32.c +2 -2
@@ -52,7 +52,7 @@ struct batrange { /* stores address ranges mapped by BATs */phys_addr_t v_block_mapped (unsigned long va) {int b; -for (b =0 ; b <4 ; ++b) +for (b =0 ; b <ARRAY_SIZE (bat_addrs); ++b)if (va >= bat_addrs[b].start && va < bat_addrs[b].limit)return bat_addrs[b].phys + (va - bat_addrs[b].start);return 0 ;
@@ -64,7 +64,7 @@ phys_addr_t v_block_mapped(unsigned long va)unsigned long p_block_mapped (phys_addr_t pa) {int b; -for (b =0 ; b <4 ; ++b) +for (b =0 ; b <ARRAY_SIZE (bat_addrs); ++b)if (pa >= bat_addrs[b].phys && pa < (bat_addrs[b].limit-bat_addrs[b].start) +bat_addrs[b].phys)
arch/powerpc/net/bpf_jit_comp64.c +13 -0
@@ -949,6 +949,19 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) goto out_addrs; } +/* +* If we have seen a tail call, we need a second pass. +* This is because bpf_jit_emit_common_epilogue() is called +* from bpf_jit_emit_tail_call() with a not yet stable ctx->seen. +*/ +if (cgctx.seen &SEEN_TAILCALL ) { + cgctx.idx =0 ; +if (bpf_jit_build_body (fp,0 , &cgctx, addrs, false)) { + fp = org_fp; + goto out_addrs; + } + } +/* * Pretend to build prologue, given the features we've seen. This will * update ctgtx.idx as it pretends to output instructions, then we can
arch/powerpc/perf/isa207-common.c +18 -7
@@ -148,6 +148,14 @@ static bool is_thresh_cmp_valid(u64 event)return true; } +static unsigned int dc_ic_rld_quad_l1_sel (u64 event) +{ +unsigned int cache; + + cache = (event >>EVENT_CACHE_SEL_SHIFT ) &MMCR1_DC_IC_QUAL_MASK ; +return cache; +} +static inline u64 isa207_find_source (u64 idx,u32 sub_idx) {u64 ret =PERF_MEM_NA ;
@@ -288,10 +296,10 @@ int isa207_get_constraint(u64 event, unsigned long *maskp, unsigned long *valp)* have a cache selector of zero. The bank selector (bit 3) is * irrelevant, as long as the rest of the value is 0. */ -if (cache &0x7 ) +if (!cpu_has_feature (CPU_FTR_ARCH_300 ) && (cache &0x7 ))return -1 ; - }else if (event &EVENT_IS_L1 ) { + }else if (cpu_has_feature (CPU_FTR_ARCH_300 ) || (event &EVENT_IS_L1 )) { mask |=CNST_L1_QUAL_MASK ; value |=CNST_L1_QUAL_VAL (cache); }
@@ -394,11 +402,14 @@ int isa207_compute_mmcr(u64 event[], int n_ev,/* In continuous sampling mode, update SDAR on TLB miss */ mmcra_sdar_mode (event[i], &mmcra); -if (event[i] &EVENT_IS_L1 ) { - cache = event[i] >>EVENT_CACHE_SEL_SHIFT ; - mmcr1 |= (cache &1 ) <<MMCR1_IC_QUAL_SHIFT ; - cache >>=1 ; - mmcr1 |= (cache &1 ) <<MMCR1_DC_QUAL_SHIFT ; +if (cpu_has_feature (CPU_FTR_ARCH_300 )) { + cache =dc_ic_rld_quad_l1_sel (event[i]); + mmcr1 |= (cache) <<MMCR1_DC_IC_QUAL_SHIFT ; + }else { +if (event[i] &EVENT_IS_L1 ) { + cache =dc_ic_rld_quad_l1_sel (event[i]); + mmcr1 |= (cache) <<MMCR1_DC_IC_QUAL_SHIFT ; + } }if (is_event_marked (event[i])) {
arch/powerpc/perf/isa207-common.h +2 -2
@@ -163,8 +163,8 @@#define MMCR1_COMBINE_SHIFT (pmc) (35 - ((pmc) - 1))#define MMCR1_PMCSEL_SHIFT (pmc) (24 - (((pmc) - 1)) * 8)#define MMCR1_FAB_SHIFT 36 -#define MMCR1_DC_QUAL_SHIFT 47 -#define MMCR1_IC_QUAL_SHIFT 46 +#define MMCR1_DC_IC_QUAL_MASK 0x3 +#define MMCR1_DC_IC_QUAL_SHIFT 46/* MMCR1 Combine bits macro for power9 */ #define p9_MMCR1_COMBINE_SHIFT (pmc) (38 - ((pmc - 1) * 2))
arch/powerpc/platforms/83xx/misc.c +17 -0
@@ -14,6 +14,7 @@#include <linux/of_platform.h> #include <linux/pci.h> +#include <asm/debug.h> #include <asm/io.h> #include <asm/hw_irq.h> #include <asm/ipic.h>
@@ -150,3 +151,19 @@ void __init mpc83xx_setup_arch(void)mpc83xx_setup_pci (); } + +int machine_check_83xx (struct pt_regs *regs) +{ +u32 mask =1 << (31 -IPIC_MCP_WDT ); + +if (!(regs->msr &SRR1_MCE_MCP ) || !(ipic_get_mcp_status () & mask)) +return machine_check_generic (regs); +ipic_clear_mcp_status (mask); + +if (debugger_fault_handler (regs)) +return 1 ; + +die ("Watchdog NMI Reset" , regs,0 ); + +return 1 ; +}
arch/powerpc/platforms/powernv/eeh-powernv.c +4 -4
@@ -578,8 +578,8 @@ static void pnv_eeh_get_phb_diag(struct eeh_pe *pe)static int pnv_eeh_get_phb_state (struct eeh_pe *pe) {struct pnv_phb *phb = pe->phb->private_data; -u8 fstate; -__be16 pcierr; +u8 fstate =0 ; +__be16 pcierr =0 ;s64 rc;int result =0 ;
@@ -617,8 +617,8 @@ static int pnv_eeh_get_phb_state(struct eeh_pe *pe)static int pnv_eeh_get_pe_state (struct eeh_pe *pe) {struct pnv_phb *phb = pe->phb->private_data; -u8 fstate; -__be16 pcierr; +u8 fstate =0 ; +__be16 pcierr =0 ;s64 rc;int result;
arch/powerpc/platforms/powernv/pci-ioda.c +2 -2
@@ -605,8 +605,8 @@ static int pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt)static int pnv_ioda_get_pe_state (struct pnv_phb *phb,int pe_no) {struct pnv_ioda_pe *slave, *pe; -u8 fstate, state; -__be16 pcierr; +u8 fstate =0 , state; +__be16 pcierr =0 ;s64 rc;/* Sanity check on PE number */
arch/powerpc/platforms/powernv/pci.c +2 -2
@@ -602,8 +602,8 @@ static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no)static void pnv_pci_config_check_eeh (struct pci_dn *pdn) {struct pnv_phb *phb = pdn->phb->private_data; -u8 fstate; -__be16 pcierr; +u8 fstate =0 ; +__be16 pcierr =0 ;unsigned int pe_no;s64 rc;
arch/powerpc/platforms/pseries/dlpar.c +4 -0
@@ -63,6 +63,10 @@ static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa) name = (char *)ccwa +be32_to_cpu (ccwa->name_offset); prop->name =kstrdup (name,GFP_KERNEL ); +if (!prop->name) { +dlpar_free_cc_property (prop); +return NULL ; + } prop->length =be32_to_cpu (ccwa->prop_length); value = (char *)ccwa +be32_to_cpu (ccwa->prop_offset);
arch/powerpc/platforms/pseries/hotplug-memory.c +1 -0
@@ -202,6 +202,7 @@ static int update_lmb_associativity_index(struct drmem_lmb *lmb) aa_index =find_aa_index (dr_node, ala_prop, lmb_assoc); +of_node_put (dr_node);dlpar_free_cc_nodes (lmb_node);if (aa_index <0 ) {
arch/powerpc/xmon/xmon.c +1 -1
@@ -3493,7 +3493,7 @@ void dump_segments(void)printf ("sr0-15 =" );for (i =0 ; i <16 ; ++i) -printf (" %x" ,mfsrin (i)); +printf (" %x" ,mfsrin (i <<28 )); printf("\n"); }#endif
arch/s390/kvm/kvm-s390.c +14 -3
@@ -416,19 +416,30 @@ static void kvm_s390_cpu_feat_init(void)int kvm_arch_init (void *opaque) { +int rc; + kvm_s390_dbf =debug_register ("kvm-trace" ,32 ,1 ,7 *sizeof (long ));if (!kvm_s390_dbf)return -ENOMEM ;if (debug_register_view (kvm_s390_dbf, &debug_sprintf_view)) { -debug_unregister (kvm_s390_dbf); -return -ENOMEM ; + rc = -ENOMEM ; + goto out_debug_unreg; }kvm_s390_cpu_feat_init ();/* Register floating interrupt controller interface. */ -return kvm_register_device_ops (&kvm_flic_ops,KVM_DEV_TYPE_FLIC ); + rc =kvm_register_device_ops (&kvm_flic_ops,KVM_DEV_TYPE_FLIC ); +if (rc) { +pr_err ("Failed to register FLIC rc=%d\n" , rc); + goto out_debug_unreg; + } +return 0 ; + +out_debug_unreg: +debug_unregister (kvm_s390_dbf); +return rc; }void kvm_arch_exit (void )
arch/s390/mm/gup.c +6 -3
@@ -39,7 +39,8 @@ static inline int gup_pte_range(pmd_t *pmdp, pmd_t pmd, unsigned long addr,VM_BUG_ON (!pfn_valid (pte_pfn (pte))); page =pte_page (pte); head =compound_head (page); -if (!page_cache_get_speculative (head)) +if (unlikely (WARN_ON_ONCE (page_ref_count (head) <0 ) + || !page_cache_get_speculative (head)))return 0 ;if (unlikely (pte_val (pte) !=pte_val (*ptep))) {put_page (head);
@@ -77,7 +78,8 @@ static inline int gup_huge_pmd(pmd_t *pmdp, pmd_t pmd, unsigned long addr, refs++; }while (addr +=PAGE_SIZE , addr != end); -if (!page_cache_add_speculative (head, refs)) { +if (unlikely (WARN_ON_ONCE (page_ref_count (head) <0 ) + || !page_cache_add_speculative (head, refs))) { *nr -= refs;return 0 ; }
@@ -151,7 +153,8 @@ static int gup_huge_pud(pud_t *pudp, pud_t pud, unsigned long addr, refs++; }while (addr +=PAGE_SIZE , addr != end); -if (!page_cache_add_speculative (head, refs)) { +if (unlikely (WARN_ON_ONCE (page_ref_count (head) <0 ) + || !page_cache_add_speculative (head, refs))) { *nr -= refs;return 0 ; }
arch/um/Kconfig.debug +1 -0
@@ -16,6 +16,7 @@ config GPROF config GCOV bool "Enable gcov support" depends on DEBUG_INFO + depends on !KCOV help This option allows developers to retrieve coverage data from a UML session.
arch/um/drivers/vector_user.c +1 -0
@@ -30,6 +30,7 @@#include <stdlib.h> #include <os.h> #include <um_malloc.h> +#include <sys/uio.h> #include "vector_user.h" #define ID_GRE 0
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c +4 -0
@@ -459,6 +459,10 @@ int rdtgroup_mondata_show(struct seq_file *m, void *arg)int ret =0 ; rdtgrp =rdtgroup_kn_lock_live (of->kn); +if (!rdtgrp) { + ret = -ENOENT ; + goto out; + } md.priv = of->kn->priv; resid = md.u.rid;
arch/x86/kernel/kprobes/core.c +6 -0
@@ -1140,6 +1140,12 @@ bool arch_within_kprobe_blacklist(unsigned long addr) is_in_entry_trampoline_section; } +int __init arch_populate_kprobe_blacklist (void ) +{ +return kprobe_add_area_blacklist ((unsigned long )__entry_text_start, + (unsigned long )__entry_text_end); +} +int __init arch_init_kprobes (void ) {return 0 ;
arch/x86/kvm/vmx.c +14 -10
@@ -3404,9 +3404,6 @@ static void setup_msrs(struct vcpu_vmx *vmx) index =__find_msr_index (vmx,MSR_CSTAR );if (index >=0 )move_msr_up (vmx, index, save_nmsrs++); - index =__find_msr_index (vmx,MSR_TSC_AUX ); -if (index >=0 &&guest_cpuid_has (&vmx->vcpu,X86_FEATURE_RDTSCP )) -move_msr_up (vmx, index, save_nmsrs++);/* * MSR_STAR is only needed on long mode guests, and only * if efer.sce is enabled.
@@ -3419,6 +3416,9 @@ static void setup_msrs(struct vcpu_vmx *vmx) index =__find_msr_index (vmx,MSR_EFER );if (index >=0 &&update_transition_efer (vmx, index))move_msr_up (vmx, index, save_nmsrs++); + index =__find_msr_index (vmx,MSR_TSC_AUX ); +if (index >=0 &&guest_cpuid_has (&vmx->vcpu,X86_FEATURE_RDTSCP )) +move_msr_up (vmx, index, save_nmsrs++); vmx->save_nmsrs = save_nmsrs; vmx->guest_msrs_dirty = true;
@@ -11013,10 +11013,6 @@ static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) vmx->loaded_vmcs = vmcs;vmx_vcpu_load (vcpu, cpu);put_cpu (); - -vm_entry_controls_reset_shadow (vmx); -vm_exit_controls_reset_shadow (vmx); -vmx_segment_cache_clear (vmx); }/*
@@ -12694,9 +12690,6 @@ static int enter_vmx_non_root_mode(struct kvm_vcpu *vcpu, u32 *exit_qual)if (likely (!evaluate_pending_interrupts) &&kvm_vcpu_apicv_active (vcpu)) evaluate_pending_interrupts |=vmx_has_apicv_interrupt (vcpu); -if (from_vmentry &&check_vmentry_postreqs (vcpu, vmcs12, exit_qual)) -return EXIT_REASON_INVALID_STATE ; -enter_guest_mode (vcpu);if (!(vmcs12->vm_entry_controls &VM_ENTRY_LOAD_DEBUG_CONTROLS ))
@@ -12706,6 +12699,7 @@ static int enter_vmx_non_root_mode(struct kvm_vcpu *vcpu, u32 *exit_qual) vmx->nested.vmcs01_guest_bndcfgs =vmcs_read64 (GUEST_BNDCFGS );vmx_switch_vmcs (vcpu, &vmx->nested.vmcs02); +vmx_segment_cache_clear (vmx);if (vmcs12->cpu_based_vm_exec_control &CPU_BASED_USE_TSC_OFFSETING ) vcpu->arch.tsc_offset += vmcs12->tsc_offset;
@@ -12839,6 +12833,13 @@ static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch)*/ skip_emulated_instruction (vcpu); + ret =check_vmentry_postreqs (vcpu, vmcs12, &exit_qual); +if (ret) { +nested_vmx_entry_failure (vcpu, vmcs12, +EXIT_REASON_INVALID_STATE , exit_qual); +return 1 ; + } +/* * We're finally done with prerequisite checking, and can start with * the nested entry.
@@ -13529,6 +13530,9 @@ static void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 exit_reason, }vmx_switch_vmcs (vcpu, &vmx->vmcs01); +vm_entry_controls_reset_shadow (vmx); +vm_exit_controls_reset_shadow (vmx); +vmx_segment_cache_clear (vmx);/* Update any VMCS fields that might have changed while L2 ran */ vmcs_write32 (VM_EXIT_MSR_LOAD_COUNT , vmx->msr_autoload.host.nr);
arch/x86/xen/xen-asm_64.S +2 -0
@@ -12,6 +12,7 @@ #include <asm/segment.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> +#include <asm/asm.h> #include <xen/interface/xen.h>
@@ -24,6 +25,7 @@ ENTRY(xen_\name) pop %r11 jmp \name END(xen_\name) +_ASM_NOKPROBE(xen_\name) .endm xen_pv_trap divide_error
crypto/crypto_user.c +20 -17
@@ -296,30 +296,33 @@ static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh,static int crypto_dump_report (struct sk_buff *skb,struct netlink_callback *cb) { -struct crypto_alg *alg; +const size_t start_pos = cb->args[0 ]; +size_t pos =0 ;struct crypto_dump_info info; -int err; - -if (cb->args[0 ]) - goto out; - - cb->args[0 ] =1 ; +struct crypto_alg *alg; +int res; info.in_skb = cb->skb; info.out_skb = skb; info.nlmsg_seq = cb->nlh->nlmsg_seq; info.nlmsg_flags =NLM_F_MULTI ; +down_read (&crypto_alg_sem);list_for_each_entry (alg, &crypto_alg_list, cra_list) { - err =crypto_report_alg (alg, &info); -if (err) - goto out_err; +if (pos >= start_pos) { + res =crypto_report_alg (alg, &info); +if (res == -EMSGSIZE ) +break ; +if (res) + goto out; + } + pos++; } - + cb->args[0 ] = pos; + res = skb->len; out: -return skb->len; -out_err: -return err; +up_read (&crypto_alg_sem); +return res; }static int crypto_dump_report_done (struct netlink_callback *cb)
@@ -503,7 +506,7 @@ static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,if ((type == (CRYPTO_MSG_GETALG -CRYPTO_MSG_BASE ) && (nlh->nlmsg_flags &NLM_F_DUMP ))) {struct crypto_alg *alg; -u16 dump_alloc =0 ; +unsigned long dump_alloc =0 ;if (link->dump ==NULL )return -EINVAL ;
@@ -511,16 +514,16 @@ static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,down_read (&crypto_alg_sem);list_for_each_entry (alg, &crypto_alg_list, cra_list) dump_alloc +=CRYPTO_REPORT_MAXSIZE ; +up_read (&crypto_alg_sem); {struct netlink_dump_control c = { .dump = link->dump, .done = link->done, - .min_dump_alloc = dump_alloc, + .min_dump_alloc =min (dump_alloc,65535UL ), }; err =netlink_dump_start (crypto_nlsk, skb, nlh, &c); } -up_read (&crypto_alg_sem);return err; }
drivers/acpi/acpi_lpss.c +1 -6
@@ -665,12 +665,7 @@ static int acpi_lpss_create_device(struct acpi_device *adev,* have _PS0 and _PS3 without _PSC (and no power resources), so * acpi_bus_init_power() will assume that the BIOS has put them into D0. */ - ret =acpi_device_fix_up_power (adev); -if (ret) { -/* Skip the device, but continue the namespace scan. */ - ret =0 ; - goto err_out; - } +acpi_device_fix_up_power (adev); adev->driver_data = pdata; pdev =acpi_create_platform_device (adev, dev_desc->properties);
drivers/acpi/apei/ghes.c +15 -17
@@ -33,7 +33,6 @@#include <linux/interrupt.h> #include <linux/timer.h> #include <linux/cper.h> -#include <linux/kdebug.h> #include <linux/platform_device.h> #include <linux/mutex.h> #include <linux/ratelimit.h>
@@ -171,40 +170,40 @@ static int ghes_estatus_pool_init(void)return 0 ; } -static void ghes_estatus_pool_free_chunk_page (struct gen_pool *pool, +static void ghes_estatus_pool_free_chunk (struct gen_pool *pool,struct gen_pool_chunk *chunk,void *data) { -free_page (chunk->start_addr); +vfree ((void *)chunk->start_addr); }static void ghes_estatus_pool_exit (void ) {gen_pool_for_each_chunk (ghes_estatus_pool, - ghes_estatus_pool_free_chunk_page,NULL ); + ghes_estatus_pool_free_chunk,NULL );gen_pool_destroy (ghes_estatus_pool); }static int ghes_estatus_pool_expand (unsigned long len) { -unsigned long i, pages, size, addr; -int ret; +unsigned long size, addr; ghes_estatus_pool_size_request +=PAGE_ALIGN (len); size =gen_pool_size (ghes_estatus_pool);if (size >= ghes_estatus_pool_size_request)return 0 ; - pages = (ghes_estatus_pool_size_request - size) /PAGE_SIZE ; -for (i =0 ; i < pages; i++) { - addr =__get_free_page (GFP_KERNEL ); -if (!addr) -return -ENOMEM ; - ret =gen_pool_add (ghes_estatus_pool, addr,PAGE_SIZE ,-1 ); -if (ret) -return ret; - } -return 0 ; + addr = (unsigned long )vmalloc (PAGE_ALIGN (len)); +if (!addr) +return -ENOMEM ; + +/* +* New allocation must be visible in all pgd before it can be found by +* an NMI allocating from the pool. +*/ +vmalloc_sync_all (); + +return gen_pool_add (ghes_estatus_pool, addr,PAGE_ALIGN (len),-1 ); }static int map_gen_v2 (struct ghes *ghes)
@@ -949,7 +948,6 @@ static int ghes_notify_nmi(unsigned int cmd, struct pt_regs *regs) sev =ghes_severity (ghes->estatus->error_severity);if (sev >=GHES_SEV_PANIC ) { -oops_begin ();ghes_print_queued_estatus ();__ghes_panic (ghes); }
drivers/ata/ahci_mvebu.c +51 -17
113 lines not on this page · raw message
drivers/base/platform.c +3 -0
@@ -26,6 +26,7 @@#include <linux/clk/clk-conf.h> #include <linux/limits.h> #include <linux/property.h> +#include <linux/kmemleak.h> #include "base.h" #include "power/power.h"
@@ -525,6 +526,8 @@ struct platform_device *platform_device_register_full(if (!pdev->dev.dma_mask) goto err; +kmemleak_ignore (pdev->dev.dma_mask); + *pdev->dev.dma_mask = pdevinfo->dma_mask; pdev->dev.coherent_dma_mask = pdevinfo->dma_mask; }
drivers/block/drbd/drbd_main.c +0 -1
@@ -796,7 +796,6 @@ int __drbd_send_protocol(struct drbd_connection *connection, enum drbd_packet cmif (nc->tentative && connection->agreed_pro_version <92 ) {rcu_read_unlock (); -mutex_unlock (&sock->mutex);drbd_err (connection,"--dry-run is not supported by peer" );return -EOPNOTSUPP ; }
drivers/block/drbd/drbd_nl.c +32 -11
62 lines not on this page · raw message
drivers/block/drbd/drbd_receiver.c +49 -3
90 lines not on this page · raw message
drivers/block/drbd/drbd_state.h +1 -1
@@ -131,7 +131,7 @@ extern enum drbd_state_rv _drbd_set_state(struct drbd_device *, union drbd_state enum chg_state_flags, struct completion *done);extern void print_st_err (struct drbd_device *,union drbd_state , -union drbd_state ,int ); +union drbd_state ,enum drbd_state_rv ); enum drbd_state_rv _conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val,
drivers/bluetooth/hci_bcm.c +22 -0
@@ -51,6 +51,12 @@#define BCM_LM_DIAG_PKT 0x07#define BCM_LM_DIAG_SIZE 63 +#define BCM_TYPE49_PKT 0x31 +#define BCM_TYPE49_SIZE 0 + +#define BCM_TYPE52_PKT 0x34 +#define BCM_TYPE52_SIZE 0 +#define BCM_AUTOSUSPEND_DELAY 5000/* default autosleep delay */ /**
@@ -564,12 +570,28 @@ static int bcm_setup(struct hci_uart *hu) .lsize = 0, \ .maxlen = BCM_NULL_SIZE +#define BCM_RECV_TYPE49 \ + .type = BCM_TYPE49_PKT, \ + .hlen = BCM_TYPE49_SIZE, \ + .loff = 0, \ + .lsize = 0, \ + .maxlen = BCM_TYPE49_SIZE + +#define BCM_RECV_TYPE52 \ + .type = BCM_TYPE52_PKT, \ + .hlen = BCM_TYPE52_SIZE, \ + .loff = 0, \ + .lsize = 0, \ + .maxlen = BCM_TYPE52_SIZE +static const struct h4_recv_pkt bcm_recv_pkts[] = { {H4_RECV_ACL , .recv = hci_recv_frame }, {H4_RECV_SCO , .recv = hci_recv_frame }, {H4_RECV_EVENT , .recv = hci_recv_frame }, {BCM_RECV_LM_DIAG , .recv = hci_recv_diag }, {BCM_RECV_NULL , .recv = hci_recv_diag }, + {BCM_RECV_TYPE49 , .recv = hci_recv_diag }, + {BCM_RECV_TYPE52 , .recv = hci_recv_diag }, };static int bcm_recv (struct hci_uart *hu,const void *data,int count)
drivers/bus/ti-sysc.c +25 -7
@@ -91,6 +91,9 @@ struct sysc {struct delayed_work idle_work; }; +static void sysc_parse_dts_quirks (struct sysc *ddata,struct device_node *np, +bool is_child); +void sysc_write (struct sysc *ddata,int offset,u32 value) {writel_relaxed (value, ddata->module_va + offset);
@@ -374,6 +377,7 @@ static int sysc_check_one_child(struct sysc *ddata,dev_warn (ddata->dev,"really a child ti,hwmods property?" );sysc_check_quirk_stdout (ddata, np); +sysc_parse_dts_quirks (ddata, np, true);return 0 ; }
@@ -1343,23 +1347,37 @@ static const struct sysc_dts_quirk sysc_dts_quirks[] = { .mask = SYSC_QUIRK_NO_RESET_ON_INIT, }, }; -static int sysc_init_dts_quirks (struct sysc *ddata) +static void sysc_parse_dts_quirks (struct sysc *ddata,struct device_node *np, +bool is_child) { -struct device_node *np = ddata->dev->of_node;const struct property *prop; -int i, len, error; -u32 val; - - ddata->legacy_mode =of_get_property (np,"ti,hwmods" ,NULL ); +int i, len;for (i =0 ; i <ARRAY_SIZE (sysc_dts_quirks); i++) { - prop =of_get_property (np, sysc_dts_quirks[i].name, &len); +const char *name = sysc_dts_quirks[i].name; + + prop =of_get_property (np, name, &len);if (!prop)continue ; ddata->cfg.quirks |= sysc_dts_quirks[i].mask; +if (is_child) { +dev_warn (ddata->dev, +"dts flag should be at module level for %s\n" , + name); + } } +} + +static int sysc_init_dts_quirks (struct sysc *ddata) +{ +struct device_node *np = ddata->dev->of_node; +int error; +u32 val; + + ddata->legacy_mode =of_get_property (np,"ti,hwmods" ,NULL ); +sysc_parse_dts_quirks (ddata, np, false); error =of_property_read_u32 (np,"ti,sysc-delay-us" , &val);if (!error) {if (val >255 ) {
drivers/char/hw_random/stm32-rng.c +8 -0
@@ -169,6 +169,13 @@ static int stm32_rng_probe(struct platform_device *ofdev)return devm_hwrng_register (dev, &priv->rng); } +static int stm32_rng_remove (struct platform_device *ofdev) +{ +pm_runtime_disable (&ofdev->dev); + +return 0 ; +} +#ifdef CONFIG_PM static int stm32_rng_runtime_suspend (struct device *dev) {
@@ -210,6 +217,7 @@ static struct platform_driver stm32_rng_driver = { .of_match_table = stm32_rng_match, }, .probe = stm32_rng_probe, + .remove = stm32_rng_remove, };module_platform_driver (stm32_rng_driver);
drivers/clk/at91/clk-generated.c +10 -18
@@ -284,7 +284,7 @@ static void clk_generated_startup(struct clk_generated *gck)static struct clk_hw *__init at91_clk_register_generated (struct regmap *regmap,spinlock_t *lock,const char *name,const char **parent_names, -u8 num_parents,u8 id, +u8 num_parents,u8 id,bool pll_audio,const struct clk_range *range) {struct clk_generated *gck;
@@ -308,6 +308,7 @@ at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock, gck->regmap = regmap; gck->lock = lock; gck->range = *range; + gck->audio_pll_allowed = pll_audio;clk_generated_startup (gck); hw = &gck->hw;
@@ -333,7 +334,6 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np)struct device_node *gcknp;struct clk_range range =CLK_RANGE (0 ,0 );struct regmap *regmap; -struct clk_generated *gck; num_parents =of_clk_get_parent_count (np);if (num_parents ==0 || num_parents >GENERATED_SOURCE_MAX )
@@ -350,6 +350,8 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np)return ;for_each_child_of_node (np, gcknp) { +bool pll_audio = false; +if (of_property_read_u32 (gcknp,"reg" , &id))continue ;
@@ -362,24 +364,14 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np)of_at91_get_clk_range (gcknp,"atmel,clk-output-range" , &range); +if (of_device_is_compatible (np,"atmel,sama5d2-clk-generated" ) && + (id ==GCK_ID_I2S0 || id ==GCK_ID_I2S1 || + id ==GCK_ID_CLASSD )) + pll_audio = true; + hw =at91_clk_register_generated (regmap, &pmc_pcr_lock, name, parent_names, num_parents, - id, &range); - - gck =to_clk_generated (hw); - -if (of_device_is_compatible (np, -"atmel,sama5d2-clk-generated" )) { -if (gck->id ==GCK_ID_SSC0 || gck->id ==GCK_ID_SSC1 || - gck->id ==GCK_ID_I2S0 || gck->id ==GCK_ID_I2S1 || - gck->id ==GCK_ID_CLASSD ) - gck->audio_pll_allowed = true; -else - gck->audio_pll_allowed = false; - }else { - gck->audio_pll_allowed = false; - } - + id, pll_audio, &range);if (IS_ERR (hw))continue ;
drivers/clk/at91/clk-main.c +5 -2
@@ -162,7 +162,7 @@ at91_clk_register_main_osc(struct regmap *regmap,if (bypass)regmap_update_bits (regmap,AT91_CKGR_MOR ,MOR_KEY_MASK | -AT91_PMC_MOSCEN , +AT91_PMC_OSCBYPASS ,AT91_PMC_OSCBYPASS |AT91_PMC_KEY ); hw = &osc->hw;
@@ -354,7 +354,10 @@ static int clk_main_probe_frequency(struct regmap *regmap)regmap_read (regmap,AT91_CKGR_MCFR , &mcfr);if (mcfr &AT91_PMC_MAINRDY )return 0 ; -usleep_range (MAINF_LOOP_MIN_WAIT ,MAINF_LOOP_MAX_WAIT ); +if (system_state <SYSTEM_RUNNING ) +udelay (MAINF_LOOP_MIN_WAIT ); +else +usleep_range (MAINF_LOOP_MIN_WAIT ,MAINF_LOOP_MAX_WAIT ); }while (time_before (prep_time, timeout));return -ETIMEDOUT ;
drivers/clk/at91/sckc.c +16 -4
@@ -74,7 +74,10 @@ static int clk_slow_osc_prepare(struct clk_hw *hw)writel (tmp |AT91_SCKC_OSC32EN , sckcr); -usleep_range (osc->startup_usec, osc->startup_usec +1 ); +if (system_state <SYSTEM_RUNNING ) +udelay (osc->startup_usec); +else +usleep_range (osc->startup_usec, osc->startup_usec +1 );return 0 ; }
@@ -197,7 +200,10 @@ static int clk_slow_rc_osc_prepare(struct clk_hw *hw)writel (readl (sckcr) |AT91_SCKC_RCEN , sckcr); -usleep_range (osc->startup_usec, osc->startup_usec +1 ); +if (system_state <SYSTEM_RUNNING ) +udelay (osc->startup_usec); +else +usleep_range (osc->startup_usec, osc->startup_usec +1 );return 0 ; }
@@ -310,7 +316,10 @@ static int clk_sam9x5_slow_set_parent(struct clk_hw *hw, u8 index)writel (tmp, sckcr); -usleep_range (SLOWCK_SW_TIME_USEC ,SLOWCK_SW_TIME_USEC +1 ); +if (system_state <SYSTEM_RUNNING ) +udelay (SLOWCK_SW_TIME_USEC ); +else +usleep_range (SLOWCK_SW_TIME_USEC ,SLOWCK_SW_TIME_USEC +1 );return 0 ; }
@@ -443,7 +452,10 @@ static int clk_sama5d4_slow_osc_prepare(struct clk_hw *hw)return 0 ; } -usleep_range (osc->startup_usec, osc->startup_usec +1 ); +if (system_state <SYSTEM_RUNNING ) +udelay (osc->startup_usec); +else +usleep_range (osc->startup_usec, osc->startup_usec +1 ); osc->prepared = true;return 0 ;
drivers/clk/clk-stm32mp1.c +15 -13
@@ -121,7 +121,7 @@ static const char * const cpu_src[] = { };static const char *const axi_src[] = { -"ck_hsi" ,"ck_hse" ,"pll2_p" ,"pll3_p" +"ck_hsi" ,"ck_hse" ,"pll2_p" };static const char *const per_src[] = {
@@ -225,19 +225,19 @@ static const char * const usart6_src[] = { };static const char *const fdcan_src[] = { -"ck_hse" ,"pll3_q" ,"pll4_q" +"ck_hse" ,"pll3_q" ,"pll4_q" ,"pll4_r" };static const char *const sai_src[] = { -"pll4_q" ,"pll3_q" ,"i2s_ckin" ,"ck_per" +"pll4_q" ,"pll3_q" ,"i2s_ckin" ,"ck_per" ,"pll3_r" };static const char *const sai2_src[] = { -"pll4_q" ,"pll3_q" ,"i2s_ckin" ,"ck_per" ,"spdif_ck_symb" +"pll4_q" ,"pll3_q" ,"i2s_ckin" ,"ck_per" ,"spdif_ck_symb" ,"pll3_r" };static const char *const adc12_src[] = { -"pll4_q" ,"ck_per" +"pll4_r" ,"ck_per" ,"pll3_q" };static const char *const dsi_src[] = {
@@ -269,7 +269,7 @@ static const struct clk_div_table axi_div_table[] = {static const struct clk_div_table mcu_div_table[] = { {0 ,1 }, {1 ,2 }, {2 ,4 }, {3 ,8 }, {4 ,16 }, {5 ,32 }, {6 ,64 }, {7 ,128 }, - {8 ,512 }, {9 ,512 }, {10 ,512 }, {11 ,512 }, + {8 ,256 }, {9 ,512 }, {10 ,512 }, {11 ,512 }, {12 ,512 }, {13 ,512 }, {14 ,512 }, {15 ,512 }, {0 }, };
@@ -1286,10 +1286,11 @@ _clk_stm32_register_composite(struct device *dev, MGATE_MP1(_id, _name, _parent, _flags, _mgate)#define KCLK (_id, _name, _parents, _flags, _mgate, _mmux)\ - COMPOSITE(_id, _name, _parents, CLK_OPS_PARENT_ENABLE | _flags,\ - _MGATE_MP1(_mgate),\ - _MMUX(_mmux),\ - _NO_DIV) + COMPOSITE(_id, _name, _parents, CLK_OPS_PARENT_ENABLE |\ + CLK_SET_RATE_NO_REPARENT | _flags,\ + _MGATE_MP1(_mgate),\ + _MMUX(_mmux),\ + _NO_DIV)enum {G_SAI1 ,
@@ -1655,8 +1656,8 @@ static const struct stm32_mux_cfg ker_mux_cfg[M_LAST] = {static const struct clock_config stm32mp1_clock_cfg[] = {/* Oscillator divider */ -DIV (NO_ID ,"clk-hsi-div" ,"clk-hsi" ,0 ,RCC_HSICFGR ,0 ,2 , -CLK_DIVIDER_READ_ONLY ), +DIV (NO_ID ,"clk-hsi-div" ,"clk-hsi" ,CLK_DIVIDER_POWER_OF_TWO , +RCC_HSICFGR ,0 ,2 ,CLK_DIVIDER_READ_ONLY ),/* External / Internal Oscillators */ GATE_MP1 (CK_HSE ,"ck_hse" ,"clk-hse" ,0 ,RCC_OCENSETR ,8 ,0 ),
@@ -1952,7 +1953,8 @@ static const struct clock_config stm32mp1_clock_cfg[] = {MGATE_MP1 (GPU_K ,"gpu_k" ,"pll2_q" ,0 ,G_GPU ),MGATE_MP1 (DAC12_K ,"dac12_k" ,"ck_lsi" ,0 ,G_DAC12 ), -COMPOSITE (ETHPTP_K ,"ethptp_k" , eth_src,CLK_OPS_PARENT_ENABLE , +COMPOSITE (ETHPTP_K ,"ethptp_k" , eth_src,CLK_OPS_PARENT_ENABLE | +CLK_SET_RATE_NO_REPARENT , _NO_GATE,_MMUX (M_ETHCK ), _DIV(RCC_ETHCKSELR, 4, 4, CLK_DIVIDER_ALLOW_ZERO, NULL)),
drivers/clk/meson/gxbb.c +1 -0
@@ -836,6 +836,7 @@ static struct clk_regmap gxbb_sar_adc_clk_div = { .ops = &clk_regmap_divider_ops, .parent_names = (const char *[]){ "sar_adc_clk_sel" }, .num_parents = 1, + .flags = CLK_SET_RATE_PARENT, }, };
drivers/clk/samsung/clk-exynos5420.c +6 -0
@@ -171,12 +171,18 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {GATE_BUS_CPU ,GATE_SCLK_CPU ,CLKOUT_CMU_CPU , +CPLL_CON0 , +DPLL_CON0 ,EPLL_CON0 ,EPLL_CON1 ,EPLL_CON2 ,RPLL_CON0 ,RPLL_CON1 ,RPLL_CON2 , +IPLL_CON0 , +SPLL_CON0 , +VPLL_CON0 , +MPLL_CON0 ,SRC_TOP0 ,SRC_TOP1 , SRC_TOP2,
drivers/clk/samsung/clk-exynos5433.c +12 -2
@@ -16,6 +16,7 @@#include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> +#include <linux/slab.h> #include <dt-bindings/clock/exynos5433.h>
@@ -5527,6 +5528,8 @@ static int __init exynos5433_cmu_probe(struct platform_device *pdev) data->clk_save =samsung_clk_alloc_reg_dump (info->clk_regs, info->nr_clk_regs); +if (!data->clk_save) +return -ENOMEM ; data->nr_clk_save = info->nr_clk_regs; data->clk_suspend = info->suspend_regs; data->nr_clk_suspend = info->nr_suspend_regs;
@@ -5535,12 +5538,19 @@ static int __init exynos5433_cmu_probe(struct platform_device *pdev)if (data->nr_pclks >0 ) { data->pclks =devm_kcalloc (dev,sizeof (struct clk *), data->nr_pclks,GFP_KERNEL ); - +if (!data->pclks) { +kfree (data->clk_save); +return -ENOMEM ; + }for (i =0 ; i < data->nr_pclks; i++) {struct clk *clk =of_clk_get (dev->of_node, i); -if (IS_ERR (clk)) +if (IS_ERR (clk)) { +kfree (data->clk_save); +while (--i >=0 ) +clk_put (data->pclks[i]);return PTR_ERR (clk); + } data->pclks[i] = clk; } }
drivers/clk/sunxi-ng/ccu-sun9i-a80.c +1 -1
@@ -1231,7 +1231,7 @@ static int sun9i_a80_ccu_probe(struct platform_device *pdev)/* Enforce d1 = 0, d2 = 0 for Audio PLL */ val =readl (reg +SUN9I_A80_PLL_AUDIO_REG ); - val &= (BIT (16 ) &BIT (18 )); + val &= ~(BIT (16 ) |BIT (18 ));writel (val, reg +SUN9I_A80_PLL_AUDIO_REG );/* Enforce P = 1 for both CPU cluster PLLs */
drivers/clk/sunxi/clk-sunxi.c +2 -2
@@ -1086,8 +1086,8 @@ static struct clk ** __init sunxi_divs_clk_setup(struct device_node *node, rate_hw, rate_ops, gate_hw, &clk_gate_ops, clkflags | - data->div[i].critical ? - CLK_IS_CRITICAL : 0); + (data->div[i].critical ? + CLK_IS_CRITICAL : 0));WARN_ON (IS_ERR (clk_data->clks[i])); }
drivers/clk/ti/clk-dra7-atl.c +0 -6
@@ -174,7 +174,6 @@ static void __init of_dra7_atl_clock_setup(struct device_node *node)struct clk_init_data init = {NULL };const char **parent_names =NULL ;struct clk *clk; -int ret; clk_hw =kzalloc (sizeof (*clk_hw),GFP_KERNEL );if (!clk_hw) {
@@ -207,11 +206,6 @@ static void __init of_dra7_atl_clock_setup(struct device_node *node) clk =ti_clk_register (NULL , &clk_hw->hw, node->name);if (!IS_ERR (clk)) { - ret =ti_clk_add_alias (NULL , clk, node->name); -if (ret) { -clk_unregister (clk); - goto cleanup; - }of_clk_add_provider (node, of_clk_src_simple_get, clk);kfree (parent_names);return ;
drivers/clk/ti/clkctrl.c +3 -2
@@ -100,11 +100,12 @@ static bool _omap4_is_timeout(union omap4_timeout *time, u32 timeout)* can be from a timer that requires pm_runtime access, which * will eventually bring us here with timekeeping_suspended, * during both suspend entry and resume paths. This happens -* at least on am43xx platform. +* at least on am43xx platform. Account for flakeyness +* with udelay() by multiplying the timeout value by 2. */ if (unlikely (_early_timeout || timekeeping_suspended)) {if (time->cycles++ < timeout) { -udelay (1 ); +udelay (1 *2 );return false; } }else {
drivers/clocksource/timer-fttmr010.c +42 -31
157 lines not on this page · raw message
drivers/clocksource/timer-mediatek.c +2 -8
@@ -277,15 +277,12 @@ static int __init mtk_syst_init(struct device_node *node) ret =timer_of_init (node, &to);if (ret) - goto err; +return ret;clockevents_config_and_register (&to.clkevt,timer_of_rate (&to),TIMER_SYNC_TICKS ,0xffffffff );return 0 ; -err: -timer_of_cleanup (&to); -return ret; }static int __init mtk_gpt_init (struct device_node *node)
@@ -302,7 +299,7 @@ static int __init mtk_gpt_init(struct device_node *node) ret =timer_of_init (node, &to);if (ret) - goto err; +return ret;/* Configure clock source */ mtk_gpt_setup (&to,TIMER_CLK_SRC ,GPT_CTRL_OP_FREERUN );
@@ -320,9 +317,6 @@ static int __init mtk_gpt_init(struct device_node *node)mtk_gpt_enable_irq (&to,TIMER_CLK_EVT );return 0 ; -err: -timer_of_cleanup (&to); -return ret; }TIMER_OF_DECLARE (mtk_mt6577,"mediatek,mt6577-timer" , mtk_gpt_init);TIMER_OF_DECLARE (mtk_mt6765,"mediatek,mt6765-timer" , mtk_syst_init);
drivers/crypto/chelsio/chtls/chtls.h +5 -0
@@ -153,6 +153,11 @@ struct chtls_dev {unsigned int cdev_state; }; +struct chtls_listen { +struct chtls_dev *cdev; +struct sock *sk; +}; +struct chtls_hws {struct sk_buff_head sk_recv_queue;u8 txqid;
drivers/crypto/chelsio/chtls/chtls_main.c +31 -19
99 lines not on this page · raw message
drivers/crypto/mxc-scc.c +6 -6
@@ -178,12 +178,12 @@ static int mxc_scc_get_data(struct mxc_scc_ctx *ctx,else from = scc->black_memory; -dev_dbg (scc->dev,"pcopy: from 0x%p %d bytes\n" , from, +dev_dbg (scc->dev,"pcopy: from 0x%p %zu bytes\n" , from, ctx->dst_nents *8 ); len =sg_pcopy_from_buffer (ablkreq->dst, ctx->dst_nents, from, ctx->size, ctx->offset);if (!len) { -dev_err (scc->dev,"pcopy err from 0x%p (len=%d)\n" , from, len); +dev_err (scc->dev,"pcopy err from 0x%p (len=%zu)\n" , from, len);return -EINVAL ; }
@@ -274,7 +274,7 @@ static int mxc_scc_put_data(struct mxc_scc_ctx *ctx, len =sg_pcopy_to_buffer (req->src, ctx->src_nents, to, len, ctx->offset);if (!len) { -dev_err (scc->dev,"pcopy err to 0x%p (len=%d)\n" , to, len); +dev_err (scc->dev,"pcopy err to 0x%p (len=%zu)\n" , to, len);return -EINVAL ; }
@@ -335,9 +335,9 @@ static void mxc_scc_ablkcipher_next(struct mxc_scc_ctx *ctx,return ; } -dev_dbg (scc->dev,"Start encryption (0x%p/0x%p)\n" , - (void *)readl (scc->base +SCC_SCM_RED_START ), - (void *)readl (scc->base +SCC_SCM_BLACK_START )); +dev_dbg (scc->dev,"Start encryption (0x%x/0x%x)\n" , +readl (scc->base +SCC_SCM_RED_START ), +readl (scc->base +SCC_SCM_BLACK_START ));/* clear interrupt control registers */ writel(SCC_SCM_INTR_CTRL_CLR_INTR,
drivers/crypto/stm32/stm32-hash.c +1 -1
@@ -365,7 +365,7 @@ static int stm32_hash_xmit_cpu(struct stm32_hash_dev *hdev,return -ETIMEDOUT ;if ((hdev->flags &HASH_FLAGS_HMAC ) && - (hdev->flags & ~HASH_FLAGS_HMAC_KEY )) { + (!(hdev->flags &HASH_FLAGS_HMAC_KEY ))) { hdev->flags |=HASH_FLAGS_HMAC_KEY ;stm32_hash_write_key (hdev);if (stm32_hash_wait_busy (hdev))
drivers/dma/stm32-dma.c +6 -14
@@ -308,20 +308,12 @@ static bool stm32_dma_fifo_threshold_is_allowed(u32 burst, u32 threshold,static bool stm32_dma_is_burst_possible (u32 buf_len,u32 threshold) { -switch (threshold) { -case STM32_DMA_FIFO_THRESHOLD_FULL : -if (buf_len >=STM32_DMA_MAX_BURST ) -return true; -else -return false; -case STM32_DMA_FIFO_THRESHOLD_HALFFULL : -if (buf_len >=STM32_DMA_MAX_BURST /2 ) -return true; -else -return false; -default : -return false; - } +/* +* Buffer or period length has to be aligned on FIFO depth. +* Otherwise bytes may be stuck within FIFO at buffer or period +* length. +*/ +return ((buf_len % ((threshold +1 ) *4 )) ==0 ); } static u32 stm32_dma_get_best_burst(u32 buf_len, u32 max_burst, u32 threshold,
drivers/firmware/arm_sdei.c +0 -6
@@ -1009,7 +1009,6 @@ static struct platform_driver sdei_driver = {static bool __init sdei_present_dt (void ) { -struct platform_device *pdev;struct device_node *np, *fw_np; fw_np =of_find_node_by_name (NULL ,"firmware" );
@@ -1017,14 +1016,9 @@ static bool __init sdei_present_dt(void)return false; np =of_find_matching_node (fw_np, sdei_of_match); -of_node_put (fw_np);if (!np)return false; - - pdev =of_platform_device_create (np, sdei_driver.driver.name,NULL );of_node_put (np); -if (!pdev) -return false;return true; }
drivers/gpio/gpio-pca953x.c +1 -1
@@ -58,7 +58,7 @@#define PCA_GPIO_MASK 0x00FF#define PCAL_GPIO_MASK 0x1f -#define PCAL_PINCTRL_MASK 0xe0 +#define PCAL_PINCTRL_MASK 0x60#define PCA_INT 0x0100#define PCA_PCAL 0x0200
drivers/gpio/gpio-raspberrypi-exp.c +1 -0
@@ -206,6 +206,7 @@ static int rpi_exp_gpio_probe(struct platform_device *pdev) } fw =rpi_firmware_get (fw_node); +of_node_put (fw_node);if (!fw)return -EPROBE_DEFER ;
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c +1 -1
@@ -382,7 +382,7 @@ atmel_hlcdc_plane_update_general_settings(struct atmel_hlcdc_plane *plane, cfg |=ATMEL_HLCDC_LAYER_LAEN ; else cfg |= ATMEL_HLCDC_LAYER_GAEN | - ATMEL_HLCDC_LAYER_GA(state->base.alpha >> 8); + ATMEL_HLCDC_LAYER_GA(state->base.alpha); }if (state->disc_h && state->disc_w)
drivers/gpu/ipu-v3/ipu-pre.c +6 -0
@@ -106,6 +106,7 @@ struct ipu_pre {void *buffer_virt;bool in_use;unsigned int safe_window_end; +unsigned int last_bufaddr; };static DEFINE_MUTEX (ipu_pre_list_mutex);
@@ -185,6 +186,7 @@ void ipu_pre_configure(struct ipu_pre *pre, unsigned int width,writel (bufaddr, pre->regs +IPU_PRE_CUR_BUF );writel (bufaddr, pre->regs +IPU_PRE_NEXT_BUF ); + pre->last_bufaddr = bufaddr; val =IPU_PRE_PREF_ENG_CTRL_INPUT_PIXEL_FORMAT (0 ) | IPU_PRE_PREF_ENG_CTRL_INPUT_ACTIVE_BPP(active_bpp) |
@@ -242,7 +244,11 @@ void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr)unsigned short current_yblock;u32 val; +if (bufaddr == pre->last_bufaddr) +return ; +writel (bufaddr, pre->regs +IPU_PRE_NEXT_BUF ); + pre->last_bufaddr = bufaddr; do { if (time_after(jiffies, timeout)) {
drivers/hid/hid-core.c +45 -6
84 lines not on this page · raw message
drivers/hid/intel-ish-hid/ishtp-hid.c +1 -1
@@ -222,7 +222,7 @@ int ishtp_hid_probe(unsigned int cur_hid_dev, err_hid_device:kfree (hid_data); err_hid_data: -kfree (hid); +hid_destroy_device (hid);return rv; }
drivers/infiniband/hw/bnxt_re/qplib_sp.c +2 -3
@@ -775,9 +775,8 @@ int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids) req.cos0 =cpu_to_le16 (cids[0 ]); req.cos1 =cpu_to_le16 (cids[1 ]); -bnxt_qplib_rcfw_send_message (rcfw, (void *)&req, (void *)&resp,NULL , -0 ); -return 0 ; +return bnxt_qplib_rcfw_send_message (rcfw, (void *)&req, (void *)&resp, +NULL ,0 ); } int bnxt_qplib_get_roce_stats(struct bnxt_qplib_rcfw *rcfw,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +11 -4
@@ -1776,6 +1776,9 @@ static int hns_roce_v2_rereg_write_mtpt(struct hns_roce_dev *hr_dev,struct hns_roce_v2_mpt_entry *mpt_entry = mb_buf;int ret =0 ; +roce_set_field (mpt_entry->byte_4_pd_hop_st,V2_MPT_BYTE_4_MPT_ST_M , +V2_MPT_BYTE_4_MPT_ST_S ,V2_MPT_ST_VALID ); +if (flags &IB_MR_REREG_PD ) {roce_set_field (mpt_entry->byte_4_pd_hop_st,V2_MPT_BYTE_4_PD_M ,V2_MPT_BYTE_4_PD_S , pdn);
@@ -3443,7 +3446,7 @@ static int hns_roce_v2_modify_qp(struct ib_qp *ibqp,struct device *dev = hr_dev->dev;int ret = -EINVAL ; - context =kcalloc (2 ,sizeof (*context),GFP_KERNEL ); + context =kcalloc (2 ,sizeof (*context),GFP_ATOMIC );if (!context)return -ENOMEM ;
@@ -3503,13 +3506,16 @@ static int hns_roce_v2_modify_qp(struct ib_qp *ibqp,roce_set_field (qpc_mask->byte_160_sq_ci_pi,V2_QPC_BYTE_160_SQ_PRODUCER_IDX_M ,V2_QPC_BYTE_160_SQ_PRODUCER_IDX_S ,0 ); -roce_set_field (context->byte_84_rq_ci_pi, + +if (!ibqp->srq) { +roce_set_field (context->byte_84_rq_ci_pi,V2_QPC_BYTE_84_RQ_PRODUCER_IDX_M ,V2_QPC_BYTE_84_RQ_PRODUCER_IDX_S , hr_qp->rq.head); -roce_set_field (qpc_mask->byte_84_rq_ci_pi, +roce_set_field (qpc_mask->byte_84_rq_ci_pi,V2_QPC_BYTE_84_RQ_PRODUCER_IDX_M ,V2_QPC_BYTE_84_RQ_PRODUCER_IDX_S ,0 ); + } }if (attr_mask &IB_QP_AV ) {
@@ -3971,7 +3977,8 @@ static void hns_roce_set_qps_to_err(struct hns_roce_dev *hr_dev, u32 qpn)if (hr_qp->ibqp.uobject) {if (hr_qp->sdb_en ==1 ) { hr_qp->sq.head = *(int *)(hr_qp->sdb.virt_addr); - hr_qp->rq.head = *(int *)(hr_qp->rdb.virt_addr); +if (hr_qp->rdb_en ==1 ) + hr_qp->rq.head = *(int *)(hr_qp->rdb.virt_addr); }else {dev_warn (hr_dev->dev,"flush cqe is unsupported in userspace!\n" );return ;
drivers/infiniband/hw/hns/hns_roce_mr.c +2 -2
@@ -1017,14 +1017,14 @@ struct ib_mr *hns_roce_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, goto err_umem; } }else { -int pbl_size =1 ; +u64 pbl_size =1 ; bt_size = (1 << (hr_dev->caps.pbl_ba_pg_sz +PAGE_SHIFT )) /8 ;for (i =0 ; i < hr_dev->caps.pbl_hop_num; i++) pbl_size *= bt_size;if (n > pbl_size) {dev_err (dev, -" MR len %lld err. MR page num is limited to %d!\n" , +" MR len %lld err. MR page num is limited to %lld!\n" , length, pbl_size); ret = -EINVAL ; goto err_umem;
drivers/infiniband/hw/hns/hns_roce_qp.c +2 -1
@@ -522,7 +522,8 @@ static int hns_roce_qp_has_sq(struct ib_qp_init_attr *attr)static int hns_roce_qp_has_rq (struct ib_qp_init_attr *attr) {if (attr->qp_type ==IB_QPT_XRC_INI || - attr->qp_type ==IB_QPT_XRC_TGT || attr->srq) + attr->qp_type ==IB_QPT_XRC_TGT || attr->srq || + !attr->cap.max_recv_wr)return 0 ;return 1 ;
drivers/infiniband/hw/qedr/qedr_iw_cm.c +2 -0
@@ -492,6 +492,8 @@ int qedr_iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)int i; qp =idr_find (&dev->qpidr.idr, conn_param->qpn); +if (unlikely (!qp)) +return -EINVAL ; laddr = (struct sockaddr_in *)&cm_id->m_local_addr; raddr = (struct sockaddr_in *)&cm_id->m_remote_addr;
drivers/infiniband/hw/qib/qib_sdma.c +3 -1
@@ -576,8 +576,10 @@ int qib_sdma_verbs_send(struct qib_pportdata *ppd, dw = (len +3 ) >>2 ; addr =dma_map_single (&ppd->dd->pcidev->dev, sge->vaddr, dw <<2 ,DMA_TO_DEVICE ); -if (dma_mapping_error (&ppd->dd->pcidev->dev, addr)) +if (dma_mapping_error (&ppd->dd->pcidev->dev, addr)) { + ret = -ENOMEM ; goto unmap; + } sdmadesc[0 ] =0 ;make_sdma_desc (ppd, sdmadesc, (u64 ) addr, dw, dwoffset);/* SDmaUseLargeBuf has to be set in every descriptor */
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c +1 -1
@@ -555,7 +555,7 @@ struct ib_ah *pvrdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr,if (!atomic_add_unless (&dev->num_ahs,1 , dev->dsr->caps.max_ah))return ERR_PTR (-ENOMEM ); - ah =kzalloc (sizeof (*ah),GFP_KERNEL ); + ah =kzalloc (sizeof (*ah),GFP_ATOMIC );if (!ah) {atomic_dec (&dev->num_ahs);return ERR_PTR (-ENOMEM );
drivers/infiniband/sw/rxe/rxe_hw_counters.c +1 -1
@@ -59,7 +59,7 @@ int rxe_ib_get_hw_stats(struct ib_device *ibdev,return -EINVAL ;for (cnt =0 ; cnt <ARRAY_SIZE (rxe_counter_name); cnt++) - stats->value[cnt] = dev->stats_counters[cnt]; + stats->value[cnt] =atomic64_read (&dev->stats_counters[cnt]);return ARRAY_SIZE (rxe_counter_name); }
drivers/infiniband/sw/rxe/rxe_verbs.h +3 -3
@@ -409,16 +409,16 @@ struct rxe_dev {spinlock_t mmap_offset_lock;/* guard mmap_offset */ int mmap_offset; -u64 stats_counters[RXE_NUM_OF_COUNTERS ]; +atomic64_t stats_counters[RXE_NUM_OF_COUNTERS ];struct rxe_port port;struct list_head list;struct crypto_shash *tfm; }; -static inline void rxe_counter_inc (struct rxe_dev *rxe,enum rxe_counters cnt) +static inline void rxe_counter_inc (struct rxe_dev *rxe,enum rxe_counters index) { - rxe->stats_counters[cnt]++; +atomic64_inc (&rxe->stats_counters[index]); }static inline struct rxe_dev *to_rdev (struct ib_device *dev)
drivers/infiniband/ulp/srp/ib_srp.c +1 -0
@@ -2357,6 +2357,7 @@ static int srp_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scmnd)if (srp_post_send (ch, iu, len)) {shost_printk (KERN_ERR , target->scsi_host,PFX "Send failed\n" ); + scmnd->result =DID_ERROR <<16 ; goto err_unmap; }
drivers/input/serio/gscps2.c +2 -2
@@ -381,9 +381,9 @@ static int __init gscps2_probe(struct parisc_device *dev) goto fail;#endif - printk(KERN_INFO "serio: %s port at 0x%p irq %d @ %s\n", + pr_info("serio: %s port at 0x%08lx irq %d @ %s\n", ps2port->port->name, - ps2port->addr, + hpa,
Lines of this file are not shown. View the raw message.
drivers/media/platform/atmel/atmel-isc.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/media/platform/stm32/stm32-dcmi.c +20 -3
Lines of this file are not shown. View the raw message.
drivers/mmc/host/meson-gx-mmc.c +63 -10
73 lines not on this page · raw message
drivers/mtd/nand/raw/atmel/nand-controller.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/rx-offload.c +81 -15
96 lines not on this page · raw message
drivers/net/can/usb/peak_usb/pcan_usb.c +10 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/atheros/atl1e/atl1e_main.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +43 -14
57 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +60 -18
78 lines not on this page · raw message
drivers/net/ethernet/broadcom/genet/bcmgenet.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmmii.c +33 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cadence/macb_main.c +11 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cadence/macb_ptp.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fec_main.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/main.c +3 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath6kl/cfg80211.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +27 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h +8 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/dvm/main.c +17 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c +0 -19
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h +2 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/utils.c +14 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c +12 -12
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/tx.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/debugfs.c +6 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/scan.c +10 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/nvme/host/core.c +35 -6
41 lines not on this page · raw message
drivers/pinctrl/intel/pinctrl-cherryview.c +12 -12
Lines of this file are not shown. View the raw message.
drivers/pinctrl/stm32/pinctrl-stm32.c +16 -10
Lines of this file are not shown. View the raw message.
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/scsi/qla2xxx/tcm_qla2xxx.c +8 -40
48 lines not on this page · raw message
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/os_dep/sdio_intf.c +1 -6
Lines of this file are not shown. View the raw message.
drivers/thunderbolt/switch.c +42 -12
54 lines not on this page · raw message
kernel/kprobes.c +53 -14
67 lines not on this page · raw message
net/smc/smc_cdc.h +35 -10
45 lines not on this page · raw message
tools/testing/selftests/bpf/test_sockmap.c +9 -0
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.