RE: lan78xx: WARNING: irq 79 handler enabled interrupts
From: <Woojung.Huh@microchip.com>
Date: 2019-01-02 21:42:44
Also in:
linux-arm-kernel
Hi Stefan, Thanks for information and creating a ticket. Did quick check on a PC machine with 4.20 rc. However, not seeing same warning. Look need time to repro and get details on same build & target you are using. Regards, Woojung
-----Original Message----- From: Stefan Wahren <redacted> Sent: Tuesday, January 1, 2019 4:32 PM To: Woojung Huh - C21699 <Woojung.Huh@microchip.com> Cc: eric@anholt.net; UNGLinuxDriver <UNGLinuxDriver@microchip.com>; marc.zyngier@arm.com; netdev@vger.kernel.org; linux-arm-kernel@lists.infradead.org Subject: RE: lan78xx: WARNING: irq 79 handler enabled interrupts Hi Woojung,quoted
Woojung.Huh@microchip.com hat am 30. Dezember 2018 um 04:25 geschrieben: HI Marc & Stephen, Most of engineers are out until New Year's Day.thanks. I didn't expect a reply that fast.quoted
LAN78xx driver uses irq_domain for phy interrupt, but smsc95xx uses polling. Need to check flow again, you can try that comment out "lan78xx_setup_irq_domain" to make dev->domain_data.phyirq = 0 which forces PHY polling.I tested your suggestion with multi_v7_defconfig (32 bit) and arm64/defconfig. The warning disappeared and Ethernet is still working. Only the old issue that we can't receive until a first packet has been send out reappear. But this should be manageable.quoted
Can you share if this is filed on RPI forum?I didn't submit this to the raspberrypi.org forum / github. They mostly care about the next LTS release 4.19 and not really about arm64. But an Arch Linux user (aarch64 using Mainline kernel) already discovered this issue: https://archlinuxarm.org/forum/viewtopic.php?f=65&t=13302quoted
Also, it would be appreciated if you can create a ticket on Microchip site at https://www.microchip.com/technical-support/hot-topicsDone Best regards Stefanquoted
Best Regards, Woojung