From: Konstantin Khlebnikov <khlebnikov@openvz.org>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-pci@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com>,
e1000-devel@lists.sourceforge.net
Subject: Re: [REGRESSION 3.8-r1] broken pci irq/pm state for e1000e device
Date: Sat, 05 Jan 2013 16:42:58 +0400 [thread overview]
Message-ID: <50E81FD2.1010008@openvz.org> (raw)
In-Reply-To: <50E32E71.7080000@openvz.org>
Konstantin Khlebnikov wrote:
> Konstantin Khlebnikov wrote:
>> Seems like it's unrelated to e1000e driver itself, because I tried to
>> revert all it's changes down to 3.6 one by one and it does not help.
Ouch, 3.6 also affected, seems like I was more lucky at that time and
bug never showed up.
root@zurg:/sys/bus/pci/devices# uname -a
Linux zurg 3.6.0-zurg #571 SMP Mon Oct 1 14:24:25 MSK 2012 x86_64 GNU/Linux
root@zurg:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable ; modprobe e1000e ; sleep 2 ; rmmod e1000e ; cat 0000\:00\:19.0/enable
4294967293
4294967292
So, this bug actually in e1000e driver. Add their mail-list into CC.
But core code should at least print some warnings...
>>
>> Looks like regression somewhere in pci-bus irq or power-management.
>> because I see underflow of counter pci_dev->enable_cnt:
>>
>> root@zurg:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable ; modprobe e1000e ; sleep 2 ; rmmod e1000e ; cat 0000\:00\:19.0/enable
>> 4294967288
>> 4294967287
>>
>> without sleep in the middle it does not work
>
> Hmm, 3.7 also affected. This is not good.
>
> root@zurg:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable
> 4294967293
> root@zurg:/sys/bus/pci/devices# uname -a
> Linux zurg 3.7.1-zurg #631 SMP Sat Dec 29 11:54:15 MSK 2012 x86_64 GNU/Linux
>
>>
>> my kernel config in attachment
>> hardware: lenovo thinkpad x220
>>
>> root@zurg:/sys/bus/pci/devices# uname -a
>> Linux zurg 3.8.0-rc1-zurg-00091-g4a490b7 #632 SMP Tue Jan 1 20:02:31 MSK 2013 x86_64 GNU/Linux
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2013-01-05 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-01 18:34 [REGRESSION 3.8-r1] broken pci irq/pm state for e1000e device Konstantin Khlebnikov
2013-01-01 18:44 ` Konstantin Khlebnikov
2013-01-05 12:42 ` Konstantin Khlebnikov [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=50E81FD2.1010008@openvz.org \
--to=khlebnikov@openvz.org \
--cc=bhelgaas@google.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.