Message ID | 20231114210129.34318-1-brett.creeley@amd.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:a59:b0:164:83eb:24d7 with SMTP id 25csp2201179rwb; Tue, 14 Nov 2023 13:02:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7F45lLypvqgpVL6Okz7T4yocazWJlh2aZ9La+lJWPubo+J4sxwi7yUyZn7UcGI40tCdkf X-Received: by 2002:a17:902:ca14:b0:1cc:4e46:1de with SMTP id w20-20020a170902ca1400b001cc4e4601demr3580681pld.18.1699995761416; Tue, 14 Nov 2023 13:02:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699995761; cv=pass; d=google.com; s=arc-20160816; b=ERYcdSlWX5L+mKI4KmQ6UA7irireYIOW2Pl0aSG9dHfsBiCnxkfFgbpPF6gtUAhnOR fxLvXQh0Y4GIzB60hculQFyxhC25+VELI6HdIveHLUH6928i9DkwdB2f0ful90+tLrJ4 vJM94VnKd9CPh8bO6Q4jfIAMAyj7boIr1BQBFfQ0u45WgiJRJm6WGLv32JSqycEFYbS5 Cv4cejlGiCuGo7hqTYgrYjlybdN82lwI73vkn3Ov3RDhJcxab6006YnkbisPH46C3x0a /WMPl7g1TsH2R5VLVNCEyxZx1fDsCj94Gxn02hqS4lxeNJS6PoSKMnyN8qQxpjgAoSHf OW8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=5jbeUg+HJ8fRTpw2rXxXdvCrsrLiJlw16RhTyzKnevc=; fh=lBBaLJko1QugYzFKdQRCcg/1umbDT+qI/sM7W6WplGU=; b=PMaPo/29UhV2GeqUTw224N3T/ToQ2ePNafO01DNghLNi699/sFocO22Qf7jUdwsL1s h6J3w3Oegz+ToXHQyzhfx/ik5ZhvJ7DpGI2M134eD/VJQ2RKJWBPSmAL/iwZXccNigf3 ObVKPwQ4hgbZlWGr8iWpJhsPMabdHOmdbIsDgLcqVYM6vNcFFKvTvi9f+wYfbXtNt1JK PbGiRTcfR+7tgbKByIwTol3Ugpnb+Xed0+YnhsgKn0BGucuDh8NrpbQrCuapXsBnOUFL 9m6EWhRRdDPHarZ5JZ8UfnNTEcG7pFEGWJXCfaK8/JRoHEMirGOyqGrDaSZthpzVBOm3 yiKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=QWk2O0d+; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id t10-20020a170902e84a00b001ca3cd7ead6si9276183plg.452.2023.11.14.13.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 13:02:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=QWk2O0d+; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 555A4805DC7D; Tue, 14 Nov 2023 13:02:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231617AbjKNVBw (ORCPT <rfc822;lhua1029@gmail.com> + 29 others); Tue, 14 Nov 2023 16:01:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjKNVBv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Nov 2023 16:01:51 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2074.outbound.protection.outlook.com [40.107.93.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2F7A1; Tue, 14 Nov 2023 13:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rn/ecIAw77oUpZ+xoORQGac7vxXJH3c2DkKMSIcbXZHvfYZVVH7ko7H+AgAzrS6dhGJHyaWYclm42Qq2kN6+V/lufBZazZVTlxadMyl7O1dtv50WDW3UdAuUckrocCAo54GDtYVxwuLF0xlmlteuq1paEsGx393PA6a23YoI8P38eeHHYn0H1RVO7aCahRXt0VY3P7rYfj7DVFZXO/+acmjxpHJhUZbMyLJMYq6Ravwn9aROzU0G8EiyCmMzK83YiQWHl1/YFuFPc5Y909cIpAf72QjOVthjFZYn2/b9WzmD0VGX20xbk9suAaLUmlTEM9SLOiTnzZYHDeRpIVJpNA== 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=5jbeUg+HJ8fRTpw2rXxXdvCrsrLiJlw16RhTyzKnevc=; b=dxDx0ZCX64YHyqRXoFYUEn0L1gMAUvFY2DZGluh6MwXnmMukG8v9CalmyZ75yFVnwFyFs3DBIDLI+YAYAqdrsWQKtsvPHLkR+lXcj+BBF9BtEOc7k2L71W2ypDya7rid9M7NJI3Sy7lf9irKfjaP4dLDOeV4vUsotgaW/xW3YGpiHwvQo3eOgjOnItja9nZ7kXx9ndP/xXBvGDdbXjP7A/c33iZL2Ko1lYoejIIP4vlPKbp+XdzHa6+yIWJO6f52n1QaFB8IeL7ANNufE280gXpkhyQpVa1MfVXFqDegnnQYv+L184inyv1kK+EO4zoByHIpwfciA+ZlGwZyeu0YmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=ziepe.ca smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5jbeUg+HJ8fRTpw2rXxXdvCrsrLiJlw16RhTyzKnevc=; b=QWk2O0d+lSoCOHw7dhFSugtr3FG11Gds7ntHrqsqLt9RQdZu+lIgk3kqoN0cXu7ePIYju5F6kej2/B5Owt9BWGdaywSKSE8p5r3zA26paH5OfNh9XeO49vo3q3iCc6ETX8UniaNEOUxljTEYDegSFnFaUgNq2sCGbDdQP1+78Yk= Received: from BLAPR05CA0004.namprd05.prod.outlook.com (2603:10b6:208:36e::8) by SJ0PR12MB8613.namprd12.prod.outlook.com (2603:10b6:a03:44d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Tue, 14 Nov 2023 21:01:44 +0000 Received: from MN1PEPF0000F0E3.namprd04.prod.outlook.com (2603:10b6:208:36e:cafe::2d) by BLAPR05CA0004.outlook.office365.com (2603:10b6:208:36e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.17 via Frontend Transport; Tue, 14 Nov 2023 21:01:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MN1PEPF0000F0E3.mail.protection.outlook.com (10.167.242.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7002.14 via Frontend Transport; Tue, 14 Nov 2023 21:01:43 +0000 Received: from driver-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 14 Nov 2023 15:01:41 -0600 From: Brett Creeley <brett.creeley@amd.com> To: <jgg@ziepe.ca>, <yishaih@nvidia.com>, <shameerali.kolothum.thodi@huawei.com>, <kevin.tian@intel.com>, <alex.williamson@redhat.com>, <kvm@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <shannon.nelson@amd.com>, <brett.creeley@amd.com> Subject: [PATCH vfio 0/5] pds-vfio-pci: Clean-ups and multi-region support Date: Tue, 14 Nov 2023 13:01:24 -0800 Message-ID: <20231114210129.34318-1-brett.creeley@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000F0E3:EE_|SJ0PR12MB8613:EE_ X-MS-Office365-Filtering-Correlation-Id: 26cff021-2572-4949-12fb-08dbe554e7f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: at87GNbC/cqeEov95IQvW3jYI9WGpDXFXmhC5qbxT6/OKKnTlZAuSrUfY1YBsXB6bnMqAE4DdTNmNrpJ8SPirt3Ps60d9A3Q51MYGgIybXhS3auefwoZZVLh7GrRnMoHuPoFsGIKGQdH++ti10iPPN4VYFBQZO13v5jNvZ9UB71XHIse6gxXqjIw/eZoMwEGcAzlKLUo0GsIAsK61rl0cVEy/tHs1XxjH4gXjphjOQo7pXNPG6UkwFu7tazfHX+UaD74MHBkYoH1flzX5hWbX0geG3bNHc8hAUlvVuBePK6qoZNUOcdVkS3w62SZy9A/YPgrMGDkPPHbAiZIeKB26d2ktnUozf9TwTC2RP8UvQm1i/X97WO0du6pTZAYZ6oEhQ2IsaTPxzJ5FEXIfXXCoAwXA15PiXY5rTq18PmxsM94hvggwWrrjspsF8gFsSErpHcah253OVdPHIXn5aebVSLLWh18OqyxffxxFfCpVegN24bMEWuBk1sAg2+VHCglgG+UhN+GGtJe9kTfEZPpDmRXxPKP9vM0O4/c9kvSUJrhg2Q4uDMd5oX+xLC3Mh35pl+DQIKagKjnSHSpLhggcU6SzX+t09SRVZU8vzzRzQp4Ll0jV78MuGlRgKS5F0T3g0v6IrZOa33Jd37JmtghKyzKCtHuT6RxmKwSbw25uJU2K4LUIgaHjfrmeXJSvy7K4n5Jdrp7YsY3ASi0KuZorSZdxiul+W4GB+DcMOjsuq1aMYrrErh6GxDFWDYuPVkKAuHGbkxhZqg71kQh7Y8GTQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(376002)(136003)(396003)(230922051799003)(82310400011)(64100799003)(451199024)(186009)(1800799009)(40470700004)(36840700001)(46966006)(40480700001)(40460700003)(86362001)(2906002)(1076003)(2616005)(5660300002)(4744005)(41300700001)(36756003)(44832011)(82740400003)(356005)(36860700001)(8936002)(70586007)(81166007)(4326008)(47076005)(8676002)(336012)(16526019)(26005)(83380400001)(70206006)(316002)(6666004)(54906003)(478600001)(426003)(110136005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2023 21:01:43.3171 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 26cff021-2572-4949-12fb-08dbe554e7f6 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000F0E3.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB8613 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 14 Nov 2023 13:02:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782574755525984880 X-GMAIL-MSGID: 1782574755525984880 |
Series |
pds-vfio-pci: Clean-ups and multi-region support
|
|
Message
Brett Creeley
Nov. 14, 2023, 9:01 p.m. UTC
This series contains various clean-ups, improvements, and support for multiple dirty tracking regions. The majority of clean-up and improvements are in preparation for patch 5/5, which adds support for multiple dirty tracking regions. Brett Creeley (5): pds-vfio-pci: Only use a single SGL for both seq and ack pds-vfio-pci: Move and rename region specific info pds-vfio-pci: Pass region info to relevant functions pds-vfio-pci: Move seq/ack bitmaps into region struct pds-vfio-pci: Add multi-region support drivers/vfio/pci/pds/dirty.c | 311 ++++++++++++++++++++++------------- drivers/vfio/pci/pds/dirty.h | 18 +- 2 files changed, 207 insertions(+), 122 deletions(-)