From patchwork Fri Sep 11 07:59:08 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: 77349 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 9B2DCA04B5; Fri, 11 Sep 2020 10:00:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EF091C122; Fri, 11 Sep 2020 09:59:39 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10079.outbound.protection.outlook.com [40.107.1.79]) by dpdk.org (Postfix) with ESMTP id 8A5B31C0D2 for ; Fri, 11 Sep 2020 09:59:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kYzcpJf+HaSbTpkKK5PMLrvnL0cuZznD13n6v4+Y8NLZGjW005IHsYiowFzyIfIW2LGALYmcSUmYpIUhzN/ShFQ6Djx+J/Id8gYeU2u1inNb0nawcbFmx8MAapbBxet+WAr582IFAJK6YbqOT6wzKWhejuExsC/L00dKbAR1g9jioVwCHUtN7oCqRohtIiz1pVQy71gFfq9o14NBFTSYVJLi9XW3FzpZbvfHD4oP6Yf+5mx/8yXw3iksHEsxSidW3L+HfBNiyd7o5LpivI7UmK6GDd/H7QfjZRjTlvV2Y5w3ce7VkmR5TGIUB/MMpl3PVoBStcbvkIw1hoWz0W2QDA== 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=MG5L5V7zT6BNrQP4uF8vYaKfcXeA03k+9IqgS+MphRfQBqC6TNH3K48K3RuJRWTswy5FJupUaRsquJmBbR9TrlYCiznOvftdDltidxUmS8Ck0LYh7LaDKJ+3FYa2OliadLFzaTtAe/3BHyWW+M9gjKJAG2B15XfBUKHshpv/fI3sZNZo+A1K0l19KMx07YaD2beKaDSLmcF53DjqMWgezJI0IZt5m66j7/L77ncZIaBF7ZoWCOlTm1lxhNPJbYKIsjk9c4mHkgbGiHyGoaN2u0bWAnRmgBdMlNYawY+4R4j22EemGC0+xOzAb7puQPJK4jqMwBcRZDcdLCJ4L3j8vQ== 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=aktbVHHYSySgiejB392ZGj6xK/wcSX+fsRgsBR8MXNXwOmMIQhwoEmbAu9wwtB1iJDmN+JJczdOgmn/ErjZfsEGACeSGIWXpLKiM5NqXDUFc/DInyQ++IWGmd5KrY1kzx1NVo0FDVkf/WxcuPJKC7tsnhADIlRttg5bZV/GCWvo= 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 VI1PR04MB6094.eurprd04.prod.outlook.com (2603:10a6:803:f4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Fri, 11 Sep 2020 07:59:34 +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 07:59:34 +0000 From: "Sachin Saxena (OSS)" To: dev@dpdk.org, ferruh.yigit@intel.com Date: Fri, 11 Sep 2020 13:29:08 +0530 Message-Id: <20200911075911.3214-6-sachin.saxena@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911075911.3214-1-sachin.saxena@oss.nxp.com> References: <20200911075911.3214-1-sachin.saxena@oss.nxp.com> X-ClientProxiedBy: SG2PR06CA0136.apcprd06.prod.outlook.com (2603:1096:1:1f::14) 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 SG2PR06CA0136.apcprd06.prod.outlook.com (2603:1096:1:1f::14) 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 07:59:32 +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: 90fc76e9-5b82-4c5d-6880-08d856289ef3 X-MS-TrafficTypeDiagnostic: VI1PR04MB6094: 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: Lie4ZCNm+XwYaZUEsV4uIwlt7xAdb7F424Gap3GFPfhqupekNLYQja5fJyS69mK/J2W/L4fGUBR+3NpRtvyqwtKH28w1/Vuou79oKbip4Ab1goZ6kb0/QZsxRlk72tiH7aKH9I7NJ/+ljeqzTw6IA3WuAhAbMzheu5p+obECv+5nMR8gGB9ibo/zvDiQIa/xdA2NhugHTvelAIx3dGpFi97rn9zBLEqGfRM+/ckO4ks1ArJbhg6qY5xdcrwfxEvoj/VqIs9zd0lBNv286I9aM0i5IkEwZ7uMf99ofY+kloyTeG8GhWo6sK+BJvkHHEy4DaOPSFU/osb/H2STRxGcKGTcNu7RgiUyscd0Yj6BP6MZbnMsyP3oVukbcCHBhhUS 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)(376002)(136003)(39860400002)(346002)(396003)(366004)(478600001)(52116002)(2616005)(55236004)(86362001)(6486002)(6506007)(8676002)(316002)(16526019)(8936002)(26005)(186003)(6512007)(2906002)(956004)(5660300002)(66556008)(66476007)(1076003)(4744005)(66946007)(83380400001)(6666004)(1006002)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: tF9ALRMn0QiwBhiTx5qFSS3Qa6URsrIzFjPL9XjHaEBbniS15VDYC7E3Kt8lEzK2oRsX1lmKE+zjLFgqGETHRQq70I1q/RcTyESIGRlWc5zOCI8HjO6PiP03UKnB/BauxzAyoUrrLjBBIGHcYc5NTCaZsZr/pNXUlaLwPb7902tibucVhD9Z/RaPmI/ckLgUhf4qMW7ncq1hsfFUgD8U3OdrNOq8U+To8QDV02j1ajz28auHkLfKQBoqLL+5jnoFnUB1m37EyquIGpYY+UtYnStytBCKHMsLbEE2eQxXtUiByR4IX2oMt49qUBaFmtVsfgAqgN1z4XUIVdUW6PQRjZKHZo8FKfvTWYRzByVgjAKsRXJjoc7mVCv41l+/QtahJhGNL9sRp8VEPa3ZNErpnO40VeqF4j1bxnUVI7OXGph1SCAIKHRabamAhqzoLb+7VBA/ejhzyWU/KEo8nQRtn+Nb4y9ioSX05fepO/hHrVHdkkzp4+Vh0+qZQRairPJp75yesnFBSJOp1/w/hw5Y+IbLr3c5ywI0pMI/0afHcxRWC3PMH63nCS6l0WC7W9aWXGbQCLZXdl4szLUmv9CHzSlRLH9Od3Wp/yCACAis4CyfA3+U+NxKRSvAOCb2bLouFu7N2Yw/E+Zg32sc0BcH6A== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90fc76e9-5b82-4c5d-6880-08d856289ef3 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5837.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 07:59:34.5224 (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: zRxovrvSkn8di1sDURdYfrI1ewrGSVndWRFtLOQ7drITYyPTtd7sLXlGaW/Zzt4c8u+ODN+Yv+ICPTZQ9MWDYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6094 Subject: [dpdk-dev] [PATCH v1 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; } }