qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/3] Introduce IOMMUNotifier struct


From: Peter Xu
Subject: [Qemu-devel] [PATCH v2 0/3] Introduce IOMMUNotifier struct
Date: Tue, 6 Sep 2016 21:24:24 +0800

This is merely a re-written for v1 (so no change log provided)... But
anyway let's call it v2.

The idea originates from one of Alex's reply:

  https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg00254.html

But after further discussions, it seems that only adding a simple type
for notifier is not enough. This series introduced IOMMUNotifier
struct to replace the old Notifier interface. Along with it, we can
provide registration for one (or multiple) of the IOMMU notifications:

- cache invalidations
- entry changes

This is a support material for Jason's vhost dmar patchset.

Please read commit messages for detailed information. Thanks,

Peter Xu (3):
  memory: introduce IOMMUNotifier and its caps
  memory: generalize iommu_ops.notify_started to notifier_add
  intel_iommu: allow invalidation typed notifiers

 hw/i386/intel_iommu.c         | 16 +++++++++------
 hw/ppc/spapr_iommu.c          | 18 +++++++++++------
 hw/vfio/common.c              |  5 +++--
 include/exec/memory.h         | 45 +++++++++++++++++++++++++++++++++----------
 include/hw/ppc/spapr.h        |  1 +
 include/hw/vfio/vfio-common.h |  2 +-
 memory.c                      | 45 ++++++++++++++++++++++++++++++-------------
 7 files changed, 94 insertions(+), 38 deletions(-)

-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]