From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932460AbcHSN0y (ORCPT ); Fri, 19 Aug 2016 09:26:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54724 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932312AbcHSN0v (ORCPT ); Fri, 19 Aug 2016 09:26:51 -0400 Date: Fri, 19 Aug 2016 15:26:45 +0200 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Suravee Suthikulpanit Cc: joro@8bytes.org, pbonzini@redhat.com, alex.williamson@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, sherry.hurwitz@amd.com Subject: Re: [PART2 PATCH v6 10/12] svm: Introduces AVIC per-VM ID 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1471549364-6672-11-git-send-email-Suravee.Suthikulpanit@amd.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 19 Aug 2016 13:26:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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ář