From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
To: iommu@lists.linux-foundation.org, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: joro@8bytes.org, jroedel@suse.de, alex.williamson@redhat.com,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: [PATCH 0/2] iommu / vfio: Clean up iommu_map[_fast] interface
Date: Tue, 30 Jan 2018 20:48:03 -0500 [thread overview]
Message-ID: <1517363285-89304-1-git-send-email-suravee.suthikulpanit@amd.com> (raw)
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
next reply other threads:[~2018-01-31 1:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 1:48 Suravee Suthikulpanit [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1517363285-89304-1-git-send-email-suravee.suthikulpanit@amd.com \
--to=suravee.suthikulpanit@amd.com \
--cc=alex.williamson@redhat.com \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=jroedel@suse.de \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).