All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/4] OPAL patches cont'd
@ 2017-02-21 18:44 ` Jon Derrick
  0 siblings, 0 replies; 13+ messages in thread
From: Jon Derrick @ 2017-02-21 18:44 UTC (permalink / raw)
  Cc: Jens Axboe, Rafael Antognolli, linux-nvme, linux-block,
	Jon Derrick, Christoph Hellwig, Scott Bauer

v2->v3:
Squashed 5/5 into 4/5
Changed opal_step structs back to const
Cleaned up opal_lock_unlock

v1->v2:
Moved misplaced code from 5/5 to 4/5

The first three in the series have been reviewed already but I wanted to
squash them with the last patch since they haven't been pulled yet.

The last patch is an attempt to refactor some of the awkward func data
and state separation into a common struct

Jon Derrick (4):
  block/sed: Use ssize_t on atom parsers to return errors
  block/sed: Add helper to qualify response tokens
  block/sed: Check received header lengths
  block/sed: Embed function data into the function sequence

 block/sed-opal.c | 551 +++++++++++++++++++++++--------------------------------
 1 file changed, 225 insertions(+), 326 deletions(-)

-- 
1.8.3.1


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCHv3 0/4] OPAL patches
@ 2017-02-15 19:42 Jon Derrick
  2017-02-15 19:42   ` Jon Derrick
  0 siblings, 1 reply; 13+ messages in thread
From: Jon Derrick @ 2017-02-15 19:42 UTC (permalink / raw)
  Cc: Jon Derrick, linux-block, linux-kernel, linuxppc-dev,
	Scott Bauer, Rafael Antognolli, Jens Axboe, Christoph Hellwig,
	Greg Kroah-Hartman

Just a couple of fixes for sed-opal to prevent faulty firmware from
allowing us to go off in the weeds, and a helper to remove some
duplicate code.

v2->v3:
corrected the bad calculation on the response parser check and changed
it to only check the subpacket length

v1->v2:
left tok->len as a size_t
got everyone important on the same email thread


Jon Derrick (4):
  block/sed: Use ssize_t on atom parsers to return errors
  block/sed: Add helper to qualify response tokens
  block/sed: Check received header lengths
  MAINTAINERS: Remove powerpc's opal match

 MAINTAINERS      |   1 -
 block/sed-opal.c | 124 +++++++++++++++++++++++++++----------------------------
 2 files changed, 60 insertions(+), 65 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-02-21 18:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 18:44 [PATCHv3 0/4] OPAL patches cont'd Jon Derrick
2017-02-21 18:44 ` Jon Derrick
2017-02-21 18:44 ` [PATCHv3 1/4] block/sed: Use ssize_t on atom parsers to return errors Jon Derrick
2017-02-21 18:44   ` Jon Derrick
2017-02-21 18:44 ` [PATCHv3 2/4] block/sed: Add helper to qualify response tokens Jon Derrick
2017-02-21 18:44   ` Jon Derrick
2017-02-21 18:44 ` [PATCHv3 3/4] block/sed: Check received header lengths Jon Derrick
2017-02-21 18:44   ` Jon Derrick
2017-02-21 18:44 ` [PATCHv3 4/4] block/sed: Embed function data into the function sequence Jon Derrick
2017-02-21 18:44   ` Jon Derrick
  -- strict thread matches above, loose matches on Subject: below --
2017-02-15 19:42 [PATCHv3 0/4] OPAL patches Jon Derrick
2017-02-15 19:42 ` [PATCHv3 1/4] block/sed: Use ssize_t on atom parsers to return errors Jon Derrick
2017-02-15 19:42   ` Jon Derrick
2017-02-15 21:04   ` Scott Bauer

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.