From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: RFC: vfio API changes needed for powerpc (v3) Date: Fri, 5 Apr 2013 17:17:25 -0500 Message-ID: <1365200245.17535.13@snotra> References: <9F6FE96B71CF29479FF1CDC8046E15035A29FB@039-SN1MPN1-003.039d.mgd.msft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Transfer-Encoding: 8BIT Cc: Alex Williamson , Wood Scott-B07421 , "agraf@suse.de" , Bhushan Bharat-R65777 , Sethi Varun-B16395 , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "iommu@lists.linux-foundation.org" To: Yoder Stuart-B08248 Return-path: Received: from co9ehsobe004.messaging.microsoft.com ([207.46.163.27]:31143 "EHLO co9outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162791Ab3DEWRa convert rfc822-to-8bit (ORCPT ); Fri, 5 Apr 2013 18:17:30 -0400 In-Reply-To: <9F6FE96B71CF29479FF1CDC8046E15035A29FB@039-SN1MPN1-003.039d.mgd.msft.net> (from B08248@freescale.com on Thu Apr 4 17:10:27 2013) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On 04/04/2013 05:10:27 PM, Yoder Stuart-B08248 wrote: > /* > * VFIO_IOMMU_PAMU_UNMAP_MSI_BANK > * > * Unmaps the MSI bank at the specified iova. > * Caller provides struct vfio_pamu_msi_bank_unmap with all fields > set. > * Operates on VFIO file descriptor (/dev/vfio/vfio). > * Return: 0 on success, -errno on failure > */ > > struct vfio_pamu_msi_bank_unmap { > __u32 argsz; > __u32 flags; /* no flags currently */ > __u64 iova; /* the iova to be unmapped to */ > }; > #define VFIO_IOMMU_PAMU_UNMAP_MSI_BANK _IO(VFIO_TYPE, VFIO_BASE + x, > struct vfio_pamu_msi_bank_unmap ) What happens if a normal unmap call is done on the MSI iova? Do we need a separate unmap? -Scott