From 98094bfb8ada8b4bf552e2df700b43840ab3c121 Mon Sep 17 00:00:00 2001 From: Gollu Appalanaidu Date: Fri, 28 May 2021 19:22:45 +0530 Subject: [PATCH] nvme: add zone desc changed notice async event Add the Zone Descriptor Changed Notices in get feature human readble output for the Async Event config feature (FID = 0x0B) as per the TP4053 Zoned Namespaces Signed-off-by: Gollu Appalanaidu --- nvme-print.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nvme-print.c b/nvme-print.c index 0318d520..fa651c0d 100755 --- a/nvme-print.c +++ b/nvme-print.c @@ -5805,6 +5805,7 @@ void nvme_feature_show_fields(enum nvme_feat fid, unsigned int result, printf("\tDisable Normal (DN): %s\n", (result & 0x00000001) ? "True":"False"); break; case NVME_FEAT_ASYNC_EVENT: + printf("\tZone Descriptor Changed Notices: %s\n", ((result >> 27) & 0x1) ? "Send async event":"Do not send async event"); printf("\tEndurance Group Event Aggregate Log Change Notices: %s\n", ((result & 0x00004000) >> 14) ? "Send async event":"Do not send async event"); printf("\tLBA Status Information Notices : %s\n", ((result & 0x00002000) >> 13) ? "Send async event":"Do not send async event"); printf("\tPredictable Latency Event Aggregate Log Change Notices: %s\n", ((result & 0x00001000) >> 12) ? "Send async event":"Do not send async event"); -- 2.50.1