Message ID | 0-v7-6c0fd698eda2+5e3-iommufd_alloc_jgg@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <kvm-owner@vger.kernel.org> 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 E443CC7EE22 for <kvm@archiver.kernel.org>; Mon, 15 May 2023 14:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240087AbjEOOBj (ORCPT <rfc822;kvm@archiver.kernel.org>); Mon, 15 May 2023 10:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239569AbjEOOBD (ORCPT <rfc822;kvm@vger.kernel.org>); Mon, 15 May 2023 10:01:03 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2082.outbound.protection.outlook.com [40.107.244.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DAFB270D; Mon, 15 May 2023 07:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b8ct8nEHaAn6Jgvk7JHVduovgFGePWm+jnFT5Fwv2LkRLkyXWWobzxuHtSnG2YR1Nz7wg7uEQeNaJD0x+DfY5orGt9xI5FXNWGmXLYg7wHsGlgYc0piGDZfk3KOhPx9qp7bGukGv5BkWNJ899dM4KqXLpr+BVPFRy0JjcETGIDElqIFjW6PBCsTb1wLCyC+1GDbt+ivP2EaXjRYTdUePEw0HwfVUISaV/FUPrA0FBV817enOPS2fpUNAhn+/42Vpr2WOJXUhGUNJP9Gpe1V+RchoNhijEF6RpB42jjPWUOD2ko6zLoWpjBGdPWGJo5/PgI3OvndQlQBpFjnk+pi59Q== 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=/mY119RisLy/kIv9XIZ5QHLObL8Sagpz3f5rzf2usLA=; b=m+ZrrOPuz3r5v/zdoSoq7ujJwtYO6ODUYp45TZtKE9WvOAg6DBAPIjDMmTBQz0gspJSg+wG7EyBdRRRbNdECPtpdQSJc5ytcO5Fz3k73My5QnZuy08W3cIgBmd3KjBxLjVTw13MRkRkljtrO3iaOpdz3DrGKEQCe0ccSaIKfs+nwTtzVBQVscLkKFG841Z9OrYoHtSut8L9GTsI+/lpnF0no57TJ7+WVL80oQWRhf2ycCElm0ByZcCdrKffCgegoJDqNxe6PKh2tNt7aVfXLas7oryR+4MGAnjdeAxgYPH1TwgRHOJA2l4xNMRaw2uqOPCSsEQAGUGqY9vA5VmR4uA== 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=/mY119RisLy/kIv9XIZ5QHLObL8Sagpz3f5rzf2usLA=; b=DfWK0xKxug2rxs3AzjcWDbwwB9iK8R2rjWbja9wyDlDf6rGaVA+H4qkU5Ik7luruqkLuQWXLPZNdx3e5LbDhYdkEEqxkXI1iuktdjWKm0fnc1fOd/HPPpOOUmqclYK2Kov1TB0ViozFaIkeevb55PPYdF3dmV9b5DDUuLx/50vrOnKQoHDVVdIUdVIQG4kiCzTi24yawMOCEfs3UEHavf2YteF6rnryFgHycEtEGzBps9G6QmCeizUit3hlIi3loQzcm1SE8dT7oty2X7eSpoMa/KLNyXb89uM980ddCmG/fudPmgGqQVCKMAeTJIFJMntsRjDHhXbKSuqUIRahgww== 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 SN7PR12MB7954.namprd12.prod.outlook.com (2603:10b6:806:344::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 14:00:47 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab%6]) with mapi id 15.20.6387.030; Mon, 15 May 2023 14:00:47 +0000 From: Jason Gunthorpe <jgg@nvidia.com> To: iommu@lists.linux.dev, linux-kselftest@vger.kernel.org Cc: Lu Baolu <baolu.lu@linux.intel.com>, Kevin Tian <kevin.tian@intel.com>, kvm@vger.kernel.org, Lixiao Yang <lixiao.yang@intel.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Nicolin Chen <nicolinc@nvidia.com>, Yi Liu <yi.l.liu@intel.com> Subject: [PATCH v7 00/19] Add iommufd physical device operations for replace and alloc hwpt Date: Mon, 15 May 2023 11:00:15 -0300 Message-Id: <0-v7-6c0fd698eda2+5e3-iommufd_alloc_jgg@nvidia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BL6PEPF00013E0E.NAMP222.PROD.OUTLOOK.COM (2603:10b6:22e:400:0:1001:0:f) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|SN7PR12MB7954:EE_ X-MS-Office365-Filtering-Correlation-Id: 34e9ba18-60ac-4fce-c832-08db554cc32e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8ykZccoMBvGdcdrIxFXpFWN4rimBKvRf8M268Ht2d8RecjYcK06tNX5oU3FqrI/Lb+5gFjBWyYd8qsQ4g09YoIUPRYzMTfzvkhp5JtnvXLIoreXA1osHa8HC6YDf/DN2luOP+CgHXiUi44lcHvZy5LgdBjBEnAC+CGfE7G/L3Lnq4E7tBAkQVDqrQw5s//cS4SC88tZSc6ugF6czydSsMGoDbqKz0vZeoY05iIC+phQbDK/DiexRThUUVWS00+WkVw4qmKuzvPxhBwBocfEwyj3r3QJ5knrNDGDxYewCwvkrKCrtrq//mXgnS6qCr/lhRm6uhSvIjzicPWP0IRdTMGZvONCTJpYMIODGw8aFwmD0s2kdVO9/YvfdFZ4W6Pk8ifiRMdCdYQN3TnTr3EKBCCVfLMMnJpflvU16zY30KgSsjJrHZ9t2u2JDWLn/wPNFg7F0qsu97qFqstO8jf/rxf7TDxkMg3owFbLbN6/vjCvFpLuaLv3cru1h6knxN4OTOrdkGunpdf8ivquNLmkxt8MYmjlDAbKArVz33Ogipz/SFcfzuVvSQ+E4D3VbLM77QfkJlNpp6uoqr5rdDfwVlyA0iWTnJk5Aw92dUkHz65RlPmYJh/V7Sa0wHo4P5hRiIMw8KstP7ENNy1/td4CVRZgJLlhN/LZtBKhrLVIfgyPaqIZGZJi47rrXk3xgRian 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:(13230028)(4636009)(136003)(396003)(39860400002)(366004)(346002)(376002)(451199021)(83380400001)(66476007)(66556008)(66946007)(2616005)(6486002)(26005)(6506007)(6512007)(966005)(478600001)(54906003)(6666004)(186003)(5660300002)(86362001)(8676002)(8936002)(36756003)(2906002)(316002)(4326008)(41300700001)(38100700002)(4216001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 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inqM9kF31adE6k3+AD+paI6dkXLUjefnkcck2w9Z2w0KD4wbZ2VGAR0ASCTo7bpEsYf9hWm3m/iuAuNHZ/qs6CuGOaNaTEtX1VEleCQq6VTqPX1VKKcBahUNLwArif5nnFqut2epvSaZOgBKcXuH2nzaZI6Du/NDYwF6XMX8vkcbIsqSE4TIegSeFbZ7Ox8UjJcNcnacO/8iz3WEQi/2YdvWugaDMf0zteShXx49n7JjerNCs55HR7gpHAZUa17EU8PQc/zSerP2xcLRmDerGsI/yGOCaNY1kioMH5HfNAiP5Dy/ljnn0eOf6xTFvhmpMRvg3OFC3GhXldFNr0QpUrqIIRlH7syicPSXprkX8qe/uu2WMVZ+UOXlCaRJqzMG556vGy7JV5EytpM1nFXok0coy6IkqG2/1wCEMb5TKuDmovxbwYYMuyNL86vVAIcxBaHoMm3pIBMNulpMzBJOswChLbD0U73zwReBQ7hQFz3Vg32ho+j335CNjFPoL9a4yHOH0CmbyJJQmOv1H/G8m X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34e9ba18-60ac-4fce-c832-08db554cc32e X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 14:00:38.4565 (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: WPg/zLjoHTH8BFZZorsJ1e0nOK/Ap6b7VRYS1KVpx0sL2tTDbURufhPzX4IKz6bp X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7954 Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
Series |
Add iommufd physical device operations for replace and alloc hwpt
|
expand
|
On Mon, May 15, 2023 at 11:00:15AM -0300, Jason Gunthorpe wrote: > This is on github: https://github.com/jgunthorpe/linux/commits/iommufd_hwpt > > v7: I built my latest nesting branch on top of this branch, by git-merging cdev v11, and rebasing nesting v2 patches that include replace, hw_info, set_dev_data, and SMMU series: https://github.com/nicolinc/iommufd/commits/wip/iommufd_nesting-05152023-nic Things work fine with the nested SMMUv3. So, Tested-by: Nicolin Chen <nicolinc@nvidia.com> Hopefully we can merge this and cdev soon. Thanks!