Message ID | 20220815181437.28127-1-nicolinc@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <kvm-owner@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 0297AC25B0E for <kvm@archiver.kernel.org>; Mon, 15 Aug 2022 18:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236725AbiHOSRH (ORCPT <rfc822;kvm@archiver.kernel.org>); Mon, 15 Aug 2022 14:17:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236621AbiHOSQ3 (ORCPT <rfc822;kvm@vger.kernel.org>); Mon, 15 Aug 2022 14:16:29 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2054.outbound.protection.outlook.com [40.107.223.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C6742B18E; Mon, 15 Aug 2022 11:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqkZgVc0iVS84iQ0wNx8VhitoWC3aVTQnzAWMcS08Iu8Ox9bc1UeQp3x4W84Lufvp+mMnKV7SyHlW+RT/iLKBoHd4OYYQztbbRD7CBD6m3EczhiNzAROawXSYaCqNU2GTGVepzzeSUgbUxBKq2NcoOlS31Q4BRo0OthMFLtpPLdMGZCPp6YB/YwFbWdnBh9ylHHZD7zi8kSZZKs5b3pvBThubKBkaidbKmWAXkpOFhB4fgzmUs7LBi84hIZ5YPqW4lD37XkYb4b0aMSVrFDoiW7f8RNlSS5fqor2hEIaNMoksdgkXfLbSbLb3tWakcuo+lRpUPlHkjQ43t74gQt51g== 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=DBDOHqleZHVVamzDwdTTjmN2SJGMbpiPi41DSE4yMzI=; b=lj6IfPUt3+f3D9rser0zBKmZ8G1NhgxwK8sUGbJqQFHKQMNsENBRjuHaNWVMlgjHZh0OwzvV+kHe4u4VCZ7sVgAFpi+XuIFo6MFuA3gZIeecW6ldOx6C4mLA4MWLOm26/ry3hL9SA0PIH7fnHL5s+CQVqaclYyZQ3zsq+K/EqCwFIDeNDh5R9Y7EJk/OE8nSz63CejS08kJ6rKFVxaY86SH0gbhdkcS+itRtEUMkn0dHQ2YZ8CTCp888ONjq2Y229nk39nn5OC7Ai8T0pNiyPLrFVP6p411TkOiB98+F+EuIU4cRGDc10cigkT4t3zKdU9HnR9GFWb+ho0f8qRUOzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=rosenzweig.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=DBDOHqleZHVVamzDwdTTjmN2SJGMbpiPi41DSE4yMzI=; b=d8+21JOl6W/w0/y0IhtkqluiCg/E22RWOjjUBdNsu1xYfLPwHzPQDbPjnaTGO9jUBx4PIEPyeiXKzKYAcJJbMnfOv0bfLEvGmLBTTH5SPPFNL8xRKNd6pS8Na5H9yZwM0HT0OwYvJpMtK+NSxtUVzLMYwkf2pufj3efrbN4pKjkp4XU4+JbIZzLTS7UTKJOkwYf5VUJSV1ulNJZaJNavSZ76ldlLW/c+n1vnu2ztCAgSuIGEJIYBRckO/IwWVp+mcbitLznukbWkZ4TTctTIy1TcRDzOfUJoEdcvvAEOGCnrhLQdqTLvzuPKuj56a8cl7/tl29RzqJoW2qkOlGdFdQ== Received: from BN9PR03CA0284.namprd03.prod.outlook.com (2603:10b6:408:f5::19) by BYAPR12MB3175.namprd12.prod.outlook.com (2603:10b6:a03:13a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Mon, 15 Aug 2022 18:14:48 +0000 Received: from BN8NAM11FT087.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f5:cafe::6f) by BN9PR03CA0284.outlook.office365.com (2603:10b6:408:f5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.18 via Frontend Transport; Mon, 15 Aug 2022 18:14:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT087.mail.protection.outlook.com (10.13.177.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5546.7 via Frontend Transport; Mon, 15 Aug 2022 18:14:48 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Mon, 15 Aug 2022 18:14:46 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Mon, 15 Aug 2022 11:14:45 -0700 Received: from Asurada-Nvidia.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.29 via Frontend Transport; Mon, 15 Aug 2022 11:14:43 -0700 From: Nicolin Chen <nicolinc@nvidia.com> To: <joro@8bytes.org>, <will@kernel.org>, <robin.murphy@arm.com>, <alex.williamson@redhat.com> CC: <suravee.suthikulpanit@amd.com>, <marcan@marcan.st>, <sven@svenpeter.dev>, <alyssa@rosenzweig.io>, <robdclark@gmail.com>, <dwmw2@infradead.org>, <baolu.lu@linux.intel.com>, <mjrosato@linux.ibm.com>, <gerald.schaefer@linux.ibm.com>, <orsonzhai@gmail.com>, <baolin.wang@linux.alibaba.com>, <zhang.lyra@gmail.com>, <thierry.reding@gmail.com>, <vdumpa@nvidia.com>, <jonathanh@nvidia.com>, <jean-philippe@linaro.org>, <cohuck@redhat.com>, <jgg@nvidia.com>, <tglx@linutronix.de>, <shameerali.kolothum.thodi@huawei.com>, <thunder.leizhen@huawei.com>, <christophe.jaillet@wanadoo.fr>, <yangyingliang@huawei.com>, <jon@solid-run.com>, <iommu@lists.linux.dev>, <linux-kernel@vger.kernel.org>, <asahi@lists.linux.dev>, <linux-arm-kernel@lists.infradead.org>, <linux-arm-msm@vger.kernel.org>, <linux-s390@vger.kernel.org>, <linux-tegra@vger.kernel.org>, <virtualization@lists.linux-foundation.org>, <kvm@vger.kernel.org>, <kevin.tian@intel.com> Subject: [PATCH v6 0/5] Simplify vfio_iommu_type1 attach/detach routine Date: Mon, 15 Aug 2022 11:14:32 -0700 Message-ID: <20220815181437.28127-1-nicolinc@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 42e74da4-a60f-4d27-abd2-08da7eea0a26 X-MS-TrafficTypeDiagnostic: BYAPR12MB3175:EE_ X-MS-Exchange-Sen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IP:12.22.5.234;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:InfoNoRecords;CAT:NONE;SFS:(13230016)(4636009)(136003)(346002)(376002)(39860400002)(396003)(46966006)(40470700004)(36840700001)(36756003)(86362001)(1076003)(426003)(336012)(186003)(47076005)(82740400003)(2616005)(356005)(81166007)(83380400001)(70206006)(70586007)(5660300002)(8936002)(7416002)(7406005)(4326008)(8676002)(966005)(40480700001)(82310400005)(2906002)(478600001)(36860700001)(40460700003)(6666004)(26005)(7696005)(41300700001)(316002)(54906003)(110136005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2022 18:14:48.2225 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 42e74da4-a60f-4d27-abd2-08da7eea0a26 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[12.22.5.234];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT087.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3175 Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org |
Series |
Simplify vfio_iommu_type1 attach/detach routine
|
expand
|