From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 1DD79A04C9;
	Mon, 14 Sep 2020 12:58:20 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 058B91BE95;
	Mon, 14 Sep 2020 12:58:20 +0200 (CEST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com
 (mail-eopbgr70051.outbound.protection.outlook.com [40.107.7.51])
 by dpdk.org (Postfix) with ESMTP id 58AAB160
 for <dev@dpdk.org>; Mon, 14 Sep 2020 12:58:19 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=id35l9V528OIV5ONW3kp6ccZx6B/asNr186GgRCPkhnAE9ocQbgrgVpMpmYs4fRBi/19nUHe6R+CsXd2L0B4AFHShfwR/exTBiy9cxIQVTnqJ84508OXnd57KDeK/wwMkwro+wcWjF5fwmSy8mCZUfaBURbjL0y9w9FtvJFslCarL0w+ceXnuO0pk6KVd+rfJ1icSm6QXWuRiyPCaCBerCAQFSLAASOZL6mZFthlRssgFOA+DlXsYRVw5iJ0ATTQtO40dZm3fYys75xaEaZXwMtfiTPqTnS12SrO3kSt+Hm35zcDPagtNYsTold+pt7gZVCshlYBQZGdIAOe/43O8w==
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=B6+gZMUlFbIIAz4gPf8h1IBXTK6wFxKf7E9ALYg7Eqs=;
 b=DIam+nbUPuASg2xM+I3RWxKsamEL0RQmE+7/Mwekk9vAJpYoVRJ3GW0mVu5AvO2YW4yvjI6hN/9v92yAQXRAv7RFi0EdfMqkyWQ8y2Ecq/ZIqdq3db0pCVKu8Wjwge+autgDWsM6cgD3awIQwzivCGUS12e2j6Y5cyHPq9/+UHuF6WL8Pv+liZ0p3wQiFLFOqN9HMneGoJuqj+SZKSAxVBk7Z62KfJY+I6lz4Aaon8f4RRyZtPd0lr+Q9gbzKTiCj7qSqKNHDxw0gdrRtlk26Yx9uKZ6Q7wCFDxdIxuN3iPnLCQLdB6h4YDa8ln3FmRV1szL86MH5IbDuHZgyn7i8g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass
 header.d=nxp.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; 
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=B6+gZMUlFbIIAz4gPf8h1IBXTK6wFxKf7E9ALYg7Eqs=;
 b=pYU+sKnf/u1R7tSUvHsCn0IcD1qSt7IQkUvxCcVHMTcI3+PQ7x3a5buQx6ypmigfwwbdB3ncFL2Dpp+3sWwoeHVoHf8sbNgOkLowPNZ2ntctlpWRzDw03MxG5hPB3Hhco+wQ1teBtD9af4LNf5OYG2+vj5+GgjWn3/+IhPlbjpA=
Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25)
 by AM6PR04MB4037.eurprd04.prod.outlook.com (2603:10a6:209:49::21)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Mon, 14 Sep
 2020 10:58:18 +0000
Received: from AM6PR04MB4456.eurprd04.prod.outlook.com
 ([fe80::e024:2be5:29c3:31b0]) by AM6PR04MB4456.eurprd04.prod.outlook.com
 ([fe80::e024:2be5:29c3:31b0%7]) with mapi id 15.20.3370.019; Mon, 14 Sep 2020
 10:58:18 +0000
From: Hemant Agrawal <hemant.agrawal@nxp.com>
To: "Sachin Saxena (OSS)" <sachin.saxena@oss.nxp.com>, "dev@dpdk.org"
 <dev@dpdk.org>, "ferruh.yigit@intel.com" <ferruh.yigit@intel.com>
Thread-Topic: [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag
Thread-Index: AQHWiBaJOpBBmsN7rkSbH9E4OTTy+qln+6Sg
Date: Mon, 14 Sep 2020 10:58:17 +0000
Message-ID: <AM6PR04MB4456234C4F813DFF0D7E98A989230@AM6PR04MB4456.eurprd04.prod.outlook.com>
References: <20200911083520.24020-1-sachin.saxena@oss.nxp.com>
 <20200911083520.24020-6-sachin.saxena@oss.nxp.com>
In-Reply-To: <20200911083520.24020-6-sachin.saxena@oss.nxp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: oss.nxp.com; dkim=none (message not signed)
 header.d=none;oss.nxp.com; dmarc=none action=none header.from=nxp.com;
x-originating-ip: [122.176.3.89]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 4ac9b91f-1b26-44e6-1be1-08d8589d164e
x-ms-traffictypediagnostic: AM6PR04MB4037:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AM6PR04MB4037D2614C3B2296DCD149B589230@AM6PR04MB4037.eurprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4714;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: WXBMfPmb4oNM6ZjBHVOkGtq528wLoDMelqXRwo/FQhO67+xTTcqIe5uy0PW6crk0hxbUvWezIbdiJDXfqqbOCNa0ifYk8ctRvHI4KjL2Qy8d6P9EY1Ytxpp9bfyYOSkOFOmKC/QTZpxpL1tLw686dWxKJFkgWKIZLGHM3cV35S3bTg53GTEsLnvnjupZaMGulY/LHINSfmhPkqCYRTtZSpWKxULND5Un0QjpGcAmOkLP0676EXoY40SASI2Mkz3hEN88NyAqHJQH7wueL6YFHf3k8DiHsIrC3bpr8ahQXe7h2d/5hyRdQuObn19OJVibtfHdzQh1nZLO6D/cdRSiDA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(4636009)(136003)(366004)(39860400002)(396003)(346002)(376002)(26005)(186003)(316002)(71200400001)(8676002)(52536014)(7696005)(83380400001)(86362001)(8936002)(5660300002)(9686003)(2906002)(44832011)(55016002)(110136005)(64756008)(66476007)(76116006)(6506007)(55236004)(53546011)(66446008)(66556008)(33656002)(478600001)(66946007);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: h53lAibcB7+mp7A554kfo04NE3FgQb6ZWoPDyO6H/omav1lTeKbfeeMnIR6puDlSSezPOYMAlqVeLhaiITEwgm21J0SML6M49lgpfpi/GAV2i6jyKhp+l3QJEr605gUZr8t8kQeKliJc2ZuUKX/+KKHLdhYKMzqPV10riMYm6Od0fBdhvLkuyI9/zunW0cc9wRj4oxIU9j2JCUqKRNCBzP+jCSVUAlWzcX6IR8dxSuEXgIpBL/gcWB+WI+tRMqse4yWvDwz/f+QRBZMU7aeSGbN4DtOsCmSI4nchjKhXItTf+nRNvs3c/TWNu17awnCeBDgeuOIQaSeqWlkFNF1xI9TKUCQZ4DnEDi5bTqLPi/zC511JF85TsEuHeEy9hIGUvpQCSQffTALQCobPoSCOAgsbtIeh91JtrrHyB9CYrhM+0itif6Gm+yX6jJ5jlyKnONVhkM+7ngrZrZYl3b45vRXyLa3hZdE+B5O4OfGLbxZimw5KJ5zyfvv8Fq1gvW8UlGtqEdqBq0M9K03KyVOVb7zNqOBk3g24AObO3GjXUod0bpYn8L7NBlMPdXrHTK/HahxqgXUNmWD+43dj24uLmz4ICduaafH35myrjaswwfapdDDWVsoROddK74TgX8f6G8E8dTob31Y3KkBbN/NVWw==
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nxp.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4ac9b91f-1b26-44e6-1be1-08d8589d164e
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2020 10:58:17.9383 (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: XzJ01t445a/xRNdUD4N+mFhE4i0nn4qYJp6S9i70K5jJ7I2rlkkOqhfNnNeeWf08HnENJk38X7Jt98HkixZ5/A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4037
Subject: Re: [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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Please squash it with patch 2/8

> -----Original Message-----
> From: Sachin Saxena (OSS) <sachin.saxena@oss.nxp.com>
> Sent: Friday, September 11, 2020 2:05 PM
> To: dev@dpdk.org; ferruh.yigit@intel.com
> Subject: [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag
>=20
> From: Sachin Saxena <sachin.saxena@oss.nxp.com>
>=20
> 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.
>=20
> Fixes: c904a212646a ("bus/fslmc: run secondary debug app without blocklis=
t
> devices")
>=20
> Signed-off-by: Sachin Saxena <sachin.saxena@oss.nxp.com>
> ---
>  drivers/bus/fslmc/fslmc_vfio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfi=
o.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 =3D=3D
> RTE_DEV_BLACKLISTED)
> -				is_dpmcp_in_blocklist =3D true;
> +				is_dpio_in_blocklist =3D true;
>  		}
>  	}
>=20
> --
> 2.28.0