Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1470559imn; Sun, 31 Jul 2022 08:13:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v4PxCDoRwFAy0HEiWenCwCmoWRGpRh2cotfewcWw6//2YwovCQzm+Z+Tk1zObSM2GapOJO X-Received: by 2002:a65:4106:0:b0:41a:eb36:8af7 with SMTP id w6-20020a654106000000b0041aeb368af7mr10030392pgp.105.1659280408384; Sun, 31 Jul 2022 08:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659280408; cv=none; d=google.com; s=arc-20160816; b=U5IYphmoGi9B0KXTgOa9NwQoVO9mCmpB0M4e6uiBGrzqSYkmfNg5cRuy4tvSx6QIOx C5SzpW0lqjmDdW9K1uY/LzL0NIRQAWDwubHBbUEPBkTx/kIsK2JagnuKqO01JMmrBu2p rkTYTGiNlVLbQz9nz45nB74J+6Ey5xQ6mtEAB/VT/bF4dFurfilCL8OU5JdhUtptMZgR WOVtENSGGetyV3dv77et3kHCQlltZ+qflKPxH0Gc106FM0JaUxDhgPngtvjs302Y8Er8 WqUBG+ee+HWpVAgu46rGGN8GqHYD3skk5N+bhoxjwqBGNcWEAMZ7ANAxu4u6nmir6yea D0FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=i9ujE1SsX45yFRfAHTTubtKneP6jPQBZR+tzNyt9LyQ=; b=Qj0SZZJBZFhsYCGxBazyeiQozsNNNRPTkva72nDZt9JvKGj0lzwxlyfYivskZD3LnD 3CelblBzEhcTUV7YQjIsPvkiYEjrfJByT+fZuBv5IEfHSYkwCpCudDm0vjV5JuPjptt0 8oB0kA2wGC9tbDOofyHTVEcQu2DI4soohHspp1CQViIOyTevXE9c4pU97hIkaVOZI2Yl VuMLD2bWkptDN3tgf/zgp19FXW+4GrLgNSiyR0yKmFoNkyMqwFHlG6m1ycaYp5AFW+FL DGQp8E2cYHUzF4/+8RCQjKHm+ZxB/RHfLbmB8NT+CODaOOU+m3hAJAkmYYJCP35A/E5B zK3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cMJ0kZYo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a654389000000b00415abc3c2c6si10213659pgp.521.2022.07.31.08.13.11; Sun, 31 Jul 2022 08:13:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cMJ0kZYo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236922AbiGaNdc (ORCPT + 99 others); Sun, 31 Jul 2022 09:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiGaNda (ORCPT ); Sun, 31 Jul 2022 09:33:30 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BD88B874 for ; Sun, 31 Jul 2022 06:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659274409; x=1690810409; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=L128BTCkAu3V8yEsnQdkBwexWdo++stpksb66pAAfVo=; b=cMJ0kZYoZw3Zq0Ji1ZF2L5Fn7EamdcDv+M+NQ/ynnCeb2NYJ6Ih2v1yR z58NrYTwe21NZPDCxTPnqguVFhGYImDOfoUo8L/NkBA+OnCnvXPZ7vKf+ h7rKkEVpQaJcA6qwF/yw7VPE1TXoUQ2E397u1dw+D44KrNgtzwOazp7dy CfWc9Kc+NjiAIaaaSrTXvfTFb28RbsKcQFCArfEjO/dCZ1e/x/2jnQd8K k+2wmqDF8vqlhr3tgmO19sM1T+t2TotH+WhQDDt706ppGjrkBqQOTogle m145x+JLZJKzmgHzi7MbQPKxtZva6zd0LORzceR3tUaQdQjy/gtVxmFfv A==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="269377763" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="269377763" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 06:33:29 -0700 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="629930609" Received: from blu2-mobl3.ccr.corp.intel.com (HELO [10.254.208.191]) ([10.254.208.191]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 06:33:24 -0700 Message-ID: <31134c57-8f2c-d5a9-20d3-1c089a6ff58f@linux.intel.com> Date: Sun, 31 Jul 2022 21:33:22 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cc: baolu.lu@linux.intel.com, Eric Auger , Jacob jun Pan , Zhangfei Gao , Zhu Tony , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Jean-Philippe Brucker Subject: Re: [PATCH v10 01/12] iommu: Add max_pasids field in struct iommu_device Content-Language: en-US To: Yi Liu , Joerg Roedel , Jason Gunthorpe , Christoph Hellwig , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Dave Jiang , Vinod Koul References: <20220705050710.2887204-1-baolu.lu@linux.intel.com> <20220705050710.2887204-2-baolu.lu@linux.intel.com> From: Baolu Lu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yi, Thanks for reviewing my series. On 2022/7/31 19:54, Yi Liu wrote: > On 2022/7/5 13:06, Lu Baolu wrote: >> Use this field to keep the number of supported PASIDs that an IOMMU >> hardware is able to support. This is a generic attribute of an IOMMU > > a nit. it should be the max pasid value an IOMMU hardware can support > instead of number of PASIDs. right? More accurately, it's maximum number of PASIDs supported by IOMMU hardware". Best regards, baolu