linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: RFC: [PATCH v2] Fixup modpost warnings in head*.S for ppc32
Date: Wed, 22 Aug 2007 09:31:45 -0500	[thread overview]
Message-ID: <20070822093145.68c57585@weaponx.rchland.ibm.com> (raw)
In-Reply-To: <490B1783-FA20-4DD8-A580-E71398B9928F@kernel.crashing.org>

On Wed, 22 Aug 2007 09:08:31 -0500
Kumar Gala <galak@kernel.crashing.org> wrote:

> 
> On Aug 22, 2007, at 9:03 AM, Josh Boyer wrote:
> 
> > On Wed, 22 Aug 2007 08:58:31 -0500 (CDT)
> > Kumar Gala <galak@kernel.crashing.org> wrote:
> >
> >> Addess the following modpost warnings we get out of the ppc32 head
> >> files:
> >>
> >> WARNING: vmlinux.o(.text+0x358): Section mismatch: reference  
> >> to .init.text:early_init (between 'skpinv' and 'interrupt_base')
> >> WARNING: vmlinux.o(.text+0x380): Section mismatch: reference  
> >> to .init.text:machine_init (between 'skpinv' and 'interrupt_base')
> >> WARNING: vmlinux.o(.text+0x384): Section mismatch: reference  
> >> to .init.text:MMU_init (between 'skpinv' and 'interrupt_base')
> >> WARNING: vmlinux.o(.text+0x3aa): Section mismatch: reference  
> >> to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
> >> WARNING: vmlinux.o(.text+0x3ae): Section mismatch: reference  
> >> to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
> >>
> >> Does anyone have any issues with this?  This version cleans up 40x  
> >> based
> >> on the latest for-2.6.24 tree and removes the stabs defn from _ENTRY.
> >
> > No signed-off-by on purpose?
> 
> Yes, since its an RFC, I explicitly didn't put a signed-off-by :)

Ok.  I can never tell if people just forgot or if they really meant
to.  Maybe we should be like Ben and do: Not-Signed-off-by ;)

> >> diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/ 
> >> head_40x.S
> >> index a8e0457..00bdb6d 100644
> >> --- a/arch/powerpc/kernel/head_40x.S
> >> +++ b/arch/powerpc/kernel/head_40x.S
> >> @@ -52,9 +52,9 @@
> >>   *
> >>   * This is all going to change RSN when we add bi_recs.......  --  
> >> Dan
> >>   */
> >> -	.text
> >> -_GLOBAL(_stext)
> >> -_GLOBAL(_start)
> >> +	.section	.text.head, "ax"
> >> +_ENTRY(_stext);
> >> +_ENTRY(_start);
> >>
> >>  	/* Save parameters we are passed.
> >>  	*/
> >> @@ -89,9 +89,9 @@ turn_on_mmu:
> >>   */
> >>  	. = 0xc0
> >>  crit_save:
> >> -_GLOBAL(crit_r10)
> >> +_ENTRY(crit_r10)
> >>  	.space	4
> >> -_GLOBAL(crit_r11)
> >> +_ENTRY(crit_r11)
> >>  	.space	4
> >>
> >>  /*
> >> @@ -814,7 +814,7 @@ finish_tlb_load:
> >>   * The PowerPC 4xx family of processors do not have an FPU, so  
> >> this just
> >>   * returns.
> >>   */
> >> -_GLOBAL(giveup_fpu)
> >> +_ENTRY(giveup_fpu)
> >>  	blr
> >
> > I had moved this bit below initial_mmu instead in my version.  I
> > realize there isn't much difference from a technical point of view,  
> > but
> > it seems misleading to label this one as _ENTRY.
> 
> Do you want to move both crit_r10/r11 & giveup_fpu or just giveup_fpu?

I just moved giveup_fpu.  Moving crit_r10/r11 was more work than my 5
minute fixup allowed :).  Really, this isn't a big deal either way so
don't stress too much about it.

josh

      reply	other threads:[~2007-08-22 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 13:58 RFC: [PATCH v2] Fixup modpost warnings in head*.S for ppc32 Kumar Gala
2007-08-22 14:03 ` Josh Boyer
2007-08-22 14:08   ` Kumar Gala
2007-08-22 14:31     ` Josh Boyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070822093145.68c57585@weaponx.rchland.ibm.com \
    --to=jwboyer@linux.vnet.ibm.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).