From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/vt-d: Remove unnecassary qi clflushes Date: Mon, 27 Jun 2016 13:30:15 +0200 Message-ID: <20160627113014.GL11432@8bytes.org> References: <1466773994-242872-1-git-send-email-namit@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1466773994-242872-1-git-send-email-namit-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Nadav Amit Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Fri, Jun 24, 2016 at 06:13:14AM -0700, Nadav Amit wrote: > According to the manual: "Hardware access to ... invalidation queue ... > are always coherent." > > Remove unnecassary clflushes accordingly. It is one thing what the spec says and another how hardware really behaves. Have you tested this on (potentially really old) VT-d machines to make sure the spec is _always_ right here? Joerg