* [RFC PATCH 0/6] vfio: Add interface to map MSI pages
@ 2015-09-30 14:57 Bharat Bhushan
2016-01-12 8:55 ` Eric Auger
0 siblings, 1 reply; 7+ messages in thread
From: Bharat Bhushan @ 2015-09-30 14:57 UTC (permalink / raw)
To: kvmarm, kvm, alex.williamson; +Cc: marc.zyngier, will.deacon
This patch series add the interface to map MSI pages in iommu
for msi-capable device pass-through using vfio.
First patch adds a generic interface to set reserved iova regions.
These reserved regions can be used for mapping physical address.
Follow-up patches uses these reserved iova for mapping msi-pages.
This patch series does not provide interface to let user-space know
how many minimum reserved iova regions are required on a given platform.
This interface can be added once this patches series get reviewed and will
be in acceptable state.
Bharat Bhushan (6):
vfio: Add interface for add/del reserved iova region
iommu: Add interface to get msi-pages mapping attributes
vfio: Extend iommu-info to return MSIs automap state
vfio: Add interface to iommu-map/unmap MSI pages
vfio-pci: Create iommu mapping for msi interrupt
arm-smmu: Allow to set iommu mapping for MSI
drivers/iommu/arm-smmu.c | 8 +
drivers/iommu/fsl_pamu_domain.c | 3 +
drivers/iommu/iommu.c | 14 ++
drivers/vfio/pci/vfio_pci_intrs.c | 36 +++-
drivers/vfio/vfio.c | 52 ++++++
drivers/vfio/vfio_iommu_type1.c | 344 +++++++++++++++++++++++++++++++++++++-
include/linux/iommu.h | 9 +-
include/linux/vfio.h | 9 +-
include/uapi/linux/vfio.h | 46 +++++
9 files changed, 516 insertions(+), 5 deletions(-)
--
1.9.3
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2015-09-30 14:57 [RFC PATCH 0/6] vfio: Add interface to map MSI pages Bharat Bhushan
@ 2016-01-12 8:55 ` Eric Auger
2016-01-12 9:00 ` Bharat Bhushan
2016-01-12 9:49 ` Pavel Fedin
0 siblings, 2 replies; 7+ messages in thread
From: Eric Auger @ 2016-01-12 8:55 UTC (permalink / raw)
To: Bharat Bhushan, kvmarm, kvm, alex.williamson; +Cc: marc.zyngier, will.deacon
Hi Bharat, all,
I now have access to HW that allows to bring out that task on ARM and I
would be happy to try contributing on this thread on both kernel and
QEMU side. Bharat, do you intend to respin shortly or can I try to
pursue your efforts while keeping credit to you (and also take into
account Pranav and Pavel contributions too if relevant)?
Thanks in advance
Best Regards
Eric
/2015 04:57 PM, Bharat Bhushan wrote:
> This patch series add the interface to map MSI pages in iommu
> for msi-capable device pass-through using vfio.
>
> First patch adds a generic interface to set reserved iova regions.
> These reserved regions can be used for mapping physical address.
> Follow-up patches uses these reserved iova for mapping msi-pages.
>
> This patch series does not provide interface to let user-space know
> how many minimum reserved iova regions are required on a given platform.
> This interface can be added once this patches series get reviewed and will
> be in acceptable state.
>
> Bharat Bhushan (6):
> vfio: Add interface for add/del reserved iova region
> iommu: Add interface to get msi-pages mapping attributes
> vfio: Extend iommu-info to return MSIs automap state
> vfio: Add interface to iommu-map/unmap MSI pages
> vfio-pci: Create iommu mapping for msi interrupt
> arm-smmu: Allow to set iommu mapping for MSI
>
> drivers/iommu/arm-smmu.c | 8 +
> drivers/iommu/fsl_pamu_domain.c | 3 +
> drivers/iommu/iommu.c | 14 ++
> drivers/vfio/pci/vfio_pci_intrs.c | 36 +++-
> drivers/vfio/vfio.c | 52 ++++++
> drivers/vfio/vfio_iommu_type1.c | 344 +++++++++++++++++++++++++++++++++++++-
> include/linux/iommu.h | 9 +-
> include/linux/vfio.h | 9 +-
> include/uapi/linux/vfio.h | 46 +++++
> 9 files changed, 516 insertions(+), 5 deletions(-)
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2016-01-12 8:55 ` Eric Auger
@ 2016-01-12 9:00 ` Bharat Bhushan
2016-01-12 9:30 ` Eric Auger
2016-01-12 9:49 ` Pavel Fedin
1 sibling, 1 reply; 7+ messages in thread
From: Bharat Bhushan @ 2016-01-12 9:00 UTC (permalink / raw)
To: Eric Auger, Bharat Bhushan, kvmarm@lists.cs.columbia.edu,
kvm@vger.kernel.org, alex.williamson@redhat.com
Cc: christoffer.dall@linaro.org, pranavkumar@linaro.org,
marc.zyngier@arm.com, will.deacon@arm.com, Pavel Fedin,
Pranavkumar Sawargaonkar
Hi Eric,
> -----Original Message-----
> From: Eric Auger [mailto:eric.auger@linaro.org]
> Sent: Tuesday, January 12, 2016 2:26 PM
> To: Bharat Bhushan <Bharat.Bhushan@freescale.com>;
> kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org;
> alex.williamson@redhat.com
> Cc: christoffer.dall@linaro.org; pranavkumar@linaro.org;
> marc.zyngier@arm.com; will.deacon@arm.com; Pavel Fedin
> <p.fedin@samsung.com>; Pranavkumar Sawargaonkar
> <pranavkumar@linaro.org>
> Subject: Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
>
> Hi Bharat, all,
>
> I now have access to HW that allows to bring out that task on ARM and I
> would be happy to try contributing on this thread on both kernel and QEMU
> side. Bharat, do you intend to respin shortly or can I try to pursue your
> efforts while keeping credit to you (and also take into account Pranav and
> Pavel contributions too if relevant)?
It is pending for long and I do think I will be able to work in next couple of months on this activity. It will be helpful if you can take on from whatever little I have done.
Thanks
-Bharat
>
> Thanks in advance
>
> Best Regards
>
> Eric
>
> /2015 04:57 PM, Bharat Bhushan wrote:
> > This patch series add the interface to map MSI pages in iommu for
> > msi-capable device pass-through using vfio.
> >
> > First patch adds a generic interface to set reserved iova regions.
> > These reserved regions can be used for mapping physical address.
> > Follow-up patches uses these reserved iova for mapping msi-pages.
> >
> > This patch series does not provide interface to let user-space know
> > how many minimum reserved iova regions are required on a given
> platform.
> > This interface can be added once this patches series get reviewed and
> > will be in acceptable state.
> >
> > Bharat Bhushan (6):
> > vfio: Add interface for add/del reserved iova region
> > iommu: Add interface to get msi-pages mapping attributes
> > vfio: Extend iommu-info to return MSIs automap state
> > vfio: Add interface to iommu-map/unmap MSI pages
> > vfio-pci: Create iommu mapping for msi interrupt
> > arm-smmu: Allow to set iommu mapping for MSI
> >
> > drivers/iommu/arm-smmu.c | 8 +
> > drivers/iommu/fsl_pamu_domain.c | 3 +
> > drivers/iommu/iommu.c | 14 ++
> > drivers/vfio/pci/vfio_pci_intrs.c | 36 +++-
> > drivers/vfio/vfio.c | 52 ++++++
> > drivers/vfio/vfio_iommu_type1.c | 344
> +++++++++++++++++++++++++++++++++++++-
> > include/linux/iommu.h | 9 +-
> > include/linux/vfio.h | 9 +-
> > include/uapi/linux/vfio.h | 46 +++++
> > 9 files changed, 516 insertions(+), 5 deletions(-)
> >
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2016-01-12 9:00 ` Bharat Bhushan
@ 2016-01-12 9:30 ` Eric Auger
0 siblings, 0 replies; 7+ messages in thread
From: Eric Auger @ 2016-01-12 9:30 UTC (permalink / raw)
To: Bharat Bhushan, Bharat Bhushan, kvmarm@lists.cs.columbia.edu,
kvm@vger.kernel.org, alex.williamson@redhat.com
Cc: marc.zyngier@arm.com, will.deacon@arm.com
Hi Bharat,
On 01/12/2016 10:00 AM, Bharat Bhushan wrote:
> Hi Eric,
>
>> -----Original Message-----
>> From: Eric Auger [mailto:eric.auger@linaro.org]
>> Sent: Tuesday, January 12, 2016 2:26 PM
>> To: Bharat Bhushan <Bharat.Bhushan@freescale.com>;
>> kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org;
>> alex.williamson@redhat.com
>> Cc: christoffer.dall@linaro.org; pranavkumar@linaro.org;
>> marc.zyngier@arm.com; will.deacon@arm.com; Pavel Fedin
>> <p.fedin@samsung.com>; Pranavkumar Sawargaonkar
>> <pranavkumar@linaro.org>
>> Subject: Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
>>
>> Hi Bharat, all,
>>
>> I now have access to HW that allows to bring out that task on ARM and I
>> would be happy to try contributing on this thread on both kernel and QEMU
>> side. Bharat, do you intend to respin shortly or can I try to pursue your
>> efforts while keeping credit to you (and also take into account Pranav and
>> Pavel contributions too if relevant)?
>
> It is pending for long and I do think I will be able to work in next couple of months on this activity. It will be helpful if you can take on from whatever little I have done.
>
OK thanks for your quick answer. I will do my utmost ;-)
Best Regards
Eric
> Thanks
> -Bharat
>
>>
>> Thanks in advance
>>
>> Best Regards
>>
>> Eric
>>
>> /2015 04:57 PM, Bharat Bhushan wrote:
>>> This patch series add the interface to map MSI pages in iommu for
>>> msi-capable device pass-through using vfio.
>>>
>>> First patch adds a generic interface to set reserved iova regions.
>>> These reserved regions can be used for mapping physical address.
>>> Follow-up patches uses these reserved iova for mapping msi-pages.
>>>
>>> This patch series does not provide interface to let user-space know
>>> how many minimum reserved iova regions are required on a given
>> platform.
>>> This interface can be added once this patches series get reviewed and
>>> will be in acceptable state.
>>>
>>> Bharat Bhushan (6):
>>> vfio: Add interface for add/del reserved iova region
>>> iommu: Add interface to get msi-pages mapping attributes
>>> vfio: Extend iommu-info to return MSIs automap state
>>> vfio: Add interface to iommu-map/unmap MSI pages
>>> vfio-pci: Create iommu mapping for msi interrupt
>>> arm-smmu: Allow to set iommu mapping for MSI
>>>
>>> drivers/iommu/arm-smmu.c | 8 +
>>> drivers/iommu/fsl_pamu_domain.c | 3 +
>>> drivers/iommu/iommu.c | 14 ++
>>> drivers/vfio/pci/vfio_pci_intrs.c | 36 +++-
>>> drivers/vfio/vfio.c | 52 ++++++
>>> drivers/vfio/vfio_iommu_type1.c | 344
>> +++++++++++++++++++++++++++++++++++++-
>>> include/linux/iommu.h | 9 +-
>>> include/linux/vfio.h | 9 +-
>>> include/uapi/linux/vfio.h | 46 +++++
>>> 9 files changed, 516 insertions(+), 5 deletions(-)
>>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2016-01-12 8:55 ` Eric Auger
2016-01-12 9:00 ` Bharat Bhushan
@ 2016-01-12 9:49 ` Pavel Fedin
2016-01-12 10:34 ` Eric Auger
1 sibling, 1 reply; 7+ messages in thread
From: Pavel Fedin @ 2016-01-12 9:49 UTC (permalink / raw)
To: 'Eric Auger', 'Bharat Bhushan', kvmarm, kvm,
alex.williamson
Cc: marc.zyngier, will.deacon
Hello!
> I now have access to HW that allows to bring out that task on ARM and I
> would be happy to try contributing on this thread on both kernel and
> QEMU side. Bharat, do you intend to respin shortly or can I try to
> pursue your efforts while keeping credit to you (and also take into
> account Pranav and Pavel contributions too if relevant)?
You can take my contributions of course. But our project dropped ARM64, so i cannot take active part in the development. However i
keep track of the topic, just in case.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2016-01-12 9:49 ` Pavel Fedin
@ 2016-01-12 10:34 ` Eric Auger
2016-01-19 4:11 ` Pranav Sawargaonkar
0 siblings, 1 reply; 7+ messages in thread
From: Eric Auger @ 2016-01-12 10:34 UTC (permalink / raw)
To: Pavel Fedin, 'Bharat Bhushan', kvmarm, kvm,
alex.williamson
Cc: christoffer.dall, pranavkumar, marc.zyngier, will.deacon
Hi Pavel,
On 01/12/2016 10:49 AM, Pavel Fedin wrote:
> Hello!
>
>> I now have access to HW that allows to bring out that task on ARM and I
>> would be happy to try contributing on this thread on both kernel and
>> QEMU side. Bharat, do you intend to respin shortly or can I try to
>> pursue your efforts while keeping credit to you (and also take into
>> account Pranav and Pavel contributions too if relevant)?
>
> You can take my contributions of course. But our project dropped ARM64, so i cannot take active part in the development. However i
> keep track of the topic, just in case.
OK thanks. Wishing you a good ramp-up on new activities.
Best Regards
Eric
>
> Kind regards,
> Pavel Fedin
> Expert Engineer
> Samsung Electronics Research center Russia
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [RFC PATCH 0/6] vfio: Add interface to map MSI pages
2016-01-12 10:34 ` Eric Auger
@ 2016-01-19 4:11 ` Pranav Sawargaonkar
0 siblings, 0 replies; 7+ messages in thread
From: Pranav Sawargaonkar @ 2016-01-19 4:11 UTC (permalink / raw)
To: Eric Auger
Cc: Pavel Fedin, Bharat Bhushan, kvmarm, kvm, alex.williamson,
marc.zyngier, will.deacon
Hi Eric,
On Tue, Jan 12, 2016 at 4:04 PM, Eric Auger <eric.auger@linaro.org> wrote:
>
> Hi Pavel,
> On 01/12/2016 10:49 AM, Pavel Fedin wrote:
> > Hello!
> >
> >> I now have access to HW that allows to bring out that task on ARM and I
> >> would be happy to try contributing on this thread on both kernel and
> >> QEMU side. Bharat, do you intend to respin shortly or can I try to
> >> pursue your efforts while keeping credit to you (and also take into
> >> account Pranav and Pavel contributions too if relevant)?
Yes please take my contributions if relevant. I can help you to test
your patches on arm64 based xgene2 hardware having smmu.
> >
> > You can take my contributions of course. But our project dropped ARM64, so i cannot take active part in the development. However i
> > keep track of the topic, just in case.
> OK thanks. Wishing you a good ramp-up on new activities.
>
> Best Regards
>
> Eric
Thanks,
Pranav
>
> >
> > Kind regards,
> > Pavel Fedin
> > Expert Engineer
> > Samsung Electronics Research center Russia
> >
> >
>
> _______________________________________________
> kvmarm mailing list
> kvmarm@lists.cs.columbia.edu
> https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-01-19 4:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 14:57 [RFC PATCH 0/6] vfio: Add interface to map MSI pages Bharat Bhushan
2016-01-12 8:55 ` Eric Auger
2016-01-12 9:00 ` Bharat Bhushan
2016-01-12 9:30 ` Eric Auger
2016-01-12 9:49 ` Pavel Fedin
2016-01-12 10:34 ` Eric Auger
2016-01-19 4:11 ` Pranav Sawargaonkar
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).