Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4811436ybg; Tue, 29 Oct 2019 12:45:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRHL0hktuyqfSJ7XZuEzpwbzLdB168QabOLU4FOgv5FcpRz6DhoMS8evqcQRTL395bFv5M X-Received: by 2002:a17:906:f181:: with SMTP id gs1mr5044215ejb.13.1572378324486; Tue, 29 Oct 2019 12:45:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572378324; cv=none; d=google.com; s=arc-20160816; b=DoSkD/Zk+rXPuuPH0Eea/us6Ozu4z8FA/Wn5nldiQXwimCuwq4S3RvxwBXV7/4gWSx 3ukXaVQ8YSQF4+B9BEuz60KJFG1Ft6vqDjyfgDi1pToyVhSwGR4fzKLdT0ka+1zPwpBh XDlI1ZnF3b26scd6HGL/8S4cG6lDfTM8Z1HMGVr8mquw6V8rD6AM1yKxz/JcV5eW5crp f3ppFigBUvbp02KumkcqrOZffDaJ+Ln4DmaNBmnLve/oxq9q+m9Yqf5ziabjVJ9hZMVH yu5ZTQiTekf82u2tR1c+nFJ+Oap32TzqbL/9hhWTkbjci2wGfUee+SauoyzVL/dao/X2 Gjcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=H2PWZ1xtX1mT0xgZsIT8riInQkRvqx3bABxRKzL24Pk=; b=tSu9a2dTMeqMndCBr0SWolYv5eGIO6HDcponRQjbv7VFhb+pYf6vfLqQsjFpp23Lad cOSNlkHh0Y08mu0BUELk2zz5JhAI9vj5mV9tcC3i4ZXARY+xkPAMRByjl2iyHYpwWieo 9mgp/bNxzqfSBTIw5lWDXoNzhRHvZx4TWM/MfNW86BKVoD/vKSolmE+E/D2TZtYi+6Gf 0wiO3AwGjWh6rdMM/94sTaRiVAPdqYceho6z5SRPP83lWhIcMRzUbhIvaLozXU1riPTu YwsHzmjC2rb1M9NT2jryiKlelbMIp/mVgAa3mEIjbY/xibSx5N5een36JQ4K8VLlcKTn fJzA== 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 a27si11132522edm.187.2019.10.29.12.44.59; Tue, 29 Oct 2019 12:45:24 -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 S2390529AbfJ2QlV (ORCPT + 99 others); Tue, 29 Oct 2019 12:41:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:48320 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390425AbfJ2QlU (ORCPT ); Tue, 29 Oct 2019 12:41:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 84860B57D; Tue, 29 Oct 2019 16:41:18 +0000 (UTC) Date: Tue, 29 Oct 2019 17:41:16 +0100 From: Daniel Wagner To: Stefan Wahren Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Woojung Huh , Marc Zyngier , Andrew Lunn , Jisheng Zhang , Sebastian Andrzej Siewior , Thomas Gleixner , David Miller Subject: Re: [PATCH] net: usb: lan78xx: Disable interrupts before calling generic_handle_irq() Message-ID: <20191029164116.44px7mtwrauquurz@beryllium.lan> References: <20191025080413.22665-1-dwagner@suse.de> <46b35c32-4383-c630-3c52-b59bf7908c36@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46b35c32-4383-c630-3c52-b59bf7908c36@gmx.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On Sun, Oct 27, 2019 at 01:14:41PM +0100, Stefan Wahren wrote: > did you ever see this pseudo lan78xx-irqs fire? I examined > /proc/interrupts on RPi 3B+ and always saw a 0. # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 2: 15 10 20 14 ARMCTRL-level 1 Edge 3f00b880.mailbox 41: 127709 127690 127596 127783 ARMCTRL-level 41 Edge 3f980000.usb, dwc2_hsotg:usb1 61: 219 208 183 192 ARMCTRL-level 61 Edge ttyS1 65: 1285 1340 2112 1483 ARMCTRL-level 88 Edge mmc0 71: 11 15 13 13 ARMCTRL-level 94 Edge mmc1 147: 2823 2995 3648 3615 bcm2836-timer 1 Edge arch_timer 148: 0 0 0 0 bcm2836-timer 3 Edge kvm guest timer 150: 0 1 2 0 lan78xx-irqs 17 Edge usb-001:004:01 IPI0: 11102 11331 12204 11011 Rescheduling interrupts IPI1: 34 537 547 523 Function call interrupts IPI2: 0 0 0 0 CPU stop interrupts IPI3: 0 0 0 0 CPU stop (for crash dump) interrupts IPI4: 0 0 0 0 Timer broadcast interrupts IPI5: 0 0 0 0 IRQ work interrupts IPI6: 0 0 0 0 CPU wake-up interrupts Yes, this seems to work now fine with the current version. Thanks, Daniel