Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Anthony Krowiak <akrowiak@linux.ibm.com>
Cc: mjrosato@linux.ibm.com, david@redhat.com, farman@linux.ibm.com,
	imbrenda@linux.ibm.com, linux-s390@vger.kernel.org,
	Yi Liu <yi.l.liu@intel.com>,
	kvm@vger.kernel.org, pasic@linux.ibm.com,
	borntraeger@linux.ibm.com, intel-gfx@lists.freedesktop.org,
	intel-gvt-dev@lists.freedesktop.org, frankja@linux.ibm.com,
	jjherne@linux.ibm.com, pmorel@linux.ibm.com, seanjc@google.com,
	cohuck@redhat.com, linux-kernel@vger.kernel.org,
	pbonzini@redhat.com
Subject: Re: [Intel-gfx] [PATCH] kvm/vfio: Fix potential deadlock on vfio group_lock
Date: Tue, 31 Jan 2023 10:48:22 -0400	[thread overview]
Message-ID: <Y9kqNnJ5ayCQSW9z@nvidia.com> (raw)
In-Reply-To: <b0ed98f6-3586-3151-47e7-9ec86d6c716d@linux.ibm.com>

On Tue, Jan 31, 2023 at 09:46:18AM -0500, Anthony Krowiak wrote:

> > Maybe you should split that lock and have a dedicated apcb lock?
> 
> I don't think that would suffice for taking the vCPUs out of SIE.

Then I think we have to keep this patch and also do Matthew's patch to
keep kvm refs inside vfio as well.

Jason

  reply	other threads:[~2023-01-31 14:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 15:05 [Intel-gfx] [PATCH] kvm/vfio: Fix potential deadlock on vfio group_lock Yi Liu
2023-01-20 15:08 ` Liu, Yi L
2023-01-20 15:45   ` Matthew Rosato
2023-01-20 15:49     ` Alex Williamson
2023-01-20 17:58 ` Alex Williamson
2023-01-20 19:25 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2023-01-21 20:16 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-01-31 14:27 ` [Intel-gfx] [PATCH] " Anthony Krowiak
2023-01-31 14:34   ` Jason Gunthorpe
2023-01-31 14:46     ` Anthony Krowiak
2023-01-31 14:48       ` Jason Gunthorpe [this message]
2023-01-31 15:00         ` Matthew Rosato
2023-01-31 15:12           ` Jason Gunthorpe
2023-01-31 14:35   ` Matthew Rosato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y9kqNnJ5ayCQSW9z@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=akrowiak@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=farman@linux.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=jjherne@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=mjrosato@linux.ibm.com \
    --cc=pasic@linux.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=pmorel@linux.ibm.com \
    --cc=seanjc@google.com \
    --cc=yi.l.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox