Skip to content

ata: libata: Enable context analysis

Bart Van Assche linux-ide 3 versions – Applied

Status from this message: Applied to libata/linux.git (for-7.2), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyApplied
  2. v29 patches 27 repliesApplied
  3. v11 patch 3 repliesSuperseded

Changes in v5 from the cover letter

- Added a patch that adds the ATA port argument to ata_eh_reset().
- Removed the lockdep_assert_held() statements.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2ata: libata: Add an argument to ata_eh_reset()drivers/ata/libata-eh.c drivers/ata/libata-pmp.c drivers/ata/libata.h+6 -60 replies
2/2ata: libata: Document when host->eh_mutex should be helddrivers/ata/Makefile drivers/ata/ahci.h drivers/ata/ahci_imx.c +18 more+48 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] ata: libata: Enable context analysis

Hi Niklas,

This patch series enables context analysis for the ATA subsystem. Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v4:
- Added a patch that adds the ATA port argument to ata_eh_reset().
- Removed the lockdep_assert_held() statements.

Changes compared to v3:
- Removed two source code comments.
- Annotated ata_dummy_error_handler().
- Addressed Sashiko's that the address of a synchronization object should be passed to __acquires() and __releases().

Changes compared to v2:
- Instead of annotating only function declarations, annotate both function declarations and function definitions.
- Changed __assume_ctx_lock() into lockdep_assert_held().
- Left out the host lock changes because there is no agreement about how to annotate functions that expect that the host lock is held.

Changes compared to v1:
- Expanded a single patch into a series of nine patches.
- Included a bug fix for ata_exec_internal() and several refactoring patches.
- Added a patch for annotating the code that uses the host lock.

Bart Van Assche (2):
ata: libata: Add an argument to ata_eh_reset()
ata: libata: Document when host->eh_mutex should be held

 drivers/ata/Makefile         |  2 ++
 drivers/ata/ahci.h           |  3 ++-
 drivers/ata/ahci_imx.c       |  1 +
 drivers/ata/libahci.c        |  1 +
 drivers/ata/libata-core.c    |  2 ++
 drivers/ata/libata-eh.c      | 11 ++++++++---
 drivers/ata/libata-pmp.c     |  5 ++++-
 drivers/ata/libata-sff.c     |  2 ++
 drivers/ata/libata.h         | 14 +++++++++-----
 drivers/ata/pata_arasan_cf.c |  1 +
 drivers/ata/sata_dwc_460ex.c |  1 +
 drivers/ata/sata_fsl.c       |  1 +
 drivers/ata/sata_inic162x.c  |  1 +
 drivers/ata/sata_mv.c        |  1 +
 drivers/ata/sata_nv.c        |  2 ++
 drivers/ata/sata_promise.c   |  1 +
 drivers/ata/sata_qstor.c     |  1 +
 drivers/ata/sata_sil24.c     |  1 +
 drivers/ata/sata_sx4.c       |  1 +
 drivers/ata/sata_via.c       |  1 +
 include/linux/libata.h       | 15 ++++++++++-----
 21 files changed, 53 insertions(+), 15 deletions(-)