mbox series

[0/1] add empty atom support to SED Opal parser

Message ID 20240216210417.3526064-1-gjoyce@linux.ibm.com (mailing list archive)
Headers show
Series add empty atom support to SED Opal parser | expand

Message

Greg Joyce Feb. 16, 2024, 9:04 p.m. UTC
From: Greg Joyce <gjoyce@linux.ibm.com>

Some SED Opal compliant NVMe drives generate "empty atoms" that cause
the message response parser to fail. The TCG spec indicates that 
empty atoms are for alignment and should be ignored. This change
adds recognition of empty atoms and ignores them if found. This
allows the parser to corectly process the response message.

Greg Joyce (1):
  block: sed-opal: handle empty atoms when parsing response

 block/opal_proto.h | 1 +
 block/sed-opal.c   | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Comments

Jens Axboe Feb. 18, 2024, 1:01 p.m. UTC | #1
On Fri, 16 Feb 2024 15:04:16 -0600, gjoyce@linux.ibm.com wrote:
> Some SED Opal compliant NVMe drives generate "empty atoms" that cause
> the message response parser to fail. The TCG spec indicates that
> empty atoms are for alignment and should be ignored. This change
> adds recognition of empty atoms and ignores them if found. This
> allows the parser to corectly process the response message.
> 
> Greg Joyce (1):
>   block: sed-opal: handle empty atoms when parsing response
> 
> [...]

Applied, thanks!

[1/1] block: sed-opal: handle empty atoms when parsing response
      (no commit info)

Best regards,