Re: [PATCH v2] nvme: allow use of cmb on v1.4 controllers

From: Klaus Jensen
Date: Fri Jan 15 2021 - 01:33:30 EST


On Jan 15 07:30, Klaus Jensen wrote:
> From: Klaus Jensen <k.jensen@xxxxxxxxxxx>
>
> Since NVMe v1.4 the Controller Memory Buffer must be explicitly enabled
> by the host.
>

Sorry, messed up and missed adding the changes for v2.

v2:
- Do not explicitly check the NVMe version, rely on the presence of
the new register instead. (Christoph)
- Use hi_lo_writeq. (Christoph, Keith)
- Fix missing offset and use pci_bus_address(). (Keith)

Attachment: signature.asc
Description: PGP signature