All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ZBC_OUT command translation fixes
@ 2018-06-26  7:18 Damien Le Moal
  2018-06-26  7:18 ` [PATCH 1/2] ata: Fix ZBC_OUT command block check Damien Le Moal
  2018-06-26  7:18 ` [PATCH 2/2] ata: Fix ZBC_OUT all bit handling Damien Le Moal
  0 siblings, 2 replies; 5+ messages in thread
From: Damien Le Moal @ 2018-06-26  7:18 UTC (permalink / raw)
  To: Tejun Heo, linux-ide
  Cc: linux-scsi, Martin K . Petersen, Bart Van Assche,
	Hannes Reinecke, stable

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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-26 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26  7:18 [PATCH 0/2] ZBC_OUT command translation fixes Damien Le Moal
2018-06-26  7:18 ` [PATCH 1/2] ata: Fix ZBC_OUT command block check Damien Le Moal
2018-06-26 11:38   ` Greg KH
2018-06-26  7:18 ` [PATCH 2/2] ata: Fix ZBC_OUT all bit handling Damien Le Moal
2018-06-26 11:38   ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.