All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: Stefano Stabellini <sstabellini@kernel.org>,
	Milan Djokic <milandjokic1995@gmail.com>
Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com,
	palmer@dabbelt.com, aou@eecs.berkeley.edu, jgross@suse.com,
	oleksandr_tyshchenko@epam.com, Slavisa.Petrovic@rt-rk.com,
	Milan.Djokic@rt-rk.com, rafael.j.wysocki@intel.com,
	sunilvl@ventanamicro.com, takakura@valinux.co.jp,
	linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
	iommu@lists.linux.dev
Subject: Re: [PATCH] riscv: Add initial Xen guest support for RISC-V
Date: Wed, 15 Jan 2025 17:30:57 +0100	[thread overview]
Message-ID: <2f1432e6-0d27-48fd-b034-475284f14233@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2501141554170.2684657@ubuntu-linux-20-04-desktop>

[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]

Hi Stefano,

On 1/15/25 1:01 AM, Stefano Stabellini wrote:
> +Oleksii
>
> On Tue, 14 Jan 2025, Milan Djokic wrote:
>> From: Slavisa Petrovic<Slavisa.Petrovic@rt-rk.com>
>>
>> This patch introduces initial support for running RISC-V as a Xen guest.
>> It provides the necessary infrastructure and stubs for Xen-specific
>> operations. Key changes include:
>>
>> - Modifications to the RISC-V kernel to integrate Xen-specific hypercalls
>>    and interfaces, with function implementations stubbed for future work.
>> - Introduction of Xen-specific headers for RISC-V, including event
>>    handling, hypervisor interaction, and page management. Functions are
>>    defined but not yet implemented.
>> - Stub implementations for memory management, grant tables, and context
>>    switching in the Xen environment, allowing further development and
>>    integration.
>>
>> Signed-off-by: Milan Djokic<Milan.Djokic@rt-rk.com>
>> Signed-off-by: Slavisa Petrovic<Slavisa.Petrovic@rt-rk.com>
> Hi Milan, Slavisa,
>
> Thank you very much for your contribution! Which Xen tree are you using
> for development?

They are using [1] and have separate branches on top of latest. So we are in
sync. Also, if you are interested we have created a task/epics for this feature in
[1] so you could also check there some details:
1.https://gitlab.com/groups/xen-project/people/olkur/-/epics/5
2.https://gitlab.com/xen-project/people/olkur/xen/-/issues/12

>   I am asking because RISC-V support in Xen is still in
> the process of being upstreamed, and [1] is the tree that consolidates
> all patches currently on the to-be-upstreamed list.
>
> While the specific Xen tree you are using is not particularly important
> at this stage, and using [1] is not a requirement, I am asking because
> it is essential to align on the hypervisor ABI, especially regarding any
> details that have not yet been upstreamed. Specifically, is there
> anything in this patch series that relies on features not yet upstream
> in Xen?

There are few features but some things which are Rt-Tk's branch in [1] could go
without waiting for these features to be upstreamed.

Thanks.

~ Oleksii

>
> [1]https://gitlab.com/xen-project/people/olkur/xen/-/tree/latest?ref_type=heads

[-- Attachment #2: Type: text/html, Size: 3647 bytes --]

  reply	other threads:[~2025-01-15 16:31 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 16:09 [PATCH] riscv: Add initial Xen guest support for RISC-V Milan Djokic
2025-01-14 16:09 ` Milan Djokic
2025-01-14 16:40 ` Anup Patel
2025-01-14 16:40   ` Anup Patel
2025-01-15 18:08   ` Milan Đokić
2025-01-15 18:08     ` Milan Đokić
2025-01-14 17:51 ` Teddy Astie
2025-01-14 17:51   ` Teddy Astie
2025-01-15 18:26   ` Milan Đokić
2025-01-15 18:26     ` Milan Đokić
2025-01-14 18:18 ` Andrew Jones
2025-01-14 18:18   ` Andrew Jones
2025-01-15 19:04   ` Milan Đokić
2025-01-15 19:04     ` Milan Đokić
2025-01-16  8:51     ` Andrew Jones
2025-01-16  8:51       ` Andrew Jones
2025-01-16 10:22       ` Radim Krčmář
2025-01-16 10:22         ` Radim Krčmář
2025-01-16 20:47         ` Milan Đokić
2025-01-16 20:47           ` Milan Đokić
2025-01-15  0:01 ` Stefano Stabellini
2025-01-15  0:01   ` Stefano Stabellini
2025-01-15 16:30   ` Oleksii Kurochko [this message]
2025-01-15 19:20     ` Milan Đokić
2025-01-15 19:20       ` Milan Đokić
2025-01-15 21:14       ` [PATCH] riscv: Add initial Xen guest support for RISC-Vgh Stefano Stabellini
2025-01-15 21:14         ` Stefano Stabellini
2025-01-16 20:42         ` Milan Đokić
2025-01-16 20:42           ` Milan Đokić
2025-01-16 21:07           ` Stefano Stabellini
2025-01-16 21:07             ` Stefano Stabellini

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=2f1432e6-0d27-48fd-b034-475284f14233@gmail.com \
    --to=oleksii.kurochko@gmail.com \
    --cc=Milan.Djokic@rt-rk.com \
    --cc=Slavisa.Petrovic@rt-rk.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=iommu@lists.linux.dev \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=milandjokic1995@gmail.com \
    --cc=oleksandr_tyshchenko@epam.com \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=sstabellini@kernel.org \
    --cc=sunilvl@ventanamicro.com \
    --cc=takakura@valinux.co.jp \
    --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.