* [PATCH 1/1] libnvme: Add new events support in PEL
@ 2021-11-17 16:01 wenxiong
2021-11-18 1:56 ` Chaitanya Kulkarni
0 siblings, 1 reply; 2+ messages in thread
From: wenxiong @ 2021-11-17 16:01 UTC (permalink / raw)
To: anaidu.gollu; +Cc: keith.busch, linux-nvme, hare, wenxiong, Wen Xiong
From: Wen Xiong <wenxiong@linux.ibm.com>
Add two new events support in header file.
Signed-off-by: Wen Xiong <wenxiong@linux.ibm.com>
---
src/nvme/types.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/nvme/types.h b/src/nvme/types.h
index b7f3fcc..9e2e809 100644
--- a/src/nvme/types.h
+++ b/src/nvme/types.h
@@ -3044,6 +3044,8 @@ enum nvme_persistent_event_types {
NVME_PEL_FORMAT_COMPLETION_EVENT = 0x08,
NVME_PEL_SANITIZE_START_EVENT = 0x09,
NVME_PEL_SANITIZE_COMPLETION_EVENT = 0x0a,
+ NVME_PEL_SET_FEATURE_EVENT = 0x0b,
+ NVME_PEL_TELEMETRY_CRT = 0x0c,
NVME_PEL_THERMAL_EXCURSION_EVENT = 0x0d,
};
@@ -3122,6 +3124,12 @@ struct nvme_sanitize_compln_event {
__u8 rsvd6[2];
};
+/* persistent event type 0Bh */
+struct nvme_set_feature_event {
+ __le32 layout;
+ __le32 cdw_mem[0];
+};
+
struct nvme_thermal_exc_event {
__u8 over_temp;
__u8 threshold;
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] libnvme: Add new events support in PEL
2021-11-17 16:01 [PATCH 1/1] libnvme: Add new events support in PEL wenxiong
@ 2021-11-18 1:56 ` Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2021-11-18 1:56 UTC (permalink / raw)
To: wenxiong, anaidu.gollu; +Cc: keith.busch, linux-nvme, hare, wenxiong
On 11/17/21 08:01, wenxiong@linux.ibm.com wrote:
> From: Wen Xiong <wenxiong@linux.ibm.com>
>
> Add two new events support in header file.
>
> Signed-off-by: Wen Xiong <wenxiong@linux.ibm.com>
> ---
> src/nvme/types.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/nvme/types.h b/src/nvme/types.h
> index b7f3fcc..9e2e809 100644
> --- a/src/nvme/types.h
> +++ b/src/nvme/types.h
> @@ -3044,6 +3044,8 @@ enum nvme_persistent_event_types {
> NVME_PEL_FORMAT_COMPLETION_EVENT = 0x08,
> NVME_PEL_SANITIZE_START_EVENT = 0x09,
> NVME_PEL_SANITIZE_COMPLETION_EVENT = 0x0a,
> + NVME_PEL_SET_FEATURE_EVENT = 0x0b,
> + NVME_PEL_TELEMETRY_CRT = 0x0c,
> NVME_PEL_THERMAL_EXCURSION_EVENT = 0x0d,
> };
>
> @@ -3122,6 +3124,12 @@ struct nvme_sanitize_compln_event {
> __u8 rsvd6[2];
> };
>
> +/* persistent event type 0Bh */
> +struct nvme_set_feature_event {
> + __le32 layout;
> + __le32 cdw_mem[0];
> +};
> +
I don't see where nvme_set_feature_event is used ?
Am I missing something ?
> struct nvme_thermal_exc_event {
> __u8 over_temp;
> __u8 threshold;
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-18 1:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 16:01 [PATCH 1/1] libnvme: Add new events support in PEL wenxiong
2021-11-18 1:56 ` Chaitanya Kulkarni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.