Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3500479ybh; Mon, 5 Aug 2019 20:08:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwidI6HXA0GHUCNzrQe4m1qpNAdnS9zu8wCjgeDInM2UhsPcbjS1zECBjYeKOEhZRy7SNP+ X-Received: by 2002:a63:f857:: with SMTP id v23mr983247pgj.228.1565060921383; Mon, 05 Aug 2019 20:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565060921; cv=none; d=google.com; s=arc-20160816; b=VRvln+AifY48vX6k8hGtRMnqHAsLoPHPjoGBD/Cjy7OJcEAj3tRrSI5yrnKMPWql5t LSPbApXd+qQ3NFR0f2TYysuBTOJrsJSe8A+5na16W8bBtGs7KfeYdqcnA84ZNEdqI3Sa +be3Hm4qaKLxt/W0jV6U3i6PG0Kb+KdnOwxZhalLAxKJIbOhmXhN8lcjlZK8XDRR1Yfh 88rscFaGJsf0mWyqiynRIjkrV8db2qVHdGN+m8XhGifRdu29jb9vbWldprgKjD7W5H8x cKj7hGbY5/7W0pjbQcK4RUVeBuvrMp5agGUgs3WOsPsatle4rcUAPSWl7i9tggPxAg8r wu9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=FlvubqIedgeUlDz/PPiAaJ/H2Njn7iS17Qlm1S+ibcs=; b=YDS6w1VilXRHSlAzoBzZthF3UN6cktCbOuoSW7LPGFotN3GtOjoqXHUl08evBIhVvJ b2qVnQhl16ZRbUUe3eNfw+6mz/X63lRxn7AT6YNasd0cVscOdknkV4wiG6wBVgzDc7QU doLE1jdHnIokUqilPWhZeCDg4lLKQhXCluSWjHnPBpBJ//QaSOEYNGUplVePwvwrZ1sc TX3L0Szd12p+mz6sN2ldGznpOs5xyd5SzOau6oLrSsbx3PaMqCaokk43qsP8v2xbmenq ysBtMGFqEMeoU0p63rRLp1axYeF6v60Q+tLwoP31siP4nEoKRpCl1VgPwJDep9e/pisd K+eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=ynfiagkh; 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 w12si41787769plq.92.2019.08.05.20.08.25; Mon, 05 Aug 2019 20:08: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; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=ynfiagkh; 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 S1731412AbfHFDGV (ORCPT + 99 others); Mon, 5 Aug 2019 23:06:21 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:38685 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729334AbfHFDGV (ORCPT ); Mon, 5 Aug 2019 23:06:21 -0400 Received: by mail-pf1-f196.google.com with SMTP id y15so40676335pfn.5 for ; Mon, 05 Aug 2019 20:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=FlvubqIedgeUlDz/PPiAaJ/H2Njn7iS17Qlm1S+ibcs=; b=ynfiagkhgmGZERUei2yzw6PnvDoOnOGKaEU+BMUJIRoWffXtOXvM7JmpSEltHxNXMA oYyljM/tmGwXdC30QlWHHWbcRrYE9qBwLWv7umSLx8+B/ECw6vRLRLIHMOgbn3pi46mt 4A3L0A+DOhRb2pQbdkqq3jFUo0M2J6N8Rn5GpoEo7cWttiHS18T3tj0og3hmA6lPjzMr 1H5xB2mVcdaFWSbiEBswqQ5jiRkhy1nkaEyR5ccR3jTCnjHxI4JKgfSa15Gn6ncXadnj trmN9tyDkV9ItvX2nZJGnL59ViA4Sqj8UWgo6MZ7JXNTK5w2kx2RIoBKs7hBnfU4I30G /Vfw== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=FlvubqIedgeUlDz/PPiAaJ/H2Njn7iS17Qlm1S+ibcs=; b=Bo3xYRgDo8LfGtpHS7LMiw/kPfD5s5dYEJjDD+Gyf2iRLY8LUZozYl5rRTD0iV1esv d4tY7MJ5YK6Mqx9s3J+8u43R/Q2EWcBEzijTdENjG45nwGq72VgcuhxgMpRiqnAM28TM uuSWtq5LZ3RBdrQwTMByq7wIFio5yeCk/RrEgdJvIma7FPzfZeLh0f5Z9bQAvb7mTCtW RV4+G+eXWZ+veNUqRzVrcm24BRpEBsEnj5cBlHwkeh+/nSImLRM6zyVczwT0JxQfQsG2 4DTILajqo8MDp3O6Of/c0WCW/SnyWZ6yhAuLTukHbA6wNNkruDdw8J/2QXPLuMlyM3JO nHBw== X-Gm-Message-State: APjAAAUW9vhlx36HQAryE5YyT6azxwAd0vGvzCRdUW/LCcny0F6meTci St+EfdBC2WvWZc4EYCrmPgzoyg== X-Received: by 2002:a17:90a:b312:: with SMTP id d18mr822646pjr.35.1565060780443; Mon, 05 Aug 2019 20:06:20 -0700 (PDT) Received: from cakuba.netronome.com (c-71-204-185-212.hsd1.ca.comcast.net. [71.204.185.212]) by smtp.gmail.com with ESMTPSA id v14sm91912574pfm.164.2019.08.05.20.06.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 20:06:20 -0700 (PDT) Date: Mon, 5 Aug 2019 20:05:55 -0700 From: Jakub Kicinski To: Jiangfeng Xiao Cc: , , , , , , , Subject: Re: [PATCH v1 1/3] net: hisilicon: make hip04_tx_reclaim non-reentrant Message-ID: <20190805200555.5a171567@cakuba.netronome.com> In-Reply-To: References: <1564835501-90257-1-git-send-email-xiaojiangfeng@huawei.com> <1564835501-90257-2-git-send-email-xiaojiangfeng@huawei.com> <20190805174618.2b3b551a@cakuba.netronome.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Aug 2019 10:00:52 +0800, Jiangfeng Xiao wrote: > If hip04_tx_reclaim is interrupted while it is running, and then > __irq_svc->gic_handle_irq->hip04_mac_interrupt->__napi_schedule->hip04_rx_poll->hip04_tx_reclaim Ah right, obviously you can't do stuff after napi_complete_done(), that makes sense. Series looks reasonable.