Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1999751pxu; Fri, 9 Oct 2020 05:33:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW7XyxVw3BFWKy2pRbL70HoJIh7P/fBzGfJGA9CiwQFUDg5JW9ZF9w5Y074Bt5k6brZTbq X-Received: by 2002:aa7:c7cd:: with SMTP id o13mr14266243eds.114.1602246826430; Fri, 09 Oct 2020 05:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602246826; cv=none; d=google.com; s=arc-20160816; b=sXOhWKDKQWnToEeCFJTDfj60Wu6SJzWFkRsxoWWFv42H6p7QXBHJ58QuSDQR6vTcRf 9bCGRCLgg7oWYPn/hw1JQ2bipVt1vJTDBZRzonGNutxaY9V543ThX0MwD71s0BkLnNAQ X7409Ae2JkbvnmLYDrOTOk60/QOIRJrbdfLn3SC7mtQZH4B5B8uKRzM3zJu1GsZzXtXf nHJSVCgu4SYMr+Q7K5Y8pQ5b+2guWDBfZ9TIkirgoV470apUEglttv+HE6OlZkm+K4eX PbmZlYwvCFCanolUfm1VHVh1D5vgkjHMFdgjcTJsUPi2Ynqvje4clX04eGA9fzV6rFfg VH4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Pu6uFYl5g3lWcF1Rf0VrnUrLJTa6VGuUqdl8E16TQmI=; b=Jc+Q+WvA4fkvRU/FmFM3Vj8YspfdGhsZlYjO50bB2hsdcss39CJBfclsZ05UWVQ+WQ fDPNgE7a8iIvjmX5mliL7oClzbh3HunLKwIAmFRI6qj3wDr6ULzV9VWqLKbQO60kKg+V t0Lz+rCToHBBUEoSmSBTPmusRlfpnYbI5WmOhsLZm8f9uurywzY+qI7CN8hOhjIbICmv NcQMSGEhY4uKFZsvNE1Cw4NaOwq6hBVk0MvZINRCyKAU62SkcoSXIm4MCglNBo7SYBY4 SFX7cnIkVVwAEajOR5HJqFfieV7qeazOxHQhRFG88kbCf38Kz08mq/9XV35nxagRQXaB Durw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JIxKJHC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h25si1551408edt.103.2020.10.09.05.33.22; Fri, 09 Oct 2020 05:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JIxKJHC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387511AbgJIKMq (ORCPT + 99 others); Fri, 9 Oct 2020 06:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726357AbgJIKMp (ORCPT ); Fri, 9 Oct 2020 06:12:45 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75B86C0613D2; Fri, 9 Oct 2020 03:12:45 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id x7so2133496eje.8; Fri, 09 Oct 2020 03:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Pu6uFYl5g3lWcF1Rf0VrnUrLJTa6VGuUqdl8E16TQmI=; b=JIxKJHC35w3/PF+7f04UAQOW8ZrXMCY89C4aZn0BU9wOCIWohsh5nFBNPbceAsv575 NUTUL6jIkD5JaokEejtHZPzRyCgHo77espaNNIsydVTc29T1Osv0+ZLqfKyny7E717t+ taqqYZylTX9LbGRW1tSCmHk/wOJBEvzEl4Prdq2hWQf05uB4Gs3Mivn22QdyVZNSO7IF k4ruanWe3DRCjzlRhHytK+RMOHhvKc9O+Q5rrbcWN7M5b2pFb8g1Rbh3BQ1BmSvl4eQg YlDL6b9DJso2CKzuotE7JFYusQbJ/BDFRzf5/n/FtO6l6RM+Bt+sQea7vgWhM8lJpjLs 1uow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Pu6uFYl5g3lWcF1Rf0VrnUrLJTa6VGuUqdl8E16TQmI=; b=XKBZbu7RULem7CpcLegvNYijfJ99Co1Zx/5ZSyeORUr0ERKhYoi2UqE5WqJsVV4hCN Qz06G3OZesxgTiHM5fjoeLEH/as5fB2CRQohQkJ0SgxVBKaw3oVhkEZEHMfRPVDQHLxq kCafui/Qy7QpzimJmrBRfNNRivS396U5v1luk/8Lqu8ZiTWZrpvy9Z9Fqia2hwNDw/2N A0vGr+/4KMH97wCtw/LpOvHUoRa60VIwOcD7sH2OH7li+Ks4sCimoyBFlSGjd3NgalM7 lIl4O0BsjI2MtHcwb8bbEDISQUd7E7ml1WiSv2zXdElyPHt4H6oJ727e7/nOl9jhRDA4 xuyg== X-Gm-Message-State: AOAM532uVR+Gk92yHtLQ3yRQU8CwxYyOqq6BrrNz554MjMA/A8ivKsPD hNUfMo2w3Id4TE4uDxMAu/c= X-Received: by 2002:a17:906:bc91:: with SMTP id lv17mr13978607ejb.249.1602238364034; Fri, 09 Oct 2020 03:12:44 -0700 (PDT) Received: from skbuf ([188.26.229.171]) by smtp.gmail.com with ESMTPSA id n22sm6012278eji.106.2020.10.09.03.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Oct 2020 03:12:43 -0700 (PDT) Date: Fri, 9 Oct 2020 13:12:41 +0300 From: Vladimir Oltean To: John Keeping Cc: netdev@vger.kernel.org, Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Jakub Kicinski , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: stmmac: Don't call _irqoff() with hardirqs enabled Message-ID: <20201009101241.qr6blbfyamtuzrwy@skbuf> References: <20201008162749.860521-1-john@metanate.com> <20201008234609.x3iy65g445hmmt73@skbuf> <20201009105945.432de706.john@metanate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201009105945.432de706.john@metanate.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 09, 2020 at 10:59:45AM +0100, John Keeping wrote: > No, it's not, although I would have saved several days debugging if it > was! I backported the lockdep warning to prove that it caught this > issue. > > The evidence it is possible to see on vanilla 5.4.x is: > > $ trace-cmd report -l > irq/43-e-280 0....2 74.017658: softirq_raise: vec=3 [action=NET_RX] > > Note the missing "d" where this should be "0d...2" to indicate hardirqs > disabled. Cool, makes sense.