* [PATCH] linux-headers: change the annotation of VFIO_IOMMU_SPAPR_REGISTER_MEMORY in vfio.h
@ 2024-04-11 11:34 JianChunfu
2024-04-12 7:53 ` Cornelia Huck
0 siblings, 1 reply; 2+ messages in thread
From: JianChunfu @ 2024-04-11 11:34 UTC (permalink / raw)
To: mst, cohuck, pbonzini; +Cc: qemu-devel, JianChunfu
The ioctl(VFIO_IOMMU_MAP_DMA/VFIO_IOMMU_UNMAP_DMA) won't be called
in SPAPR machine, which is replaced by VFIO_IOMMU_SPAPR_TCE_CREATE/
VFIO_IOMMU_SPAPR_TCE_REMOVE, so change the description.
Signed-off-by: JianChunfu <chunfu.jian@shingroup.cn>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
index b4be37b22..20e8e6ae8 100644
--- a/linux-headers/linux/vfio.h
+++ b/linux-headers/linux/vfio.h
@@ -1764,7 +1764,7 @@ struct vfio_eeh_pe_op {
*
* Registers user space memory where DMA is allowed. It pins
* user pages and does the locked memory accounting so
- * subsequent VFIO_IOMMU_MAP_DMA/VFIO_IOMMU_UNMAP_DMA calls
+ * subsequent VFIO_IOMMU_SPAPR_TCE_CREATE/VFIO_IOMMU_SPAPR_TCE_REMOVE calls
* get faster.
*/
struct vfio_iommu_spapr_register_memory {
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] linux-headers: change the annotation of VFIO_IOMMU_SPAPR_REGISTER_MEMORY in vfio.h
2024-04-11 11:34 [PATCH] linux-headers: change the annotation of VFIO_IOMMU_SPAPR_REGISTER_MEMORY in vfio.h JianChunfu
@ 2024-04-12 7:53 ` Cornelia Huck
0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2024-04-12 7:53 UTC (permalink / raw)
To: JianChunfu, mst, pbonzini; +Cc: qemu-devel, JianChunfu
On Thu, Apr 11 2024, JianChunfu <chunfu.jian@shingroup.cn> wrote:
> The ioctl(VFIO_IOMMU_MAP_DMA/VFIO_IOMMU_UNMAP_DMA) won't be called
> in SPAPR machine, which is replaced by VFIO_IOMMU_SPAPR_TCE_CREATE/
> VFIO_IOMMU_SPAPR_TCE_REMOVE, so change the description.
>
> Signed-off-by: JianChunfu <chunfu.jian@shingroup.cn>
> ---
> linux-headers/linux/vfio.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Instead of editing things under linux-headers directly, the kernel
source file needs to be changed instead so that a headers sync will
update the file here. [No opinion on the actual change.]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-12 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 11:34 [PATCH] linux-headers: change the annotation of VFIO_IOMMU_SPAPR_REGISTER_MEMORY in vfio.h JianChunfu
2024-04-12 7:53 ` Cornelia Huck
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).