* [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
@ 2016-08-09 3:18 Wenbo Wang
0 siblings, 0 replies; 8+ messages in thread
From: Wenbo Wang @ 2016-08-09 3:18 UTC (permalink / raw)
To: keith.busch@intel.com, axboe@fb.com
Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Add a delay before checking device ready for memblaze device
Signed-off-by: Wenbo Wang <wenbo.wang@memblaze.com>
---
drivers/nvme/host/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index c82282f..ab90e5f 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2154,6 +2154,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_IDENTIFY_CNS, },
{ PCI_DEVICE(0x1c58, 0x0003), /* HGST adapter */
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
+ { PCI_DEVICE(0x1c5f, 0x0540), /* Memblaze Pblaze4 adapter */
+ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
{ 0, }
--
1.8.3.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* RE: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
@ 2016-08-15 5:21 Wenbo Wang
2016-08-15 15:05 ` Keith Busch
0 siblings, 1 reply; 8+ messages in thread
From: Wenbo Wang @ 2016-08-15 5:21 UTC (permalink / raw)
To: keith.busch@intel.com, axboe@fb.com
Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Keith,
Is this patch accepted? Thanks.
-----Original Message-----
From: Wenbo Wang
Sent: Tuesday, August 9, 2016 11:18 AM
To: 'keith.busch@intel.com'; 'axboe@fb.com'
Cc: linux-nvme@lists.infradead.org; linux-kernel@vger.kernel.org
Subject: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
Add a delay before checking device ready for memblaze device
Signed-off-by: Wenbo Wang <wenbo.wang@memblaze.com>
---
drivers/nvme/host/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index c82282f..ab90e5f 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2154,6 +2154,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_IDENTIFY_CNS, },
{ PCI_DEVICE(0x1c58, 0x0003), /* HGST adapter */
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
+ { PCI_DEVICE(0x1c5f, 0x0540), /* Memblaze Pblaze4 adapter */
+ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
{ 0, }
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
2016-08-15 5:21 Wenbo Wang
@ 2016-08-15 15:05 ` Keith Busch
0 siblings, 0 replies; 8+ messages in thread
From: Keith Busch @ 2016-08-15 15:05 UTC (permalink / raw)
To: Wenbo Wang
Cc: axboe@fb.com, linux-nvme@lists.infradead.org,
linux-kernel@vger.kernel.org
On Mon, Aug 15, 2016 at 05:21:07AM +0000, Wenbo Wang wrote:
> Keith,
>
> Is this patch accepted? Thanks.
The patch looks fine, though Jens has to apply these. I'm just an
ostensibly glorified reviewer. :)
Reviewed-by: Keith Busch <keith.busch@intel.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
2016-09-08 14:36 ` [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device Keith Busch
@ 2016-09-08 14:30 ` Jens Axboe
2016-09-08 15:02 ` Jens Axboe
0 siblings, 1 reply; 8+ messages in thread
From: Jens Axboe @ 2016-09-08 14:30 UTC (permalink / raw)
To: Keith Busch, Wang Weber; +Cc: linux-nvme, linux-kernel
On 09/08/2016 08:36 AM, Keith Busch wrote:
> On Thu, Sep 08, 2016 at 11:36:34AM +0800, Wang Weber wrote:
>> Hi Jens,
>>
>> The following email was sent before, but it seems to be blocked since I
>> received some messages about sending failure. So resend it with Google
>> email account.
>
> You're still sending non plain text email, so it's going to be rejected
> by the mailing list filter. It also mangles your patch such that it
> won't cleanly apply. You have to use plain text for this to work well.
Indeed. And in addition to it being rejected by the reflector, it also
means your patch is mangled.
--
Jens Axboe
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
[not found] <CAAZN+A3m4z0uOUBWyonpXb2fQTuFhV3vu68Kuy4mdQYwt6WDgA@mail.gmail.com>
@ 2016-09-08 14:36 ` Keith Busch
2016-09-08 14:30 ` Jens Axboe
0 siblings, 1 reply; 8+ messages in thread
From: Keith Busch @ 2016-09-08 14:36 UTC (permalink / raw)
To: Wang Weber; +Cc: Jens Axboe, linux-nvme, linux-kernel
On Thu, Sep 08, 2016 at 11:36:34AM +0800, Wang Weber wrote:
> Hi Jens,
>
> The following email was sent before, but it seems to be blocked since I
> received some messages about sending failure. So resend it with Google
> email account.
You're still sending non plain text email, so it's going to be rejected
by the mailing list filter. It also mangles your patch such that it
won't cleanly apply. You have to use plain text for this to work well.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
2016-09-08 14:30 ` Jens Axboe
@ 2016-09-08 15:02 ` Jens Axboe
0 siblings, 0 replies; 8+ messages in thread
From: Jens Axboe @ 2016-09-08 15:02 UTC (permalink / raw)
To: Keith Busch, Wang Weber; +Cc: linux-nvme, linux-kernel
On 09/08/2016 08:30 AM, Jens Axboe wrote:
> On 09/08/2016 08:36 AM, Keith Busch wrote:
>> On Thu, Sep 08, 2016 at 11:36:34AM +0800, Wang Weber wrote:
>>> Hi Jens,
>>>
>>> The following email was sent before, but it seems to be blocked since I
>>> received some messages about sending failure. So resend it with Google
>>> email account.
>>
>> You're still sending non plain text email, so it's going to be rejected
>> by the mailing list filter. It also mangles your patch such that it
>> won't cleanly apply. You have to use plain text for this to work well.
>
> Indeed. And in addition to it being rejected by the reflector, it also
> means your patch is mangled.
I guess Keith already made that point too on the patch mangling, needs
more coffee. Also, it mangles the patch.
--
Jens Axboe
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
@ 2016-09-08 16:12 Wenbo Wang
2016-09-08 16:18 ` Jens Axboe
0 siblings, 1 reply; 8+ messages in thread
From: Wenbo Wang @ 2016-09-08 16:12 UTC (permalink / raw)
To: keith.busch, axboe; +Cc: linux-nvme, linux-kernel, Wenbo Wang
From: Wenbo Wang <wenbo.wang@memblaze.com>
Signed-off-by: Wenbo Wang <wenbo.wang@memblaze.com>
---
drivers/nvme/host/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 663c40c..2fec23c 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2141,6 +2141,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_IDENTIFY_CNS, },
{ PCI_DEVICE(0x1c58, 0x0003), /* HGST adapter */
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
+ { PCI_DEVICE(0x1c5f, 0x0540), /* Memblaze Pblaze4 adapter */
+ .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
{ 0, }
--
1.8.3.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device
2016-09-08 16:12 Wenbo Wang
@ 2016-09-08 16:18 ` Jens Axboe
0 siblings, 0 replies; 8+ messages in thread
From: Jens Axboe @ 2016-09-08 16:18 UTC (permalink / raw)
To: Wenbo Wang, keith.busch; +Cc: linux-nvme, linux-kernel, Wenbo Wang
On 09/08/2016 10:12 AM, Wenbo Wang wrote:
> From: Wenbo Wang <wenbo.wang@memblaze.com>
>
> Signed-off-by: Wenbo Wang <wenbo.wang@memblaze.com>
> ---
> drivers/nvme/host/pci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
> index 663c40c..2fec23c 100644
> --- a/drivers/nvme/host/pci.c
> +++ b/drivers/nvme/host/pci.c
> @@ -2141,6 +2141,8 @@ static const struct pci_device_id nvme_id_table[] = {
> .driver_data = NVME_QUIRK_IDENTIFY_CNS, },
> { PCI_DEVICE(0x1c58, 0x0003), /* HGST adapter */
> .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
> + { PCI_DEVICE(0x1c5f, 0x0540), /* Memblaze Pblaze4 adapter */
> + .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
> { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
> { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
> { 0, }
Thanks, applied for 4.8.
--
Jens Axboe
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-09-08 16:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAAZN+A3m4z0uOUBWyonpXb2fQTuFhV3vu68Kuy4mdQYwt6WDgA@mail.gmail.com>
2016-09-08 14:36 ` [PATCH] nvme/quirk: Add a delay before checking device ready for memblaze device Keith Busch
2016-09-08 14:30 ` Jens Axboe
2016-09-08 15:02 ` Jens Axboe
2016-09-08 16:12 Wenbo Wang
2016-09-08 16:18 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2016-08-15 5:21 Wenbo Wang
2016-08-15 15:05 ` Keith Busch
2016-08-09 3:18 Wenbo Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox