From: Nikolaus Meine <meine@tnt.uni-hannover.de>
To: linux-kernel@vger.kernel.org
Subject: Re: xhci_hcd 3.12 regression
Date: Sun, 17 Nov 2013 02:13:22 +0000 (UTC) [thread overview]
Message-ID: <loom.20131117T030136-739@post.gmane.org> (raw)
In-Reply-To: <loom.20131117T022347-280@post.gmane.org>
Nikolaus Meine <meine <at> tnt.uni-hannover.de> writes:
>
> After upgrading from kernel 3.11 to 3.12 my USB 3.0 card reader
> (Transcend RDF8) stopped working with the same error.
>
> I managed to find the code line which triggered the erroneous behaviour:
>
> It's the definition of the macro xhci_dbg(...) in xhci.h line 1590/1591.
>
> In 3.11 it is
> do { if (XHCI_DEBUG) dev_dbg(...); } while (0)
>
> XHCI_DEBUG is defined as 0 because XHCI_HCD_DEBUGGING is not defined
> so this macro collapses to nothing.
>
> In 3.12 xhci_dbg(...) is defined as
> dev_dbg(...)
> which actually calls dev_printk(...) because DEBUG is defined.
>
> If I define xhci_dbg() in 3.12 as
> do { } while (0)
> my card reader starts working again.
>
> That was the good news.
> The bad news is that I have no idea why calling dev_printk(...)
> does any harm here. Maybe it's a timing problem.
>
> Best Regards
> Nikolaus Meine
>
Hello once again!
I have to correct me previous post:
The card reader does actually work with 3.12 so it's just
the dumping of debug messages which was enabled in 3.12,
no timing problem.
Best Regards
Nikolaus Meine
prev parent reply other threads:[~2013-11-17 2:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-10 17:50 M G Berberich
2013-11-17 1:33 ` Nikolaus Meine
2013-11-17 2:13 ` Nikolaus Meine [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=loom.20131117T030136-739@post.gmane.org \
--to=meine@tnt.uni-hannover.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®