All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Oleksii Kurochko <oleksii.kurochko@gmail.com>,
	Alistair Francis <alistair.francis@wdc.com>,
	Bob Eshleman <bobbyeshleman@gmail.com>,
	Connor Davis <connojdavis@gmail.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>
Subject: [PATCH v4 0/7] RISCV device tree mapping
Date: Fri,  9 Aug 2024 18:19:38 +0200	[thread overview]
Message-ID: <cover.1723214540.git.oleksii.kurochko@gmail.com> (raw)

Current patch series introduces device tree mapping for RISC-V
and necessary things for that such as:
- Fixmap mapping
- pmap
- Xen page table processing

Also there is another one depenency:
RISCV basic exception handling implementation [2]

[2] https://lore.kernel.org/xen-devel/cover.1722960083.git.oleksii.kurochko@gmail.com/T/#t

---
Changes in v4:
 - Drop depedency from common devicre tree patch series as it was merged to
   staging.
 - Update the cover letter message.
 - All other changes are patch specific so please look at the patch.
---
Changes in v3:
 - Introduce SBI RFENCE extension support.
 - Introduce and initialize pcpu_info[] and __cpuid_to_hartid_map[] and functionality
   to work with this arrays.
 - Make page table handling arch specific instead of trying to make it generic.
 - All other changes are patch specific so please look at the patch.
---
Changes in v2:
 - Update the cover letter message
 - introduce fixmap mapping
 - introduce pmap
 - introduce CONFIG_GENREIC_PT
 - update use early_fdt_map() after MMU is enabled.
---

Oleksii Kurochko (7):
  xen/riscv: enable CONFIG_HAS_DEVICE_TREE
  xen/riscv: set up fixmap mappings
  xen/riscv: introduce asm/pmap.h header
  xen/riscv: introduce functionality to work with CPU info
  xen/riscv: introduce and initialize SBI RFENCE extension
  xen/riscv: page table handling
  xen/riscv: introduce early_fdt_map()

 xen/arch/riscv/Kconfig                      |   2 +
 xen/arch/riscv/Makefile                     |   3 +
 xen/arch/riscv/include/asm/config.h         |   8 +
 xen/arch/riscv/include/asm/fixmap.h         |  44 +++
 xen/arch/riscv/include/asm/flushtlb.h       |  19 +
 xen/arch/riscv/include/asm/mm.h             |   6 +
 xen/arch/riscv/include/asm/page.h           |  88 +++++
 xen/arch/riscv/include/asm/pmap.h           |  36 ++
 xen/arch/riscv/include/asm/processor.h      |  28 +-
 xen/arch/riscv/include/asm/riscv_encoding.h |   1 +
 xen/arch/riscv/include/asm/sbi.h            |  64 +++
 xen/arch/riscv/include/asm/smp.h            |  10 +
 xen/arch/riscv/mm.c                         | 101 ++++-
 xen/arch/riscv/pt.c                         | 408 ++++++++++++++++++++
 xen/arch/riscv/sbi.c                        | 252 +++++++++++-
 xen/arch/riscv/setup.c                      |  26 ++
 xen/arch/riscv/smp.c                        |   4 +
 xen/arch/riscv/smpboot.c                    |  12 +
 xen/arch/riscv/xen.lds.S                    |   2 +-
 19 files changed, 1104 insertions(+), 10 deletions(-)
 create mode 100644 xen/arch/riscv/include/asm/fixmap.h
 create mode 100644 xen/arch/riscv/include/asm/pmap.h
 create mode 100644 xen/arch/riscv/pt.c
 create mode 100644 xen/arch/riscv/smp.c
 create mode 100644 xen/arch/riscv/smpboot.c

-- 
2.45.2



             reply	other threads:[~2024-08-09 16:20 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09 16:19 Oleksii Kurochko [this message]
2024-08-09 16:19 ` [PATCH v4 1/7] xen/riscv: enable CONFIG_HAS_DEVICE_TREE Oleksii Kurochko
2024-08-09 16:19 ` [PATCH v4 2/7] xen/riscv: set up fixmap mappings Oleksii Kurochko
2024-08-13  8:22   ` Jan Beulich
2024-08-14 14:21     ` oleksii.kurochko
2024-08-14 15:08       ` Jan Beulich
2024-08-15  8:16         ` oleksii.kurochko
2024-08-09 16:19 ` [PATCH v4 3/7] xen/riscv: introduce asm/pmap.h header Oleksii Kurochko
2024-08-13  8:41   ` Jan Beulich
2024-08-09 16:19 ` [PATCH v4 4/7] xen/riscv: introduce functionality to work with CPU info Oleksii Kurochko
2024-08-13  8:54   ` Jan Beulich
2024-08-14 14:45     ` oleksii.kurochko
2024-08-14 15:22       ` Jan Beulich
2024-08-15  8:55         ` oleksii.kurochko
2024-08-15  9:02           ` Jan Beulich
2024-08-15 13:29             ` oleksii.kurochko
2024-08-15 15:24               ` Jan Beulich
2024-08-09 16:19 ` [PATCH v4 5/7] xen/riscv: introduce and initialize SBI RFENCE extension Oleksii Kurochko
2024-08-13  9:34   ` Jan Beulich
2024-08-14 15:41     ` oleksii.kurochko
2024-08-14 15:53       ` Jan Beulich
2024-08-15 10:00         ` oleksii.kurochko
2024-08-15 10:32           ` Jan Beulich
2024-08-16 12:06     ` oleksii.kurochko
2024-08-16 12:32       ` Jan Beulich
2024-08-09 16:19 ` [PATCH v4 6/7] xen/riscv: page table handling Oleksii Kurochko
2024-08-13 10:31   ` Jan Beulich
2024-08-14 16:50     ` oleksii.kurochko
2024-08-15  8:09       ` Jan Beulich
2024-08-15 11:21         ` oleksii.kurochko
2024-08-15 12:16           ` Jan Beulich
2024-08-15 13:34             ` oleksii.kurochko
2024-08-15 15:26               ` Jan Beulich
2024-08-16  9:09                 ` oleksii.kurochko
2024-08-20 13:18     ` oleksii.kurochko
2024-08-20 13:47       ` Jan Beulich
2024-08-20 14:42         ` oleksii.kurochko
2024-08-20 16:30           ` Jan Beulich
2024-08-09 16:19 ` [PATCH v4 7/7] xen/riscv: introduce early_fdt_map() Oleksii Kurochko

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=cover.1723214540.git.oleksii.kurochko@gmail.com \
    --to=oleksii.kurochko@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bobbyeshleman@gmail.com \
    --cc=connojdavis@gmail.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.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.