@@ -2052,6 +2052,16 @@ static unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf)
2052
2052
return 0 ;
2053
2053
}
2054
2054
2055
+ /**
2056
+ * ata_scsiop_inq_b0 - Simulate INQUIRY VPD page B0, Block Limits
2057
+ * @args: device IDENTIFY data / SCSI command of interest.
2058
+ * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
2059
+ *
2060
+ * Return data for the VPD page B0h (Block Limits).
2061
+ *
2062
+ * LOCKING:
2063
+ * spin_lock_irqsave(host lock)
2064
+ */
2055
2065
static unsigned int ata_scsiop_inq_b0 (struct ata_scsi_args * args , u8 * rbuf )
2056
2066
{
2057
2067
struct ata_device * dev = args -> dev ;
@@ -2092,6 +2102,17 @@ static unsigned int ata_scsiop_inq_b0(struct ata_scsi_args *args, u8 *rbuf)
2092
2102
return 0 ;
2093
2103
}
2094
2104
2105
+ /**
2106
+ * ata_scsiop_inq_b1 - Simulate INQUIRY VPD page B1, Block Device
2107
+ * Characteristics
2108
+ * @args: device IDENTIFY data / SCSI command of interest.
2109
+ * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
2110
+ *
2111
+ * Return data for the VPD page B1h (Block Device Characteristics).
2112
+ *
2113
+ * LOCKING:
2114
+ * spin_lock_irqsave(host lock)
2115
+ */
2095
2116
static unsigned int ata_scsiop_inq_b1 (struct ata_scsi_args * args , u8 * rbuf )
2096
2117
{
2097
2118
int form_factor = ata_id_form_factor (args -> id );
@@ -2109,6 +2130,17 @@ static unsigned int ata_scsiop_inq_b1(struct ata_scsi_args *args, u8 *rbuf)
2109
2130
return 0 ;
2110
2131
}
2111
2132
2133
+ /**
2134
+ * ata_scsiop_inq_b2 - Simulate INQUIRY VPD page B2, Logical Block
2135
+ * Provisioning
2136
+ * @args: device IDENTIFY data / SCSI command of interest.
2137
+ * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
2138
+ *
2139
+ * Return data for the VPD page B2h (Logical Block Provisioning).
2140
+ *
2141
+ * LOCKING:
2142
+ * spin_lock_irqsave(host lock)
2143
+ */
2112
2144
static unsigned int ata_scsiop_inq_b2 (struct ata_scsi_args * args , u8 * rbuf )
2113
2145
{
2114
2146
/* SCSI Thin Provisioning VPD page: SBC-3 rev 22 or later */
@@ -2119,6 +2151,17 @@ static unsigned int ata_scsiop_inq_b2(struct ata_scsi_args *args, u8 *rbuf)
2119
2151
return 0 ;
2120
2152
}
2121
2153
2154
+ /**
2155
+ * ata_scsiop_inq_b6 - Simulate INQUIRY VPD page B6, Zoned Block Device
2156
+ * Characteristics
2157
+ * @args: device IDENTIFY data / SCSI command of interest.
2158
+ * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
2159
+ *
2160
+ * Return data for the VPD page B2h (Zoned Block Device Characteristics).
2161
+ *
2162
+ * LOCKING:
2163
+ * spin_lock_irqsave(host lock)
2164
+ */
2122
2165
static unsigned int ata_scsiop_inq_b6 (struct ata_scsi_args * args , u8 * rbuf )
2123
2166
{
2124
2167
if (!(args -> dev -> flags & ATA_DFLAG_ZAC )) {
@@ -2144,6 +2187,17 @@ static unsigned int ata_scsiop_inq_b6(struct ata_scsi_args *args, u8 *rbuf)
2144
2187
return 0 ;
2145
2188
}
2146
2189
2190
+ /**
2191
+ * ata_scsiop_inq_b9 - Simulate INQUIRY VPD page B9, Concurrent Positioning
2192
+ * Ranges
2193
+ * @args: device IDENTIFY data / SCSI command of interest.
2194
+ * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
2195
+ *
2196
+ * Return data for the VPD page B9h (Concurrent Positioning Ranges).
2197
+ *
2198
+ * LOCKING:
2199
+ * spin_lock_irqsave(host lock)
2200
+ */
2147
2201
static unsigned int ata_scsiop_inq_b9 (struct ata_scsi_args * args , u8 * rbuf )
2148
2202
{
2149
2203
struct ata_cpr_log * cpr_log = args -> dev -> cpr_log ;
0 commit comments