[PATCH] nvme-pci: prevent SK Hynix PE8000 from using Write Zeroes command
Gopal Tiwari
gtiwari at redhat.com
Wed Feb 10 06:17:23 EST 2021
Hi Christoph,
Thanks for the response,
----- Original Message -----
From: "Christoph Hellwig" <hch at infradead.org>
To: "Gopal Tiwari" <gtiwari at redhat.com>
Cc: kbusch at kernel.org, hch at lst.de, linux-nvme at lists.infradead.org
Sent: Wednesday, February 10, 2021 3:42:29 PM
Subject: Re: [PATCH] nvme-pci: prevent SK Hynix PE8000 from using Write Zeroes command
On Tue, Feb 09, 2021 at 10:29:02AM +0530, Gopal Tiwari wrote:
>> For SK Hynix PE8000 WriteZerocommands exceed typical I/O MDTS
>> (Maximum Data Transfer Size) supported by the hardware. Which
>> intern fail and generate following erros :
>Well, if it works under MDTS please add a new quirk that follows
MDTS for Write Zeroes.
This was the feedback from the hardware guys, We've not tried, as the safe option would be to disable
write zero's as spec says
I could see from the identify controller details
[0:0] : 0 Single Port
mdts : 7 <<----------
cntlid : 0
ver : 0x10300
"This field does not apply to commands that do not transfer
data between host-accessible memory and the controller (e.g., the Verify command,
the Write Uncorrectable command, and the Write Zeroes command); there is no
maximum data transfer size for those commands. "
> In fact I wonder if we should just do that by default to be on the safe side.
Can you please help me in understanding this ..
Thanks & regards,
Gopal Tiwari
_______________________________________________
Linux-nvme mailing list
Linux-nvme at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
More information about the Linux-nvme
mailing list