kernel: bump 6.6 to 6.6.54
authorJohn Audia <therealgraysky@proton.me>
Fri, 4 Oct 2024 19:39:07 +0000 (15:39 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Oct 2024 10:43:51 +0000 (12:43 +0200)
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.54

Removed upstreamed:
generic/backport-6.6/780-24-v6.12-r8169-disable-ALDPS-per-default-for-RTL8125.patch[1]
generic/pending-6.6/360-selftests-bpf-portability-of-unprivileged-tests.patch[2]

Manually rebased:
bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
bmips/patches-6.6/200-mips-bmips-automatically-detect-CPU-frequency.patch

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.54&id=50d062b6cc90c45a0de54e9bd9903c82777d66bf
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.54&id=103c0431c7fb4790affea121126840dbfb146341

Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16602
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
37 files changed:
include/kernel-6.6
target/linux/bcm27xx/patches-6.6/950-0028-drm-vc4_hdmi-Allow-hotplug-detect-to-be-forced.patch
target/linux/bcm27xx/patches-6.6/950-0029-vc4_hdmi-Avoid-log-spam-for-audio-start-failure.patch
target/linux/bcm27xx/patches-6.6/950-0035-drm-vc4-Calculate-bpc-based-on-max_requested_bpc.patch
target/linux/bcm27xx/patches-6.6/950-0037-drm-vc4-drop-unnecessary-and-harmful-HDMI-RGB-format.patch
target/linux/bcm27xx/patches-6.6/950-0038-drm-vc4-Limit-max_bpc-to-8-on-Pi0-3.patch
target/linux/bcm27xx/patches-6.6/950-0061-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch
target/linux/bcm27xx/patches-6.6/950-0076-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
target/linux/bcm27xx/patches-6.6/950-0468-drm-vc4-hdmi-Increase-MAI-fifo-dreq-threshold.patch
target/linux/bcm27xx/patches-6.6/950-0481-xhci-Use-more-event-ring-segment-table-entries.patch
target/linux/bcm27xx/patches-6.6/950-0482-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
target/linux/bcm27xx/patches-6.6/950-0483-usb-xhci-borrow-upstream-TRB_FETCH-quirk-on-VL805-ho.patch
target/linux/bcm27xx/patches-6.6/950-0484-usb-xhci-add-VLI_SS_BULK_OUT_BUG-quirk.patch
target/linux/bcm27xx/patches-6.6/950-0485-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch
target/linux/bcm27xx/patches-6.6/950-0578-drm-vc4-hdmi-Enable-the-audio-clock.patch
target/linux/bcm27xx/patches-6.6/950-0585-drm-vc4-Introduce-generation-number-enum.patch
target/linux/bcm27xx/patches-6.6/950-0601-drm-vc4-hvs-Remove-ABORT_ON_EMPTY-flag.patch
target/linux/bcm27xx/patches-6.6/950-0612-drm-vc4-hdmi-Add-support-for-BCM2712-HDMI-controller.patch
target/linux/bcm27xx/patches-6.6/950-0713-drm-vc4-crtc-Support-odd-horizontal-timings-on-BCM27.patch
target/linux/bcm27xx/patches-6.6/950-0831-vc4-hdmi-Update-MAI_THR-for-D0.patch
target/linux/bcm27xx/patches-6.6/950-0930-vc4-Add-jack-detection-to-HDMI-audio-driver.patch
target/linux/bcm27xx/patches-6.6/950-1049-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch
target/linux/bcm27xx/patches-6.6/950-1109-fix-Hsync-and-Vsync-polarity-can-t-change-from-negat.patch
target/linux/bcm27xx/patches-6.6/950-1117-drm-vc4-hdmi-Add-property-to-allow-manual-config-of-.patch
target/linux/bcm27xx/patches-6.6/950-1127-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch
target/linux/bcm27xx/patches-6.6/950-1199-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch
target/linux/bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
target/linux/generic/backport-6.6/780-08-v6.9-r8169-add-support-for-RTL8126A.patch
target/linux/generic/backport-6.6/780-22-v6.12-r8169-add-support-for-RTL8126A-rev.b.patch
target/linux/generic/backport-6.6/780-24-v6.12-r8169-disable-ALDPS-per-default-for-RTL8125.patch [deleted file]
target/linux/generic/backport-6.6/851-v6.8-bus-mhi-host-pci_generic-Add-SDX75-based-modem-suppo.patch
target/linux/generic/pending-6.6/360-selftests-bpf-portability-of-unprivileged-tests.patch [deleted file]
target/linux/generic/pending-6.6/701-netfilter-nf_tables-ignore-EOPNOTSUPP-on-flowtable-d.patch
target/linux/generic/pending-6.6/810-pci_disable_common_quirks.patch
target/linux/generic/pending-6.6/840-hwrng-bcm2835-set-quality-to-1000.patch
target/linux/starfive/patches-6.6/0109-usb-xhci-To-improve-performance-usb-using-lowmem-for.patch
target/linux/starfive/patches-6.6/0110-usb-xhci-using-dma_alloc_noncoherent-to-alloc-low-me.patch

index d096bfabd063f568fb73aeeb1c68570b0262162d..ee524ccdd65d435471ea45416d06551fb02304b4 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-6.6 = .53
-LINUX_KERNEL_HASH-6.6.53 = 285d181d1b252b0bf905f040d094215cf183ac98c31a17f9cce9f3537ef4d779
+LINUX_VERSION-6.6 = .54
+LINUX_KERNEL_HASH-6.6.54 = 5fae869d6a24055c16ffc2d92669e3fb2b258e34d36c850bb8cf9def417ecfa0
index bcef11a2f8a1a6a62da5ac3d0bee9051b40ad5ed..95b3ec7a248de5b3efe19dc60256920afa8a0606 100644 (file)
@@ -45,9 +45,9 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
  static const char * const output_format_str[] = {
        [VC4_HDMI_OUTPUT_RGB]           = "RGB",
        [VC4_HDMI_OUTPUT_YUV420]        = "YUV 4:2:0",
-@@ -472,7 +478,9 @@ static int vc4_hdmi_connector_detect_ctx
-       WARN_ON(pm_runtime_resume_and_get(&vc4_hdmi->pdev->dev));
+@@ -478,7 +484,9 @@ static int vc4_hdmi_connector_detect_ctx
+               return connector_status_unknown;
+       }
  
 -      if (vc4_hdmi->hpd_gpio) {
 +      if (force_hotplug & BIT(vc4_hdmi->encoder.type - VC4_ENCODER_TYPE_HDMI0))
index ab66e4f6e5aeccd3a7053031e4d495170669aa6e..0baf803edf8d5f6b151799b54382646f1ff60e41 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2394,7 +2394,7 @@ static int vc4_hdmi_audio_startup(struct
+@@ -2400,7 +2400,7 @@ static int vc4_hdmi_audio_startup(struct
        }
  
        if (!vc4_hdmi_audio_can_stream(vc4_hdmi)) {
index cdd85524389ab15b8d19cf91df353581f68d3c03..f0fb3eb7d47eeec65601a7d9d20a969dd9375c82 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Matthias Reichl <hias@horus.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2126,7 +2126,7 @@ vc4_hdmi_encoder_compute_config(const st
+@@ -2132,7 +2132,7 @@ vc4_hdmi_encoder_compute_config(const st
  {
        struct drm_device *dev = vc4_hdmi->connector.dev;
        struct drm_connector_state *conn_state = &vc4_state->base;
index b0b3080b7ffbc8f0e3637d57d4d8dd494b129169..b9fba16f695737c0119d99b3088277a830e412f2 100644 (file)
@@ -25,7 +25,7 @@ Signed-off-by: Matthias Reichl <hias@horus.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1952,9 +1952,6 @@ vc4_hdmi_sink_supports_format_bpc(const
+@@ -1958,9 +1958,6 @@ vc4_hdmi_sink_supports_format_bpc(const
        case VC4_HDMI_OUTPUT_RGB:
                drm_dbg(dev, "RGB Format, checking the constraints.\n");
  
index 96abd64f23f5509f871367f56dc964f6e853c230..2b86f419529670926609c1c503fa9d5b78fc4982 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -756,7 +756,6 @@ static int vc4_hdmi_connector_init(struc
+@@ -762,7 +762,6 @@ static int vc4_hdmi_connector_init(struc
  
        drm_connector_attach_colorspace_property(connector);
        drm_connector_attach_tv_margin_properties(connector);
@@ -21,7 +21,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        connector->polled = (DRM_CONNECTOR_POLL_CONNECT |
                             DRM_CONNECTOR_POLL_DISCONNECT);
-@@ -765,8 +764,12 @@ static int vc4_hdmi_connector_init(struc
+@@ -771,8 +770,12 @@ static int vc4_hdmi_connector_init(struc
        connector->doublescan_allowed = 0;
        connector->stereo_allowed = 1;
  
index cbaf6ac1e22f26fc6ca9d44b4c40800773506d9e..9470fb96943033cc61849aa2c3d0bb215463fff8 100644 (file)
@@ -14,7 +14,7 @@ We don't agree with upstream revert so undo it.
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -486,8 +486,10 @@ static void xhci_pci_quirks(struct devic
+@@ -489,8 +489,10 @@ static void xhci_pci_quirks(struct devic
                        pdev->device == 0x3432)
                xhci->quirks |= XHCI_BROKEN_STREAMS;
  
index dff9974049e49c4f0a08766baf7719df8927278a..ae55925535626d2f29ded031443f06fd170e4060 100644 (file)
@@ -10,7 +10,7 @@ Avoids the 0x40000 cycles of warmup again if firmware has already used it
 
 --- a/drivers/char/hw_random/bcm2835-rng.c
 +++ b/drivers/char/hw_random/bcm2835-rng.c
-@@ -105,8 +105,10 @@ static int bcm2835_rng_init(struct hwrng
+@@ -107,8 +107,10 @@ static int bcm2835_rng_init(struct hwrng
        }
  
        /* set warm-up count & enable */
index f618bbeb8d5b308a0886ea51684734d2e5ff2e7e..a0c1eba931041b142b9b618ce55bfc064c5c4fb7 100644 (file)
@@ -16,7 +16,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2521,6 +2521,7 @@ static int vc4_hdmi_audio_prepare(struct
+@@ -2527,6 +2527,7 @@ static int vc4_hdmi_audio_prepare(struct
  {
        struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev);
        struct drm_device *drm = vc4_hdmi->connector.dev;
@@ -24,7 +24,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
        struct drm_encoder *encoder = &vc4_hdmi->encoder.base;
        unsigned int sample_rate = params->sample_rate;
        unsigned int channels = params->channels;
-@@ -2579,11 +2580,18 @@ static int vc4_hdmi_audio_prepare(struct
+@@ -2585,11 +2586,18 @@ static int vc4_hdmi_audio_prepare(struct
                                             VC4_HDMI_AUDIO_PACKET_CEA_MASK);
  
        /* Set the MAI threshold */
index f9fa454aeb12875a26447a2d1a908648cd87cdb1..27a43828dd4698e3e15e537dc01a6dc65a1d95cd 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        erst_base = xhci_read_64(xhci, &ir->ir_set->erst_base);
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1680,8 +1680,9 @@ struct urb_priv {
+@@ -1681,8 +1681,9 @@ struct urb_priv {
   * Each segment table entry is 4*32bits long.  1K seems like an ok size:
   * (1K bytes * 8bytes/bit) / (4*32 bits) = 64 segment entries in the table,
   * meaning 64 ring segments.
index 65d04a01ee7a083799204a7e49998550fc27758b..948610d576365bebad14653df91080ab53e42647 100644 (file)
@@ -24,7 +24,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -489,6 +489,7 @@ static void xhci_pci_quirks(struct devic
+@@ -492,6 +492,7 @@ static void xhci_pci_quirks(struct devic
        if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) {
                xhci->quirks |= XHCI_LPM_SUPPORT;
                xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
@@ -52,9 +52,9 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        addr = xhci_trb_virt_to_dma(new_seg, new_deq);
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1915,6 +1915,9 @@ struct xhci_hcd {
- #define XHCI_ZHAOXIN_TRB_FETCH        BIT_ULL(45)
- #define XHCI_ZHAOXIN_HOST     BIT_ULL(46)
+@@ -1918,6 +1918,9 @@ struct xhci_hcd {
+ #define XHCI_WRITE_64_HI_LO   BIT_ULL(47)
+ #define XHCI_CDNS_SCTX_QUIRK  BIT_ULL(48)
  
 +/* Downstream VLI fixes */
 +#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56)
index fa7a10e31633c8dcd63896726afecfc9ad6cbcf8..db805590694682fb4a7e89d91c604f423fdf1417 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -490,6 +490,7 @@ static void xhci_pci_quirks(struct devic
+@@ -493,6 +493,7 @@ static void xhci_pci_quirks(struct devic
                xhci->quirks |= XHCI_LPM_SUPPORT;
                xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
                xhci->quirks |= XHCI_AVOID_DQ_ON_LINK;
index ef0ef47969349bc133f32e9c2723eb7df0f36579..9af7fc81764f0bdb6554d0bf5c5526c6f6158260 100644 (file)
@@ -90,7 +90,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        /* Allow 3 retries for everything but isoc, set CErr = 3 */
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -491,6 +491,7 @@ static void xhci_pci_quirks(struct devic
+@@ -494,6 +494,7 @@ static void xhci_pci_quirks(struct devic
                xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS;
                xhci->quirks |= XHCI_AVOID_DQ_ON_LINK;
                xhci->quirks |= XHCI_ZHAOXIN_TRB_FETCH;
@@ -100,7 +100,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1917,6 +1917,7 @@ struct xhci_hcd {
+@@ -1920,6 +1920,7 @@ struct xhci_hcd {
  
  /* Downstream VLI fixes */
  #define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56)
index e1846dc8f51da2bb1f02607a8e3a2874582ffdf5..45cf1b57255a8297c51692f5724f392b8ca9adfa 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
  /* Device for a quirk */
  #define PCI_VENDOR_ID_FRESCO_LOGIC    0x1b73
  #define PCI_DEVICE_ID_FRESCO_LOGIC_PDK        0x1000
-@@ -291,6 +293,16 @@ static int xhci_pci_reinit(struct xhci_h
+@@ -294,6 +296,16 @@ static int xhci_pci_reinit(struct xhci_h
        return 0;
  }
  
@@ -64,7 +64,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
  static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
  {
        struct pci_dev                  *pdev = to_pci_dev(dev);
-@@ -492,6 +504,8 @@ static void xhci_pci_quirks(struct devic
+@@ -495,6 +507,8 @@ static void xhci_pci_quirks(struct devic
                xhci->quirks |= XHCI_AVOID_DQ_ON_LINK;
                xhci->quirks |= XHCI_ZHAOXIN_TRB_FETCH;
                xhci->quirks |= XHCI_VLI_SS_BULK_OUT_BUG;
@@ -75,7 +75,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -3657,6 +3657,48 @@ static int xhci_align_td(struct xhci_hcd
+@@ -3671,6 +3671,48 @@ static int xhci_align_td(struct xhci_hcd
        return 1;
  }
  
@@ -124,7 +124,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
  /* This is very similar to what ehci-q.c qtd_fill() does */
  int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags,
                struct urb *urb, int slot_id, unsigned int ep_index)
-@@ -3813,6 +3855,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
+@@ -3827,6 +3869,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
        }
  
        check_trb_math(urb, enqd_len);
@@ -133,7 +133,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
                        start_cycle, start_trb);
        return 0;
-@@ -3948,6 +3992,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
+@@ -3962,6 +4006,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
                        /* Event on completion */
                        field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state);
  
@@ -144,7 +144,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        return 0;
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1918,6 +1918,7 @@ struct xhci_hcd {
+@@ -1921,6 +1921,7 @@ struct xhci_hcd {
  /* Downstream VLI fixes */
  #define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56)
  #define XHCI_VLI_SS_BULK_OUT_BUG      BIT_ULL(57)
index c7d6fed16e7e9954df678671336fe55d0a805406..79d040070f068d43ba075b3d08e9006d13358a49 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -3589,6 +3589,7 @@ static int vc4_hdmi_runtime_suspend(stru
+@@ -3595,6 +3595,7 @@ static int vc4_hdmi_runtime_suspend(stru
  {
        struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev);
  
@@ -26,7 +26,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        clk_disable_unprepare(vc4_hdmi->hsm_clock);
  
        return 0;
-@@ -3621,6 +3622,10 @@ static int vc4_hdmi_runtime_resume(struc
+@@ -3627,6 +3628,10 @@ static int vc4_hdmi_runtime_resume(struc
                goto err_disable_clk;
        }
  
index fe6ecf9293fe5726b0661113ff98ff2c51d2432b..ce5361905be915cf40812fd55b6f94412c42f541 100644 (file)
@@ -470,7 +470,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        switch (args->madv) {
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2580,7 +2580,7 @@ static int vc4_hdmi_audio_prepare(struct
+@@ -2586,7 +2586,7 @@ static int vc4_hdmi_audio_prepare(struct
                                             VC4_HDMI_AUDIO_PACKET_CEA_MASK);
  
        /* Set the MAI threshold */
index 2ed6d7400b63bfb1b793ad888195c39165e960f4..12a37f1d95a760403129cfa4d4b625df60579a7e 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1862,6 +1862,7 @@ static void vc4_hdmi_encoder_post_crtc_e
+@@ -1868,6 +1868,7 @@ static void vc4_hdmi_encoder_post_crtc_e
                   VC4_HD_VID_CTL_CLRRGB |
                   VC4_HD_VID_CTL_UNDERFLOW_ENABLE |
                   VC4_HD_VID_CTL_FRAME_COUNTER_RESET |
index d34ead0f5eb534d31adff790bc6ed7cb2394c72b..20b24b1c443e79b1abbb9fb24e797150b5aeb38a 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1102,6 +1102,7 @@ static void vc4_hdmi_encoder_post_crtc_d
+@@ -1108,6 +1108,7 @@ static void vc4_hdmi_encoder_post_crtc_d
  {
        struct vc4_hdmi *vc4_hdmi = encoder_to_vc4_hdmi(encoder);
        struct drm_device *drm = vc4_hdmi->connector.dev;
@@ -28,7 +28,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        unsigned long flags;
        int idx;
  
-@@ -1118,14 +1119,25 @@ static void vc4_hdmi_encoder_post_crtc_d
+@@ -1124,14 +1125,25 @@ static void vc4_hdmi_encoder_post_crtc_d
  
        HDMI_WRITE(HDMI_VID_CTL, HDMI_READ(HDMI_VID_CTL) | VC4_HD_VID_CTL_CLRRGB);
  
@@ -58,7 +58,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  
        vc4_hdmi_disable_scrambling(encoder);
  
-@@ -1753,7 +1765,6 @@ static void vc4_hdmi_encoder_pre_crtc_co
+@@ -1759,7 +1771,6 @@ static void vc4_hdmi_encoder_pre_crtc_co
                goto err_put_runtime_pm;
        }
  
@@ -66,7 +66,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        vc4_hdmi_cec_update_clk_div(vc4_hdmi);
  
        if (tmds_char_rate > 297000000)
-@@ -1858,6 +1869,7 @@ static void vc4_hdmi_encoder_post_crtc_e
+@@ -1864,6 +1875,7 @@ static void vc4_hdmi_encoder_post_crtc_e
        spin_lock_irqsave(&vc4_hdmi->hw_lock, flags);
  
        HDMI_WRITE(HDMI_VID_CTL,
@@ -74,7 +74,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
                   VC4_HD_VID_CTL_ENABLE |
                   VC4_HD_VID_CTL_CLRRGB |
                   VC4_HD_VID_CTL_UNDERFLOW_ENABLE |
-@@ -3751,7 +3763,9 @@ static int vc4_hdmi_bind(struct device *
+@@ -3757,7 +3769,9 @@ static int vc4_hdmi_bind(struct device *
                return ret;
  
        if ((of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi0") ||
@@ -85,7 +85,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
            HDMI_READ(HDMI_VID_CTL) & VC4_HD_VID_CTL_ENABLE) {
                clk_prepare_enable(vc4_hdmi->pixel_clock);
                clk_prepare_enable(vc4_hdmi->hsm_clock);
-@@ -3885,10 +3899,66 @@ static const struct vc4_hdmi_variant bcm
+@@ -3891,10 +3905,66 @@ static const struct vc4_hdmi_variant bcm
        .hp_detect              = vc5_hdmi_hp_detect,
  };
  
index be9fce689b3cca747b11ad04651efd9ced5fb296..26d2e50d03a0f39c8a0ee55cae1927830ae8e659 100644 (file)
@@ -75,7 +75,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
        },
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -3912,7 +3912,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -3918,7 +3918,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_2,
                PHY_LANE_CK,
        },
@@ -84,7 +84,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
        .external_irq_controller        = true,
  
        .init_resources         = vc5_hdmi_init_resources,
-@@ -3939,7 +3939,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -3945,7 +3945,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_2,
                PHY_LANE_CK,
        },
index c8d41311ada9c3dd8b7079ed5b2e30dd84d0b4e4..eaf2cb09516f38db4ca6d648d87e2b85c6ae7e67 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2597,7 +2597,13 @@ static int vc4_hdmi_audio_prepare(struct
+@@ -2603,7 +2603,13 @@ static int vc4_hdmi_audio_prepare(struct
                                             VC4_HDMI_AUDIO_PACKET_CEA_MASK);
  
        /* Set the MAI threshold */
index 465ae34ed7623bd3b793c2253ff9392e399cdf3c..325f0d61243743d94626b62f6243f0f56c0cfe6d 100644 (file)
@@ -58,7 +58,7 @@ Signed-off-by: David Turner <david.turner@raspberrypi.com>
        if (!edid)
                return;
  
-@@ -2691,8 +2705,23 @@ static int vc4_hdmi_audio_get_eld(struct
+@@ -2697,8 +2711,23 @@ static int vc4_hdmi_audio_get_eld(struct
        return 0;
  }
  
@@ -82,7 +82,7 @@ Signed-off-by: David Turner <david.turner@raspberrypi.com>
        .prepare = vc4_hdmi_audio_prepare,
        .audio_shutdown = vc4_hdmi_audio_shutdown,
        .audio_startup = vc4_hdmi_audio_startup,
-@@ -2712,6 +2741,22 @@ static void vc4_hdmi_audio_codec_release
+@@ -2718,6 +2747,22 @@ static void vc4_hdmi_audio_codec_release
        vc4_hdmi->audio.codec_pdev = NULL;
  }
  
@@ -105,7 +105,7 @@ Signed-off-by: David Turner <david.turner@raspberrypi.com>
  static int vc4_hdmi_audio_init(struct vc4_hdmi *vc4_hdmi)
  {
        const struct vc4_hdmi_register *mai_data =
-@@ -2841,6 +2886,8 @@ static int vc4_hdmi_audio_init(struct vc
+@@ -2847,6 +2892,8 @@ static int vc4_hdmi_audio_init(struct vc
        dai_link->codecs->name = dev_name(&codec_pdev->dev);
        dai_link->platforms->name = dev_name(dev);
  
@@ -114,7 +114,7 @@ Signed-off-by: David Turner <david.turner@raspberrypi.com>
        card->dai_link = dai_link;
        card->num_links = 1;
        card->name = vc4_hdmi->variant->card_name;
-@@ -3701,6 +3748,8 @@ static int vc4_hdmi_bind(struct device *
+@@ -3707,6 +3754,8 @@ static int vc4_hdmi_bind(struct device *
        if (ret)
                return ret;
  
@@ -123,7 +123,7 @@ Signed-off-by: David Turner <david.turner@raspberrypi.com>
        spin_lock_init(&vc4_hdmi->hw_lock);
        INIT_DELAYED_WORK(&vc4_hdmi->scrambling_work, vc4_hdmi_scrambling_wq);
  
-@@ -3813,8 +3862,16 @@ err_put_runtime_pm:
+@@ -3819,8 +3868,16 @@ err_put_runtime_pm:
        return ret;
  }
  
index 0aa56916b26efdc0222fe7e7da198abfac296d25..432268764346708fbe16234324bdfc8399cf180b 100644 (file)
@@ -31,7 +31,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2917,7 +2917,7 @@ static irqreturn_t vc4_hdmi_hpd_irq_thre
+@@ -2923,7 +2923,7 @@ static irqreturn_t vc4_hdmi_hpd_irq_thre
        struct drm_connector *connector = &vc4_hdmi->connector;
        struct drm_device *dev = connector->dev;
  
index c680279eabcff55d55efaf4d3b412a6d43f97282..a55f6bab529fc1e49940a99af2483847364cdae8 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Michiel Vanbiervliet <michiel.vanbiervliet@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1883,14 +1883,15 @@ static void vc4_hdmi_encoder_post_crtc_e
+@@ -1889,14 +1889,15 @@ static void vc4_hdmi_encoder_post_crtc_e
        spin_lock_irqsave(&vc4_hdmi->hw_lock, flags);
  
        HDMI_WRITE(HDMI_VID_CTL,
index e8d0224ab1a46fcfc6feae11b70f1b5741d88fd9..01437fa6d29f9c81a84b699bbdb92d5c42c37233 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -599,6 +599,7 @@ static int vc4_hdmi_connector_atomic_che
+@@ -605,6 +605,7 @@ static int vc4_hdmi_connector_atomic_che
  
        if (old_state->colorspace != new_state->colorspace ||
            old_vc4_state->broadcast_rgb != new_vc4_state->broadcast_rgb ||
@@ -28,7 +28,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
            !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) {
                struct drm_crtc_state *crtc_state;
  
-@@ -625,6 +626,8 @@ static int vc4_hdmi_connector_get_proper
+@@ -631,6 +632,8 @@ static int vc4_hdmi_connector_get_proper
  
        if (property == vc4_hdmi->broadcast_rgb_property) {
                *val = vc4_conn_state->broadcast_rgb;
@@ -37,7 +37,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        } else {
                drm_dbg(drm, "Unknown property [PROP:%d:%s]\n",
                        property->base.id, property->name);
-@@ -648,6 +651,9 @@ static int vc4_hdmi_connector_set_proper
+@@ -654,6 +657,9 @@ static int vc4_hdmi_connector_set_proper
        if (property == vc4_hdmi->broadcast_rgb_property) {
                vc4_conn_state->broadcast_rgb = val;
                return 0;
@@ -47,7 +47,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        }
  
        drm_dbg(drm, "Unknown property [PROP:%d:%s]\n",
-@@ -692,6 +698,7 @@ vc4_hdmi_connector_duplicate_state(struc
+@@ -698,6 +704,7 @@ vc4_hdmi_connector_duplicate_state(struc
        new_state->tmds_char_rate = vc4_state->tmds_char_rate;
        new_state->output_bpc = vc4_state->output_bpc;
        new_state->output_format = vc4_state->output_format;
@@ -55,7 +55,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        new_state->broadcast_rgb = vc4_state->broadcast_rgb;
        __drm_atomic_helper_connector_duplicate_state(connector, &new_state->base);
  
-@@ -740,6 +747,33 @@ vc4_hdmi_attach_broadcast_rgb_property(s
+@@ -746,6 +753,33 @@ vc4_hdmi_attach_broadcast_rgb_property(s
                                   VC4_HDMI_BROADCAST_RGB_AUTO);
  }
  
@@ -89,7 +89,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  static int vc4_hdmi_connector_init(struct drm_device *dev,
                                   struct vc4_hdmi *vc4_hdmi)
  {
-@@ -790,6 +824,7 @@ static int vc4_hdmi_connector_init(struc
+@@ -796,6 +830,7 @@ static int vc4_hdmi_connector_init(struc
        }
  
        vc4_hdmi_attach_broadcast_rgb_property(dev, vc4_hdmi);
@@ -97,7 +97,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        drm_connector_attach_encoder(connector, encoder);
  
-@@ -1960,6 +1995,10 @@ static void vc4_hdmi_encoder_atomic_mode
+@@ -1966,6 +2001,10 @@ static void vc4_hdmi_encoder_atomic_mode
                      &crtc_state->adjusted_mode);
        vc4_hdmi->output_bpc = vc4_state->output_bpc;
        vc4_hdmi->output_format = vc4_state->output_format;
@@ -108,7 +108,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        mutex_unlock(&vc4_hdmi->mutex);
  }
  
-@@ -2118,6 +2157,26 @@ vc4_hdmi_encoder_compute_format(const st
+@@ -2124,6 +2163,26 @@ vc4_hdmi_encoder_compute_format(const st
        const struct drm_display_info *info = &connector->display_info;
        unsigned int format;
  
index 119a90ae126b79dc29debca2361acec1af3f66c1..32b2afb68dae4cefd3b3ad7a2c1142ef3f3443d5 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2825,7 +2825,7 @@ static int vc4_hdmi_audio_init(struct vc
+@@ -2831,7 +2831,7 @@ static int vc4_hdmi_audio_init(struct vc
        struct snd_soc_card *card = &vc4_hdmi->audio.card;
        struct device *dev = &vc4_hdmi->pdev->dev;
        struct platform_device *codec_pdev;
@@ -22,7 +22,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
        int index, len;
        int ret;
  
-@@ -2861,22 +2861,18 @@ static int vc4_hdmi_audio_init(struct vc
+@@ -2867,22 +2867,18 @@ static int vc4_hdmi_audio_init(struct vc
        }
  
        /*
index 4c429e284d417a23225a56282ee1ca35ca00cd26..78806c2b155bd7864154eb1393707e2ae56fa7d5 100644 (file)
@@ -146,7 +146,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  };
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2263,7 +2263,9 @@ static int vc4_hdmi_encoder_atomic_check
+@@ -2269,7 +2269,9 @@ static int vc4_hdmi_encoder_atomic_check
        unsigned long long tmds_bit_rate;
        int ret;
  
@@ -157,7 +157,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
                if (mode->flags & DRM_MODE_FLAG_DBLCLK) {
                        /* Only try to fixup DBLCLK modes to get 480i and 576i
                         * working.
-@@ -3974,6 +3976,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -3980,6 +3982,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_CK,
        },
        .unsupported_odd_h_timings      = true,
@@ -165,7 +165,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        .external_irq_controller        = true,
  
        .init_resources         = vc5_hdmi_init_resources,
-@@ -4003,6 +4006,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -4009,6 +4012,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_2,
        },
        .unsupported_odd_h_timings      = true,
@@ -173,7 +173,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        .external_irq_controller        = true,
  
        .init_resources         = vc5_hdmi_init_resources,
-@@ -4032,6 +4036,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -4038,6 +4042,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_CK,
        },
        .unsupported_odd_h_timings      = false,
@@ -181,7 +181,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        .external_irq_controller        = true,
  
        .init_resources         = vc5_hdmi_init_resources,
-@@ -4059,6 +4064,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -4065,6 +4070,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_CK,
        },
        .unsupported_odd_h_timings      = false,
index eb6317a2d130a46859ccedb8dc276afab5b0654f..efcda986796d27dd232aceb836c59957c8abac64 100644 (file)
@@ -103,11 +103,11 @@ it on BCM4708 family.
        if (xhci->quirks & XHCI_NEC_HOST)
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1913,6 +1913,7 @@ struct xhci_hcd {
- #define XHCI_RESET_TO_DEFAULT BIT_ULL(44)
- #define XHCI_ZHAOXIN_TRB_FETCH        BIT_ULL(45)
+@@ -1916,6 +1916,7 @@ struct xhci_hcd {
  #define XHCI_ZHAOXIN_HOST     BIT_ULL(46)
-+#define XHCI_FAKE_DOORBELL     BIT_ULL(47)
+ #define XHCI_WRITE_64_HI_LO   BIT_ULL(47)
+ #define XHCI_CDNS_SCTX_QUIRK  BIT_ULL(48)
++#define XHCI_FAKE_DOORBELL    BIT_ULL(49)
  
        unsigned int            num_active_eps;
        unsigned int            limit_active_eps;
index 65aa5449ec60682b4bda67d6a957095af2018798..63f135e393539538774345f7b10b4bad3657a137 100644 (file)
@@ -332,7 +332,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        default:
 --- a/drivers/net/ethernet/realtek/r8169_phy_config.c
 +++ b/drivers/net/ethernet/realtek/r8169_phy_config.c
-@@ -1102,6 +1102,12 @@ static void rtl8125b_hw_phy_config(struc
+@@ -1104,6 +1104,12 @@ static void rtl8125b_hw_phy_config(struc
        rtl8125b_config_eee_phy(phydev);
  }
  
@@ -345,7 +345,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
                         enum mac_version ver)
  {
-@@ -1152,6 +1158,7 @@ void r8169_hw_phy_config(struct rtl8169_
+@@ -1154,6 +1160,7 @@ void r8169_hw_phy_config(struct rtl8169_
                [RTL_GIGA_MAC_VER_53] = rtl8117_hw_phy_config,
                [RTL_GIGA_MAC_VER_61] = rtl8125a_2_hw_phy_config,
                [RTL_GIGA_MAC_VER_63] = rtl8125b_hw_phy_config,
index a8ba1a57194f8c561f93be79bc72da27c9b8318a..d15edf85e1a3a812901294742631d4162461b0a3 100644 (file)
@@ -235,7 +235,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        default:
 --- a/drivers/net/ethernet/realtek/r8169_phy_config.c
 +++ b/drivers/net/ethernet/realtek/r8169_phy_config.c
-@@ -1159,6 +1159,7 @@ void r8169_hw_phy_config(struct rtl8169_
+@@ -1161,6 +1161,7 @@ void r8169_hw_phy_config(struct rtl8169_
                [RTL_GIGA_MAC_VER_61] = rtl8125a_2_hw_phy_config,
                [RTL_GIGA_MAC_VER_63] = rtl8125b_hw_phy_config,
                [RTL_GIGA_MAC_VER_65] = rtl8126a_hw_phy_config,
diff --git a/target/linux/generic/backport-6.6/780-24-v6.12-r8169-disable-ALDPS-per-default-for-RTL8125.patch b/target/linux/generic/backport-6.6/780-24-v6.12-r8169-disable-ALDPS-per-default-for-RTL8125.patch
deleted file mode 100644 (file)
index db37c48..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From b9c7ac4fe22c608acf6153a3329df2b6b6cd416c Mon Sep 17 00:00:00 2001
-From: Heiner Kallweit <hkallweit1@gmail.com>
-Date: Wed, 11 Sep 2024 15:51:11 +0200
-Subject: [PATCH 45/47] r8169: disable ALDPS per default for RTL8125
-
-En-Wei reported that traffic breaks if cable is unplugged for more
-than 3s and then re-plugged. This was supposed to be fixed by
-621735f59064 ("r8169: fix rare issue with broken rx after link-down on
-RTL8125"). But apparently this didn't fix the issue for everybody.
-The 3s threshold rang a bell, as this is the delay after which ALDPS
-kicks in. And indeed disabling ALDPS fixes the issue for this user.
-Maybe this fixes the issue in general. In a follow-up step we could
-remove the first fix attempt and see whether anybody complains.
-
-Fixes: f1bce4ad2f1c ("r8169: add support for RTL8125")
-Tested-by: En-Wei WU <en-wei.wu@canonical.com>
-Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
-Link: https://patch.msgid.link/778b9d86-05c4-4856-be59-cde4487b9e52@gmail.com
-Signed-off-by: Jakub Kicinski <kuba@kernel.org>
----
- drivers/net/ethernet/realtek/r8169_phy_config.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/net/ethernet/realtek/r8169_phy_config.c
-+++ b/drivers/net/ethernet/realtek/r8169_phy_config.c
-@@ -1060,6 +1060,7 @@ static void rtl8125a_2_hw_phy_config(str
-       phy_modify_paged(phydev, 0xa86, 0x15, 0x0001, 0x0000);
-       rtl8168g_enable_gphy_10m(phydev);
-+      rtl8168g_disable_aldps(phydev);
-       rtl8125a_config_eee_phy(phydev);
- }
-@@ -1099,6 +1100,7 @@ static void rtl8125b_hw_phy_config(struc
-       phy_modify_paged(phydev, 0xbf8, 0x12, 0xe000, 0xa000);
-       rtl8125_legacy_force_mode(phydev);
-+      rtl8168g_disable_aldps(phydev);
-       rtl8125b_config_eee_phy(phydev);
- }
index d0f7df5007e70b6bf38bb16e71b030ede97e842a..6a09e61974944a23fb148d1f39edcc7d7889920b 100644 (file)
@@ -51,8 +51,8 @@ Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  static const struct mhi_pci_dev_info mhi_qcom_sdx65_info = {
        .name = "qcom-sdx65m",
        .fw = "qcom/sdx65m/xbl.elf",
-@@ -600,6 +620,8 @@ static const struct pci_device_id mhi_pc
-               .driver_data = (kernel_ulong_t) &mhi_telit_fn990_info },
+@@ -609,6 +629,8 @@ static const struct pci_device_id mhi_pc
+               .driver_data = (kernel_ulong_t) &mhi_telit_fe990a_info },
        { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308),
                .driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
 +      { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309),
diff --git a/target/linux/generic/pending-6.6/360-selftests-bpf-portability-of-unprivileged-tests.patch b/target/linux/generic/pending-6.6/360-selftests-bpf-portability-of-unprivileged-tests.patch
deleted file mode 100644 (file)
index 0f28834..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From ecb8f9a7d69698ce20fc6f4d107718d56fa861df Mon Sep 17 00:00:00 2001
-From: Tony Ambardar <Tony.Ambardar@gmail.com>
-Date: Sat, 9 Mar 2024 16:44:53 -0800
-Subject: [PATCH] selftests/bpf: Improve portability of unprivileged tests
-
-The addition of general support for unprivileged tests in test_loader.c
-breaks building test_verifier on non-glibc (e.g. musl) systems, due to the
-inclusion of glibc extension '<error.h>' in 'unpriv_helpers.c'. However,
-the header is actually not needed, so remove it to restore building.
-
-Fixes: 1d56ade032a4 ("selftests/bpf: Unprivileged tests for test_loader.c")
-Signed-off-by: Tony Ambardar <Tony.Ambardar@gmail.com>
----
- tools/testing/selftests/bpf/unpriv_helpers.c | 1 -
- 1 file changed, 1 deletion(-)
-
---- a/tools/testing/selftests/bpf/unpriv_helpers.c
-+++ b/tools/testing/selftests/bpf/unpriv_helpers.c
-@@ -2,7 +2,6 @@
- #include <stdbool.h>
- #include <stdlib.h>
--#include <error.h>
- #include <stdio.h>
- #include "unpriv_helpers.h"
index be7405c1a2dbaf86590c122df7180946a139c040..2b9543da6de2dfd66138a3b63a8d070524498561 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -8327,7 +8327,7 @@ static int nft_register_flowtable_net_ho
+@@ -8333,7 +8333,7 @@ static int nft_register_flowtable_net_ho
                err = flowtable->data.type->setup(&flowtable->data,
                                                  hook->ops.dev,
                                                  FLOW_BLOCK_BIND);
index 9bdfcc748669786d9116aa8b53243e9232cce20a..e4c8caff22f35bd9c61aaa463c257308f4ec0305 100644 (file)
@@ -25,7 +25,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  
 --- a/drivers/pci/quirks.c
 +++ b/drivers/pci/quirks.c
-@@ -300,6 +300,7 @@ static void quirk_mmio_always_on(struct
+@@ -313,6 +313,7 @@ static void quirk_mmio_always_on(struct
  DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_ANY_ID, PCI_ANY_ID,
                                PCI_CLASS_BRIDGE_HOST, 8, quirk_mmio_always_on);
  
@@ -33,7 +33,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  /*
   * The Mellanox Tavor device gives false positive parity errors.  Disable
   * parity error reporting.
-@@ -3488,6 +3489,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
+@@ -3501,6 +3502,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65f9, quirk_intel_mc_errata);
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65fa, quirk_intel_mc_errata);
  
@@ -42,7 +42,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  /*
   * Ivytown NTB BAR sizes are misreported by the hardware due to an erratum.
   * To work around this, query the size it should be configured to by the
-@@ -3513,6 +3516,8 @@ static void quirk_intel_ntb(struct pci_d
+@@ -3526,6 +3529,8 @@ static void quirk_intel_ntb(struct pci_d
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0e08, quirk_intel_ntb);
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0e0d, quirk_intel_ntb);
  
@@ -51,7 +51,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  /*
   * Some BIOS implementations leave the Intel GPU interrupts enabled, even
   * though no one is handling them (e.g., if the i915 driver is never
-@@ -3551,6 +3556,8 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN
+@@ -3564,6 +3569,8 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN
  DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
  DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
  
index 3172ad5a167b0e2efbeaa0d55fdd69390ad8f8dd..3d3b034199814737dd155c2da1db457d8b998bc4 100644 (file)
@@ -16,7 +16,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
 
 --- a/drivers/char/hw_random/bcm2835-rng.c
 +++ b/drivers/char/hw_random/bcm2835-rng.c
-@@ -169,6 +169,7 @@ static int bcm2835_rng_probe(struct plat
+@@ -171,6 +171,7 @@ static int bcm2835_rng_probe(struct plat
        priv->rng.init = bcm2835_rng_init;
        priv->rng.read = bcm2835_rng_read;
        priv->rng.cleanup = bcm2835_rng_cleanup;
index 3f9499974cc7203b9c1406c4c586126cc5afd926..2554e73198784158220a5fe00de84f43dcae10fd 100644 (file)
@@ -72,7 +72,7 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
        if (xhci->dcbaa)
                dma_free_coherent(dev, sizeof(*xhci->dcbaa),
                                xhci->dcbaa, xhci->dcbaa->dma);
-@@ -2297,6 +2306,55 @@ xhci_add_interrupter(struct xhci_hcd *xh
+@@ -2300,6 +2309,55 @@ xhci_add_interrupter(struct xhci_hcd *xh
        return 0;
  }
  
@@ -128,7 +128,7 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
  int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)
  {
        dma_addr_t      dma;
-@@ -2433,6 +2491,12 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2436,6 +2494,12 @@ int xhci_mem_init(struct xhci_hcd *xhci,
  
        xhci->isoc_bei_interval = AVOID_BEI_INTERVAL_MAX;
  
@@ -160,7 +160,7 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
        }
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -3650,7 +3650,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
+@@ -3664,7 +3664,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
  
        full_len = urb->transfer_buffer_length;
        /* If we have scatter/gather list, we use it. */
@@ -263,7 +263,7 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
  /**
 --- a/drivers/usb/host/xhci.h
 +++ b/drivers/usb/host/xhci.h
-@@ -1763,6 +1763,13 @@ struct xhci_hub {
+@@ -1764,6 +1764,13 @@ struct xhci_hub {
        u8                      min_rev;
  };
  
@@ -277,16 +277,16 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
  /* There is one xhci_hcd structure per controller */
  struct xhci_hcd {
        struct usb_hcd *main_hcd;
-@@ -1914,6 +1921,8 @@ struct xhci_hcd {
- #define XHCI_ZHAOXIN_TRB_FETCH        BIT_ULL(45)
- #define XHCI_ZHAOXIN_HOST     BIT_ULL(46)
+@@ -1917,6 +1924,8 @@ struct xhci_hcd {
+ #define XHCI_WRITE_64_HI_LO   BIT_ULL(47)
+ #define XHCI_CDNS_SCTX_QUIRK  BIT_ULL(48)
  
 +#define XHCI_LOCAL_BUFFER     BIT_ULL(63)
 +
        unsigned int            num_active_eps;
        unsigned int            limit_active_eps;
        struct xhci_port        *hw_ports;
-@@ -1943,6 +1952,8 @@ struct xhci_hcd {
+@@ -1946,6 +1955,8 @@ struct xhci_hcd {
        struct list_head        regset_list;
  
        void                    *dbc;
index 739bc76e718fdb93c25f75790244444238df9db1..a9c03feecf684eca532f87a2add8516c03abf17c 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
                gen_pool_destroy(pool->pool);
                pool->pool = NULL;
        }
-@@ -2317,15 +2318,15 @@ int xhci_setup_local_lowmem(struct xhci_
+@@ -2320,15 +2321,15 @@ int xhci_setup_local_lowmem(struct xhci_
        if (!pool->pool) {
                /* minimal alloc one page */
                pool->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(hcd->self.sysdev));
@@ -48,7 +48,7 @@ Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
                goto destroy_pool;
        }
  
-@@ -2335,11 +2336,11 @@ int xhci_setup_local_lowmem(struct xhci_
+@@ -2338,11 +2339,11 @@ int xhci_setup_local_lowmem(struct xhci_
         * for it.
         */
        err = gen_pool_add_virt(pool->pool, (unsigned long)buffer,
@@ -62,7 +62,7 @@ Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
                goto destroy_pool;
        }
  
-@@ -2362,7 +2363,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2365,7 +2366,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
        unsigned int    val, val2;
        u64             val_64;
        u32             page_size, temp;
@@ -71,7 +71,7 @@ Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
  
        INIT_LIST_HEAD(&xhci->cmd_list);
  
-@@ -2492,9 +2493,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2495,9 +2496,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
        xhci->isoc_bei_interval = AVOID_BEI_INTERVAL_MAX;
  
        if (xhci->quirks & XHCI_LOCAL_BUFFER) {