iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu / vfio: Clean up iommu_map[_fast] interface
@ 2018-01-31  1:48 Suravee Suthikulpanit
       [not found] ` <1517363285-89304-1-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Suravee Suthikulpanit @ 2018-01-31  1:48 UTC (permalink / raw)
  To: iommu, kvm, linux-kernel
  Cc: joro, jroedel, alex.williamson, Suravee Suthikulpanit

Change iommu_unmap[_fast] interfaces return type to ssize_t since
it can also return error code.

Cc: Joerg Roedel <joro@8bytes.org>
Cc: Alex Williamson <alex.williamson@redhat.com>

Suravee Suthikulpanit (2):
  iommu: Fix iommu_unmap and iommu_unmap_fast return type
  vfio/type1: Add iommu_unmap error check when vfio_unmap_unpin

 drivers/iommu/amd_iommu.c       |  6 +++---
 drivers/iommu/intel-iommu.c     |  4 ++--
 drivers/iommu/iommu.c           | 16 ++++++++--------
 drivers/vfio/vfio_iommu_type1.c |  5 +++--
 include/linux/iommu.h           | 20 ++++++++++----------
 5 files changed, 26 insertions(+), 25 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-02-02 23:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31  1:48 [PATCH 0/2] iommu / vfio: Clean up iommu_map[_fast] interface Suravee Suthikulpanit
     [not found] ` <1517363285-89304-1-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org>
2018-01-31  1:48   ` [PATCH 1/2] iommu: Fix iommu_unmap and iommu_unmap_fast return type Suravee Suthikulpanit
     [not found]     ` <1517363285-89304-2-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org>
2018-01-31 18:02       ` Robin Murphy
2018-02-01  5:03         ` Suravee Suthikulpanit
     [not found]           ` <de21de51-1589-edb1-3dd1-b7065eb8fb3c-5C7GfCeVMHo@public.gmane.org>
2018-02-01 12:17             ` Robin Murphy
2018-02-02 19:13       ` kbuild test robot
2018-02-02 19:41       ` kbuild test robot
2018-02-02 23:57       ` kbuild test robot
2018-01-31  1:48   ` [PATCH 2/2] vfio/type1: Add iommu_unmap error check when vfio_unmap_unpin Suravee Suthikulpanit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).