Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2021 18:27:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255130] Issue with rtsx driver
Message-ID:  <bug-255130-227-fbKxZ2Zy29@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255130-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255130-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255130

--- Comment #45 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D9d3bc163825415f900d06d62efdf02caa=
ad2d51d

commit 9d3bc163825415f900d06d62efdf02caaad2d51d
Author:     Henri Hennebert <hlh@restart.be>
AuthorDate: 2021-09-09 17:33:51 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2021-09-09 18:26:17 +0000

    rtsx: Call taskqueue sooner, adjust DELAY(9) calls, add an inversion
heuristic

    - Some configurations, e.g. HP EliteBook 840 G3, come with a dummy card
    in the card slot which is detected as a valid SD card.  This added long
    timeout at boot time.  To alleviate the problem, the default timeout is
    reduced to one second during the setup phase. [1]

    - Some configurations crash at boot if rtsx(4) is defined in the kernel
    config.  At boot time, without a card inserted, the driver found that
    a card is present and just after that a "spontaneous" interrupt is
    generated showing that no card is present.  To solve this problem,
    DELAY(9) is set to one quarter of a second before checking card presence
    during driver attach.

    - As advised by adrian, taskqueue and DMA are set up sooner during
    the driver attach.  A heuristic to try to detect configuration needing
    inversion was added.

    PR:             255130 [1]
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D30499

 share/man/man4/rtsx.4 |  13 +++--
 sys/dev/rtsx/rtsx.c   | 132 ++++++++++++++++++++++++++++++++++------------=
----
 2 files changed, 99 insertions(+), 46 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255130-227-fbKxZ2Zy29>