Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4625347pxb; Tue, 25 Jan 2022 14:51:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw39tspgbbPfWrSerPuRgLY/Ymd30/rlqctYuVwhaS/P8J7LK89S6yCD0jeU+rPafN/WAr7 X-Received: by 2002:a17:90a:7024:: with SMTP id f33mr5702310pjk.15.1643151101841; Tue, 25 Jan 2022 14:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643151101; cv=none; d=google.com; s=arc-20160816; b=gedetL+dC0GaNeVY2P5UQLeGXZYIJim4OBWcM8gfkT3nIsXhSNxt7TCN9LqYKcRm8B LgRCCEchC4th710CZXCDKDLq9OU1lB1APCNGDAmLdkui0HQJ+XU3PMQQD+gg++FYhBaH YlM9GgbV4bwAE0bHa5qmigj+ezJ1Rgyr8eYQAG0K9Cijn9aT23XVZVKh3xCZc2KEU41L mHeycv+FnwKpR56nro8fe5/kb8swCJG6Y5VUWHOFSMTrlUY0W9jKZUm7rNBxovG7vwO8 uMumS1pxtpMkc/nAAN/4yHUHAanUFxq/015jc7TgJueRazYVYdkTrk8rM9mnT83BkIzS bjfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=h4QaobaREBT34jPUNbWL8oT3qs99kcWz+wMge0XVAiw=; b=SPYxthbtPyJGhBc5IOKQC5JMzqEDUNti7Q3lvzcLal1SbAM7Nnv/6wj5SSHXMqaA02 8VsQYfUfTrZZr5XYLoHwDi6txpZ8f6+KHkyvM0pApX4O8dCxHyKhVWBLdD5eAhGg6mv1 rJRsvJBYtx5i6jubVl0wAzPgm8/TSv0D3HUD+aMomz/xdavXKZpJ5XwxTxSJ3mXAlNVx JeNYBtmxRCND0xM1cgqhP9uxkM5yV5kaaz2QUwH/Lf/qm29pHcyMN70dSY8ZgKmEo0mR ymRXWLWBirz8Sul9Ayqfaoe8jC5nlBIPDWIer8Q51XC7UIjTLi0PvVFEhjYDOMYKEFTK ooqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gAzWjAGN; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id my13si4055526pjb.1.2022.01.25.14.51.30; Tue, 25 Jan 2022 14:51:41 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=gAzWjAGN; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351948AbiAYPwc (ORCPT + 99 others); Tue, 25 Jan 2022 10:52:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1582592AbiAYPuT (ORCPT ); Tue, 25 Jan 2022 10:50:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F16C9C06175C; Tue, 25 Jan 2022 07:50:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9345C61709; Tue, 25 Jan 2022 15:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B89D0C340E0; Tue, 25 Jan 2022 15:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643125815; bh=Mi5eVYM6QJCHabfvmRhwsZzeukWWaZZdSnpEj1Kq9go=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gAzWjAGNNWq5M1HDijXlRV1Qm54BKJNF0JBd+33oKVFdZariM2Lfo0AU+od2dhqnD 07Mr/5o9mfrxEa2jWYedwqw2zO8KsgfPwylN+oXciSfgR4QM+qOe/MyGhpj2mJzd3w jrDfGXrEouH6ReLLBqJ38+Zhd73K9zlBLPRpzPR8SiFWdSZX3rSGTvSKbDsOk7+X/I Dq1Jkr+iVHRZ9kjFeGJWeeOJFCuZwM3fyG4cFmyhJBvi9FGhsmlwtOw01jhoFjTEVW 5LMU6t2aorVHunhvkF77kGyv/GJSRyY2KRxGjTIL5Rlzgg/k4j7fDX0mYTBig0vlEy 6A8M9tPgSAIQQ== Date: Tue, 25 Jan 2022 07:50:13 -0800 From: Jakub Kicinski To: Guangbin Huang Cc: , , , , , Subject: Re: [PATCH net] net: hns3: handle empty unknown interrupt for VF Message-ID: <20220125075013.6d5a9d0a@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20220125070312.53945-1-huangguangbin2@huawei.com> References: <20220125070312.53945-1-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Jan 2022 15:03:12 +0800 Guangbin Huang wrote: > From: Yufeng Mo > > Since some interrupt states may be cleared by hardware, the driver > may receive an empty interrupt. Currently, the VF driver directly > disables the vector0 interrupt in this case. As a result, the VF > is unavailable. Therefore, the vector0 interrupt should be enabled > in this case. > > Fixes: b90fcc5bd904 ("net: hns3: add reset handling for VF when doing Core/Global/IMP reset") > Signed-off-by: Yufeng Mo > Signed-off-by: Guangbin Huang Applied, thanks: 2f61353cd2f7 ("net: hns3: handle empty unknown interrupt for VF")