On 04/11/2013 07:56:59 AM, Joerg Roedel wrote:
On Tue, Apr 09, 2013 at 01:22:15AM +, Yoder Stuart-B08248 wrote:
> > What happens if a normal unmap call is done on the MSI iova? Do
we
> > need a separate unmap?
>
> I was thinking a normal unmap on an MSI windows would be an
error...but
>
arat-R65777
> Subject: Re: RFC: vfio API changes needed for powerpc (v3)
>
> On Tue, Apr 09, 2013 at 01:22:15AM +, Yoder Stuart-B08248 wrote:
> > > What happens if a normal unmap call is done on the MSI iova? Do we
> > > need a separate unmap?
> >
> >
On Tue, Apr 09, 2013 at 01:22:15AM +, Yoder Stuart-B08248 wrote:
> > What happens if a normal unmap call is done on the MSI iova? Do we
> > need a separate unmap?
>
> I was thinking a normal unmap on an MSI windows would be an error...but
> I'm not set on that. I put the msi unmap there to
> -Original Message-
> From: Yoder Stuart-B08248
> Sent: Friday, April 05, 2013 3:40 AM
> To: Alex Williamson
> Cc: Wood Scott-B07421; ag...@suse.de; Bhushan Bharat-R65777; Sethi
> Varun-B16395;
> kvm@vger.kernel.org; qemu-de...@nongnu.org; io...@lists.linux-foundation.
rg; io...@lists.linux-foundation.org
> Subject: Re: RFC: vfio API changes needed for powerpc (v3)
>
> 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.
> > * Cal
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, -er
-v3 updates
-made vfio_pamu_attr a union, added flags
-s/VFIO_PAMU_/VFIO_IOMMU_PAMU_/ for the ioctls to make it more
clear which fd is being operated on
-added flags to vfio_pamu_msi_bank_map/umap
-VFIO_PAMU_GET_MSI_BANK_COUNT now just returns a __u32
not a struct
-fixed some