Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1254861rdb; Fri, 9 Feb 2024 15:52:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFt9LfbBbJuB8riEyYxKJSYp4a/0UDj/q7axAkSQGqdyyUwORSr2QpSaePLFi9eUueCA19q X-Received: by 2002:a05:620a:2413:b0:785:8eb2:9312 with SMTP id d19-20020a05620a241300b007858eb29312mr601406qkn.32.1707522757756; Fri, 09 Feb 2024 15:52:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707522757; cv=pass; d=google.com; s=arc-20160816; b=P3onSGia0bp1ytgiMWIAeR6zgBdhXcoXzWASE5KdtbL08Jn0iaYoBbnM41gOzXs8kh uPRfyZgek4XBAkqmtCNEp7+nNWf3zOzjozrUFi0UcnpA4+qw4sO9tP7rwYKExC4hBoXx +oIl9JqciUFHCz5LnDVgdw7iM/LsR22ccD6SqR8zb/cd6uIthhH4JwJwKV/Hc59ALyDn /ls9UJq4cLS1DRikE4mNfwYepiga8cOu1gu3UPyfTiDuw7l7RqF8O+0UogDnWXoYODel 1Q4ct8fBF9HqXzL54sn3SyP2/1cPeNOu/9EklcDMW6zi4PlJKB1xqm5Oh2Y2FAWgckKE KAwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:content-transfer-encoding:content-id :content-language:accept-language:in-reply-to:message-id:date :thread-index:thread-topic:subject:to:from:dkim-signature :dkim-filter; bh=NWHjQPlaGIQ9OtliJHmGY1JMnvToGgMO8MA8ryL6e5g=; fh=kyjKINbPtgD0e+l218LAYHD66dlrOycaIe9UCbUWuQs=; b=Ja62xWcdkm/Is5FI8NJtAs1QcQd58e4kFzONCREePxARv3JFfybjKP4m/tTiBrtF8Q 4m4icgf9Igc6bYaTq1uWu1UKWNCEXKYx70O1T9pMHPfVpbUhhGCpCumJb8Mi5WrC3tPW Q3a0O4pkgGz1BJSabhYSUNr5ZU7nlaP6hg2i8CpKNpWbbUbyijNV9GKWti5CzoqIgdoB h0h3YiHSXgSu8MmFSNnSO0ENSPM2BGKqLbk7sHGjzzEPo5e4Hg0OMq1PIXC1HjS9O0fj Ne6cyJuGwlvoGYK3Tgs+OOVwiAsUDe8oPGuxQaBHmGSdCoX1udXj3V/Ae4uk7WH+Wu9n 95Xg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LusQBJ16; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-60157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com X-Forwarded-Encrypted: i=2; AJvYcCXdGK6mLnTjnhhNICHzADegF4L8VbZbyciBEng3ZqDCodQxRq0I/J54Jym5Z+DIVDA7YhzfTDUtZyl/hnVJ5/9qa4sYQgrRVtkNSSyCdQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a29-20020a05620a439d00b00783f5da4fe7si653155qkp.260.2024.02.09.15.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 15:52:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LusQBJ16; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-60157-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 74A701C220F3 for ; Fri, 9 Feb 2024 23:52:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7265839AC5; Fri, 9 Feb 2024 23:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="LusQBJ16" Received: from mailout2.w2.samsung.com (mailout2.w2.samsung.com [211.189.100.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C71538FB9; Fri, 9 Feb 2024 23:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.189.100.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707522738; cv=none; b=CIe4jl7yvndKnDwiIo1p+tgNqbwY/9FlSbJw35lS3fc4cMwcl+YqbGS4fanvoelox73mlhnk/qgf9a41cONa4j/EA1Ep6LUOFGOUHWUp8Yd9q6gUQMzdFGfy1afwD1FsXP1GlHstoQoPWYHTeGolamTauUcpOVK2jEGr3B87JOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707522738; c=relaxed/simple; bh=NWHjQPlaGIQ9OtliJHmGY1JMnvToGgMO8MA8ryL6e5g=; h=From:To:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=ZLVeItb58A219DQmxjOGVLQ8j2C6XD+FfF+pTH7lQ30EylsNhwSZcdUlQ2XBYN2AoumnsEvZ/J+pMNSZuDoTPm+9WGv3VTVIpcj5xmT4d98mp+t9qoLS1Mr0/9aYzSZKUWC8gGtd5ml+gKUL7wSZb3gnDHgEjQH/b8mbbji5krI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=LusQBJ16; arc=none smtp.client-ip=211.189.100.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from uscas1p2.samsung.com (unknown [182.198.245.207]) by mailout2.w2.samsung.com (KnoxPortal) with ESMTP id 20240209235214usoutp0211a981d2cc3704b6e04b6afb426759d7~yVuFVnazW0735807358usoutp02P; Fri, 9 Feb 2024 23:52:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w2.samsung.com 20240209235214usoutp0211a981d2cc3704b6e04b6afb426759d7~yVuFVnazW0735807358usoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1707522734; bh=NWHjQPlaGIQ9OtliJHmGY1JMnvToGgMO8MA8ryL6e5g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LusQBJ16MTV4T+mTwWDCGSexl6lXIN7AQppjKIB6Hmy5/0FLZGqWv6b0NgZolkSY+ lZjvi1QT4Zeu5qbVMrKyVDAVxkcC3SOiamThh6szztPK/pY394hFkyV76E1lFF4+28 /ODqlv7WejgD+GiUpDNN7bOSDLV4z7vwI3qWRNOM= Received: from ussmges1new.samsung.com (u109.gpu85.samsung.co.kr [203.254.195.109]) by uscas1p1.samsung.com (KnoxPortal) with ESMTP id 20240209235213uscas1p1405627f096500d89d28cc2b46806a5fd~yVuEi2rxO2023420234uscas1p1P; Fri, 9 Feb 2024 23:52:13 +0000 (GMT) Received: from uscas1p1.samsung.com ( [182.198.245.206]) by ussmges1new.samsung.com (USCPEMTA) with SMTP id 73.51.09678.DAAB6C56; Fri, 9 Feb 2024 18:52:13 -0500 (EST) Received: from ussmgxs1new.samsung.com (u89.gpu85.samsung.co.kr [203.254.195.89]) by uscas1p2.samsung.com (KnoxPortal) with ESMTP id 20240209235213uscas1p2e8de2bdf05e6e7cba51bd41ddb42a8e4~yVuEO-23j3138731387uscas1p2s; Fri, 9 Feb 2024 23:52:13 +0000 (GMT) X-AuditID: cbfec36d-85fff700000025ce-c6-65c6baadf240 Received: from SSI-EX2.ssi.samsung.com ( [105.128.3.67]) by ussmgxs1new.samsung.com (USCPEXMTA) with SMTP id A1.0B.50167.DAAB6C56; Fri, 9 Feb 2024 18:52:13 -0500 (EST) Received: from SSI-EX2.ssi.samsung.com (105.128.2.227) by SSI-EX2.ssi.samsung.com (105.128.2.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.2375.24; Fri, 9 Feb 2024 15:52:12 -0800 Received: from SSI-EX2.ssi.samsung.com ([105.128.2.227]) by SSI-EX2.ssi.samsung.com ([105.128.2.227]) with mapi id 15.01.2375.024; Fri, 9 Feb 2024 15:52:12 -0800 From: Jim Harris To: Bjorn Helgaas , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leon Romanovsky , "Jason Gunthorpe" , Alex Williamson , "pierre.cregut@orange.com" Subject: [PATCH v2 1/2] PCI/IOV: Revert "PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes" Thread-Topic: [PATCH v2 1/2] PCI/IOV: Revert "PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes" Thread-Index: AQHaW7MAtwi2xwjfZkaUZDAOVEJQAw== Date: Fri, 9 Feb 2024 23:52:12 +0000 Message-ID: <170752273224.1693615.11371097645648272257.stgit@bgt-140510-bm01.eng.stellus.in> In-Reply-To: <170752254154.1693615.9176696143128338408.stgit@bgt-140510-bm01.eng.stellus.in> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-ID: <89791AD5EB1C934187241FFFDADB64F6@ssi.samsung.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGKsWRmVeSWpSXmKPExsWy7djXc7prdx1LNfg6Wdni2/8eNoslTRkW V/7tYbTYtOEJi8XlXXPYLM7OO85msf7rezYHdo8Fm0o9epvfsXm0PDvJ5vF+31U2j8+b5AJY o7hsUlJzMstSi/TtErgymmbsYSnYJlBxe3EDewNjg0AXIyeHhICJxMSnRxlBbCGBlYwSC3qU IexWJomLr4Ngal427GPtYuQCiq9hlNh9YxorRNFHRol/5+0gEksZJSb397KDJNgENCV+XVnD BJIQEbjKJDF59QdmkISwQKLEjeb3LCC2iECaxLXTlxghbD2JR/+fgtksAioS/26uAavnFYiR 2PPxLROIzQlkv+vbBBZnFBCT+H5qDVicWUBc4taT+UwQpwpKLJq9hxnCFpP4t+shG4StKHH/ +0ug4ziA6jUl1u/Sh2i1k3gxdx8bhK0oMaX7ITvEWkGJkzOfsEC0SkocXHGDBeQXCYEzHBLT Xn5mhUi4SLw8vYcdwpaWuHp9KtTebImV6zuYQHZJCBRINByBhqK1xMI/66FO5pP4++sR4wRG 5VlIPpiFcN0sJNfNQnLdLCTXLWBkXcUoXlpcnJueWmyYl1quV5yYW1yal66XnJ+7iRGYlE7/ O5y7g3HHrY96hxiZOBgPMUpwMCuJ8IYsOZIqxJuSWFmVWpQfX1Sak1p8iFGag0VJnNfQ9mSy kEB6YklqdmpqQWoRTJaJg1OqgclJ++PdVTMvKqUGN+qcm60vt7316E/914bbY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CPb8 XbpWft7iWQElPFEPWQPrFv6YdrfRsejP1Dm3801N/I0cylOrW1Nl3f6lLK2YZnLkyeKQtO/b FpnuCwqst04uVTr76oH1kkO/7V/HRcmo+dlGum27lbDtZ1ce7web8xtjSs7t3nVg3b1nRs9f XU+WbXNssit4pPBtr+/sUC6NzI8pSfpqkzZeWnl3xg/TuaZOru3d4dnlsZwXF9TXSZyJTfnf NLEi+/gsj5N7L9/rWvm0+/JL371hVq0pLVvvGO6slT/oKiwhstZtz7E9308ayq+4nBNsJ1Ko xFKckWioxVxUnAgAc2HpCE4DAAA= X-CMS-MailID: 20240209235213uscas1p2e8de2bdf05e6e7cba51bd41ddb42a8e4 CMS-TYPE: 301P X-CMS-RootMailID: 20240209235213uscas1p2e8de2bdf05e6e7cba51bd41ddb42a8e4 References: <170752254154.1693615.9176696143128338408.stgit@bgt-140510-bm01.eng.stellus.in> SWYgYW4gU1ItSU9WIGVuYWJsZWQgZGV2aWNlIGlzIGhlbGQgYnkgdmZpbywgYW5kIHRoZSBkZXZp Y2UgaXMgcmVtb3ZlZCwKdmZpbyB3aWxsIGhvbGQgZGV2aWNlIGxvY2sgYW5kIG5vdGlmeSB1c2Vy c3BhY2Ugb2YgdGhlIHJlbW92YWwuIElmCnVzZXJzcGFjZSByZWFkcyB0aGUgc3Jpb3ZfbnVtdmZz IHN5c2ZzIGVudHJ5LCB0aGF0IHRocmVhZCB3aWxsIGJlIGJsb2NrZWQKc2luY2Ugc3Jpb3ZfbnVt dmZzX3Nob3coKSBhbHNvIHRyaWVzIHRvIGFjcXVpcmUgdGhlIGRldmljZSBsb2NrLiBJZiB0aGF0 CnNhbWUgdGhyZWFkIGlzIHJlc3BvbnNpYmxlIGZvciByZWxlYXNpbmcgdGhlIGRldmljZSB0byB2 ZmlvLCBpdCByZXN1bHRzIGluCmEgZGVhZGxvY2suCgpUaGUgcHJvcGVyIHdheSB0byBkZXRlY3Qg YSBjaGFuZ2UgdG8gdGhlIG51bV9WRnMgdmFsdWU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