summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2022-05-26 15:57:21 +0200
committerChristoph Hellwig <hch@lst.de>2022-05-31 07:41:22 +0200
commitaa41d2fe60ee2e4452b0f9ca9f0f6d80a4ff9f9d (patch)
treeb5d273303a567486054e9c5dcdfd8a94c134cc79 /tools/perf/scripts/python/export-to-postgresql.py
parent70ce3455345d056b5fc427c3bb4a3ff4d126b6d5 (diff)
nvme: set controller enable bit in a separate write
The NVM Express Base Specification 2.0 specifies in the description of the CC – Controller Configuration register: "Host software shall set the Arbitration Mechanism Selected (CC.AMS), the Memory Page Size (CC.MPS), and the I/O Command Set Selected (CC.CSS) to valid values prior to enabling the controller by setting CC.EN to ‘1’. While we haven't seen any controller misbehaving while setting all bits in a single write, let's do it in the order that it is written in the spec, as there could potentially be controllers that are implemented to rely on the configuration bits being set before enabling the controller. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions