From patchwork Fri Sep 11 08:35:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sachin Saxena (OSS)" X-Patchwork-Id: 77365 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5816A04B5; Fri, 11 Sep 2020 10:36:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 20BA41C12F; Fri, 11 Sep 2020 10:35:46 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40089.outbound.protection.outlook.com [40.107.4.89]) by dpdk.org (Postfix) with ESMTP id D50091C127 for ; Fri, 11 Sep 2020 10:35:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ibXW8optRCx9i0zBM7RwyXTexiYAxfF6BHMeVN9jIvXB4ASXh4vOmW1Nbmzm0bpOUli0l0nOHVRwatSJVh341Cm2hywhsxvFgvCTkg8hEbQFXxVwcT9Uj3vs2ZwN+E6C+LX+vxd3FVvoBts6yh5txXMfY2VEGoXkx7exNN6jhwHueEF4/STRBmXQ6ffbCPLHN6tU1X1CQWZkGgd9nvNbxIvDsgoNySV/qzBSJa8rKV2D3rtBqTOQ7RipxvbV8j+7Ttda2R/3EqDMtYePL2SMGscJ+FXy8rEv/f8gvC2i7ObejShyN8SB8EPQ/3kI2rIT3Ukt8Jt5IPBLiTlyqfzD8w== 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-SenderADCheck; bh=3Cf2KdczS47AmK2C+cPdrWt/BAjle/lyH8EmRwcMSUs=; b=frE312bFWwzRjIMnL1ac85RtvN8yAYHXdjZaxVpXv7C8lq/zBIjZ869ewCWoiXsbsRKkAIF/mk6L1l/SRpq7if8S+rAUW6mKcmRGHQyO9BMENrSudXNn3OrRwQdZD2gDZ4uhm8rvzky1BMniPuw+rVJ0Hljdmr6P8Hc3TKUF0hA2QL1Nm5LQESiprKxQpFHm49lu3FIFKyWlw4ZJN/jF/cytR42IsoaOhzSVrmGVmc5dyeFsGFswJVo0/M1xpw6o03CwgoZYNFKTKHuOBN+RpPFWBk113kThDwEZAo/Gt7Lz71RGaL0cwM7Hhu4qxmPQ/6c0dGmMJdSPo+XH+VCLLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Cf2KdczS47AmK2C+cPdrWt/BAjle/lyH8EmRwcMSUs=; b=QYobpPCAyUAAXwzXs7EmHTo2IMY/PdIu9EdFQhIzMCb83SRYlDU4LXZDzkn8qT/Iu6jPM9/aBLNdAUg6ws7l6GCTFSmd4v8RcbushquxBNzXZsOyCGGwM/SZCIsl1J5AyzKm0z5uXFBPFIjQp+ngH4q3aAJcRm7n9JTXxMiryTo= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5837.eurprd04.prod.outlook.com (2603:10a6:803:ec::28) by VI1PR04MB6973.eurprd04.prod.outlook.com (2603:10a6:803:13d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Fri, 11 Sep 2020 08:35:43 +0000 Received: from VI1PR04MB5837.eurprd04.prod.outlook.com ([fe80::cc01:9fe2:2544:8a4b]) by VI1PR04MB5837.eurprd04.prod.outlook.com ([fe80::cc01:9fe2:2544:8a4b%7]) with mapi id 15.20.3348.019; Fri, 11 Sep 2020 08:35:43 +0000 From: "Sachin Saxena (OSS)" To: dev@dpdk.org, ferruh.yigit@intel.com Date: Fri, 11 Sep 2020 14:05:17 +0530 Message-Id: <20200911083520.24020-6-sachin.saxena@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911083520.24020-1-sachin.saxena@oss.nxp.com> References: <20200911083520.24020-1-sachin.saxena@oss.nxp.com> X-ClientProxiedBy: SG2PR04CA0178.apcprd04.prod.outlook.com (2603:1096:4:14::16) To VI1PR04MB5837.eurprd04.prod.outlook.com (2603:10a6:803:ec::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03161.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR04CA0178.apcprd04.prod.outlook.com (2603:1096:4:14::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3370.16 via Frontend Transport; Fri, 11 Sep 2020 08:35:41 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [14.142.151.118] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8be9303f-25d2-4897-61d4-08d8562dab8b X-MS-TrafficTypeDiagnostic: VI1PR04MB6973: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2fhhNgYRNK468D0pe3B9KLajAYa6PN6wB1d/XkcW4xKb+EqiC8VguRykbXq4Uwk2z+yqU0GMbQjP5FFg6laGF4oSzYlmr38Nl9uSqisDXbPzZV8nbiC54Hk5xXpT3OuIzDu7rhlXen0S3Ly6vmlgF5TAy7oqlTcvhn4HqRwOll0ph5yyOz3ZGnvrd2kBmqVbiX2s0oZ8cUQWqRHD8SSxB6roq5HEsKO54V6Hgm1LO0OHcRnAJ7d5tbw+qdB+inA0kpzNssPN13Yk5qC+EffgQvb0vuEYFc4pNganBLLPcVYCDWMcQURRHyb9i8sEWrga0LAAu5WYFivKXNDzUYd3SJ9ZY0C272A9rzuGbxhnxCzF69ieyxhuCxMrf2xiD50A X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5837.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(136003)(396003)(39860400002)(366004)(52116002)(86362001)(1076003)(66556008)(66946007)(2906002)(66476007)(8936002)(5660300002)(83380400001)(316002)(8676002)(2616005)(956004)(6512007)(16526019)(186003)(6486002)(1006002)(6666004)(26005)(6506007)(478600001)(4744005)(55236004)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 3DdH7sZwzWG9fKNpMAvHYgJWhURBO2Ms+LOWkztCYDkOWXVGALgAL4S9kjgd8iZyns51MdnbTRckdrTf1GkD/josaGQUQHBgoGoEVLSsDAcYH4/OQapuV/Tw0LbZwtswiQ8Vbq3jIMPH8gXIk5mlvDVg3WJfVXv8r69qPIhDzPorAksGjZoQJ0kgS1pBE70Uemz5YvlcMRHvDT8K9ROa3UMT4esrx2/FpyUYcg1egIEuLUcU2Lp6hI4pzwW7vi6bcxVdDvwgUXR33LGYSKN21W4EDuqOF+e6zfHCJrd9fR2w/RU3A9VkzXce58KfzfsSfTPDeuHsj4bst1MiRb3WkuS1cfsBivpoutAfz07GeOAdtX3qSdh/bnOCjH2wR/WmVo2cTc5/e6D7pmbk1KXWWWi7f/eJdlQT/09eQWvkXsSBJKAvPWQe4hVlfajr/dGP5lm8hURWtjw5daw454Qc9xRFH74AzkPUNLzZrUBBRGjLuOyQazg076Cl9aeHjpmA3eKqHvFA51DgwhYPJshRd8TrcPhVxRqS2vZJGKU2y632UyMBh9im0Vi+EqLfp/11MG3tIQTo6EI9eusKO8FPzmxm/9vgeEW1qt2uI4Y3tSXDbSud8aG607U1LvB7Vrr6tXJSEuK0iWQR2dskrMI9sw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8be9303f-25d2-4897-61d4-08d8562dab8b X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5837.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 08:35:43.0257 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7nfCebWmfKKEhARtn9N3Xk12xwwSN8SPy6Wdl4ZN2aWBcj2E53Gcep7c7bxQRXB6y11OmXnzlNr+l7H3s9358Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6973 Subject: [dpdk-dev] [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Sachin Saxena DPIO object shouldn't be reserved if it is mentioned in blocklist. Exiting code is not setting the correct flag when such object is found. Fixes: c904a212646a ("bus/fslmc: run secondary debug app without blocklist devices") Signed-off-by: Sachin Saxena --- drivers/bus/fslmc/fslmc_vfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 6dd797632..83df83373 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -816,7 +816,7 @@ fslmc_vfio_process_group(void) dpio_count++; if (dev->device.devargs && dev->device.devargs->policy == RTE_DEV_BLACKLISTED) - is_dpmcp_in_blocklist = true; + is_dpio_in_blocklist = true; } }