Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jul 2019 17:20:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 211713] NVME controller failure: resetting (Samsung SM961 SSD Drives)
Message-ID:  <bug-211713-227-8GNSvLolZ0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211713-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211713-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=3D211713

--- Comment #78 from Ka Ho Ng <khng300@gmail.com> ---
(In reply to Warner Losh from comment #77)

The commit message of the patch is actually inside this commit:
https://github.com/khng300/freebsd/commit/c75f08495fde5dee08e4b24f399f2d70a=
77254a6

To put simply, some controllers give zeroes for MMIO read on certain region=
s,
and subsequently leading to MSI-X not being enabled at all (the interrupts =
will
first be masked and it will be in effect, however the subsequent unmask will
not work at all). As a result the corresponding bit in PBA will be set by t=
he
controller since the interrupt is actually not enabled after being masked
(recall that the read of vector control word will always give zero). Such
modification is actually made by taking a reference at the interrupt unmask
implementation of Illumos kernel, by not considering the existing content of
vector control bit but simply overwriting the word.

--=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-211713-227-8GNSvLolZ0>