Skip to content

Commit b0fc847

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: kernel: bump 5.10 to 5.10.153 (coolsnowwolf#10377) kernel: bump 5.4 to 5.4.223 (coolsnowwolf#10376) generic: add DUAL_READ flag to EON EN25Q128 (coolsnowwolf#10368) netsupport.mk: add MultiPath TCP modules (coolsnowwolf#10358) kernel: bump 5.15 to 5.15.77 (coolsnowwolf#10369)
2 parents 6f8572e + 6d2ba00 commit b0fc847

File tree

187 files changed

+534
-1271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+534
-1271
lines changed

include/kernel-5.10

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.10 = .152
2-
LINUX_KERNEL_HASH-5.10.152 = fa0b5c83a4ebfda9f0a52cc693646eb6c24dbade6c37ee2d18b66ee2df15d8a6
1+
LINUX_VERSION-5.10 = .153
2+
LINUX_KERNEL_HASH-5.10.153 = 3cf2e4519fe451caef0ee0a8beac694612267325f7055fc38d6a990a762f1662

include/kernel-5.15

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.15 = .76
2-
LINUX_KERNEL_HASH-5.15.76 = 9007a020c419e3625b980e361be09f70ebd99e156ccb66129a981483d065d57f
1+
LINUX_VERSION-5.15 = .77
2+
LINUX_KERNEL_HASH-5.15.77 = 142f841f33796a84c62fae2f2b96d2120bd8bbf9e0aac4ce157692cdb0afe9f9

include/kernel-5.4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.4 = .222
2-
LINUX_KERNEL_HASH-5.4.222 = 351af7a7ee11544e605d9d97add1421576d69459762d9a704f243db7d1c0324b
1+
LINUX_VERSION-5.4 = .223
2+
LINUX_KERNEL_HASH-5.4.223 = 9ef07f12df6887f196e2e21c197f26854859e6b586aa4bfdd4798f562a717eeb

package/kernel/linux/modules/netsupport.mk

+46
Original file line numberDiff line numberDiff line change
@@ -1392,3 +1392,49 @@ define KernelPackage/qrtr-mhi/description
13921392
endef
13931393

13941394
$(eval $(call KernelPackage,qrtr-mhi))
1395+
1396+
1397+
define KernelPackage/mptcp
1398+
SUBMENU:=$(NETWORK_SUPPORT_MENU)
1399+
TITLE:=MultiPath TCP support
1400+
1401+
AUTOLOAD:=$(call AutoProbe,mptcp)
1402+
endef
1403+
1404+
define KernelPackage/mptcp/description
1405+
MPTCP is a module made for MultiPath TCP support
1406+
endef
1407+
1408+
$(eval $(call KernelPackage,mptcp))
1409+
1410+
1411+
define KernelPackage/mptcp_ipv6
1412+
SUBMENU:=$(NETWORK_SUPPORT_MENU)
1413+
TITLE:=MultiPath TCP IPv6 support
1414+
DEPENDS:=@IPV6 +kmod-mptcp
1415+
1416+
AUTOLOAD:=$(call AutoProbe,mptcp_ipv6)
1417+
endef
1418+
1419+
define KernelPackage/mptcp_ipv6/description
1420+
MPTCP_IPV6 is a module made for MultiPath TCP IPv6 support
1421+
endef
1422+
1423+
$(eval $(call KernelPackage,mptcp_ipv6))
1424+
1425+
1426+
define KernelPackage/inet-mptcp-diag
1427+
SUBMENU:=$(NETWORK_SUPPORT_MENU)
1428+
TITLE:=INET diag support for MultiPath TCP
1429+
DEPENDS:=kmod-mptcp +kmod-inet-diag
1430+
1431+
FILES:= $(LINUX_DIR)/net/mptcp/[email protected]
1432+
AUTOLOAD:=$(call AutoProbe,mptcp_diag)
1433+
endef
1434+
1435+
define KernelPackage/inet-mptcp-diag/description
1436+
Support for INET (MultiPath TCP) socket monitoring interface used by
1437+
native Linux tools such as ss.
1438+
endef
1439+
1440+
$(eval $(call KernelPackage,inet-mptcp-diag))

target/linux/apm821xx/patches-5.10/802-usb-xhci-force-msi-renesas-xhci.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ produce a noisy warning.
1313

1414
--- a/drivers/usb/host/xhci-pci.c
1515
+++ b/drivers/usb/host/xhci-pci.c
16-
@@ -287,6 +287,7 @@ static void xhci_pci_quirks(struct devic
16+
@@ -291,6 +291,7 @@ static void xhci_pci_quirks(struct devic
1717
pdev->device == 0x0015) {
1818
xhci->quirks |= XHCI_RESET_ON_RESUME;
1919
xhci->quirks |= XHCI_ZERO_64B_REGS;
@@ -43,7 +43,7 @@ produce a noisy warning.
4343
hcd->msi_enabled = 1;
4444
--- a/drivers/usb/host/xhci.h
4545
+++ b/drivers/usb/host/xhci.h
46-
@@ -1896,6 +1896,7 @@ struct xhci_hcd {
46+
@@ -1897,6 +1897,7 @@ struct xhci_hcd {
4747
struct xhci_hub usb2_rhub;
4848
struct xhci_hub usb3_rhub;
4949
/* support xHCI 1.0 spec USB2 hardware LPM */

target/linux/apm821xx/patches-5.4/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Signed-off-by: Vinod Koul <[email protected]>
9393
static const char hcd_name[] = "xhci_hcd";
9494

9595
static struct hc_driver __read_mostly xhci_pci_hc_driver;
96-
@@ -334,6 +374,873 @@ static void xhci_pme_acpi_rtd3_enable(st
96+
@@ -340,6 +380,873 @@ static void xhci_pme_acpi_rtd3_enable(st
9797
static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
9898
#endif /* CONFIG_ACPI */
9999

@@ -967,7 +967,7 @@ Signed-off-by: Vinod Koul <[email protected]>
967967
/* called during probe() after chip reset completes */
968968
static int xhci_pci_setup(struct usb_hcd *hcd)
969969
{
970-
@@ -375,6 +1282,27 @@ static int xhci_pci_probe(struct pci_dev
970+
@@ -381,6 +1288,27 @@ static int xhci_pci_probe(struct pci_dev
971971
struct hc_driver *driver;
972972
struct usb_hcd *hcd;
973973

@@ -995,7 +995,7 @@ Signed-off-by: Vinod Koul <[email protected]>
995995
driver = (struct hc_driver *)id->driver_data;
996996

997997
/* Prevent runtime suspending between USB-2 and USB-3 initialization */
998-
@@ -436,6 +1364,16 @@ static void xhci_pci_remove(struct pci_d
998+
@@ -442,6 +1370,16 @@ static void xhci_pci_remove(struct pci_d
999999
{
10001000
struct xhci_hcd *xhci;
10011001

@@ -1012,7 +1012,7 @@ Signed-off-by: Vinod Koul <[email protected]>
10121012
xhci = hcd_to_xhci(pci_get_drvdata(dev));
10131013
xhci->xhc_state |= XHCI_STATE_REMOVING;
10141014

1015-
@@ -575,6 +1513,11 @@ static int xhci_pci_resume(struct usb_hc
1015+
@@ -581,6 +1519,11 @@ static int xhci_pci_resume(struct usb_hc
10161016
if (pdev->vendor == PCI_VENDOR_ID_INTEL)
10171017
usb_enable_intel_xhci_ports(pdev);
10181018

target/linux/ath79/patches-5.10/910-unaligned_access_hacks.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
EXPORT_SYMBOL(xfrm_parse_spi);
707707
--- a/net/ipv4/tcp_input.c
708708
+++ b/net/ipv4/tcp_input.c
709-
@@ -4127,14 +4127,16 @@ static bool tcp_parse_aligned_timestamp(
709+
@@ -4128,14 +4128,16 @@ static bool tcp_parse_aligned_timestamp(
710710
{
711711
const __be32 *ptr = (const __be32 *)(th + 1);
712712

target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
EXPORT_SYMBOL(xfrm_parse_spi);
707707
--- a/net/ipv4/tcp_input.c
708708
+++ b/net/ipv4/tcp_input.c
709-
@@ -4151,14 +4151,16 @@ static bool tcp_parse_aligned_timestamp(
709+
@@ -4152,14 +4152,16 @@ static bool tcp_parse_aligned_timestamp(
710710
{
711711
const __be32 *ptr = (const __be32 *)(th + 1);
712712

target/linux/ath79/patches-5.4/910-unaligned_access_hacks.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
EXPORT_SYMBOL(xfrm_parse_spi);
707707
--- a/net/ipv4/tcp_input.c
708708
+++ b/net/ipv4/tcp_input.c
709-
@@ -3997,14 +3997,16 @@ static bool tcp_parse_aligned_timestamp(
709+
@@ -3998,14 +3998,16 @@ static bool tcp_parse_aligned_timestamp(
710710
{
711711
const __be32 *ptr = (const __be32 *)(th + 1);
712712

target/linux/bcm27xx/patches-5.15/950-0070-MMC-added-alternative-MMC-driver.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ bcm2835-mmc: uninitialized_var is no more
230230

231231
--- a/drivers/mmc/core/block.c
232232
+++ b/drivers/mmc/core/block.c
233-
@@ -171,6 +171,13 @@ static DEFINE_MUTEX(open_lock);
233+
@@ -172,6 +172,13 @@ static DEFINE_MUTEX(open_lock);
234234
module_param(perdev_minors, int, 0444);
235235
MODULE_PARM_DESC(perdev_minors, "Minors numbers to allocate per device");
236236

@@ -244,7 +244,7 @@ bcm2835-mmc: uninitialized_var is no more
244244
static inline int mmc_blk_part_switch(struct mmc_card *card,
245245
unsigned int part_type);
246246
static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
247-
@@ -2928,6 +2935,8 @@ static int mmc_blk_probe(struct mmc_card
247+
@@ -2936,6 +2943,8 @@ static int mmc_blk_probe(struct mmc_card
248248
{
249249
struct mmc_blk_data *md;
250250
int ret = 0;
@@ -253,7 +253,7 @@ bcm2835-mmc: uninitialized_var is no more
253253

254254
/*
255255
* Check that the card supports the command class(es) we need.
256-
@@ -2935,7 +2944,16 @@ static int mmc_blk_probe(struct mmc_card
256+
@@ -2943,7 +2952,16 @@ static int mmc_blk_probe(struct mmc_card
257257
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
258258
return -ENODEV;
259259

@@ -271,7 +271,7 @@ bcm2835-mmc: uninitialized_var is no more
271271

272272
card->complete_wq = alloc_workqueue("mmc_complete",
273273
WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
274-
@@ -2950,6 +2968,17 @@ static int mmc_blk_probe(struct mmc_card
274+
@@ -2958,6 +2976,17 @@ static int mmc_blk_probe(struct mmc_card
275275
goto out_free;
276276
}
277277

target/linux/bcm27xx/patches-5.15/950-0152-xhci-implement-xhci_fixup_endpoint-for-interval-adju.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
1515

1616
--- a/drivers/usb/host/xhci.c
1717
+++ b/drivers/usb/host/xhci.c
18-
@@ -1612,6 +1612,109 @@ command_cleanup:
18+
@@ -1618,6 +1618,109 @@ command_cleanup:
1919
}
2020

2121
/*
@@ -125,7 +125,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
125125
* non-error returns are a promise to giveback() the urb later
126126
* we drop ownership so next owner (or urb unlink) can get it
127127
*/
128-
@@ -5437,6 +5540,7 @@ static const struct hc_driver xhci_hc_dr
128+
@@ -5443,6 +5546,7 @@ static const struct hc_driver xhci_hc_dr
129129
.endpoint_reset = xhci_endpoint_reset,
130130
.check_bandwidth = xhci_check_bandwidth,
131131
.reset_bandwidth = xhci_reset_bandwidth,

target/linux/bcm27xx/patches-5.15/950-0166-xhci-Use-more-event-ring-segment-table-entries.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
2222

2323
--- a/drivers/usb/host/xhci-mem.c
2424
+++ b/drivers/usb/host/xhci-mem.c
25-
@@ -2516,9 +2516,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
25+
@@ -2520,9 +2520,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
2626
* Event ring setup: Allocate a normal ring, but also setup
2727
* the event ring segment table (ERST). Section 4.9.3.
2828
*/
@@ -36,7 +36,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
3636
if (!xhci->event_ring)
3737
goto fail;
3838
if (xhci_check_trb_in_td_math(xhci) < 0)
39-
@@ -2531,7 +2533,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
39+
@@ -2535,7 +2537,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
4040
/* set ERST count with the number of entries in the segment table */
4141
val = readl(&xhci->ir_set->erst_size);
4242
val &= ERST_SIZE_MASK;

target/linux/bcm27xx/patches-5.15/950-0464-videodev2.h-add-V4L2_CTRL_FLAG_DYNAMIC_ARRAY.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Signed-off-by: Hans Verkuil <[email protected]>
4242
============
4343
--- a/include/uapi/linux/videodev2.h
4444
+++ b/include/uapi/linux/videodev2.h
45-
@@ -1882,6 +1882,7 @@ struct v4l2_querymenu {
45+
@@ -1883,6 +1883,7 @@ struct v4l2_querymenu {
4646
#define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100
4747
#define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200
4848
#define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0x0400

target/linux/bcm27xx/patches-5.15/950-0600-xhci-quirks-add-link-TRB-quirk-for-VL805.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
2222

2323
--- a/drivers/usb/host/xhci-pci.c
2424
+++ b/drivers/usb/host/xhci-pci.c
25-
@@ -304,6 +304,7 @@ static void xhci_pci_quirks(struct devic
25+
@@ -291,6 +291,7 @@ static void xhci_pci_quirks(struct devic
2626
if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) {
2727
xhci->quirks |= XHCI_LPM_SUPPORT;
2828
xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
@@ -50,11 +50,11 @@ Signed-off-by: Jonathan Bell <[email protected]>
5050
addr = xhci_trb_virt_to_dma(new_seg, new_deq);
5151
--- a/drivers/usb/host/xhci.h
5252
+++ b/drivers/usb/host/xhci.h
53-
@@ -1904,6 +1904,7 @@ struct xhci_hcd {
54-
#define XHCI_BROKEN_D3COLD BIT_ULL(41)
53+
@@ -1905,6 +1905,7 @@ struct xhci_hcd {
5554
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
5655
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
57-
+#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(44)
56+
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
57+
+#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(45)
5858

5959
unsigned int num_active_eps;
6060
unsigned int limit_active_eps;

target/linux/bcm27xx/patches-5.15/950-0605-xhci-refactor-out-TRBS_PER_SEGMENT-define-in-runtime.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
145145
if (ret)
146146
return -ENOMEM;
147147

148-
@@ -1816,7 +1820,7 @@ int xhci_alloc_erst(struct xhci_hcd *xhc
148+
@@ -1820,7 +1824,7 @@ int xhci_alloc_erst(struct xhci_hcd *xhc
149149
for (val = 0; val < evt_ring->num_segs; val++) {
150150
entry = &erst->entries[val];
151151
entry->seg_addr = cpu_to_le64(seg->dma);
@@ -226,7 +226,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
226226
}
227227
--- a/drivers/usb/host/xhci.c
228228
+++ b/drivers/usb/host/xhci.c
229-
@@ -870,8 +870,8 @@ static void xhci_clear_command_ring(stru
229+
@@ -876,8 +876,8 @@ static void xhci_clear_command_ring(stru
230230
seg = ring->deq_seg;
231231
do {
232232
memset(seg->trbs, 0,
@@ -237,7 +237,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
237237
cpu_to_le32(~TRB_CYCLE);
238238
seg = seg->next;
239239
} while (seg != ring->deq_seg);
240-
@@ -882,7 +882,7 @@ static void xhci_clear_command_ring(stru
240+
@@ -888,7 +888,7 @@ static void xhci_clear_command_ring(stru
241241
ring->enq_seg = ring->deq_seg;
242242
ring->enqueue = ring->dequeue;
243243

target/linux/bcm27xx/patches-5.15/950-0606-usb-xhci-add-VLI_TRB_CACHE_BUG-quirk.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
5353
cycle_state, type, max_packet, flags);
5454
--- a/drivers/usb/host/xhci-pci.c
5555
+++ b/drivers/usb/host/xhci-pci.c
56-
@@ -305,6 +305,7 @@ static void xhci_pci_quirks(struct devic
56+
@@ -292,6 +292,7 @@ static void xhci_pci_quirks(struct devic
5757
xhci->quirks |= XHCI_LPM_SUPPORT;
5858
xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
5959
xhci->quirks |= XHCI_AVOID_DQ_ON_LINK;
@@ -63,11 +63,11 @@ Signed-off-by: Jonathan Bell <[email protected]>
6363
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
6464
--- a/drivers/usb/host/xhci.h
6565
+++ b/drivers/usb/host/xhci.h
66-
@@ -1906,6 +1906,7 @@ struct xhci_hcd {
67-
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
66+
@@ -1907,6 +1907,7 @@ struct xhci_hcd {
6867
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
69-
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(44)
70-
+#define XHCI_VLI_TRB_CACHE_BUG BIT_ULL(45)
68+
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
69+
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(45)
70+
+#define XHCI_VLI_TRB_CACHE_BUG BIT_ULL(46)
7171

7272
unsigned int num_active_eps;
7373
unsigned int limit_active_eps;

target/linux/bcm27xx/patches-5.15/950-0717-usb-xhci-add-a-quirk-for-Superspeed-bulk-OUT-transfe.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
2626

2727
--- a/drivers/usb/host/xhci-pci.c
2828
+++ b/drivers/usb/host/xhci-pci.c
29-
@@ -306,6 +306,7 @@ static void xhci_pci_quirks(struct devic
29+
@@ -293,6 +293,7 @@ static void xhci_pci_quirks(struct devic
3030
xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
3131
xhci->quirks |= XHCI_AVOID_DQ_ON_LINK;
3232
xhci->quirks |= XHCI_VLI_TRB_CACHE_BUG;
@@ -86,11 +86,11 @@ Signed-off-by: Jonathan Bell <[email protected]>
8686
first_trb = false;
8787
--- a/drivers/usb/host/xhci.h
8888
+++ b/drivers/usb/host/xhci.h
89-
@@ -1907,6 +1907,7 @@ struct xhci_hcd {
90-
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
91-
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(44)
92-
#define XHCI_VLI_TRB_CACHE_BUG BIT_ULL(45)
93-
+#define XHCI_VLI_SS_BULK_OUT_BUG BIT_ULL(46)
89+
@@ -1908,6 +1908,7 @@ struct xhci_hcd {
90+
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
91+
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(45)
92+
#define XHCI_VLI_TRB_CACHE_BUG BIT_ULL(46)
93+
+#define XHCI_VLI_SS_BULK_OUT_BUG BIT_ULL(47)
9494

9595
unsigned int num_active_eps;
9696
unsigned int limit_active_eps;

target/linux/bcm27xx/patches-5.15/950-0914-mmc-block-Don-t-do-single-sector-reads-during-recove.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
2323

2424
--- a/drivers/mmc/core/block.c
2525
+++ b/drivers/mmc/core/block.c
26-
@@ -1875,7 +1875,11 @@ static void mmc_blk_mq_rw_recovery(struc
26+
@@ -1883,7 +1883,11 @@ static void mmc_blk_mq_rw_recovery(struc
2727
return;
2828
}
2929

target/linux/bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ it on BCM4708 family.
127127
/*
128128
--- a/drivers/usb/host/xhci.h
129129
+++ b/drivers/usb/host/xhci.h
130-
@@ -1889,6 +1889,7 @@ struct xhci_hcd {
131-
#define XHCI_NO_SOFT_RETRY BIT_ULL(40)
130+
@@ -1890,6 +1890,7 @@ struct xhci_hcd {
132131
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
133132
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
134-
+#define XHCI_FAKE_DOORBELL BIT_ULL(44)
133+
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
134+
+#define XHCI_FAKE_DOORBELL BIT_ULL(45)
135135

136136
unsigned int num_active_eps;
137137
unsigned int limit_active_eps;

target/linux/bcm53xx/patches-5.15/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ it on BCM4708 family.
127127
/*
128128
--- a/drivers/usb/host/xhci.h
129129
+++ b/drivers/usb/host/xhci.h
130-
@@ -1904,6 +1904,7 @@ struct xhci_hcd {
131-
#define XHCI_BROKEN_D3COLD BIT_ULL(41)
130+
@@ -1905,6 +1905,7 @@ struct xhci_hcd {
132131
#define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42)
133132
#define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43)
134-
+#define XHCI_FAKE_DOORBELL BIT_ULL(44)
133+
#define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
134+
+#define XHCI_FAKE_DOORBELL BIT_ULL(45)
135135

136136
unsigned int num_active_eps;
137137
unsigned int limit_active_eps;

target/linux/generic/backport-5.15/850-v5.17-0007-PCI-aardvark-Mask-all-interrupts-when-unbinding-driv.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
1818

1919
--- a/drivers/pci/controller/pci-aardvark.c
2020
+++ b/drivers/pci/controller/pci-aardvark.c
21-
@@ -1889,6 +1889,27 @@ static int advk_pcie_remove(struct platf
21+
@@ -1887,6 +1887,27 @@ static int advk_pcie_remove(struct platf
2222
advk_writel(pcie, PCIE_ISR1_ALL_MASK, PCIE_ISR1_REG);
2323
advk_writel(pcie, PCIE_IRQ_ALL_MASK, HOST_CTRL_INT_STATUS_REG);
2424

target/linux/generic/backport-5.15/850-v5.17-0008-PCI-aardvark-Fix-memory-leak-in-driver-unbind.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
2121

2222
--- a/drivers/pci/controller/pci-aardvark.c
2323
+++ b/drivers/pci/controller/pci-aardvark.c
24-
@@ -1927,6 +1927,9 @@ static int advk_pcie_remove(struct platf
24+
@@ -1925,6 +1925,9 @@ static int advk_pcie_remove(struct platf
2525
val &= ~LINK_TRAINING_EN;
2626
advk_writel(pcie, val, PCIE_CORE_CTRL0_REG);
2727

target/linux/generic/backport-5.15/850-v5.17-0009-PCI-aardvark-Assert-PERST-when-unbinding-driver.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
2020

2121
--- a/drivers/pci/controller/pci-aardvark.c
2222
+++ b/drivers/pci/controller/pci-aardvark.c
23-
@@ -1930,6 +1930,10 @@ static int advk_pcie_remove(struct platf
23+
@@ -1928,6 +1928,10 @@ static int advk_pcie_remove(struct platf
2424
/* Free config space for emulated root bridge */
2525
pci_bridge_emul_cleanup(&pcie->bridge);
2626

0 commit comments

Comments
 (0)