Thunderbolt3 daisy chain sometimes doesn't work

Bug #1895606 reported by AceLan Kao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
AceLan Kao
Focal
Fix Released
Medium
AceLan Kao
Groovy
Fix Released
Undecided
AceLan Kao
linux-oem-5.6 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
AceLan Kao
linux-oem-osp1 (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
AceLan Kao

Bug Description

[Impact]
Plug-in thunderbolt external monitor, and then plug-in thunderbolt external Hard drive on the external monitor, it sometimes can't detect the TBT storage.

[Fix]
Retry tb_drom_read_n() when failed fixes this issue.

[Test]
Verified on Dell platform with ASUS PA27AC Thunderbolt 3, and HP P800 TBT storage.

[Regression Potential]
Low, it only add 100ms delay and retry once.

AceLan Kao (acelankao)
Changed in linux (Ubuntu Focal):
assignee: nobody → AceLan Kao (acelankao)
Changed in linux (Ubuntu Groovy):
assignee: nobody → AceLan Kao (acelankao)
Changed in linux (Ubuntu Focal):
status: New → In Progress
Changed in linux (Ubuntu Groovy):
status: New → In Progress
no longer affects: linux-oem-5.6 (Ubuntu Groovy)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: New → In Progress
assignee: nobody → AceLan Kao (acelankao)
Changed in linux-oem-5.6 (Ubuntu):
status: New → Invalid
AceLan Kao (acelankao)
description: updated
no longer affects: linux (Ubuntu Bionic)
no longer affects: linux-oem-5.6 (Ubuntu Bionic)
no longer affects: linux-oem-osp1 (Ubuntu Focal)
Changed in linux-oem-osp1 (Ubuntu):
status: New → Invalid
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: New → In Progress
assignee: nobody → AceLan Kao (acelankao)
Revision history for this message
AceLan Kao (acelankao) wrote :

commit f022ff7bf377ca94367be05de61277934d42ea74
Author: Mika Westerberg <email address hidden>
Date: Mon Sep 7 12:20:36 2020 +0300

    thunderbolt: Retry DROM read once if parsing fails

    Kai-Heng reported that sometimes DROM parsing of ASUS PA27AC Thunderbolt 3
    monitor fails. This makes the driver to fail to add the device so only
    DisplayPort tunneling is functional.

    It is not clear what exactly happens but waiting for 100 ms and retrying
    the read seems to work this around so we do that here.

    Link: https://bugzilla.kernel.org/show_bug.cgi?id=206493
    Reported-by: Kai-Heng Feng <email address hidden>
    Tested-by: Kai-Heng Feng <email address hidden>
    Cc: <email address hidden>
    Signed-off-by: Mika Westerberg <email address hidden>

tags: added: oem-priority originate-from-1855796 somerville
tags: added: originate-from-1851798
Changed in linux (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Stefan Bader (smb) wrote :

This patch has not actually been applied. Right now I see a v2 on the mailing list which is missing a second ack.

Changed in linux (Ubuntu Focal):
importance: Undecided → Medium
status: Fix Committed → Triaged
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
AceLan Kao (acelankao)
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (44.2 KiB)

This bug was fixed in the package linux - 5.8.0-20.21

---------------
linux (5.8.0-20.21) groovy; urgency=medium

  * groovy/linux: 5.8.0-20.21 -proposed tracker (LP: #1896668)

  * Lenovo ThinkBook 14-IML Touchpad not showing up in /proc/bus/input/devices
    (LP: #1853277)
    - i2c: core: Call i2c_acpi_install_space_handler() before
      i2c_acpi_register_devices()

  * Enable LTR for endpoints behind VMD (LP: #1896598)
    - SAUCE: PCI/ASPM: Enable LTR for endpoints behind VMD

  * Remove duplicated code in ip_defrag.sh of kselftests/net (LP: #1894062)
    - Revert "UBUNTU: SAUCE: selftests: net: ip_defrag: modprobe missing
      nf_defrag_ipv6 support"

  * [SRU] [Focal/OEM-5.6/Groovy]Fix AMD usb host controller lost after stress S3
    (LP: #1893914)
    - SAUCE: xhci: workaround for S3 issue on AMD SNPS 3.0 xHC

  * debian/rules editconfigs does not work on s390x to change s390x only configs
    (LP: #1863116)
    - [Packaging] kernelconfig -- only update/edit configurations on architectures
      we have compiler support

  * [Ubuntu 20.10] zPCI DMA tables and bitmap leak on hard unplug (PCI Event
    0x0304) (LP: #1896216)
    - s390/pci: fix leak of DMA tables on hard unplug

  * md: improve IO accounting (LP: #1891151)
    - md: improve io stats accounting

  * Groovy update: v5.8.10 upstream stable release (LP: #1896078)
    - ARM: OMAP2+: Fix an IS_ERR() vs NULL check in _get_pwrdm()
    - ARM: dts: logicpd-torpedo-baseboard: Fix broken audio
    - ARM: dts: logicpd-som-lv-baseboard: Fix broken audio
    - ARM: dts: logicpd-som-lv-baseboard: Fix missing video
    - regulator: push allocation in regulator_ena_gpio_request() out of lock
    - regulator: remove superfluous lock in regulator_resolve_coupling()
    - ARM: dts: socfpga: fix register entry for timer3 on Arria10
    - ARM: dts: omap5: Fix DSI base address and clocks
    - ARM: dts: ls1021a: fix QuadSPI-memory reg range
    - ARM: dts: imx7ulp: Correct gpio ranges
    - arm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build
    - ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy
    - RDMA/rtrs-srv: Replace device_register with device_initialize and device_add
    - RDMA/rxe: Fix memleak in rxe_mem_init_user
    - RDMA/rxe: Drop pointless checks in rxe_init_ports
    - RDMA/rxe: Fix panic when calling kmem_cache_create()
    - RDMA/bnxt_re: Do not report transparent vlan from QP1
    - RDMA/bnxt_re: Fix the qp table indexing
    - RDMA/bnxt_re: Static NQ depth allocation
    - RDMA/bnxt_re: Fix driver crash on unaligned PSN entry address
    - RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds
    - drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
    - arm64: dts: imx8mq: Fix TMU interrupt property
    - drm/sun4i: Fix dsi dcs long write function
    - scsi: qla2xxx: Fix regression on sparc64
    - scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA
    - drm/virtio: fix unblank
    - RDMA/core: Fix unsafe linked list traversal after failing to allocate CQ
    - RDMA/core: Fix reported speed and width
    - scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
    - scsi: mpt3sas: Don'...

Changed in linux (Ubuntu Groovy):
status: In Progress → Fix Released
Ian May (ian-may)
Changed in linux (Ubuntu Focal):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.3 KiB)

This bug was fixed in the package linux-oem-5.6 - 5.6.0-1031.32

---------------
linux-oem-5.6 (5.6.0-1031.32) focal; urgency=medium

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  * CVE-2020-16119
    - SAUCE: dccp: avoid double free of ccid on child socket

  * CVE-2020-16120
    - ovl: pass correct flags for opening real directory
    - ovl: switch to mounter creds in readdir
    - ovl: verify permissions in ovl_path_open()
    - ovl: call secutiry hook in ovl_real_ioctl()
    - ovl: check permission to open real file

linux-oem-5.6 (5.6.0-1030.30) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1030.30 -proposed tracker (LP: #1898714)

  * Fix broken e1000e device after S3 (LP: #1897755)
    - SAUCE: e1000e: Increase polling timeout on MDIC ready bit

  * Fix headset jack detection on Dell UFF desktops (LP: #1897508)
    - Revert "ALSA: hda: call runtime_allow() for all hda controllers"

  * [SRU][OEM-5.6]Fix AMD system hang after re-plugin USBC-DP dongle
    (LP: #1896716)
    - drm/amd/display: Move USB-C workaround to after parameter variables are set

  * alsa/hda: mic doesn't work on a HP AIO machine (LP: #1897694)
    - SAUCE: ALSA: hda/realtek - set mic to auto detect on a HP AIO machine

  * CVE-2020-26088
    - net/nfc/rawsock.c: add CAP_NET_RAW check.

  * HP Zbook Studio G7 boots into corrupted screen with PSR featured panel
    (LP: #1897501)
    - SAUCE: drm/i915/psr: allow overriding PSR disable param by quirk
    - SAUCE: drm/dp: add DP_QUIRK_FORCE_PSR_CHIP_DEFAULT quirk to CMN prod-ID
      19-15

linux-oem-5.6 (5.6.0-1029.29) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1029.29 -proposed tracker (LP: #1895982)

  * linux-libc-dev in proposed cause seccomp_bpf from seccomp in
    ubuntu_kernel_selftests to fail on F-oem-5.6 (LP: #1896008)
    - seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID

  * Enable LTR for endpoints behind VMD (LP: #1896598)
    - SAUCE: PCI/ASPM: Enable LTR for endpoints behind VMD

  * CVE-2020-14385
    - xfs: fix boundary test in xfs_attr_shortform_verify

  * Fix non-working NVMe after S3 (LP: #1895718)
    - SAUCE: PCI: Enable ACS quirk on CML root port

  * CVE-2020-12655
    - xfs: add agf freeblocks verify in xfs_agf_verify

  * Thunderbolt3 daisy chain sometimes doesn't work (LP: #1895606)
    - thunderbolt: Retry DROM read once if parsing fails

  * CVE-2020-12656
    - sunrpc: svcauth_gss_register_pseudoflavor must reject duplicate
      registrations.
    - sunrpc: clean up properly in gss_mech_unregister()

  * CVE-2020-15393
    - usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect

  * CVE-2020-12771
    - bcache: fix potential deadlock problem in btree_gc_coalesce

  * CVE-2020-15780
    - ACPI: configfs: Disallow loading ACPI tables when locked down

  * CVE-2020-16166
    - random32: update the net random state on interrupt and activity

  * Get the extended DPCD according to the related field in the DPCD registers.
    (LP: #1893752)
    - drm: move DP_MAX_DOWNSTREAM_PORTS from i915 to drm core
    - drm/i915/dp: Extract drm_dp_read_dpcd_caps()
    - SAUCE: drm/dp_mst: Retrieve extended DPCD caps for topology manager
...

Read more...

Changed in linux-oem-5.6 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (78.9 KiB)

This bug was fixed in the package linux - 5.4.0-56.62

---------------
linux (5.4.0-56.62) focal; urgency=medium

  * focal/linux: 5.4.0-56.62 -proposed tracker (LP: #1905300)

  * CVE-2020-4788
    - selftests/powerpc: rfi_flush: disable entry flush if present
    - powerpc/64s: flush L1D on kernel entry
    - powerpc/64s: flush L1D after user accesses
    - selftests/powerpc: entry flush test

linux (5.4.0-55.61) focal; urgency=medium

  * focal/linux: 5.4.0-55.61 -proposed tracker (LP: #1903175)

  * Update kernel packaging to support forward porting kernels (LP: #1902957)
    - [Debian] Update for leader included in BACKPORT_SUFFIX

  * Avoid double newline when running insertchanges (LP: #1903293)
    - [Packaging] insertchanges: avoid double newline

  * EFI: Fails when BootCurrent entry does not exist (LP: #1899993)
    - efivarfs: Replace invalid slashes with exclamation marks in dentries.

  * CVE-2020-14351
    - perf/core: Fix race in the perf_mmap_close() function

  * raid10: Block discard is very slow, causing severe delays for mkfs and
    fstrim operations (LP: #1896578)
    - md: add md_submit_discard_bio() for submitting discard bio
    - md/raid10: extend r10bio devs to raid disks
    - md/raid10: pull codes that wait for blocked dev into one function
    - md/raid10: improve raid10 discard request
    - md/raid10: improve discard request for far layout
    - dm raid: fix discard limits for raid1 and raid10
    - dm raid: remove unnecessary discard limits for raid10

  * Bionic: btrfs: kernel BUG at /build/linux-
    eTBZpZ/linux-4.15.0/fs/btrfs/ctree.c:3233! (LP: #1902254)
    - btrfs: drop unnecessary offset_in_page in extent buffer helpers
    - btrfs: extent_io: do extra check for extent buffer read write functions
    - btrfs: extent-tree: kill BUG_ON() in __btrfs_free_extent()
    - btrfs: extent-tree: kill the BUG_ON() in insert_inline_extent_backref()
    - btrfs: ctree: check key order before merging tree blocks

  * Ethernet no link lights after reboot (Intel i225-v 2.5G) (LP: #1902578)
    - igc: Add PHY power management control

  * Undetected Data corruption in MPI workloads that use VSX for reductions on
    POWER9 DD2.1 systems (LP: #1902694)
    - powerpc: Fix undetected data corruption with P9N DD2.1 VSX CI load emulation
    - selftests/powerpc: Make alignment handler test P9N DD2.1 vector CI load
      workaround

  * [20.04 FEAT] Support/enhancement of NVMe IPL (LP: #1902179)
    - s390: nvme ipl
    - s390: nvme reipl
    - s390/ipl: support NVMe IPL kernel parameters

  * uvcvideo: add mapping for HEVC payloads (LP: #1895803)
    - media: uvcvideo: Add mapping for HEVC payloads

  * Focal update: v5.4.73 upstream stable release (LP: #1902115)
    - ibmveth: Switch order of ibmveth_helper calls.
    - ibmveth: Identify ingress large send packets.
    - ipv4: Restore flowi4_oif update before call to xfrm_lookup_route
    - mlx4: handle non-napi callers to napi_poll
    - net: fec: Fix phy_device lookup for phy_reset_after_clk_enable()
    - net: fec: Fix PHY init after phy_reset_after_clk_enable()
    - net: fix pos incrementment in ipv6_route_seq_next
    - net/smc: fix valid DMBE buffer sizes
    - net...

Changed in linux (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: New → Fix Released
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.