All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds
@ 2018-01-08 11:14 David Howells
  2018-01-08 16:58 ` Guenter Roeck
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Howells @ 2018-01-08 11:14 UTC (permalink / raw)
  To: rkuo; +Cc: dhowells, linux-hexagon, Guenter Roeck

Make THREAD_SIZE available to vmlinux.lds on hexagon by including
asm/thread_info.h the linker script.

This allows init_stack to be allocated in the linker script in a subsequent
patch.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Guenter Roeck <linux@roeck-us.net>
cc: Richard Kuo <rkuo@codeaurora.org>
cc: linux-hexagon@vger.kernel.org
---

 arch/hexagon/kernel/vmlinux.lds.S |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/hexagon/kernel/vmlinux.lds.S b/arch/hexagon/kernel/vmlinux.lds.S
index ec87e67feb19..ad69d181c939 100644
--- a/arch/hexagon/kernel/vmlinux.lds.S
+++ b/arch/hexagon/kernel/vmlinux.lds.S
@@ -22,6 +22,8 @@
 #include <asm/asm-offsets.h>	/*  Most of the kernel defines are here  */
 #include <asm/mem-layout.h>	/*  except for page_offset  */
 #include <asm/cache.h>		/*  and now we're pulling cache line size  */
+#include <asm/thread_info.h>	/*  and we need THREAD_SIZE too */
+
 OUTPUT_ARCH(hexagon)
 ENTRY(stext)
 

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

* Re: [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds
  2018-01-08 11:14 [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds David Howells
@ 2018-01-08 16:58 ` Guenter Roeck
  2018-01-09  2:01 ` Richard Kuo
  2018-01-09 22:02 ` David Howells
  2 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2018-01-08 16:58 UTC (permalink / raw)
  To: David Howells; +Cc: rkuo, linux-hexagon

On Mon, Jan 08, 2018 at 11:14:08AM +0000, David Howells wrote:
> Make THREAD_SIZE available to vmlinux.lds on hexagon by including
> asm/thread_info.h the linker script.
> 
> This allows init_stack to be allocated in the linker script in a subsequent
> patch.
> 
> Reported-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: David Howells <dhowells@redhat.com>

(Build-)Tested-by: Guenter Roeck <linux@roeck-us.net>

> cc: Guenter Roeck <linux@roeck-us.net>
> cc: Richard Kuo <rkuo@codeaurora.org>
> cc: linux-hexagon@vger.kernel.org
> ---
> 
>  arch/hexagon/kernel/vmlinux.lds.S |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/hexagon/kernel/vmlinux.lds.S b/arch/hexagon/kernel/vmlinux.lds.S
> index ec87e67feb19..ad69d181c939 100644
> --- a/arch/hexagon/kernel/vmlinux.lds.S
> +++ b/arch/hexagon/kernel/vmlinux.lds.S
> @@ -22,6 +22,8 @@
>  #include <asm/asm-offsets.h>	/*  Most of the kernel defines are here  */
>  #include <asm/mem-layout.h>	/*  except for page_offset  */
>  #include <asm/cache.h>		/*  and now we're pulling cache line size  */
> +#include <asm/thread_info.h>	/*  and we need THREAD_SIZE too */
> +
>  OUTPUT_ARCH(hexagon)
>  ENTRY(stext)
>  
> 

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

* Re: [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds
  2018-01-08 11:14 [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds David Howells
  2018-01-08 16:58 ` Guenter Roeck
@ 2018-01-09  2:01 ` Richard Kuo
  2018-01-09 22:02 ` David Howells
  2 siblings, 0 replies; 5+ messages in thread
From: Richard Kuo @ 2018-01-09  2:01 UTC (permalink / raw)
  To: David Howells; +Cc: linux-hexagon, Guenter Roeck

On Mon, Jan 08, 2018 at 11:14:08AM +0000, David Howells wrote:
> Make THREAD_SIZE available to vmlinux.lds on hexagon by including
> asm/thread_info.h the linker script.
> 
> This allows init_stack to be allocated in the linker script in a subsequent
> patch.
> 
> Reported-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: Guenter Roeck <linux@roeck-us.net>
> cc: Richard Kuo <rkuo@codeaurora.org>
> cc: linux-hexagon@vger.kernel.org
> ---
> 
>  arch/hexagon/kernel/vmlinux.lds.S |    2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Richard Kuo <rkuo@codeaurora.org>

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, 
a Linux Foundation Collaborative Project

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

* Re: [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds
  2018-01-08 11:14 [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds David Howells
  2018-01-08 16:58 ` Guenter Roeck
  2018-01-09  2:01 ` Richard Kuo
@ 2018-01-09 22:02 ` David Howells
  2018-01-09 22:47   ` Guenter Roeck
  2 siblings, 1 reply; 5+ messages in thread
From: David Howells @ 2018-01-09 22:02 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: dhowells, rkuo, linux-hexagon

Guenter Roeck <linux@roeck-us.net> wrote:

> (Build-)Tested-by: Guenter Roeck <linux@roeck-us.net>

Should I put that down as Reviewed-by or Acked-by instead?

David

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

* Re: [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds
  2018-01-09 22:02 ` David Howells
@ 2018-01-09 22:47   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2018-01-09 22:47 UTC (permalink / raw)
  To: David Howells; +Cc: rkuo, linux-hexagon

On Tue, Jan 09, 2018 at 10:02:20PM +0000, David Howells wrote:
> Guenter Roeck <linux@roeck-us.net> wrote:
> 
> > (Build-)Tested-by: Guenter Roeck <linux@roeck-us.net>
> 
> Should I put that down as Reviewed-by or Acked-by instead?
> 
Both Tested-by: and Reviewed-by: is fine.

Guenter

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

end of thread, other threads:[~2018-01-09 22:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-08 11:14 [RFC PATCH] hexagon: Make THREAD_SIZE available to vmlinux.lds David Howells
2018-01-08 16:58 ` Guenter Roeck
2018-01-09  2:01 ` Richard Kuo
2018-01-09 22:02 ` David Howells
2018-01-09 22:47   ` 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.