Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4042691ybg; Fri, 25 Oct 2019 12:29:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiV7kfkbilTu+Gtj9yHlJlpwbt5rF9/+wYrpWkKGvqlGUP2lcpUqQPQGUmtFkdkogzXNoN X-Received: by 2002:a17:906:7212:: with SMTP id m18mr5106486ejk.88.1572031781485; Fri, 25 Oct 2019 12:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031781; cv=none; d=google.com; s=arc-20160816; b=oIe1OjZeGCRaqBgjC6UFJFaxFg3RsO+lryW+CLBJMTdG45rPN4sty0k7Br+Kk2pXvI ypz2Tc+aSK84B6vrDr/dJUd17MoloIVQbfcP/E3dFQ0OLdNgzECT/v8OOnbvf/BuoH0Q h3p6t75QgWyRD/MfxdaN1ThaKEybTUQJk1uJNGSmf9uU9OG8LM7kwNf34f8bBqul9BV/ ZB8Icmi53u1beTVzeJJJk3tKYY4NZLMRMaUsCzUsb6PFRaPbg6JJwIQ9QxgmE5W/R2MT YN41hMyY7OA4i1Hj5qCLGm0n0uH2X4gK5EhD8GpkhYdqZZhgo80XWhbJ2lmrT2W84iQI yujA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=3ZMFqC0Ga06O+CiAHyIweD0gLPK0GqTY0QMhH4+eG6k=; b=fH5tOxBomIj/QNGYYw9jU0VDENhdZ8SrPSbEnBkPsloqpS/3qXl1A7PKYw8NfivExD B6vR+EniS6tfcqZt84t/a5iD96aCRpEEQsnL3xR2ENHyDFKHK8dJfIKRL5du4yVqJ5wA BVwC1AbaYCdSNjAn3hB2DpvD/7lGXyR4uXgVPlgUzEI7qB+8+cAWcu22piwzcWuy4i/A PUbnFRs3r3oT6hSv1s94o4Q8bRP/k+09pz+gD7WaN7t4YmnsKugxxpCaUliQuuHsNdsL CKjbjYLTAT/ixG2A0gklfUnKoeKGtt+uDoPRnpU78q1DyoxVImroWwQEcm1qBHx1bQaA IuFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si1584923ejp.425.2019.10.25.12.29.18; Fri, 25 Oct 2019 12:29:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407113AbfJYHgt (ORCPT + 99 others); Fri, 25 Oct 2019 03:36:49 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:35638 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406055AbfJYHgt (ORCPT ); Fri, 25 Oct 2019 03:36:49 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1iNu9K-0001MM-Tr; Fri, 25 Oct 2019 09:36:43 +0200 Date: Fri, 25 Oct 2019 09:36:42 +0200 From: Sebastian Andrzej Siewior To: David Miller Cc: dwagner@suse.de, UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, woojung.huh@microchip.com, maz@kernel.org, andrew@lunn.ch, wahrenst@gmx.net, Jisheng.Zhang@synaptics.com, tglx@linutronix.de Subject: Re: [PATCH] net: usb: lan78xx: Use phy_mac_interrupt() for interrupt handling Message-ID: <20191025073642.3ov2lwo2sr4nrdzn@linutronix.de> References: <20191018082817.111480-1-dwagner@suse.de> <20191024.145716.1208414850964996816.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191024.145716.1208414850964996816.davem@davemloft.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-10-24 14:57:16 [-0700], David Miller wrote: > From: Daniel Wagner > Date: Fri, 18 Oct 2019 10:28:17 +0200 > > > handle_simple_irq() expect interrupts to be disabled. The USB > > framework is using threaded interrupts, which implies that interrupts > > are re-enabled as soon as it has run. > ... > > Where are we with this patch? I'm tossing it. > > It seems Sebastian made a suggestion, someone else said his suggestion > should be tried, then everything died. > > Please follow up and post when something is ready. My suggestion with the nested-handler was nonsense. The suggestion with the local_irq_disable() before invoking generic_handle_irq() did avoid the warning but the NFS-root was not stable (and Daniel reported a lot of USB interrupts coming which indicates that the interrupt-handler is not acknowledging the interrupt properly). It works by reverting the IRQ-domain code as this patch does. "Works" as in "no warnings" and "NFS-root looks stable". You have two ACKs on that patch. I could ask Daniel to repost the patch with additional informations. My last information from Daniel was that the rpi tree works and I'm not sure if he is looking for the missing ingredient or preferring the removal of the non-working code. Sebastian