From: Troy Kisky <troy.kisky@boundarydevices.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Fugang Duan <fugang.duan@nxp.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: lost interrupts when running sabrelite images (v4.15+) in qemu
Date: Sat, 3 Mar 2018 11:07:56 -0800 [thread overview]
Message-ID: <88917ab4-ade0-dcfc-e81a-eeaa8a4d15b8@boundarydevices.com> (raw)
In-Reply-To: <20180303163236.GA29514@roeck-us.net>
On 3/3/2018 8:32 AM, Guenter Roeck wrote:
> Hi,
>
> since v4.15, I get the following runtime warning when running sabrelite images
> in qemu.
>
> irq 65: nobody cared (try booting with the "irqpoll" option)
> ...
> handlers:
> [<26292474>] fec_pps_interrupt
> Disabling IRQ #65
> fec 2188000.ethernet (unnamed net_device) (uninitialized): MDIO read timeout
>
> Bisect points to commit 4ad1ceec05e491 ("net: fec: Let fec_ptp have its
> own interrupt routine"). Analysis shows that platform_irq_count()
> returns 2, which is reduced to 1 by fec_enet_get_irq_cnt().
> If I let fec_enet_get_irq_cnt() return 2, the problem is gone.
> Reverting commit 4ad1ceec05e491 also fixes the problem.
>
> Bisect log is attached.
>
Sounds like you found a bug with qemu. I just booted sabrelite over nfs fine.
My interrupts look like this.
64: 98767 0 0 0 GIC-0 150 Level 2188000.ethernet
65: 0 0 0 0 GIC-0 151 Level 2188000.ethernet
___________
Irq 65 is only for ptp interrrupts now. If qemu is signaling an tx/rx frame interrupt on 65,
then qemu is wrong. Of course, I've never used qemu so feel free to ignore me if I make no sense.
BR
Troy
next prev parent reply other threads:[~2018-03-03 19:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-03 16:32 Guenter Roeck
2018-03-03 19:07 ` Troy Kisky [this message]
2018-03-03 20:48 ` Guenter Roeck
2018-03-03 21:12 ` Guenter Roeck
2018-03-05 17:30 ` Troy Kisky
2018-03-06 14:25 ` Guenter Roeck
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=88917ab4-ade0-dcfc-e81a-eeaa8a4d15b8@boundarydevices.com \
--to=troy.kisky@boundarydevices.com \
--cc=fugang.duan@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=netdev@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®