Skip to content

ata,libsas: Assign the unique id used for printing earlier

Niklas Cassel linux-ide linux-scsi 4 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 3 repliesApplied
  2. v39 patches 4 repliesSuperseded
  3. v213 patches 37 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches7 repliesSuperseded

Changes in v4 from the cover letter

-Picked up tags.
-Clarified commit message, and avoid word useless, for patch
"ata,scsi: Remove wrappers ata_sas_tport_{add,delete}()"
-Clarified commit message, and avoid word useless, for patch
"ata,scsi: Remove wrapper ata_sas_port_alloc()"
-Remove superfluous sata_port_info struct, as it is not strictly needed
anymore, and instead perform the initializations directly in sas_ata_init().

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/9ata,scsi: Remove wrappers ata_sas_tport_{add,delete}()drivers/ata/libata-sata.c drivers/ata/libata-transport.c drivers/ata/libata-transport.h +3 more+6 -190 replies
2/9ata: libata: Remove unused function declaration for ata_scsi_detect()include/linux/libata.h+0 -10 replies
3/9ata: libata-core: Remove support for decreasing the number of portsdrivers/ata/libata-core.c include/linux/libata.h+6 -180 replies
4/9ata: libata-sata: Remove superfluous assignment in ata_sas_port_alloc()drivers/ata/libata-sata.c+0 -10 replies
5/9ata: libata-core: Remove local_port_no struct memberdrivers/ata/libata-core.c drivers/ata/libata-transport.c include/linux/libata.h+3 -60 replies
6/9ata: libata: Assign print_id at port allocation timedrivers/ata/libata-core.c drivers/ata/libata-sata.c drivers/ata/libata.h+1 -70 replies
7/9ata: libata-core: Reuse available ata_port print_idsdrivers/ata/libata-core.c+9 -20 replies
8/9ata,scsi: Remove wrapper ata_sas_port_alloc()drivers/ata/libata-core.c drivers/ata/libata-sata.c drivers/ata/libata.h +2 more+11 -491 reply
9/9ata: ahci: Add debug print for external portdrivers/ata/ahci.c+3 -10 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHannes ReineckeJohn GarryDamien Le MoalMartin K. Petersen
SeriesR-b
1/9R-b R-b
2/9R-b R-b
3/9R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b R-b
8/9R-b R-b
9/9R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/9] ata,libsas: Assign the unique id used for printing earlier

Hello all,

This series moves the assignment of ap->print_id, which is used as a unique id for each port, earlier, such that we can use the ata_port_* print functions even before the ata_host has been registered.

While the patch series was orginally meant to simply assign a unique id used for printing earlier (ap->print_id), it has since grown to also include cleanups related to ata_port_alloc() (since ap->print_id is now assigned in ata_port_alloc()).

Kind regards,
Niklas

Changes since v3:
-Picked up tags.
-Clarified commit message, and avoid word useless, for patch
"ata,scsi: Remove wrappers ata_sas_tport_{add,delete}()"
-Clarified commit message, and avoid word useless, for patch
"ata,scsi: Remove wrapper ata_sas_port_alloc()"
-Remove superfluous sata_port_info struct, as it is not strictly needed
anymore, and instead perform the initializations directly in sas_ata_init().

Link to v3:
https://lore.kernel.org/linux-ide/[email protected]/

Link to v2:
https://lore.kernel.org/linux-ide/[email protected]/

Link to v1:
https://lore.kernel.org/linux-ide/[email protected]/

Niklas Cassel (9):
ata,scsi: Remove wrappers ata_sas_tport_{add,delete}()
ata: libata: Remove unused function declaration for ata_scsi_detect()
ata: libata-core: Remove support for decreasing the number of ports
ata: libata-sata: Remove superfluous assignment in
ata_sas_port_alloc()
ata: libata-core: Remove local_port_no struct member
ata: libata: Assign print_id at port allocation time
ata: libata-core: Reuse available ata_port print_ids ata,scsi: Remove wrapper ata_sas_port_alloc()
ata: ahci: Add debug print for external port

 drivers/ata/ahci.c                 |  4 ++-
 drivers/ata/libata-core.c          | 41 +++++++++----------------
 drivers/ata/libata-sata.c          | 49 ------------------------------
 drivers/ata/libata-transport.c     |  5 ++-
 drivers/ata/libata-transport.h     |  3 --
 drivers/ata/libata.h               |  2 --
 drivers/scsi/libsas/sas_ata.c      | 22 ++++++--------
 drivers/scsi/libsas/sas_discover.c |  2 +-
 include/linux/libata.h             | 11 +++----
 9 files changed, 37 insertions(+), 102 deletions(-)
Signature · 1 line
2.45.2