[PATCH 0/5] ahci: nvme remap support

Christoph Hellwig hch at lst.de
Mon Oct 24 08:16:57 PDT 2016

On Mon, Oct 24, 2016 at 10:46:29AM -0400, Keith Busch wrote:
> Amber is aware of this and was supportive in having Intel open the
> specs to enable this hardware.

Ok, let's get the spec out first.  Do we expect to be able to use the
AHCI interface and the NVMe interface at the same time?  If the first
is the case I think we are royally screwed and I see no good way to
support this beast.  If it's the latter let's keep AHCI entirely out
of the game - add the affected PCI IDs to the NVMe driver itself, add
a quirk for them and implement the enable sequence inside the NVMe

> The nvme driver has weird hooks to support the non-standard open channel
> effort, and we let Apple dictate this driver can't have q-word access.
> This remapping isn't exactly the first time we're helping non-standard
> devices, and Dan's series looks isolated such that it won't harm
> compliant ones.

But it's the worst kind.  Open Channel is a bit of an oddball, but it
sits on top of the transport, the rest is minor workaround conditionalal
on PCI IDs.

More information about the Linux-nvme mailing list