On Mon, 2023-11-27 at 15:36 +0100, Jan Beulich wrote:
> On 27.11.2023 15:13, Oleksii Kurochko wrote:
> > is common between Arm, PPC and RISC-V so it is
> > moved to asm-generic.
> >
> > Drop Arm and PPC's softirq.h and use asm-generic version instead.
> >
&g
On Mon, 2023-11-27 at 15:41 +0100, Jan Beulich wrote:
> On 27.11.2023 15:13, Oleksii Kurochko wrote:
> > --- a/xen/arch/ppc/include/asm/grant_table.h
> > +++ /dev/null
> > @@ -1,5 +0,0 @@
> > -/* SPDX-License-Identifier: GPL-2.0-only */
> > -#ifndef __ASM
is common for Arm, PPC and RISC-V thereby it
is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
Acked-by: Julien Grall
---
Changes in V4:
- Added Reviewed-by: Jan Beulich
- Added Acked-by: Julien Grall
---
Changes in V3:
- Drop Arm and PPC's random.h
.
is #ifdef-ed with CONFIG_GRANT_TABLE in
so in case of !CONFIG_GRANT_TABLE gnttab_dom0_frames
won't be available for use in arch/arm/domain_build.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V4:
- Nothing changed. Only rebase.
---
Changes in V3:
- Remove unnecessary
is common through archs thereby it is moved
to asm-generic.
Arm and PPC were switched to asm generic verstion of hardirq.h.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
Acked-by: Julien Grall
---
Changes in V4:
- Added Reviewed-by: Jan Beulich .
- Added Acked-by: Julien Grall
is common through some archs so it is moved
to asm-generic.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Michal Orzel
---
Changes in V4:
- Updated guards name: *ARCH_GENERIC* -> *ASM_GENERIC*.
- Moved inclusion of xen/mm-frame.h under "#ifndef CONFIG_NUMA".
- Added Reviewed-by:
is common between several archs so it is
moved to asm-generic.
Arm and PPC were switched to asm-generic version of altp2m.h.
Signed-off-by: Oleksii Kurochko
Acked-by: Michal Orzel
Acked-by: Jan Beulich
---
Michal asked the following:
Shouldn't this copyright be moved to generic header
Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V4:
- Nothing changed. Only rebase.
---
Changes in V3:
- Remove unnecessary comment.
---
xen/arch/arm/p2m.c| 1 +
xen/arch/arm/traps.c | 1 +
xen/arch/ppc/include/asm/mem_access.h | 5 -
xen/include/xen
.
- #ifdef-ing iommu related things with CONFIG_HAS_PASSTHROUGH.
Also Arm and PPC are switched to asm-generic version of device.h
Signed-off-by: Oleksii Kurochko
---
Changes in V4:
- Updated the commit message
- Switched Arm and PPC to asm-generic version of device.h
- Replaced HAS_PCI
Introduce an empty generic hypercall.h for archs which don't
implement it.
Drop PPC's hypercall.h and switch to generic one instead.
Signed-off-by: Oleksii Kurochko
Acked-by: Jan Beulich
---
Changes in V4:
- Nothing changed. Only rebase.
---
Changes in V3:
- Drop PPC's hypercall.h and switch
The header is shared between several archs so it is
moved to asm-generic.
Signed-off-by: Oleksii Kurochko
Acked-by: Jan Beulich .
---
Changes in V4:
- Removed the double blank line.
- Added Acked-by: Jan Beulich .
- Update the commit message
---
Changes in V3:
- Use forward-declaration
is common between Arm, PPC and RISC-V so it is
moved to asm-generic.
Drop Arm and PPC's softirq.h and use asm-generic version instead.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Michal Orzel
Added Acked-by: Jan Beulich
---
Changes in V4:
- Added Reviewed-by: Michal Orzel
- Added Acked
All archs have the do_div implementation for BITS_PER_LONG == 64
so do_div64.h is moved to asm-generic.
x86 and PPC were switched to asm-generic version of div64.h.
Signed-off-by: Oleksii Kurochko
Acked-by: Jan Beulich
---
Changes in V4:
- Added Acked-by: Jan Beulich .
- include in Arm's
iocap.h is common for Arm, PPC and RISC-V architectures thereby
it was moved to asm-generic.
Also Arm and PPC were switched to asm-generic version of iocap.h.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
Acked-by: Julien Grall
---
Changes in V4:
- Added Reviewed-by: Jan
architectures are switched to
generic paging.h header.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
Acked-by: Julien Grall
---
Changes in V4:
- Added Acked-by: Julien Grall .
---
Changes in V3:
- Sort xen/arch/{arm,ppc}/include/asm/Makefile alphabetically.
- Add Reviewed-by: Jan Beulich
ssary
in the future )
- [PATCH v1 28/29] xen/asm-generic: introduce stub header p2m.h (
probably not so generic as I expected, I'll back to it if it will be necessary
in the future )
- For the rest of the patches please look at changes for each patch separately.
---
Oleksii Kurochko (14
a place where is included in
because asm-generic version of percpu.h started to include which
requires definition of DECLARE_PER_CPU.
As well the patch switches Arm, PPC and x86 architectures to use asm-generic
version of percpu.h.
Signed-off-by: Oleksii Kurochko
Acked-by: Julien Grall
On Fri, 2023-11-24 at 14:18 +0100, Jan Beulich wrote:
> On 24.11.2023 14:00, Michal Orzel wrote:
> > On 17/11/2023 13:24, Oleksii Kurochko wrote:
> > > --- a/xen/arch/arm/include/asm/altp2m.h
> > > +++ /dev/null
> > > @@ -1,39 +0,0 @@
> > > -/*
> >
Hello Michal,
On Fri, 2023-11-24 at 14:03 +0100, Michal Orzel wrote:
>
> On 17/11/2023 13:24, Oleksii Kurochko wrote:
> >
> >
> > is common through some archs so it is moved
> > to asm-generic.
> >
> > Signed-off-by: Oleksii Kurochko
> >
Hello Shawn,
Could you kindly review the patch when you have a moment?
It can help with merging other patch series.
Thanks in advance.
~ Oleksii
On Tue, 2023-10-31 at 16:28 +0200, Oleksii Kurochko wrote:
> only declares udelay() function so udelay()
> declaration was moved to xen/d
On Fri, 2023-11-24 at 11:01 +, Julien Grall wrote:
> Hi Oleksii,
>
> On 17/11/2023 12:24, Oleksii Kurochko wrote:
> > Arm, PPC and RISC-V use the same device.h thereby device.h
> > was moved to asm-generic.
>
> I read "was moved" as the patch sho
Hi Julien,
On Fri, 2023-11-24 at 11:29 +, Julien Grall wrote:
> Hi,
>
> On 17/11/2023 12:24, Oleksii Kurochko wrote:
> > All archs have the do_div implementation for BITS_PER_LONG == 64
> > so do_div64.h is moved to asm-generic.
>
> You are saying "all archs&
Also the patchs adds some helpful macros.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
it was added
an inclusion of the header to serial.c.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- New commit introduced in V2
---
xen/drivers/char/serial.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/drivers/char/serial.c b/xen/drivers/char/serial.c
index 00efe69574..35df58fe33 100644
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/include/xen/domain.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/include/xen/domain.h b/xen/include/xen/domain.h
index 54d88bf5e3..a4e11342e3 100644
--- a/xen/include/xen/domain.h
+++ b/xen
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
The definition of __read_mostly should be removed in:
https://lore.kernel.org/xen-devel/f25eb5c9-7c14-6e23-8535-2c66772b3...@suse.com/
The patch introduces it in arch-specific header to not
block enabling of full Xen build for RISC-V.
Signed-off-by: Oleksii Kurochko
---
- update the commit
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- change xen/lib.h to xen/bug.h
- remove unnecessary empty line
---
xen/arch/riscv/include/asm/regs.h | 26 ++
1 file changed, 26 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/regs.h
diff --git a/xen
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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 3fa7db3bf9..a10e0ad87c 100644
--- a/xen/arch/riscv/xen.lds.S
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- define udelay stub
- remove 'select HAS_PDX' from RISC-V Kconfig because of
https://lore.kernel.org/xen-devel/20231006144405.1078260-1-andrew.coop...@citrix.com/
---
xen/arch/riscv/Makefile | 1 +
xen/arch/riscv/early_printk.c
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- define stub for arch_get_dma_bitsize(void)
---
xen/arch/riscv/include/asm/mm.h | 270 +++-
1 file changed, 268 insertions(+), 2 deletions(-)
diff --git a/xen/arch/riscv/include/asm/mm.h b/xen/arch/riscv/include
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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 5a176b6ac3..af8b7babdd 100644
--- a/xen/include/public/pmu.h
+++ b/xen
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- add ifdef CONFIG_HAS_DEVICE_TREE for things that shouldn't be
in case !CONFIG_HAS_DEVICE_TREE
- use proper includes.
---
xen/arch/riscv/include/asm/irq.h | 37
1 file changed, 37
Add minimal requied things to be able to build full Xen.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/current.h | 20
1 file changed, 20 insertions(+)
diff --git a/xen/arch/riscv/include/asm/current.h
b
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- change xen/mm.h to xen/types.h
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/Makefile | 16 +++-
xen/arch/riscv/arch.mk | 4
xen/arch/riscv/configs/tiny64_defconfig | 1 -
3 files changed, 15 insertions(+), 6 deletions
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- change xen/lib.h to xen/bug.h
- remove inclusion of as it's not needed.
---
xen/arch/riscv/include/asm/time.h | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/time.h
diff --git
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the comment at the top of the header.
- change xen/lib.h to xen/bug.h.
- sort inclusion of headers properly.
---
xen/arch/riscv/include/asm/cmpxchg.h | 379 +++
1 file changed, 379
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/smp.h | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/smp.h
diff --git a/xen/arch/riscv/include/asm/smp.h b/xen/arch
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/system.h | 79 +
1 file changed, 79 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/system.h
diff --git a/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- remove copyright an the top of hvm/save.h as the header write now is a newly
introduced empty header.
---
xen/include/public/arch-riscv/hvm/save.h | 20
xen/include/public/hvm/save.h| 2 ++
2 files changed
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/guest_atomics.h | 48 ++
1 file changed, 48 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/guest_atomics.h
diff --git a/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update definition of arch_lock_signal() to not violate cod style.
- update definition of arch_lock_signal_wmb() to use WMB aspect.
---
xen/arch/riscv/include/asm/spinlock.h | 15 +++
1 file changed, 15 insertions(+)
create mode
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/byteorder.h | 16
1 file changed, 16 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/byteorder.h
diff --git a/xen/arch/riscv/include/asm/byteorder.h
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/io.h | 134
1 file changed, 134 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/io.h
diff --git a/xen/arch/riscv/include/asm/io.h b
From: Bobby Eshleman
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Change an author of commit. I got this header from Bobby's old repo.
---
xen/arch/riscv/include/asm/atomic.h | 375
1 file changed, 375 insertions(+)
create mode 100644 xen/arch/riscv
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/cpufeature.h | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/cpufeature.h
diff --git a/xen/arch/riscv/include/asm
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
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
Eshleman (1):
xen/riscv: introduce asm/atomic.h
Oleksii Kurochko (38):
xen/riscv: disable unnecessary configs
xen/riscv: use some asm-generic headers
xen/riscv:introduce asm/byteorder.h
xen/riscv: add public arch-riscv.h
xen/riscv: introduce spinlock.h
xen/riscv: introduce fence.h
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/fence.h | 12
1 file changed, 12 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/fence.h
diff --git a/xen/arch/riscv/include/asm/fence.h
b/xen/arch/riscv
Some headers are the same as asm-generic verions of them
so use them instead of arch-specific headers.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- New commit introduced in V2.
---
xen/arch/riscv/include/asm/Makefile | 14 ++
1 file changed, 14 insertions(+)
create mode
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- align with arch-arm.h.
---
xen/include/public/arch-riscv.h | 93 +
xen/include/public/xen.h| 2 +
2 files changed, 95 insertions(+)
create mode 100644 xen/include/public/arch-riscv.h
diff --git
The patch also fixes the build script as conf util expects
to have each config on separate line.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the commit message.
- remove xen/arch/riscv/Kconfig changes.
---
automation/gitlab-ci/build.yaml | 122
On Tue, 2023-11-21 at 16:56 +0100, Jan Beulich wrote:
> On 17.11.2023 13:24, Oleksii Kurochko wrote:
> > --- a/xen/arch/ppc/include/asm/current.h
> > +++ b/xen/arch/ppc/include/asm/current.h
> > @@ -4,6 +4,8 @@
> >
> > #include
> >
> &g
On Tue, 2023-11-21 at 16:43 +0100, Jan Beulich wrote:
> On 17.11.2023 13:24, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/device.h
> > @@ -0,0 +1,147 @@
> > +/* SPDX-License-Identifier: GPL-2.0-only */
> > +#ifndef __AS
Hello Henry and Kelly,
On Tue, 2023-11-21 at 01:48 +, Henry Wang wrote:
> Hi Oleksii,
>
> > On Nov 20, 2023, at 22:06, Oleksii
> > wrote:
> >
> > Dear Xen Community,
> >
> > I am keen on stepping into the role of a Release Manager for our
>
Dear Xen Community,
I am keen on stepping into the role of a Release Manager for our next
release. Despite not having direct experience yet, I am eager to learn,
adapt, and grow into this role with your guidance and support.
Have a nice week.
Best regards,
Oleksii
The header is shared between archs so it is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Use forward-declaration of struct domain instead of " #include
".
- Add ' include '
- Drop PPC's monitor.h.
---
Changes in V2:
- remove inclusion of
Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove unnecessary comment.
---
xen/arch/arm/p2m.c| 1 +
xen/arch/arm/traps.c | 1 +
xen/arch/ppc/include/asm/mem_access.h | 5 -
xen/include/xen/mem_access.h | 2 ++
4 files changed, 4
is common between Arm, PPC and RISC-V so it is
moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's softirq.h
- Update the commit message.
---
Changes in V2:
- update the commit message.
---
xen/arch/arm/include/asm/Makefile
is common through archs thereby it is moved
to asm-generic.
Arm and PPC were switched to asm generic verstion of hardirq.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's hardirq.h
- Update the commit message.
---
Changes in V2:
- add #include
a place where is included in
because asm-generic version of percpu.h started to include which
requires definition of DECLARE_PER_CPU.
As well the patch switches Arm, PPC and x86 architectures to use asm-generic
version of percpu.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- switch
architectures are switched to
generic paging.h header.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
---
Changes in V3:
- Sort xen/arch/{arm,ppc}/include/asm/Makefile alphabetically.
- Add Reviewed-by: Jan Beulich
---
Changes in V2:
- evaluate argument of macros
- covert
iocap.h is common for Arm, PPC and RISC-V architectures thereby
it was moved to asm-generic.
Also Arm and PPC were switched to asm-generic version of iocap.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's iocap.h and switch to asm-generic's version.
- Update
at changes for each patch separately.
Oleksii Kurochko (14):
xen/asm-generic: introduce stub header paging.h
xen/asm-generic: introduce generic device.h
xen/asm-generic: introduce generic hypercall.h
xen/asm-generic: introduce generic header iocap.h
xen/asm-generic: introduce stub header
is common between archs so it is moved to
asm-generic.
Arm and PPC were switched to asm-generic version of altp2m.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's altp2m.h
- Update the commit message.
---
Changes in V2:
- change uint16_t to unsigned int
.
is #ifdef-ed with CONFIG_GRANT_TABLE in
so in case of !CONFIG_GRANT_TABLE gnttab_dom0_frames
won't be available for use in arch/arm/domain_build.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove unnecessary comment.
---
xen/arch/arm/domain_build.c
is common through some archs so it is moved
to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove old header inclusion in asm-generic numa.h and include
and
- Drop Arm and PPC's numa.h and use asm-generic version instead.
---
Changes in V2:
- update
is common for Arm, PPC and RISC-V thereby it
is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's random.h and switch to asm-generic verison.
---
Changes in V2:
- update the commit messages
---
xen/arch/arm/include/asm/Makefile | 1 +
xen/arch/arm
All archs have the do_div implementation for BITS_PER_LONG == 64
so do_div64.h is moved to asm-generic.
x86 and PPC were switched to asm-generic version of div64.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop x86 and PPC's div64.h.
- Update the commit message.
---
Changes in V2
Introduce an empty generic hypercall.h for archs which don't
implement it.
Drop PPC's hypercall.h and switch to generic one instead.
Signed-off-by: Oleksii Kurochko
Acked-by: Jan Beulich
---
Changes in V3:
- Drop PPC's hypercall.h and switch to generic one.
- Update the commit message
- Add
.
Signed-off-by: Oleksii Kurochko
---
It is still open question if device.h should be in asm-generic. Need more
opinions.
---
Changes in V3:
- ifdef device tree related things.
- update the commit message
---
Changes in V2:
- take ( as common ) device.h from Arm as PPC and RISC-V use
I will drop this patch as it will be hard to make it generic for Arm,
PPC and RISC-V.
~ Oleksii
On Fri, 2023-11-10 at 18:30 +0200, Oleksii Kurochko wrote:
> is expcted to be generic between Arm, PPC and RISC-V
> there by it is moved to asm-generic.
>
> Right now it is common
On Thu, 2023-11-16 at 13:28 +0100, Jan Beulich wrote:
> On 16.11.2023 13:04, Oleksii wrote:
> > On Thu, 2023-11-16 at 08:36 +0100, Jan Beulich wrote:
> > > On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > > > --- /dev/null
> > > > +++ b/xen/include/
On Thu, 2023-11-16 at 08:36 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/percpu.h
> > @@ -0,0 +1,35 @@
> > +/* SPDX-License-Identifier: GPL-2.0-only */
> > +#ifndef __AS
I have to drop arch specific headers and switch to asm-generic version.
I'll do the same for patches 09-12 in the next patch version.
~ Oleksii
On Fri, 2023-11-10 at 18:30 +0200, Oleksii Kurochko wrote:
> Signed-off-by: Oleksii Kurochko
> ---
> Changes in V2:
> - use smp_
On Wed, 2023-11-15 at 11:24 +0100, Jan Beulich wrote:
> On 31.10.2023 15:28, Oleksii Kurochko wrote:
> > only declares udelay() function so udelay()
> > declaration was moved to xen/delay.h.
> >
> > For x86, __udelay() was renamed to udelay() and removed
&g
On Wed, 2023-11-15 at 14:54 +0200, Oleksii wrote:
> On Wed, 2023-11-15 at 11:00 +0100, Jan Beulich wrote:
> > On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > > --- /dev/null
> > > +++ b/xen/include/asm-generic/monitor.h
> > > @@ -0,0 +1,62 @@
> &
On Wed, 2023-11-15 at 11:07 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/numa.h
> > @@ -0,0 +1,40 @@
> > +/* SPDX-License-Identifier: GPL-2.0-only */
> > +#ifndef _
On Wed, 2023-11-15 at 11:00 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/monitor.h
> > @@ -0,0 +1,62 @@
> > +/* SPDX-License-Identifier: GPL-2.0 */
> > +/*
> > + * include/asm
On Wed, 2023-11-15 at 10:56 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > is common for Arm, PPC and RISC-V thereby it
> > is moved to asm-generic.
>
> When you say "moved", ...
>
> > Signed-off-by: Oleksii Kurochko
On Tue, 2023-11-14 at 18:19 +0100, Jan Beulich wrote:
> On 14.11.2023 16:13, Oleksii Kurochko wrote:
> > ifdefing inclusion of in
> > allows to avoid generation of empty header
> > for the case when !CONFIG_MEM_ACCESS.
> >
> > For Arm it was explicitly
On Mon, 2023-11-13 at 17:43 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > --- /dev/null
> > +++ b/xen/include/asm-generic/device.h
> > @@ -0,0 +1,140 @@
> > +/* SPDX-License-Identifier: GPL-2.0-only */
> > +#ifndef __AS
.
is #ifdef-ed with CONFIG_GRANT_TABLE in
so in case of !CONFIG_GRANT_TABLE gnttab_dom0_frames
won't be available for use in arch/arm/domain_build.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
This patch was part of patch series:
https://lore.kernel.org/xen-devel/cover.1699633310
Beulich
Signed-off-by: Oleksii Kurochko
---
This patch was part of patch series:
https://lore.kernel.org/xen-devel/cover.1699633310.git.oleksii.kuroc...@gmail.com/
The patch series hasn't been reviewed all yet so send this path
separately.
---
xen/arch/arm/p2m.c | 6 ++
xen/arch/arm
On Mon, 2023-11-13 at 17:48 +0100, Jan Beulich wrote:
> On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > iocap.h is common for Arm, PPC and RISC-V architectures thereby
> > it was moved to asm-generic.
> >
> > Signed-off-by: Oleksii Kurochko
> > ---
> > The
On Mon, 2023-11-13 at 17:50 +0100, Jan Beulich wrote:
> On 13.11.2023 17:45, Jan Beulich wrote:
> > On 10.11.2023 17:30, Oleksii Kurochko wrote:
> > > Introduce an empty generic hypercall.h for archs which don't
> > > implement it.
> > >
> > > Si
On Mon, 2023-11-13 at 18:01 +0100, Jan Beulich wrote:
> On 11.11.2023 11:24, Oleksii wrote:
> > This patch should be reworked as it fails Arm builds:
> > https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1068867920
>
> Took me a while to actually find the error.
On Mon, 2023-11-13 at 14:29 +0100, Jan Beulich wrote:
> On 13.11.2023 14:13, Oleksii wrote:
> > On Sat, 2023-11-11 at 12:25 +0200, Oleksii wrote:
> > > I missed to check the patch properly.
> > >
> > > The patch fails for Arm randconfigs:
> > > ht
On Sat, 2023-11-11 at 12:25 +0200, Oleksii wrote:
> I missed to check the patch properly.
>
> The patch fails for Arm randconfigs:
> https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1068865674
>
> I need to do an additional investigation.
So the only one macro c
I missed to check the patch properly.
The patch fails for Arm randconfigs:
https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1068865674
I need to do an additional investigation.
Does it make sense to re-send this patch separately out of this patch
series?
~ Oleksii
On Fri, 2023-11
601 - 700 of 1558 matches
Mail list logo