Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4437771rdb; Fri, 29 Dec 2023 01:29:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBZJ2u4gXcHVQ6dhKB3k0UdBs130CuJxsbtCxhM+HpZekydWUFsmsxHpiw4/r8TDz6/4+i X-Received: by 2002:a17:90a:4ca3:b0:28b:60c6:f4bd with SMTP id k32-20020a17090a4ca300b0028b60c6f4bdmr3909717pjh.3.1703842146423; Fri, 29 Dec 2023 01:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703842146; cv=none; d=google.com; s=arc-20160816; b=m1ME9GPi8aaajIolP5qvR/5ArIt3lOPKLc0lVuJNfG6XDDPYkAFbiaGR91487EkAXc xa4TGLyJgSUTNYiNjcg8LEyeIEdJKifOcL5pGEWSmjrT//S2kjP9IXMiDITskcme3G+U Sa0dK8H734lr6smfs96ZIG2/Y7IIxZW82N2i2XmBdphXtDklVKtIQU91c0LK02tPuT3R XlZ1jvNJt/QJHYogsrEIobMoLhC1kwc5uc8f1z/q1VENfjHiKAdm7tmEffV/ytRwawVh +GQX+eDYfdLKkdJPFRKwYUjgLxyPwJ8Zlxxuv1rVlOVwb/4PXnsaEndCkOF82yc+VRaO fztg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=9F38k+pSd9gaNSPETa8FiaAshkUbWqyJ2v+tMNBcRFs=; fh=5zLOwD0S3wC96OEpeaArQtHf0AZNszbOE0b79dRPq+g=; b=FkLNCIGa9YVjb2Sii5fKCOCho7/vft8nAx4TuDCrVcicy/c0fDjhQZd9VZl/SovBrF RJofIvj5QeMsMOsemORtmrqwhPclOhmnpGA5HAwJQ/xPX1JSODDlroOB6ZNxXs5nJEMY TBeAiQ9ifI6FPxiDR89YIIpMssJW3N/O0Ar0SuuPFpzHgTzdJu0zWIUZhEVlBjlcLLoW 1XdLjOoNeZOWFlyxCZS6UlHE9Rnwr6k7iyySsg8HFxLGfjK/LL/s3apdZLplS7zKZr8p wyYoXq1d4wIFyvBmG4eELJI3vKjFL3eTAGac410m+e5a0tEkGpXrcq4l86fU3KsXT8VR /XFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ABdgmjKW; spf=pass (google.com: domain of linux-kernel+bounces-13037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id np17-20020a17090b4c5100b0028cb150bea8si754952pjb.158.2023.12.29.01.29.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 01:29:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ABdgmjKW; spf=pass (google.com: domain of linux-kernel+bounces-13037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3F3A92845B5 for ; Fri, 29 Dec 2023 09:29:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D90810A25; Fri, 29 Dec 2023 09:28:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ABdgmjKW" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3632210A01; Fri, 29 Dec 2023 09:28:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703842136; x=1735378136; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=fCPGi4wYrtRpwAnUyry4tOS8qG9qYsY1PjjUZyEwZvI=; b=ABdgmjKW6y6CSsJIMgtycW6ICicIOI1dpCNjPkqAexLX6CiWmza1yD2m 0K7Iat1MZpJjp6/Iru800SKlUppKci0qJUdfvjiJJGoz59XpGQ//Nr2Nh NtBE5pIkHHJ29u9VvYfegfIJED/abwVXJ1LehmiUVmsWv5FQwBVeIRosK i6XYo6Ne4JlQzWrsKqWpyF6AGd91xjAqmdxbApVI/079D7ODmwBMJQI8M FcfcazLjU2+Xl8yr87tWSsoPPOqN/DaIMrEqXihRADxL/DCO0q2L68cqy SBqgS6pFgaknlrcSPLcttksJMFFNNkdoRN7YqJoSvfE3C7Z5h/HXT886R w==; X-IronPort-AV: E=McAfee;i="6600,9927,10937"; a="460951865" X-IronPort-AV: E=Sophos;i="6.04,314,1695711600"; d="scan'208";a="460951865" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2023 01:28:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10937"; a="849175048" X-IronPort-AV: E=Sophos;i="6.04,314,1695711600"; d="scan'208";a="849175048" Received: from zhaohaif-mobl.ccr.corp.intel.com (HELO [10.93.26.117]) ([10.93.26.117]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2023 01:28:52 -0800 Message-ID: <9c10b57e-bdc3-4cfa-944d-21f5bcf2f4f2@linux.intel.com> Date: Fri, 29 Dec 2023 17:28:50 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v10 0/5] fix vt-d hard lockup when hotplug ATS capable device To: "Tian, Kevin" , "bhelgaas@google.com" , "baolu.lu@linux.intel.com" , "dwmw2@infradead.org" , "will@kernel.org" , "robin.murphy@arm.com" , "lukas@wunner.de" Cc: "linux-pci@vger.kernel.org" , "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <20231228170206.720675-1-haifeng.zhao@linux.intel.com> From: Ethan Zhao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/29/2023 4:18 PM, Tian, Kevin wrote: >> From: Ethan Zhao >> Sent: Friday, December 29, 2023 1:02 AM >> >> change log: >> v10: >> - refactor qi_submit_sync() and its callers to get pci_dev instance, as >> Kevin pointed out add target_flush_dev to iommu is not right. > let's not rush for new versions when there are still opens unclosed in > previous one (and considering most related folks are in vacation). Just have some hours these days to make it in well shape. Okay, let's think, and wait for new comments. Thanks, Ethan