Re: [PATCH] libata: disable forced PORTS_IMPL for >= v3.0 controllers
From: Andy Lutomirski
Date: Thu Jan 14 2016 - 20:01:23 EST
On Thu, Jan 14, 2016 at 2:37 PM, Tejun Heo <tj@xxxxxxxxxx> 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