Thread (11 messages) read the whole thread 11 messages, 3 authors, 2016-01-25

Re: [PATCH] libata: disable forced PORTS_IMPL for >= v3.0 controllers

From: Andy Lutomirski <luto@amacapital.net>
Date: 2016-01-15 01:01:19
Also in: lkml

On Thu, Jan 14, 2016 at 2:37 PM, Tejun Heo [off-list ref] wrote:
Some early controllers incorrectly reported zero ports in PORTS_IMPL
register and the ahci driver fabricates PORTS_IMPL from the number of
ports in those cases.  This hasn't mattered but with the new nvme
controllers there are cases where zero PORTS_IMPL is valid and should
be honored.

Disable the workaround for controllers >= v3.0.
I still see:

[  +0.001350] ahci 0000:00:17.0: version 3.0
[  +0.000034] ahci 0000:00:17.0: forcing PORTS_IMPL to 0xff

My "vers" is 0x10301.

--Andy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help