Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1891085rdb; Mon, 9 Oct 2023 06:21:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8w75EbfEphnO8fSqK9g3bs76BRXoC2q9Fu/9ogwQPhGz2K5wjb8I0TI2nlGcRfOZfQArl X-Received: by 2002:a17:902:ec88:b0:1c4:4f01:d18f with SMTP id x8-20020a170902ec8800b001c44f01d18fmr17143620plg.14.1696857707859; Mon, 09 Oct 2023 06:21:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696857707; cv=pass; d=google.com; s=arc-20160816; b=uWR1J47yXTa8T+DrFU0w0BBmJvCQJU7uFvNzqVJVgudCJ2A2vFVqOZZLKQascWhBfk vvr1/KT6lK1ch2aKIcD2BMFIFIEuQMvuGN4Q/A095j9kK8L6sP1jqmMI5rfL4PwyrMcn fisxJgR266lNusGMlkxbSn1WDtjeoGzaROH7Gm8PzcdAEfC/1cTS0KwXNCsvKdMA0lwu yEmXFu4FUph1FOxUbxzFodDn2DzTZe6B36SjtviWK5/qu8zwpflosNMyO2AW6R5BI90c SXxfsu5ML+kzQG2wMfbRjTqroDN0TsnpaeYXoCgaeS7+ZOC8mnqjJn6LjGX2iapUU7ev 1egg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JKxVD0Oeo2gn+zQfqubTHtydjMUVSEnmEbyxxzmTP3U=; fh=mp6ZRZA4LRKdRSDcmzl6ujmp+qmwc3FjQgVN4/c0rcA=; b=O3bEJWem6emhNrIvDA6EvDQW3zSR4O1T+dDkEijQCJcEtARfpjSu9c+NncnAk6nP9C PlxONeZl7dwmIar+XqauSciPbwSxPyO4euqC0m2wKg0g/8GDH7vPqNyAustZ6dFitx2g snkIFhW68oz1R/+RhlytU9WCHN0BWh5rH252lnkbKt5gre9tn0LhaSs9BAAGvnXbaMkX vttgUoul/W1vKsgA7u4peDSj9QWdarIGp5m3wWv3UIMeOdUVfsNfyYEwxhznpPJKt9+u TlGw7bdFD7e7WKMHplNa46PfvGkFOEvc+hha/IGGNGOQ9qi5fs4IhnjfJk/CQFL1CQ47 +4wQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=eERgRIi1; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y18-20020a17090322d200b001bb20380bf9si10011266plg.545.2023.10.09.06.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:21:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=eERgRIi1; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C4B7480320EC; Mon, 9 Oct 2023 06:21:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376376AbjJINV0 (ORCPT + 99 others); Mon, 9 Oct 2023 09:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376370AbjJINVU (ORCPT ); Mon, 9 Oct 2023 09:21:20 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2067.outbound.protection.outlook.com [40.107.102.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFE7EBA; Mon, 9 Oct 2023 06:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AeSDHuk8+vJuJ4d935eHTgSUppQSgOTQ5+OAFh9JIrVZtxuLeLq3vywlcD5LwIUaYGVcpHU7kya7Q5+zVMrWt+OUtFyZWGWmxKWuXldIwMHZdcnC2CO8pbafB9s1XKWjcnCxf3lGljoRzH1ccGdVjJuiVJmxyeYBxrc72qVGLzil0+YRD17nrQK0YwV9S5q/rqsO6zQDNDDkytD7HAH4u/t5fVHV8tMERhFKr/R60QGmt7nFiKRKue9iXIJNQ4zU5xawbEieJdz51gvfY0z5Z3elKZI3lYcl5b1yVcoLmg17PUxB4oWv77hDWdYId/ah35FTfbWJAOHUSwAyzCEBbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JKxVD0Oeo2gn+zQfqubTHtydjMUVSEnmEbyxxzmTP3U=; b=hTAsMqmdxImIUNIyBkwOvA/1ELvfHQZpZE9SW+7d4NlOZMdkU86jjnVfScGLYeQrCAIKuVYO0IHvewxDUe5HEz9ztbwEHqlXm4NWyZcCtwuLUJXfjtDzuu+iuAJIm1k+GHf6WE9hHaAzbKNc/pOmWY1tMmHCzmiQZ0sAmuLz19wYt6YpyULClpLPs8VSFDN1qzV35JUV1OSl/DDdLITlds3X5Wm5AKnCs6OfZNRsZBw1TGORepyWWTSpIKBppHTPvF/C7KY4kWFDQwIKJDVZnadyOs5RpkXGXOCFSBN6mkIJO8p9xof4VCh39Z5tRmZy3AreeTfJAZWhVkLVJ0z2tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JKxVD0Oeo2gn+zQfqubTHtydjMUVSEnmEbyxxzmTP3U=; b=eERgRIi1ehZola8VkoIvDz1+UAMpqQjFhUavlSV1hNMLmadnwtei3XTYpX1VYX9t181yrCCcugDpBNDdliMfELHOP7qvYPkzU0wJEyyyjDTVfCPV9EBRDFUErwGeBInaIwYdB5FgUhsuWLCChQyaCCrin46HZuknci5g1SXWpchJjITR2EDbetHJRljqmZwP1XtdZkxjrPJfEoVE4VC0WkAGLW6/lS0JpRRWtY0pxMPEkeSwHhzBJiv7PllU1h4/6/MnQeL5+l2d3fK2WG4Go4mBKfoEqz4upOWCbMwgVLkS0ZVHz9ceu6GBLMO7yq0M4fF5RjIERw8KYem6Ma8IsA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by LV8PR12MB9418.namprd12.prod.outlook.com (2603:10b6:408:202::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.41; Mon, 9 Oct 2023 13:21:16 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::3f66:c2b6:59eb:78c2]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::3f66:c2b6:59eb:78c2%6]) with mapi id 15.20.6838.040; Mon, 9 Oct 2023 13:21:16 +0000 Date: Mon, 9 Oct 2023 10:21:15 -0300 From: Jason Gunthorpe To: Yi Liu Cc: joro@8bytes.org, alex.williamson@redhat.com, kevin.tian@intel.com, robin.murphy@arm.com, baolu.lu@linux.intel.com, cohuck@redhat.com, eric.auger@redhat.com, nicolinc@nvidia.com, kvm@vger.kernel.org, mjrosato@linux.ibm.com, chao.p.peng@linux.intel.com, yi.y.sun@linux.intel.com, peterx@redhat.com, jasowang@redhat.com, shameerali.kolothum.thodi@huawei.com, lulu@redhat.com, suravee.suthikulpanit@amd.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, zhenzhong.duan@intel.com, joao.m.martins@oracle.com Subject: Re: [RFC 0/7] Add SIOV virtual device support Message-ID: <20231009132115.GA3952@nvidia.com> References: <20231009085123.463179-1-yi.l.liu@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009085123.463179-1-yi.l.liu@intel.com> X-ClientProxiedBy: MN2PR10CA0016.namprd10.prod.outlook.com (2603:10b6:208:120::29) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|LV8PR12MB9418:EE_ X-MS-Office365-Filtering-Correlation-Id: e5144cd5-c480-40dc-21ff-08dbc8ca9e19 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A0ys9j73n/ZfEuLVf9udvm5NK8t81x5tvUneAnZOhrda1ahmx7l9v9pGZ7oUUtEJ7TAz5NcI8fFwqOT+JPQW+xwtOGP9U0k/GmWw1VHSTSCePxkM0IIoJBJMRiX8uQgsO+mOMv3AH65QuAFZzrinYRjQRbb3e1uyYbsJUGSNb/wTPADkyFuVuUURhLbTdQgeYalrE8nEuCdfo39jmP1wBwRRzjn3IobkZ4AIiPvDoZwXRrOFNSCQTtkLeFhY441wjMKpYai6MEcjYiHO9UKbJoDXYbYfZb+KzYEDQsqnhuK8sL6w42BIYY09PlvYHR7xyG2adjUzNv2qnbAjgLTrMxBmBxb28SYOOn1hvxMdCdu/R7bSwfDKkRkuoWUHJ0f71KwCqqLAtmZJAcx8T/w8invl6yHoKvX9OXDgZ3d60lD6c3DsyHAEl5XhFk4+gwtYez17LpzyYXn3e6v3PXOuYsLjXDkw+pQ0U2SRvaw93Kb03V+i1kTH0aedQUuyKvT3DkRiy1mLU0kv84APapnoc5zSPNtd9eiOkOdsbed5nZNbub+c5e6aRTxujPvv7iZw X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(396003)(366004)(39860400002)(346002)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(38100700002)(86362001)(33656002)(36756003)(316002)(6512007)(2906002)(478600001)(8936002)(6486002)(4744005)(41300700001)(4326008)(5660300002)(8676002)(6506007)(1076003)(2616005)(66476007)(66556008)(66946007)(7416002)(6916009)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?tkK0roaCW3OT1p5/2wD/qVUigdzRd+oUb7QBKa2dswTszqhPmrVNGEx/CYV3?= =?us-ascii?Q?7b9mAS0eoGThNNlZrIP34vLzsDdpSsWGk+0SzAd7cPLd8ODeLDKA0uTomDXm?= =?us-ascii?Q?JnoAfGH5if4t8fw+B6u5gLlvmfNXcHp+Su9b9hijUiJG4KKw6yqfbpafKces?= =?us-ascii?Q?KB5c0aRva6mqsByH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UztAHJ?= =?us-ascii?Q?AeWocXHT4DrTESIn6h2j1a5QpiIYzMuqFWEyZvBUzVx7mzUbkX5dsSnpfvR7?= =?us-ascii?Q?MAMDSz9kk+vsGkFezybOmSoH1/vLweQMb1HFYXmADN/e+XhXBjw756Y/EIqO?= =?us-ascii?Q?iUmz2D2E1xf5hyk26s/vZZGHA8BYFU5IL01tKh792Mrxuy1n0LucFWu00TlN?= =?us-ascii?Q?50lZG0aB1Ez+ld/c4i6og5nEz/CQGaoGSf3mTW0SPDjEsKyGt5ylzSVqKbxT?= =?us-ascii?Q?FQ5o/03b6DE8OCL6ZOF9autW+TI9SHob2+UlY3bG8oUluRskWVemuXEDTHij?= =?us-ascii?Q?EmmZ5XCtD1WBKvgNMSNwrNdY8wQ6vOm+mki105WIm7rHWL3K1jbfH9xsOIcC?= =?us-ascii?Q?WcMeyHg7qXnrlVCUOVDrVwyRhUXtvGT5IDdqpwZDzgw9posInGgDsUF3YFMX?= =?us-ascii?Q?EApaE56+1IY7h7jfknh44IgOGyukEUZa0RbDCed+waGsJNhOtDUwhVXtu5mJ?= =?us-ascii?Q?YYfCCUkeGoMnZX4/Wng=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5144cd5-c480-40dc-21ff-08dbc8ca9e19 X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 13:21:16.7174 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6nZjHgjgA+51ubJsUNqEbhkzFnLTYuZGx0hYoXGPqSgUMulKc32S0KpE4bp9gX/f X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9418 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 06:21:45 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 01:51:16AM -0700, Yi Liu wrote: > Intel SIOV allows creating virtual devices of which the vRID is > represented by a pasid of a physical device. It is called as SIOV > virtual device in this series. Such devices can be bound to an iommufd > as physical device does and then later be attached to an IOAS/hwpt > using that pasid. Such PASIDs are called as default pasid. I would want to see the idxd implementation too.. Jason