All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Shi <yang.shi@windriver.com>
To: Himanshu Chauhan <hschauhan@nulltrace.org>
Cc: "Kevin D. Kissell" <kevink@paralogos.com>,
	linux-mips <linux-mips@linux-mips.org>
Subject: Re: Kernel link address assumption
Date: Tue, 01 Mar 2011 16:06:37 +0800	[thread overview]
Message-ID: <4D6CA90D.10609@windriver.com> (raw)
In-Reply-To: <4D66A1AC.2090007@nulltrace.org>

Himanshu Chauhan 写道:
> On Thursday 24 February 2011 11:46 PM, Kevin D. Kissell wrote:
>   
>> On 02/24/11 10:13, Himanshu Chauhan wrote:
>>     
>>> Hi,
>>>
>>> Does Linux kernel for MIPS assumes that its link address is always in 
>>> Kseg0?
>>> What if I change the link address to somewhere in useg?
>>>       
>
>   
>> Your page fault handlers will be in for an interesting time. ;o)
>>
>> What you describe can be, and is done, for virtualized kernels running 
>> on top
>> of a hypervisor, but there's a bit more involved than just changing 
>> the link address.
>>     
> Hi Kevin,
>
> You just caught that. Thats what I am trying to evaluate. What all I 
> would need to do apart from changing the link address. I am working on a 
> bare metal hypervisor for MIPS architecture.
>   

You need setup suitable TLB mappings for Linux kernel in bootloader or 
Hypervisor.

Yang

> Any pointers?
>
> Regards
> Himanshu
>
>
>
>   

      parent reply	other threads:[~2011-03-01  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 18:13 Kernel link address assumption Himanshu Chauhan
2011-02-24 18:16 ` Kevin D. Kissell
2011-02-24 18:21   ` Himanshu Chauhan
2011-02-24 21:44     ` Kevin D. Kissell
2011-03-01  8:06     ` Yang Shi [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=4D6CA90D.10609@windriver.com \
    --to=yang.shi@windriver.com \
    --cc=hschauhan@nulltrace.org \
    --cc=kevink@paralogos.com \
    --cc=linux-mips@linux-mips.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.