On Tue, 8 Jun 2021 23:39:14 -0400, Martin K. Petersen wrote: > This series cleans up how low-level device drivers go about handling > protection information. The SCSI midlayer provides a set of flags and > helpers but not all drivers currently use them. This series updates > the drivers to use the proper calls to query things like the > protection interval, reference tag seed value, etc. > > In addition scsi_debug is enhanced to validate and store protection > information the same way as a regular PI-capable disk drive or > SSD. With these changes scsi_debug is now able to pass the same PI > qualification tests as physical hardware. > > [...] Applied to 5.15/scsi-queue, thanks! [01/15] scsi: core: Add scsi_prot_ref_tag() helper https://git.kernel.org/mkp/scsi/c/7ba46799d346 [03/15] scsi: qla2xxx: Use the proper SCSI midlayer interfaces for PI https://git.kernel.org/mkp/scsi/c/e2e9cd68fb3c [06/15] scsi: zfcp: Use the proper SCSI midlayer interfaces for PI https://git.kernel.org/mkp/scsi/c/73e61d5c22bf [08/15] scsi: scsi_debug: Remove dump_sector() https://git.kernel.org/mkp/scsi/c/c78be80d20cd [09/15] scsi: scsi_debug: Improve RDPROTECT/WRPROTECT handling https://git.kernel.org/mkp/scsi/c/f7be677227a5 [10/15] scsi: core: Introduce scsi_get_sector() https://git.kernel.org/mkp/scsi/c/f0f214fe8cd3 [11/15] scsi: iser: Use scsi_get_sector() instead of scsi_get_lba() https://git.kernel.org/mkp/scsi/c/87662a472a9d [12/15] scsi: core: Make scsi_get_lba() return the LBA https://git.kernel.org/mkp/scsi/c/d2c945f01d23 [15/15] scsi: ufs: core: Use scsi_get_lba() to get LBA https://git.kernel.org/mkp/scsi/c/54815088859f -- Martin K. Petersen Oracle Linux Engineering