Re: [PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robert Hancock <hancockr@...>
Cc: linux-kernel <linux-kernel@...>, ide <linux-ide@...>, Jeff Garzik <jeff@...>
Date: Wednesday, November 14, 2007 - 9:43 pm

Hello,

Robert Hancock wrote:

So, now if an ATA DMA command is issued w/ RESULT_TF set, it's issued
using ADMA.  Then when nv_adma_tf_read() is called on success path, it
switches into register mode and read TF which is okay as long as there's
no other ADMA commands in flight and that's why you wrote about not
issuing NCQ commands via NCQ.  Am I understanding it correctly?

If so, can you please add that switching into register mode is okay as
long as there's no other ADMA commands in flight and add
WARN_ON((qc->flags & ATA_QCFLAG_RESULT_TF) && link->sactive)?

Thanks.

-- 
tejun
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode, Robert Hancock, (Wed Nov 14, 12:14 am)
Re: [PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode, Tejun Heo, (Wed Nov 14, 9:43 pm)
Re: [PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode, Robert Hancock, (Tue Nov 20, 8:59 pm)