From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0072.outbound.protection.outlook.com [104.47.32.72]) by dpdk.org (Postfix) with ESMTP id E36752C8 for ; Fri, 7 Jul 2017 12:03:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7hNp8s3Gba+aINJUH8vwjBRGvJsYPiPqon8Pj1Zny0Q=; b=orgD7alHZFTJStPNOACCQ1EuNPFbe8e2hKkJETCSV3RhYS1buCZ6gkfVhZQ3k9yZ/laVhXlB28sCyVML+xMPtZ82tiRxyA9+eBa8Q7MmLoYSSYCJ5qtj0e2BcLSqwViXn2i5pUylPM191ps3+Edv/VkMCbNFS6TFxxti9ZHE1HU= Authentication-Results: weka.io; dkim=none (message not signed) header.d=none; weka.io; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (14.140.2.178) by MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Fri, 7 Jul 2017 10:03:37 +0000 Date: Fri, 7 Jul 2017 15:33:19 +0530 From: Shijith Thotton To: Gregory Etelson Cc: Ferruh Yigit , dev@dpdk.org, Stephen Hemminger , Qi Zhang , Wenzhuo Lu , Thomas Monjalon , Jianfeng Tan Message-ID: <20170707100311.GA6000@localhost.localdomain> References: <1496228966-18573-1-git-send-email-shijith.thotton@caviumnetworks.com> <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> <2058901.cGOP7o7VZP@polaris> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2058901.cGOP7o7VZP@polaris> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: PN1PR01CA0097.INDPRD01.PROD.OUTLOOK.COM (10.174.144.13) To MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5202c5c3-7607-493d-6758-08d4c51f7122 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3069; 3:LAnC2p4oMhxkpzQx6PqBEiJro/YeAl6wLQtAnYgcGg5aNG/c2jkwUi/eAxnyipw5MocRO4+Rl8vxqtnpylNnJNec7wxDxJm1aNGQmp71Rtvuj9ctSItGkjMWTC/fyJ2ptu8SI4ABRus+cEbGPT3NJyk2KoaxMiBFIwLA18s+V91IMjHXvg+Zdt1xcV8l/yM6X4PBf4DSiKe6HPQvNr4y1r7olPQK4aJlFXii6boVztWl7tghwaitSaVXitXVFaELkL5k79Mc1fH9J5Uzam57kO3qqXXoDah7Se6im8mBxyxAHDWURXLWI2JLvLoH/9NYObRgNiCYic4S23feaHBfyKTvs8axSxzbyqcGeW5AvyomV+JAx6E2Ym5mI8G/E8QolUIZXgHrf+u4iBXZ6iSfLElrWiP5Dq8eoDnb2Oc4tTV8XqCWaUWZzizT1pACjikhSYCXI0C2oJ5UxMMRvw1Jsgz73ILNQuDjzCTHbDrKKo3dDj/9X9PFTsnYZ9E+Jo20iWoFKiUmg8MwUT56pkWp2kiRvSiRWjWy6an8SvF6rVusbx7qiccVq/+Qd/hLV9I+M7/kc7QtSXNfCTjMO7XBFY7978dtEmkAZ2q7IKh3YHTutZ40xmdOTbJMWWhWih0DtUyk7Mav3Qt9SyZvUbd098uwlyzgyFGPj6Xgk6/VlnNsCEUDsR2Fuft8gPoh9Sa3ho5fk76pEP+TEgXmutzbzZueQiD7KQ/FheoUfL/MwXg91fdmIt5WTGXYWmLfpb3C X-MS-TrafficTypeDiagnostic: MWHPR07MB3069: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3069; 25:IU1Kf821YCCmfaEoy6SG17xysnl2i/c4kisGJlhB/LCEd7YEZiraPX0VGLDk3fBknx+ify2wEuf+wU6EudCazpBqfjXa5yq985VNuRStUOif18/CAeINFPKgI/MLbJis1CmkOUqm+HiAMf/K4+TtXigPKbTMAWk2RpmkSxzTbbqssToOQvj8avchTdx08WmjdLktkqHeixnJkIeH+Gw/ZSf1j7mgwxE3j6Pu7FQISbObw6D1VMijbDzA3tbWCsVKHZjfHER0zSPe4V6JqHfVrXpfI/ByxEPluHKQc+MPQyC7jqg+yK6O3tm5AAn+7GcgJEPY8iBVP5tN+DfjV4tzIHY47EM8Dj2seEw1vFTrTk/Fob0dGbMQQRDpUBVw5gApdt3YDLwBO4xWc0w9rlfHwVT/45CbqJI+pXIEvnWv4vQKVeLRcDE0U+1zepO/K0FZV8BKrUD4S8/InChsZWdx/o4F88NnU46IHIFFaB8K+5zSipR2D5v2n6J5avCKRjawydNZH9+UebeueWDTeLLvt8Qc2WILRw5flKHj3BHWkpE1JRKxOuxM2iSCAIUwgVD/Axn7DNMiB9sYoAm1bi7vtGSSCWYZoFZbXALyTTr9jJ7rJ37MyGUjwe6HT+paF8telTjf5zcxGXauOdYZ5YjGYUh+asRWBCBd7ngWYjoY//dMuXbBiFu6licWOz/BJuTZ8ssRuntCp/WsCU5IcAA5w/3R5rs0wsB8Rg8KCDCuhFGG1kczXWOEYgjdM2SlK96Vzbja2VJ3SRnrDpxgcaOptMZK3PtrQovKqW4msDjRIAc3td0gsvA+lKUX2ZS0aghD+N1GfobgvaQP6e9kJg7IToGjxGYgtQ8H5zil5/IDsL+Ie68b/LYM6DAyubLncwEs0yza5L9Q8P4NuAyl9q0KjnchSlG0YpSPA6DszRvF0DE= X-Microsoft-Exchange-Di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Xl0Q5qMmACeEC59fZeGASWde9FW7U5b6y1o27+/h7OdRXqjNGXsmpoMuKMwXruaB6QMD/S4/z5ForIyhN4WK6kIXZCT+ErnNTmtUA+XXrHFzy8QnbevxGYHlyIyzPIFMP0Ti2sABoQWFzZQO6l90WDC2ss3rTtGJFo19Mw/MdRo4QgmauW4yHhRwDjf3BKlo0j2wa0PXaMKkn14RTosHWHv2ql666zSpnMzWtaa06wtI886Y7m5mV0eifdwIzFzfDckhmq3Z5wdAKa5rKYdvC3KJiubTvVU0KoPZD9jDNdDwzegNgbk4ezpsvKe+ah0oM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(236129657087228)(48057245064654)(58145275503218)(247924648384137)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3069; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 4:kbpUtAIkvilMunyoe7nguQF+oHrYxGdhI+wcACnbNz?= =?us-ascii?Q?qwzPJF1t/1aRPThDvvrItVckEZb3oX8KxaRXmboko8caDrHJx4b9e7VE2NsY?= =?us-ascii?Q?Om44vULfKaa6kFOPkFFHvd68SCn8yy9DggXit0NDhfl4bi2dhmnjt1TzLMDZ?= =?us-ascii?Q?0k95dL9gJumYOKdwh/vu6lzel4NpJv17PDcJ4yZPTdZz1vDpMxCgT8zzFeDv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F7HJ0Fh4OhyOj7EJffcld5sFdz2nAu9uqsn2XlLf2?= =?us-ascii?Q?oYRWQUs4vKeqKsCjldDwvI4HbHo0N7XYJ3vsuGeFiPJ80iQye2+dlmV0U/ee?= =?us-ascii?Q?grdLxHyNi7+QH85hTfOu4nlJaYRCftSnoCwCookHszpqONXiE9NdGFK+omCJ?= =?us-ascii?Q?rqr1CMMQaPGddWy+Aqj8YfZ/2g1+TbJchtPxyxgn5IgjMMj0/2oXXJhB7c4b?= =?us-ascii?Q?MujSj9Pdj5sTNCGrvT3IRGt8OSeXGbmVczBJTyzzBD4T6XwrTFP8OY7DTDRS?= =?us-ascii?Q?h7mA=3D=3D?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(39850400002)(39450400003)(39840400002)(39400400002)(39410400002)(377454003)(24454002)(43544003)(38730400002)(53376002)(6246003)(189998001)(50466002)(55016002)(53936002)(6306002)(83506001)(8676002)(54906002)(9686003)(81166006)(76176999)(50986999)(110136004)(61506002)(54356999)(4001350100001)(478600001)(229853002)(25786009)(72206003)(7736002)(966005)(93886004)(6506006)(5009440100003)(42186005)(47776003)(66066001)(53546010)(2906002)(305945005)(6116002)(4326008)(3846002)(33656002)(23726003)(1076002)(42882006)(6666003)(2950100002)(6916009)(5660300001)(110426004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3069; H:localhost.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 23:RMeXWnf6VIP97ZsuvezB1EGtHoC+Y/k+PjbDbovwT?= =?us-ascii?Q?cyBqaAXB4ohJ7kdpcUryXfNu3lHRamhERUOmFRSn8gVS3Az3q5OR+rSHcpEO?= =?us-ascii?Q?NrwuGiN1kFdoDSei3Ep55BUGu1oIk+PDnXeUpKzlnKeEg4Crv4ESDskiwFCH?= =?us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FizhrTUZQouRBtkHNGxB1LsW3/bLnTStbNQ2mhMvAsONlu62zWj7rfhryKxh2IjK4fiVZJVheYADgbgwosMf9PlKHZzFQpPGmwxr0= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 10:03:37.1968 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3069 Subject: Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file 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: , X-List-Received-Date: Fri, 07 Jul 2017 10:03:43 -0000 On Thu, Jul 06, 2017 at 08:27:17PM +0300, Gregory Etelson wrote: > I could not reproduce server crash with http://dpdk.org/dev/patchwork/patch/25267/ [1] > However, pci_try_reset_function() API used in that patch is not defined in RedHat-6.x Linux-2.6.32 kernels > Therefore I work with http://dpdk.org/dev/patchwork/patch/25061/ patch [2]. > [2] was successfully tested with IXGBE & I40e VFs on RH 6.x, RH 7.x Ubuntu 14.04 and SLES-11.4 > > Regards, > Gregory > > On Thursday, 6 July 2017 19:41:40 IDT Ferruh Yigit wrote: > > On 6/12/2017 10:38 AM, Shijith Thotton wrote: > > > Set UIO info device file operations open and release. Call pci reset > > > function inside open and release to clear device state at start and end. > > > Copied this behaviour from vfio_pci kernel module code. With this patch, > > > it is not mandatory to issue FLR by PMD's during init and close. > > > > > > Bus master enable and disable are added in open and release respectively > > > to take care of device DMA. > > > > > > Signed-off-by: Shijith Thotton > > > > This patch, and Gregory's patch [1] are very similar and main target is > > to leave device in a more proper state when DPDK application quits > > unexpectedly. > > > > Difference between two are, this one implements both .open and .release > > ops, and sets / clears bus master accordingly. > > > > Although main concern is .reset, I am OK to follow vfio_pci approach > > here, and clearing bus master on .reset can prevent unwanted DMA access. > > > > So, I am for this patch and I am testing it for a few days without a > > problem. > > > > But Gregory reported a crash with older version of this patch, without > > more detail, we should clear that first. With Gregory's Tested-by, I am > > OK with this patch. > > > > > > Gregory, > > > > Are you using your version, what are the results? And would you mind > > testing this patch? > > > > Thanks, > > ferruh > > > > > > [1] > > http://dpdk.org/dev/patchwork/patch/25061/ > > > > Hi Gregory, Please try the following change: s/pci_try_reset_function/pci_reset_function/ pci_try_reset_function is same as pci_reset_function, except it returns -EAGAIN if unable to lock the device[1]. If everyone agrees, I can submit v2 with this change. 1. http://elixir.free-electrons.com/linux/latest/source/drivers/pci/pci.c#L4293 Thanks, Shijith