All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Philippe Brucker <jean-philippe@linaro.org>
To: Vivek Kumar Gautam <vivek.gautam@arm.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	iommu@lists.linux-foundation.org,
	virtualization@lists.linux-foundation.org, joro@8bytes.org,
	will.deacon@arm.com, mst@redhat.com, robin.murphy@arm.com,
	eric.auger@redhat.com, alex.williamson@redhat.com,
	kevin.tian@intel.com, jacob.jun.pan@linux.intel.com,
	yi.l.liu@intel.com, lorenzo.pieralisi@arm.com,
	shameerali.kolothum.thodi@huawei.com
Subject: Re: [PATCH RFC v1 15/15] iommu/virtio: Update fault type and reason info for viommu fault
Date: Mon, 29 Mar 2021 18:23:02 +0200	[thread overview]
Message-ID: <YGH+5pHtR6gWnimB@myrica> (raw)
In-Reply-To: <d8a81406-12c6-a5e1-7297-49c1a0a800ab@arm.com>

On Fri, Mar 12, 2021 at 06:39:05PM +0530, Vivek Kumar Gautam wrote:
> To complete the page request we would also need to send the response back to
> the host from virtio backend when handling page request. So the virtio
> command should also be accompanied with a vfio api to send the page request
> response back to the host. Isn't it?
> This is where the host smmuv3 can send PRI_RESP command to the device to
> complete the page fault.

It looks like Eric already has this in the VFIO series:
https://lore.kernel.org/linux-iommu/20210223210625.604517-14-eric.auger@redhat.com/

Thanks,
Jean

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Philippe Brucker <jean-philippe@linaro.org>
To: Vivek Kumar Gautam <vivek.gautam@arm.com>
Cc: kevin.tian@intel.com, alex.williamson@redhat.com, mst@redhat.com,
	will.deacon@arm.com, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	iommu@lists.linux-foundation.org, robin.murphy@arm.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH RFC v1 15/15] iommu/virtio: Update fault type and reason info for viommu fault
Date: Mon, 29 Mar 2021 18:23:02 +0200	[thread overview]
Message-ID: <YGH+5pHtR6gWnimB@myrica> (raw)
In-Reply-To: <d8a81406-12c6-a5e1-7297-49c1a0a800ab@arm.com>

On Fri, Mar 12, 2021 at 06:39:05PM +0530, Vivek Kumar Gautam wrote:
> To complete the page request we would also need to send the response back to
> the host from virtio backend when handling page request. So the virtio
> command should also be accompanied with a vfio api to send the page request
> response back to the host. Isn't it?
> This is where the host smmuv3 can send PRI_RESP command to the device to
> complete the page fault.

It looks like Eric already has this in the VFIO series:
https://lore.kernel.org/linux-iommu/20210223210625.604517-14-eric.auger@redhat.com/

Thanks,
Jean
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Philippe Brucker <jean-philippe@linaro.org>
To: Vivek Kumar Gautam <vivek.gautam@arm.com>
Cc: jacob.jun.pan@linux.intel.com, mst@redhat.com, joro@8bytes.org,
	will.deacon@arm.com, linux-kernel@vger.kernel.org,
	shameerali.kolothum.thodi@huawei.com,
	virtualization@lists.linux-foundation.org, eric.auger@redhat.com,
	iommu@lists.linux-foundation.org, yi.l.liu@intel.com,
	lorenzo.pieralisi@arm.com, robin.murphy@arm.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH RFC v1 15/15] iommu/virtio: Update fault type and reason info for viommu fault
Date: Mon, 29 Mar 2021 18:23:02 +0200	[thread overview]
Message-ID: <YGH+5pHtR6gWnimB@myrica> (raw)
In-Reply-To: <d8a81406-12c6-a5e1-7297-49c1a0a800ab@arm.com>

On Fri, Mar 12, 2021 at 06:39:05PM +0530, Vivek Kumar Gautam wrote:
> To complete the page request we would also need to send the response back to
> the host from virtio backend when handling page request. So the virtio
> command should also be accompanied with a vfio api to send the page request
> response back to the host. Isn't it?
> This is where the host smmuv3 can send PRI_RESP command to the device to
> complete the page fault.

It looks like Eric already has this in the VFIO series:
https://lore.kernel.org/linux-iommu/20210223210625.604517-14-eric.auger@redhat.com/

Thanks,
Jean
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Philippe Brucker <jean-philippe@linaro.org>
To: Vivek Kumar Gautam <vivek.gautam@arm.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	iommu@lists.linux-foundation.org,
	virtualization@lists.linux-foundation.org, joro@8bytes.org,
	will.deacon@arm.com, mst@redhat.com, robin.murphy@arm.com,
	eric.auger@redhat.com, alex.williamson@redhat.com,
	kevin.tian@intel.com, jacob.jun.pan@linux.intel.com,
	yi.l.liu@intel.com, lorenzo.pieralisi@arm.com,
	shameerali.kolothum.thodi@huawei.com
Subject: Re: [PATCH RFC v1 15/15] iommu/virtio: Update fault type and reason info for viommu fault
Date: Mon, 29 Mar 2021 18:23:02 +0200	[thread overview]
Message-ID: <YGH+5pHtR6gWnimB@myrica> (raw)
In-Reply-To: <d8a81406-12c6-a5e1-7297-49c1a0a800ab@arm.com>

On Fri, Mar 12, 2021 at 06:39:05PM +0530, Vivek Kumar Gautam wrote:
> To complete the page request we would also need to send the response back to
> the host from virtio backend when handling page request. So the virtio
> command should also be accompanied with a vfio api to send the page request
> response back to the host. Isn't it?
> This is where the host smmuv3 can send PRI_RESP command to the device to
> complete the page fault.

It looks like Eric already has this in the VFIO series:
https://lore.kernel.org/linux-iommu/20210223210625.604517-14-eric.auger@redhat.com/

Thanks,
Jean

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-03-29 16:23 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 12:13 [PATCH RFC v1 00/15] iommu/virtio: Nested stage support with Arm Vivek Gautam
2021-01-15 12:13 ` Vivek Gautam
2021-01-15 12:13 ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 01/15] iommu/arm-smmu-v3: Create a Context Descriptor library Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 02/15] iommu: Add a simple PASID table library Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:11   ` Jean-Philippe Brucker
2021-03-03 17:11     ` Jean-Philippe Brucker
2021-03-03 17:11     ` Jean-Philippe Brucker
2021-03-03 17:11     ` Jean-Philippe Brucker
2021-03-12 12:47     ` Vivek Kumar Gautam
2021-03-12 12:47       ` Vivek Kumar Gautam
2021-03-12 12:47       ` Vivek Kumar Gautam
2021-03-29 16:25       ` Jean-Philippe Brucker
2021-03-29 16:25         ` Jean-Philippe Brucker
2021-03-29 16:25         ` Jean-Philippe Brucker
2021-03-29 16:25         ` Jean-Philippe Brucker
2021-01-15 12:13 ` [PATCH RFC v1 03/15] iommu/arm-smmu-v3: Update drivers to work with iommu-pasid-table Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 04/15] iommu/arm-smmu-v3: Update CD base address info for user-space Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:14   ` Jean-Philippe Brucker
2021-03-03 17:14     ` Jean-Philippe Brucker
2021-03-03 17:14     ` Jean-Philippe Brucker
2021-03-03 17:14     ` Jean-Philippe Brucker
2021-03-12 12:31     ` Vivek Kumar Gautam
2021-03-12 12:31       ` Vivek Kumar Gautam
2021-03-12 12:31       ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 05/15] iommu/arm-smmu-v3: Set sync op from consumer driver of cd-lib Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:15   ` Jean-Philippe Brucker
2021-03-03 17:15     ` Jean-Philippe Brucker
2021-03-03 17:15     ` Jean-Philippe Brucker
2021-03-03 17:15     ` Jean-Philippe Brucker
2021-03-12 12:49     ` Vivek Kumar Gautam
2021-03-12 12:49       ` Vivek Kumar Gautam
2021-03-12 12:49       ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 06/15] iommu/virtio: Add headers for table format probing Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:17   ` Jean-Philippe Brucker
2021-03-03 17:17     ` Jean-Philippe Brucker
2021-03-03 17:17     ` Jean-Philippe Brucker
2021-03-03 17:17     ` Jean-Philippe Brucker
2021-03-12 12:54     ` Vivek Kumar Gautam
2021-03-12 12:54       ` Vivek Kumar Gautam
2021-03-12 12:54       ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 07/15] iommu/virtio: Add " Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 08/15] iommu: Add asid_bits to arm smmu-v3 stage1 table info Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:18   ` Jean-Philippe Brucker
2021-03-03 17:18     ` Jean-Philippe Brucker
2021-03-03 17:18     ` Jean-Philippe Brucker
2021-03-03 17:18     ` Jean-Philippe Brucker
2021-03-12 12:57     ` Vivek Kumar Gautam
2021-03-12 12:57       ` Vivek Kumar Gautam
2021-03-12 12:57       ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 09/15] iommu/virtio: Update table format probing header Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:21   ` Jean-Philippe Brucker
2021-03-03 17:21     ` Jean-Philippe Brucker
2021-03-03 17:21     ` Jean-Philippe Brucker
2021-03-03 17:21     ` Jean-Philippe Brucker
2021-03-12 12:58     ` Vivek Kumar Gautam
2021-03-12 12:58       ` Vivek Kumar Gautam
2021-03-12 12:58       ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 10/15] iommu/virtio: Prepare to add attach pasid table infrastructure Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 11/15] iommu/virtio: Add headers for binding pasid table in iommu Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 12/15] iommu/virtio: Add support for INVALIDATE request Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 18:28   ` Jacob Pan
2021-03-03 18:28     ` Jacob Pan
2021-03-03 18:28     ` Jacob Pan
2021-03-04  5:58     ` Tian, Kevin
2021-03-04  5:58       ` Tian, Kevin
2021-03-04  5:58       ` Tian, Kevin
2021-03-04  5:58       ` Tian, Kevin
2021-03-04  6:16       ` Vivek Kumar Gautam
2021-03-04  6:16         ` Vivek Kumar Gautam
2021-03-04  6:16         ` Vivek Kumar Gautam
2021-01-15 12:13 ` [PATCH RFC v1 13/15] iommu/virtio: Attach Arm PASID tables when available Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:25   ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-12 13:29     ` Vivek Kumar Gautam
2021-03-12 13:29       ` Vivek Kumar Gautam
2021-03-12 13:29       ` Vivek Kumar Gautam
2021-03-29 16:21       ` Jean-Philippe Brucker
2021-03-29 16:21         ` Jean-Philippe Brucker
2021-03-29 16:21         ` Jean-Philippe Brucker
2021-03-29 16:21         ` Jean-Philippe Brucker
2021-01-15 12:13 ` [PATCH RFC v1 14/15] iommu/virtio: Add support for Arm LPAE page table format Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13 ` [PATCH RFC v1 15/15] iommu/virtio: Update fault type and reason info for viommu fault Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-01-15 12:13   ` Vivek Gautam
2021-03-03 17:25   ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-03 17:25     ` Jean-Philippe Brucker
2021-03-12 13:09     ` Vivek Kumar Gautam
2021-03-12 13:09       ` Vivek Kumar Gautam
2021-03-12 13:09       ` Vivek Kumar Gautam
2021-03-29 16:23       ` Jean-Philippe Brucker [this message]
2021-03-29 16:23         ` Jean-Philippe Brucker
2021-03-29 16:23         ` Jean-Philippe Brucker
2021-03-29 16:23         ` Jean-Philippe Brucker
2021-04-06  6:24         ` Vivek Kumar Gautam
2021-04-06  6:24           ` Vivek Kumar Gautam
2021-04-06  6:24           ` Vivek Kumar Gautam
2021-01-19  9:03 ` [PATCH RFC v1 00/15] iommu/virtio: Nested stage support with Arm Auger Eric
2021-01-19  9:03   ` Auger Eric
2021-01-19  9:03   ` Auger Eric
2021-01-19  9:03   ` Auger Eric
2021-01-21 17:34   ` Vivek Kumar Gautam
2021-01-21 17:34     ` Vivek Kumar Gautam
2021-01-21 17:34     ` Vivek Kumar Gautam
2021-01-22 15:49     ` Shameerali Kolothum Thodi
2021-01-22 15:49       ` Shameerali Kolothum Thodi
2021-01-22 15:49       ` Shameerali Kolothum Thodi
2021-01-25 12:55       ` Vivek Kumar Gautam
2021-01-25 12:55         ` Vivek Kumar Gautam
2021-01-25 12:55         ` Vivek Kumar Gautam
2021-01-25  8:43     ` Auger Eric
2021-01-25  8:43       ` Auger Eric
2021-01-25  8:43       ` Auger Eric
2021-01-25  8:43       ` Auger Eric

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=YGH+5pHtR6gWnimB@myrica \
    --to=jean-philippe@linaro.org \
    --cc=alex.williamson@redhat.com \
    --cc=eric.auger@redhat.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jacob.jun.pan@linux.intel.com \
    --cc=joro@8bytes.org \
    --cc=kevin.tian@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mst@redhat.com \
    --cc=robin.murphy@arm.com \
    --cc=shameerali.kolothum.thodi@huawei.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=vivek.gautam@arm.com \
    --cc=will.deacon@arm.com \
    --cc=yi.l.liu@intel.com \
    /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.