Re: [PATCH v2 05/10] MIPS: Refactor mips_cps_core_entry implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


在 2023/12/22 12:18, Thomas Bogendoerfer 写道:
On Fri, Oct 27, 2023 at 11:11:01PM +0100, Jiaxun Yang wrote:
Now the exception vector for CPS systems are allocated on-fly
with memblock as well.

It will try to allocate from KSEG1 first, and then try to allocate
in low 4G if possible.

The main reset vector is now generated by uasm, to avoid tons
of patches to the code. Other vectors are copied to the location
this patch does way to many things in one go. What is needed to
make a kernel working with an ebase anyware in XPHYS ?

As we have some silly restrictions on the placement of CPS reset_base, it's
impossible to put CPS's cluster reset base "anywhere".

You'll have to make entry code in cps-vec.S relocatable to allow it to be moved
by kernel at run time. Either patching the code or generate by uasm.

- Jiaxun


[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux