2020-04-04 09:42:47

by Christoph Hellwig

[permalink] [raw]
Subject: improve use_mm / unuse_mm

Hi all,

this series improves the use_mm / unuse_mm interface by better
documenting the assumptions, and my taking the set_fs manipulations
spread over the callers into the core API.


2020-04-04 09:43:35

by Christoph Hellwig

[permalink] [raw]
Subject: [PATCH 3/6] i915/gvt: remove unused xen bits

No Xen support anywhere here. Remove a dead declaration and an unused
include.

Signed-off-by: Christoph Hellwig <[email protected]>
---
drivers/gpu/drm/i915/gvt/gvt.c | 1 -
drivers/gpu/drm/i915/gvt/hypercall.h | 2 --
2 files changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gvt.c
index 9e1787867894..c7c561237883 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.c
+++ b/drivers/gpu/drm/i915/gvt/gvt.c
@@ -31,7 +31,6 @@
*/

#include <linux/types.h>
-#include <xen/xen.h>
#include <linux/kthread.h>

#include "i915_drv.h"
diff --git a/drivers/gpu/drm/i915/gvt/hypercall.h b/drivers/gpu/drm/i915/gvt/hypercall.h
index b17c4a1599cd..b79da5124f83 100644
--- a/drivers/gpu/drm/i915/gvt/hypercall.h
+++ b/drivers/gpu/drm/i915/gvt/hypercall.h
@@ -79,6 +79,4 @@ struct intel_gvt_mpt {
bool (*is_valid_gfn)(unsigned long handle, unsigned long gfn);
};

-extern struct intel_gvt_mpt xengt_mpt;
-
#endif /* _GVT_HYPERCALL_H_ */
--
2.25.1

2020-04-08 01:59:08

by Zhenyu Wang

[permalink] [raw]
Subject: Re: [PATCH 3/6] i915/gvt: remove unused xen bits

On 2020.04.04 11:40:58 +0200, Christoph Hellwig wrote:
> No Xen support anywhere here. Remove a dead declaration and an unused
> include.
>
> Signed-off-by: Christoph Hellwig <[email protected]>
> ---

We'll keep that off-tree.

Acked-by: Zhenyu Wang <[email protected]>

Thanks

> drivers/gpu/drm/i915/gvt/gvt.c | 1 -
> drivers/gpu/drm/i915/gvt/hypercall.h | 2 --
> 2 files changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gvt.c
> index 9e1787867894..c7c561237883 100644
> --- a/drivers/gpu/drm/i915/gvt/gvt.c
> +++ b/drivers/gpu/drm/i915/gvt/gvt.c
> @@ -31,7 +31,6 @@
> */
>
> #include <linux/types.h>
> -#include <xen/xen.h>
> #include <linux/kthread.h>
>
> #include "i915_drv.h"
> diff --git a/drivers/gpu/drm/i915/gvt/hypercall.h b/drivers/gpu/drm/i915/gvt/hypercall.h
> index b17c4a1599cd..b79da5124f83 100644
> --- a/drivers/gpu/drm/i915/gvt/hypercall.h
> +++ b/drivers/gpu/drm/i915/gvt/hypercall.h
> @@ -79,6 +79,4 @@ struct intel_gvt_mpt {
> bool (*is_valid_gfn)(unsigned long handle, unsigned long gfn);
> };
>
> -extern struct intel_gvt_mpt xengt_mpt;
> -
> #endif /* _GVT_HYPERCALL_H_ */
> --
> 2.25.1
>
> _______________________________________________
> intel-gvt-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

--
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827


Attachments:
(No filename) (1.49 kB)
signature.asc (201.00 B)
Download all attachments

2020-04-14 12:00:09

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH 3/6] i915/gvt: remove unused xen bits

On Wed, Apr 08, 2020 at 09:44:37AM +0800, Zhenyu Wang wrote:
> On 2020.04.04 11:40:58 +0200, Christoph Hellwig wrote:
> > No Xen support anywhere here. Remove a dead declaration and an unused
> > include.
> >
> > Signed-off-by: Christoph Hellwig <[email protected]>
> > ---
>
> We'll keep that off-tree.
>
> Acked-by: Zhenyu Wang <[email protected]>

Can you pick this up through the i915 tree?

2020-04-15 06:55:05

by Zhenyu Wang

[permalink] [raw]
Subject: Re: [PATCH 3/6] i915/gvt: remove unused xen bits

On 2020.04.13 15:08:06 +0200, Christoph Hellwig wrote:
> On Wed, Apr 08, 2020 at 09:44:37AM +0800, Zhenyu Wang wrote:
> > On 2020.04.04 11:40:58 +0200, Christoph Hellwig wrote:
> > > No Xen support anywhere here. Remove a dead declaration and an unused
> > > include.
> > >
> > > Signed-off-by: Christoph Hellwig <[email protected]>
> > > ---
> >
> > We'll keep that off-tree.
> >
> > Acked-by: Zhenyu Wang <[email protected]>
>
> Can you pick this up through the i915 tree?

Yes, I'll pick this.

Thanks

--
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827


Attachments:
(No filename) (634.00 B)
signature.asc (201.00 B)
Download all attachments