Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754917AbbFKONE (ORCPT ); Thu, 11 Jun 2015 10:13:04 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54389 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752963AbbFKONA (ORCPT ); Thu, 11 Jun 2015 10:13:00 -0400 Date: Thu, 11 Jun 2015 16:12:56 +0200 From: Joerg Roedel To: David Woodhouse Cc: Joerg Roedel , iommu@lists.linux-foundation.org, zhen-hual@hp.com, bhe@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] iommu/vt-d: Don't consider copied context entries as present Message-ID: <20150611141256.GF16345@suse.de> References: <1434030463-942-1-git-send-email-joro@8bytes.org> <1434030463-942-3-git-send-email-joro@8bytes.org> <1434031622.3907.40.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434031622.3907.40.camel@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 27 On Thu, Jun 11, 2015 at 03:07:02PM +0100, David Woodhouse wrote: > On Thu, 2015-06-11 at 15:47 +0200, Joerg Roedel wrote: > > From: Joerg Roedel > > > > Hide the copied context entries from the IOMMU driver by > > considering them as non-present. This is implemented by > > setting the first AVL bit (bit 67) in the context entry to > > one. If this bit is set, the context_present() function > > returns false. > > > > Signed-off-by: Joerg Roedel > > In the extended context entry, bit 67 is the PGE bit. There are no bits > which are available to software, to my knowledge. Ah you are right, I was looking at the context-entry format without PASID. Then I have to solve this differently. Thanks for pointing that out. Joerg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/