Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4517807imm; Fri, 18 May 2018 06:30:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoLJuBsWRjmAidvdFA5bY2JbTDhRDWC3lzWMRWvRn5aje9ETEbfP+ibpK3kpo8y3VzK54mF X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr9402904ple.285.1526650200052; Fri, 18 May 2018 06:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526650200; cv=none; d=google.com; s=arc-20160816; b=JfBe99kHT7ftCTGBbImxlI54kfbm2CLWINXdcZWr8Ig3n8Ug0bDYRvwXClYH5UQtCZ NU2lmmFLjaXmuxzwE/JbpXj2yLXU4FEEM2hdx2LsnFMPZR0CxycF8VoYLV2Qhvh2Q2Dd UmsCFKpK6f/5ZMyHbv5YqFDO5tcSIhqC/28NDrjzIPaePkwBPKC0Zcr5clUsqxaU7Ixh /DRq+YanOI+XscflIDhWswWWY5MCphsm+vmZkP7RpGr/n52e1X4RYuX/ufQF9NYnen0v NZ/63dad9Xz4CMCAM/znSGJDbWsFEFU8PwyajVtoTSYYzQewTL0Qkr565cAkz0McO67n vW+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=OEjJPYj+5j39NFsVKdCuKxmGqJ/AVVAuUSQf02LQi70=; b=derMY/EuQvbGLqa8epv4d+LQ32dfw7gI1BFDySxe44o1E1XvqiZkKvjrc4groAYwsQ KC8FHfX7ZWu4iSo7ATb2BanaOvxAHAoxfbYYFyvsSLY1wKwZpYfUDk+G4kL8zfjdZu6B YD9GXoAwkQdAkxQKWckhAISwxgGagy97uejAAwdN0NFOTeeEb05IiDYBGK0eREgbJevD OM0no2ze/297o1G+ddiNJP1GF0+mtm0iASawz3IGSP+GuroEZRegdjZ3dLXEkR9qLnZN Yu7yVocXLDp+Y1QKg/j0ueWEhEpWh4ZXPAfrn3sR2y7b2sJq7ouyTXrg0ycO2kDD4Lnk Yulg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2-v6si7419462pli.370.2018.05.18.06.29.45; Fri, 18 May 2018 06:30:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752277AbeERN20 (ORCPT + 99 others); Fri, 18 May 2018 09:28:26 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41848 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751526AbeERN2Y (ORCPT ); Fri, 18 May 2018 09:28:24 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4IDOjSn043421 for ; Fri, 18 May 2018 09:28:24 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2j1vrcrsgn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 18 May 2018 09:28:23 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 May 2018 14:28:22 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 18 May 2018 14:28:18 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4IDSIEh10420538; Fri, 18 May 2018 13:28:18 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A33F111C052; Fri, 18 May 2018 14:19:30 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C88C11C04A; Fri, 18 May 2018 14:19:30 +0100 (BST) Received: from oc3836556865.ibm.com (unknown [9.152.224.46]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 May 2018 14:19:30 +0100 (BST) Subject: Re: [PATCH v3] vfio/mdev: Check globally for duplicate devices To: Cornelia Huck , Alex Williamson Cc: kwankhede@nvidia.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Dong Jia Shi References: <20180517031746.32242.17768.stgit@gimli.home> <20180517100928.5949b11e.cohuck@redhat.com> From: Halil Pasic Date: Fri, 18 May 2018 15:28:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180517100928.5949b11e.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18051813-0008-0000-0000-000004F7EE0A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051813-0009-0000-0000-00001E8C6B0C Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-18_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805180147 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/17/2018 10:09 AM, Cornelia Huck wrote: > [Dong Jia, Halil: Can you please take a look whether vfio-ccw is really > ok? I don't think we open up any new races, but I'd appreciate a second > or third opinion.] I will wait for things to settle a bit before I start reviewing the synchronization for mdev and vfio-ccw. I suspect there will be a v4. I would appreciate a cc, so I don't miss it. Halil