From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2C946A0577; Mon, 6 Apr 2020 21:15:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 053F82B96; Mon, 6 Apr 2020 21:15:28 +0200 (CEST) Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by dpdk.org (Postfix) with ESMTP id 431262B86 for ; Mon, 6 Apr 2020 21:15:25 +0200 (CEST) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 036J8FaS002967; Mon, 6 Apr 2020 19:15:25 GMT Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0a-002e3701.pphosted.com with ESMTP id 3081hkv4dv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Apr 2020 19:15:25 +0000 Received: from G4W9119.americas.hpqcorp.net (g4w9119.houston.hp.com [16.210.20.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id 6B6895C; Mon, 6 Apr 2020 19:15:24 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 19:15:24 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.12) by G9W8454.americas.hpqcorp.net (16.216.161.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 6 Apr 2020 19:15:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lAof1Ye9I4VFK81DuYirl0w4kh6/GaTzAm2gY6nuvQtkjZFLhRSsSrZvSL724SMJwpi1mBBzE9iCzZLRyFHe3mnX4gOYxV1WxisdGZuYd9HyEkNsBaCW8svApwTQLy8Q4GjMFZ1ffk+l/totvJen/5q8s2urv9MYUrr7NOvxs1obInZdTEkd1ZrQ9OkY/sOqoaKxwPhwKIEUD0l2v1zphuzm1Qrwze2MQEZPatOdMxlmbckaP3+c5Iwz288ip1xmQ+hg3th+z8MBO7atUtr8yV/oZ5b2PVt29p4B5bP1tA1u14sSrxRy7Lx8/W9g86lfdl3+fPFoOorqEo++SxS6aA== 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=8acTjh4yitObBu3DhoRkP8KzJXvvy/vk6l/mvwt5xsA=; b=Hk+biAfJBKi6XZBgglohYfZKoypr60BBKrfPjdxxlnaYqEnjS0ESjbKkK+gg1rVK5eaaupjzWx/Y48GNNbx4pyhU3hcSSeoifen7cbxcfYauPwsJEMOH7aKj5NbBvTitSuCp7u8gJEe1iiPTb6FHU97CdoJwHirDQh6AQXnElpo7DktXvHHajsYqeodBuqCGkHqnB3xreVE4lJ/PYk6EQ71kmFi21QAt3gXOyUdxzkArO/3q0CnimAcTfbe031H+BijYj0cNUIQp41B/uGLbOVJ1p2AkOLAe9MPTmIbrGh7sLbold/UTc4EyUtyJSCP52UPsC+iqSIoReYWTAeUtxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CS1PR8401MB0728.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::23) by CS1PR8401MB0536.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7514::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Mon, 6 Apr 2020 19:15:22 +0000 Received: from CS1PR8401MB0728.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6:bc44:30cb:4e63]) by CS1PR8401MB0728.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6:bc44:30cb:4e63%6]) with mapi id 15.20.2878.021; Mon, 6 Apr 2020 19:15:22 +0000 From: "Haeuptle, Michael" To: David Marchand , "Burakov, Anatoly" CC: dev Thread-Topic: [dpdk-dev] [PATCH] eal: Fixes VFIO/sysfs race condition Thread-Index: AQHWB313fUTbvbrIAUKsWhj/xcCWVahlnv0AgAZ/mYCAAGFcUA== Date: Mon, 6 Apr 2020 19:15:21 +0000 Message-ID: References: <20200331165657.29368-1-michael.haeuptle@hpe.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [75.71.233.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0b763745-727b-45fe-6d48-08d7da5eda46 x-ms-traffictypediagnostic: CS1PR8401MB0536: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0365C0E14B x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CS1PR8401MB0728.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(136003)(39860400002)(376002)(366004)(346002)(396003)(66556008)(66476007)(64756008)(71200400001)(86362001)(66946007)(2906002)(76116006)(26005)(186003)(478600001)(5660300002)(52536014)(4326008)(33656002)(66446008)(9686003)(6506007)(7696005)(53546011)(110136005)(316002)(81156014)(8676002)(8936002)(55016002)(81166006); DIR:OUT; SFP:1102; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: midGXINi2z7G+CCyli1ha72Zgdop3RQv9V9jv0jTOdPukt32LJ+90l70YgEfm30fJjpyUjfAo/2SvLeQtClNtviTxWP1GyMCm+X5lYJLjqSJ46q0S+L5hD5+JTBlpCbsEHsuF4xJZAx9yjBWUVnAffvGDf9l2h6fKyRg4+PHlk9juqynXIRfDv2MDOdbDmsL5SM6meUUsXZN8iwUmaSn8WcYEKiUkgek8VT3puC9U8aRn4udP4hHB0IXsS6+w79ZCzrlzin8w0HECcXxLIKtw+/uiRWh+vdhJxjCrAPGjUed0GB3vZGDlK1cdtDVq48JWfIOh+leHQe/aqG6/9l977jsGGR1qnU8Ec0NZs6UF4jp+BSupYnwBV2WCAffwmzWxfuwxksnC20oKFBxqxd3MWHsJwGGxmAEV5Y+f4OKo0X51CWRsKumGI1LEHDbYEcu x-ms-exchange-antispam-messagedata: SYtJKnE8zUr7gkZkAbUVFWqt52+CXEKYIfVRFrJmuQhGiVRX7JNtCCsUHn3mvW0D1KDfb00g8T3An5xSpsYcHsn/6DKREKHLXGf7WKncSu4HK8oqH60JKztHzu4VcFixtwxJ4hpNn5DSBfzoxukGrA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" X-MS-Exchange-CrossTenant-Network-Message-Id: 0b763745-727b-45fe-6d48-08d7da5eda46 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2020 19:15:21.8924 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mZwJCmakm4g1ytGnMMk+Di8jXDt1edFFIIlR8biWP4biDCr28dS1ch0J1uWs9JqPuxyrUJghxIy432R8PKIjX4hFjgSN79hL6Jm5nm3UXiY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0536 X-OriginatorOrg: hpe.com Content-Transfer-Encoding: base64 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-06_10:2020-04-06, 2020-04-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 clxscore=1011 impostorscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004060148 Subject: Re: [dpdk-dev] [PATCH] eal: Fixes VFIO/sysfs race condition 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" SGkgRGF2ZSwNCg0KVGhpcyBpcyBteSBmaXJzdCBzdWJtaXNzaW9uLi4uIGhvdyBkbyBJIGdldCB0 aGUgZml4ZXMgcmVmZXJlbmNlPw0KDQpCYWNrIHBvcnRpbmcgaXQgdG8gMTkuMTEgd291bGQgYmUg Z3JlYXQuIFRoaXMgaXNzdWUgc2hvd3MgdXAgaW4gU1BESyAyMC4wMSwgd2hpY2ggdXNlcyAxOS4x MS4NCg0KLS0gTWljaGFlbA0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogRGF2 aWQgTWFyY2hhbmQgW21haWx0bzpkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tXSANClNlbnQ6IE1v bmRheSwgQXByaWwgNiwgMjAyMCA3OjI1IEFNDQpUbzogQnVyYWtvdiwgQW5hdG9seSA8YW5hdG9s eS5idXJha292QGludGVsLmNvbT47IEhhZXVwdGxlLCBNaWNoYWVsIDxtaWNoYWVsLmhhZXVwdGxl QGhwZS5jb20+DQpDYzogZGV2IDxkZXZAZ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