From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkQKg-0005SZ-Cc for linux-um@lists.infradead.org; Wed, 02 Dec 2020 11:30:03 +0000 Message-ID: <6cbfb799d0889dc2d34d7c773a42305d025c615b.camel@sipsolutions.net> Subject: Re: [PATCH 7/7] um: simplify IRQ handling code From: Johannes Berg Date: Wed, 02 Dec 2020 12:29:42 +0100 In-Reply-To: <02516224-6caf-c947-3410-0fcdc6e7204e@kot-begemot.co.uk> References: <20201123195621.275470-1-johannes@sipsolutions.net> <20201123205446.6370687fa983.I811873233b8d71fbde9154b84c85b498521e3b12@changeid> <96e31171-965d-c1d7-282e-b1b0bec6b73f@kot-begemot.co.uk> <4ebc9f4069082c1fa3606fc636f15c664bc0af60.camel@sipsolutions.net> <02516224-6caf-c947-3410-0fcdc6e7204e@kot-begemot.co.uk> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Anton Ivanov , linux-um@lists.infradead.org On Wed, 2020-12-02 at 09:03 +0000, Anton Ivanov wrote: > > raw sockets on a vEth pair. > > I avoid tap as it does not exercise the full vector IO code for now. > One day I will find a way to extract from the kernel the underlying > socket which tap uses internally and it will become 100% equivalent to > the other transports. OK, thanks. > > > Try to ifup/ifdown the vecX interface inside the UML. > > > > > > With master it works fine. With this patch it fails. > > How does it fail? > > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 401 at arch/um/kernel/irq.c:177 um_request_irq+0xff/0x22e Hm, interesting. So that means the IRQ was still busy after vector_net_close()? I'm still digging and trying to build a test case, but if you have a test case at hand .. I wonder if IRQ aliasing happened - if you remove the "goto out;" in free_irq_by_irq_and_dev(), does that help? johannes _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um