All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc64: mmu_context: Add missing include files
@ 2017-09-10 20:44 ` Guenter Roeck
  0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2017-09-10 20:44 UTC (permalink / raw)
  To: David S . Miller; +Cc: sparclinux, linux-kernel, Guenter Roeck

Fix the following build errors.

In file included from arch/sparc/include/asm/mmu_context.h:4:0,
                 from include/linux/mmu_context.h:4,
		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
arch/sparc/include/asm/mmu_context_64.h:22:37: error:
	unknown type name 'per_cpu_secondary_mm'

arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
arch/sparc/include/asm/mmu_context_64.h:79:2: error:
	implicit declaration of function 'smp_processor_id'

Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
"Exposed-by:" instead of "Fixes:" might be more appropriate.

 arch/sparc/include/asm/mmu_context_64.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
index 87841d687f8d..a34315e1f0ed 100644
--- a/arch/sparc/include/asm/mmu_context_64.h
+++ b/arch/sparc/include/asm/mmu_context_64.h
@@ -7,9 +7,11 @@
 
 #include <linux/spinlock.h>
 #include <linux/mm_types.h>
+#include <linux/smp.h>
 
 #include <asm/spitfire.h>
 #include <asm-generic/mm_hooks.h>
+#include <asm/percpu.h>
 
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] sparc64: mmu_context: Add missing include files
@ 2017-09-10 20:44 ` Guenter Roeck
  0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2017-09-10 20:44 UTC (permalink / raw)
  To: David S . Miller; +Cc: sparclinux, linux-kernel, Guenter Roeck

Fix the following build errors.

In file included from arch/sparc/include/asm/mmu_context.h:4:0,
                 from include/linux/mmu_context.h:4,
		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
arch/sparc/include/asm/mmu_context_64.h:22:37: error:
	unknown type name 'per_cpu_secondary_mm'

arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
arch/sparc/include/asm/mmu_context_64.h:79:2: error:
	implicit declaration of function 'smp_processor_id'

Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
"Exposed-by:" instead of "Fixes:" might be more appropriate.

 arch/sparc/include/asm/mmu_context_64.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
index 87841d687f8d..a34315e1f0ed 100644
--- a/arch/sparc/include/asm/mmu_context_64.h
+++ b/arch/sparc/include/asm/mmu_context_64.h
@@ -7,9 +7,11 @@
 
 #include <linux/spinlock.h>
 #include <linux/mm_types.h>
+#include <linux/smp.h>
 
 #include <asm/spitfire.h>
 #include <asm-generic/mm_hooks.h>
+#include <asm/percpu.h>
 
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
  2017-09-10 20:44 ` Guenter Roeck
@ 2017-09-24 10:14   ` Oded Gabbay
  -1 siblings, 0 replies; 10+ messages in thread
From: Oded Gabbay @ 2017-09-24 10:14 UTC (permalink / raw)
  To: Guenter Roeck, David S . Miller
  Cc: sparclinux, Linux-Kernel@Vger. Kernel. Org

On Sun, Sep 10, 2017 at 11:44 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> Fix the following build errors.
>
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
>                  from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
>                  from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
>         unknown type name 'per_cpu_secondary_mm'
>
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
>         implicit declaration of function 'smp_processor_id'
>
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> "Exposed-by:" instead of "Fixes:" might be more appropriate.
>
>  arch/sparc/include/asm/mmu_context_64.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
> index 87841d687f8d..a34315e1f0ed 100644
> --- a/arch/sparc/include/asm/mmu_context_64.h
> +++ b/arch/sparc/include/asm/mmu_context_64.h
> @@ -7,9 +7,11 @@
>
>  #include <linux/spinlock.h>
>  #include <linux/mm_types.h>
> +#include <linux/smp.h>
>
>  #include <asm/spitfire.h>
>  #include <asm-generic/mm_hooks.h>
> +#include <asm/percpu.h>
>
>  static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
>  {
> --
> 2.7.4
>


This patch is:
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>


HI David,
Could you please pick-up this patch for -rc3/4 ?
We constantly get kbuild error reports due to this issue.

Thanks,
Oded

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
@ 2017-09-24 10:14   ` Oded Gabbay
  0 siblings, 0 replies; 10+ messages in thread
From: Oded Gabbay @ 2017-09-24 10:14 UTC (permalink / raw)
  To: Guenter Roeck, David S . Miller
  Cc: sparclinux, Linux-Kernel@Vger. Kernel. Org

On Sun, Sep 10, 2017 at 11:44 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> Fix the following build errors.
>
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
>                  from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
>                  from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
>         unknown type name 'per_cpu_secondary_mm'
>
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
>         implicit declaration of function 'smp_processor_id'
>
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> "Exposed-by:" instead of "Fixes:" might be more appropriate.
>
>  arch/sparc/include/asm/mmu_context_64.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
> index 87841d687f8d..a34315e1f0ed 100644
> --- a/arch/sparc/include/asm/mmu_context_64.h
> +++ b/arch/sparc/include/asm/mmu_context_64.h
> @@ -7,9 +7,11 @@
>
>  #include <linux/spinlock.h>
>  #include <linux/mm_types.h>
> +#include <linux/smp.h>
>
>  #include <asm/spitfire.h>
>  #include <asm-generic/mm_hooks.h>
> +#include <asm/percpu.h>
>
>  static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
>  {
> --
> 2.7.4
>


This patch is:
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>


HI David,
Could you please pick-up this patch for -rc3/4 ?
We constantly get kbuild error reports due to this issue.

Thanks,
Oded

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
  2017-09-24 10:14   ` Oded Gabbay
@ 2017-09-24 16:45     ` David Miller
  -1 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2017-09-24 16:45 UTC (permalink / raw)
  To: oded.gabbay; +Cc: linux, sparclinux, linux-kernel

From: Oded Gabbay <oded.gabbay@gmail.com>
Date: Sun, 24 Sep 2017 13:14:01 +0300

> Could you please pick-up this patch for -rc3/4 ?
> We constantly get kbuild error reports due to this issue.

I sure will.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
@ 2017-09-24 16:45     ` David Miller
  0 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2017-09-24 16:45 UTC (permalink / raw)
  To: oded.gabbay; +Cc: linux, sparclinux, linux-kernel

From: Oded Gabbay <oded.gabbay@gmail.com>
Date: Sun, 24 Sep 2017 13:14:01 +0300

> Could you please pick-up this patch for -rc3/4 ?
> We constantly get kbuild error reports due to this issue.

I sure will.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
  2017-09-10 20:44 ` Guenter Roeck
@ 2017-09-28  4:52   ` David Miller
  -1 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2017-09-28  4:52 UTC (permalink / raw)
  To: linux; +Cc: sparclinux, linux-kernel

From: Guenter Roeck <linux@roeck-us.net>
Date: Sun, 10 Sep 2017 13:44:47 -0700

> Fix the following build errors.
> 
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
> 	unknown type name 'per_cpu_secondary_mm'
> 
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
> 	implicit declaration of function 'smp_processor_id'
> 
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] sparc64: mmu_context: Add missing include files
@ 2017-09-28  4:52   ` David Miller
  0 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2017-09-28  4:52 UTC (permalink / raw)
  To: linux; +Cc: sparclinux, linux-kernel

From: Guenter Roeck <linux@roeck-us.net>
Date: Sun, 10 Sep 2017 13:44:47 -0700

> Fix the following build errors.
> 
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
> 	unknown type name 'per_cpu_secondary_mm'
> 
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
> 	implicit declaration of function 'smp_processor_id'
> 
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sparc64: mmu_context: Add missing include files
  2017-09-10 20:44 ` Guenter Roeck
@ 2017-10-26  2:29   ` Guenter Roeck
  -1 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2017-10-26  2:29 UTC (permalink / raw)
  To: David S . Miller; +Cc: sparclinux, linux-kernel

Did I send this to the wrong mailing list, or did it get lost ?
Should I resend ?

Guenter

On Sun, Sep 10, 2017 at 01:44:47PM -0700, Guenter Roeck wrote:
> Fix the following build errors.
> 
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
> 	unknown type name 'per_cpu_secondary_mm'
> 
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
> 	implicit declaration of function 'smp_processor_id'
> 
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
> ---
> "Exposed-by:" instead of "Fixes:" might be more appropriate.
> 
>  arch/sparc/include/asm/mmu_context_64.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
> index 87841d687f8d..a34315e1f0ed 100644
> --- a/arch/sparc/include/asm/mmu_context_64.h
> +++ b/arch/sparc/include/asm/mmu_context_64.h
> @@ -7,9 +7,11 @@
>  
>  #include <linux/spinlock.h>
>  #include <linux/mm_types.h>
> +#include <linux/smp.h>
>  
>  #include <asm/spitfire.h>
>  #include <asm-generic/mm_hooks.h>
> +#include <asm/percpu.h>
>  
>  static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
>  {

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sparc64: mmu_context: Add missing include files
@ 2017-10-26  2:29   ` Guenter Roeck
  0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2017-10-26  2:29 UTC (permalink / raw)
  To: David S . Miller; +Cc: sparclinux, linux-kernel

Did I send this to the wrong mailing list, or did it get lost ?
Should I resend ?

Guenter

On Sun, Sep 10, 2017 at 01:44:47PM -0700, Guenter Roeck wrote:
> Fix the following build errors.
> 
> In file included from arch/sparc/include/asm/mmu_context.h:4:0,
>                  from include/linux/mmu_context.h:4,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
> 		 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
> arch/sparc/include/asm/mmu_context_64.h:22:37: error:
> 	unknown type name 'per_cpu_secondary_mm'
> 
> arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
> arch/sparc/include/asm/mmu_context_64.h:79:2: error:
> 	implicit declaration of function 'smp_processor_id'
> 
> Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
> ---
> "Exposed-by:" instead of "Fixes:" might be more appropriate.
> 
>  arch/sparc/include/asm/mmu_context_64.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
> index 87841d687f8d..a34315e1f0ed 100644
> --- a/arch/sparc/include/asm/mmu_context_64.h
> +++ b/arch/sparc/include/asm/mmu_context_64.h
> @@ -7,9 +7,11 @@
>  
>  #include <linux/spinlock.h>
>  #include <linux/mm_types.h>
> +#include <linux/smp.h>
>  
>  #include <asm/spitfire.h>
>  #include <asm-generic/mm_hooks.h>
> +#include <asm/percpu.h>
>  
>  static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
>  {

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-26  2:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-10 20:44 [PATCH] sparc64: mmu_context: Add missing include files Guenter Roeck
2017-09-10 20:44 ` Guenter Roeck
2017-09-24 10:14 ` Oded Gabbay
2017-09-24 10:14   ` Oded Gabbay
2017-09-24 16:45   ` David Miller
2017-09-24 16:45     ` David Miller
2017-09-28  4:52 ` David Miller
2017-09-28  4:52   ` David Miller
2017-10-26  2:29 ` Guenter Roeck
2017-10-26  2:29   ` Guenter Roeck

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.