diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2025-10-31 13:39:36 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-11-12 17:02:34 -0500 |
| commit | 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 (patch) | |
| tree | 6c339913d8cca7566ada88a960bc24a3009eb539 /include/target/target_core_backend.h | |
| parent | a11c015c8a4fff99cf91a5cbc9789cc7a72b3ccf (diff) | |
scsi: ufs: core: Switch to scsi_get_internal_cmd()
Instead of storing the tag of the reserved command in hba->reserved_slot,
use scsi_get_internal_cmd() and scsi_put_internal_cmd() to allocate the
tag for the reserved command dynamically. Add
ufshcd_queue_reserved_command() for submitting reserved commands. Add
support in ufshcd_abort() for device management commands. Use
blk_execute_rq() for submitting reserved commands. Remove the code and
data structures that became superfluous. This includes
ufshcd_wait_for_dev_cmd(), hba->reserved_slot and ufs_dev_cmd.complete.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251031204029.2883185-29-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target/target_core_backend.h')
0 files changed, 0 insertions, 0 deletions