The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/cpufeature.h | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 xen/include/asm-generic/cpufeature.h
diff --git a/xen/include/asm-generic
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
Reviewed-by: Anthony PERARD
Acked-by: Jan Beulich
---
Changes in V7:
- update warning message in Makefile.asm-generic
- add Reviewed-by: Anthony PERARD
- add Acked-by: Jan Beulich
---
Changes in V6:
- introduce $(asm-generic) macro in Kbui
clude/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
.gitignore | 1 +
xen/Makefile| 9 +++-
xen/arch/arm/include/asm/Makefile | 2 +
xen/arch/a
vent.h was moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
Acked-by: Tamas K Lengyel
---
Changes in V7:
- update guards in asm-generic/vm_event.h.
- add Acked-by: Tamas K Lengyel
---
C
On Thu, 2023-09-07 at 10:53 -0400, Tamas K Lengyel wrote:
> On Thu, Sep 7, 2023 at 9:46 AM Oleksii
> wrote:
> >
> > On Thu, 2023-09-07 at 11:59 +0200, Jan Beulich wrote:
> > > On 07.09.2023 11:32, Oleksii Kurochko wrote:
> > > > --- /dev/null
> >
Hello Bobby and Alistair,
Could you kindly take a moment to examine this series of patches?
Your input would be highly valued.
Thanks in advance.
~ Oleksii
On Tue, 2023-08-08 at 18:14 +0300, Oleksii Kurochko wrote:
> The patch series introduces things necessary to implement identity
> m
On Thu, 2023-09-07 at 15:56 +0200, Jan Beulich wrote:
> On 07.09.2023 15:45, Oleksii wrote:
> > On Thu, 2023-09-07 at 12:48 +0200, Jan Beulich wrote:
> > > On 07.09.2023 11:32, Oleksii Kurochko wrote:
> > > > --- /dev/null
> > > > +++ b/xen/scripts/
On Thu, 2023-09-07 at 11:59 +0200, Jan Beulich wrote:
> On 07.09.2023 11:32, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/vm_event.h
> > @@ -0,0 +1,55 @@
> > +/* SPDX-License-Identifier: GPL-2.0-only */
> > +/*
> > + * vm_e
On Thu, 2023-09-07 at 12:48 +0200, Jan Beulich wrote:
> On 07.09.2023 11:32, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/scripts/Makefile.asm-generic
> > @@ -0,0 +1,53 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
> > +# include/asm-generic cont
On Thu, 2023-09-07 at 11:08 +0100, Anthony PERARD wrote:
> On Thu, Sep 07, 2023 at 12:32:56PM +0300, Oleksii Kurochko wrote:
> > diff --git a/xen/scripts/Makefile.asm-generic
> > b/xen/scripts/Makefile.asm-generic
> > new file mode 100644
> > index 00..9
message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
.gitignore | 1 +
xen/Makefile| 9 +++-
xen/arch/arm/include/asm/M
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
---
Changes in V6:
- introduce $(asm-generic) macro in Kbuild.include.
- move "asm-generic" after the rule "__distclean".
---
Changes in V5:
- Update the commit message
- Update SPDX license in Makefile.
- Remove code r
vent.h was moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
---
Changes in V6:
- update the commit message.
---
Changes in V5:
- Update the commit message
- Remove Acked-by:...
- Switch
Hi all,
Missed the comment (https://lore.kernel.org/xen-
devel/a526c0b285d94550e59a8968786b28d266afba58.ca...@gmail.com/T/#m99a4
dc8280439e84021c4e0546dc9ff539a60191 ) of Anthony so I'll sent a new
one patch series tomorrow.
Sorry for inconvenience.
~ Oleksii
On Wed, 2023-09-06 at 16:57 +0100, Anthony PERARD wrote:
> On Fri, Sep 01, 2023 at 07:02:14PM +0300, Oleksii Kurochko wrote:
> > diff --git a/xen/Makefile b/xen/Makefile
> > index f57e5a596c..698d6ddeb8 100644
> > --- a/xen/Makefile
> > +++ b/xen/Makefile
> > @@ -
as moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
---
Changes in V5:
- Update the commit message
- Remove Acked-by:...
- Switch ARM to use asm-generic/vm_event.h
---
Changes in V4:
- update
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
---
Changes in V5:
- Update the commit message
- Update SPDX license in Makefile.
- Remove code related to UML
- Include $(src)/Makefile instead of $(kbuild-file)
- Update comment message in Makefile.asm-generic
- Update .gitignore
- U
sm-generic.
- rename stubs dir to asm-generic.
---
Changes in V2:
- change public/domctl.h to public/vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.
On Wed, 2023-09-06 at 16:06 +0100, Anthony PERARD wrote:
> On Wed, Sep 06, 2023 at 02:40:29PM +0200, Jan Beulich wrote:
> > On 06.09.2023 14:28, Oleksii wrote:
> > > On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote:
> > > > You've removed quite a b
On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote:
> On 01.09.2023 18:02, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/scripts/Makefile.asm-generic
> > @@ -0,0 +1,23 @@
> > +# SPDX-License-Identifier: GPL-2.0
>
> While this is what the Linux fi
se: ( out-of-tree )
$ CONTAINER_NO_PULL=1 CONTAINER=riscv64
./automation/scripts/containerize make O=xen_build
XEN_TARGET_ARCH=riscv64 -C xen build V=1
$ ls -la xen/xen_build/arch/riscv/include/generated/asm/vm_event.h
-rw-r--r--. 1 ok ok 34 вер 6 14:34
xen/xen_build/arch/riscv/include/generated/asm/vm_event.h
Could you please clarify if there's somithing I might have overlooked?
~ Oleksii
On Tue, 2023-09-05 at 14:10 +, Bertrand Marquis wrote:
> Hi Oleksii,
>
> > On 5 Sep 2023, at 15:37, Oleksii
> > wrote:
> >
> > Hi Bertrand,
> >
> > On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote:
> > > Hi Oleksii,
>
Hi Bertrand,
On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote:
> Hi Oleksii,
>
> > On 1 Sep 2023, at 18:02, Oleksii Kurochko
> > wrote:
> >
> > Some headers are shared between individual architectures or are
> > empty.
> > To avoid
On Mon, 2023-09-04 at 08:54 +0200, Jan Beulich wrote:
> On 01.09.2023 18:02, Oleksii Kurochko wrote:
> > asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> > asm-generic dir.
> >
> > Original asm/vm_event.h from ARM was updated:
> > * use SPDX-
On Mon, 2023-09-04 at 08:53 +0200, Jan Beulich wrote:
> On 01.09.2023 19:14, Oleksii Kurochko wrote:
> > The change which adds generic-y += vm_event.h to ARM's Kbuild was
> > lost
> > during creation of the patch. Should be added in the next patch
> > version
>
&g
The change which adds generic-y += vm_event.h to ARM's Kbuild was lost
during creation of the patch. Should be added in the next patch version
On Fri, Sep 1, 2023, 18:02 Oleksii Kurochko
wrote:
> asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> asm-generic dir.
>
&
to
arch/$(ARCH)/include/asm/Kbuild :
generic-y +=
For each mentioned header in arch/$(ARCH)/include/asm/Kbuild,
kbuild will generate the necessary wrapper in
arch/$(ARCH)/include/generated/asm.
Signed-off-by: Oleksii Kurochko
---
Changes in V4:
- introduce asm-generic support
- update
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
asm-generic dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
xen/Makefile | 10 +-
xen/arch/arm/include/asm/Kbuild| 1 +
xe
On Thu, 2023-08-31 at 11:46 +0200, Jan Beulich wrote:
> On 30.08.2023 18:57, Oleksii Kurochko wrote:
> > asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> > asm-generic dir.
> >
> > Original asm/vm_event.h from ARM was updated:
> > * use SPDX-
On Thu, 2023-08-31 at 11:46 +0200, Jan Beulich wrote:
> On 30.08.2023 18:57, Oleksii Kurochko wrote:
> > asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> > asm-generic dir.
> >
> > Original asm/vm_event.h from ARM was updated:
> > * use SPDX-
o asm-generic"
- update SPDX tag.
- move asm/vm_event.h to asm-generic.
- rename stubs dir to asm-generic.
---
Changes in V2:
- change public/domctl.h to public/vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xe
asm-generic dir will contain empty/stubs generic for all architectures.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Rename stubs dir to asm-generic
---
Changes in V2:
- Nothing changed.
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
asm-generic dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
On Wed, 2023-08-30 at 09:30 +0200, Jan Beulich wrote:
> On 29.08.2023 16:34, Oleksii Kurochko wrote:
> > --- a/xen/Makefile
> > +++ b/xen/Makefile
> > @@ -438,6 +438,7 @@ ifdef building_out_of_srctree
> > endif
> > CFLAGS += -I$(srctree)/include
> >
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
stubs dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
stubs dir will contain empty/stubs generic for all architectures
headers.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed.
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
index f57e5a596c..64c3542c84 100644
--- a/xen
: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: add stubs dir to include path
xen: move arm/include/asm/vm_event.h to stubs
xen/Makefile| 1 +
xen/arch/arm/include/asm/vm_event.h | 66 -
xen/include/stubs/asm/vm_event.h
On Mon, 2023-08-28 at 18:05 +0200, Jan Beulich wrote:
> On 28.08.2023 17:57, Oleksii Kurochko wrote:
> > asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> > stubs dir.
> >
> > Original asm/vm_event.h from ARM was updated:
> > * use SPDX-
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
stubs dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef
Signed-off-by: Oleksii Kurochko
---
xen/arch/arm/include/asm/vm_event.h | 66
/a92f99e8f697da99d77bfde562a549dbef3760ce.1692816595.git.sanasta...@raptorengineering.com/
As part of the patch series, asm/vm_event.h was moved to the stubs directory
because
It is the same for ARM, PPC, and RISC-V.
Oleksii Kurochko (2):
xen: add stubs dir to include path
xen: move arm/include/asm/vm_event.h to stubs
stubs dir will contain empty/stubs generic for all architectures
headers.
Signed-off-by: Oleksii Kurochko
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
index f57e5a596c..64c3542c84 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -438,6 +438,7
On Wed, 2023-08-16 at 13:20 +0300, Oleksii Kurochko wrote:
> These changes are needed only to make GitLab CI happy is it doesn't
> take into account tiny64_defconfig where unnecessary configs are
> disabled.
>
> I tried different approaches to deal with it:
> 1. Overrid
On Mon, 2023-08-21 at 18:43 +0200, Tamas K Lengyel wrote:
> On Wed, Aug 16, 2023 at 12:30 PM Oleksii Kurochko
> wrote:
> >
> > Signed-off-by: Oleksii Kurochko
> > ---
> > xen/arch/riscv/include/asm/vm_event.h | 52
> > ++
t; the
> change as an intermediate step.
Thanks for notifying me.
I'll check your patch.
~ Oleksii
Hello Alistair and Bobby,
Could you please review this patch series when you have a moment? Your
insights would be greatly appreciated.
Thanks in advance.
~ Oleksii
On Tue, 2023-08-08 at 18:14 +0300, Oleksii Kurochko wrote:
> The patch series introduces things necessary to implement ident
On Thu, 2023-08-17 at 17:00 +0200, Jan Beulich wrote:
> On 16.08.2023 12:19, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/public/arch-riscv.h
> > @@ -0,0 +1,90 @@
> > +/* SPDX-License-Identifier: GPL-2.0-or-later */
> > +/*
> &g
On Wed, 2023-08-16 at 15:39 +0200, Jan Beulich wrote:
> On 11.08.2023 17:30, Oleksii Kurochko wrote:
> > @@ -1555,6 +1566,9 @@ static bool __init parse_positional(struct
> > ns16550 *uart, char **str)
> > }
> > else
> > #endif
> > +
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/Makefile| 1 +
xen/arch/riscv/lib/Makefile| 1 +
xen/arch/riscv/lib/find_next_bit.c | 278 +
3 files changed, 280 insertions(+)
create mode 100644 xen/arch/riscv/lib/Makefile
create mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/irq.h | 34
1 file changed, 34 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/irq.h
diff --git a/xen/arch/riscv/include/asm/irq.h b/xen/arch/riscv/include/asm/irq.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/cache.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/riscv/include/asm/cache.h
b/xen/arch/riscv/include/asm/cache.h
index 69573eb051..94bd94db53 100644
--- a/xen/arch/riscv/include/asm/cache.h
+++ b/xen/arch/riscv
Also the patchs adds some helpful macros.
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/config.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/xen/arch/riscv/include/asm/config.h
b/xen/arch/riscv/include/asm/config.h
index fa90ae0898..63ddcae1f9
:
CONFIG_1=n
CONFIG_2=n
...
2. Override in arch-specific KConfig:
CONFIG_1:
default n
Each option doesn't work for me fully.
Could you please suggest other options or more correct way?
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/asm_defns.h | 44
Signed-off-by: Oleksii Kurochko
---
automation/gitlab-ci/analyze.yaml | 16 -
automation/gitlab-ci/build.yaml | 544 --
automation/gitlab-ci/test.yaml| 308 -
3 files changed, 868 deletions(-)
diff --git a/automation/gitlab-ci/analyze.yaml
b
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/numa.h | 38 +++
1 file changed, 38 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/numa.h
diff --git a/xen/arch/riscv/include/asm/numa.h
b/xen/arch/riscv/include/asm/numa.h
new file mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/regs.h | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/regs.h
diff --git a/xen/arch/riscv/include/asm/regs.h
b/xen/arch/riscv/include/asm/regs.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/system.h | 83 +
1 file changed, 83 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/system.h
diff --git a/xen/arch/riscv/include/asm/system.h
b/xen/arch/riscv/include/asm/system.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/softirq.h | 16
1 file changed, 16 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/softirq.h
diff --git a/xen/arch/riscv/include/asm/softirq.h
b/xen/arch/riscv/include/asm/softirq.h
new file mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/time.h | 20
1 file changed, 20 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/time.h
diff --git a/xen/arch/riscv/include/asm/time.h
b/xen/arch/riscv/include/asm/time.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/mm.h | 265 +++-
1 file changed, 263 insertions(+), 2 deletions(-)
diff --git a/xen/arch/riscv/include/asm/mm.h b/xen/arch/riscv/include/asm/mm.h
index 5e3ac5cde3..1d464afec9 100644
--- a/xen/arch/riscv
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/div64.h | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/div64.h
diff --git a/xen/arch/riscv/include/asm/div64.h
b/xen/arch/riscv/include/asm/div64.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/smp.h | 20
1 file changed, 20 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/smp.h
diff --git a/xen/arch/riscv/include/asm/smp.h b/xen/arch/riscv/include/asm/smp.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/flushtlb.h | 31 +++
1 file changed, 31 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/flushtlb.h
diff --git a/xen/arch/riscv/include/asm/flushtlb.h
b/xen/arch/riscv/include/asm/flushtlb.h
new
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/setup.h | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/setup.h
diff --git a/xen/arch/riscv/include/asm/setup.h
b/xen/arch/riscv/include/asm/setup.h
new file mode 100644
index 00
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/xenoprof.h | 4
1 file changed, 4 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/xenoprof.h
diff --git a/xen/arch/riscv/include/asm/xenoprof.h
b/xen/arch/riscv/include/asm/xenoprof.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/xenoprof.h | 4
1 file changed, 4 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/xenoprof.h
diff --git a/xen/arch/riscv/include/asm/xenoprof.h
b/xen/arch/riscv/include/asm/xenoprof.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/xen.lds.S | 10 ++
1 file changed, 10 insertions(+)
diff --git a/xen/arch/riscv/xen.lds.S b/xen/arch/riscv/xen.lds.S
index 9064852173..aa42d3d17b 100644
--- a/xen/arch/riscv/xen.lds.S
+++ b/xen/arch/riscv/xen.lds.S
@@ -40,6 +40,16
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/atomic.h | 375
1 file changed, 375 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/atomic.h
diff --git a/xen/arch/riscv/include/asm/atomic.h
b/xen/arch/riscv/include/asm/atomic.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/altp2m.h | 28
1 file changed, 28 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/altp2m.h
diff --git a/xen/arch/riscv/include/asm/altp2m.h
b/xen/arch/riscv/include/asm/altp2m.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/io.h | 132
1 file changed, 132 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/io.h
diff --git a/xen/arch/riscv/include/asm/io.h b/xen/arch/riscv/include/asm/io.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/delay.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/delay.h
diff --git a/xen/arch/riscv/include/asm/delay.h
b/xen/arch/riscv/include/asm/delay.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/hardirq.h | 26 ++
1 file changed, 26 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/hardirq.h
diff --git a/xen/arch/riscv/include/asm/hardirq.h
b/xen/arch/riscv/include/asm/hardirq.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/Makefile | 16 +++-
xen/arch/riscv/arch.mk | 4
xen/arch/riscv/configs/tiny64_defconfig | 19 ++-
xen/arch/riscv/stubs.c | 18 --
4 files changed
Signed-off-by: Oleksii Kurochko
---
xen/include/public/pmu.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/include/public/pmu.h b/xen/include/public/pmu.h
index eb87a81e7b..801912900b 100644
--- a/xen/include/public/pmu.h
+++ b/xen/include/public/pmu.h
@@ -11,6 +11,8 @@
#include
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/percpu.h | 33 +
1 file changed, 33 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/percpu.h
diff --git a/xen/arch/riscv/include/asm/percpu.h
b/xen/arch/riscv/include/asm/percpu.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/processor.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/xen/arch/riscv/include/asm/processor.h
b/xen/arch/riscv/include/asm/processor.h
index 6db681d805..b6218a00a7 100644
--- a/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/hardirq.h | 26 ++
1 file changed, 26 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/hardirq.h
diff --git a/xen/arch/riscv/include/asm/hardirq.h
b/xen/arch/riscv/include/asm/hardirq.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/smp.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xen/arch/riscv/include/asm/smp.h b/xen/arch/riscv/include/asm/smp.h
index cc8dd18254..a7b4f94ce4 100644
--- a/xen/arch/riscv/include/asm/smp.h
+++ b/xen/arch/riscv/include
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/guest_access.h | 29 +++
1 file changed, 29 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/guest_access.h
diff --git a/xen/arch/riscv/include/asm/guest_access.h
b/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/regs.h | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/regs.h
diff --git a/xen/arch/riscv/include/asm/regs.h
b/xen/arch/riscv/include/asm/regs.h
new file mode 100644
Add minimal requied things to be able to build full Xen.
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/current.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/xen/arch/riscv/include/asm/current.h
b/xen/arch/riscv/include/asm/current.h
index d84f15dc50
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/p2m.h | 105 +++
1 file changed, 105 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/p2m.h
diff --git a/xen/arch/riscv/include/asm/p2m.h b/xen/arch/riscv/include/asm/p2m.h
new file mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/monitor.h | 53
1 file changed, 53 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/monitor.h
diff --git a/xen/arch/riscv/include/asm/monitor.h
b/xen/arch/riscv/include/asm/monitor.h
new
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/cmpxchg.h | 373 +++
1 file changed, 373 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/cmpxchg.h
diff --git a/xen/arch/riscv/include/asm/cmpxchg.h
b/xen/arch/riscv/include/asm/cmpxchg.h
new
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/Kconfig| 1 +
xen/arch/riscv/Makefile | 1 +
xen/arch/riscv/early_printk.c | 168 -
xen/arch/riscv/mm.c | 52 +++-
xen/arch/riscv/setup.c| 9 +-
xen/arch/riscv/stubs.c| 437
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/vm_event.h | 52 +++
1 file changed, 52 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/vm_event.h
diff --git a/xen/arch/riscv/include/asm/vm_event.h
b/xen/arch/riscv/include/asm/vm_event.h
new
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/page.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/xen/arch/riscv/include/asm/page.h
b/xen/arch/riscv/include/asm/page.h
index 95074e29b3..abbae75aaf 100644
--- a/xen/arch/riscv/include/asm/page.h
Mostly patch was taken from the PPC patch series so can be skipped
during review:
https://lore.kernel.org/xen-devel/2c9eb4fc175a1bdd21293f2e2611d8e21991636d.1691016993.git.sanasta...@raptorengineering.com/#Z31xen:common:symbols.c
Signed-off-by: Oleksii Kurochko
---
xen/common/memory.c | 1
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/domain.h | 43 +
1 file changed, 43 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/domain.h
diff --git a/xen/arch/riscv/include/asm/domain.h
b/xen/arch/riscv/include/asm/domain.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/bitops.h | 288
1 file changed, 288 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/bitops.h
diff --git a/xen/arch/riscv/include/asm/bitops.h
b/xen/arch/riscv/include/asm/bitops.h
new file
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/nospec.h | 25 +
1 file changed, 25 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/nospec.h
diff --git a/xen/arch/riscv/include/asm/nospec.h
b/xen/arch/riscv/include/asm/nospec.h
new file mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/random.h | 9 +
1 file changed, 9 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/random.h
diff --git a/xen/arch/riscv/include/asm/random.h
b/xen/arch/riscv/include/asm/random.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/pci.h | 7 +++
1 file changed, 7 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/pci.h
diff --git a/xen/arch/riscv/include/asm/pci.h b/xen/arch/riscv/include/asm/pci.h
new file mode 100644
index 00
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/iommu.h | 7 +++
1 file changed, 7 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/iommu.h
diff --git a/xen/arch/riscv/include/asm/iommu.h
b/xen/arch/riscv/include/asm/iommu.h
new file mode 100644
index 00
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/mem_access.h | 4
1 file changed, 4 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/mem_access.h
diff --git a/xen/arch/riscv/include/asm/mem_access.h
b/xen/arch/riscv/include/asm/mem_access.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/iocap.h | 16
1 file changed, 16 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/iocap.h
diff --git a/xen/arch/riscv/include/asm/iocap.h
b/xen/arch/riscv/include/asm/iocap.h
new file mode 100644
index
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/guest_atomics.h | 49 ++
1 file changed, 49 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/guest_atomics.h
diff --git a/xen/arch/riscv/include/asm/guest_atomics.h
b/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/hypercall.h | 4
1 file changed, 4 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/hypercall.h
diff --git a/xen/arch/riscv/include/asm/hypercall.h
b/xen/arch/riscv/include/asm/hypercall.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/event.h | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/event.h
diff --git a/xen/arch/riscv/include/asm/event.h
b/xen/arch/riscv/include/asm/event.h
new file mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/grant_table.h | 4
1 file changed, 4 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/grant_table.h
diff --git a/xen/arch/riscv/include/asm/grant_table.h
b/xen/arch/riscv/include/asm/grant_table.h
new file mode
801 - 900 of 1562 matches
Mail list logo