All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: kvm@vger.kernel.org, Alexey Kardashevskiy <aik@ozlabs.ru>,
	linux-kernel@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH] vfio powerpc: enabled on powernv platform
Date: Wed, 12 Dec 2012 23:38:57 +1100	[thread overview]
Message-ID: <50C87AE1.9000708@ozlabs.ru> (raw)
In-Reply-To: <1355315657-31153-1-git-send-email-aik@ozlabs.ru>

Hi Alex,

I posted other pair of patches. While debugging and testing my stuff I 
implemented some rough hack to support IOMMU mappings without passing those 
hypercalls to the QEMU, this is why I moved pieces of code around - want to 
support both QEMU-VFIO and kernel optimized H_PUT_TCE handler.



On 12/12/12 23:34, Alexey Kardashevskiy wrote:
> This patch initializes IOMMU groups based on the IOMMU
> configuration discovered during the PCI scan on POWERNV
> (POWER non virtualized) platform. The IOMMU groups are
> to be used later by VFIO driver (PCI pass through).
>
> It also implements an API for mapping/unmapping pages for
> guest PCI drivers and providing DMA window properties.
> This API is going to be used later by QEMU-VFIO to handle
> h_put_tce hypercalls from the KVM guest.
>
> Although this driver has been tested only on the POWERNV
> platform, it should work on any platform which supports
> TCE tables.
>
> To enable VFIO on POWER, enable SPAPR_TCE_IOMMU config
> option and configure VFIO as required.
>
> Cc: David Gibson <david@gibson.dropbear.id.au>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---


-- 
Alexey

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	kvm@vger.kernel.org, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH] vfio powerpc: enabled on powernv platform
Date: Wed, 12 Dec 2012 23:38:57 +1100	[thread overview]
Message-ID: <50C87AE1.9000708@ozlabs.ru> (raw)
In-Reply-To: <1355315657-31153-1-git-send-email-aik@ozlabs.ru>

Hi Alex,

I posted other pair of patches. While debugging and testing my stuff I 
implemented some rough hack to support IOMMU mappings without passing those 
hypercalls to the QEMU, this is why I moved pieces of code around - want to 
support both QEMU-VFIO and kernel optimized H_PUT_TCE handler.



On 12/12/12 23:34, Alexey Kardashevskiy wrote:
> This patch initializes IOMMU groups based on the IOMMU
> configuration discovered during the PCI scan on POWERNV
> (POWER non virtualized) platform. The IOMMU groups are
> to be used later by VFIO driver (PCI pass through).
>
> It also implements an API for mapping/unmapping pages for
> guest PCI drivers and providing DMA window properties.
> This API is going to be used later by QEMU-VFIO to handle
> h_put_tce hypercalls from the KVM guest.
>
> Although this driver has been tested only on the POWERNV
> platform, it should work on any platform which supports
> TCE tables.
>
> To enable VFIO on POWER, enable SPAPR_TCE_IOMMU config
> option and configure VFIO as required.
>
> Cc: David Gibson <david@gibson.dropbear.id.au>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---


-- 
Alexey

  reply	other threads:[~2012-12-12 12:39 UTC|newest]

Thread overview: 122+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20121113033832.GW4696@truffula.fritz.box>
2012-11-20  0:48 ` [PATCH] vfio powerpc: enabled and supported on powernv platform Alexey Kardashevskiy
2012-11-20  0:48   ` Alexey Kardashevskiy
2012-11-20 18:19   ` Alex Williamson
2012-11-20 18:19     ` Alex Williamson
2012-11-22 11:56     ` Sethi Varun-B16395
2012-11-22 11:56       ` Sethi Varun-B16395
2012-11-22 11:56       ` Sethi Varun-B16395
2012-11-23  2:02       ` Alexey Kardashevskiy
2012-11-23  2:02         ` Alexey Kardashevskiy
2012-11-26 15:18         ` Alex Williamson
2012-11-26 15:18           ` Alex Williamson
2012-11-26 18:04           ` Alex Williamson
2012-11-26 18:04             ` Alex Williamson
2012-11-27  0:21             ` Benjamin Herrenschmidt
2012-11-27  0:21               ` Benjamin Herrenschmidt
2012-11-27  3:28             ` Alexey Kardashevskiy
2012-11-27  3:28               ` Alexey Kardashevskiy
2012-11-27  4:23               ` Alex Williamson
2012-11-27  4:23                 ` Alex Williamson
2012-11-26 15:08       ` Alex Williamson
2012-11-26 15:08         ` Alex Williamson
2012-11-23  9:03     ` [PATCH 0/2] vfio powerpc: implemented and enabled Alexey Kardashevskiy
2012-11-23  9:03       ` Alexey Kardashevskiy
2012-11-23  9:03       ` [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO Alexey Kardashevskiy
2012-11-23  9:03         ` Alexey Kardashevskiy
2012-11-26 18:20         ` Alex Williamson
2012-11-26 18:20           ` Alex Williamson
2012-11-27  4:06           ` Alexey Kardashevskiy
2012-11-27  4:06             ` Alexey Kardashevskiy
2012-11-27  4:29             ` Alex Williamson
2012-11-27  4:29               ` Alex Williamson
2012-11-27  4:58               ` Alexey Kardashevskiy
2012-11-27  4:58                 ` Alexey Kardashevskiy
2012-11-27  5:06                 ` David Gibson
2012-11-27  5:06                   ` David Gibson
2012-11-27  5:07                 ` Alex Williamson
2012-11-27  5:07                   ` Alex Williamson
2012-11-28  7:21                   ` [PATCH] " Alexey Kardashevskiy
2012-11-28  7:21                     ` Alexey Kardashevskiy
2012-11-28 21:01                     ` Alex Williamson
2012-11-28 21:01                       ` Alex Williamson
2012-11-29  3:51                       ` Alexey Kardashevskiy
2012-11-29  3:51                         ` Alexey Kardashevskiy
2012-11-23  9:03       ` [PATCH 2/2] vfio powerpc: enabled on powernv platform Alexey Kardashevskiy
2012-11-23  9:03         ` Alexey Kardashevskiy
2012-11-27  4:41         ` Alex Williamson
2012-11-27  4:41           ` Alex Williamson
2012-11-28  7:18           ` [PATCH] " Alexey Kardashevskiy
2012-11-28  7:18             ` Alexey Kardashevskiy
2012-11-28 21:30             ` Alex Williamson
2012-11-28 21:30               ` Alex Williamson
2012-11-29  3:53               ` Alexey Kardashevskiy
2012-11-29  3:53                 ` Alexey Kardashevskiy
2012-11-29  4:20                 ` Alex Williamson
2012-11-29  4:20                   ` Alex Williamson
2012-11-30  6:14                   ` Alexey Kardashevskiy
2012-11-30  6:14                     ` Alexey Kardashevskiy
2012-11-30 16:48                     ` Alex Williamson
2012-11-30 16:48                       ` Alex Williamson
2012-12-01  0:14                       ` Alexey Kardashevskiy
2012-12-01  0:14                         ` Alexey Kardashevskiy
2012-11-30  6:16                   ` Alexey Kardashevskiy
2012-11-30  6:16                     ` Alexey Kardashevskiy
2012-12-03  2:52       ` [PATCH 0/2] vfio on power: yet another try Alexey Kardashevskiy
2012-12-03  2:52         ` Alexey Kardashevskiy
2012-12-03  2:52         ` [PATCH 1/2] vfio powerpc: enabled on powernv platform Alexey Kardashevskiy
2012-12-03  2:52           ` Alexey Kardashevskiy
2012-12-03 17:35           ` Alex Williamson
2012-12-03 17:35             ` Alex Williamson
2012-12-04  8:12             ` Alexey Kardashevskiy
2012-12-04  8:12               ` Alexey Kardashevskiy
2012-12-04 15:51               ` Alex Williamson
2012-12-04 15:51                 ` Alex Williamson
2012-12-07  7:35                 ` [PATCH] " Alexey Kardashevskiy
2012-12-07  7:35                   ` Alexey Kardashevskiy
2012-12-07 17:38                   ` Alex Williamson
2012-12-07 17:38                     ` Alex Williamson
2012-12-12  6:14                     ` Alexey Kardashevskiy
2012-12-12  6:14                       ` Alexey Kardashevskiy
2012-12-12 14:34                       ` Alex Williamson
2012-12-12 14:34                         ` Alex Williamson
2012-12-13  2:29                         ` Benjamin Herrenschmidt
2012-12-13  2:29                           ` Benjamin Herrenschmidt
2012-12-13  6:27                           ` Alexey Kardashevskiy
2012-12-13  6:27                             ` Alexey Kardashevskiy
2012-12-13  6:28                           ` [PATCH] iommu: moving initialization earlier Alexey Kardashevskiy
     [not found]                             ` <1355380115-4518-1-git-send-email-aik-sLpHqDYs0B2HXe+LvDLADg@public.gmane.org>
2012-12-13 15:48                               ` Alex Williamson
2012-12-13 15:48                                 ` Alex Williamson
     [not found]                                 ` <1355413735.2229.1.camel-85EaTFmN5p//9pzu0YdTqQ@public.gmane.org>
2012-12-16 11:20                                   ` Joerg Roedel
2012-12-16 11:20                                     ` Joerg Roedel
     [not found]                                     ` <20121216112024.GJ1806-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-01-04  8:21                                       ` Alexey Kardashevskiy
2013-01-04  8:21                                         ` Alexey Kardashevskiy
     [not found]                                         ` <50E6910E.7030103-sLpHqDYs0B2HXe+LvDLADg@public.gmane.org>
2013-01-06  9:49                                           ` Joerg Roedel
2013-01-06  9:49                                             ` Joerg Roedel
2012-12-12 12:34                     ` [PATCH] vfio powerpc: enabled on powernv platform Alexey Kardashevskiy
2012-12-12 12:34                       ` Alexey Kardashevskiy
2012-12-12 12:38                       ` Alexey Kardashevskiy [this message]
2012-12-12 12:38                         ` Alexey Kardashevskiy
2012-12-12 23:30                       ` Alex Williamson
2012-12-12 23:30                         ` Alex Williamson
2012-12-13  2:24                         ` Alexey Kardashevskiy
2012-12-13  2:24                           ` Alexey Kardashevskiy
2012-12-13  2:39                         ` Benjamin Herrenschmidt
2012-12-13  2:39                           ` Benjamin Herrenschmidt
2012-12-13  2:57                         ` Benjamin Herrenschmidt
2012-12-13  2:57                           ` Benjamin Herrenschmidt
2012-12-13  3:22                           ` Alex Williamson
2012-12-13  3:22                             ` Alex Williamson
2012-12-03  2:52         ` [PATCH 2/2] vfio powerpc: implemented IOMMU driver for VFIO Alexey Kardashevskiy
2012-12-03  2:52           ` Alexey Kardashevskiy
2012-12-03 17:53           ` Alex Williamson
2012-12-03 17:53             ` Alex Williamson
2012-12-07  7:34             ` [PATCH] " Alexey Kardashevskiy
2012-12-07  7:34               ` Alexey Kardashevskiy
2012-12-07 17:01               ` Alex Williamson
2012-12-07 17:01                 ` Alex Williamson
2012-12-12  6:59                 ` Alexey Kardashevskiy
2012-12-12  6:59                   ` Alexey Kardashevskiy
2012-12-12 14:36                   ` Alex Williamson
2012-12-12 14:36                     ` Alex Williamson
2012-12-12 12:35                 ` Alexey Kardashevskiy
2012-12-12 12:35                   ` Alexey Kardashevskiy

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=50C87AE1.9000708@ozlabs.ru \
    --to=aik@ozlabs.ru \
    --cc=alex.williamson@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.