Re: [PATCH v2 06/15] xen/asm-generic: ifdef inclusion of

2023-11-13 Thread Oleksii
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.

Re: [PATCH v2 03/15] xen: ifdef inclusion of in

2023-11-13 Thread Oleksii
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

Re: [PATCH v2 03/15] xen: ifdef inclusion of in

2023-11-13 Thread Oleksii
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

Re: [PATCH v2 03/15] xen: ifdef inclusion of in

2023-11-11 Thread Oleksii
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

Re: [PATCH v2 06/15] xen/asm-generic: ifdef inclusion of

2023-11-11 Thread Oleksii
? ~ Oleksii On Fri, 2023-11-10 at 18:30 +0200, Oleksii Kurochko wrote: > ifdefing inclusion of in > allows to avoid generation of empty header > for the case when !CONFIG_MEM_ACCESS. > > Suggested-by: Jan Beulich > Signed-off-by: Oleksii Kurochko > --- > Changes in V2: &

[PATCH v2 14/15] xen/asm-generic: introduce stub header numa.h

2023-11-10 Thread Oleksii Kurochko
is common through some archs so it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - update the commit message. - change u8 to uint8_t. - add ifnded CONFIG_NUMA. --- xen/include/asm-generic/numa.h | 40 ++ 1

[PATCH v2 15/15] xen/asm-generic: introduce stub header softirq.h

2023-11-10 Thread Oleksii Kurochko
is common between Arm, PPC and RISC-V so it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - update the commit message. --- xen/include/asm-generic/softirq.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic

[PATCH v2 11/15] xen/asm-generic: introduce generic div64.h header

2023-11-10 Thread Oleksii Kurochko
All archs have the do_div implementation for BITS_PER_LONG == 64 so do_div64.h is moved to asm-generic. The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- Changes in V2: - rename base to divisor - add "#if BITS_PER_LONG

[PATCH v2 09/15] xen/asm-generic: introduce generic header smp.h

2023-11-10 Thread Oleksii Kurochko
is expcted to be generic between Arm, PPC and RISC-V there by it is moved to asm-generic. Right now it is common only by PPC and RISC-V but during work on support of the mentioned arhcs is expected to be the same. Signed-off-by: Oleksii Kurochko --- Changes in V2: - drop #ifded

[PATCH v2 07/15] xen/asm-generic: introduce stub header

2023-11-10 Thread Oleksii Kurochko
is common for Arm, PPC and RISC-V thereby it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - update the commit messages --- xen/include/asm-generic/random.h | 20 1 file changed, 20 insertions(+) create mode 100644 xen/include/asm-generic

[PATCH v2 06/15] xen/asm-generic: ifdef inclusion of

2023-11-10 Thread Oleksii Kurochko
ifdefing inclusion of in allows to avoid generation of empty header for the case when !CONFIG_MEM_ACCESS. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- Changes in V2: - add Suggested-by: Jan Beulich - update the commit message - remove --- xen

[PATCH v2 13/15] xen/asm-generic: introduce stub header monitor.h

2023-11-10 Thread Oleksii Kurochko
The header is shared between archs so it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - remove inclusion of "+#include " - add "struct xen_domctl_monitor_op;" - remove one of SPDX tags. --- xen/include/asm-ge

[PATCH v2 12/15] xen/asm-generic: introduce generic header altp2m.h

2023-11-10 Thread Oleksii Kurochko
is common between archs so it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - change uint16_t to unsigned int in declaration of altp2m_vcpu_idx - update the commit message --- xen/include/asm-generic/altp2m.h | 34

[PATCH v2 01/15] xen/asm-generic: introduce stub header paging.h

2023-11-10 Thread Oleksii Kurochko
architectures are switched to generic paging.h header. Signed-off-by: Oleksii Kurochko --- Changes in V2: - evaluate argument of macros - covert macros to true - use proper tabs - switch Arm & PPC to generic paging.h - update commit message --- xen/arch/arm/inc

[PATCH v2 03/15] xen: ifdef inclusion of in

2023-11-10 Thread Oleksii Kurochko
Ifdefing inclusion of allows to avoid generation of empty for cases when CONFIG_GRANT_TABLE is not enabled. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- Changes in V2: - ifdef inclusion of asm/grant_table.h in xen/grant_table.h to avoid generation of empty

[PATCH v2 10/15] xen/asm-generic: introduce generalized hardirq.h

2023-11-10 Thread Oleksii Kurochko
is common through archs thereby it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - add #include . - update the commit message --- xen/include/asm-generic/hardirq.h | 29 + 1 file changed, 29 insertions(+) create mode

[PATCH v2 02/15] xen/asm-generic: introduce generic device.h

2023-11-10 Thread Oleksii Kurochko
Arm, PPC and RISC-V use the same device.h thereby device.h was moved to asm-generic. Arm's device.h was taken as a base with the following changes: - #ifdef PCI related things. - #ifdef ACPI related things. - Rename #ifdef guards. - Add SPDX tag. Signed-off-by: Oleksii Kurochko

[PATCH v2 08/15] xen/asm-generic: introduce generic header percpu.h

2023-11-10 Thread Oleksii Kurochko
Signed-off-by: Oleksii Kurochko --- Changes in V2: - use smp_processor_id() instead of get_processor_id(). - update commit message . --- xen/include/asm-generic/percpu.h | 35 1 file changed, 35 insertions(+) create mode 100644 xen/include/asm

[PATCH v2 05/15] xen/asm-generic: introduce generic header iocap.h

2023-11-10 Thread Oleksii Kurochko
iocap.h is common for Arm, PPC and RISC-V architectures thereby it was moved to asm-generic. Signed-off-by: Oleksii Kurochko --- The same question as with device.h. Should it be in asm-generic? Changes in V2: - update the commit message --- xen/include/asm-generic/iocap.h | 17

[PATCH v2 00/15] Introduce generic headers

2023-11-10 Thread Oleksii Kurochko
at changes for each patch separately. Oleksii Kurochko (15): xen/asm-generic: introduce stub header paging.h xen/asm-generic: introduce generic device.h xen: ifdef inclusion of in xen/asm-generic: introduce generic hypercall.h xen/asm-generic: introduce generic header iocap.h xen/a

[PATCH v2 04/15] xen/asm-generic: introduce generic hypercall.h

2023-11-10 Thread Oleksii Kurochko
Introduce an empty generic hypercall.h for archs which don't implement it. Signed-off-by: Oleksii Kurochko --- Changes in V2: - add check that isn't included directly. --- xen/include/asm-generic/hypercall.h | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 xen

Re: [PATCH v2] xen: remove

2023-11-10 Thread Oleksii
On Fri, 2023-11-10 at 10:33 +0100, Jan Beulich wrote: > On 10.11.2023 10:30, Oleksii wrote: > > On Tue, 2023-10-31 at 16:28 +0200, Oleksii Kurochko wrote: > > > only declares udelay() function so udelay() > > > declaration was moved to xen/delay.h. > > > &

Re: [PATCH] xen: avoid generation of stub header

2023-11-10 Thread Oleksii
Hi all, On Wed, 2023-11-01 at 12:15 +0200, Oleksii Kurochko wrote: > Platforms which doesn't have HAS_PCI enabled it is needed to > have , which contains only an empty definition of > struct arch_pci_dev ( except ARM, it introduces several > ARM-specific functions ). > > Also,

Re: [PATCH v2] xen: remove

2023-11-10 Thread Oleksii
Hi all, On Tue, 2023-10-31 at 16:28 +0200, 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 > inclusion of in x86 code. > > For ppc, udelay() stub

Re: [PATCH] xen: remove

2023-11-10 Thread Oleksii
Hi all, On Tue, 2023-10-31 at 12:12 +0200, 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 > inclusion of in x86 code. > > Signed-off-by: Oleksii K

Re: [XEN PATCH] CI: Rework RISCV smoke test

2023-11-09 Thread Oleksii
aphic \ > -m 2g \ > +    -monitor none \ > +    -chardev file,id=serial-out,path=smoke.serial \ > +    -serial chardev:serial-out \ > -kernel binaries/xen \ > -    |& tee smoke.serial > +    & > +qemu_pid=$! >   > -set -e > -(grep -q "All set up" smoke.serial) || exit 1 > -exit 0 > +# Monitor test progression until QEMU exit > +tail --pid=$qemu_pid -f smoke.serial & > + > +# Check boot test result > +timeout 60 tail --pid=$qemu_pid -f smoke.serial | \ > +    grep -a -q "All set up" I am OK with provided changes. Thanks! Acked-by: Oleksii Kurochko ~ Oleksii

Re: [PATCH] xen: avoid generation of stub header

2023-11-09 Thread Oleksii
On Mon, 2023-11-06 at 23:36 +, Julien Grall wrote: > Hi Oleksii, > > On 01/11/2023 10:15, Oleksii Kurochko wrote: > > Platforms which doesn't have HAS_PCI enabled it is needed to > > have , which contains only an empty definition of > > struct arch_pci_dev ( except

Re: [PATCH] xen: avoid generation of stub header

2023-11-02 Thread Oleksii
On Thu, 2023-11-02 at 09:39 +0100, Jan Beulich wrote: > On 01.11.2023 11:15, Oleksii Kurochko wrote: > > Platforms which doesn't have HAS_PCI enabled it is needed to > > have , which contains only an empty definition of > > struct arch_pci_dev ( except ARM, it introduces sev

[PATCH] xen: avoid generation of stub header

2023-11-01 Thread Oleksii Kurochko
to generate for only define the mentioned above arch_pci_dev structure. For the Arm-only stubs ( mentioned in for disabled HAS_PCI and ARM-specific) will be needed to add directly alongside . Only to was added. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- xen/arch/arm

Re: [PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h

2023-10-31 Thread Oleksii
Instead of introducing stub header for delay.h it was decided to remove in a separate patch: https://lore.kernel.org/xen-devel/3d55bce44bd6ab9973cbe0ea2fc136cc44d35df2.1698759633.git.oleksii.kuroc...@gmail.com/T/#u ~ Oleksii

[PATCH v2] xen: remove

2023-10-31 Thread Oleksii Kurochko
only declares udelay() function so udelay() declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. For ppc, udelay() stub definition was moved to ppc/stubs.c. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko Reviewed

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-10-31 Thread Oleksii
On Mon, 2023-10-30 at 17:43 +0100, Jan Beulich wrote: > On 30.10.2023 17:34, Oleksii wrote: > > Hello Jan, > > > > On Thu, 2023-10-19 at 11:55 +0200, Jan Beulich wrote: > > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > > --- /dev/null &

[PATCH] xen: remove

2023-10-31 Thread Oleksii Kurochko
only declares udelay() function so udelay()   declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. Signed-off-by: Oleksii Kurochko --- xen/arch/arm/include/asm/delay.h | 14 -- xen/arch/riscv/include/asm/delay.h

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-10-30 Thread Oleksii
Hello Jan, On Thu, 2023-10-19 at 11:55 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/pci.h > > @@ -0,0 +1,18 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef _

Re: [PATCH] arch: drop get_processor_id()

2023-10-30 Thread Oleksii
smp_processor_id()); >  } >   >  static inline void _mm_write_lock(const struct domain *d, > mm_rwlock_t *l, > @@ -132,7 +132,7 @@ static inline void _mm_write_lock(const > { > _check_lock_level(d, level); > percpu_write_lock(p2m_percpu_rwlock, >loc

Re: [PATCH] xenoprof: move asm/ include

2023-10-30 Thread Oleksii
PMU_OWNER_NONE  0 >  #define PMU_OWNER_XENOPROF  1 >  #define PMU_OWNER_HVM       2 >   >  #ifdef CONFIG_XENOPROF >   > +#include > +#include > + >  struct domain; >  struct vcpu; >  struct cpu_user_regs; Looks good to me. Reviewed-by: Oleksii Kurochko ~ Oleksii

Re: [PATCH v1 04/29] xen/asm-generic: introduce stub header device.h

2023-10-25 Thread Oleksii
On Mon, 2023-10-23 at 12:35 +0200, Jan Beulich wrote: > On 23.10.2023 12:12, Oleksii wrote: > > On Thu, 2023-10-19 at 11:14 +0200, Jan Beulich wrote: > > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/include/

Re: [PATCH v1 10/29] xen/asm-generic: introduce stub header iommu.h

2023-10-24 Thread Oleksii
On Mon, 2023-10-23 at 12:47 +0200, Jan Beulich wrote: > On 23.10.2023 12:43, Oleksii wrote: > > On Thu, 2023-10-19 at 11:44 +0200, Jan Beulich wrote: > > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/include

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-10-24 Thread Oleksii
On Mon, 2023-10-23 at 13:58 +0200, Jan Beulich wrote: > On 23.10.2023 12:50, Oleksii wrote: > > On Thu, 2023-10-19 at 11:55 +0200, Jan Beulich wrote: > > > While more involved, I still wonder whether xen/pci.h could also > > > avoid > > > including asm/pci.h w

Re: [PATCH v1 26/29] xen/asm-generic: introduce stub header monitor.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:35 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/monitor.h > > @@ -0,0 +1,64 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +/* SPDX-License-Identif

Re: [PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:30 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces header stub necessry for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > --- > >  xen/include/asm-generic/delay.h | 21

Re: [PATCH v1 21/29] xen/asm-generic: introduce stub header altp2m.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:27 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces header stub necessry for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > --- > >  xen/

Re: [PATCH v1 20/29] xen/asm-generic: introduce stub header div64.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:12 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/div64.h > > @@ -0,0 +1,24 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __ASM_GENERIC_DIV64

Re: [PATCH v1 19/29] xen/asm-generic: introduce stub header hardirq.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:04 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces header stub necessry for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > I agree this one can be generalized from Arm's, b

Re: [PATCH v1 18/29] xen/asm-generic: introduce stub header smp.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 12:58 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces header stub necessry for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > Assuming you expect RISC-V to get away without its o

Re: [PATCH v1 17/29] xen/asm-generic: introduce stub header percpu.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 12:39 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, 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

Re: [PATCH v1 15/29] xen/asm-generic: introduce stub header xenoprof.h

2023-10-23 Thread Oleksii
for some reason... ~ Oleksii

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-10-23 Thread Oleksii
with #ifdef-ing. I'll push a separate patch for xen/pci.h. It will probably need to remove usage of everywhere or #ifdef-ing it too. Which option will be better? ~ Oleksii

Re: [PATCH v1 11/29] xen/asm-generic: introduce stub header mem_access.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:51 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/mem_access.h > > @@ -0,0 +1,14 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __AS

Re: [PATCH v1 10/29] xen/asm-generic: introduce stub header iommu.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:44 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/iommu.h > > @@ -0,0 +1,17 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __A

Re: [PATCH v1 09/29] xen/asm-generic: introduce stub header iocap.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:25 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/iocap.h > > @@ -0,0 +1,17 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __A

Re: [PATCH v1 08/29] xen/asm-generic: introduce stub hypercall.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:24 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/hypercall.h > > @@ -0,0 +1,14 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __ASM_G

Re: [PATCH v1 06/29] xen/asm-generic: introduce stub header grant_table.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:19 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/grant_table.h > > @@ -0,0 +1,14 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __ASM_GE

Re: [PATCH v1 05/29] xen/asm-generic: introduce stub header event.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:18 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/event.h > > @@ -0,0 +1,39 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __A

Re: [PATCH v1 04/29] xen/asm-generic: introduce stub header device.h

2023-10-23 Thread Oleksii
e shared my view. Let see what the others thinks. I have the same point: if something is shared at least between two arch, it should go to ASM-generic. And that is the reason why I pushed device.h header to asm-generic. It is needed to rename some stuff (e.g... GIC ) in it or add some ifdefs. ~ Oleksii

Re: [PATCH v1 04/29] xen/asm-generic: introduce stub header device.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:14 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/device.h > > @@ -0,0 +1,65 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __AS

Re: [PATCH v1 03/29] xen/asm-generic: introduce stub header cpufeature.h

2023-10-23 Thread Oleksii
his header will be re-introduced for an arch, there is probably no sense to have it in asm-generic. ~ Oleksii

Re: [PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-10-23 Thread Oleksii
On Fri, 2023-09-22 at 09:00 +0300, Oleksii wrote: > On Mon, 2023-09-18 at 14:38 +0200, Jan Beulich wrote: > > On 18.09.2023 14:05, Oleksii wrote: > > > On Mon, 2023-09-18 at 11:29 +0200, Jan Beulich wrote: > > > > On 18.09.2023 10:51, Oleksii wrote: > > > >

Re: [PATCH v1 02/29] xen/asm-generic: introduce stub header paging.h

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 11:05 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces stub header needed for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > --- > >  xen/include/asm-generic/paging.h | 17

Re: [PATCH v1 02/29] xen/asm-generic: introduce stub header paging.h

2023-10-23 Thread Oleksii
Hi, On Thu, 2023-10-19 at 11:35 +0100, Julien Grall wrote: > Hi, > > On 19/10/2023 10:05, Jan Beulich wrote: > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > The patch introduces stub header needed for full Xen build. > > > > > > Signed-off-b

Re: [PATCH v1 00/57] Enable build of full Xen for RISC-V

2023-10-23 Thread Oleksii
On Thu, 2023-10-19 at 13:53 +0200, Jan Beulich wrote: > On 16.08.2023 12:19, Oleksii Kurochko wrote: > > This patch series performs all of the additions necessary to drop > > the > > build overrides for RISCV and enable the full Xen build. Except in > > cases > >

Re: [PATCH v7 0/2] xen/riscv: introduce identity mapping

2023-10-23 Thread Oleksii
On Fri, 2023-10-20 at 15:53 +0200, Jan Beulich wrote: > On 20.10.2023 15:52, Oleksii wrote: > > On Thu, 2023-10-19 at 12:32 +0200, Jan Beulich wrote: > > > On 08.08.2023 17:14, Oleksii Kurochko wrote: > > > > Oleksii Kurochko (2): > > > >   xen/ris

Re: [PATCH v7 0/2] xen/riscv: introduce identity mapping

2023-10-20 Thread Oleksii
On Thu, 2023-10-19 at 12:32 +0200, Jan Beulich wrote: > On 08.08.2023 17:14, Oleksii Kurochko wrote: > > The patch series introduces things necessary to implement identity > > mapping: > >   1. Make identity mapping for the entire Xen. > >   2. Enable MMU. > >

Re: [PATCH for-4.18 v5] xen/pdx: Make CONFIG_PDX_COMPRESSION a common Kconfig option

2023-10-11 Thread Oleksii
On Tue, 2023-10-10 at 16:52 +0800, Andrew Cooper wrote: > On 10/10/2023 3:58 pm, Oleksii wrote: > > > Oleksii: I've not touched RISCV yet, because I don't know how the > > > platforms > > > typically look.  I'm happy to default it active in RISCV too if > >

Re: [PATCH for-4.18 v5] xen/pdx: Make CONFIG_PDX_COMPRESSION a common Kconfig option

2023-10-10 Thread Oleksii
> > Oleksii: I've not touched RISCV yet, because I don't know how the > platforms > typically look.  I'm happy to default it active in RISCV too if > that's the > right thing to do. We are still waiting for a platform with hypervisor extension support but I am using PD

Re: [PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-22 Thread Oleksii
On Mon, 2023-09-18 at 14:38 +0200, Jan Beulich wrote: > On 18.09.2023 14:05, Oleksii wrote: > > On Mon, 2023-09-18 at 11:29 +0200, Jan Beulich wrote: > > > On 18.09.2023 10:51, Oleksii wrote: > > > > On Thu, 2023-09-14 at 17:08 +0200, Jan Beulich wrote: > >

Re: [PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-18 Thread Oleksii
On Mon, 2023-09-18 at 11:29 +0200, Jan Beulich wrote: > On 18.09.2023 10:51, Oleksii wrote: > > On Thu, 2023-09-14 at 17:08 +0200, Jan Beulich wrote: > > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > > Based on two patch series [1] and [2], the idea of which

Re: [PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-18 Thread Oleksii
On Mon, 2023-09-18 at 11:51 +0300, Oleksii wrote: > On Thu, 2023-09-14 at 17:08 +0200, Jan Beulich wrote: > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > Based on two patch series [1] and [2], the idea of which is to > > > provide minimal > > > amoun

Re: [PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-18 Thread Oleksii
On Thu, 2023-09-14 at 17:08 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > Based on two patch series [1] and [2], the idea of which is to > > provide minimal > > amount of things for a complete Xen build, a large amount of > > headers

Re: [PATCH v1 16/29] xen/asm-generic: introduce stub header flushtlb.h

2023-09-18 Thread Oleksii
Hello Jiamei, On Fri, 2023-09-15 at 13:15 +0800, Jiamei Xie wrote: > Hi Oleksii ... > > > +/* > > + * Local variables: > > + * mode: C > > + * c-file-style: "BSD" > > + * c-basic-offset: 4 > > + * indent-tabs-mode: nil > > + * End: &

Re: [PATCH v1 01/29] xen/asm-generic: introduce stub header spinlock.h

2023-09-18 Thread Oleksii
On Thu, 2023-09-14 at 17:35 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > The patch introduces stub header needed for full Xen build. > > > > Signed-off-by: Oleksii Kurochko > > Hmm, looking here I think I need to take back what I s

[PATCH v1 27/29] xen/asm-generic: introduce stub header numa.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/numa.h | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 xen/include/asm-generic/numa.h diff --git a/xen/include/asm-generic

[PATCH v1 29/29] xen/asm-generic: introduce stub header softirq.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/softirq.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/softirq.h diff --git a/xen/include/asm-generic/softirq.h b

[PATCH v1 19/29] xen/asm-generic: introduce stub header hardirq.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/hardirq.h | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 xen/include/asm-generic/hardirq.h diff --git a/xen/include/asm-generic

[PATCH v1 23/29] xen/asm-generic: introduce stub header domain.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/domain.h | 53 1 file changed, 53 insertions(+) create mode 100644 xen/include/asm-generic/domain.h diff --git a/xen/include/asm-generic

[PATCH v1 25/29] xen/asm-generic: introduce stub header irq.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/irq.h | 44 +++ 1 file changed, 44 insertions(+) create mode 100644 xen/include/asm-generic/irq.h diff --git a/xen/include/asm-generic

[PATCH v1 26/29] xen/asm-generic: introduce stub header monitor.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/monitor.h | 64 +++ 1 file changed, 64 insertions(+) create mode 100644 xen/include/asm-generic/monitor.h diff --git a/xen/include/asm-generic

[PATCH v1 20/29] xen/asm-generic: introduce stub header div64.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/div64.h | 24 1 file changed, 24 insertions(+) create mode 100644 xen/include/asm-generic/div64.h diff --git a/xen/include/asm-generic/div64.h b

[PATCH v1 28/29] xen/asm-generic: introduce stub header p2m.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/p2m.h | 115 ++ 1 file changed, 115 insertions(+) create mode 100644 xen/include/asm-generic/p2m.h diff --git a/xen/include/asm-generic

[PATCH v1 24/29] xen/asm-generic: introduce stub header guest_access.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/guest_access.h | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 xen/include/asm-generic/guest_access.h diff --git a/xen/include/asm

[PATCH v1 17/29] xen/asm-generic: introduce stub header percpu.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/percpu.h | 35 1 file changed, 35 insertions(+) create mode 100644 xen/include/asm-generic/percpu.h diff --git a/xen/include/asm-generic

[PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/delay.h | 21 + 1 file changed, 21 insertions(+) create mode 100644 xen/include/asm-generic/delay.h diff --git a/xen/include/asm-generic/delay.h b/xen

[PATCH v1 16/29] xen/asm-generic: introduce stub header flushtlb.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/flushtlb.h | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 xen/include/asm-generic/flushtlb.h diff --git a/xen/include/asm-generic

[PATCH v1 18/29] xen/asm-generic: introduce stub header smp.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/smp.h | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 xen/include/asm-generic/smp.h diff --git a/xen/include/asm-generic/smp.h b

[PATCH v1 14/29] xen/asm-generic: introduce stub header setup.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/setup.h | 16 1 file changed, 16 insertions(+) create mode 100644 xen/include/asm-generic/setup.h diff --git a/xen/include/asm-generic/setup.h b/xen

[PATCH v1 13/29] xen/asm-generic: introduce stub header random.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/random.h | 20 1 file changed, 20 insertions(+) create mode 100644 xen/include/asm-generic/random.h diff --git a/xen/include/asm-generic/random.h b

[PATCH v1 21/29] xen/asm-generic: introduce stub header altp2m.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/altp2m.h | 34 1 file changed, 34 insertions(+) create mode 100644 xen/include/asm-generic/altp2m.h diff --git a/xen/include/asm-generic

[PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/pci.h | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 xen/include/asm-generic/pci.h diff --git a/xen/include/asm-generic/pci.h b/xen/include

[PATCH v1 15/29] xen/asm-generic: introduce stub header xenoprof.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/xenoprof.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/xenoprof.h diff --git a/xen/include/asm-generic/xenoprof.h b

[PATCH v1 09/29] xen/asm-generic: introduce stub header iocap.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/iocap.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/iocap.h diff --git a/xen/include/asm-generic/iocap.h b/xen

[PATCH v1 10/29] xen/asm-generic: introduce stub header iommu.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/iommu.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/iommu.h diff --git a/xen/include/asm-generic/iommu.h b/xen

[PATCH v1 07/29] xen/asm-generic: introduce stub header guest_atomics.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/guest_atomics.h | 47 + 1 file changed, 47 insertions(+) create mode 100644 xen/include/asm-generic/guest_atomics.h diff --git a/xen/include/asm

[PATCH v1 11/29] xen/asm-generic: introduce stub header mem_access.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/mem_access.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/mem_access.h diff --git a/xen/include/asm-generic

[PATCH v1 02/29] xen/asm-generic: introduce stub header paging.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/paging.h | 17 + 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/paging.h diff --git a/xen/include/asm-generic/paging.h b/xen

[PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-14 Thread Oleksii Kurochko
to add a full Xen build. [1] https://lore.kernel.org/xen-devel/cover.1694543103.git.sanasta...@raptorengineering.com/ [2] https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kuroc...@gmail.com/ Oleksii Kurochko (29): xen/asm-generic: introduce stub header spinlock.h xen/asm-generic

[PATCH v1 08/29] xen/asm-generic: introduce stub hypercall.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/hypercall.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/hypercall.h diff --git a/xen/include/asm-generic/hypercall.h

[PATCH v1 01/29] xen/asm-generic: introduce stub header spinlock.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/spinlock.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 xen/include/asm-generic/spinlock.h diff --git a/xen/include/asm-generic

[PATCH v1 06/29] xen/asm-generic: introduce stub header grant_table.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/grant_table.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/grant_table.h diff --git a/xen/include/asm-generic

[PATCH v1 05/29] xen/asm-generic: introduce stub header event.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/event.h | 39 + 1 file changed, 39 insertions(+) create mode 100644 xen/include/asm-generic/event.h diff --git a/xen/include/asm-generic

[PATCH v1 04/29] xen/asm-generic: introduce stub header device.h

2023-09-14 Thread Oleksii Kurochko
The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/device.h | 65 1 file changed, 65 insertions(+) create mode 100644 xen/include/asm-generic/device.h diff --git a/xen/include/asm-generic

<    3   4   5   6   7   8   9   10   11   12   >