From: guenther@tum.de (Stephan Günther)
Subject: [PATCH 1/1] nvme: temporary fix for Apple NVMe controller reset
Date: Sat, 21 Nov 2015 13:16:11 +0100 [thread overview]
Message-ID: <4e6635a1510af922268cd5a6a242f5bb@localhost> (raw)
In-Reply-To: <20151121082041.GA17935@infradead.org>
On 2015/November/21 12:20, Christoph Hellwig wrote:
> Hi Stephan,
>
> > + /*
> > + * Temporary fix for the Apple controller found in the MacBook8,1 and
> > + * some MacBook7,1 to avoid controller resets and data loss.
> > + */
> > + if (pdev->vendor == PCI_VENDOR_ID_APPLE && pdev->device == 0x2001)
> > + dev->q_depth = 2;
>
> Can you add a dev_warn() here? A NVMe device with queue depth is going
> to perform bady, and we should tell people that we're applying a crude
> workaround.
I'll resend the patch with an updated commit message and dev_warn().
Interestingly, I cannot really complain about performance with that
patch applied. That little notebook behaves really well. But that queue
depth cannot be the solution of course.
>
> Otherwise this looks fine to me to get you guys going, but I really hope
> we'll find the root cause soon.
I wish Apple would show any interest in that matter...
prev parent reply other threads:[~2015-11-21 12:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 18:57 [PATCH 1/1] nvme: temporary fix for Apple NVMe controller reset Stephan Günther
2015-11-21 8:20 ` Christoph Hellwig
2015-11-21 12:16 ` Stephan Günther [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e6635a1510af922268cd5a6a242f5bb@localhost \
--to=guenther@tum.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox