From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PART2 PATCH v6 10/12] svm: Introduces AVIC per-VM ID Date: Fri, 19 Aug 2016 15:26:45 +0200 Message-ID: <20160819132644.GA1885@potion> References: <1471549364-6672-1-git-send-email-Suravee.Suthikulpanit@amd.com> <1471549364-6672-11-git-send-email-Suravee.Suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: joro@8bytes.org, pbonzini@redhat.com, alex.williamson@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, sherry.hurwitz@amd.com To: Suravee Suthikulpanit Return-path: Content-Disposition: inline In-Reply-To: <1471549364-6672-11-git-send-email-Suravee.Suthikulpanit@amd.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2016-08-18 14:42-0500, Suravee Suthikulpanit: > Introduces per-VM AVIC ID and helper functions to manage the IDs. > Currently, the ID will be used to implement 32-bit AVIC IOMMU GA tag. > > The ID is 24-bit one-based indexing value, and is managed via helper > functions to get the next ID, or to free an ID once a VM is destroyed. > There should be no ID conflict for any active VMs. > > Signed-off-by: Suravee Suthikulpanit > --- Reviewed-by: Radim Krčmář