From: Steven Seungcheol Lee Date: Thu, 28 Nov 2024 07:50:09 +0000 (+0900) Subject: nvme: telemetry ctrl-init need to clear RAE X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4e7327f21256c4fe4fbb41d28bb71bcaed6a77eb;p=users%2Fsagi%2Fnvme-cli.git nvme: telemetry ctrl-init need to clear RAE if rae default is true, it's always true so it was not possible to issue with RAE=0 If the host is reading the Telemetry Controller-Initiated log page, then the host reads any portion of that log page with the Retain Asynchronous Event bit cleared to ‘0’ to indicate to the controller that the host has completed reading the Telemetry Controller-Initiated log page Signed-off-by: Steven Seungcheol Lee --- diff --git a/nvme.c b/nvme.c index 91431ef5..68d992c3 100644 --- a/nvme.c +++ b/nvme.c @@ -875,7 +875,7 @@ static int get_telemetry_log(int argc, char **argv, struct command *cmd, .host_gen = 1, .ctrl_init = false, .data_area = 3, - .rae = true, + .rae = false, }; NVME_ARGS(opts,