]> git.baikalelectronics.ru Git - uboot.git/commit
nvme: Elaborate on cache maintenance operation in get/set_features
authorAndre Przywara <andre.przywara@arm.com>
Tue, 2 Mar 2021 15:43:43 +0000 (15:43 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 19 Mar 2021 14:36:55 +0000 (10:36 -0400)
commitdc18d2bff0d29de03eddc20a46466d61ce8c8c2e
tree46324d6775b7ef08eb43f92cbc43b937939fc001
parentd64d2d178ac80de1a3bf36aa4c4a716ee8b431b3
nvme: Elaborate on cache maintenance operation in get/set_features

At the moment the nvme_get_features() and nvme_set_features() functions
carry a (somewhat misleading) comment about missing cache maintenance.

As it turns out, nvme_get_features() has no caller at all in the tree,
and nvme_set_features' only user doesn't use a DMA buffer.

Mention that in the comment, and leave some breadcrumbs for the future,
should those functions attract more users.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/nvme/nvme.c