Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp674018pxb; Thu, 19 Aug 2021 08:35:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy304VxDHmG+OsuXoK7vPfLmU7fyUSqh6buxFpGi6jYTqn1AfquUWnw1PvNDFP5shIYea/+ X-Received: by 2002:a17:906:38db:: with SMTP id r27mr16788676ejd.338.1629387314522; Thu, 19 Aug 2021 08:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629387314; cv=none; d=google.com; s=arc-20160816; b=VjkxiFq8vGgdVvTntuSxXKprzwUQV/xicqZFNTlm9a/TwtZjL0X+wVb8WS84EJZBNk 5fl6Yd9zn4PzwF3ry2mJpDkor9lYNEGvs/b5pgX44LrXytP797FrwDvnFDyb8ClsWugQ ecEFZs4J2bvRIsA0mZrOPnDi/IbvVvCDnGD6PH1stRPOAFk0WDZlxpss4wzlRnOupBGL V2yMlQT+kRQwxzrGRRae7PWwevaeKXKHBZiVYHB4joxZ8BK8BKbP8hA0qOt3T6KDBtpv gzDB1OQ274LRDM0gjnJu1yTJePvWaHen2PiYLj6gkNxY17xbuyd8DQm/kwCM8CX3b/sQ T7ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:organization:in-reply-to:subject:cc:to:from :dkim-signature; bh=gYOHG6nrXJLL3qFyM+onzFAAsu5lYNgbscRFJOWcw1U=; b=WrHp3xXFzATNftfzZwdHW2hpm59Iy4t8HMEC4GABgNOSNmyLCVvqY9ow8vHLpuHFhY HeCy328GZGqzX1SCQT5E9PJiuuuXGU4YB6QRYpuu+qOCS8eAkMyo4VRfNOKA7CcWsvz0 /YNGEyFLHw/UkmmICczYE2Y17AvOSSCmZIRHfCFqzZzDkyMD0e3HVmOKGH39YWqoIZHT ZIv88YsxwylrEDXDPnSgBhSma+tPq+Ym/KuKwEz6Nc2bt4bFWV26flHYMXS1ZAoCnPR0 b4+A2puhQZCK0k2H655AF/rVhNtCQ9V5Eud1N+3CPNjSV4YYiTAP3CVPprBdMRDed7nW XDdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UG3km95+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hs10si28800ejc.33.2021.08.19.08.34.43; Thu, 19 Aug 2021 08:35:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UG3km95+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240315AbhHSPbO (ORCPT + 99 others); Thu, 19 Aug 2021 11:31:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:51621 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240321AbhHSPbE (ORCPT ); Thu, 19 Aug 2021 11:31:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629387028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gYOHG6nrXJLL3qFyM+onzFAAsu5lYNgbscRFJOWcw1U=; b=UG3km95+NrNDGcZH5S+l1MvXN77AyQppE54NA/OnuuZ5b5qR1dK4OlYHs6q0UwyMx/022z KBf8cANqDWJZ7Q2PIYFuiKsntSHIuolWpcZq6lrdVr96TsS8nVv09bZ3PZ6uCtajTtC7q4 X6RawuFIkwSWgOjDQhgVTJ5kjvc8+Wo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-463-mpSJLYCoPYO9e41_CNr-fA-1; Thu, 19 Aug 2021 11:30:25 -0400 X-MC-Unique: mpSJLYCoPYO9e41_CNr-fA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 066089250D; Thu, 19 Aug 2021 15:30:23 +0000 (UTC) Received: from localhost (unknown [10.39.192.140]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9853B60BF4; Thu, 19 Aug 2021 15:30:22 +0000 (UTC) From: Cornelia Huck To: Alex Williamson , Christian Borntraeger Cc: Tony Krowiak , Halil Pasic , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, pasic@linux.vnet.ibm.com, jjherne@linux.ibm.com, jgg@nvidia.com, kwankhede@nvidia.com, david@redhat.com, pbonzini@redhat.com, frankja@linux.ibm.com, imbrenda@linux.ibm.com Subject: Re: [PATCH 0/2] s390/vfio-ap: do not open code locks for VFIO_GROUP_NOTIFY_SET_KVM notification In-Reply-To: <20210818103908.31eb5848.alex.williamson@redhat.com> Organization: Red Hat GmbH References: <20210719193503.793910-1-akrowiak@linux.ibm.com> <3f45fe31-6666-ac87-3a98-dd942b5dfb3c@linux.ibm.com> <20210802155355.22b98789.pasic@linux.ibm.com> <6f37ef28-3cce-2f4f-3173-2c1e916900cc@linux.ibm.com> <6d64bd83-1519-6065-a4cd-9356c6be5d1a@de.ibm.com> <20210818103908.31eb5848.alex.williamson@redhat.com> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Thu, 19 Aug 2021 17:30:21 +0200 Message-ID: <8735r5sb8y.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 18 2021, Alex Williamson wrote: > On Wed, 18 Aug 2021 17:59:51 +0200 > Christian Borntraeger wrote: > >> On 02.08.21 18:32, Tony Krowiak wrote: >> > >> > >> > On 8/2/21 9:53 AM, Halil Pasic wrote: >> >> On Mon, 2 Aug 2021 09:10:26 -0400 >> >> Tony Krowiak wrote: >> >> >> >>> PING! >> >>> >> >>> This patch will pre-req version 17 of a patch series I have waiting in >> >>> the wings, >> >>> so I'd like to get this one merged ASAP. In particular, if a KVM >> >>> maintainer can >> >>> take a look at the comments concerning the taking of the kvm->lock >> >>> before the >> >>> matrix_mdev->lock it would be greatly appreciated. Those comments begin with >> >>> Message ID <20210727004329.3bcc7d4f.pasic@linux.ibm.com> from Halil Pasic. >> >> As far as I'm concerned, we can move forward with this. Was this >> >> supposed to go in via Alex's tree? >> > >> > I am not certain, Christian queued the previous patches related to >> > this on: >> > >> > >> > https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/log/?h=fixes >> > >> > Jason G., since this will need to be integrated with your other patches, >> > where should this be queued? >> >> >> This previous patch (s390/vfio-ap: clean up mdev resources when remove callback invoked) is >> already in master. >> Can you respin the series with all Acks and RBs? >> >> Alex, can you then take these 2 patches via your tree? Thanks >> >> Acked-by: Christian Borntraeger >> for this series. > > > I see some review feedback that seems to suggest a new version would be > posted: > > https://lore.kernel.org/linux-s390/0f03ab0b-2dfd-e1c1-fe43-be2a59030a71@linux.ibm.com/ Yeah, I thought so as well. But it also looks like something that could be a fixup on top. > > I also see in this thread: > > https://lore.kernel.org/linux-s390/20210721164550.5402fe1c.pasic@linux.ibm.com/ > > that Halil's concern's around open/close races are addressed by Jason's > device_open/close series that's already in my next branch and he > provided an Ack, but there's still the above question regarding the > kvm->lock that was looking for a review from... I'm not sure, maybe > Connie or Paolo. Christian, is this specifically what you're ack'ing? I'm also unsure about the kvm->lock thing. Is taking the lock buried somewhere deep in the code that will ultimately trigger the release? I would at least like a pointer. > > It can ultimately go in through my tree, but not being familiar with > this code I'd hope for more closure. Thanks, > > Alex