From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B2E9432C7; Tue, 7 Nov 2023 15:25:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 902A4410D0; Tue, 7 Nov 2023 15:25:50 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2058.outbound.protection.outlook.com [40.107.95.58]) by mails.dpdk.org (Postfix) with ESMTP id C609040EDB for ; Tue, 7 Nov 2023 15:25:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDLgU8NLHGRwHZh9J6OoWj6P3SxSQ8gg8TKwhx/2/wBytZ4DUg81z39JvGFNiWF3p97VgaCuEu0AdJAlLTXJVyoZvsLe5ZirpUA+V+djiRcOqvPiubYuyH+9Ch0CdVziiawYV4vUV4QzPfcQJqz5CcuB1gk5u8GzW+9yHNf7TdBXFwtFsLfcwgNL8Pa6P2Z6ilCyxsqkCP497MdEB5+XT89uGo6C8jbz8mOzzUnTRTt0D4pnQK6+ocAINHJxXfcCrHxmmUz7352If4rfbKvcUbjxKoCme990vG3nWHqLLOCNFZ+54W3HT1paYWSOKI67Q4k3BxtSKrVXMoGKYJgehg== 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=RuDfqUtCX7WC0mqeHqXkhWs8qqZei0ZBN1v7qW0yNwA=; b=bBKOVcxR5rdIVi2TpusbBq4pQ8pePWeT7N3z4ExD9btKrO2IOkqhbsckDTPsF54CXyygq9ZIAimtWkMXeVLyK1lB3gDkdKPFhuhfixdAor6RlgJA150vMyEV/EauSsqGlrMBZ7RNJkNkG3iNW7PpVffIBHj0sEbjiJlM0aJ4gNPMnSmHhZu5NDLgZzJmzRiR7Ooi5d07sBn90RqpcpoHdThFtqgadI4csDO3jw+RoJLAsjoIX/QNvZF8r0BaQzvnho4GPh4RUHBA3t1OWpA8p8gV+b4s4T/P25yRra9IqIIIKMAQYTEi7G0kMTDws9THiGkp31V7rt1IdlwCm5VV0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none 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=RuDfqUtCX7WC0mqeHqXkhWs8qqZei0ZBN1v7qW0yNwA=; b=36uHAvCAe1WDgu8gOcJ3+bA79GGcd206LyTW7dSINB287ey6M5x/X/dIkU2Y7fqW0SwpIt5sc43vGrfuDoovdeQOSkPsv9SwCaKSCwvIwK34bjpmrLs2Dxu/u2H44qI0Sp2d8mrP39QHEXRCcZ5TCcW7hpfxCRkQz9l3XLMC0wU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) by MN0PR12MB6125.namprd12.prod.outlook.com (2603:10b6:208:3c7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.30; Tue, 7 Nov 2023 14:25:46 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::1ff1:d311:1f3a:5b42]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::1ff1:d311:1f3a:5b42%7]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 14:25:46 +0000 Message-ID: <720248da-1c59-4320-90b2-09a17c3ed547@amd.com> Date: Tue, 7 Nov 2023 19:55:37 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] bus/cdx: add support for devices without MSI To: Shubham Rohila , nikhil.agarwal@amd.com, david.marchand@redhat.com, dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@amd.com, anatoly.burakov@intel.com References: <20231027162212.3353973-1-ferruh.yigit@amd.com> <20231103112016.1945684-1-shubham.rohila@amd.com> Content-Language: en-US From: "Gupta, Nipun" In-Reply-To: <20231103112016.1945684-1-shubham.rohila@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1P287CA0004.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::19) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|MN0PR12MB6125:EE_ X-MS-Office365-Filtering-Correlation-Id: ae158b57-f00a-4872-ceff-08dbdf9d6ec1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uNBO1tjSpPrYNl4EgTbI5yJ6DqWpyw0rr01+kJxv0z/EBhvsgZam/f3quup9mjN5hBqNp9Cm8p+mQ1uMvT+rHnthLxVX2yCS0TkOBmDWdtjOfueDundtRSJAy5NFaskCbTgyfAlUp9zh7QakCmZaKS2qRhfU63p1RZNncZlTXhaysgI5Zsoe9++3xEWSUSjUhQK1GLDsvGIKtiNoBuD4QWx0uLrclYBitZxnPw+ts3M6Xprg/jFJDcLWrqce4PEtWIbRyqfu0R2IWwslb4VXGDcDKXhHR+GDE3TY6aOasbGd73UQ6yOeGZ3OjRbVRLWoBtNdKnWCuw3t3IZPEkHlnJki57y7t/Fja+Rzcyo6buFluKvbA14vqIBOwZ3vihAIggprxFgQxEfsfu53JqiXy2IKnwBwhjBmI9xj54V9RSTlgsT5xIgD6U5oFGeReXy/2iH9we32NinHnZhWiLQl8FS6SA8lnD3z/d0bU3RiuHDJiabgFET6/bIkA+nRMPW0ipwjjNCPJ169igWubHkpWTpQaT1j+eOYV2JHl5rgVyb5WscZ4pENkLU7XhK6E9tRCrQBIWOebngv1iIF3w7vlle4h3jvqiHCoxdzQAVIdiHnLSCUrZGMvZfn0Lo6G3ZTBSVDj5H3EsL4JuTPWIUdXw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8308.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(396003)(39860400002)(376002)(136003)(346002)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(38100700002)(5660300002)(36756003)(2906002)(4744005)(31696002)(86362001)(41300700001)(83380400001)(8936002)(8676002)(31686004)(53546011)(4326008)(6512007)(2616005)(478600001)(66556008)(6486002)(66476007)(316002)(26005)(66946007)(6506007)(6666004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y1FMNzJFanJraFAxR0d4ZlVsR21uSlJnWnNjeXZONHVxZDBkaVByV0t2MHZq?= =?utf-8?B?M1pFV2J4OGN2OWl2TkJhaGJ5SCtFcnVUclVYMXhTMHFTci9Zbm1vWjhDbmRo?= =?utf-8?B?bGtjcDJWdkM4WkM3clFMVGlocHN1VDZlWG5NWklGVXdIZGZXaUU4dzlhckdY?= =?utf-8?B?d0p0cmExSithSzlZKzM3bHUxN0xUcVpRZDRZQkJlVFhuS0xwYkl4SndxVDU1?= =?utf-8?B?N2xpTE1tN1VkWTI4aWF5VTdlUS9vU2dZY20xMiswR1gwcG5kbG9NZnBycTBi?= =?utf-8?B?MjRoTHUxUGp6b2ZMa052ZVl1YnlLV0hrNHozLzR5L0RQTlMvL2FnWkE2THZt?= =?utf-8?B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-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae158b57-f00a-4872-ceff-08dbdf9d6ec1 X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 14:25:46.7938 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Mf561pEC2k8//uJSDWtfgrxcGWM8wc7RH+L8yKagJRH7gpQEmelhpRdcKBFbmW8s X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6125 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 11/3/2023 4:50 PM, Shubham Rohila wrote: > From: Nikhil Agarwal > > Update the cleanup routine for cdx device to support > device without MSI. Also, set vfio_dev_fd for such devices > This fd can be used for BME reload operations. > > Signed-off-by: Nikhil Agarwal > Signed-off-by: Shubham Rohila Acked-by: Nipun Gupta