]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: telemetry ctrl-init need to clear RAE
authorSteven Seungcheol Lee <sc108.lee@samsung.com>
Thu, 28 Nov 2024 07:50:09 +0000 (16:50 +0900)
committerDaniel Wagner <wagi@monom.org>
Tue, 3 Dec 2024 08:35:04 +0000 (09:35 +0100)
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 <sc108.lee@samsung.com>
nvme.c

diff --git a/nvme.c b/nvme.c
index 91431ef516d2593aec6ee8c978f02397797aa61b..68d992c31971103981c3887212059ffad747790a 100644 (file)
--- 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,