openwrt/target/linux/ipq40xx/patches-4.14
Masafumi UTSUGI bf800022b2 ipq40xx: essedma: Fix dead lock
edma_read_append_stats() gets called from two places in the driver.
The first place is the kernel timer that periodically updates
the statistics, so nothing gets lost due to overflows.
The second one it's part of the userspace ethtool ioctl handler
to provide up-to-date values.

For this configuration, the use of spin_lock() is not sufficient
and as per:
<https://mirrors.edge.kernel.org/pub/linux/kernel/people/rusty/kernel-locking/c214.html>
the locking has to be upgraded to spin_lock_bh().

Signed-off-by: Masafumi UTSUGI <mutsugi@allied-telesis.co.jp>
[folded patch into 710-, rewrote message]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit f1d761f95e)
2019-10-20 15:16:31 +02:00
..
030-mtd-nand-Use-standard-large-page-OOB-layout-when-usi.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
031-mtd-nand-use-usual-return-values-for-the-erase-hook.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch kernel: bump kernel 4.14 to version 4.14.63 2018-08-15 22:31:56 +02:00
050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
070-qcom-spm-fix-probe-order.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
071-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
072-qcom-ipq4019-add-cpu-operating-points-for-cpufreq-su.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
073-qcom-ipq4019-fix-cpu0-s-qcom-saw2-reg-value.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
074-ARM-qcom-Add-IPQ4019-SoC-support.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: fix warning triggered by bad interrupt definition 2018-12-27 14:36:23 +01:00
078-ARM-dts-ipq4019-Add-a-few-peripheral-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
079-ARM-dts-ipq4019-fix-PCI-range.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
080-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch kernel: bump 4.14 to 4.14.102 2019-02-22 10:53:42 +01:00
081-clk-fix-apss-cpu-overclocking.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
082-ARM-dts-ipq4019-Add-TZ-and-SMEM-reserved-regions.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
083-mtd-nand-add-Winbond-manufacturer-and-chip.patch ipq40xx: use patches that were sent upstream 2018-07-25 12:13:18 +02:00
084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
085-mtd-nand-add-macronix-mx35lf1ge4ab.patch ipq40xx: add support for Macronix MX35LF1GE4AB SPI NAND 2019-02-26 00:15:38 +01:00
086-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch kernel: bump 4.14 to 4.14.104 2019-03-05 13:19:43 +01:00
087-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch ipq40xx: fix pcie msi IRQ trigger level 2019-02-28 11:26:11 +01:00
088-0001-i2c-qup-fix-copyrights-and-update-to-SPDX-identifier.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0003-i2c-qup-minor-code-reorganization-for-use_dma.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0004-i2c-qup-remove-redundant-variables-for-BAM-SG-count.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0005-i2c-qup-schedule-EOT-and-FLUSH-tags-at-the-end-of-tr.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0006-i2c-qup-fix-the-transfer-length-for-BAM-RX-EOT-FLUSH.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0007-i2c-qup-proper-error-handling-for-i2c-error-in-BAM-m.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0008-i2c-qup-use-the-complete-transfer-length-to-choose-D.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0009-i2c-qup-change-completion-timeout-according-to-trans.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0010-i2c-qup-fix-buffer-overflow-for-multiple-msg-of-maxi.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0011-i2c-qup-send-NACK-for-last-read-sub-transfers.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0012-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0013-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: fix hw-crypto detection of qce driver 2019-09-28 19:11:34 +02:00
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
700-net-add-qualcomm-mdio-and-phy.patch ipq40xx: fix phy interrupt setting 2019-03-13 16:25:34 +01:00
701-dts-ipq4019-add-mdio-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
702-dts-ipq4019-add-PHY-switch-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: abort ar40xx probe on missing PHYs 2019-09-25 22:50:24 +02:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: essedma: Fix dead lock 2019-10-20 15:16:31 +02:00
711-dts-ipq4019-add-ethernet-essedma-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
712-mr33-essedma.patch ipq40xx: add Cisco Meraki MR33 Support 2018-03-14 19:04:52 +01:00
713-essedma-alloc-skb-ip-align.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
714-essedma-add-fix-for-memory-allocation.patch ipq40xx: essedma: Add fix for memory allocation issues 2019-03-24 21:17:41 +01:00
850-soc-add-qualcomm-syscon.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
900-dts-ipq4019-ap-dk01.1.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
901-arm-boot-add-dts-files.patch ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
997-device_tree_cmdline.patch kernel: bump 4.14 to 4.14.51 2018-06-26 08:57:21 +02:00