Skip to content

OPAL patches, cont'd

Jon Derrick linux-block linux-nvme 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 9 repliesIn review
  2. v34 patches 0 repliesSuperseded
  3. v25 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches0 repliesSuperseded

Changes in v4 from the cover letter

Passes in 'lock_held' into opal_lock_unlock() so we don't need to mutex_trylock(). I wasn't totally confident in that approach anyways.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block/sed: Use ssize_t on atom parsers to return errorsblock/sed-opal.c+14 -140 replies
2/4block/sed: Add helper to qualify response tokensblock/sed-opal.c+25 -360 replies
3/4block/sed: Check received header lengthsblock/sed-opal.c+21 -140 replies
4/4block/sed: Embed function data into the function sequenceblock/sed-opal.c+167 -2617 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchScott Bauer
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/4] OPAL patches, cont'd

v3->v4:
Passes in 'lock_held' into opal_lock_unlock() so we don't need to mutex_trylock(). I wasn't totally confident in that approach anyways.

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 | 552 +++++++++++++++++++++++--------------------------------
 1 file changed, 227 insertions(+), 325 deletions(-)
Signature · 7 lines
1.8.3.1


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme