linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] MIPS: Fix kernel in XKPHYS
@ 2023-10-23 19:13 Jiaxun Yang
  2023-10-23 19:13 ` [PATCH 1/5] MIPS: Export higher/highest relocation functions in uasm Jiaxun Yang
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Jiaxun Yang @ 2023-10-23 19:13 UTC (permalink / raw)
  To: linux-mips
  Cc: linux-kernel, tsbogend, gregory.clement, vladimir.kondratiev,
	Jiaxun Yang

Hi all,

This series fixes support for loading kernel to XKPHYS space.
It is derived from "MIPS: use virtual addresses from xkphys for MIPS64" [1].

Boot tested on boston and QEMU with loading address set to 0xa800000090000000.
QEMU patch on the way.

Gregory and Vladimir, do let me know if I missed anything.

Thanks
- Jiaxun

[1]: https://lore.kernel.org/lkml/20231004161038.2818327-3-gregory.clement@bootlin.com/

Jiaxun Yang (5):
  MIPS: Export higher/highest relocation functions in uasm
  MIPS: genex: Fix except_vec_vi for kernel in XKPHYS
  MIPS: Fix set_uncached_handler for ebase in XKPHYS
  MIPS: Handle mips_cps_core_entry within lower 4G
  MIPS: Allow kernel base to be set from Kconfig for all platforms

 arch/mips/Kconfig               | 18 +++++++++++++----
 arch/mips/include/asm/mips-cm.h |  1 +
 arch/mips/include/asm/uasm.h    |  2 ++
 arch/mips/kernel/genex.S        | 19 +++++++++++++----
 arch/mips/kernel/smp-cps.c      | 27 +++++++++++++++++++------
 arch/mips/kernel/traps.c        | 36 +++++++++++++++++++++++----------
 arch/mips/mm/uasm.c             |  6 ++++--
 7 files changed, 82 insertions(+), 27 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-27 20:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 19:13 [PATCH 0/5] MIPS: Fix kernel in XKPHYS Jiaxun Yang
2023-10-23 19:13 ` [PATCH 1/5] MIPS: Export higher/highest relocation functions in uasm Jiaxun Yang
2023-10-23 19:13 ` [PATCH 2/5] MIPS: genex: Fix except_vec_vi for kernel in XKPHYS Jiaxun Yang
2023-10-23 19:13 ` [PATCH 3/5] MIPS: Fix set_uncached_handler for ebase " Jiaxun Yang
2023-10-25  2:48   ` kernel test robot
2023-10-23 19:13 ` [PATCH 4/5] MIPS: Handle mips_cps_core_entry within lower 4G Jiaxun Yang
2023-10-23 19:14 ` [PATCH 5/5] MIPS: Allow kernel base to be set from Kconfig for all platforms Jiaxun Yang
2023-10-25 18:09 ` [PATCH 0/5] MIPS: Fix kernel in XKPHYS Florian Fainelli
     [not found] ` <875y2s81lx.fsf@BL-laptop>
2023-10-27 20:47   ` Jiaxun Yang

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).