aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-21 01:16:48 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-03-21 13:11:56 +0000
commit786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186 (patch)
tree926fecb2b1f6ce1e42ba7ef4c7aab8e68dfd214c /target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch
parent9470160c350d15f765c33d6c1db15d6c4709a64c (diff)
downloadupstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.gz
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.bz2
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.zip
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all kernel configuration as well as patches for Linux 5.4. There were no targets still actively using Linux 5.4. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 3a14580411adfb75f9a44eded9f41245b9e44606)
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch')
-rw-r--r--target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch b/target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch
deleted file mode 100644
index ac368d5dd1..0000000000
--- a/target/linux/bcm4908/patches-5.4/084-v5.6-0001-phy-usb-EHCI-DMA-may-lose-a-burst-of-DMA-data-for-72.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From dc9aa43c43668481089c48135707ec3f8f5b2e19 Mon Sep 17 00:00:00 2001
-From: Al Cooper <alcooperx@gmail.com>
-Date: Fri, 3 Jan 2020 13:17:59 -0500
-Subject: [PATCH] phy: usb: EHCI DMA may lose a burst of DMA data for 7255xA0
- family
-
-When the EHCI controller received a 512 byte USB packet that
-had to be broken into 2 256 byte bursts across the SCB bus AND
-there was a following 512 byte USB packet, the second burst of
-data from the first packet was sometimes being lost. If the
-burst size was changed to 128 bytes via the EBR_SCB_SIZE field
-in the USB_CTRL_EBRIDGE register we'd see the 4th 128 byte burst
-of the first packet being lost. This problem became much worse
-if other threads were running that accessed memory, like a memcpy
-test. Setting the EBR_SCB_SIZE to 512, which prevents breaking
-the EHCI USB packet (max size of 512 bytes) into bursts, fixed
-the problem.
-
-Signed-off-by: Al Cooper <alcooperx@gmail.com>
-Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
----
- drivers/phy/broadcom/phy-brcm-usb-init.c | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
---- a/drivers/phy/broadcom/phy-brcm-usb-init.c
-+++ b/drivers/phy/broadcom/phy-brcm-usb-init.c
-@@ -42,6 +42,7 @@
- #define USB_CTRL_PLL_CTL_PLL_IDDQ_PWRDN_MASK 0x80000000 /* option */
- #define USB_CTRL_EBRIDGE 0x0c
- #define USB_CTRL_EBRIDGE_ESTOP_SCB_REQ_MASK 0x00020000 /* option */
-+#define USB_CTRL_EBRIDGE_EBR_SCB_SIZE_MASK 0x00000f80 /* option */
- #define USB_CTRL_OBRIDGE 0x10
- #define USB_CTRL_OBRIDGE_LS_KEEP_ALIVE_MASK 0x08000000
- #define USB_CTRL_MDIO 0x14
-@@ -176,6 +177,7 @@ static const struct id_to_type id_to_typ
- { 0x33900000, BRCM_FAMILY_3390A0 },
- { 0x72500010, BRCM_FAMILY_7250B0 },
- { 0x72600000, BRCM_FAMILY_7260A0 },
-+ { 0x72550000, BRCM_FAMILY_7260A0 },
- { 0x72680000, BRCM_FAMILY_7271A0 },
- { 0x72710000, BRCM_FAMILY_7271A0 },
- { 0x73640000, BRCM_FAMILY_7364A0 },
-@@ -948,6 +950,17 @@ void brcm_usb_init_eohci(struct brcm_usb
- if (params->selected_family == BRCM_FAMILY_7271A0)
- /* Enable LS keep alive fix for certain keyboards */
- USB_CTRL_SET(ctrl, OBRIDGE, LS_KEEP_ALIVE);
-+
-+ if (params->family_id == 0x72550000) {
-+ /*
-+ * Make the burst size 512 bytes to fix a hardware bug
-+ * on the 7255a0. See HW7255-24.
-+ */
-+ reg = brcmusb_readl(USB_CTRL_REG(ctrl, EBRIDGE));
-+ reg &= ~USB_CTRL_MASK(EBRIDGE, EBR_SCB_SIZE);
-+ reg |= 0x800;
-+ brcmusb_writel(reg, USB_CTRL_REG(ctrl, EBRIDGE));
-+ }
- }
-
- void brcm_usb_init_xhci(struct brcm_usb_init_params *params)