All of lore.kernel.org
 help / color / mirror / Atom feed
From: stanley.miao@windriver.com (stanley.miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] Support BE8 mode kernel modules relocation
Date: Fri, 21 Jan 2011 17:39:33 +0800	[thread overview]
Message-ID: <4D395455.9030309@windriver.com> (raw)
In-Reply-To: <1295458353.13373.37.camel@e102109-lin.cambridge.arm.com>

Catalin Marinas wrote:
> On Wed, 2011-01-19 at 06:21 +0000, Stanley.Miao wrote:
>   
>> 2011/1/18 Catalin Marinas <catalin.marinas@arm.com>:
>>     
>>> BTW (not related to modules, but since you are looking at this), when
>>> we copy the sigreturn_codes to the vectors page in early_trap_init(),
>>> do they get there in little endian form (as required by BE8)?
>>>       
>> No, they get there in big endian.They are read as data in the function
>> setup_return().
>>
>> retcode = KERN_SIGRETURN_CODE + (idx << 2) + thumb;
>>     
>
> This retcode here is an address in the vectors page which is set to LR
> when invoking the signal handler. All fine here.
>
> But the sigreturn_codes array contains instructions which get copied to
> the vectors page in the early_trap_init() function. This array has this
> instructions in big endian format but they should be converted to little
> endian when copied to the vectors page.
>
>   
I don't have a board in hand for now. When I get a board, I will test it.

Stanley.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110121/c05712b2/attachment-0001.html>

  reply	other threads:[~2011-01-21  9:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  8:42 [PATCH 0/3] Support BE8 kernel modules relocation Stanley.Miao
2011-01-17  8:42 ` Stanley.Miao
2011-01-17  8:42 ` [PATCH 1/3] Support BE8 mode " Stanley.Miao
2011-01-17  8:42   ` Stanley.Miao
2011-01-17  8:52   ` Russell King - ARM Linux
2011-01-17  8:52     ` Russell King - ARM Linux
2011-01-17  9:56   ` Catalin Marinas
2011-01-17  9:56     ` Catalin Marinas
2011-01-18  1:22     ` Stanley.Miao
2011-01-18 15:23       ` Catalin Marinas
2011-01-19  6:21         ` Stanley.Miao
2011-01-19 17:32           ` Catalin Marinas
2011-01-21  9:39             ` stanley.miao [this message]
2011-01-17  8:42 ` [PATCH 2/3] support ARM BE8 mode on a little endian machine Stanley.Miao
2011-01-17  8:42   ` Stanley.Miao
2011-01-17 10:01   ` Catalin Marinas
2011-01-17 10:01     ` Catalin Marinas
2011-01-17 10:23     ` stanley.miao
2011-01-18  1:24     ` Stanley.Miao
2011-01-17  8:42 ` [PATCH 3/3] Add ARM kernel debug macros for locating the boot problems quickly Stanley.Miao
2011-01-17  8:42   ` Stanley.Miao
  -- strict thread matches above, loose matches on Subject: below --
2011-01-19  6:44 [PATCH V2 0/3] Support BE8 kernel modules relocation Stanley.Miao
2011-01-19  6:44 ` [PATCH 1/3] Support BE8 mode " Stanley.Miao
2011-01-21  9:40   ` Stanley.Miao
2011-01-21  9:44   ` Russell King - ARM Linux
2011-01-21 10:11     ` stanley.miao
2011-01-22 17:00       ` Russell King - ARM Linux

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=4D395455.9030309@windriver.com \
    --to=stanley.miao@windriver.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.