linux-next: build failure after merge of the drm-intel-fixes tree
Hi all,
After merging the drm-intel-fixes tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/gpu/drm/i915/gvt/kvmgt.c: In function 'intel_vgpu_open':drivers/gpu/drm/i915/gvt/kvmgt.c:511:32: error: dereferencing pointer to incomplete type 'struct mdev_device'
vfio_unregister_notifier(&mdev->dev, VFIO_GROUP_NOTIFY,
^
Caused by commit
99e3123e3d72 ("vfio-mdev: Make mdev_device private and abstract interfaces")
from the vfio-fixes tree interacting with commit
364fb6b789ff ("drm/i915/gvt/kvmgt: prevent double-release of vgpu")
from the drm-intel-fixes tree.
I applied this merge fix patch:
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Jan 2017 10:38:48 +1100
Subject: [PATCH] vfio-mdev: fixup for "Make mdev_device private and abstract interfaces"
--- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gvt/kvmgt.c +1 -1
@@ -508,7 +508,7 @@ static int intel_vgpu_open(struct mdev_device *mdev)return ret; undo_group: -vfio_unregister_notifier (&mdev->dev,VFIO_GROUP_NOTIFY , +vfio_unregister_notifier (mdev_dev (mdev),VFIO_GROUP_NOTIFY , &vgpu->vdev.group_notifier); undo_iommu:
Signature · 9 lines
2.10.2 -- Cheers, Stephen Rothwell _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 12 lines · Stephen Rothwell
Hi all,
After merging the drm-intel-fixes tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/gpu/drm/i915/gvt/kvmgt.c: In function 'intel_vgpu_open':drivers/gpu/drm/i915/gvt/kvmgt.c:511:32: error: dereferencing pointer to incomplete type 'structmdev_device'
vfio_unregister_notifier(&mdev->dev,VFIO_GROUP_NOTIFY,^Caused by commit
Quoted 7 lines
99e3123e3d72("vfio-mdev: Makemdev_deviceprivate and abstract interfaces")from the vfio-fixes tree interacting with commit
364fb6b789ff("drm/i915/gvt/kvmgt: prevent double-release of vgpu")from the drm-intel-fixes tree.
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Thanks.
Quoted 31 lines
I applied this merge fix patch:
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Jan 2017 10:38:48 +1100
Subject: [PATCH] vfio-mdev: fixup for "Makemdev_deviceprivate and abstract interfaces"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/gvt/kvmgt.c +1
-1@@ -508,7 +508,7 @@ static int intel_vgpu_open(struct mdev_device *mdev)return ret; undo_group: -vfio_unregister_notifier (&mdev->dev,VFIO_GROUP_NOTIFY , +vfio_unregister_notifier (mdev_dev (mdev),VFIO_GROUP_NOTIFY , &vgpu->vdev.group_notifier); undo_iommu:Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell
Signature · 3 lines
Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Zhenyu,
Quoted 5 lines · On Tue, 3 Jan 2017 10:59:29 +0800 Zhenyu Wang <[email protected]> wrote:
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
This only happens because I merge both trees (I think) ...
Signature · 6 lines
Cheers, Stephen Rothwell _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 17 lines · On Tue, 3 Jan 2017 10:59:29 +0800 Zhenyu Wang <[email protected]> wrote:
Quoted 16 lines · Stephen Rothwell
Hi all,
After merging the drm-intel-fixes tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/gpu/drm/i915/gvt/kvmgt.c: In function 'intel_vgpu_open':drivers/gpu/drm/i915/gvt/kvmgt.c:511:32: error: dereferencing pointer to incomplete type 'structmdev_device'
vfio_unregister_notifier(&mdev->dev,VFIO_GROUP_NOTIFY,^Caused by commit
99e3123e3d72("vfio-mdev: Makemdev_deviceprivate and abstract interfaces")from the vfio-fixes tree interacting with commit
Quoted 8 lines
Quoted 3 lines
364fb6b789ff("drm/i915/gvt/kvmgt: prevent double-release of vgpu")from the drm-intel-fixes tree.
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Hi Zhenyu,
Hopefully this abstraction will help to isolate vendor drivers from mdev API changes in the future. I can certainly roll this patch into the original to maintain bisectability. I want to get these changes in for rc3, will a pull request for the i915 changes be sent this week? Thanks for spotting and fixing this, Stephen. Thanks,
Alex
Quoted 23 lines
Quoted 23 lines
I applied this merge fix patch:
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Jan 2017 10:38:48 +1100
Subject: [PATCH] vfio-mdev: fixup for "Makemdev_deviceprivate and abstract interfaces"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/gvt/kvmgt.c +1
-1@@ -508,7 +508,7 @@ static int intel_vgpu_open(struct mdev_device *mdev)return ret; undo_group: -vfio_unregister_notifier (&mdev->dev,VFIO_GROUP_NOTIFY , +vfio_unregister_notifier (mdev_dev (mdev),VFIO_GROUP_NOTIFY , &vgpu->vdev.group_notifier);
Quoted 8 lines
Quoted 7 lines
drivers/gpu/drm/i915/gvt/kvmgt.c +0
-0undo_iommu:Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Alex Williamson
Quoted 4 lines
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Hi Zhenyu,
Hopefully this abstraction will help to isolate vendor drivers from mdev API changes in the future. I can certainly roll this patch into the original to maintain bisectability. I want to get these changes in for rc3, will a pull request for the i915 changes be sent this week?
Send to Jani who is managing i915 fixes pull.
Signature · 3 lines
Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Zhenyu Wang
Quoted 5 lines · Alex Williamson
Quoted 4 lines
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Quoted 8 lines
Quoted 6 lines
Hi Zhenyu,
Hopefully this abstraction will help to isolate vendor drivers from mdev API changes in the future. I can certainly roll this patch into the original to maintain bisectability. I want to get these changes in for rc3, will a pull request for the i915 changes be sent this week?
Send to Jani who is managing i915 fixes pull.
Send what to me? I've pushed fixes to drm-intel-fixes today for testing, and expect to send a pull request to Dave early Thursday. If there's a conflict, it can usually be solved while merging, like Stephen has done.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 14 lines · On Tue, 03 Jan 2017 15:25:24 +0200 Jani Nikula <[email protected]> wrote:
Quoted 13 lines · Zhenyu Wang
Quoted 11 lines · Alex Williamson
Quoted 4 lines
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Hi Zhenyu,
Hopefully this abstraction will help to isolate vendor drivers from mdev API changes in the future. I can certainly roll this patch into the original to maintain bisectability. I want to get these changes in for rc3, will a pull request for the i915 changes be sent this week?
Quoted 5 lines
Quoted 1 line
Send to Jani who is managing i915 fixes pull.
Send what to me? I've pushed fixes to drm-intel-fixes today for testing, and expect to send a pull request to Dave early Thursday. If there's a conflict, it can usually be solved while merging, like Stephen has done.
Unless there's some preference otherwise, I was only asking if the i915 changes were queued for rc3 such that I could trail behind them and fixup the mdev API change without relying on it getting caught in the merge. If we're happy to do it at merge time, I won't worry about it. Thanks,
Alex
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 19 lines · Alex Williamson
Quoted 16 lines · On Tue, 03 Jan 2017 15:25:24 +0200 Jani Nikula <[email protected]> wrote:
Quoted 14 lines · Zhenyu Wang
Quoted 11 lines · Alex Williamson
Quoted 4 lines
Alex, I liked to have kvmgt related mdev interface change be merged through vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply below fix in your tree? I think in general for possible interface change in future we still need a pull request for i915 to resolve dependence earlier.
Hi Zhenyu,
Hopefully this abstraction will help to isolate vendor drivers from mdev API changes in the future. I can certainly roll this patch into the original to maintain bisectability. I want to get these changes in for rc3, will a pull request for the i915 changes be sent this week?
Send to Jani who is managing i915 fixes pull.
Quoted 8 lines
Quoted 3 lines
Send what to me? I've pushed fixes to drm-intel-fixes today for testing, and expect to send a pull request to Dave early Thursday. If there's a conflict, it can usually be solved while merging, like Stephen has done.
Unless there's some preference otherwise, I was only asking if the i915 changes were queued for rc3 such that I could trail behind them and fixup the mdev API change without relying on it getting caught in the merge. If we're happy to do it at merge time, I won't worry about it.
Dave Airlie is still on vacation, so I expect drm fixes pull request to get a bit delayed. I think adding a warning when sending each respective pull to Linus about this is the best approach, to avoid stalling mdev fixes.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx