All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: "Cornwall, Jay" <Jay.Cornwall-5C7GfCeVMHo@public.gmane.org>
Cc: "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org"
	<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
	"Naru, Kim" <Kim.Naru-5C7GfCeVMHo@public.gmane.org>,
	"Hurwitz, Sherry" <sherry.hurwitz-5C7GfCeVMHo@public.gmane.org>
Subject: Re: [PATCH] iommu/amd: Fix for L2 race with VM invalidation
Date: Tue, 20 May 2014 15:32:45 +0200	[thread overview]
Message-ID: <20140520133245.GE17056@8bytes.org> (raw)
In-Reply-To: <99CB3FADB756624A867BE9481439561C334C9045-XjPeyzlH3nQYUXYKxDj4HkEOCMrvLtNR@public.gmane.org>

On Wed, May 14, 2014 at 11:38:25AM +0000, Cornwall, Jay wrote:
> Hi,
> 
> I'm not sure why you're submitting this, Suravee?
> 
> We already agreed that we need the extra mmu_notifier point, proposed
> by Joerg back in 2011, to eliminate the race. I had thought we were
> waiting on that to be implemented.

Speaking of this, would it also be possible to hold back all faults (so
not sending back ppr-comletions) between invalidate_range_start/end()?
Or will the hardware run into a timeout when it takes too long to
process a fault or when it issued the maximum number of parallel faults?


Regards,

	Joerg

WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: "Cornwall, Jay" <Jay.Cornwall@amd.com>
Cc: "Suthikulpanit, Suravee" <Suravee.Suthikulpanit@amd.com>,
	"iommu@lists.linux-foundation.org"
	<iommu@lists.linux-foundation.org>,
	"Hurwitz, Sherry" <sherry.hurwitz@amd.com>,
	"Naru, Kim" <Kim.Naru@amd.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iommu/amd: Fix for L2 race with VM invalidation
Date: Tue, 20 May 2014 15:32:45 +0200	[thread overview]
Message-ID: <20140520133245.GE17056@8bytes.org> (raw)
In-Reply-To: <99CB3FADB756624A867BE9481439561C334C9045@satlexdag03.amd.com>

On Wed, May 14, 2014 at 11:38:25AM +0000, Cornwall, Jay wrote:
> Hi,
> 
> I'm not sure why you're submitting this, Suravee?
> 
> We already agreed that we need the extra mmu_notifier point, proposed
> by Joerg back in 2011, to eliminate the race. I had thought we were
> waiting on that to be implemented.

Speaking of this, would it also be possible to hold back all faults (so
not sending back ppr-comletions) between invalidate_range_start/end()?
Or will the hardware run into a timeout when it takes too long to
process a fault or when it issued the maximum number of parallel faults?


Regards,

	Joerg



  parent reply	other threads:[~2014-05-20 13:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14  6:34 [PATCH] iommu/amd: Fix for L2 race with VM invalidation suravee.suthikulpanit-5C7GfCeVMHo
2014-05-14  6:34 ` suravee.suthikulpanit
     [not found] ` <1400049252-4213-1-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org>
2014-05-14  9:29   ` Joerg Roedel
2014-05-14  9:29     ` Joerg Roedel
     [not found]     ` <20140514092920.GB6026-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-05-14 11:38       ` Cornwall, Jay
2014-05-14 11:38         ` Cornwall, Jay
     [not found]         ` <99CB3FADB756624A867BE9481439561C334C9045-XjPeyzlH3nQYUXYKxDj4HkEOCMrvLtNR@public.gmane.org>
2014-05-20 13:32           ` Joerg Roedel [this message]
2014-05-20 13:32             ` Joerg Roedel
2014-05-20 13:53             ` Cornwall, Jay

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=20140520133245.GE17056@8bytes.org \
    --to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
    --cc=Jay.Cornwall-5C7GfCeVMHo@public.gmane.org \
    --cc=Kim.Naru-5C7GfCeVMHo@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sherry.hurwitz-5C7GfCeVMHo@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.