[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4968BFF5.2090707@ru.mvista.com>
Date: Sat, 10 Jan 2009 18:34:13 +0300
From: Sergei Shtylyov <sshtylyov@...mvista.com>
To: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Christian Borntraeger <borntraeger@...ibm.com>,
linux-ide@...r.kernel.org, Jeff Garzik <jgarzik@...hat.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: todays git: WARNING: at drivers/ata/libata-sff.c:1017 ata_sff_hsm_move+0x45e/0x750()
Hello.
James Bottomley wrote:
>>>not divisible by four. If you want to use word based PIO, you'll have
>>>to fall back to collecting bytes for the last two. Alternatively, you
>>Nope.. you can't do that with ATA block transfers - it isn't the same as
>>SCSI
> Well, in that case you'll have to do byte PIO for all ATAPI devices,
> because this is an expected device to host transfer length.
Byte PIO doesn't work in the ATA world unless the device supports it (I
guess only CFA devices really support it) and the driver has enabled it (which
I think isn't really worth it unless you have some h/w constaints). What you
can do is read the whole 16-bit (or 32-bit) word and ignore the bytes you
don't need.
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists