linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Boot RISC-V kernel from any 4KB aligned address
@ 2019-03-12 22:08 Anup Patel
  2019-03-12 22:08 ` [PATCH 1/3] RISC-V: Add separate defconfig for 32bit systems Anup Patel
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Anup Patel @ 2019-03-12 22:08 UTC (permalink / raw)
  To: Palmer Dabbelt, Albert Ou
  Cc: Anup Patel, linux-kernel, Mike Rapoport, Christoph Hellwig,
	Atish Patra, Paul Walmsley, linux-riscv

From: Anup Patel <anup@brainfault.org>

This patchset primarily extends initial page table setup using fixmap
to boot Linux RISC-V kernel (64bit and 32bit) from any 4KB aligned address.
We also add 32bit defconfig to allow people to try 32bit Linux RISC-V
kernel as well.

The patchset is tested on SiFive Unleashed board and QEMU virt machine.

It can also be found in riscv_setup_vm_v1 branch of
https//github.com/avpatel/linux.git

Anup Patel (3):
  RISC-V: Add separate defconfig for 32bit systems
  RISC-V: Make setup_vm() independent of GCC code model
  RISC-V: Allow booting kernel from any 4KB aligned address

 arch/riscv/configs/rv32_defconfig   |  84 +++++++
 arch/riscv/include/asm/fixmap.h     |   5 +
 arch/riscv/include/asm/pgtable-64.h |   5 +
 arch/riscv/include/asm/pgtable.h    |   6 +-
 arch/riscv/kernel/head.S            |   2 +
 arch/riscv/kernel/setup.c           |   4 +-
 arch/riscv/mm/init.c                | 370 +++++++++++++++++++++++-----
 7 files changed, 419 insertions(+), 57 deletions(-)
 create mode 100644 arch/riscv/configs/rv32_defconfig

-- 
2.17.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2019-04-10 17:13 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 22:08 [PATCH 0/3] Boot RISC-V kernel from any 4KB aligned address Anup Patel
2019-03-12 22:08 ` [PATCH 1/3] RISC-V: Add separate defconfig for 32bit systems Anup Patel
2019-04-09 16:44   ` Palmer Dabbelt
2019-04-10  6:09     ` Anup Patel
2019-04-10 17:13       ` Palmer Dabbelt
2019-03-12 22:08 ` [PATCH 2/3] RISC-V: Make setup_vm() independent of GCC code model Anup Patel
2019-03-13 18:15   ` Mike Rapoport
2019-04-09 16:47   ` Palmer Dabbelt
2019-04-10  4:10     ` Anup Patel
2019-03-12 22:08 ` [PATCH 3/3] RISC-V: Allow booting kernel from any 4KB aligned address Anup Patel
2019-03-13 18:31   ` Mike Rapoport
2019-03-13 21:06     ` Anup Patel
2019-03-14  6:53       ` Mike Rapoport
2019-03-14 17:58         ` Anup Patel
2019-03-15 15:58           ` Mike Rapoport
2019-03-15 16:17             ` Anup Patel
2019-03-15 16:22             ` Anup Patel
2019-03-15 23:25               ` Anup Patel
2019-03-18  7:18                 ` Mike Rapoport
2019-03-18 13:16                   ` Anup Patel
2019-03-18 16:27                     ` Mike Rapoport
2019-03-18 16:12                   ` Paul Walmsley
2019-04-10 12:45   ` Nick Kossifidis

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