Re: [PATCH V2 0/2] ZBC_OUT command translation fixes

2018-07-02 Thread Tejun Heo
On Tue, Jun 26, 2018 at 08:56:53PM +0900, Damien Le Moal wrote:
> Tejun,
> 
> These two patches fix problems with the checks of the ZBC_OUT command fields
> prior to its translation to ZAC MANAGEMENT OUT.
> 
> The first patch fixes an incorrect out-of-range check and changes the returned
> asc/ascq to the ZBC defined INVALID FIELD IN CDB instead of (the more natural
> but incorrect) LBA OUT OF RANGE.
> 
> The second patch disables the ZBC_OUT command block address check if the ALL
> bit is set, as defined by the ZBC specifications.

Applied 1-2 to libata/for-4.18-fixes.

Thanks.

-- 
tejun


[PATCH V2 0/2] ZBC_OUT command translation fixes

2018-06-26 Thread Damien Le Moal
Tejun,

These two patches fix problems with the checks of the ZBC_OUT command fields
prior to its translation to ZAC MANAGEMENT OUT.

The first patch fixes an incorrect out-of-range check and changes the returned
asc/ascq to the ZBC defined INVALID FIELD IN CDB instead of (the more natural
but incorrect) LBA OUT OF RANGE.

The second patch disables the ZBC_OUT command block address check if the ALL
bit is set, as defined by the ZBC specifications.

Thank you for considering these patches for inclusion in 4.18 fixes (and CC
stable).

Damien Le Moal (2):
  ata: Fix ZBC_OUT command block check
  ata: Fix ZBC_OUT all bit handling

 drivers/ata/libata-scsi.c | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

Changes from V1: Added "Cc: stable"

-- 
2.17.1



[PATCH V2 0/2] ZBC_OUT command translation fixes

2018-06-26 Thread Damien Le Moal
Tejun,

These two patches fix problems with the checks of the ZBC_OUT command fields
prior to its translation to ZAC MANAGEMENT OUT.

The first patch fixes an incorrect out-of-range check and changes the returned
asc/ascq to the ZBC defined INVALID FIELD IN CDB instead of (the more natural
but incorrect) LBA OUT OF RANGE.

The second patch disables the ZBC_OUT command block address check if the ALL
bit is set, as defined by the ZBC specifications.

Thank you for considering these patches for inclusion in 4.18 fixes (and CC
stable).

Damien Le Moal (2):
  ata: Fix ZBC_OUT command block check
  ata: Fix ZBC_OUT all bit handling

 drivers/ata/libata-scsi.c | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

Changes from V1: Added "Cc: stable"

-- 
2.17.1