From patchwork Wed Jun 15 12:26:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Palczewski X-Patchwork-Id: 1643723 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=kxlMqiqC; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNPh43KLPz9vDV for ; Wed, 15 Jun 2022 22:27:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1F738408DA; Wed, 15 Jun 2022 12:27:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S1x6GiiQhuur; Wed, 15 Jun 2022 12:27:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 27D1740AB6; Wed, 15 Jun 2022 12:27:13 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8F8471BF5A1 for ; Wed, 15 Jun 2022 12:27:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8A72940AB6 for ; Wed, 15 Jun 2022 12:27:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bnG3K9kbZ8t7 for ; Wed, 15 Jun 2022 12:27:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by smtp2.osuosl.org (Postfix) with ESMTPS id D04F9408DA for ; Wed, 15 Jun 2022 12:27:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655296030; x=1686832030; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JSkccpRUloPYm1RdhfIXHPXxzxXRU9wj9KgYiZyHkqU=; b=kxlMqiqC249N5msP37IClhOyEm+t7zk6nhhgbRMxDcmDc4O7xZNYsyxi swoeco7BKexETFbeuTLKEGDsP2PDj9TbhC1wqUxPVBQbvxHYtCsa9NXfg bf6/TMedb1/UaeauDpQKQwKFVfj2yYO8PV9NG7oFv2wDMrhoclUnnCbF7 WpQqrAsUgF0f/T23bP6ltL1HGaHzgVRIFNXGnDiyq3S7O1LgjaUejs6o3 UToCq74EGKVqEOiiIhZoJankGbg0J1l/4i7tMN5Tu6U7nrMlRzrnpoZ/4 CkPfRGkkcDB13pV7P1W7rlCb7uE+mW611R3YzT9kkv4oYwWwgV2p8tRmS Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="259404301" X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="259404301" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 05:27:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="589087528" Received: from amlin-019-046.igk.intel.com (HELO localhost.igk.intel.com) ([10.102.19.46]) by fmsmga007.fm.intel.com with ESMTP; 15 Jun 2022 05:27:09 -0700 From: "Palczewski, Mateusz" To: intel-wired-lan@lists.osuosl.org Date: Wed, 15 Jun 2022 12:26:51 +0000 Message-Id: <20220615122651.26949-1-mateusz.palczewski@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [Intel-wired-lan] [PATCH net v1 0/3] iavf: Fix pending DMA allocations while released from device X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Fix multiple issues that can arise, when VF cannot configure ASQ/ARQ properly. Failing to do so can lead to driver hang, null ptr dereference and possible DMA allocations leak. Przemyslaw Patynowski (3): iavf: Fix reset error handling iavf: Fix NULL pointer dereference in iavf_get_link_ksettings iavf: Fix adminq error handling drivers/net/ethernet/intel/iavf/iavf_adminq.c | 15 +++++++++++++-- drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 6 ++++++ drivers/net/ethernet/intel/iavf/iavf_main.c | 11 +++++++---- 3 files changed, 26 insertions(+), 6 deletions(-)