All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Teddy Astie" <teddy.astie@vates.tech>
To: "Milan Djokic" <milandjokic1995@gmail.com>,
	linux-riscv@lists.infradead.org
Cc: paul.walmsley@sifive.com, palmer@dabbelt.com,
	aou@eecs.berkeley.edu, jgross@suse.com, sstabellini@kernel.org,
	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: Tue, 14 Jan 2025 17:51:54 +0000	[thread overview]
Message-ID: <0cac0b13-128c-4d8b-b235-09d7b440ad8e@vates.tech> (raw)
In-Reply-To: <e4a649a7fdfc8fcf5f48a0bc4e76e5d546078083.1736868605.git.Slavisa.Petrovic@rt-rk.com>

Le 14/01/2025 à 17:13, Milan Djokic a écrit :
> diff --git a/test.txt b/test.txt
> new file mode 100644
> index 000000000000..e54267998982
> --- /dev/null
> +++ b/test.txt
> @@ -0,0 +1,21 @@
> +WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> +#120:
> +new file mode 100644
> +
> +WARNING: do not add new typedefs
> +#808: FILE: include/xen/riscv/interface.h:15:
> ++	typedef struct { union { type * p; uint64_aligned_t q; }; }  \
> +
> +WARNING: please, no spaces at the start of a line
> +#1006: FILE: include/xen/riscv/swiotlb-xen.h:10:
> ++    return 0;$
> +
> +total: 0 errors, 3 warnings, 810 lines checked
> +
> +NOTE: For some of the reported defects, checkpatch may be able to
> +      mechanically convert to the typical style using --fix or --fix-inplace.
> +
> +0001-riscv-Add-initial-Xen-guest-support-for-RISC-V.patch has style problems, please review.
> +
> +NOTE: If any of the errors are false positives, please report
> +      them to the maintainer, see CHECKPATCH in MAINTAINERS.

I am not sure you want this here.

 > diff --git a/arch/riscv/include/asm/hypervisor.h
b/arch/riscv/include/> asm/hypervisor.h
 > new file mode 100644
 > index 000000000000..3a117afe57f0
 > --- /dev/null
 > +++ b/arch/riscv/include/asm/hypervisor.h
 > @@ -0,0 +1,9 @@
 > +/* SPDX-License-Identifier: GPL-2.0 */
 > +#ifndef _ASM_RISCV_HYPERVISOR_H
 > +#define _ASM_RISCV_HYPERVISOR_H
 > +
 > +#include <asm/xen/hypervisor.h>
 > +
 > +void kvm_init_hyp_services(void);
 > +
 > +#endif

kvm_init_hyp_services seems KVM-specific and doesn't seem to exist (yet)
for RISC-V.

Teddy


Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech


WARNING: multiple messages have this Message-ID (diff)
From: "Teddy Astie" <teddy.astie@vates.tech>
To: "Milan Djokic" <milandjokic1995@gmail.com>,
	linux-riscv@lists.infradead.org
Cc: jgross@suse.com, aou@eecs.berkeley.edu, Milan.Djokic@rt-rk.com,
	rafael.j.wysocki@intel.com, linux-kernel@vger.kernel.org,
	oleksandr_tyshchenko@epam.com, iommu@lists.linux.dev,
	sstabellini@kernel.org, palmer@dabbelt.com,
	paul.walmsley@sifive.com, xen-devel@lists.xenproject.org,
	Slavisa.Petrovic@rt-rk.com, takakura@valinux.co.jp
Subject: Re: [PATCH] riscv: Add initial Xen guest support for RISC-V
Date: Tue, 14 Jan 2025 17:51:54 +0000	[thread overview]
Message-ID: <0cac0b13-128c-4d8b-b235-09d7b440ad8e@vates.tech> (raw)
In-Reply-To: <e4a649a7fdfc8fcf5f48a0bc4e76e5d546078083.1736868605.git.Slavisa.Petrovic@rt-rk.com>

Le 14/01/2025 à 17:13, Milan Djokic a écrit :
> diff --git a/test.txt b/test.txt
> new file mode 100644
> index 000000000000..e54267998982
> --- /dev/null
> +++ b/test.txt
> @@ -0,0 +1,21 @@
> +WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> +#120:
> +new file mode 100644
> +
> +WARNING: do not add new typedefs
> +#808: FILE: include/xen/riscv/interface.h:15:
> ++	typedef struct { union { type * p; uint64_aligned_t q; }; }  \
> +
> +WARNING: please, no spaces at the start of a line
> +#1006: FILE: include/xen/riscv/swiotlb-xen.h:10:
> ++    return 0;$
> +
> +total: 0 errors, 3 warnings, 810 lines checked
> +
> +NOTE: For some of the reported defects, checkpatch may be able to
> +      mechanically convert to the typical style using --fix or --fix-inplace.
> +
> +0001-riscv-Add-initial-Xen-guest-support-for-RISC-V.patch has style problems, please review.
> +
> +NOTE: If any of the errors are false positives, please report
> +      them to the maintainer, see CHECKPATCH in MAINTAINERS.

I am not sure you want this here.

 > diff --git a/arch/riscv/include/asm/hypervisor.h 
b/arch/riscv/include/> asm/hypervisor.h
 > new file mode 100644
 > index 000000000000..3a117afe57f0
 > --- /dev/null
 > +++ b/arch/riscv/include/asm/hypervisor.h
 > @@ -0,0 +1,9 @@
 > +/* SPDX-License-Identifier: GPL-2.0 */
 > +#ifndef _ASM_RISCV_HYPERVISOR_H
 > +#define _ASM_RISCV_HYPERVISOR_H
 > +
 > +#include <asm/xen/hypervisor.h>
 > +
 > +void kvm_init_hyp_services(void);
 > +
 > +#endif

kvm_init_hyp_services seems KVM-specific and doesn't seem to exist (yet) 
for RISC-V.

Teddy


Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech


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

  parent reply	other threads:[~2025-01-14 17:51 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 [this message]
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
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=0cac0b13-128c-4d8b-b235-09d7b440ad8e@vates.tech \
    --to=teddy.astie@vates.tech \
    --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.