Kernel link address assumption
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?
Regards
Himanshu
Quoted 4 lines · Himanshu Chauhan
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.
/K.
Quoted 10 lines · Kevin D. Kissell
Quoted 4 lines · Himanshu Chauhan
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.
Any pointers?
Regards
Himanshu
Quoted 6 lines · Himanshu Chauhan
Quoted 5 lines · Kevin D. Kissell
Quoted 4 lines · Himanshu Chauhan
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?
Quoted 9 lines
Quoted 4 lines
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.
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.
Any pointers?
I've done a design of something like this for a non-MIPS architecture, but I'd prefer someone who's done this for MIPS (and I know that there are people out there who have) advise you.
Regards,
Kevin K.
Quoted 11 lines · Himanshu Chauhan
Quoted 7 lines · Kevin D. Kissell
Quoted 5 lines · Himanshu Chauhan
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?
Quoted 9 lines
Quoted 5 lines
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
Quoted 8 lines
Any pointers?
Regards
Himanshu