Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-08-11 Thread Guenter Roeck

On 08/10/2014 05:20 PM, Stephen Rothwell wrote:

Hi Guenter,

On Fri,  8 Aug 2014 22:22:12 -0700 Guenter Roeck  wrote:


Once again, we see

arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:890: Error: attempt to move .org backwards

when compiling ppc:allmodconfig.

This time the problem has been caused by to commit 0869b6fd209bda
("powerpc/book3s: Add basic infrastructure to handle HMI in Linux"),
which adds functions hmi_exception_early and hmi_exception_after_realmode
into a critical (size-limited) code area, even though that does not appear
to be necessary.

Move those functions to a non-critical area of the file.

Cc: Mahesh Salgaonkar 
Signed-off-by: Guenter Roeck 
---
Compile tested with all ppc configurations.
The reported checkpatch error appears to be a false positive.


Thanks.

I have added that to my fixes tree for today.


Thanks!

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2014-08-11 Thread Guenter Roeck

On 08/10/2014 05:20 PM, Stephen Rothwell wrote:

Hi Guenter,

On Fri,  8 Aug 2014 22:22:12 -0700 Guenter Roeck li...@roeck-us.net wrote:


Once again, we see

arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:890: Error: attempt to move .org backwards

when compiling ppc:allmodconfig.

This time the problem has been caused by to commit 0869b6fd209bda
(powerpc/book3s: Add basic infrastructure to handle HMI in Linux),
which adds functions hmi_exception_early and hmi_exception_after_realmode
into a critical (size-limited) code area, even though that does not appear
to be necessary.

Move those functions to a non-critical area of the file.

Cc: Mahesh Salgaonkar mah...@linux.vnet.ibm.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
Compile tested with all ppc configurations.
The reported checkpatch error appears to be a false positive.


Thanks.

I have added that to my fixes tree for today.


Thanks!

Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-08-10 Thread Stephen Rothwell
Hi Guenter,

On Fri,  8 Aug 2014 22:22:12 -0700 Guenter Roeck  wrote:
>
> Once again, we see
> 
> arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
> arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:890: Error: attempt to move .org 
> backwards
> 
> when compiling ppc:allmodconfig.
> 
> This time the problem has been caused by to commit 0869b6fd209bda
> ("powerpc/book3s: Add basic infrastructure to handle HMI in Linux"),
> which adds functions hmi_exception_early and hmi_exception_after_realmode
> into a critical (size-limited) code area, even though that does not appear
> to be necessary.
> 
> Move those functions to a non-critical area of the file.
> 
> Cc: Mahesh Salgaonkar 
> Signed-off-by: Guenter Roeck 
> ---
> Compile tested with all ppc configurations.
> The reported checkpatch error appears to be a false positive.

Thanks.

I have added that to my fixes tree for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2014-08-10 Thread Stephen Rothwell
Hi Guenter,

On Fri,  8 Aug 2014 22:22:12 -0700 Guenter Roeck li...@roeck-us.net wrote:

 Once again, we see
 
 arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
 arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:890: Error: attempt to move .org 
 backwards
 
 when compiling ppc:allmodconfig.
 
 This time the problem has been caused by to commit 0869b6fd209bda
 (powerpc/book3s: Add basic infrastructure to handle HMI in Linux),
 which adds functions hmi_exception_early and hmi_exception_after_realmode
 into a critical (size-limited) code area, even though that does not appear
 to be necessary.
 
 Move those functions to a non-critical area of the file.
 
 Cc: Mahesh Salgaonkar mah...@linux.vnet.ibm.com
 Signed-off-by: Guenter Roeck li...@roeck-us.net
 ---
 Compile tested with all ppc configurations.
 The reported checkpatch error appears to be a false positive.

Thanks.

I have added that to my fixes tree for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-12 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 08:53 -0700, Guenter Roeck wrote:
> On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote:
> > On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
> > > Oh well, it was worth a try. Can you give me an example for a failing
> > > configuration ?
> > 
> > My g5 config which is close to g5_defconfig with PR KVM enabled.
> > 
> > In any case, see my other messages. I'm waiting for all my test builders
> > to come back and if it's clear I'll post a new patch.
> > 
> I'll be more than happy to wait. Let me know if I can test something.

http://patchwork.ozlabs.org/patch/347892/

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-12 Thread Guenter Roeck
On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote:
> On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
> > Oh well, it was worth a try. Can you give me an example for a failing
> > configuration ?
> 
> My g5 config which is close to g5_defconfig with PR KVM enabled.
> 
> In any case, see my other messages. I'm waiting for all my test builders
> to come back and if it's clear I'll post a new patch.
> 
I'll be more than happy to wait. Let me know if I can test something.

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-12 Thread Guenter Roeck
On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote:
 On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
  Oh well, it was worth a try. Can you give me an example for a failing
  configuration ?
 
 My g5 config which is close to g5_defconfig with PR KVM enabled.
 
 In any case, see my other messages. I'm waiting for all my test builders
 to come back and if it's clear I'll post a new patch.
 
I'll be more than happy to wait. Let me know if I can test something.

Thanks,
Guenter
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-12 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 08:53 -0700, Guenter Roeck wrote:
 On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote:
  On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
   Oh well, it was worth a try. Can you give me an example for a failing
   configuration ?
  
  My g5 config which is close to g5_defconfig with PR KVM enabled.
  
  In any case, see my other messages. I'm waiting for all my test builders
  to come back and if it's clear I'll post a new patch.
  
 I'll be more than happy to wait. Let me know if I can test something.

http://patchwork.ozlabs.org/patch/347892/

Cheers,
Ben.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
> Oh well, it was worth a try. Can you give me an example for a failing
> configuration ?

My g5 config which is close to g5_defconfig with PR KVM enabled.

In any case, see my other messages. I'm waiting for all my test builders
to come back and if it's clear I'll post a new patch.

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-11 Thread Guenter Roeck

On 05/11/2014 10:37 PM, Benjamin Herrenschmidt wrote:

On Mon, 2014-05-12 at 14:12 +1000, Benjamin Herrenschmidt wrote:

On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:

Commit 4e243b7 (powerpc: Fix "attempt to move .org backwards" error) fixes the
allyesconfig build by moving machine_check_common to a different location.
While this fixes most of the errors, both allmodconfig and allyesconfig still
fail as follows.

arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org backwards

Fix by moving machine_check_common after the offending address.


This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.

So we need to move more things around and I haven't had a chance to
sort it out.


Ok, I think I sorted it out for now. It's a mess and likely to break
again until we do something more drastic like moving everything that's
after 0x8000 to a separate file but for now that will do. Patch on its
way, I'll also shoot it to Linus today along with a few other things.



Great, thanks a lot!

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 14:12 +1000, Benjamin Herrenschmidt wrote:
> On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:
> > Commit 4e243b7 (powerpc: Fix "attempt to move .org backwards" error) fixes 
> > the
> > allyesconfig build by moving machine_check_common to a different location.
> > While this fixes most of the errors, both allmodconfig and allyesconfig 
> > still
> > fail as follows.
> > 
> > arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org 
> > backwards
> > 
> > Fix by moving machine_check_common after the offending address.
> 
> This suffers from the same problem as previous attempts, on some of my
> test configs I get:
> 
> arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to 
> fit: R_PPC64_REL14 against `.text'+1c90
> make[1]: *** [vmlinux] Error 1
> make: *** [sub-make] Error 2
> 
> IE, it breaks currently working configs.
> 
> So we need to move more things around and I haven't had a chance to
> sort it out.

Ok, I think I sorted it out for now. It's a mess and likely to break
again until we do something more drastic like moving everything that's
after 0x8000 to a separate file but for now that will do. Patch on its
way, I'll also shoot it to Linus today along with a few other things.

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-11 Thread Guenter Roeck

On 05/11/2014 09:12 PM, Benjamin Herrenschmidt wrote:

On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:

Commit 4e243b7 (powerpc: Fix "attempt to move .org backwards" error) fixes the
allyesconfig build by moving machine_check_common to a different location.
While this fixes most of the errors, both allmodconfig and allyesconfig still
fail as follows.

arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org backwards

Fix by moving machine_check_common after the offending address.


This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.


Oh well, it was worth a try. Can you give me an example for a failing 
configuration ?

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:
> Commit 4e243b7 (powerpc: Fix "attempt to move .org backwards" error) fixes the
> allyesconfig build by moving machine_check_common to a different location.
> While this fixes most of the errors, both allmodconfig and allyesconfig still
> fail as follows.
> 
> arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org 
> backwards
> 
> Fix by moving machine_check_common after the offending address.

This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.

So we need to move more things around and I haven't had a chance to
sort it out.

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:
 Commit 4e243b7 (powerpc: Fix attempt to move .org backwards error) fixes the
 allyesconfig build by moving machine_check_common to a different location.
 While this fixes most of the errors, both allmodconfig and allyesconfig still
 fail as follows.
 
 arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org 
 backwards
 
 Fix by moving machine_check_common after the offending address.

This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.

So we need to move more things around and I haven't had a chance to
sort it out.

Cheers,
Ben.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-11 Thread Guenter Roeck

On 05/11/2014 09:12 PM, Benjamin Herrenschmidt wrote:

On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:

Commit 4e243b7 (powerpc: Fix attempt to move .org backwards error) fixes the
allyesconfig build by moving machine_check_common to a different location.
While this fixes most of the errors, both allmodconfig and allyesconfig still
fail as follows.

arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org backwards

Fix by moving machine_check_common after the offending address.


This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.


Oh well, it was worth a try. Can you give me an example for a failing 
configuration ?

Thanks,
Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 14:12 +1000, Benjamin Herrenschmidt wrote:
 On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:
  Commit 4e243b7 (powerpc: Fix attempt to move .org backwards error) fixes 
  the
  allyesconfig build by moving machine_check_common to a different location.
  While this fixes most of the errors, both allmodconfig and allyesconfig 
  still
  fail as follows.
  
  arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org 
  backwards
  
  Fix by moving machine_check_common after the offending address.
 
 This suffers from the same problem as previous attempts, on some of my
 test configs I get:
 
 arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to 
 fit: R_PPC64_REL14 against `.text'+1c90
 make[1]: *** [vmlinux] Error 1
 make: *** [sub-make] Error 2
 
 IE, it breaks currently working configs.
 
 So we need to move more things around and I haven't had a chance to
 sort it out.

Ok, I think I sorted it out for now. It's a mess and likely to break
again until we do something more drastic like moving everything that's
after 0x8000 to a separate file but for now that will do. Patch on its
way, I'll also shoot it to Linus today along with a few other things.

Cheers,
Ben.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-11 Thread Guenter Roeck

On 05/11/2014 10:37 PM, Benjamin Herrenschmidt wrote:

On Mon, 2014-05-12 at 14:12 +1000, Benjamin Herrenschmidt wrote:

On Fri, 2014-05-09 at 17:07 -0700, Guenter Roeck wrote:

Commit 4e243b7 (powerpc: Fix attempt to move .org backwards error) fixes the
allyesconfig build by moving machine_check_common to a different location.
While this fixes most of the errors, both allmodconfig and allyesconfig still
fail as follows.

arch/powerpc/kernel/exceptions-64s.S:1315: Error: attempt to move .org backwards

Fix by moving machine_check_common after the offending address.


This suffers from the same problem as previous attempts, on some of my
test configs I get:

arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0xb0): relocation truncated to fit: 
R_PPC64_REL14 against `.text'+1c90
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

IE, it breaks currently working configs.

So we need to move more things around and I haven't had a chance to
sort it out.


Ok, I think I sorted it out for now. It's a mess and likely to break
again until we do something more drastic like moving everything that's
after 0x8000 to a separate file but for now that will do. Patch on its
way, I'll also shoot it to Linus today along with a few other things.



Great, thanks a lot!

Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-11 Thread Benjamin Herrenschmidt
On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote:
 Oh well, it was worth a try. Can you give me an example for a failing
 configuration ?

My g5 config which is close to g5_defconfig with PR KVM enabled.

In any case, see my other messages. I'm waiting for all my test builders
to come back and if it's clear I'll post a new patch.

Cheers,
Ben.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-02-15 Thread Guenter Roeck

On 02/11/2014 09:22 PM, Stephen Rothwell wrote:

Hi all,

On Tue, 10 Dec 2013 10:26:10 +1100 Benjamin Herrenschmidt 
 wrote:


On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:

Reported-by: Stephen Rothwell 
Tested-by: Stephen Rothwell 

Works for me.  Thanks.  I will add this to linux-next today if Ben
doesn't add it to his tree.


I will but probably not soon enough for your cut today


As noted elsewhere, this did not completely fix the problem and I have
been still getting this error from my allyesconfig builds for some time:



+allmodconfig in latest mainline.


arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards

Could someone please fix this?



Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2014-02-15 Thread Guenter Roeck

On 02/11/2014 09:22 PM, Stephen Rothwell wrote:

Hi all,

On Tue, 10 Dec 2013 10:26:10 +1100 Benjamin Herrenschmidt 
b...@kernel.crashing.org wrote:


On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:

Reported-by: Stephen Rothwell s...@canb.auug.org.au
Tested-by: Stephen Rothwell s...@canb.auug.org.au

Works for me.  Thanks.  I will add this to linux-next today if Ben
doesn't add it to his tree.


I will but probably not soon enough for your cut today


As noted elsewhere, this did not completely fix the problem and I have
been still getting this error from my allyesconfig builds for some time:



+allmodconfig in latest mainline.


arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards

Could someone please fix this?



Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-02-11 Thread Stephen Rothwell
Hi all,

On Tue, 10 Dec 2013 10:26:10 +1100 Benjamin Herrenschmidt 
 wrote:
>
> On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:
> > Reported-by: Stephen Rothwell 
> > Tested-by: Stephen Rothwell 
> > 
> > Works for me.  Thanks.  I will add this to linux-next today if Ben
> > doesn't add it to his tree.
> 
> I will but probably not soon enough for your cut today

As noted elsewhere, this did not completely fix the problem and I have
been still getting this error from my allyesconfig builds for some time:

arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards

Could someone please fix this?
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIv81uc7qZk.pgp
Description: PGP signature


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2014-02-11 Thread Stephen Rothwell
Hi all,

On Tue, 10 Dec 2013 10:26:10 +1100 Benjamin Herrenschmidt 
b...@kernel.crashing.org wrote:

 On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:
  Reported-by: Stephen Rothwell s...@canb.auug.org.au
  Tested-by: Stephen Rothwell s...@canb.auug.org.au
  
  Works for me.  Thanks.  I will add this to linux-next today if Ben
  doesn't add it to his tree.
 
 I will but probably not soon enough for your cut today

As noted elsewhere, this did not completely fix the problem and I have
been still getting this error from my allyesconfig builds for some time:

arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards

Could someone please fix this?
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIv81uc7qZk.pgp
Description: PGP signature


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2013-12-09 Thread Benjamin Herrenschmidt
On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:
> Reported-by: Stephen Rothwell 
> Tested-by: Stephen Rothwell 
> 
> Works for me.  Thanks.  I will add this to linux-next today if Ben
> doesn't add it to his tree.

I will but probably not soon enough for your cut today

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2013-12-09 Thread Stephen Rothwell
Hi,

On Tue, 10 Dec 2013 00:40:15 +0530 Mahesh J Salgaonkar 
 wrote:
>
> From: Mahesh Salgaonkar 
> 
> With recent machine check patch series changes, The exception vectors
> starting from 0x4300 are now overflowing with allyesconfig. Fix that by
> moving machine_check_common and machine_check_handle_early code out of
> that region to make enough room for exception vector area.
> 
> Fixes this build error reportes by Stephen:
> 
> arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
> arch/powerpc/kernel/exceptions-64s.S:958: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:959: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:983: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:984: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1003: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1013: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1014: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1015: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1016: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1017: Error: attempt to move .org 
> backwards
> arch/powerpc/kernel/exceptions-64s.S:1018: Error: attempt to move .org 
> backwards
> 
> Signed-off-by: Mahesh Salgaonkar 

Reported-by: Stephen Rothwell 
Tested-by: Stephen Rothwell 

Works for me.  Thanks.  I will add this to linux-next today if Ben
doesn't add it to his tree.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpcoVil8VkWC.pgp
Description: PGP signature


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2013-12-09 Thread Stephen Rothwell
Hi,

On Tue, 10 Dec 2013 00:40:15 +0530 Mahesh J Salgaonkar 
mah...@linux.vnet.ibm.com wrote:

 From: Mahesh Salgaonkar mah...@linux.vnet.ibm.com
 
 With recent machine check patch series changes, The exception vectors
 starting from 0x4300 are now overflowing with allyesconfig. Fix that by
 moving machine_check_common and machine_check_handle_early code out of
 that region to make enough room for exception vector area.
 
 Fixes this build error reportes by Stephen:
 
 arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
 arch/powerpc/kernel/exceptions-64s.S:958: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:959: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:983: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:984: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1003: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1013: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1014: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1015: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1016: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1017: Error: attempt to move .org 
 backwards
 arch/powerpc/kernel/exceptions-64s.S:1018: Error: attempt to move .org 
 backwards
 
 Signed-off-by: Mahesh Salgaonkar mah...@linux.vnet.ibm.com

Reported-by: Stephen Rothwell s...@canb.auug.org.au
Tested-by: Stephen Rothwell s...@canb.auug.org.au

Works for me.  Thanks.  I will add this to linux-next today if Ben
doesn't add it to his tree.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpcoVil8VkWC.pgp
Description: PGP signature


Re: [PATCH] powerpc: Fix attempt to move .org backwards error

2013-12-09 Thread Benjamin Herrenschmidt
On Tue, 2013-12-10 at 10:10 +1100, Stephen Rothwell wrote:
 Reported-by: Stephen Rothwell s...@canb.auug.org.au
 Tested-by: Stephen Rothwell s...@canb.auug.org.au
 
 Works for me.  Thanks.  I will add this to linux-next today if Ben
 doesn't add it to his tree.

I will but probably not soon enough for your cut today

Cheers,
Ben.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/