From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC579C64EC4 for ; Fri, 10 Mar 2023 03:45:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229977AbjCJDpu (ORCPT ); Thu, 9 Mar 2023 22:45:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjCJDps (ORCPT ); Thu, 9 Mar 2023 22:45:48 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0874EBDB2; Thu, 9 Mar 2023 19:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678419948; x=1709955948; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=BtK5yk4L+JcH4nc/mPssOI1zi/KR19RumHOvaryUomQ=; b=cJIEh8kPbqNraHkPfFA3XyVsNJ6BxbOHQ/AkcyiTktFYSXRB0SQRVc4F C+5AH1oF9tveTrlSuBcQDlzAIPcwuhjIiNYspJ3b0wopkEyd6YcYjLrtB cZUHIYKtlT1qhSCBZr+1s4awvnpYJSedIWFePC8Z0TesIU92+49uSy9iv YWoOTmLep5HlpWgMUAqtiFgbqDLOmXmKFXASEP3+aE2j9r2+HOt3NVyS1 vkZ/0c99pr+HORVysgLEaW1A9vQ+kmFZ+0TQP9Lb3I9yr7fT1Z2Cndw7V /KL2ipnW7fIildvFNxKu6dNtODqVW8jsnsOzdErMygGacCjq1gXnx+uW1 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="401498152" X-IronPort-AV: E=Sophos;i="5.98,248,1673942400"; d="scan'208";a="401498152" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2023 19:45:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="741809582" X-IronPort-AV: E=Sophos;i="5.98,248,1673942400"; d="scan'208";a="741809582" Received: from allen-box.sh.intel.com (HELO [10.239.159.48]) ([10.239.159.48]) by fmsmga008.fm.intel.com with ESMTP; 09 Mar 2023 19:45:41 -0800 Message-ID: Date: Fri, 10 Mar 2023 11:44:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: baolu.lu@linux.intel.com, Robin Murphy , Will Deacon , David Woodhouse , Raj Ashok , "Tian, Kevin" , Yi Liu , "Yu, Fenghua" , Dave Jiang , Kirill Shutemov , Tony Luck Subject: Re: [PATCH v5 3/7] iommu/sva: Remove PASID to mm lookup function Content-Language: en-US To: Jacob Pan , LKML , iommu@lists.linux.dev, Jason Gunthorpe , Joerg Roedel , Jean-Philippe Brucker , Dave Hansen , Thomas Gleixner , X86 Kernel , bp@alien8.de, "H. Peter Anvin" , Peter Zijlstra , corbet@lwn.net, vkoul@kernel.org, dmaengine@vger.kernel.org, linux-doc@vger.kernel.org References: <20230309222159.487826-1-jacob.jun.pan@linux.intel.com> <20230309222159.487826-5-jacob.jun.pan@linux.intel.com> From: Baolu Lu In-Reply-To: <20230309222159.487826-5-jacob.jun.pan@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 3/10/23 6:21 AM, Jacob Pan wrote: > There is no user of iommu_sva_find() function, remove it so that PASID > allocator can be a simple IDA. Device drivers are expected to store > and keep track of their own PASID metadata. > > Signed-off-by: Jason Gunthorpe > Signed-off-by: Jacob Pan Reviewed-by: Lu Baolu Best regards, baolu