Skip to content

RFC Make delay before debouncing configurable

Paul Menzel linux-doc linux-ide lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ata: Add module parameter `debounce_delay_ms`Documentation/admin-guide/kernel-parameters.txt drivers/ata/libata-core.c drivers/ata/libata-sata.c +1 more+15 -20 replies
2/2ata: Warn about removal of debounce delay in Linux 5.19drivers/ata/libata-sata.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2][RFC] Make delay before debouncing configurable

The 200 ms delay before debouncing the PHY was introduced for some buggy old controllers. To decrease the boot time to come closer do instant boot, add a parameter so users can override that delay.

The current implementation has several drawbacks, and is just a proof of concept, which some experienced Linux kernel developer can probably implement in a better way.

One problem is, that the warning is shown for each link and not just per controller.

Paul Menzel (2):
ata: Add module parameter debounce_delay_ms
ata: Warn about removal of debounce delay in Linux 5.19

 Documentation/admin-guide/kernel-parameters.txt |  6 ++++++
 drivers/ata/libata-core.c                       |  4 ++++
 drivers/ata/libata-sata.c                       | 12 +++++++++---
 drivers/ata/libata.h                            |  1 +
 4 files changed, 20 insertions(+), 3 deletions(-)
Signature · 1 line
2.30.2