linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
@ 2013-03-14  3:44 Chen Gang
  2013-03-14  3:46 ` Chen Gang
  2013-03-14 13:25 ` Jonathan Austin
  0 siblings, 2 replies; 6+ messages in thread
From: Chen Gang @ 2013-03-14  3:44 UTC (permalink / raw)
  To: Russell King - ARM Linux, lorenzo.pieralisi, Santosh Shilimkar,
	nico, catalin.marinas
  Cc: linux-arm-kernel, linux-kernel

Hello Maintainers:

  when use randconfig:
    make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig
      (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set")

  the error information:
    arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:
    arch/arm/kernel/suspend.c:56:32: 错误:提领指向不完全类型的指针
    arch/arm/kernel/suspend.c:70:3: 错误:隐式声明函数‘cpu_switch_mm’ [-Werror=implicit-function-declaration]
    arch/arm/kernel/suspend.c:71:3: 错误:隐式声明函数‘local_flush_bp_all’ [-Werror=implicit-function-declaration]
    arch/arm/kernel/suspend.c:72:3: 错误:隐式声明函数‘local_flush_tlb_all’ [-Werror=implicit-function-declaration]

  I want to be sure whether we can bear it ?

  thanks.

-- 
Chen Gang

Asianux Corporation

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

* Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
  2013-03-14  3:44 [Suggestion] Latest randconfig build errors for CONFIG_MMU=no Chen Gang
@ 2013-03-14  3:46 ` Chen Gang
  2013-03-14 13:25 ` Jonathan Austin
  1 sibling, 0 replies; 6+ messages in thread
From: Chen Gang @ 2013-03-14  3:46 UTC (permalink / raw)
  To: Russell King - ARM Linux, lorenzo.pieralisi, Santosh Shilimkar,
	nico, catalin.marinas
  Cc: linux-arm-kernel, linux-kernel


also has additional information (maybe useful):

  arch/arm/kernel/entry-armv.S:404:2: 警告:#warning "NPTL on non MMU needs fixing" [-Wcpp]
  arch/arm/kernel/entry-armv.S:867:2: 警告:#warning "NPTL on non MMU needs fixing" [-Wcpp]
  arch/arm/kernel/entry-armv.S:940:2: 警告:#warning "NPTL on non MMU needs fixing" [-Wcpp]


于 2013年03月14日 11:44, Chen Gang 写道:
> Hello Maintainers:
> 
>   when use randconfig:
>     make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig
>       (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set")
> 
>   the error information:
>     arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:
>     arch/arm/kernel/suspend.c:56:32: 错误:提领指向不完全类型的指针
>     arch/arm/kernel/suspend.c:70:3: 错误:隐式声明函数‘cpu_switch_mm’ [-Werror=implicit-function-declaration]
>     arch/arm/kernel/suspend.c:71:3: 错误:隐式声明函数‘local_flush_bp_all’ [-Werror=implicit-function-declaration]
>     arch/arm/kernel/suspend.c:72:3: 错误:隐式声明函数‘local_flush_tlb_all’ [-Werror=implicit-function-declaration]
> 
>   I want to be sure whether we can bear it ?
> 
>   thanks.
> 


-- 
Chen Gang

Asianux Corporation

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

* Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
  2013-03-14  3:44 [Suggestion] Latest randconfig build errors for CONFIG_MMU=no Chen Gang
  2013-03-14  3:46 ` Chen Gang
@ 2013-03-14 13:25 ` Jonathan Austin
  2013-03-15  0:51   ` Chen Gang
  2013-03-17 14:40   ` Will Deacon
  1 sibling, 2 replies; 6+ messages in thread
From: Jonathan Austin @ 2013-03-14 13:25 UTC (permalink / raw)
  To: Chen Gang
  Cc: Russell King - ARM Linux, Lorenzo Pieralisi, Santosh Shilimkar,
	nico, Catalin Marinas, linux-kernel, linux-arm-kernel,
	Will Deacon

Hi Chen,

On 14/03/13 03:44, Chen Gang wrote:
> Hello Maintainers:
>
>    when use randconfig:
>      make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig
>        (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set")
>
>    the error information:
>      arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:
>      arch/arm/kernel/suspend.c:56:32: 错误:提领指向不完全类型的指针
>      arch/arm/kernel/suspend.c:70:3: 错误:隐式声明函数‘cpu_switch_mm’ [-Werror=implicit-function-declaration]
>      arch/arm/kernel/suspend.c:71:3: 错误:隐式声明函数‘local_flush_bp_all’ [-Werror=implicit-function-declaration]
>      arch/arm/kernel/suspend.c:72:3: 错误:隐式声明函数‘local_flush_tlb_all’ [-Werror=implicit-function-declaration]
>
>    I want to be sure whether we can bear it ?
>

You're right that at the moment that suspend code is broken for NOMMU.

However, Will Deacon has a patch to fix it in his nommu branch on 
kernel.org:

https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=nommu

I'll let Will comment on how/when he might look at proposing that code 
to be merged.

Jonny



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

* Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
  2013-03-14 13:25 ` Jonathan Austin
@ 2013-03-15  0:51   ` Chen Gang
  2013-03-17 14:40   ` Will Deacon
  1 sibling, 0 replies; 6+ messages in thread
From: Chen Gang @ 2013-03-15  0:51 UTC (permalink / raw)
  To: Jonathan Austin
  Cc: Russell King - ARM Linux, Lorenzo Pieralisi, Santosh Shilimkar,
	nico, Catalin Marinas, linux-kernel, linux-arm-kernel,
	Will Deacon

于 2013年03月14日 21:25, Jonathan Austin 写道:
> 
> You're right that at the moment that suspend code is broken for NOMMU.
> 
> However, Will Deacon has a patch to fix it in his nommu branch on
> kernel.org:
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=nommu
> 
> I'll let Will comment on how/when he might look at proposing that code
> to be merged.
> 
> Jonny

  thank you.

  :-)

-- 
Chen Gang

Asianux Corporation

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

* Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
  2013-03-14 13:25 ` Jonathan Austin
  2013-03-15  0:51   ` Chen Gang
@ 2013-03-17 14:40   ` Will Deacon
  2013-03-18  1:41     ` Chen Gang
  1 sibling, 1 reply; 6+ messages in thread
From: Will Deacon @ 2013-03-17 14:40 UTC (permalink / raw)
  To: Jonathan Austin
  Cc: Chen Gang, Russell King - ARM Linux, Lorenzo Pieralisi,
	Santosh Shilimkar, nico, Catalin Marinas, linux-kernel,
	linux-arm-kernel

On Thu, Mar 14, 2013 at 01:25:56PM +0000, Jonathan Austin wrote:
> On 14/03/13 03:44, Chen Gang wrote:
> > Hello Maintainers:
> >
> >    when use randconfig:
> >      make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig
> >        (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set")
> >
> >    the error information:
> >      arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中:
> >      arch/arm/kernel/suspend.c:56:32: 错误:提领指向不完全类型的指针
> >      arch/arm/kernel/suspend.c:70:3: 错误:隐式声明函数‘cpu_switch_mm’ [-Werror=implicit-function-declaration]
> >      arch/arm/kernel/suspend.c:71:3: 错误:隐式声明函数‘local_flush_bp_all’ [-Werror=implicit-function-declaration]
> >      arch/arm/kernel/suspend.c:72:3: 错误:隐式声明函数‘local_flush_tlb_all’ [-Werror=implicit-function-declaration]
> >
> >    I want to be sure whether we can bear it ?
> >
> 
> You're right that at the moment that suspend code is broken for NOMMU.
> 
> However, Will Deacon has a patch to fix it in his nommu branch on 
> kernel.org:
> 
> https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=nommu
> 
> I'll let Will comment on how/when he might look at proposing that code 
> to be merged.

I can probably bring that up to speed with -rc2 if people are interested.
The tricky part is testing -- I used a software model that had a magic
control block for killing off CPUs when I wrote this originally.

Will

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

* Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no
  2013-03-17 14:40   ` Will Deacon
@ 2013-03-18  1:41     ` Chen Gang
  0 siblings, 0 replies; 6+ messages in thread
From: Chen Gang @ 2013-03-18  1:41 UTC (permalink / raw)
  To: Will Deacon
  Cc: Jonathan Austin, Russell King - ARM Linux, Lorenzo Pieralisi,
	Santosh Shilimkar, nico, Catalin Marinas, linux-kernel,
	linux-arm-kernel

On 2013年03月17日 22:40, Will Deacon wrote:
> I can probably bring that up to speed with -rc2 if people are interested.
> The tricky part is testing -- I used a software model that had a magic
> control block for killing off CPUs when I wrote this originally.

  excuse me, I am not familiar with ARM, so can not provide more ideas.

  but at least for me, I think what you said seems valuable.

  welcome any ARM experts to reply.


  thanks.

  :-)


-- 
Chen Gang

Asianux Corporation

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

end of thread, other threads:[~2013-03-18  1:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14  3:44 [Suggestion] Latest randconfig build errors for CONFIG_MMU=no Chen Gang
2013-03-14  3:46 ` Chen Gang
2013-03-14 13:25 ` Jonathan Austin
2013-03-15  0:51   ` Chen Gang
2013-03-17 14:40   ` Will Deacon
2013-03-18  1:41     ` Chen Gang

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).