thunderbolt: Reduce retry timeout to speed up boot for some devices
authorWerner Sembach <wse@tuxedocomputers.com>
Wed, 20 Dec 2023 15:09:56 +0000 (16:09 +0100)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 22 Dec 2023 11:00:26 +0000 (13:00 +0200)
commit04b99eac389adc6485f7913d83ec9ed68bbc8326
tree09c70f0dd03fc430201dae5326730a6c08e78921
parentba2a2a86de04e67bb1d7f8251894eb11eed062e9
thunderbolt: Reduce retry timeout to speed up boot for some devices

This is a followup to "thunderbolt: Workaround an IOMMU fault on certain
systems with Intel Maple Ridge".

It seems like the timeout can be reduced to 250ms. This reduces the overall
delay caused by the retires to ~1s. This is about the time other things
being initialized in parallel need anyway*, so like this the effective boot
time is no longer compromised.

*I only had a single device available for my measurements: A Clevo X170KM-G
desktop replacement notebook.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/icm.c